Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
doc_wei
Skyeye
提交
d89ac33c
S
Skyeye
项目概览
doc_wei
/
Skyeye
通知
1173
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看板
提交
d89ac33c
编写于
4月 26, 2022
作者:
doc_wei
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
树添加userToken
上级
43459bc9
变更
44
展开全部
显示空白变更内容
内联
并排
Showing
44 changed file
with
64 addition
and
1299 deletion
+64
-1299
api/src/main/resources/template/js/apiPage/apiPage.js
api/src/main/resources/template/js/apiPage/apiPage.js
+11
-15
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/material/materialChoose.js
...src/main/resources/template/js/material/materialChoose.js
+1
-1
erp/src/main/resources/template/js/material/materialChooseToProduce.js
...resources/template/js/material/materialChooseToProduce.js
+1
-1
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
+1
-1
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
+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/storeHouseInventory/storeHouseInventoryList.js
...emplate/js/storeHouseInventory/storeHouseInventoryList.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/knowledgeDepot/knowledgeDepotList.js
...esources/template/js/knowledgeDepot/knowledgeDepotList.js
+1
-1
knowlg/src/main/resources/template/js/knowledgecheck/knowledgechecklist.js
...esources/template/js/knowledgecheck/knowledgechecklist.js
+2
-2
knowlg/src/main/resources/template/js/knowledgecontent/knowledgecontentadd.js
...urces/template/js/knowledgecontent/knowledgecontentadd.js
+1
-1
knowlg/src/main/resources/template/js/knowledgecontent/knowledgecontentedit.js
...rces/template/js/knowledgecontent/knowledgecontentedit.js
+1
-1
knowlg/src/main/resources/template/js/knowledgecontent/knowledgecontentlist.js
...rces/template/js/knowledgecontent/knowledgecontentlist.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
+2
-2
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/java/com/skyeye/common/filter/SessionFilter.java
...src/main/java/com/skyeye/common/filter/SessionFilter.java
+1
-2
web/src/main/resources/static/editor-app/configuration/base.js
...rc/main/resources/static/editor-app/configuration/base.js
+1
-2
web/src/main/resources/template/assets/lib/layui/custom.js
web/src/main/resources/template/assets/lib/layui/custom.js
+6
-0
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/layim.js
.../resources/template/assets/lib/layui/lay/modules/layim.js
+2
-0
web/src/main/resources/template/assets/lib/layui/lay/modules/table-old.js
...ources/template/assets/lib/layui/lay/modules/table-old.js
+0
-1242
web/src/main/resources/template/assets/lib/layui/lay/modules/table.js
.../resources/template/assets/lib/layui/lay/modules/table.js
+1
-2
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
-0
web/src/main/resources/template/assets/lib/layui/lay/modules/ztree/js/fsTree.js
.../template/assets/lib/layui/lay/modules/ztree/js/fsTree.js
+4
-0
web/src/main/resources/template/assets/lib/winui/js/winui.desktop.js
...n/resources/template/assets/lib/winui/js/winui.desktop.js
+1
-1
web/src/main/resources/template/assets/lib/winui/js/winui.start.js
...ain/resources/template/assets/lib/winui/js/winui.start.js
+1
-1
web/src/main/resources/template/assets/lib/winui/winui.js
web/src/main/resources/template/assets/lib/winui/winui.js
+1
-0
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
+1
-1
web/src/main/resources/template/js/index/login.js
web/src/main/resources/template/js/index/login.js
+1
-1
未找到文件。
api/src/main/resources/template/js/apiPage/apiPage.js
浏览文件 @
d89ac33c
...
...
@@ -30,7 +30,6 @@ layui.config({
loadUserMation
();
//加载用户信息
function
loadUserMation
(){
if
(
!
isNull
(
getCookie
(
'
userToken
'
))){
// 获取当前登录员工信息
systemCommonUtil
.
getSysCurrentLoginUserMation
(
function
(
data
){
var
str
=
'
<img alt="
'
+
data
.
bean
.
userName
+
'
" src="
'
+
fileBasePath
+
data
.
bean
.
userPhoto
+
'
"/>
'
...
...
@@ -42,9 +41,6 @@ layui.config({
location
.
href
=
"
../../tpl/index/login.html?url=
"
+
escape
(
"
../../tpl/apiPage/apiPage.html
"
);
});
loadApiMicroservices
();
}
else
{
location
.
href
=
"
../../tpl/index/login.html?url=
"
+
escape
(
"
../../tpl/apiPage/apiPage.html
"
);
}
}
/**
...
...
@@ -236,7 +232,7 @@ layui.config({
}
});
//退出
//
退出
$
(
"
body
"
).
on
(
"
click
"
,
"
#exitBtn
"
,
function
(){
winui
.
window
.
confirm
(
'
确认注销吗?
'
,
{
id
:
'
exit-confim
'
,
icon
:
3
,
title
:
'
提示
'
,
skin
:
'
msg-skin-message
'
,
success
:
function
(
layero
,
index
){
var
times
=
$
(
"
#exit-confim
"
).
parent
().
attr
(
"
times
"
);
...
...
common/src/main/resources/template/js/sysenclosure/mysysenclosure.js
浏览文件 @
d89ac33c
...
...
@@ -25,7 +25,7 @@ layui.config({
var
ztree
=
null
;
fsTree
.
render
({
id
:
"
treeDemo
"
,
url
:
reqBasePath
+
"
sysenclosure001?
userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&
loginPCIp=
"
+
returnCitySN
[
"
cip
"
],
url
:
reqBasePath
+
"
sysenclosure001?loginPCIp=
"
+
returnCitySN
[
"
cip
"
],
checkEnable
:
false
,
loadEnable
:
true
,
//异步加载
showLine
:
false
,
...
...
disk-cloud/src/main/resources/template/js/fileconsole/fileconsolelist.js
浏览文件 @
d89ac33c
...
...
@@ -51,7 +51,7 @@ layui.config({
var
ztree
=
null
;
fsTree
.
render
({
id
:
"
treeDemo
"
,
url
:
reqBasePath
+
"
fileconsole001?
userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&
loginPCIp=
"
+
returnCitySN
[
"
cip
"
],
url
:
reqBasePath
+
"
fileconsole001?loginPCIp=
"
+
returnCitySN
[
"
cip
"
],
checkEnable
:
false
,
loadEnable
:
true
,
//异步加载
showLine
:
false
,
...
...
disk-cloud/src/main/resources/template/js/shareFile/fileFolder.js
浏览文件 @
d89ac33c
...
...
@@ -16,7 +16,7 @@ layui.config({
var
ztree
=
null
;
fsTree
.
render
({
id
:
"
treeDemo
"
,
url
:
reqBasePath
+
"
fileconsole001?
userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&
loginPCIp=
"
+
returnCitySN
[
"
cip
"
],
url
:
reqBasePath
+
"
fileconsole001?loginPCIp=
"
+
returnCitySN
[
"
cip
"
],
checkEnable
:
true
,
loadEnable
:
true
,
//异步加载
showLine
:
false
,
...
...
dsform/src/main/resources/template/js/dsFormObjectRelation/dsFormObjectRelationChooseByFirstTypeCode.js
浏览文件 @
d89ac33c
...
...
@@ -19,7 +19,7 @@ layui.config({
var
ztree
=
null
;
fsTree
.
render
({
id
:
"
treeDemo
"
,
url
:
flowableBasePath
+
"
dsFormObjectRelation007?
userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&
loginPCIp=
"
+
returnCitySN
[
"
cip
"
]
+
"
&firstTypeCode=
"
+
firstTypeCode
+
"
&language=
"
+
languageType
,
url
:
flowableBasePath
+
"
dsFormObjectRelation007?loginPCIp=
"
+
returnCitySN
[
"
cip
"
]
+
"
&firstTypeCode=
"
+
firstTypeCode
+
"
&language=
"
+
languageType
,
clickCallback
:
onClickTree
,
onDblClick
:
onClickTree
},
function
(
id
){
...
...
erp-produce/src/main/resources/template/js/erpDepartStock/erpDepartStockList.js
浏览文件 @
d89ac33c
...
...
@@ -84,7 +84,7 @@ layui.config({
var
el5
;
el5
=
eleTree
.
render
({
elem
:
'
.ele5
'
,
url
:
flowableBasePath
+
"
materialcategory009?
userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&
loginPCIp=
"
,
url
:
flowableBasePath
+
"
materialcategory009?loginPCIp=
"
,
defaultExpandAll
:
true
,
expandOnClickNode
:
false
,
highlightCurrent
:
true
...
...
erp/src/main/resources/template/js/material/materialChoose.js
浏览文件 @
d89ac33c
...
...
@@ -38,7 +38,7 @@ layui.config({
var
materialCategoryType
;
fsTree
.
render
({
id
:
"
materialCategoryType
"
,
url
:
flowableBasePath
+
"
materialcategory008?
userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&
loginPCIp=
"
,
url
:
flowableBasePath
+
"
materialcategory008?loginPCIp=
"
,
checkEnable
:
false
,
loadEnable
:
false
,
//异步加载
showLine
:
false
,
...
...
erp/src/main/resources/template/js/material/materialChooseToProduce.js
浏览文件 @
d89ac33c
...
...
@@ -27,7 +27,7 @@ layui.config({
var
materialCategoryType
;
fsTree
.
render
({
id
:
"
materialCategoryType
"
,
url
:
flowableBasePath
+
"
materialcategory008?
userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&
loginPCIp=
"
,
url
:
flowableBasePath
+
"
materialcategory008?loginPCIp=
"
,
checkEnable
:
false
,
loadEnable
:
false
,
//异步加载
showLine
:
false
,
...
...
erp/src/main/resources/template/js/material/materialInventoryWarningList.js
浏览文件 @
d89ac33c
...
...
@@ -84,7 +84,7 @@ layui.config({
var
el5
;
el5
=
eleTree
.
render
({
elem
:
'
.ele5
'
,
url
:
flowableBasePath
+
"
materialcategory009?
userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&
loginPCIp=
"
,
url
:
flowableBasePath
+
"
materialcategory009?loginPCIp=
"
,
defaultExpandAll
:
true
,
expandOnClickNode
:
false
,
highlightCurrent
:
true
...
...
erp/src/main/resources/template/js/material/materialReserveList.js
浏览文件 @
d89ac33c
...
...
@@ -91,7 +91,7 @@ layui.config({
var
el5
;
el5
=
eleTree
.
render
({
elem
:
'
.ele5
'
,
url
:
flowableBasePath
+
"
materialcategory009?
userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&
loginPCIp=
"
,
url
:
flowableBasePath
+
"
materialcategory009?loginPCIp=
"
,
defaultExpandAll
:
true
,
expandOnClickNode
:
false
,
highlightCurrent
:
true
...
...
erp/src/main/resources/template/js/material/materialadd.js
浏览文件 @
d89ac33c
...
...
@@ -52,7 +52,7 @@ layui.config({
var
materialCategoryType
;
fsTree
.
render
({
id
:
"
materialCategoryType
"
,
url
:
flowableBasePath
+
"
materialcategory008?
userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&
loginPCIp=
"
,
url
:
flowableBasePath
+
"
materialcategory008?loginPCIp=
"
,
checkEnable
:
true
,
loadEnable
:
false
,
//异步加载
chkStyle
:
"
radio
"
,
...
...
erp/src/main/resources/template/js/material/materialedit.js
浏览文件 @
d89ac33c
...
...
@@ -96,7 +96,7 @@ layui.config({
fsTree
.
render
({
id
:
"
materialCategoryType
"
,
url
:
flowableBasePath
+
"
materialcategory008?
userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&
loginPCIp=
"
,
url
:
flowableBasePath
+
"
materialcategory008?loginPCIp=
"
,
checkEnable
:
true
,
loadEnable
:
false
,
//异步加载
chkStyle
:
"
radio
"
,
...
...
erp/src/main/resources/template/js/material/materiallist.js
浏览文件 @
d89ac33c
...
...
@@ -74,7 +74,7 @@ layui.config({
var
el5
;
el5
=
eleTree
.
render
({
elem
:
'
.ele5
'
,
url
:
flowableBasePath
+
"
materialcategory009?
userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&
loginPCIp=
"
,
url
:
flowableBasePath
+
"
materialcategory009?loginPCIp=
"
,
defaultExpandAll
:
true
,
expandOnClickNode
:
false
,
highlightCurrent
:
true
...
...
erp/src/main/resources/template/js/materialCategory/materialCategoryAdd.js
浏览文件 @
d89ac33c
...
...
@@ -24,7 +24,7 @@ layui.config({
//加载树信息
fsTree
.
render
({
id
:
"
materialCategoryType
"
,
url
:
flowableBasePath
+
"
materialcategory008?
userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&
loginPCIp=
"
,
url
:
flowableBasePath
+
"
materialcategory008?loginPCIp=
"
,
checkEnable
:
true
,
loadEnable
:
false
,
//异步加载
chkStyle
:
"
radio
"
,
...
...
erp/src/main/resources/template/js/salesorder/salesOrderChoose.js
浏览文件 @
d89ac33c
...
...
@@ -17,7 +17,7 @@ layui.config({
var
materialCategoryType
;
fsTree
.
render
({
id
:
"
materialCategoryType
"
,
url
:
flowableBasePath
+
"
salesorder011?
userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&
loginPCIp=
"
,
url
:
flowableBasePath
+
"
salesorder011?loginPCIp=
"
,
checkEnable
:
false
,
loadEnable
:
false
,
//异步加载
showLine
:
false
,
...
...
erp/src/main/resources/template/js/storeHouseInventory/storeHouseInventoryList.js
浏览文件 @
d89ac33c
...
...
@@ -137,7 +137,7 @@ layui.config({
var
el5
;
el5
=
eleTree
.
render
({
elem
:
'
.ele5
'
,
url
:
flowableBasePath
+
"
materialcategory009?
userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&
loginPCIp=
"
,
url
:
flowableBasePath
+
"
materialcategory009?loginPCIp=
"
,
defaultExpandAll
:
true
,
expandOnClickNode
:
false
,
highlightCurrent
:
true
...
...
ifs/src/main/resources/template/js/income/incomeList.js
浏览文件 @
d89ac33c
...
...
@@ -90,7 +90,7 @@ layui.config({
var
ztree
=
null
;
fsTree
.
render
({
id
:
"
treeDemo
"
,
url
:
flowableBasePath
+
"
dsFormObjectRelation007?
userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&
loginPCIp=
"
+
returnCitySN
[
"
cip
"
]
+
"
&firstTypeCode=IFS
"
+
"
&language=
"
+
languageType
,
url
:
flowableBasePath
+
"
dsFormObjectRelation007?loginPCIp=
"
+
returnCitySN
[
"
cip
"
]
+
"
&firstTypeCode=IFS
"
+
"
&language=
"
+
languageType
,
clickCallback
:
onClickTree
,
onDblClick
:
onClickTree
},
function
(
id
){
...
...
knowlg/src/main/resources/template/js/knowledgeDepot/knowledgeDepotList.js
浏览文件 @
d89ac33c
...
...
@@ -63,7 +63,7 @@ layui.config({
var
el5
;
el5
=
eleTree
.
render
({
elem
:
'
.ele5
'
,
url
:
"
knowledgetype008?
userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&
loginPCIp=
"
,
url
:
"
knowledgetype008?loginPCIp=
"
,
defaultExpandAll
:
true
,
expandOnClickNode
:
false
,
highlightCurrent
:
true
...
...
knowlg/src/main/resources/template/js/knowledgecheck/knowledgechecklist.js
浏览文件 @
d89ac33c
...
...
@@ -122,7 +122,7 @@ layui.config({
var
el5
;
el5
=
eleTree
.
render
({
elem
:
'
.ele5
'
,
url
:
"
knowledgetype008?
userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&
loginPCIp=
"
,
url
:
"
knowledgetype008?loginPCIp=
"
,
defaultExpandAll
:
true
,
expandOnClickNode
:
false
,
highlightCurrent
:
true
...
...
@@ -267,7 +267,7 @@ layui.config({
var
el2
;
el2
=
eleTree
.
render
({
elem
:
'
.ele2
'
,
url
:
"
knowledgetype008?
userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&
loginPCIp=
"
,
url
:
"
knowledgetype008?loginPCIp=
"
,
defaultExpandAll
:
true
,
expandOnClickNode
:
false
,
highlightCurrent
:
true
...
...
knowlg/src/main/resources/template/js/knowledgecontent/knowledgecontentadd.js
浏览文件 @
d89ac33c
...
...
@@ -35,7 +35,7 @@ layui.config({
var
el5
;
el5
=
eleTree
.
render
({
elem
:
'
.ele5
'
,
url
:
"
knowledgetype008?
userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&
loginPCIp=
"
,
url
:
"
knowledgetype008?loginPCIp=
"
,
defaultExpandAll
:
true
,
expandOnClickNode
:
false
,
highlightCurrent
:
true
...
...
knowlg/src/main/resources/template/js/knowledgecontent/knowledgecontentedit.js
浏览文件 @
d89ac33c
...
...
@@ -16,7 +16,7 @@ layui.config({
var
el5
;
el5
=
eleTree
.
render
({
elem
:
'
.ele5
'
,
url
:
"
knowledgetype008?
userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&
loginPCIp=
"
,
url
:
"
knowledgetype008?loginPCIp=
"
,
defaultExpandAll
:
true
,
expandOnClickNode
:
false
,
highlightCurrent
:
true
...
...
knowlg/src/main/resources/template/js/knowledgecontent/knowledgecontentlist.js
浏览文件 @
d89ac33c
...
...
@@ -71,7 +71,7 @@ layui.config({
var
el5
;
el5
=
eleTree
.
render
({
elem
:
'
.ele5
'
,
url
:
"
knowledgetype008?
userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&
loginPCIp=
"
,
url
:
"
knowledgetype008?loginPCIp=
"
,
defaultExpandAll
:
true
,
expandOnClickNode
:
false
,
highlightCurrent
:
true
...
...
knowlg/src/main/resources/template/js/knowledgetype/knowledgetypeadd.js
浏览文件 @
d89ac33c
...
...
@@ -15,7 +15,7 @@ layui.config({
var
parentType
;
fsTree
.
render
({
id
:
"
parentType
"
,
url
:
reqBasePath
+
"
knowledgetype001?
userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&
loginPCIp=
"
,
url
:
reqBasePath
+
"
knowledgetype001?loginPCIp=
"
,
checkEnable
:
true
,
loadEnable
:
false
,
//异步加载
chkStyle
:
"
radio
"
,
...
...
note/src/main/resources/template/js/index/myNote.js
浏览文件 @
d89ac33c
...
...
@@ -36,7 +36,7 @@ layui.config({
var
ztree
=
null
;
fsTree
.
render
({
id
:
"
treeDemo
"
,
url
:
reqBasePath
+
"
mynote001?
userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&
loginPCIp=
"
+
returnCitySN
[
"
cip
"
],
url
:
reqBasePath
+
"
mynote001?loginPCIp=
"
+
returnCitySN
[
"
cip
"
],
checkEnable
:
false
,
dragEnable
:
true
,
loadEnable
:
true
,
//异步加载
...
...
@@ -679,7 +679,7 @@ layui.config({
isNewNote
=
true
;
showNewNoteList
();
//展示最新的笔记
}
else
{
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
mynote006
"
,
params
:
{
parentId
:
folderId
,
search
:
searchTitle
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
mynote006
"
,
params
:
{
parentId
:
folderId
,
search
:
searchTitle
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
$
(
"
#folderChildList
"
).
html
(
getDataUseHandlebars
(
folderchildlisetTemplate
,
json
));
initRightMenu
();
...
...
note/src/main/resources/template/js/note/noteFileTree.js
浏览文件 @
d89ac33c
...
...
@@ -20,7 +20,7 @@ layui.config({
var
ztree
=
null
;
fsTree
.
render
({
id
:
"
treeDemo
"
,
url
:
reqBasePath
+
"
mynote012?
userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&
loginPCIp=
"
+
returnCitySN
[
"
cip
"
]
+
"
&moveId=
"
+
clickId
,
url
:
reqBasePath
+
"
mynote012?loginPCIp=
"
+
returnCitySN
[
"
cip
"
]
+
"
&moveId=
"
+
clickId
,
checkEnable
:
true
,
chkStyle
:
"
radio
"
,
loadEnable
:
true
,
//异步加载
...
...
planpro/src/main/resources/template/js/flowChart/makeFlowChart.js
浏览文件 @
d89ac33c
...
...
@@ -40,7 +40,7 @@ layui.config({
function
initTree
(){
fsTree
.
render
({
id
:
"
treeDemo
"
,
url
:
reqBasePath
+
'
planprojectflow001?projectId=
'
+
parent
.
rowId
+
"
&
userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&
loginPCIp=
"
+
returnCitySN
[
"
cip
"
],
url
:
reqBasePath
+
'
planprojectflow001?projectId=
'
+
parent
.
rowId
+
"
&loginPCIp=
"
+
returnCitySN
[
"
cip
"
],
loadEnable
:
false
,
clickCallback
:
onClickTree
,
onDblClick
:
onClickTree
,
...
...
userauth/src/main/resources/template/js/sysevemenu/sysevemenulist.js
浏览文件 @
d89ac33c
...
...
@@ -157,7 +157,7 @@ layui.config({
var
tree
=
fsTree
.
render
({
id
:
treeId
,
funcNo
:
funcNo
,
url
:
reqBasePath
+
url
+
"
?
userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&
loginPCIp=
"
+
returnCitySN
[
"
cip
"
],
url
:
reqBasePath
+
url
+
"
?loginPCIp=
"
+
returnCitySN
[
"
cip
"
],
clickCallback
:
onClickTree
,
onDblClick
:
onClickTree
,
getTree
:
getTree
...
...
userauth/src/main/resources/template/js/syseverole/sysEveRolePCMenu.js
浏览文件 @
d89ac33c
...
...
@@ -60,7 +60,7 @@ layui.config({
var
tree
=
fsTree
.
render
({
id
:
treeId
,
funcNo
:
funcNo
,
url
:
reqBasePath
+
url
+
"
?
userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&
loginPCIp=
"
+
returnCitySN
[
"
cip
"
],
url
:
reqBasePath
+
url
+
"
?loginPCIp=
"
+
returnCitySN
[
"
cip
"
],
getTree
:
getTree
,
checkEnable
:
true
,
loadEnable
:
false
,
...
...
userauth/src/main/resources/template/js/syseverole/syseveroleappmenu.js
浏览文件 @
d89ac33c
...
...
@@ -80,7 +80,7 @@ layui.config({
var
tree
=
fsTree
.
render
({
id
:
treeId
,
funcNo
:
funcNo
,
url
:
reqBasePath
+
url
+
"
?
userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&
loginPCIp=
"
+
returnCitySN
[
"
cip
"
],
url
:
reqBasePath
+
url
+
"
?loginPCIp=
"
+
returnCitySN
[
"
cip
"
],
getTree
:
getTree
,
checkEnable
:
true
,
loadEnable
:
false
,
...
...
web/src/main/java/com/skyeye/common/filter/SessionFilter.java
浏览文件 @
d89ac33c
...
...
@@ -92,9 +92,8 @@ public class SessionFilter implements Filter {
servletResponse
.
setHeader
(
"Access-Control-Allow-Origin"
,
"*"
);
servletResponse
.
setHeader
(
"Access-Control-Allow-Credentials"
,
"true"
);
servletResponse
.
setHeader
(
"Access-Control-Allow-Methods"
,
"*"
);
// userToken为用户的token
// requestType为请求类型,2为手机端请求,1或者空为PC端请求
servletResponse
.
setHeader
(
"Access-Control-Allow-Headers"
,
"Content-Type,userToken,requestType"
);
//这里“userToken”是我要传到后台的内容key
servletResponse
.
setHeader
(
"Access-Control-Allow-Headers"
,
"Content-Type,userToken,requestType"
);
servletResponse
.
setHeader
(
"Access-Control-Expose-Headers"
,
"*"
);
}
...
...
web/src/main/resources/static/editor-app/configuration/base.js
浏览文件 @
d89ac33c
...
...
@@ -173,13 +173,12 @@ function isNull(str){
function
ajaxPost
(
url
,
params
,
callback
)
{
var
result
=
null
;
var
headers
=
{}
;
var
headers
=
getRequestHeaders
()
;
headers
[
'
CSRFToken
'
]
=
jQuery
(
"
#csrftoken
"
).
val
();
if
(
params
&&
typeof
params
==
"
object
"
)
{
params
=
deleteEmptyProp
(
params
);
}
params
.
userToken
=
getCookie
(
'
userToken
'
);
params
.
loginPCIp
=
""
;
jQuery
.
ajax
({
...
...
web/src/main/resources/template/assets/lib/layui/custom.js
浏览文件 @
d89ac33c
...
...
@@ -64,6 +64,12 @@ function initBaseParams(){
homePagePath
=
sysMainMation
.
homePagePath
;
}
function
getRequestHeaders
()
{
return
{
userToken
:
getCookie
(
'
userToken
'
)
};
}
// 编辑加载自定义的js文件
layui
.
each
(
customerJS
,
function
(
key
,
jsPath
){
if
(
jsPath
.
lastIndexOf
(
"
.js
"
)
>=
0
){
...
...
web/src/main/resources/template/assets/lib/layui/customer/showGrid.js
浏览文件 @
d89ac33c
...
...
@@ -401,12 +401,12 @@ dataGrid.prototype = {
var
result
;
if
(
!
isNull
(
url
)){
//用ajax的同步方式
parms
.
userToken
=
getCookie
(
'
userToken
'
);
parms
.
loginPCIp
=
returnCitySN
[
"
cip
"
];
layui
.
$
.
ajax
({
url
:
url
,
async
:
false
,
// 改为同步方式
dataType
:
"
json
"
,
headers
:
getRequestHeaders
(),
type
:
method
,
data
:
parms
,
beforeSend
:
function
()
{
...
...
web/src/main/resources/template/assets/lib/layui/lay/modules/layim.js
浏览文件 @
d89ac33c
...
...
@@ -287,6 +287,7 @@ layui.define(["layer", "laytpl", "upload"], function(i) {
url
:
i
.
url
,
type
:
i
.
type
||
"
get
"
,
data
:
i
.
data
,
headers
:
getRequestHeaders
(),
dataType
:
i
.
dataType
||
"
json
"
,
cache
:
!
1
,
success
:
function
(
json
)
{
...
...
@@ -1153,6 +1154,7 @@ layui.define(["layer", "laytpl", "upload"], function(i) {
url
:
l
.
url
||
""
,
type
:
'
POST
'
,
async
:
false
,
headers
:
getRequestHeaders
(),
data
:
formData
,
// 告诉jQuery不要去处理发送的数据
processData
:
false
,
...
...
web/src/main/resources/template/assets/lib/layui/lay/modules/table-old.js
已删除
100644 → 0
浏览文件 @
43459bc9
此差异已折叠。
点击以展开。
web/src/main/resources/template/assets/lib/layui/lay/modules/table.js
浏览文件 @
d89ac33c
...
...
@@ -708,7 +708,6 @@ layui.define(['laytpl', 'laypage', 'layer', 'form', 'util'], function(exports){
}
that
.
loading
();
data
.
userToken
=
getCookie
(
'
userToken
'
);
data
.
loginPCIp
=
returnCitySN
[
"
cip
"
];
$
.
ajax
({
...
...
@@ -717,7 +716,7 @@ layui.define(['laytpl', 'laypage', 'layer', 'form', 'util'], function(exports){
,
contentType
:
options
.
contentType
,
data
:
data
,
dataType
:
'
json
'
,
headers
:
options
.
headers
||
{}
,
headers
:
getRequestHeaders
()
,
success
:
function
(
res
){
//移除请求遮罩层
$
(
"
body
"
).
find
(
"
.mask-req-str
"
).
remove
();
...
...
web/src/main/resources/template/assets/lib/layui/lay/modules/ztree/js/fsCommon.js
浏览文件 @
d89ac33c
...
...
@@ -46,6 +46,7 @@ layui.define(['layer', 'form', 'fsButtonCommon'], function(exports) {
url
:
url
,
type
:
method
,
async
:
async
,
headers
:
getRequestHeaders
(),
data
:
param
,
dataType
:
"
json
"
,
success
:
function
(
result
)
{
...
...
web/src/main/resources/template/assets/lib/layui/lay/modules/ztree/js/fsTree.js
浏览文件 @
d89ac33c
...
...
@@ -167,6 +167,10 @@ layui.define(['layer', "fsCommon"], function(exports) {
url
:
_this
.
config
.
url
,
autoParam
:
[
"
id=parentId
"
],
// 异步加载时需要自动提交父节点属性的参数
dataType
:
"
json
"
,
beforeSend
:
function
(
XHR
){
XHR
.
setRequestHeader
(
"
userToken
"
,
getCookie
(
'
userToken
'
));
},
headers
:
getRequestHeaders
(),
dataFilter
:
function
(
treeId
,
treeNode
,
responseData
)
{
if
(
responseData
.
rows
.
length
>
0
)
{
$
.
fn
.
zTree
.
getZTreeObj
(
treeId
).
addNodes
(
treeNode
,
responseData
.
rows
);
...
...
web/src/main/resources/template/assets/lib/winui/js/winui.desktop.js
浏览文件 @
d89ac33c
...
...
@@ -207,11 +207,11 @@ layui.define(['jquery', 'layer', 'winui'], function (exports) {
var
obj
=
this
,
currOptions
=
obj
.
options
;
if
(
!
currOptions
.
url
||
!
currOptions
.
method
)
return
;
currOptions
.
data
.
userToken
=
getCookie
(
'
userToken
'
);
$
.
ajax
({
url
:
currOptions
.
url
,
type
:
currOptions
.
method
,
data
:
$
.
extend
({},
currOptions
.
data
),
headers
:
getRequestHeaders
(),
dataType
:
'
json
'
,
async
:
false
,
success
:
function
(
res
)
{
...
...
web/src/main/resources/template/assets/lib/winui/js/winui.start.js
浏览文件 @
d89ac33c
...
...
@@ -120,10 +120,10 @@ layui.define(['jquery', 'element', 'layer', 'winui'], function (exports) {
if
(
!
currOptions
.
url
||
!
currOptions
.
method
)
return
;
currOptions
.
data
.
userToken
=
getCookie
(
'
userToken
'
);
$
.
ajax
({
url
:
currOptions
.
url
,
type
:
currOptions
.
method
,
headers
:
getRequestHeaders
(),
data
:
$
.
extend
({},
currOptions
.
data
),
dataType
:
'
json
'
,
async
:
false
,
...
...
web/src/main/resources/template/assets/lib/winui/winui.js
浏览文件 @
d89ac33c
...
...
@@ -799,6 +799,7 @@
$
.
ajax
({
url
:
currOptions
.
url
,
type
:
currOptions
.
method
,
headers
:
getRequestHeaders
(),
success
:
function
(
res
)
{
res
=
res
.
data
;
if
(
typeof
res
===
"
string
"
)
{
...
...
web/src/main/resources/template/js/common/enclosureupload.js
浏览文件 @
d89ac33c
...
...
@@ -38,7 +38,7 @@ layui.config({
function
loadMyEnclosureList
(){
fsTree
.
render
({
id
:
"
treeDemo
"
,
url
:
reqBasePath
+
"
sysenclosure010?
userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&
loginPCIp=
"
+
returnCitySN
[
"
cip
"
],
url
:
reqBasePath
+
"
sysenclosure010?loginPCIp=
"
+
returnCitySN
[
"
cip
"
],
checkEnable
:
true
,
loadEnable
:
false
,
//异步加载
showLine
:
false
,
...
...
web/src/main/resources/template/js/common/sysusersel.js
浏览文件 @
d89ac33c
...
...
@@ -98,7 +98,7 @@ layui.config({
}
//加载树时的参数传递
urlParams
=
"
?
userToken=
"
+
getCookie
(
'
userToken
'
)
+
"
&
loginPCIp=
"
+
returnCitySN
[
"
cip
"
]
+
"
&chooseOrNotMy=
"
+
chooseOrNotMy
+
"
&chooseOrNotEmail=
"
+
chooseOrNotEmail
;
urlParams
=
"
?loginPCIp=
"
+
returnCitySN
[
"
cip
"
]
+
"
&chooseOrNotMy=
"
+
chooseOrNotMy
+
"
&chooseOrNotEmail=
"
+
chooseOrNotEmail
;
//各模块的初始化加载情况 false为没加载,true为加载
var
allPeopleFirstLoad
=
false
,
//所有人员模块是否初始化加载
...
...
web/src/main/resources/template/js/index/login.js
浏览文件 @
d89ac33c
...
...
@@ -77,7 +77,7 @@ layui.config({
if
(
json
.
rows
!=
null
){
localStorage
.
setItem
(
"
authpoints
"
,
JSON
.
stringify
(
json
.
rows
));
}
$
.
cookie
(
'
userToken
'
,
json
.
bean
.
id
,
{
path
:
'
/
'
});
$
.
cookie
(
'
userToken
'
,
json
.
bean
.
userToken
,
{
path
:
'
/
'
});
if
(
!
isNull
(
json
.
bean
.
id
)){
if
(
checkURL
(
url
)){
location
.
href
=
url
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录