1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- /**
- * 返回
- */
- function cancelCsjlcs() {
- loadCsjlcsRight();
- }
- /**
- * 修改
- */
- function editCsjlcs(id) {
- huimv.loadPage('yjsbRight', 'editCsjlcs.htm', {
- "id" : id
- });
- }
- /**
- * 作废
- * @param id
- */
- function disableSbcs(id) {
- Dialogs.alert("确定删除当前采食计量运行参数设置?", {
- title : '提示信息',
- width : 250,
- height : 80,
- top : 150,
- button : {
- ok : ['确定',function(){
- this.close();
- huimv.showProcessModel('处理数据中');
-
- jQuery.ajax({
- url : 'disableCsjlcs.htm',
- dataType : 'json',
- type : 'post',
- cache : false,
- data : {"id" : id},
- success : function(data) {
- huimv.hideProcessModel();
- if (data.returnCode > 0) {
- loadCsjlcsRight();
- } else {
- Dialogs.alert("传入参数有误!", {
- width : 300,
- height : 50
- });
- }
- },
- error : function(data) {
- huimv.showError(data.responseText);
- }
- });
- }],
- cancel : ['取消',function(){
- this.close();
- }]
- }
- });
- }
|