Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
doc_wei
Skyeye
提交
73c91a88
S
Skyeye
项目概览
doc_wei
/
Skyeye
通知
1172
Star
154
Fork
127
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
Skyeye
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
73c91a88
编写于
4月 03, 2022
作者:
doc_wei
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
动态表单整改
上级
bb1d7336
变更
33
隐藏空白更改
内联
并排
Showing
33 changed file
with
75 addition
and
75 deletion
+75
-75
activiti/src/main/resources/template/js/approvalActiviti/approvalProcess.js
...resources/template/js/approvalActiviti/approvalProcess.js
+1
-1
activiti/src/main/resources/template/js/dsFormPageSequence/dsFormPageSequenceDraftProcessAdd.js
...s/dsFormPageSequence/dsFormPageSequenceDraftProcessAdd.js
+1
-1
code-doc/src/main/resources/template/js/codemodelgroup/addcontenttohtmlorjs.js
...ources/template/js/codemodelgroup/addcontenttohtmlorjs.js
+3
-3
crm/src/main/resources/template/js/crmOpportunity/crmOpportunityList.js
...esources/template/js/crmOpportunity/crmOpportunityList.js
+1
-1
crm/src/main/resources/template/js/crmOpportunity/myCrmOpportunityList.js
...ources/template/js/crmOpportunity/myCrmOpportunityList.js
+1
-1
crm/src/main/resources/template/js/crmOpportunity/stateChange.js
.../main/resources/template/js/crmOpportunity/stateChange.js
+7
-7
crm/src/main/resources/template/js/crmcontractmanage/mycrmcontractlist.js
...ources/template/js/crmcontractmanage/mycrmcontractlist.js
+5
-5
dsform/src/main/resources/template/js/dsFormObjectRelation/dsFormObjectRelationAdd.js
...mplate/js/dsFormObjectRelation/dsFormObjectRelationAdd.js
+1
-1
dsform/src/main/resources/template/js/dsFormObjectRelation/dsFormObjectRelationDetails.js
...te/js/dsFormObjectRelation/dsFormObjectRelationDetails.js
+1
-1
dsform/src/main/resources/template/js/dsFormObjectRelation/dsFormObjectRelationEdit.js
...plate/js/dsFormObjectRelation/dsFormObjectRelationEdit.js
+2
-2
dsform/src/main/resources/template/js/dsFormObjectRelation/dsFormObjectRelationList.js
...plate/js/dsFormObjectRelation/dsFormObjectRelationList.js
+2
-2
dsform/src/main/resources/template/js/dsFormPage/dsFormPageDesign.js
...main/resources/template/js/dsFormPage/dsFormPageDesign.js
+7
-7
dsform/src/main/resources/template/js/dsFormPage/dsFormPageListChoose.js
.../resources/template/js/dsFormPage/dsFormPageListChoose.js
+1
-1
dsform/src/main/resources/template/js/dsFormPage/pageAdd.js
dsform/src/main/resources/template/js/dsFormPage/pageAdd.js
+1
-1
dsform/src/main/resources/template/js/dsFormPage/pageEdit.js
dsform/src/main/resources/template/js/dsFormPage/pageEdit.js
+2
-2
dsform/src/main/resources/template/js/dsFormPage/pageList.js
dsform/src/main/resources/template/js/dsFormPage/pageList.js
+2
-2
dsform/src/main/resources/template/js/dsFormPageType/dsFormPageTypeAdd.js
...resources/template/js/dsFormPageType/dsFormPageTypeAdd.js
+1
-1
dsform/src/main/resources/template/js/dsFormPageType/dsFormPageTypeEdit.js
...esources/template/js/dsFormPageType/dsFormPageTypeEdit.js
+2
-2
dsform/src/main/resources/template/js/dsFormPageType/dsFormPageTypeList.js
...esources/template/js/dsFormPageType/dsFormPageTypeList.js
+2
-2
dsform/src/main/resources/template/js/dsformcontent/dsformcontentadd.js
...n/resources/template/js/dsformcontent/dsformcontentadd.js
+2
-2
dsform/src/main/resources/template/js/dsformcontent/dsformcontentedit.js
.../resources/template/js/dsformcontent/dsformcontentedit.js
+3
-3
dsform/src/main/resources/template/js/dsformcontent/dsformcontentlist.js
.../resources/template/js/dsformcontent/dsformcontentlist.js
+2
-2
dsform/src/main/resources/template/js/dsformdisplaytemplate/dsformdisplaytemplateadd.js
...late/js/dsformdisplaytemplate/dsformdisplaytemplateadd.js
+1
-1
dsform/src/main/resources/template/js/dsformdisplaytemplate/dsformdisplaytemplateedit.js
...ate/js/dsformdisplaytemplate/dsformdisplaytemplateedit.js
+2
-2
dsform/src/main/resources/template/js/dsformdisplaytemplate/dsformdisplaytemplatelist.js
...ate/js/dsformdisplaytemplate/dsformdisplaytemplatelist.js
+2
-2
dsform/src/main/resources/template/js/dsformlimitrequirement/dsformlimitrequirementadd.js
...te/js/dsformlimitrequirement/dsformlimitrequirementadd.js
+1
-1
dsform/src/main/resources/template/js/dsformlimitrequirement/dsformlimitrequirementedit.js
...e/js/dsformlimitrequirement/dsformlimitrequirementedit.js
+2
-2
dsform/src/main/resources/template/js/dsformlimitrequirement/dsformlimitrequirementlist.js
...e/js/dsformlimitrequirement/dsformlimitrequirementlist.js
+2
-2
rmprogram/src/main/resources/template/js/rmproperty/rmpropertyadd.js
...rc/main/resources/template/js/rmproperty/rmpropertyadd.js
+3
-3
rmprogram/src/main/resources/template/js/rmproperty/rmpropertyedit.js
...c/main/resources/template/js/rmproperty/rmpropertyedit.js
+4
-4
rmprogram/src/main/resources/template/js/rmproperty/rmpropertylist.js
...c/main/resources/template/js/rmproperty/rmpropertylist.js
+1
-1
web/src/main/resources/static/公共请求
web/src/main/resources/static/公共请求
+1
-1
web/src/main/resources/template/assets/lib/layui/customer/dsFormUtil.js
...esources/template/assets/lib/layui/customer/dsFormUtil.js
+6
-6
未找到文件。
activiti/src/main/resources/template/js/approvalActiviti/approvalProcess.js
浏览文件 @
73c91a88
...
@@ -59,7 +59,7 @@ layui.config({
...
@@ -59,7 +59,7 @@ layui.config({
tplContent
=
getDataUseHandlebars
(
formItem
.
templateContent
,
obj
);
tplContent
=
getDataUseHandlebars
(
formItem
.
templateContent
,
obj
);
formItem
.
context
=
tplContent
;
formItem
.
context
=
tplContent
;
}
else
if
(
formItem
.
associatedDataTypes
==
2
){
//接口
}
else
if
(
formItem
.
associatedDataTypes
==
2
){
//接口
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
dsformpage011
"
,
params
:{
interfa
:
formItem
.
aData
},
type
:
'
json
'
,
callback
:
function
(
j
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
dsformpage011
"
,
params
:{
interfa
:
formItem
.
aData
},
type
:
'
json
'
,
callback
:
function
(
j
){
if
(
j
.
returnCode
==
0
){
if
(
j
.
returnCode
==
0
){
var
obj
=
JSON
.
parse
(
j
.
bean
.
aData
);
var
obj
=
JSON
.
parse
(
j
.
bean
.
aData
);
tplContent
=
getDataUseHandlebars
(
formItem
.
templateContent
,
obj
);
tplContent
=
getDataUseHandlebars
(
formItem
.
templateContent
,
obj
);
...
...
activiti/src/main/resources/template/js/dsFormPageSequence/dsFormPageSequenceDraftProcessAdd.js
浏览文件 @
73c91a88
...
@@ -15,7 +15,7 @@ layui.config({
...
@@ -15,7 +15,7 @@ layui.config({
var
actKey
=
parent
.
actKey
;
var
actKey
=
parent
.
actKey
;
// 加载动态表单页
// 加载动态表单页
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
dsformpage004
"
,
params
:{
rowId
:
parent
.
dsFormId
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
dsformpage004
"
,
params
:{
rowId
:
parent
.
dsFormId
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
dsFormUtil
.
loadDsFormItemToEdit
(
"
showForm
"
,
json
.
rows
);
dsFormUtil
.
loadDsFormItemToEdit
(
"
showForm
"
,
json
.
rows
);
$
(
"
#showForm
"
).
append
(
'
<div class="layui-form-item layui-col-xs12"><div class="layui-input-block">
'
+
$
(
"
#showForm
"
).
append
(
'
<div class="layui-form-item layui-col-xs12"><div class="layui-input-block">
'
+
...
...
code-doc/src/main/resources/template/js/codemodelgroup/addcontenttohtmlorjs.js
浏览文件 @
73c91a88
...
@@ -25,7 +25,7 @@ layui.config({
...
@@ -25,7 +25,7 @@ layui.config({
});
});
form
.
on
(
'
select(showModel)
'
,
function
(
data
){
form
.
on
(
'
select(showModel)
'
,
function
(
data
){
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
dsform007
"
,
params
:{
rowId
:
data
.
value
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
dsform007
"
,
params
:{
rowId
:
data
.
value
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
var
mode
=
returnModel
(
json
.
bean
.
htmlType
);
var
mode
=
returnModel
(
json
.
bean
.
htmlType
);
if
(
!
isNull
(
mode
.
length
))
{
if
(
!
isNull
(
mode
.
length
))
{
...
@@ -54,7 +54,7 @@ layui.config({
...
@@ -54,7 +54,7 @@ layui.config({
//展现形式
//展现形式
showGrid
({
showGrid
({
id
:
"
showModel
"
,
id
:
"
showModel
"
,
url
:
req
BasePath
+
"
dsform006
"
,
url
:
flowable
BasePath
+
"
dsform006
"
,
params
:
{},
params
:
{},
pagination
:
false
,
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
@@ -65,7 +65,7 @@ layui.config({
...
@@ -65,7 +65,7 @@ layui.config({
//限制条件
//限制条件
showGrid
({
showGrid
({
id
:
"
limitRequire
"
,
id
:
"
limitRequire
"
,
url
:
req
BasePath
+
"
dsformlimitrequirement006
"
,
url
:
flowable
BasePath
+
"
dsformlimitrequirement006
"
,
params
:
{},
params
:
{},
pagination
:
false
,
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/checkbox-limit.tpl
'
),
template
:
getFileContent
(
'
tpl/template/checkbox-limit.tpl
'
),
...
...
crm/src/main/resources/template/js/crmOpportunity/crmOpportunityList.js
浏览文件 @
73c91a88
...
@@ -101,7 +101,7 @@ layui.config({
...
@@ -101,7 +101,7 @@ layui.config({
function
revoke
(
data
){
function
revoke
(
data
){
layer
.
confirm
(
'
确认撤销该商机审批申请吗?
'
,
{
icon
:
3
,
title
:
'
撤销操作
'
},
function
(
index
)
{
layer
.
confirm
(
'
确认撤销该商机审批申请吗?
'
,
{
icon
:
3
,
title
:
'
撤销操作
'
},
function
(
index
)
{
layer
.
close
(
index
);
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
opportunity027
"
,
params
:{
processInstanceId
:
data
.
processInstanceId
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
opportunity027
"
,
params
:{
processInstanceId
:
data
.
processInstanceId
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
"
提交成功
"
,
{
icon
:
1
,
time
:
2000
});
winui
.
window
.
msg
(
"
提交成功
"
,
{
icon
:
1
,
time
:
2000
});
loadTable
();
loadTable
();
...
...
crm/src/main/resources/template/js/crmOpportunity/myCrmOpportunityList.js
浏览文件 @
73c91a88
...
@@ -99,7 +99,7 @@ layui.config({
...
@@ -99,7 +99,7 @@ layui.config({
function
revoke
(
data
){
function
revoke
(
data
){
layer
.
confirm
(
'
确认撤销该商机审批申请吗?
'
,
{
icon
:
3
,
title
:
'
撤销操作
'
},
function
(
index
)
{
layer
.
confirm
(
'
确认撤销该商机审批申请吗?
'
,
{
icon
:
3
,
title
:
'
撤销操作
'
},
function
(
index
)
{
layer
.
close
(
index
);
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
opportunity027
"
,
params
:{
rowId
:
data
.
id
,
processInstanceId
:
data
.
processInstanceId
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
opportunity027
"
,
params
:{
rowId
:
data
.
id
,
processInstanceId
:
data
.
processInstanceId
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
"
提交成功
"
,
{
icon
:
1
,
time
:
2000
});
winui
.
window
.
msg
(
"
提交成功
"
,
{
icon
:
1
,
time
:
2000
});
loadTable
();
loadTable
();
...
...
crm/src/main/resources/template/js/crmOpportunity/stateChange.js
浏览文件 @
73c91a88
...
@@ -59,7 +59,7 @@ layui.config({
...
@@ -59,7 +59,7 @@ layui.config({
var
msg
=
'
确认【
'
+
stateChangeData
.
title
+
'
】进入初期沟通状态吗?
'
;
var
msg
=
'
确认【
'
+
stateChangeData
.
title
+
'
】进入初期沟通状态吗?
'
;
layer
.
confirm
(
msg
,
{
icon
:
3
,
title
:
'
初期沟通
'
},
function
(
i
)
{
layer
.
confirm
(
msg
,
{
icon
:
3
,
title
:
'
初期沟通
'
},
function
(
i
)
{
layer
.
close
(
i
);
layer
.
close
(
i
);
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
opportunity019
"
,
params
:{
rowId
:
stateChangeData
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
opportunity019
"
,
params
:{
rowId
:
stateChangeData
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
parent
.
refreshCode
=
'
0
'
;
...
@@ -75,7 +75,7 @@ layui.config({
...
@@ -75,7 +75,7 @@ layui.config({
var
msg
=
'
确认【
'
+
stateChangeData
.
title
+
'
】进入方案与报价状态吗?
'
;
var
msg
=
'
确认【
'
+
stateChangeData
.
title
+
'
】进入方案与报价状态吗?
'
;
layer
.
confirm
(
msg
,
{
icon
:
3
,
title
:
'
方案与报价
'
},
function
(
i
)
{
layer
.
confirm
(
msg
,
{
icon
:
3
,
title
:
'
方案与报价
'
},
function
(
i
)
{
layer
.
close
(
i
);
layer
.
close
(
i
);
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
opportunity020
"
,
params
:{
rowId
:
stateChangeData
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
opportunity020
"
,
params
:{
rowId
:
stateChangeData
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
parent
.
refreshCode
=
'
0
'
;
...
@@ -91,7 +91,7 @@ layui.config({
...
@@ -91,7 +91,7 @@ layui.config({
var
msg
=
'
确认【
'
+
stateChangeData
.
title
+
'
】进入竞争与投标状态吗?
'
;
var
msg
=
'
确认【
'
+
stateChangeData
.
title
+
'
】进入竞争与投标状态吗?
'
;
layer
.
confirm
(
msg
,
{
icon
:
3
,
title
:
'
竞争与投标
'
},
function
(
i
)
{
layer
.
confirm
(
msg
,
{
icon
:
3
,
title
:
'
竞争与投标
'
},
function
(
i
)
{
layer
.
close
(
i
);
layer
.
close
(
i
);
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
opportunity021
"
,
params
:{
rowId
:
stateChangeData
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
opportunity021
"
,
params
:{
rowId
:
stateChangeData
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
parent
.
refreshCode
=
'
0
'
;
...
@@ -107,7 +107,7 @@ layui.config({
...
@@ -107,7 +107,7 @@ layui.config({
var
msg
=
'
确认【
'
+
stateChangeData
.
title
+
'
】进入商务谈判状态吗?
'
;
var
msg
=
'
确认【
'
+
stateChangeData
.
title
+
'
】进入商务谈判状态吗?
'
;
layer
.
confirm
(
msg
,
{
icon
:
3
,
title
:
'
商务谈判
'
},
function
(
i
)
{
layer
.
confirm
(
msg
,
{
icon
:
3
,
title
:
'
商务谈判
'
},
function
(
i
)
{
layer
.
close
(
i
);
layer
.
close
(
i
);
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
opportunity022
"
,
params
:{
rowId
:
stateChangeData
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
opportunity022
"
,
params
:{
rowId
:
stateChangeData
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
parent
.
refreshCode
=
'
0
'
;
...
@@ -123,7 +123,7 @@ layui.config({
...
@@ -123,7 +123,7 @@ layui.config({
var
msg
=
'
确认【
'
+
stateChangeData
.
title
+
'
】进入成交状态吗?
'
;
var
msg
=
'
确认【
'
+
stateChangeData
.
title
+
'
】进入成交状态吗?
'
;
layer
.
confirm
(
msg
,
{
icon
:
3
,
title
:
'
成交
'
},
function
(
i
)
{
layer
.
confirm
(
msg
,
{
icon
:
3
,
title
:
'
成交
'
},
function
(
i
)
{
layer
.
close
(
i
);
layer
.
close
(
i
);
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
opportunity023
"
,
params
:{
rowId
:
stateChangeData
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
opportunity023
"
,
params
:{
rowId
:
stateChangeData
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
parent
.
refreshCode
=
'
0
'
;
...
@@ -139,7 +139,7 @@ layui.config({
...
@@ -139,7 +139,7 @@ layui.config({
var
msg
=
'
确认【
'
+
stateChangeData
.
title
+
'
】进入丢单状态吗?
'
;
var
msg
=
'
确认【
'
+
stateChangeData
.
title
+
'
】进入丢单状态吗?
'
;
layer
.
confirm
(
msg
,
{
icon
:
3
,
title
:
'
丢单
'
},
function
(
i
)
{
layer
.
confirm
(
msg
,
{
icon
:
3
,
title
:
'
丢单
'
},
function
(
i
)
{
layer
.
close
(
i
);
layer
.
close
(
i
);
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
opportunity024
"
,
params
:{
rowId
:
stateChangeData
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
opportunity024
"
,
params
:{
rowId
:
stateChangeData
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
parent
.
refreshCode
=
'
0
'
;
...
@@ -155,7 +155,7 @@ layui.config({
...
@@ -155,7 +155,7 @@ layui.config({
var
msg
=
'
确认【
'
+
stateChangeData
.
title
+
'
】进入搁置状态吗?
'
;
var
msg
=
'
确认【
'
+
stateChangeData
.
title
+
'
】进入搁置状态吗?
'
;
layer
.
confirm
(
msg
,
{
icon
:
3
,
title
:
'
搁置
'
},
function
(
i
)
{
layer
.
confirm
(
msg
,
{
icon
:
3
,
title
:
'
搁置
'
},
function
(
i
)
{
layer
.
close
(
i
);
layer
.
close
(
i
);
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
opportunity025
"
,
params
:{
rowId
:
stateChangeData
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
opportunity025
"
,
params
:{
rowId
:
stateChangeData
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
parent
.
refreshCode
=
'
0
'
;
...
...
crm/src/main/resources/template/js/crmcontractmanage/mycrmcontractlist.js
浏览文件 @
73c91a88
...
@@ -193,7 +193,7 @@ layui.config({
...
@@ -193,7 +193,7 @@ layui.config({
var
msg
=
'
确认执行该合同吗?
'
;
var
msg
=
'
确认执行该合同吗?
'
;
layer
.
confirm
(
msg
,
{
icon
:
3
,
title
:
'
执行申请提交
'
},
function
(
index
)
{
layer
.
confirm
(
msg
,
{
icon
:
3
,
title
:
'
执行申请提交
'
},
function
(
index
)
{
layer
.
close
(
index
);
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
mycrmcontract010
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
mycrmcontract010
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
"
提交成功
"
,
{
icon
:
1
,
time
:
2000
});
winui
.
window
.
msg
(
"
提交成功
"
,
{
icon
:
1
,
time
:
2000
});
loadTable
();
loadTable
();
...
@@ -209,7 +209,7 @@ layui.config({
...
@@ -209,7 +209,7 @@ layui.config({
var
msg
=
'
确认关闭该合同吗?
'
;
var
msg
=
'
确认关闭该合同吗?
'
;
layer
.
confirm
(
msg
,
{
icon
:
3
,
title
:
'
关闭申请提交
'
},
function
(
index
)
{
layer
.
confirm
(
msg
,
{
icon
:
3
,
title
:
'
关闭申请提交
'
},
function
(
index
)
{
layer
.
close
(
index
);
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
mycrmcontract011
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
mycrmcontract011
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
"
提交成功
"
,
{
icon
:
1
,
time
:
2000
});
winui
.
window
.
msg
(
"
提交成功
"
,
{
icon
:
1
,
time
:
2000
});
loadTable
();
loadTable
();
...
@@ -225,7 +225,7 @@ layui.config({
...
@@ -225,7 +225,7 @@ layui.config({
var
msg
=
'
确认搁置该合同吗?
'
;
var
msg
=
'
确认搁置该合同吗?
'
;
layer
.
confirm
(
msg
,
{
icon
:
3
,
title
:
'
搁置申请提交
'
},
function
(
index
)
{
layer
.
confirm
(
msg
,
{
icon
:
3
,
title
:
'
搁置申请提交
'
},
function
(
index
)
{
layer
.
close
(
index
);
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
mycrmcontract012
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
mycrmcontract012
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
"
提交成功
"
,
{
icon
:
1
,
time
:
2000
});
winui
.
window
.
msg
(
"
提交成功
"
,
{
icon
:
1
,
time
:
2000
});
loadTable
();
loadTable
();
...
@@ -241,7 +241,7 @@ layui.config({
...
@@ -241,7 +241,7 @@ layui.config({
var
msg
=
'
确认恢复该合同吗?
'
;
var
msg
=
'
确认恢复该合同吗?
'
;
layer
.
confirm
(
msg
,
{
icon
:
3
,
title
:
'
恢复申请提交
'
},
function
(
index
)
{
layer
.
confirm
(
msg
,
{
icon
:
3
,
title
:
'
恢复申请提交
'
},
function
(
index
)
{
layer
.
close
(
index
);
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
mycrmcontract013
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
mycrmcontract013
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
"
提交成功
"
,
{
icon
:
1
,
time
:
2000
});
winui
.
window
.
msg
(
"
提交成功
"
,
{
icon
:
1
,
time
:
2000
});
loadTable
();
loadTable
();
...
@@ -257,7 +257,7 @@ layui.config({
...
@@ -257,7 +257,7 @@ layui.config({
var
msg
=
'
确认撤销该合同吗?
'
;
var
msg
=
'
确认撤销该合同吗?
'
;
layer
.
confirm
(
msg
,
{
icon
:
3
,
title
:
'
撤销申请提交
'
},
function
(
index
)
{
layer
.
confirm
(
msg
,
{
icon
:
3
,
title
:
'
撤销申请提交
'
},
function
(
index
)
{
layer
.
close
(
index
);
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
mycrmcontract016
"
,
params
:{
processInstanceId
:
data
.
processInstanceId
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
mycrmcontract016
"
,
params
:{
processInstanceId
:
data
.
processInstanceId
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
"
提交成功
"
,
{
icon
:
1
,
time
:
2000
});
winui
.
window
.
msg
(
"
提交成功
"
,
{
icon
:
1
,
time
:
2000
});
loadTable
();
loadTable
();
...
...
dsform/src/main/resources/template/js/dsFormObjectRelation/dsFormObjectRelationAdd.js
浏览文件 @
73c91a88
...
@@ -41,7 +41,7 @@ layui.config({
...
@@ -41,7 +41,7 @@ layui.config({
remark
:
$
(
"
#remark
"
).
val
(),
remark
:
$
(
"
#remark
"
).
val
(),
dsFormPageIds
:
formPageId
.
join
(
"
,
"
)
dsFormPageIds
:
formPageId
.
join
(
"
,
"
)
};
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
dsFormObjectRelation002
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
dsFormObjectRelation002
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
parent
.
refreshCode
=
'
0
'
;
...
...
dsform/src/main/resources/template/js/dsFormObjectRelation/dsFormObjectRelationDetails.js
浏览文件 @
73c91a88
...
@@ -12,7 +12,7 @@ layui.config({
...
@@ -12,7 +12,7 @@ layui.config({
showGrid
({
showGrid
({
id
:
"
showForm
"
,
id
:
"
showForm
"
,
url
:
req
BasePath
+
"
dsFormObjectRelation004
"
,
url
:
flowable
BasePath
+
"
dsFormObjectRelation004
"
,
params
:
{
id
:
parent
.
rowId
},
params
:
{
id
:
parent
.
rowId
},
pagination
:
false
,
pagination
:
false
,
method
:
'
GET
'
,
method
:
'
GET
'
,
...
...
dsform/src/main/resources/template/js/dsFormObjectRelation/dsFormObjectRelationEdit.js
浏览文件 @
73c91a88
...
@@ -14,7 +14,7 @@ layui.config({
...
@@ -14,7 +14,7 @@ layui.config({
showGrid
({
showGrid
({
id
:
"
showForm
"
,
id
:
"
showForm
"
,
url
:
req
BasePath
+
"
dsFormObjectRelation004
"
,
url
:
flowable
BasePath
+
"
dsFormObjectRelation004
"
,
params
:
{
id
:
parent
.
rowId
},
params
:
{
id
:
parent
.
rowId
},
pagination
:
false
,
pagination
:
false
,
method
:
'
GET
'
,
method
:
'
GET
'
,
...
@@ -64,7 +64,7 @@ layui.config({
...
@@ -64,7 +64,7 @@ layui.config({
dsFormPageIds
:
formPageId
.
join
(
"
,
"
),
dsFormPageIds
:
formPageId
.
join
(
"
,
"
),
id
:
parent
.
rowId
id
:
parent
.
rowId
};
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
dsFormObjectRelation005
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
dsFormObjectRelation005
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
parent
.
refreshCode
=
'
0
'
;
...
...
dsform/src/main/resources/template/js/dsFormObjectRelation/dsFormObjectRelationList.js
浏览文件 @
73c91a88
...
@@ -25,7 +25,7 @@ layui.config({
...
@@ -25,7 +25,7 @@ layui.config({
id
:
'
messageTable
'
,
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
dsFormObjectRelation001
'
,
url
:
flowable
BasePath
+
'
dsFormObjectRelation001
'
,
where
:
getTableParams
(),
where
:
getTableParams
(),
even
:
true
,
even
:
true
,
page
:
true
,
page
:
true
,
...
@@ -84,7 +84,7 @@ layui.config({
...
@@ -84,7 +84,7 @@ layui.config({
function
delet
(
data
){
function
delet
(
data
){
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.deleteOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.deleteOperation
"
][
languageType
]},
function
(
index
){
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.deleteOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.deleteOperation
"
][
languageType
]},
function
(
index
){
layer
.
close
(
index
);
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
dsFormObjectRelation003
"
,
params
:
{
id
:
data
.
id
},
type
:
'
json
'
,
method
:
"
DELETE
"
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
dsFormObjectRelation003
"
,
params
:
{
id
:
data
.
id
},
type
:
'
json
'
,
method
:
"
DELETE
"
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
loadTable
();
...
...
dsform/src/main/resources/template/js/dsFormPage/dsFormPageDesign.js
浏览文件 @
73c91a88
...
@@ -20,7 +20,7 @@ layui.config({
...
@@ -20,7 +20,7 @@ layui.config({
authBtn
(
'
1567732055673
'
);
//保存控件
authBtn
(
'
1567732055673
'
);
//保存控件
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
dsformpage004
"
,
params
:{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
dsformpage004
"
,
params
:{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
// 加载表单控件
// 加载表单控件
loadLeftBoxItem
();
loadLeftBoxItem
();
...
@@ -42,7 +42,7 @@ layui.config({
...
@@ -42,7 +42,7 @@ layui.config({
}
}
item
.
context
=
getDataUseHandlebars
(
item
.
templateContent
,
obj
);
item
.
context
=
getDataUseHandlebars
(
item
.
templateContent
,
obj
);
}
else
if
(
item
.
associatedDataTypes
==
2
){
//接口
}
else
if
(
item
.
associatedDataTypes
==
2
){
//接口
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
dsformpage011
"
,
params
:{
interfa
:
item
.
aData
},
type
:
'
json
'
,
callback
:
function
(
j
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
dsformpage011
"
,
params
:{
interfa
:
item
.
aData
},
type
:
'
json
'
,
callback
:
function
(
j
){
if
(
j
.
returnCode
==
0
){
if
(
j
.
returnCode
==
0
){
var
obj
=
JSON
.
parse
(
j
.
bean
.
aData
);
var
obj
=
JSON
.
parse
(
j
.
bean
.
aData
);
item
.
context
=
getDataUseHandlebars
(
item
.
templateContent
,
obj
);
item
.
context
=
getDataUseHandlebars
(
item
.
templateContent
,
obj
);
...
@@ -98,7 +98,7 @@ layui.config({
...
@@ -98,7 +98,7 @@ layui.config({
function
loadLeftBoxItem
(){
function
loadLeftBoxItem
(){
showGrid
({
showGrid
({
id
:
"
btnBox
"
,
id
:
"
btnBox
"
,
url
:
req
BasePath
+
"
dsform006
"
,
url
:
flowable
BasePath
+
"
dsform006
"
,
params
:
{
rowId
:
parent
.
rowId
},
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
pagination
:
false
,
template
:
$
(
"
#leftBoxItem
"
).
html
(),
template
:
$
(
"
#leftBoxItem
"
).
html
(),
...
@@ -194,7 +194,7 @@ layui.config({
...
@@ -194,7 +194,7 @@ layui.config({
// 获取该控件的脚本信息
// 获取该控件的脚本信息
function
getDataScript
(
params
){
function
getDataScript
(
params
){
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
dsform007
"
,
params
:{
rowId
:
params
.
formContentId
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
dsform007
"
,
params
:{
rowId
:
params
.
formContentId
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
params
.
htmlContent
=
encodeURIComponent
(
json
.
bean
.
htmlContent
);
params
.
htmlContent
=
encodeURIComponent
(
json
.
bean
.
htmlContent
);
params
.
jsContent
=
encodeURIComponent
(
json
.
bean
.
jsContent
);
params
.
jsContent
=
encodeURIComponent
(
json
.
bean
.
jsContent
);
...
@@ -207,7 +207,7 @@ layui.config({
...
@@ -207,7 +207,7 @@ layui.config({
// 保存“新增控件”
// 保存“新增控件”
function
reqSaveData
(
params
,
templateContent
){
function
reqSaveData
(
params
,
templateContent
){
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
dsformpage003
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
dsformpage003
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
var
templateJson
=
json
.
bean
;
var
templateJson
=
json
.
bean
;
...
@@ -415,7 +415,7 @@ layui.config({
...
@@ -415,7 +415,7 @@ layui.config({
// 初始化限制条件
// 初始化限制条件
function
initRequire
(
item
){
function
initRequire
(
item
){
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
dsformlimitrequirement006
"
,
params
:{},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
dsformlimitrequirement006
"
,
params
:{},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
var
contentModel
=
getFileContent
(
'
tpl/template/select-option.tpl
'
);
//获取html模板
var
contentModel
=
getFileContent
(
'
tpl/template/select-option.tpl
'
);
//获取html模板
var
jsonStr
=
getDataUseHandlebars
(
contentModel
,
json
);
//模板和数据结合
var
jsonStr
=
getDataUseHandlebars
(
contentModel
,
json
);
//模板和数据结合
...
@@ -441,7 +441,7 @@ layui.config({
...
@@ -441,7 +441,7 @@ layui.config({
winui
.
window
.
msg
(
'
保存页面不能为空!
'
,
{
icon
:
2
,
time
:
2000
});
winui
.
window
.
msg
(
'
保存页面不能为空!
'
,
{
icon
:
2
,
time
:
2000
});
return
;
return
;
}
}
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
dsformpage009
"
,
params
:{
formedit
:
JSON
.
stringify
(
jsonArray
)},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
dsformpage009
"
,
params
:{
formedit
:
JSON
.
stringify
(
jsonArray
)},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
"
保存成功
"
,
{
icon
:
1
,
time
:
2000
});
winui
.
window
.
msg
(
"
保存成功
"
,
{
icon
:
1
,
time
:
2000
});
parent
.
refreshCode
=
'
0
'
;
parent
.
refreshCode
=
'
0
'
;
...
...
dsform/src/main/resources/template/js/dsFormPage/dsFormPageListChoose.js
浏览文件 @
73c91a88
...
@@ -47,7 +47,7 @@ layui.config({
...
@@ -47,7 +47,7 @@ layui.config({
id
:
'
messageTable
'
,
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
dsformpage001
'
,
url
:
flowable
BasePath
+
'
dsformpage001
'
,
where
:
getTableParams
(),
where
:
getTableParams
(),
even
:
true
,
even
:
true
,
page
:
true
,
page
:
true
,
...
...
dsform/src/main/resources/template/js/dsFormPage/pageAdd.js
浏览文件 @
73c91a88
...
@@ -28,7 +28,7 @@ layui.config({
...
@@ -28,7 +28,7 @@ layui.config({
firstTypeId
:
$
(
"
#firstTypeId
"
).
val
(),
firstTypeId
:
$
(
"
#firstTypeId
"
).
val
(),
secondTypeId
:
$
(
"
#secondTypeId
"
).
val
()
secondTypeId
:
$
(
"
#secondTypeId
"
).
val
()
};
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
dsformpage002
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
dsformpage002
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
parent
.
refreshCode
=
'
0
'
;
...
...
dsform/src/main/resources/template/js/dsFormPage/pageEdit.js
浏览文件 @
73c91a88
...
@@ -12,7 +12,7 @@ layui.config({
...
@@ -12,7 +12,7 @@ layui.config({
showGrid
({
showGrid
({
id
:
"
showForm
"
,
id
:
"
showForm
"
,
url
:
req
BasePath
+
"
dsformpage006
"
,
url
:
flowable
BasePath
+
"
dsformpage006
"
,
params
:
{
rowId
:
parent
.
rowId
},
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
pagination
:
false
,
method
:
"
GET
"
,
method
:
"
GET
"
,
...
@@ -42,7 +42,7 @@ layui.config({
...
@@ -42,7 +42,7 @@ layui.config({
firstTypeId
:
$
(
"
#firstTypeId
"
).
val
(),
firstTypeId
:
$
(
"
#firstTypeId
"
).
val
(),
secondTypeId
:
$
(
"
#secondTypeId
"
).
val
()
secondTypeId
:
$
(
"
#secondTypeId
"
).
val
()
};
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
dsformpage007
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
dsformpage007
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
parent
.
refreshCode
=
'
0
'
;
...
...
dsform/src/main/resources/template/js/dsFormPage/pageList.js
浏览文件 @
73c91a88
...
@@ -24,7 +24,7 @@ layui.config({
...
@@ -24,7 +24,7 @@ layui.config({
id
:
'
messageTable
'
,
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
dsformpage001
'
,
url
:
flowable
BasePath
+
'
dsformpage001
'
,
where
:
getTableParams
(),
where
:
getTableParams
(),
even
:
true
,
even
:
true
,
page
:
true
,
page
:
true
,
...
@@ -89,7 +89,7 @@ layui.config({
...
@@ -89,7 +89,7 @@ layui.config({
function
delet
(
data
){
function
delet
(
data
){
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.deleteOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.deleteOperation
"
][
languageType
]},
function
(
index
){
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.deleteOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.deleteOperation
"
][
languageType
]},
function
(
index
){
layer
.
close
(
index
);
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
dsformpage005
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
method
:
"
DELETE
"
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
dsformpage005
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
method
:
"
DELETE
"
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
loadTable
();
...
...
dsform/src/main/resources/template/js/dsFormPageType/dsFormPageTypeAdd.js
浏览文件 @
73c91a88
...
@@ -22,7 +22,7 @@ layui.config({
...
@@ -22,7 +22,7 @@ layui.config({
encoded
:
$
(
"
#encoded
"
).
val
(),
encoded
:
$
(
"
#encoded
"
).
val
(),
parentId
:
isNull
(
$
(
"
#parentId
"
).
val
())
?
"
0
"
:
$
(
"
#parentId
"
).
val
()
parentId
:
isNull
(
$
(
"
#parentId
"
).
val
())
?
"
0
"
:
$
(
"
#parentId
"
).
val
()
};
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
dsformpagetype002
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
dsformpagetype002
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
parent
.
refreshCode
=
'
0
'
;
...
...
dsform/src/main/resources/template/js/dsFormPageType/dsFormPageTypeEdit.js
浏览文件 @
73c91a88
...
@@ -12,7 +12,7 @@ layui.config({
...
@@ -12,7 +12,7 @@ layui.config({
showGrid
({
showGrid
({
id
:
"
showForm
"
,
id
:
"
showForm
"
,
url
:
req
BasePath
+
"
dsformpagetype004
"
,
url
:
flowable
BasePath
+
"
dsformpagetype004
"
,
params
:
{
id
:
parent
.
rowId
},
params
:
{
id
:
parent
.
rowId
},
pagination
:
false
,
pagination
:
false
,
method
:
"
GET
"
,
method
:
"
GET
"
,
...
@@ -33,7 +33,7 @@ layui.config({
...
@@ -33,7 +33,7 @@ layui.config({
encoded
:
$
(
"
#encoded
"
).
val
(),
encoded
:
$
(
"
#encoded
"
).
val
(),
parentId
:
isNull
(
$
(
"
#parentId
"
).
val
())
?
"
0
"
:
$
(
"
#parentId
"
).
val
()
parentId
:
isNull
(
$
(
"
#parentId
"
).
val
())
?
"
0
"
:
$
(
"
#parentId
"
).
val
()
};
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
dsformpagetype005
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
dsformpagetype005
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
parent
.
refreshCode
=
'
0
'
;
...
...
dsform/src/main/resources/template/js/dsFormPageType/dsFormPageTypeList.js
浏览文件 @
73c91a88
...
@@ -19,7 +19,7 @@ layui.config({
...
@@ -19,7 +19,7 @@ layui.config({
elem
:
'
#messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
method
:
'
post
'
,
idField
:
'
id
'
,
idField
:
'
id
'
,
url
:
req
BasePath
+
'
dsformpagetype001
'
,
url
:
flowable
BasePath
+
'
dsformpagetype001
'
,
where
:
getTableParams
(),
where
:
getTableParams
(),
treeId
:
'
id
'
,
//树形id字段名称
treeId
:
'
id
'
,
//树形id字段名称
treeUpId
:
'
parentId
'
,
//树形父id字段名称
treeUpId
:
'
parentId
'
,
//树形父id字段名称
...
@@ -72,7 +72,7 @@ layui.config({
...
@@ -72,7 +72,7 @@ layui.config({
function
delet
(
data
){
function
delet
(
data
){
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.deleteOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.deleteOperation
"
][
languageType
]},
function
(
index
){
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.deleteOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.deleteOperation
"
][
languageType
]},
function
(
index
){
layer
.
close
(
index
);
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
dsformpagetype003
"
,
params
:{
id
:
data
.
id
},
type
:
'
json
'
,
method
:
"
DELETE
"
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
dsformpagetype003
"
,
params
:{
id
:
data
.
id
},
type
:
'
json
'
,
method
:
"
DELETE
"
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
loadTable
();
...
...
dsform/src/main/resources/template/js/dsformcontent/dsformcontentadd.js
浏览文件 @
73c91a88
...
@@ -44,7 +44,7 @@ layui.config({
...
@@ -44,7 +44,7 @@ layui.config({
initDatatpl
=
true
;
initDatatpl
=
true
;
showGrid
({
showGrid
({
id
:
"
dataShowTpl
"
,
id
:
"
dataShowTpl
"
,
url
:
req
BasePath
+
"
dsformdisplaytemplate006
"
,
url
:
flowable
BasePath
+
"
dsformdisplaytemplate006
"
,
params
:
{},
params
:
{},
pagination
:
false
,
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
@@ -190,7 +190,7 @@ layui.config({
...
@@ -190,7 +190,7 @@ layui.config({
params
.
dataShowTpl
=
""
;
params
.
dataShowTpl
=
""
;
params
.
defaultData
=
""
;
params
.
defaultData
=
""
;
}
}
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
dsform002
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
dsform002
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
parent
.
refreshCode
=
'
0
'
;
...
...
dsform/src/main/resources/template/js/dsformcontent/dsformcontentedit.js
浏览文件 @
73c91a88
...
@@ -17,7 +17,7 @@ layui.config({
...
@@ -17,7 +17,7 @@ layui.config({
showGrid
({
showGrid
({
id
:
"
showForm
"
,
id
:
"
showForm
"
,
url
:
req
BasePath
+
"
dsform004
"
,
url
:
flowable
BasePath
+
"
dsform004
"
,
params
:
{
rowId
:
parent
.
rowId
},
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
pagination
:
false
,
template
:
getFileContent
(
'
tpl/dsformcontent/dsformcontenteditTemplate.tpl
'
),
template
:
getFileContent
(
'
tpl/dsformcontent/dsformcontenteditTemplate.tpl
'
),
...
@@ -108,7 +108,7 @@ layui.config({
...
@@ -108,7 +108,7 @@ layui.config({
initDatatpl
=
true
;
initDatatpl
=
true
;
showGrid
({
showGrid
({
id
:
"
dataShowTpl
"
,
id
:
"
dataShowTpl
"
,
url
:
req
BasePath
+
"
dsformdisplaytemplate006
"
,
url
:
flowable
BasePath
+
"
dsformdisplaytemplate006
"
,
params
:
{},
params
:
{},
pagination
:
false
,
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
@@ -230,7 +230,7 @@ layui.config({
...
@@ -230,7 +230,7 @@ layui.config({
params
.
dataShowTpl
=
''
;
params
.
dataShowTpl
=
''
;
params
.
defaultData
=
""
;
params
.
defaultData
=
""
;
}
}
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
dsform005
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
dsform005
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
parent
.
refreshCode
=
'
0
'
;
...
...
dsform/src/main/resources/template/js/dsformcontent/dsformcontentlist.js
浏览文件 @
73c91a88
...
@@ -19,7 +19,7 @@ layui.config({
...
@@ -19,7 +19,7 @@ layui.config({
id
:
'
messageTable
'
,
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
dsform001
'
,
url
:
flowable
BasePath
+
'
dsform001
'
,
where
:{
contentName
:
$
(
"
#contentName
"
).
val
()},
where
:{
contentName
:
$
(
"
#contentName
"
).
val
()},
even
:
true
,
even
:
true
,
page
:
true
,
page
:
true
,
...
@@ -109,7 +109,7 @@ layui.config({
...
@@ -109,7 +109,7 @@ layui.config({
function
del
(
data
,
obj
){
function
del
(
data
,
obj
){
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.deleteOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.deleteOperation
"
][
languageType
]},
function
(
index
){
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.deleteOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.deleteOperation
"
][
languageType
]},
function
(
index
){
layer
.
close
(
index
);
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
dsform003
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
dsform003
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
loadTable
();
...
...
dsform/src/main/resources/template/js/dsformdisplaytemplate/dsformdisplaytemplateadd.js
浏览文件 @
73c91a88
...
@@ -40,7 +40,7 @@ layui.config({
...
@@ -40,7 +40,7 @@ layui.config({
templateName
:
$
(
"
#templateName
"
).
val
(),
templateName
:
$
(
"
#templateName
"
).
val
(),
templateContent
:
encodeURI
(
templateContent
.
getValue
().
replace
(
/
\+
/g
,
"
%2B
"
).
replace
(
/
\&
/g
,
"
%26
"
))
templateContent
:
encodeURI
(
templateContent
.
getValue
().
replace
(
/
\+
/g
,
"
%2B
"
).
replace
(
/
\&
/g
,
"
%26
"
))
};
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
dsformdisplaytemplate002
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
dsformdisplaytemplate002
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
parent
.
refreshCode
=
'
0
'
;
...
...
dsform/src/main/resources/template/js/dsformdisplaytemplate/dsformdisplaytemplateedit.js
浏览文件 @
73c91a88
...
@@ -12,7 +12,7 @@ layui.config({
...
@@ -12,7 +12,7 @@ layui.config({
showGrid
({
showGrid
({
id
:
"
showForm
"
,
id
:
"
showForm
"
,
url
:
req
BasePath
+
"
dsformdisplaytemplate004
"
,
url
:
flowable
BasePath
+
"
dsformdisplaytemplate004
"
,
params
:
{
rowId
:
parent
.
rowId
},
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
pagination
:
false
,
template
:
getFileContent
(
'
tpl/dsformdisplaytemplate/dsformdisplaytemplateeditTemplate.tpl
'
),
template
:
getFileContent
(
'
tpl/dsformdisplaytemplate/dsformdisplaytemplateeditTemplate.tpl
'
),
...
@@ -52,7 +52,7 @@ layui.config({
...
@@ -52,7 +52,7 @@ layui.config({
templateContent
:
encodeURI
(
templateContent
.
getValue
().
replace
(
/
\+
/g
,
"
%2B
"
).
replace
(
/
\&
/g
,
"
%26
"
)),
templateContent
:
encodeURI
(
templateContent
.
getValue
().
replace
(
/
\+
/g
,
"
%2B
"
).
replace
(
/
\&
/g
,
"
%26
"
)),
rowId
:
parent
.
rowId
rowId
:
parent
.
rowId
};
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
dsformdisplaytemplate005
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
dsformdisplaytemplate005
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
parent
.
refreshCode
=
'
0
'
;
...
...
dsform/src/main/resources/template/js/dsformdisplaytemplate/dsformdisplaytemplatelist.js
浏览文件 @
73c91a88
...
@@ -31,7 +31,7 @@ layui.config({
...
@@ -31,7 +31,7 @@ layui.config({
id
:
'
messageTable
'
,
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
dsformdisplaytemplate001
'
,
url
:
flowable
BasePath
+
'
dsformdisplaytemplate001
'
,
where
:{
templateName
:
$
(
"
#templateName
"
).
val
()},
where
:{
templateName
:
$
(
"
#templateName
"
).
val
()},
even
:
true
,
even
:
true
,
page
:
true
,
page
:
true
,
...
@@ -88,7 +88,7 @@ layui.config({
...
@@ -88,7 +88,7 @@ layui.config({
function
del
(
data
,
obj
){
function
del
(
data
,
obj
){
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.deleteOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.deleteOperation
"
][
languageType
]},
function
(
index
){
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.deleteOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.deleteOperation
"
][
languageType
]},
function
(
index
){
layer
.
close
(
index
);
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
dsformdisplaytemplate003
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
dsformdisplaytemplate003
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
loadTable
();
...
...
dsform/src/main/resources/template/js/dsformlimitrequirement/dsformlimitrequirementadd.js
浏览文件 @
73c91a88
...
@@ -20,7 +20,7 @@ layui.config({
...
@@ -20,7 +20,7 @@ layui.config({
formerRequirement
:
$
(
"
#formerRequirement
"
).
val
(),
formerRequirement
:
$
(
"
#formerRequirement
"
).
val
(),
afterRequirement
:
$
(
"
#afterRequirement
"
).
val
(),
afterRequirement
:
$
(
"
#afterRequirement
"
).
val
(),
};
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
dsformlimitrequirement002
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
dsformlimitrequirement002
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
parent
.
refreshCode
=
'
0
'
;
...
...
dsform/src/main/resources/template/js/dsformlimitrequirement/dsformlimitrequirementedit.js
浏览文件 @
73c91a88
...
@@ -13,7 +13,7 @@ layui.config({
...
@@ -13,7 +13,7 @@ layui.config({
showGrid
({
showGrid
({
id
:
"
showForm
"
,
id
:
"
showForm
"
,
url
:
req
BasePath
+
"
dsformlimitrequirement004
"
,
url
:
flowable
BasePath
+
"
dsformlimitrequirement004
"
,
params
:
{
rowId
:
parent
.
rowId
},
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
pagination
:
false
,
template
:
getFileContent
(
'
tpl/dsformlimitrequirement/dsformlimitrequirementeditTemplate.tpl
'
),
template
:
getFileContent
(
'
tpl/dsformlimitrequirement/dsformlimitrequirementeditTemplate.tpl
'
),
...
@@ -30,7 +30,7 @@ layui.config({
...
@@ -30,7 +30,7 @@ layui.config({
afterRequirement
:
$
(
"
#afterRequirement
"
).
val
(),
afterRequirement
:
$
(
"
#afterRequirement
"
).
val
(),
rowId
:
parent
.
rowId
rowId
:
parent
.
rowId
};
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
dsformlimitrequirement005
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
dsformlimitrequirement005
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
parent
.
refreshCode
=
'
0
'
;
...
...
dsform/src/main/resources/template/js/dsformlimitrequirement/dsformlimitrequirementlist.js
浏览文件 @
73c91a88
...
@@ -18,7 +18,7 @@ layui.config({
...
@@ -18,7 +18,7 @@ layui.config({
id
:
'
messageTable
'
,
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
dsformlimitrequirement001
'
,
url
:
flowable
BasePath
+
'
dsformlimitrequirement001
'
,
where
:{
requireName
:
$
(
"
#requireName
"
).
val
(),
formerRequirement
:
$
(
"
#formerRequirement
"
).
val
(),
afterRequirement
:
$
(
"
#afterRequirement
"
).
val
()},
where
:{
requireName
:
$
(
"
#requireName
"
).
val
(),
formerRequirement
:
$
(
"
#formerRequirement
"
).
val
(),
afterRequirement
:
$
(
"
#afterRequirement
"
).
val
()},
even
:
true
,
even
:
true
,
page
:
true
,
page
:
true
,
...
@@ -60,7 +60,7 @@ layui.config({
...
@@ -60,7 +60,7 @@ layui.config({
function
del
(
data
,
obj
){
function
del
(
data
,
obj
){
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.deleteOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.deleteOperation
"
][
languageType
]},
function
(
index
){
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.deleteOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.deleteOperation
"
][
languageType
]},
function
(
index
){
layer
.
close
(
index
);
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
dsformlimitrequirement003
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
dsformlimitrequirement003
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
loadTable
();
...
...
rmprogram/src/main/resources/template/js/rmproperty/rmpropertyadd.js
浏览文件 @
73c91a88
...
@@ -92,7 +92,7 @@ layui.config({
...
@@ -92,7 +92,7 @@ layui.config({
//展现形式
//展现形式
showGrid
({
showGrid
({
id
:
"
dsFormContentId
"
,
id
:
"
dsFormContentId
"
,
url
:
req
BasePath
+
"
dsform006
"
,
url
:
flowable
BasePath
+
"
dsform006
"
,
params
:
{},
params
:
{},
pagination
:
false
,
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
@@ -111,7 +111,7 @@ layui.config({
...
@@ -111,7 +111,7 @@ layui.config({
$
(
"
#dataShowModel
"
).
show
();
$
(
"
#dataShowModel
"
).
show
();
showGrid
({
showGrid
({
id
:
"
displayTemplateId
"
,
id
:
"
displayTemplateId
"
,
url
:
req
BasePath
+
"
dsformdisplaytemplate006
"
,
url
:
flowable
BasePath
+
"
dsformdisplaytemplate006
"
,
params
:
{},
params
:
{},
pagination
:
false
,
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
@@ -130,7 +130,7 @@ layui.config({
...
@@ -130,7 +130,7 @@ layui.config({
});
});
form
.
on
(
'
select(selectParent)
'
,
function
(
data
){
form
.
on
(
'
select(selectParent)
'
,
function
(
data
){
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
dsform007
"
,
params
:{
rowId
:
data
.
value
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
dsform007
"
,
params
:{
rowId
:
data
.
value
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
htmlModelContent
.
setValue
(
json
.
bean
.
htmlContent
);
htmlModelContent
.
setValue
(
json
.
bean
.
htmlContent
);
jsModelContent
.
setValue
(
json
.
bean
.
jsContent
);
jsModelContent
.
setValue
(
json
.
bean
.
jsContent
);
...
...
rmprogram/src/main/resources/template/js/rmproperty/rmpropertyedit.js
浏览文件 @
73c91a88
...
@@ -93,7 +93,7 @@ layui.config({
...
@@ -93,7 +93,7 @@ layui.config({
$
(
"
#dataShowModel
"
).
show
();
$
(
"
#dataShowModel
"
).
show
();
showGrid
({
showGrid
({
id
:
"
displayTemplateId
"
,
id
:
"
displayTemplateId
"
,
url
:
req
BasePath
+
"
dsformdisplaytemplate006
"
,
url
:
flowable
BasePath
+
"
dsformdisplaytemplate006
"
,
params
:
{},
params
:
{},
pagination
:
false
,
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
@@ -115,7 +115,7 @@ layui.config({
...
@@ -115,7 +115,7 @@ layui.config({
$
(
"
#dataShowModel
"
).
show
();
$
(
"
#dataShowModel
"
).
show
();
showGrid
({
showGrid
({
id
:
"
displayTemplateId
"
,
id
:
"
displayTemplateId
"
,
url
:
req
BasePath
+
"
dsformdisplaytemplate006
"
,
url
:
flowable
BasePath
+
"
dsformdisplaytemplate006
"
,
params
:
{},
params
:
{},
pagination
:
false
,
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
@@ -138,7 +138,7 @@ layui.config({
...
@@ -138,7 +138,7 @@ layui.config({
//展现形式
//展现形式
showGrid
({
showGrid
({
id
:
"
dsFormContentId
"
,
id
:
"
dsFormContentId
"
,
url
:
req
BasePath
+
"
dsform006
"
,
url
:
flowable
BasePath
+
"
dsform006
"
,
params
:
{},
params
:
{},
pagination
:
false
,
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
@@ -161,7 +161,7 @@ layui.config({
...
@@ -161,7 +161,7 @@ layui.config({
}});
}});
form
.
on
(
'
select(selectParent)
'
,
function
(
data
){
form
.
on
(
'
select(selectParent)
'
,
function
(
data
){
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
dsform007
"
,
params
:{
rowId
:
data
.
value
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
dsform007
"
,
params
:{
rowId
:
data
.
value
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
htmlModelContent
.
setValue
(
json
.
bean
.
htmlContent
);
htmlModelContent
.
setValue
(
json
.
bean
.
htmlContent
);
jsModelContent
.
setValue
(
json
.
bean
.
jsContent
);
jsModelContent
.
setValue
(
json
.
bean
.
jsContent
);
...
...
rmprogram/src/main/resources/template/js/rmproperty/rmpropertylist.js
浏览文件 @
73c91a88
...
@@ -144,7 +144,7 @@ layui.config({
...
@@ -144,7 +144,7 @@ layui.config({
//展现形式
//展现形式
showGrid
({
showGrid
({
id
:
"
dsFormContentId
"
,
id
:
"
dsFormContentId
"
,
url
:
req
BasePath
+
"
dsform006
"
,
url
:
flowable
BasePath
+
"
dsform006
"
,
params
:
{},
params
:
{},
pagination
:
false
,
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
web/src/main/resources/static/公共请求
浏览文件 @
73c91a88
//下拉框模板 展现形式 例如:输入框,选择框
//下拉框模板 展现形式 例如:输入框,选择框
showGrid({
showGrid({
id: "showModel",
id: "showModel",
url:
req
BasePath + "dsform006",
url:
flowable
BasePath + "dsform006",
params: {},
params: {},
pagination: false,
pagination: false,
template: getFileContent('tpl/template/select-option.tpl'),
template: getFileContent('tpl/template/select-option.tpl'),
...
...
web/src/main/resources/template/assets/lib/layui/customer/dsFormUtil.js
浏览文件 @
73c91a88
...
@@ -93,7 +93,7 @@ var dsFormUtil = {
...
@@ -93,7 +93,7 @@ var dsFormUtil = {
loadDsFormPageTypeByPId
:
function
(
domId
,
parentId
){
loadDsFormPageTypeByPId
:
function
(
domId
,
parentId
){
showGrid
({
showGrid
({
id
:
domId
,
id
:
domId
,
url
:
req
BasePath
+
"
dsformpagetype006
"
,
url
:
flowable
BasePath
+
"
dsformpagetype006
"
,
params
:
{
parentId
:
parentId
,
language
:
languageType
},
params
:
{
parentId
:
parentId
,
language
:
languageType
},
pagination
:
false
,
pagination
:
false
,
method
:
"
GET
"
,
method
:
"
GET
"
,
...
@@ -116,7 +116,7 @@ var dsFormUtil = {
...
@@ -116,7 +116,7 @@ var dsFormUtil = {
dsFormObjectRelationCode
:
isNull
(
code
)
?
""
:
code
,
dsFormObjectRelationCode
:
isNull
(
code
)
?
""
:
code
,
dsFormObjectRelationId
:
isNull
(
dsFormObjectRelationId
)
?
""
:
dsFormObjectRelationId
dsFormObjectRelationId
:
isNull
(
dsFormObjectRelationId
)
?
""
:
dsFormObjectRelationId
};
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
dsFormObjectRelation006
"
,
params
:
params
,
method
:
"
GET
"
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
dsFormObjectRelation006
"
,
params
:
params
,
method
:
"
GET
"
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
if
(
json
.
returnCode
==
0
)
{
dsFormUtil
.
loadDsFormItem
(
showBoxId
,
json
);
dsFormUtil
.
loadDsFormItem
(
showBoxId
,
json
);
}
else
{
}
else
{
...
@@ -143,7 +143,7 @@ var dsFormUtil = {
...
@@ -143,7 +143,7 @@ var dsFormUtil = {
}
}
item
.
context
=
getDataUseHandlebars
(
item
.
templateContent
,
obj
);
item
.
context
=
getDataUseHandlebars
(
item
.
templateContent
,
obj
);
}
else
if
(
item
.
associatedDataTypes
==
2
){
//接口
}
else
if
(
item
.
associatedDataTypes
==
2
){
//接口
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
dsformpage011
"
,
params
:{
interfa
:
item
.
aData
},
type
:
'
json
'
,
callback
:
function
(
j
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
dsformpage011
"
,
params
:{
interfa
:
item
.
aData
},
type
:
'
json
'
,
callback
:
function
(
j
){
if
(
j
.
returnCode
==
0
){
if
(
j
.
returnCode
==
0
){
var
obj
=
JSON
.
parse
(
j
.
bean
.
aData
);
var
obj
=
JSON
.
parse
(
j
.
bean
.
aData
);
item
.
context
=
getDataUseHandlebars
(
item
.
templateContent
,
obj
);
item
.
context
=
getDataUseHandlebars
(
item
.
templateContent
,
obj
);
...
@@ -210,7 +210,7 @@ var dsFormUtil = {
...
@@ -210,7 +210,7 @@ var dsFormUtil = {
dataJson
:
JSON
.
stringify
(
result
),
dataJson
:
JSON
.
stringify
(
result
),
objectId
:
objectId
objectId
:
objectId
}
}
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
dsformpage014
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
dsformpage014
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
if
(
json
.
returnCode
==
0
)
{
}
else
{
}
else
{
...
@@ -306,7 +306,7 @@ var dsFormUtil = {
...
@@ -306,7 +306,7 @@ var dsFormUtil = {
* @param objectId 绑定的objectId
* @param objectId 绑定的objectId
*/
*/
loadPageShowDetailsByObjectId
:
function
(
showBoxId
,
objectId
){
loadPageShowDetailsByObjectId
:
function
(
showBoxId
,
objectId
){
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
dsformpage015
"
,
params
:
{
objectId
:
objectId
},
method
:
"
GET
"
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
dsformpage015
"
,
params
:
{
objectId
:
objectId
},
method
:
"
GET
"
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
if
(
json
.
returnCode
==
0
)
{
$
.
each
(
json
.
rows
,
function
(
j
,
bean
)
{
$
.
each
(
json
.
rows
,
function
(
j
,
bean
)
{
var
customBoxId
=
bean
.
id
;
var
customBoxId
=
bean
.
id
;
...
@@ -350,7 +350,7 @@ var dsFormUtil = {
...
@@ -350,7 +350,7 @@ var dsFormUtil = {
* @param objectId 绑定的objectId
* @param objectId 绑定的objectId
*/
*/
loadPageToEditByObjectId
:
function
(
showBoxId
,
objectId
)
{
loadPageToEditByObjectId
:
function
(
showBoxId
,
objectId
)
{
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
dsformpage015
"
,
params
:
{
objectId
:
objectId
},
method
:
"
GET
"
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
dsformpage015
"
,
params
:
{
objectId
:
objectId
},
method
:
"
GET
"
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
if
(
json
.
returnCode
==
0
)
{
dsFormUtil
.
loadDsFormItem
(
showBoxId
,
json
);
dsFormUtil
.
loadDsFormItem
(
showBoxId
,
json
);
}
else
{
}
else
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录