| | |
| | | } |
| | | //#endregion |
| | | //#region 显示列数据 |
| | | function DisPlay_HideColumn(HModName, user, option) { |
| | | function DisPlay_HideColumn(HModName, user, option, titleData) { |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', |
| | | type: "GET", |
| | |
| | | success: function (data1) { |
| | | if (data1.data.length != 0) { |
| | | var dataCol = [];//数据库查询出的列数据 |
| | | var titleData = []; |
| | | /* var titleData = [];*/ |
| | | var newCols = [[]];//对应数据库列顺序col |
| | | newCols[0].push(option.cols[0][0]);//放入第一个checkbox |
| | | dataCol = data1.data[0].HGridString.split(','); |
| | |
| | | colTitleName += option.cols[0][i]["title"] + ","; |
| | | } |
| | | colName = encodeURI(colName.substring(0, colName.length - 1));//对 URI 进行编码 |
| | | colTitleName = encodeURI(colTitleName.substring(0, colTitleName.length - 1)); |
| | | /*urlStr.replace(/%/g, '%25');*/ |
| | | layer.open({ |
| | | type: 2 |
| | | , skin: "layui-layer-rim" //加上边框 |
| | |
| | | //#endregion |
| | | |
| | | //#region 显示列数据编辑页面 |
| | | function DisPlay_HideColumnEdit(HModName, user, option,table) { |
| | | function DisPlay_HideColumnEdit(HModName, user, option, table) { |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', |
| | | type: "GET", |