| | |
| | | |
| | | //#region 显示列数据 有回调函数 |
| | | function DisPlay_HideColumnWithCallback(HModName, user, option, titleData, callback) { |
| | | |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', |
| | | type: "GET", |
| | |
| | | } |
| | | } |
| | | } |
| | | _newCols = data1.data[0]; |
| | | callback.call() |
| | | } |
| | | } else { |
| | | } |
| | |
| | | layer.alert("接口请求失败!", { icon: 5 }); |
| | | } |
| | | }) |
| | | if (_newCols !== undefined) { |
| | | callback.call([option]); |
| | | } |
| | | } |
| | | //#endregion |
| | | |
| | |
| | | } |
| | | //#endregion |
| | | |
| | | //#region 隐藏列设置编辑页面 |
| | | //#region 隐藏列设置编辑页面 带回调,用于设置不可编辑列 |
| | | function get_HideColumnEditWithCallback(HModName, user, option, table, callback) { |
| | | var colName = ""; |
| | | for (var i = 1; i < option.cols[0].length - 1; i++) { |