Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Skyeye云
Skyeye
提交
3288e7db
S
Skyeye
项目概览
Skyeye云
/
Skyeye
通知
1416
Star
161
Fork
130
代码
文件
提交
分支
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看板
提交
3288e7db
编写于
3月 31, 2022
作者:
Skyeye云
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
接口信息修改
上级
181029d4
变更
53
隐藏空白更改
内联
并排
Showing
53 changed file
with
131 addition
and
152 deletion
+131
-152
common/src/main/resources/template/js/sysenclosure/mysysenclosure.js
...main/resources/template/js/sysenclosure/mysysenclosure.js
+1
-1
disk-cloud/src/main/resources/template/js/fileconsole/fileconsolelist.js
...main/resources/template/js/fileconsole/fileconsolelist.js
+1
-1
disk-cloud/src/main/resources/template/js/shareFile/fileFolder.js
...ud/src/main/resources/template/js/shareFile/fileFolder.js
+1
-1
dsform/src/main/resources/template/js/dsFormObjectRelation/dsFormObjectRelationChooseByFirstTypeCode.js
...jectRelation/dsFormObjectRelationChooseByFirstTypeCode.js
+1
-1
erp-produce/src/main/resources/template/js/erpDepartStock/erpDepartStockList.js
...esources/template/js/erpDepartStock/erpDepartStockList.js
+1
-1
erp/src/main/resources/template/js/allocation/allocationlist.js
...c/main/resources/template/js/allocation/allocationlist.js
+1
-1
erp/src/main/resources/template/js/assemblysheet/assemblysheetlist.js
.../resources/template/js/assemblysheet/assemblysheetlist.js
+1
-1
erp/src/main/resources/template/js/erpcommon/erpOrderFlowLine.js
.../main/resources/template/js/erpcommon/erpOrderFlowLine.js
+1
-1
erp/src/main/resources/template/js/material/materialChoose.js
...src/main/resources/template/js/material/materialChoose.js
+4
-4
erp/src/main/resources/template/js/material/materialChooseToProduce.js
...resources/template/js/material/materialChooseToProduce.js
+3
-5
erp/src/main/resources/template/js/material/materialInventoryWarningList.js
...rces/template/js/material/materialInventoryWarningList.js
+1
-1
erp/src/main/resources/template/js/material/materialReserveList.js
...ain/resources/template/js/material/materialReserveList.js
+1
-1
erp/src/main/resources/template/js/material/materialadd.js
erp/src/main/resources/template/js/material/materialadd.js
+4
-4
erp/src/main/resources/template/js/material/materialedit.js
erp/src/main/resources/template/js/material/materialedit.js
+1
-1
erp/src/main/resources/template/js/material/materiallist.js
erp/src/main/resources/template/js/material/materiallist.js
+1
-1
erp/src/main/resources/template/js/materialCategory/materialCategoryAdd.js
...urces/template/js/materialCategory/materialCategoryAdd.js
+2
-2
erp/src/main/resources/template/js/materialCategory/materialCategoryEdit.js
...rces/template/js/materialCategory/materialCategoryEdit.js
+2
-2
erp/src/main/resources/template/js/materialCategory/materialCategoryList.js
...rces/template/js/materialCategory/materialCategoryList.js
+4
-4
erp/src/main/resources/template/js/otheroutlets/otheroutletsdetails.js
...resources/template/js/otheroutlets/otheroutletsdetails.js
+1
-1
erp/src/main/resources/template/js/otherwarehous/otherwarehousdetails.js
...sources/template/js/otherwarehous/otherwarehousdetails.js
+1
-1
erp/src/main/resources/template/js/purchaseorder/purchaseOrderDetails.js
...sources/template/js/purchaseorder/purchaseOrderDetails.js
+1
-1
erp/src/main/resources/template/js/purchaseput/purchaseputdetails.js
...n/resources/template/js/purchaseput/purchaseputdetails.js
+1
-1
erp/src/main/resources/template/js/purchasereturns/purchasereturnsdetails.js
...ces/template/js/purchasereturns/purchasereturnsdetails.js
+1
-1
erp/src/main/resources/template/js/retailoutlet/retailoutletdetails.js
...resources/template/js/retailoutlet/retailoutletdetails.js
+1
-1
erp/src/main/resources/template/js/retailreturns/retailReturnsDetails.js
...sources/template/js/retailreturns/retailReturnsDetails.js
+1
-1
erp/src/main/resources/template/js/salesOrderOverPlan/salesOrderOverPlan.js
...rces/template/js/salesOrderOverPlan/salesOrderOverPlan.js
+1
-1
erp/src/main/resources/template/js/salesorder/salesOrderChoose.js
...main/resources/template/js/salesorder/salesOrderChoose.js
+1
-1
erp/src/main/resources/template/js/salesorder/salesorderdetails.js
...ain/resources/template/js/salesorder/salesorderdetails.js
+1
-1
erp/src/main/resources/template/js/salesoutlet/salesoutletdetails.js
...n/resources/template/js/salesoutlet/salesoutletdetails.js
+1
-1
erp/src/main/resources/template/js/salesreturns/salesReturnsDetails.js
...resources/template/js/salesreturns/salesReturnsDetails.js
+1
-1
erp/src/main/resources/template/js/splitlist/splitlistdetails.js
.../main/resources/template/js/splitlist/splitlistdetails.js
+1
-1
erp/src/main/resources/template/js/splitlist/splitlistlist.js
...src/main/resources/template/js/splitlist/splitlistlist.js
+31
-43
erp/src/main/resources/template/js/storeHouseInventory/storeHouseInventoryList.js
...emplate/js/storeHouseInventory/storeHouseInventoryList.js
+1
-1
erp/src/main/resources/template/tpl/material/materialChooseToProduce.html
...ources/template/tpl/material/materialChooseToProduce.html
+1
-1
gateway/src/main/resources/template/js/mainPage/mainPage.js
gateway/src/main/resources/template/js/mainPage/mainPage.js
+1
-1
ifs/src/main/resources/template/js/income/incomeList.js
ifs/src/main/resources/template/js/income/incomeList.js
+1
-1
knowlg/src/main/resources/template/js/knowledgetype/knowledgetypeadd.js
...n/resources/template/js/knowledgetype/knowledgetypeadd.js
+1
-1
note/src/main/resources/template/js/index/myNote.js
note/src/main/resources/template/js/index/myNote.js
+1
-1
note/src/main/resources/template/js/note/noteFileTree.js
note/src/main/resources/template/js/note/noteFileTree.js
+1
-1
planpro/src/main/resources/template/js/flowChart/makeFlowChart.js
...src/main/resources/template/js/flowChart/makeFlowChart.js
+1
-1
userauth/src/main/resources/template/js/sysevemenu/sysevemenulist.js
...c/main/resources/template/js/sysevemenu/sysevemenulist.js
+1
-1
userauth/src/main/resources/template/js/syseverole/sysEveRolePCMenu.js
...main/resources/template/js/syseverole/sysEveRolePCMenu.js
+1
-1
userauth/src/main/resources/template/js/syseverole/syseveroleappmenu.js
...ain/resources/template/js/syseverole/syseveroleappmenu.js
+1
-1
web/src/main/resources/template/assets/lib/layui/custom.js
web/src/main/resources/template/assets/lib/layui/custom.js
+1
-1
web/src/main/resources/template/assets/lib/layui/customer/erpOrderUtil.js
...ources/template/assets/lib/layui/customer/erpOrderUtil.js
+9
-5
web/src/main/resources/template/assets/lib/layui/customer/showGrid.js
.../resources/template/assets/lib/layui/customer/showGrid.js
+1
-1
web/src/main/resources/template/assets/lib/layui/lay/modules/dtree/dtree.js
...rces/template/assets/lib/layui/lay/modules/dtree/dtree.js
+1
-1
web/src/main/resources/template/assets/lib/layui/lay/modules/table-old.js
...ources/template/assets/lib/layui/lay/modules/table-old.js
+1
-1
web/src/main/resources/template/assets/lib/layui/lay/modules/treetable/treeGrid.js
...mplate/assets/lib/layui/lay/modules/treetable/treeGrid.js
+1
-1
web/src/main/resources/template/assets/lib/layui/lay/modules/ztree/js/fsCommon.js
...emplate/assets/lib/layui/lay/modules/ztree/js/fsCommon.js
+1
-4
web/src/main/resources/template/assets/lib/layui/lay/modules/ztree/js/fsTree.js
.../template/assets/lib/layui/lay/modules/ztree/js/fsTree.js
+23
-31
web/src/main/resources/template/js/common/enclosureupload.js
web/src/main/resources/template/js/common/enclosureupload.js
+1
-1
web/src/main/resources/template/js/common/sysusersel.js
web/src/main/resources/template/js/common/sysusersel.js
+6
-6
未找到文件。
common/src/main/resources/template/js/sysenclosure/mysysenclosure.js
浏览文件 @
3288e7db
...
...
@@ -25,7 +25,7 @@ layui.config({
var
ztree
=
null
;
fsTree
.
render
({
id
:
"
treeDemo
"
,
url
:
"
sysenclosure001?userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&loginPCIp=
"
+
returnCitySN
[
"
cip
"
],
url
:
reqBasePath
+
"
sysenclosure001?userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&loginPCIp=
"
+
returnCitySN
[
"
cip
"
],
checkEnable
:
false
,
loadEnable
:
true
,
//异步加载
showLine
:
false
,
...
...
disk-cloud/src/main/resources/template/js/fileconsole/fileconsolelist.js
浏览文件 @
3288e7db
...
...
@@ -51,7 +51,7 @@ layui.config({
var
ztree
=
null
;
fsTree
.
render
({
id
:
"
treeDemo
"
,
url
:
"
fileconsole001?userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&loginPCIp=
"
+
returnCitySN
[
"
cip
"
],
url
:
reqBasePath
+
"
fileconsole001?userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&loginPCIp=
"
+
returnCitySN
[
"
cip
"
],
checkEnable
:
false
,
loadEnable
:
true
,
//异步加载
showLine
:
false
,
...
...
disk-cloud/src/main/resources/template/js/shareFile/fileFolder.js
浏览文件 @
3288e7db
...
...
@@ -16,7 +16,7 @@ layui.config({
var
ztree
=
null
;
fsTree
.
render
({
id
:
"
treeDemo
"
,
url
:
"
fileconsole001?userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&loginPCIp=
"
+
returnCitySN
[
"
cip
"
],
url
:
reqBasePath
+
"
fileconsole001?userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&loginPCIp=
"
+
returnCitySN
[
"
cip
"
],
checkEnable
:
true
,
loadEnable
:
true
,
//异步加载
showLine
:
false
,
...
...
dsform/src/main/resources/template/js/dsFormObjectRelation/dsFormObjectRelationChooseByFirstTypeCode.js
浏览文件 @
3288e7db
...
...
@@ -19,7 +19,7 @@ layui.config({
var
ztree
=
null
;
fsTree
.
render
({
id
:
"
treeDemo
"
,
url
:
"
dsFormObjectRelation007?userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&loginPCIp=
"
+
returnCitySN
[
"
cip
"
]
+
"
&firstTypeCode=
"
+
firstTypeCode
+
"
&language=
"
+
languageType
,
url
:
flowableBasePath
+
"
dsFormObjectRelation007?userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&loginPCIp=
"
+
returnCitySN
[
"
cip
"
]
+
"
&firstTypeCode=
"
+
firstTypeCode
+
"
&language=
"
+
languageType
,
clickCallback
:
onClickTree
,
onDblClick
:
onClickTree
},
function
(
id
){
...
...
erp-produce/src/main/resources/template/js/erpDepartStock/erpDepartStockList.js
浏览文件 @
3288e7db
...
...
@@ -84,7 +84,7 @@ layui.config({
var
el5
;
el5
=
eleTree
.
render
({
elem
:
'
.ele5
'
,
url
:
"
materialcategory009?userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&loginPCIp=
"
,
url
:
flowableBasePath
+
"
materialcategory009?userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&loginPCIp=
"
,
defaultExpandAll
:
true
,
expandOnClickNode
:
false
,
highlightCurrent
:
true
...
...
erp/src/main/resources/template/js/allocation/allocationlist.js
浏览文件 @
3288e7db
...
...
@@ -179,7 +179,7 @@ layui.config({
function
getTableParams
(){
// 单据的开始时间、结束时间
var
startTime
=
""
,
endTime
=
""
;
if
(
!
isNull
(
$
(
"
#operTime
"
).
val
())){
//一定要记得,当createTime为空时
if
(
!
isNull
(
$
(
"
#operTime
"
).
val
())){
startTime
=
$
(
"
#operTime
"
).
val
().
split
(
'
~
'
)[
0
].
trim
()
+
'
00:00:00
'
;
endTime
=
$
(
"
#operTime
"
).
val
().
split
(
'
~
'
)[
1
].
trim
()
+
'
23:59:59
'
;
}
...
...
erp/src/main/resources/template/js/assemblysheet/assemblysheetlist.js
浏览文件 @
3288e7db
...
...
@@ -153,7 +153,7 @@ layui.config({
// 导出excel
$
(
"
body
"
).
on
(
"
click
"
,
"
#downloadExcel
"
,
function
()
{
postDownLoadFile
({
url
:
req
BasePath
+
'
assemblysheet005?userToken=
'
+
getCookie
(
'
userToken
'
)
+
'
&loginPCIp=
'
+
returnCitySN
[
"
cip
"
],
url
:
flowable
BasePath
+
'
assemblysheet005?userToken=
'
+
getCookie
(
'
userToken
'
)
+
'
&loginPCIp=
'
+
returnCitySN
[
"
cip
"
],
params
:
getTableParams
(),
method
:
'
post
'
});
...
...
erp/src/main/resources/template/js/erpcommon/erpOrderFlowLine.js
浏览文件 @
3288e7db
...
...
@@ -14,7 +14,7 @@ layui.config({
var
orderId
=
GetUrlParam
(
"
rowId
"
);
var
type
=
GetUrlParam
(
"
type
"
);
// 加载订单流水线信息
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erpcommon002
"
,
params
:
{
rowId
:
orderId
,
type
:
type
},
type
:
'
json
'
,
method
:
'
GET
'
,
callback
:
function
(
data
)
{
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erpcommon002
"
,
params
:
{
rowId
:
orderId
,
type
:
type
},
type
:
'
json
'
,
method
:
'
GET
'
,
callback
:
function
(
data
)
{
if
(
data
.
returnCode
==
0
)
{
var
newData
=
dealWithData
(
data
.
bean
);
$
(
'
#chart-container
'
).
orgchart
({
...
...
erp/src/main/resources/template/js/material/materialChoose.js
浏览文件 @
3288e7db
...
...
@@ -38,7 +38,7 @@ layui.config({
var
materialCategoryType
;
fsTree
.
render
({
id
:
"
materialCategoryType
"
,
url
:
"
materialcategory008?userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&loginPCIp=
"
,
url
:
flowableBasePath
+
"
materialcategory008?userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&loginPCIp=
"
,
checkEnable
:
false
,
loadEnable
:
false
,
//异步加载
showLine
:
false
,
...
...
@@ -104,7 +104,7 @@ layui.config({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
material010
'
,
url
:
flowable
BasePath
+
'
material010
'
,
where
:
getTableParams
(),
even
:
true
,
page
:
true
,
...
...
@@ -180,13 +180,13 @@ layui.config({
var
selectedData
=
tableCheckBoxUtil
.
getValue
({
gridId
:
'
messageTable
'
});
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
material013
"
,
params
:
{
ids
:
selectedData
.
toString
()},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
material013
"
,
params
:
{
ids
:
selectedData
.
toString
()},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
parent
.
productMationList
=
[].
concat
(
json
.
rows
);
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
}
else
{
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
}});
});
...
...
erp/src/main/resources/template/js/material/materialChooseToProduce.js
浏览文件 @
3288e7db
...
...
@@ -6,10 +6,8 @@ layui.config({
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
table
'
,
'
jquery
'
,
'
winui
'
,
'
form
'
,
'
tableCheckBoxUtil
'
,
'
fsCommon
'
,
'
fsTree
'
],
function
(
exports
)
{
winui
.
renderColor
();
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
,
form
=
layui
.
form
,
table
=
layui
.
table
,
...
...
@@ -29,7 +27,7 @@ layui.config({
var
materialCategoryType
;
fsTree
.
render
({
id
:
"
materialCategoryType
"
,
url
:
"
materialcategory008?userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&loginPCIp=
"
,
url
:
flowableBasePath
+
"
materialcategory008?userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&loginPCIp=
"
,
checkEnable
:
false
,
loadEnable
:
false
,
//异步加载
showLine
:
false
,
...
...
@@ -167,7 +165,7 @@ layui.config({
winui
.
window
.
msg
(
"
请选择商品
"
,
{
icon
:
2
,
time
:
2000
});
return
false
;
}
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
material014
"
,
params
:
{
ids
:
selectedData
.
toString
()},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
material014
"
,
params
:
{
ids
:
selectedData
.
toString
()},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
productMationList
=
json
.
rows
;
$step
.
nextStep
();
...
...
@@ -180,7 +178,7 @@ layui.config({
});
form
.
render
();
}
else
{
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
}});
});
...
...
erp/src/main/resources/template/js/material/materialInventoryWarningList.js
浏览文件 @
3288e7db
...
...
@@ -84,7 +84,7 @@ layui.config({
var
el5
;
el5
=
eleTree
.
render
({
elem
:
'
.ele5
'
,
url
:
"
materialcategory009?userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&loginPCIp=
"
,
url
:
flowableBasePath
+
"
materialcategory009?userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&loginPCIp=
"
,
defaultExpandAll
:
true
,
expandOnClickNode
:
false
,
highlightCurrent
:
true
...
...
erp/src/main/resources/template/js/material/materialReserveList.js
浏览文件 @
3288e7db
...
...
@@ -94,7 +94,7 @@ layui.config({
var
el5
;
el5
=
eleTree
.
render
({
elem
:
'
.ele5
'
,
url
:
"
materialcategory009?userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&loginPCIp=
"
,
url
:
flowableBasePath
+
"
materialcategory009?userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&loginPCIp=
"
,
defaultExpandAll
:
true
,
expandOnClickNode
:
false
,
highlightCurrent
:
true
...
...
erp/src/main/resources/template/js/material/materialadd.js
浏览文件 @
3288e7db
...
...
@@ -52,7 +52,7 @@ layui.config({
var
materialCategoryType
;
fsTree
.
render
({
id
:
"
materialCategoryType
"
,
url
:
"
materialcategory008?userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&loginPCIp=
"
,
url
:
flowableBasePath
+
"
materialcategory008?userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&loginPCIp=
"
,
checkEnable
:
true
,
loadEnable
:
false
,
//异步加载
chkStyle
:
"
radio
"
,
...
...
@@ -70,7 +70,7 @@ layui.config({
function
initManyUnitSelect
(){
showGrid
({
id
:
"
unitGroupId
"
,
url
:
req
BasePath
+
"
materialunit006
"
,
url
:
flowable
BasePath
+
"
materialunit006
"
,
params
:
{},
pagination
:
false
,
template
:
selTemplate
,
...
...
@@ -207,12 +207,12 @@ layui.config({
params
.
extendData
=
JSON
.
stringify
(
extendData
);
//工序信息
params
.
procedureJsonStr
=
JSON
.
stringify
(
procedureMationList
);
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
material003
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
material003
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
}
else
{
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
}});
}
...
...
erp/src/main/resources/template/js/material/materialedit.js
浏览文件 @
3288e7db
...
...
@@ -96,7 +96,7 @@ layui.config({
fsTree
.
render
({
id
:
"
materialCategoryType
"
,
url
:
"
materialcategory008?userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&loginPCIp=
"
,
url
:
flowableBasePath
+
"
materialcategory008?userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&loginPCIp=
"
,
checkEnable
:
true
,
loadEnable
:
false
,
//异步加载
chkStyle
:
"
radio
"
,
...
...
erp/src/main/resources/template/js/material/materiallist.js
浏览文件 @
3288e7db
...
...
@@ -74,7 +74,7 @@ layui.config({
var
el5
;
el5
=
eleTree
.
render
({
elem
:
'
.ele5
'
,
url
:
"
materialcategory009?userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&loginPCIp=
"
,
url
:
flowableBasePath
+
"
materialcategory009?userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&loginPCIp=
"
,
defaultExpandAll
:
true
,
expandOnClickNode
:
false
,
highlightCurrent
:
true
...
...
erp/src/main/resources/template/js/materialCategory/materialCategoryAdd.js
浏览文件 @
3288e7db
...
...
@@ -24,7 +24,7 @@ layui.config({
//加载树信息
fsTree
.
render
({
id
:
"
materialCategoryType
"
,
url
:
"
materialcategory008?userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&loginPCIp=
"
,
url
:
flowableBasePath
+
"
materialcategory008?userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&loginPCIp=
"
,
checkEnable
:
true
,
loadEnable
:
false
,
//异步加载
chkStyle
:
"
radio
"
,
...
...
@@ -50,7 +50,7 @@ layui.config({
remark
:
$
(
"
#remark
"
).
val
(),
parentId
:
checkNodes
[
0
].
id
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
materialcategory002
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
materialcategory002
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
...
...
erp/src/main/resources/template/js/materialCategory/materialCategoryEdit.js
浏览文件 @
3288e7db
...
...
@@ -13,7 +13,7 @@ layui.config({
showGrid
({
id
:
"
showForm
"
,
url
:
req
BasePath
+
"
materialcategory004
"
,
url
:
flowable
BasePath
+
"
materialcategory004
"
,
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
method
:
"
GET
"
,
...
...
@@ -35,7 +35,7 @@ layui.config({
name
:
$
(
"
#typeName
"
).
val
(),
remark
:
$
(
"
#remark
"
).
val
()
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
materialcategory005
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
materialcategory005
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
...
...
erp/src/main/resources/template/js/materialCategory/materialCategoryList.js
浏览文件 @
3288e7db
...
...
@@ -18,7 +18,7 @@ layui.config({
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
idField
:
'
id
'
,
url
:
req
BasePath
+
'
materialcategory001
'
,
url
:
flowable
BasePath
+
'
materialcategory001
'
,
cellMinWidth
:
100
,
where
:
getTableParams
(),
treeId
:
'
id
'
,
//树形id字段名称
...
...
@@ -72,7 +72,7 @@ layui.config({
function
delet
(
data
){
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.deleteOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.deleteOperation
"
][
languageType
]},
function
(
index
){
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
materialcategory003
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
method
:
"
DELETE
"
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
materialcategory003
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
method
:
"
DELETE
"
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
...
...
@@ -104,7 +104,7 @@ layui.config({
// 上移
function
upMove
(
data
){
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
materialcategory006
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
materialcategory006
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.moveUpOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
...
...
@@ -116,7 +116,7 @@ layui.config({
// 下移
function
downMove
(
data
){
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
materialcategory007
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
materialcategory007
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.moveDownOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
...
...
erp/src/main/resources/template/js/otheroutlets/otheroutletsdetails.js
浏览文件 @
3288e7db
...
...
@@ -13,7 +13,7 @@ layui.config({
showGrid
({
id
:
"
showForm
"
,
url
:
req
BasePath
+
"
erpcommon001
"
,
url
:
flowable
BasePath
+
"
erpcommon001
"
,
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
template
:
beanTemplate
,
...
...
erp/src/main/resources/template/js/otherwarehous/otherwarehousdetails.js
浏览文件 @
3288e7db
...
...
@@ -13,7 +13,7 @@ layui.config({
showGrid
({
id
:
"
showForm
"
,
url
:
req
BasePath
+
"
erpcommon001
"
,
url
:
flowable
BasePath
+
"
erpcommon001
"
,
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
template
:
beanTemplate
,
...
...
erp/src/main/resources/template/js/purchaseorder/purchaseOrderDetails.js
浏览文件 @
3288e7db
...
...
@@ -12,7 +12,7 @@ layui.config({
showGrid
({
id
:
"
showForm
"
,
url
:
req
BasePath
+
"
erpcommon001
"
,
url
:
flowable
BasePath
+
"
erpcommon001
"
,
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
template
:
beanTemplate
,
...
...
erp/src/main/resources/template/js/purchaseput/purchaseputdetails.js
浏览文件 @
3288e7db
...
...
@@ -12,7 +12,7 @@ layui.config({
showGrid
({
id
:
"
showForm
"
,
url
:
req
BasePath
+
"
erpcommon001
"
,
url
:
flowable
BasePath
+
"
erpcommon001
"
,
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
template
:
beanTemplate
,
...
...
erp/src/main/resources/template/js/purchasereturns/purchasereturnsdetails.js
浏览文件 @
3288e7db
...
...
@@ -13,7 +13,7 @@ layui.config({
showGrid
({
id
:
"
showForm
"
,
url
:
req
BasePath
+
"
erpcommon001
"
,
url
:
flowable
BasePath
+
"
erpcommon001
"
,
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
template
:
beanTemplate
,
...
...
erp/src/main/resources/template/js/retailoutlet/retailoutletdetails.js
浏览文件 @
3288e7db
...
...
@@ -13,7 +13,7 @@ layui.config({
showGrid
({
id
:
"
showForm
"
,
url
:
req
BasePath
+
"
erpcommon001
"
,
url
:
flowable
BasePath
+
"
erpcommon001
"
,
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
template
:
beanTemplate
,
...
...
erp/src/main/resources/template/js/retailreturns/retailReturnsDetails.js
浏览文件 @
3288e7db
...
...
@@ -12,7 +12,7 @@ layui.config({
showGrid
({
id
:
"
showForm
"
,
url
:
req
BasePath
+
"
erpcommon001
"
,
url
:
flowable
BasePath
+
"
erpcommon001
"
,
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
template
:
beanTemplate
,
...
...
erp/src/main/resources/template/js/salesOrderOverPlan/salesOrderOverPlan.js
浏览文件 @
3288e7db
...
...
@@ -13,7 +13,7 @@ layui.config({
showGrid
({
id
:
"
showForm
"
,
url
:
req
BasePath
+
"
erpcommon001
"
,
url
:
flowable
BasePath
+
"
erpcommon001
"
,
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
template
:
beanTemplate
,
...
...
erp/src/main/resources/template/js/salesorder/salesOrderChoose.js
浏览文件 @
3288e7db
...
...
@@ -17,7 +17,7 @@ layui.config({
var
materialCategoryType
;
fsTree
.
render
({
id
:
"
materialCategoryType
"
,
url
:
"
salesorder011?userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&loginPCIp=
"
,
url
:
flowableBasePath
+
"
salesorder011?userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&loginPCIp=
"
,
checkEnable
:
false
,
loadEnable
:
false
,
//异步加载
showLine
:
false
,
...
...
erp/src/main/resources/template/js/salesorder/salesorderdetails.js
浏览文件 @
3288e7db
...
...
@@ -12,7 +12,7 @@ layui.config({
showGrid
({
id
:
"
showForm
"
,
url
:
req
BasePath
+
"
erpcommon001
"
,
url
:
flowable
BasePath
+
"
erpcommon001
"
,
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
template
:
beanTemplate
,
...
...
erp/src/main/resources/template/js/salesoutlet/salesoutletdetails.js
浏览文件 @
3288e7db
...
...
@@ -12,7 +12,7 @@ layui.config({
showGrid
({
id
:
"
showForm
"
,
url
:
req
BasePath
+
"
erpcommon001
"
,
url
:
flowable
BasePath
+
"
erpcommon001
"
,
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
template
:
beanTemplate
,
...
...
erp/src/main/resources/template/js/salesreturns/salesReturnsDetails.js
浏览文件 @
3288e7db
...
...
@@ -13,7 +13,7 @@ layui.config({
showGrid
({
id
:
"
showForm
"
,
url
:
req
BasePath
+
"
erpcommon001
"
,
url
:
flowable
BasePath
+
"
erpcommon001
"
,
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
template
:
beanTemplate
,
...
...
erp/src/main/resources/template/js/splitlist/splitlistdetails.js
浏览文件 @
3288e7db
...
...
@@ -12,7 +12,7 @@ layui.config({
showGrid
({
id
:
"
showForm
"
,
url
:
req
BasePath
+
"
erpcommon001
"
,
url
:
flowable
BasePath
+
"
erpcommon001
"
,
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
template
:
beanTemplate
,
...
...
erp/src/main/resources/template/js/splitlist/splitlistlist.js
浏览文件 @
3288e7db
var
rowId
=
""
;
//单据的开始时间、结束时间
var
startTime
=
""
,
endTime
=
""
;
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
...
...
@@ -27,8 +24,8 @@ layui.config({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
splitlist001
'
,
where
:
{
defaultNumber
:
$
(
"
#defaultNumber
"
).
val
(),
material
:
$
(
"
#material
"
).
val
(),
startTime
:
startTime
,
endTime
:
endTime
}
,
url
:
flowable
BasePath
+
'
splitlist001
'
,
where
:
getTableParams
()
,
even
:
true
,
page
:
true
,
limits
:
getLimits
(),
...
...
@@ -78,23 +75,15 @@ layui.config({
}
});
form
.
render
();
form
.
on
(
'
submit(formSearch)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
loadTable
();
}
return
false
;
});
//删除
// 删除
function
deletemember
(
data
){
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.deleteOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.deleteOperation
"
][
languageType
]},
function
(
index
){
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
delcommon009
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
delcommon009
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
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
();
}
else
{
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
}});
});
...
...
@@ -103,12 +92,12 @@ layui.config({
//提交审批
function
subExamine
(
data
){
layer
.
confirm
(
'
确认要提交审核吗?
'
,
{
icon
:
3
,
title
:
'
提交审核操作
'
},
function
(
index
)
{
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
splitlist006
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
splitlist006
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
"
提交成功。
"
,
{
icon
:
1
,
time
:
2000
});
winui
.
window
.
msg
(
"
提交成功。
"
,
{
icon
:
1
,
time
:
2000
});
loadTable
();
}
else
{
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
}});
});
...
...
@@ -161,40 +150,39 @@ layui.config({
}});
});
// 导出excel
$
(
"
body
"
).
on
(
"
click
"
,
"
#downloadExcel
"
,
function
()
{
postDownLoadFile
({
url
:
flowableBasePath
+
'
splitlist005?userToken=
'
+
getCookie
(
'
userToken
'
)
+
'
&loginPCIp=
'
+
returnCitySN
[
"
cip
"
],
params
:
getTableParams
(),
method
:
'
post
'
});
});
form
.
render
();
form
.
on
(
'
submit(formSearch)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
table
.
reload
(
"
messageTable
"
,
{
page
:
{
curr
:
1
},
where
:
getTableParams
()})
}
return
false
;
});
$
(
"
body
"
).
on
(
"
click
"
,
"
#reloadTable
"
,
function
()
{
loadTable
();
});
$
(
"
body
"
).
on
(
"
click
"
,
"
#formSearch
"
,
function
()
{
refreshTable
();
});
//刷新
// 刷新
function
loadTable
(){
table
.
reload
(
"
messageTable
"
,
{
where
:
getTableParams
()});
}
//搜索
function
refreshTable
(){
table
.
reload
(
"
messageTable
"
,
{
page
:
{
curr
:
1
},
where
:
getTableParams
()})
}
//导出excel
$
(
"
body
"
).
on
(
"
click
"
,
"
#downloadExcel
"
,
function
()
{
postDownLoadFile
({
url
:
reqBasePath
+
'
splitlist005?userToken=
'
+
getCookie
(
'
userToken
'
)
+
'
&loginPCIp=
'
+
returnCitySN
[
"
cip
"
],
params
:
getTableParams
(),
method
:
'
post
'
});
});
function
getTableParams
(){
if
(
isNull
(
$
(
"
#operTime
"
).
val
())){
//一定要记得,当createTime为空时
var
startTime
=
""
,
endTime
=
""
;
if
(
!
isNull
(
$
(
"
#operTime
"
).
val
())){
startTime
=
""
;
endTime
=
""
;
}
else
{
startTime
=
$
(
"
#operTime
"
).
val
().
split
(
'
~
'
)[
0
].
trim
()
+
'
00:00:00
'
;
endTime
=
$
(
"
#operTime
"
).
val
().
split
(
'
~
'
)[
1
].
trim
()
+
'
23:59:59
'
;
startTime
=
$
(
"
#operTime
"
).
val
().
split
(
'
~
'
)[
0
].
trim
()
+
'
00:00:00
'
;
endTime
=
$
(
"
#operTime
"
).
val
().
split
(
'
~
'
)[
1
].
trim
()
+
'
23:59:59
'
;
}
return
{
defaultNumber
:
$
(
"
#defaultNumber
"
).
val
(),
...
...
erp/src/main/resources/template/js/storeHouseInventory/storeHouseInventoryList.js
浏览文件 @
3288e7db
...
...
@@ -137,7 +137,7 @@ layui.config({
var
el5
;
el5
=
eleTree
.
render
({
elem
:
'
.ele5
'
,
url
:
"
materialcategory009?userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&loginPCIp=
"
,
url
:
flowableBasePath
+
"
materialcategory009?userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&loginPCIp=
"
,
defaultExpandAll
:
true
,
expandOnClickNode
:
false
,
highlightCurrent
:
true
...
...
erp/src/main/resources/template/tpl/material/materialChooseToProduce.html
浏览文件 @
3288e7db
...
...
@@ -67,7 +67,7 @@
</div>
<div
class=
"layui-inline"
style=
"width: 100%"
>
<ul
id=
"materialCategoryType"
class=
"ztree fsTree"
method=
"get"
isRoot=
"1"
treeIdKey=
"id"
inputs=
"parentId"
treePIdKey=
"pId"
clickCallbackInputs=
"parentId:$id"
treeName=
"name"
style=
"overflow-y: auto; height: 100%;"
></ul>
treeIdKey=
"id"
inputs=
"parentId"
treePIdKey=
"pId"
clickCallbackInputs=
"parentId:$id"
treeName=
"name"
style=
"overflow-y: auto; height: 100%;"
></ul>
</div>
</div>
<div
style=
"width: calc(100% - 200px); float: left;"
>
...
...
gateway/src/main/resources/template/js/mainPage/mainPage.js
浏览文件 @
3288e7db
...
...
@@ -75,7 +75,7 @@ layui.config({
function
initHotActModel
(){
showGrid
({
id
:
"
actModelShow
"
,
url
:
req
BasePath
+
"
actmodletype022
"
,
url
:
flowable
BasePath
+
"
actmodletype022
"
,
params
:
{},
pagination
:
false
,
template
:
$
(
"
#actModelTemplate
"
).
html
(),
...
...
ifs/src/main/resources/template/js/income/incomeList.js
浏览文件 @
3288e7db
...
...
@@ -90,7 +90,7 @@ layui.config({
var
ztree
=
null
;
fsTree
.
render
({
id
:
"
treeDemo
"
,
url
:
"
dsFormObjectRelation007?userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&loginPCIp=
"
+
returnCitySN
[
"
cip
"
]
+
"
&firstTypeCode=IFS
"
+
"
&language=
"
+
languageType
,
url
:
flowableBasePath
+
"
dsFormObjectRelation007?userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&loginPCIp=
"
+
returnCitySN
[
"
cip
"
]
+
"
&firstTypeCode=IFS
"
+
"
&language=
"
+
languageType
,
clickCallback
:
onClickTree
,
onDblClick
:
onClickTree
},
function
(
id
){
...
...
knowlg/src/main/resources/template/js/knowledgetype/knowledgetypeadd.js
浏览文件 @
3288e7db
...
...
@@ -15,7 +15,7 @@ layui.config({
var
parentType
;
fsTree
.
render
({
id
:
"
parentType
"
,
url
:
"
knowledgetype001?userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&loginPCIp=
"
,
url
:
reqBasePath
+
"
knowledgetype001?userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&loginPCIp=
"
,
checkEnable
:
true
,
loadEnable
:
false
,
//异步加载
chkStyle
:
"
radio
"
,
...
...
note/src/main/resources/template/js/index/myNote.js
浏览文件 @
3288e7db
...
...
@@ -36,7 +36,7 @@ layui.config({
var
ztree
=
null
;
fsTree
.
render
({
id
:
"
treeDemo
"
,
url
:
"
mynote001?userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&loginPCIp=
"
+
returnCitySN
[
"
cip
"
],
url
:
reqBasePath
+
"
mynote001?userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&loginPCIp=
"
+
returnCitySN
[
"
cip
"
],
checkEnable
:
false
,
dragEnable
:
true
,
loadEnable
:
true
,
//异步加载
...
...
note/src/main/resources/template/js/note/noteFileTree.js
浏览文件 @
3288e7db
...
...
@@ -20,7 +20,7 @@ layui.config({
var
ztree
=
null
;
fsTree
.
render
({
id
:
"
treeDemo
"
,
url
:
"
mynote012?userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&loginPCIp=
"
+
returnCitySN
[
"
cip
"
]
+
"
&moveId=
"
+
clickId
,
url
:
reqBasePath
+
"
mynote012?userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&loginPCIp=
"
+
returnCitySN
[
"
cip
"
]
+
"
&moveId=
"
+
clickId
,
checkEnable
:
true
,
chkStyle
:
"
radio
"
,
loadEnable
:
true
,
//异步加载
...
...
planpro/src/main/resources/template/js/flowChart/makeFlowChart.js
浏览文件 @
3288e7db
...
...
@@ -40,7 +40,7 @@ layui.config({
function
initTree
(){
fsTree
.
render
({
id
:
"
treeDemo
"
,
url
:
'
planprojectflow001?projectId=
'
+
parent
.
rowId
+
"
&userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&loginPCIp=
"
+
returnCitySN
[
"
cip
"
],
url
:
reqBasePath
+
'
planprojectflow001?projectId=
'
+
parent
.
rowId
+
"
&userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&loginPCIp=
"
+
returnCitySN
[
"
cip
"
],
loadEnable
:
false
,
clickCallback
:
onClickTree
,
onDblClick
:
onClickTree
,
...
...
userauth/src/main/resources/template/js/sysevemenu/sysevemenulist.js
浏览文件 @
3288e7db
...
...
@@ -157,7 +157,7 @@ layui.config({
var
tree
=
fsTree
.
render
({
id
:
treeId
,
funcNo
:
funcNo
,
url
:
url
+
"
?userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&loginPCIp=
"
+
returnCitySN
[
"
cip
"
],
url
:
reqBasePath
+
url
+
"
?userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&loginPCIp=
"
+
returnCitySN
[
"
cip
"
],
clickCallback
:
onClickTree
,
onDblClick
:
onClickTree
,
getTree
:
getTree
...
...
userauth/src/main/resources/template/js/syseverole/sysEveRolePCMenu.js
浏览文件 @
3288e7db
...
...
@@ -60,7 +60,7 @@ layui.config({
var
tree
=
fsTree
.
render
({
id
:
treeId
,
funcNo
:
funcNo
,
url
:
url
+
"
?userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&loginPCIp=
"
+
returnCitySN
[
"
cip
"
],
url
:
reqBasePath
+
url
+
"
?userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&loginPCIp=
"
+
returnCitySN
[
"
cip
"
],
getTree
:
getTree
,
checkEnable
:
true
,
loadEnable
:
false
,
...
...
userauth/src/main/resources/template/js/syseverole/syseveroleappmenu.js
浏览文件 @
3288e7db
...
...
@@ -80,7 +80,7 @@ layui.config({
var
tree
=
fsTree
.
render
({
id
:
treeId
,
funcNo
:
funcNo
,
url
:
url
+
"
?userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&loginPCIp=
"
+
returnCitySN
[
"
cip
"
],
url
:
reqBasePath
+
url
+
"
?userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&loginPCIp=
"
+
returnCitySN
[
"
cip
"
],
getTree
:
getTree
,
checkEnable
:
true
,
loadEnable
:
false
,
...
...
web/src/main/resources/template/assets/lib/layui/custom.js
浏览文件 @
3288e7db
...
...
@@ -246,7 +246,7 @@ function auth(urlNum){
while
(
win
!=
win
.
top
){
win
=
win
.
top
;
}
win
.
location
.
href
=
reqBasePath
+
"
/tpl/index/login.html
"
;
win
.
location
.
href
=
"
../..
/tpl/index/login.html
"
;
});
}
return
false
;
...
...
web/src/main/resources/template/assets/lib/layui/customer/erpOrderUtil.js
浏览文件 @
3288e7db
...
...
@@ -57,7 +57,7 @@ var erpOrderUtil = {
getSubmitTypeByOrderType
:
function
(
orderType
){
// 1需要审核;2不需要审核
var
submitType
=
""
;
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erpcommon004
"
,
params
:
{
orderType
:
orderType
},
method
:
"
GET
"
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erpcommon004
"
,
params
:
{
orderType
:
orderType
},
method
:
"
GET
"
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
submitType
=
json
.
bean
.
needExamine
;
}
else
{
...
...
@@ -105,7 +105,7 @@ var erpOrderUtil = {
*/
deleteOrderMation
:
function
(
id
,
orderType
,
callback
){
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.deleteOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.deleteOperation
"
][
languageType
]},
function
(
index
){
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erpcommon005
"
,
params
:
{
rowId
:
id
,
orderType
:
orderType
},
method
:
"
DELETE
"
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erpcommon005
"
,
params
:
{
rowId
:
id
,
orderType
:
orderType
},
method
:
"
DELETE
"
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
if
(
typeof
(
callback
)
==
"
function
"
)
{
...
...
@@ -144,7 +144,7 @@ var erpOrderUtil = {
orderType
:
orderType
,
approvalId
:
approvalId
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erpcommon006
"
,
params
:
params
,
method
:
"
PUT
"
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erpcommon006
"
,
params
:
params
,
method
:
"
PUT
"
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
winui
.
window
.
msg
(
"
提交成功。
"
,
{
icon
:
1
,
time
:
2000
});
if
(
typeof
(
callback
)
==
"
function
"
)
{
...
...
@@ -164,7 +164,11 @@ var erpOrderUtil = {
*/
revokeOrderMation
:
function
(
processInstanceId
,
orderType
,
callback
){
layer
.
confirm
(
'
确认要撤销吗?
'
,
{
icon
:
3
,
title
:
'
撤销操作
'
},
function
(
index
)
{
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
erpcommon003
"
,
params
:
{
processInstanceId
:
processInstanceId
,
orderType
:
orderType
},
method
:
"
GET
"
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
var
params
=
{
processInstanceId
:
processInstanceId
,
orderType
:
orderType
};
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
erpcommon003
"
,
params
:
params
,
method
:
"
GET
"
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
winui
.
window
.
msg
(
"
撤销成功。
"
,
{
icon
:
1
,
time
:
2000
});
if
(
typeof
(
callback
)
==
"
function
"
)
{
...
...
@@ -207,7 +211,7 @@ var erpOrderUtil = {
* @param callback 回执函数
*/
getDepotList
:
function
(
callback
){
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
storehouse008
"
,
params
:
{},
type
:
'
json
'
,
method
:
"
GET
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
storehouse008
"
,
params
:
{},
type
:
'
json
'
,
method
:
"
GET
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
if
(
typeof
(
callback
)
==
"
function
"
)
{
callback
(
json
);
...
...
web/src/main/resources/template/assets/lib/layui/customer/showGrid.js
浏览文件 @
3288e7db
...
...
@@ -427,7 +427,7 @@ dataGrid.prototype = {
win
=
win
.
top
;
}
result
=
eval
(
'
(
'
+
'
{"returnMessage":"登录超时。","returnCode":-9999,"total":0,"rows":"","bean":""}
'
+
'
)
'
);
win
.
location
.
href
=
reqBasePath
+
"
/tpl/index/login.html
"
;
//XMLHttpRequest.getResponseHeader("CONTEXTPATH");
win
.
location
.
href
=
"
../..
/tpl/index/login.html
"
;
//XMLHttpRequest.getResponseHeader("CONTEXTPATH");
}
else
if
(
sessionstatus
==
"
NOAUTHPOINT
"
){
result
=
eval
(
'
(
'
+
'
{"returnMessage":"您不具备该权限。","returnCode":-9999,"total":0,"rows":"","bean":""}
'
+
'
)
'
);
}
...
...
web/src/main/resources/template/assets/lib/layui/lay/modules/dtree/dtree.js
浏览文件 @
3288e7db
...
...
@@ -161,7 +161,7 @@ layui.define(['jquery','layer','element','form'], function(exports) {
while
(
win
!=
win
.
top
){
win
=
win
.
top
;
}
win
.
location
.
href
=
reqBasePath
+
"
/tpl/index/login.html
"
;
//XMLHttpRequest.getResponseHeader("CONTEXTPATH");
win
.
location
.
href
=
"
../../tpl/index/login.html
"
;
//XMLHttpRequest.getResponseHeader("CONTEXTPATH");
}
else
if
(
sessionstatus
==
"
NOAUTHPOINT
"
){
layer
.
msg
(
'
您不具备该权限。
'
,{
icon
:
5
,
shift
:
6
});
}
...
...
web/src/main/resources/template/assets/lib/layui/lay/modules/table-old.js
浏览文件 @
3288e7db
...
...
@@ -392,7 +392,7 @@ layui.define(["laytpl", "laypage", "layer", "form", "util"], function(e) {
while
(
win
!=
win
.
top
)
{
win
=
win
.
top
;
}
win
.
location
.
href
=
reqBasePath
+
"
/tpl/index/login.html
"
;
//XMLHttpRequest.getResponseHeader("CONTEXTPATH");
win
.
location
.
href
=
"
../..
/tpl/index/login.html
"
;
//XMLHttpRequest.getResponseHeader("CONTEXTPATH");
}
else
if
(
sessionstatus
==
"
NOAUTHPOINT
"
)
{
i
.
layMain
.
html
(
'
<div class="
'
+
f
+
'
">
'
+
systemLanguage
[
"
com.skyeye.permission
"
][
languageType
]
+
'
</div>
'
),
i
.
renderForm
(),
...
...
web/src/main/resources/template/assets/lib/layui/lay/modules/treetable/treeGrid.js
浏览文件 @
3288e7db
...
...
@@ -1523,7 +1523,7 @@ layui.config({}).extend({}).define(['laytpl', 'laypage', 'layer', 'form'], funct
while
(
win
!=
win
.
top
)
{
win
=
win
.
top
;
}
win
.
location
.
href
=
reqBasePath
+
"
/tpl/index/login.html
"
;
//XMLHttpRequest.getResponseHeader("CONTEXTPATH");
win
.
location
.
href
=
"
../../tpl/index/login.html
"
;
//XMLHttpRequest.getResponseHeader("CONTEXTPATH");
}
else
if
(
sessionstatus
==
"
NOAUTHPOINT
"
)
{
that
.
layMain
.
html
(
'
<div class="
'
+
NONE
+
'
">您不具备该权限。</div>
'
);
that
.
renderForm
();
...
...
web/src/main/resources/template/assets/lib/layui/lay/modules/ztree/js/fsCommon.js
浏览文件 @
3288e7db
...
...
@@ -34,9 +34,6 @@ layui.define(['layer', 'form', 'fsButtonCommon'], function(exports) {
fsCommon
.
invoke
(
url
,
param
,
callBackFunc
,
async
,
method
);
},
invoke
:
function
(
url
,
param
,
callBackFunc
,
async
,
method
)
{
if
(
!
isNull
(
reqBasePath
))
{
url
=
reqBasePath
+
url
;
}
if
(
isNull
(
async
))
{
async
=
true
;
}
...
...
@@ -69,7 +66,7 @@ layui.define(['layer', 'form', 'fsButtonCommon'], function(exports) {
while
(
win
!=
win
.
top
){
win
=
win
.
top
;
}
win
.
location
.
href
=
reqBasePath
+
"
/tpl/index/login.html
"
;
//XMLHttpRequest.getResponseHeader("CONTEXTPATH");
win
.
location
.
href
=
"
../../tpl/index/login.html
"
;
//XMLHttpRequest.getResponseHeader("CONTEXTPATH");
}
else
if
(
sessionstatus
==
"
NOAUTHPOINT
"
){
fsCommon
.
errorMsg
(
'
您不具备该权限。
'
);
}
...
...
web/src/main/resources/template/assets/lib/layui/lay/modules/ztree/js/fsTree.js
浏览文件 @
3288e7db
...
...
@@ -134,13 +134,6 @@ layui.define(['layer', "fsCommon"], function(exports) {
fsCommon
.
warnMsg
(
"
功能号或请求地址为空!
"
);
return
;
}
if
(
isNull
(
url
))
{
url
=
"
/fsbus/
"
+
funcNo
;
}
var
servletUrl
=
reqBasePath
;
if
(
!
isNull
(
servletUrl
))
{
url
=
servletUrl
+
url
;
}
if
(
isNull
(
_this
.
config
.
chkboxType
))
{
_this
.
config
.
chkboxType
=
{
"
Y
"
:
"
ps
"
,
...
...
@@ -171,7 +164,7 @@ layui.define(['layer', "fsCommon"], function(exports) {
async
:
{
// 异步加载
type
:
"
get
"
,
enable
:
_this
.
config
.
loadEnable
,
url
:
reqBasePath
+
_this
.
config
.
url
,
url
:
_this
.
config
.
url
,
autoParam
:
[
"
id=parentId
"
],
// 异步加载时需要自动提交父节点属性的参数
dataType
:
"
json
"
,
dataFilter
:
function
(
treeId
,
treeNode
,
responseData
)
{
...
...
@@ -266,7 +259,6 @@ layui.define(['layer', "fsCommon"], function(exports) {
var
_this
=
this
;
var
funcNo
=
_this
.
config
.
funcNo
;
var
url
=
_this
.
config
.
url
;
// 请求url
if
(
isNull
(
funcNo
)
&&
isNull
(
url
))
{
fsCommon
.
warnMsg
(
"
功能号或请求地址为空!
"
);
return
;
...
...
@@ -315,28 +307,28 @@ layui.define(['layer', "fsCommon"], function(exports) {
}
}
fsCommon
.
invoke
(
url
,
otherParam
,
function
(
data
)
{
if
(
data
.
returnCode
==
0
)
{
var
array
=
data
.
rows
;
if
(
!
$
.
isArray
(
array
))
{
array
=
new
Array
();
}
if
(
domTree
.
attr
(
"
isRoot
"
)
!==
"
0
"
)
{
// 是否显示根目录
var
arr
=
{};
arr
[
"
open
"
]
=
true
;
arr
[
"
isParent
"
]
=
true
;
arr
[
"
drag
"
]
=
false
;
arr
[
_this
.
config
.
treeName
]
=
"
全部
"
;
arr
[
_this
.
config
.
treeIdKey
]
=
0
;
array
.
push
(
arr
);
}
_this
.
showTree
(
array
);
}
else
{
// 提示错误消息
fsCommon
.
warnMsg
(
data
.
returnMessage
,
{
icon
:
0
});
}
},
false
,
method
);
if
(
data
.
returnCode
==
0
)
{
var
array
=
data
.
rows
;
if
(
!
$
.
isArray
(
array
))
{
array
=
new
Array
();
}
if
(
domTree
.
attr
(
"
isRoot
"
)
!==
"
0
"
)
{
// 是否显示根目录
var
arr
=
{};
arr
[
"
open
"
]
=
true
;
arr
[
"
isParent
"
]
=
true
;
arr
[
"
drag
"
]
=
false
;
arr
[
_this
.
config
.
treeName
]
=
"
全部
"
;
arr
[
_this
.
config
.
treeIdKey
]
=
0
;
array
.
push
(
arr
);
}
_this
.
showTree
(
array
);
}
else
{
// 提示错误消息
fsCommon
.
warnMsg
(
data
.
returnMessage
,
{
icon
:
0
});
}
},
false
,
method
);
}
}
...
...
web/src/main/resources/template/js/common/enclosureupload.js
浏览文件 @
3288e7db
...
...
@@ -38,7 +38,7 @@ layui.config({
function
loadMyEnclosureList
(){
fsTree
.
render
({
id
:
"
treeDemo
"
,
url
:
"
sysenclosure010?userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&loginPCIp=
"
+
returnCitySN
[
"
cip
"
],
url
:
reqBasePath
+
"
sysenclosure010?userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&loginPCIp=
"
+
returnCitySN
[
"
cip
"
],
checkEnable
:
true
,
loadEnable
:
false
,
//异步加载
showLine
:
false
,
...
...
web/src/main/resources/template/js/common/sysusersel.js
浏览文件 @
3288e7db
...
...
@@ -229,7 +229,7 @@ layui.config({
allPeopleFirstLoad
=
true
;
fsTree
.
render
({
id
:
"
allPeopleTree
"
,
url
:
"
commonselpeople001
"
+
urlParams
,
url
:
reqBasePath
+
"
commonselpeople001
"
+
urlParams
,
checkEnable
:
true
,
loadEnable
:
false
,
//异步加载
chkStyle
:
ztreeCheckType
,
...
...
@@ -263,7 +263,7 @@ layui.config({
accordingCompanyFirstLoad
=
true
;
fsTree
.
render
({
id
:
"
accordingCompanyTree
"
,
url
:
"
commonselpeople002
"
+
urlParams
,
url
:
reqBasePath
+
"
commonselpeople002
"
+
urlParams
,
checkEnable
:
true
,
loadEnable
:
false
,
//异步加载
showLine
:
false
,
...
...
@@ -297,7 +297,7 @@ layui.config({
accordingDepartmentFirstLoad
=
true
;
fsTree
.
render
({
id
:
"
accordingDepartmentTree
"
,
url
:
"
commonselpeople003
"
+
urlParams
,
url
:
reqBasePath
+
"
commonselpeople003
"
+
urlParams
,
checkEnable
:
true
,
loadEnable
:
false
,
//异步加载
showLine
:
false
,
...
...
@@ -331,7 +331,7 @@ layui.config({
accordingJobFirstLoad
=
true
;
fsTree
.
render
({
id
:
"
accordingJobTree
"
,
url
:
"
commonselpeople004
"
+
urlParams
,
url
:
reqBasePath
+
"
commonselpeople004
"
+
urlParams
,
checkEnable
:
true
,
loadEnable
:
false
,
//异步加载
showLine
:
false
,
...
...
@@ -365,7 +365,7 @@ layui.config({
accordingSimpleDepartmentFirstLoad
=
true
;
fsTree
.
render
({
id
:
"
accordingSimpleDepartmentTree
"
,
url
:
"
commonselpeople005
"
+
urlParams
,
url
:
reqBasePath
+
"
commonselpeople005
"
+
urlParams
,
checkEnable
:
true
,
loadEnable
:
false
,
//异步加载
showLine
:
false
,
...
...
@@ -399,7 +399,7 @@ layui.config({
accordingGroupFirstLoad
=
true
;
fsTree
.
render
({
id
:
"
accordingGroupTree
"
,
url
:
"
commonselpeople006
"
+
urlParams
,
url
:
reqBasePath
+
"
commonselpeople006
"
+
urlParams
,
checkEnable
:
true
,
loadEnable
:
false
,
//异步加载
showLine
:
false
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录