瀏覽代碼

学生学籍

枝江中职分支
ndbs 1 月之前
父節點
當前提交
bd482c0e6b
共有 1 個檔案被更改,包括 59 行新增81 行删除
  1. +59
    -81
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Index.js

+ 59
- 81
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Index.js 查看文件

@@ -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) {


Loading…
取消
儲存