1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
| //#region 设置表格页大小初始
| function DisPlay_HideColumn_GetPageSize(HModName, user,optionPage) {
| $.ajax({
| url: GetWEBURL() + '/Xt_grdAlignment_WMES/grdAlignmentWMESList',
| type: "GET",
| async: false,
| data: { "HModName": HModName, "user": user },
| success: function (data1) {
| if (data1.data.length != 0) {
| if (data1.data[0].HPageSize > 0) {
| optionPage.limit = data1.data[0].HPageSize;
| optionPage.limits.push(data1.data[0].HPageSize);
| }
|
| } else {
| }
| }, error: function () {
| layer.alert("接口请求失败!", { icon: 5 });
| }
| })
| }
| //#endregion
|
|