|
|
@@ -447,44 +447,49 @@ var bootstrap = function ($, learun) { |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: "省", name: "F_ProvinceId", width: 100, align: "left", |
|
|
|
formatterAsync: function (callback, value, row, op, $cell) { |
|
|
|
learun.clientdata.getAsync('custmerData', { |
|
|
|
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'DIC_PROVINCE', |
|
|
|
key: value, |
|
|
|
keyId: 'pcode', |
|
|
|
callback: function (_data) { |
|
|
|
callback(_data['pname']); |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: "市", name: "F_CityId", width: 100, align: "left", |
|
|
|
formatterAsync: function (callback, value, row, op, $cell) { |
|
|
|
learun.clientdata.getAsync('custmerData', { |
|
|
|
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'DIC_CITY', |
|
|
|
key: value, |
|
|
|
keyId: 'ccode', |
|
|
|
callback: function (_data) { |
|
|
|
callback(_data['cname']); |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: "县/区", name: "F_CountyId", width: 100, align: "left", |
|
|
|
formatterAsync: function (callback, value, row, op, $cell) { |
|
|
|
learun.clientdata.getAsync('custmerData', { |
|
|
|
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'DIC_AREA', |
|
|
|
key: value, |
|
|
|
keyId: 'acode', |
|
|
|
callback: function (_data) { |
|
|
|
callback(_data['aname']); |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
|
label: "籍贯", name: "RegionNo", width: 100, align: "left", |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
//{ |
|
|
|
// label: "省", name: "F_ProvinceId", width: 100, align: "left", |
|
|
|
// formatterAsync: function (callback, value, row, op, $cell) { |
|
|
|
// learun.clientdata.getAsync('custmerData', { |
|
|
|
// url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'DIC_PROVINCE', |
|
|
|
// key: value, |
|
|
|
// keyId: 'pcode', |
|
|
|
// callback: function (_data) { |
|
|
|
// callback(_data['pname']); |
|
|
|
// } |
|
|
|
// }); |
|
|
|
// } |
|
|
|
//}, |
|
|
|
//{ |
|
|
|
// label: "市", name: "F_CityId", width: 100, align: "left", |
|
|
|
// formatterAsync: function (callback, value, row, op, $cell) { |
|
|
|
// learun.clientdata.getAsync('custmerData', { |
|
|
|
// url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'DIC_CITY', |
|
|
|
// key: value, |
|
|
|
// keyId: 'ccode', |
|
|
|
// callback: function (_data) { |
|
|
|
// callback(_data['cname']); |
|
|
|
// } |
|
|
|
// }); |
|
|
|
// } |
|
|
|
//}, |
|
|
|
//{ |
|
|
|
// label: "县/区", name: "F_CountyId", width: 100, align: "left", |
|
|
|
// formatterAsync: function (callback, value, row, op, $cell) { |
|
|
|
// learun.clientdata.getAsync('custmerData', { |
|
|
|
// url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'DIC_AREA', |
|
|
|
// key: value, |
|
|
|
// keyId: 'acode', |
|
|
|
// callback: function (_data) { |
|
|
|
// callback(_data['aname']); |
|
|
|
// } |
|
|
|
// }); |
|
|
|
// } |
|
|
|
//}, |
|
|
|
{ |
|
|
|
label: "政治面貌", name: "PartyFaceNo", width: 100, align: "left", |
|
|
|
formatterAsync: function (callback, value, row, op, $cell) { |
|
|
@@ -602,7 +607,7 @@ var bootstrap = function ($, learun) { |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: "学生居住地类型", name: "StuLivePlaceType", width: 100, align: "left", |
|
|
|
formatterAsync: function(callback, value, row, op, $cell) { |
|
|
|
formatterAsync: function (callback, value, row, op, $cell) { |
|
|
|
learun.clientdata.getAsync('dataItem', { |
|
|
|
key: value, |
|
|
|
code: 'StuLivePlaceType', |
|
|
@@ -614,14 +619,8 @@ var bootstrap = function ($, learun) { |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: "是否困难家庭", name: "IsDdifficulty", width: 100, align: "left", |
|
|
|
formatterAsync: function (callback, value, row, op, $cell) { |
|
|
|
learun.clientdata.getAsync('dataItem', { |
|
|
|
key: value, |
|
|
|
code: 'YesOrNoBit', |
|
|
|
callback: function (_data) { |
|
|
|
callback(_data.text); |
|
|
|
} |
|
|
|
}); |
|
|
|
formatter: function (cellvalue) { |
|
|
|
return cellvalue == 1 ? "是" : "否"; |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
@@ -713,49 +712,28 @@ var bootstrap = function ($, learun) { |
|
|
|
{ label: "监护人联系方式", name: "GuardianPhone", width: 100, align: "left" }, |
|
|
|
{ |
|
|
|
label: "走读", name: "IsRunSchool", width: 100, align: "left", |
|
|
|
formatterAsync: function (callback, value, row, op, $cell) { |
|
|
|
learun.clientdata.getAsync('dataItem', { |
|
|
|
key: value, |
|
|
|
code: 'YesOrNoBit', |
|
|
|
callback: function (_data) { |
|
|
|
callback(_data.text); |
|
|
|
} |
|
|
|
}); |
|
|
|
formatter: function (cellvalue) { |
|
|
|
return cellvalue == 1 ? "是" : "否"; |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: "留守", name: "IsLeft", width: 100, align: "left", |
|
|
|
formatterAsync: function (callback, value, row, op, $cell) { |
|
|
|
learun.clientdata.getAsync('dataItem', { |
|
|
|
key: value, |
|
|
|
code: 'YesOrNoBit', |
|
|
|
callback: function (_data) { |
|
|
|
callback(_data.text); |
|
|
|
} |
|
|
|
}); |
|
|
|
} }, |
|
|
|
formatter: function (cellvalue) { |
|
|
|
return cellvalue == 1 ? "是" : "否"; |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: "孤儿", name: "IsDisability", width: 100, align: "left", |
|
|
|
formatterAsync: function (callback, value, row, op, $cell) { |
|
|
|
learun.clientdata.getAsync('dataItem', { |
|
|
|
key: value, |
|
|
|
code: 'YesOrNoBit', |
|
|
|
callback: function (_data) { |
|
|
|
callback(_data.text); |
|
|
|
} |
|
|
|
}); |
|
|
|
} }, |
|
|
|
formatter: function (cellvalue) { |
|
|
|
return cellvalue == 1 ? "是" : "否"; |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: "单亲", name: "IsSingle", width: 100, align: "left", |
|
|
|
formatterAsync: function (callback, value, row, op, $cell) { |
|
|
|
learun.clientdata.getAsync('dataItem', { |
|
|
|
key: value, |
|
|
|
code: 'YesOrNoBit', |
|
|
|
callback: function (_data) { |
|
|
|
callback(_data.text); |
|
|
|
} |
|
|
|
}); |
|
|
|
} }, |
|
|
|
formatter: function (cellvalue) { |
|
|
|
return cellvalue == 1 ? "是" : "否"; |
|
|
|
} |
|
|
|
}, |
|
|
|
//{ |
|
|
|
// label: "是否上传头像", name: "Photo", width: 80, align: "center", |
|
|
|
// formatter: function (cellvalue) { |
|
|
|