优化bOM

pull/1/head
wangziyangyang 2020-04-11 10:26:00 +08:00
parent 5d159cbe50
commit c5ad7b082a
2 changed files with 12 additions and 11 deletions

View File

@ -178,11 +178,12 @@
}); });
//监听提交 //监听提交
form.on('submit(js-submit-filter)', function (data) { form.on('submit(js-submit-filter)', function (data) {
spUtil.submitForm({ layer.alert("嘿嘿暂时无法保存开发loading....");
contentType: 'application/json;charset=UTF-8', <#--spUtil.submitForm({-->
url: "${request.contextPath}/basedata/flow/process/add-or-update", <#-- contentType: 'application/json;charset=UTF-8',-->
data: data.field <#-- url: "${request.contextPath}/basedata/flow/process/add-or-update",-->
}); <#-- data: data.field-->
<#--});-->
return false; return false;
}); });
var layTableId = "layTableId"; var layTableId = "layTableId";

View File

@ -102,12 +102,12 @@
//监听提交 //监听提交
form.on('submit(js-submit-filter)', function (data) { form.on('submit(js-submit-filter)', function (data) {
data.field.spOperVoList = requestParmaArr; data.field.spOperVoList = requestParmaArr;
layer.alert("嘿嘿暂时无法保存开发loading....");
<#--spUtil.submitForm({--> spUtil.submitForm({
<#-- contentType: 'application/json;charset=UTF-8',--> contentType: 'application/json;charset=UTF-8',
<#-- url: "${request.contextPath}/basedata/flow/process/add-or-update",--> url: "${request.contextPath}/basedata/flow/process/add-or-update",
<#-- data: JSON.stringify(data.field)--> data: JSON.stringify(data.field)
<#--});--> });
return false; return false;
}); });