优化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) {
spUtil.submitForm({
contentType: 'application/json;charset=UTF-8',
url: "${request.contextPath}/basedata/flow/process/add-or-update",
data: data.field
});
layer.alert("嘿嘿暂时无法保存开发loading....");
<#--spUtil.submitForm({-->
<#-- contentType: 'application/json;charset=UTF-8',-->
<#-- url: "${request.contextPath}/basedata/flow/process/add-or-update",-->
<#-- data: data.field-->
<#--});-->
return false;
});
var layTableId = "layTableId";

View File

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