|
|
@@ -178,22 +178,22 @@ var bootstrap = function ($, learun) { |
|
|
|
}); |
|
|
|
} |
|
|
|
}, |
|
|
|
//{ |
|
|
|
// label: '原系部', name: 'DeptNo', width: 100, align: "left", |
|
|
|
// formatterAsync: function (callback, value, row, op, $cell) { |
|
|
|
// learun.clientdata.getAsync('custmerData', { |
|
|
|
// url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'CdDeptInfo', |
|
|
|
// key: value, |
|
|
|
// keyId: 'deptno', |
|
|
|
// callback: function (_data) { |
|
|
|
// callback(_data['deptname']); |
|
|
|
// } |
|
|
|
// }); |
|
|
|
// } |
|
|
|
//}, |
|
|
|
{ label: '年级', name: 'Grade', width: 100, align: "left" }, |
|
|
|
{ |
|
|
|
label: '学制', name: 'EduSystem', width: 200, align: "left", |
|
|
|
label: '原系部', name: 'DeptNo', width: 100, align: "left", |
|
|
|
formatterAsync: function (callback, value, row, op, $cell) { |
|
|
|
learun.clientdata.getAsync('custmerData', { |
|
|
|
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'CdDeptInfo', |
|
|
|
key: value, |
|
|
|
keyId: 'deptno', |
|
|
|
callback: function (_data) { |
|
|
|
callback(_data['deptname']); |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
|
}, |
|
|
|
{ label: '原年级', name: 'Grade', width: 60, align: "left" }, |
|
|
|
{ |
|
|
|
label: '原学制', name: 'EduSystem', width: 80, align: "left", |
|
|
|
formatterAsync: function (callback, value, row, op, $cell) { |
|
|
|
learun.clientdata.getAsync('dataItem', { |
|
|
|
key: value, |
|
|
@@ -216,46 +216,46 @@ var bootstrap = function ($, learun) { |
|
|
|
// return learun.formatDate(cellvalue, 'yyyy-MM-dd'); |
|
|
|
// } |
|
|
|
//}, |
|
|
|
//{ |
|
|
|
// label: '现班级', name: 'NewClassNo', width: 100, align: "left", |
|
|
|
// formatterAsync: function (callback, value, row, op, $cell) { |
|
|
|
// learun.clientdata.getAsync('custmerData', { |
|
|
|
// url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'bjsj', |
|
|
|
// key: value, |
|
|
|
// keyId: 'classno', |
|
|
|
// callback: function (_data) { |
|
|
|
// callback(_data['classname']); |
|
|
|
// } |
|
|
|
// }); |
|
|
|
// } |
|
|
|
//}, |
|
|
|
//{ |
|
|
|
// label: '现专业', name: 'NewMajorNo', width: 100, align: "left", |
|
|
|
// formatterAsync: function (callback, value, row, op, $cell) { |
|
|
|
// learun.clientdata.getAsync('custmerData', { |
|
|
|
// url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'CdMajorInfo', |
|
|
|
// key: value, |
|
|
|
// keyId: 'majorno', |
|
|
|
// callback: function (_data) { |
|
|
|
// callback(_data['majorname']); |
|
|
|
// } |
|
|
|
// }); |
|
|
|
// } |
|
|
|
//}, |
|
|
|
//{ |
|
|
|
// label: '现系部', name: 'NewDeptNo', width: 100, align: "left", |
|
|
|
// formatterAsync: function (callback, value, row, op, $cell) { |
|
|
|
// learun.clientdata.getAsync('custmerData', { |
|
|
|
// url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'CdDeptInfo', |
|
|
|
// key: value, |
|
|
|
// keyId: 'deptno', |
|
|
|
// callback: function (_data) { |
|
|
|
// callback(_data['deptname']); |
|
|
|
// } |
|
|
|
// }); |
|
|
|
// } |
|
|
|
//}, |
|
|
|
//{ label: '现年级', name: 'NewGrade', width: 60, align: "left" }, |
|
|
|
{ |
|
|
|
label: '现班级', name: 'NewClassNo', width: 100, align: "left", |
|
|
|
formatterAsync: function (callback, value, row, op, $cell) { |
|
|
|
learun.clientdata.getAsync('custmerData', { |
|
|
|
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'bjsj', |
|
|
|
key: value, |
|
|
|
keyId: 'classno', |
|
|
|
callback: function (_data) { |
|
|
|
callback(_data['classname']); |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '现专业', name: 'NewMajorNo', width: 100, align: "left", |
|
|
|
formatterAsync: function (callback, value, row, op, $cell) { |
|
|
|
learun.clientdata.getAsync('custmerData', { |
|
|
|
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'CdMajorInfo', |
|
|
|
key: value, |
|
|
|
keyId: 'majorno', |
|
|
|
callback: function (_data) { |
|
|
|
callback(_data['majorname']); |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '现系部', name: 'NewDeptNo', width: 100, align: "left", |
|
|
|
formatterAsync: function (callback, value, row, op, $cell) { |
|
|
|
learun.clientdata.getAsync('custmerData', { |
|
|
|
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'CdDeptInfo', |
|
|
|
key: value, |
|
|
|
keyId: 'deptno', |
|
|
|
callback: function (_data) { |
|
|
|
callback(_data['deptname']); |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
|
}, |
|
|
|
{ label: '现年级', name: 'NewGrade', width: 60, align: "left" }, |
|
|
|
//{ |
|
|
|
// label: '创建时间', name: 'CreateTime', width: 100, align: "left", |
|
|
|
// formatter: function (cellvalue) { |
|
|
@@ -275,27 +275,27 @@ var bootstrap = function ($, learun) { |
|
|
|
// }); |
|
|
|
// } |
|
|
|
//}, |
|
|
|
//{ |
|
|
|
// label: '审核时间', name: 'CheckTime', width: 200, align: "left", |
|
|
|
// formatter: function (cellvalue) { |
|
|
|
// return learun.formatDate(cellvalue, 'yyyy-MM-dd'); |
|
|
|
// } |
|
|
|
//}, |
|
|
|
//{ |
|
|
|
// label: '审核用户', name: 'CheckUserId', width: 200, align: "left", |
|
|
|
// formatterAsync: function (callback, value, row, op, $cell) { |
|
|
|
// learun.clientdata.getAsync('custmerData', { |
|
|
|
// url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BaseUser', |
|
|
|
// key: value, |
|
|
|
// keyId: 'f_userid', |
|
|
|
// callback: function (_data) { |
|
|
|
// callback(_data['f_realname']); |
|
|
|
// } |
|
|
|
// }); |
|
|
|
// } |
|
|
|
//}, |
|
|
|
{ |
|
|
|
label: '审核状态', name: 'F_EnabledMark', width: 200, align: "left", |
|
|
|
label: '审核时间', name: 'CheckTime', width: 150, align: "left", |
|
|
|
formatter: function (cellvalue) { |
|
|
|
return learun.formatDate(cellvalue, 'yyyy-MM-dd'); |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '审核用户', name: 'CheckUserId', width: 100, align: "left", |
|
|
|
formatterAsync: function (callback, value, row, op, $cell) { |
|
|
|
learun.clientdata.getAsync('custmerData', { |
|
|
|
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BaseUser', |
|
|
|
key: value, |
|
|
|
keyId: 'f_userid', |
|
|
|
callback: function (_data) { |
|
|
|
callback(_data['f_realname']); |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '审核状态', name: 'F_EnabledMark', width: 100, align: "left", |
|
|
|
formatter: function (cellvalue) { |
|
|
|
return cellvalue == "1" ? "<span class=\"label label-success\">已生效</span>" : "<span class=\"label label-danger\">未生效</span>"; |
|
|
|
} |
|
|
@@ -394,6 +394,7 @@ var bootstrap = function ($, learun) { |
|
|
|
mainId: 'ID', |
|
|
|
isPage: true, |
|
|
|
rows: 100, |
|
|
|
sidx:'CheckTime desc' |
|
|
|
}); |
|
|
|
page.search(); |
|
|
|
}, |
|
|
|