提交 9e1a9ef5 编写于 作者: doc_wei's avatar doc_wei

update: 员工转职教职工功能修改

上级 354e9a73
......@@ -11,13 +11,12 @@ layui.config({
form = layui.form;
showGrid({
id: "allSchool",
url: schoolBasePath + "schoolmation007",
id: "schoolId",
url: sysMainMation.schoolBasePath + "queryAllSchoolList",
method: 'GET',
params: {},
pagination: false,
template: getFileContent('tpl/template/select-option.tpl'),
ajaxSendLoadBefore: function(hdb) {
},
ajaxSendAfter:function (json) {
form.render('select');
}
......@@ -28,10 +27,10 @@ layui.config({
form.on('submit(submit)', function (data) {
if (winui.verifyForm(data.elem)) {
var params = {
schoolId: $("#allSchool").val(),
schoolId: $("#schoolId").val(),
staffId: parent.rowId
};
AjaxPostUtil.request({url: reqBasePath + "staff007", params: params, type: 'json', callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.reqBasePath + "staff007", params: params, type: 'json', method: 'POST', callback: function (json) {
parent.layer.close(index);
parent.refreshCode = '0';
}});
......
......@@ -12,7 +12,7 @@
<div class="layui-form-item">
<label class="layui-form-label">所属学校<i class="red">*</i></label>
<div class="layui-input-block">
<select id="allSchool" lay-filter="allSchool" lay-search="" win-verify="required">
<select id="schoolId" lay-filter="schoolId" lay-search="" win-verify="required">
<option value="">请选择</option>
</select>
</div>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册