1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- function editXtgg(id, from) {
- huimv.loadPage('xtggRight', 'editXtgg.htm', {
- "id" : id,
- "from" : from
- });
- }
- /**
- * 作废系统公告
- * @param id
- */
- function disableXtgg(id) {
- Dialogs.alert("确定作废当前系统公告?", {
- title : '提示信息',
- width : 250,
- height : 80,
- top : 150,
- button : {
- ok : ['确定',function(){
- this.close();
- huimv.showProcessModel('处理数据中');
-
- jQuery.ajax({
- url : 'disableXtgg.htm',
- dataType : 'json',
- type : 'post',
- cache : false,
- data : {"id" : id},
- success : function(data) {
- huimv.hideProcessModel();
- if (data.returnCode > 0) {
- loadXtggList();
- } else {
- Dialogs.alert("传入参数有误!", {
- width : 300,
- height : 50
- });
- }
- },
- error : function(data) {
- huimv.showError(data.responseText);
- }
- });
- }],
- cancel : ['取消',function(){
- this.close();
- }]
- }
- });
- }
|