Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Skyeye云
Skyeye
提交
768d98db
S
Skyeye
项目概览
Skyeye云
/
Skyeye
通知
1439
Star
162
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看板
提交
768d98db
编写于
6月 22, 2022
作者:
W
weizhiqiang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
【架构】人选选择代码整改
上级
63d24458
变更
67
隐藏空白更改
内联
并排
Showing
67 changed file
with
657 addition
and
1760 deletion
+657
-1760
activiti/src/main/resources/template/js/actGroup/actGroupList.js
...i/src/main/resources/template/js/actGroup/actGroupList.js
+27
-31
activiti/src/main/resources/template/js/addSignTask/afterAddSignTask.js
...ain/resources/template/js/addSignTask/afterAddSignTask.js
+2
-2
activiti/src/main/resources/template/js/addSignTask/beforeAddSignTask.js
...in/resources/template/js/addSignTask/beforeAddSignTask.js
+2
-2
activiti/src/main/resources/template/js/addSignTask/jointlySign.js
...src/main/resources/template/js/addSignTask/jointlySign.js
+2
-2
admin-assistant/src/main/resources/template/js/assetArticles/assetArticlesAdd.js
...n/resources/template/js/assetArticles/assetArticlesAdd.js
+8
-27
admin-assistant/src/main/resources/template/js/assetArticles/assetArticlesEdit.js
.../resources/template/js/assetArticles/assetArticlesEdit.js
+8
-27
admin-assistant/src/main/resources/template/js/assetManage/assetManageAdd.js
.../main/resources/template/js/assetManage/assetManageAdd.js
+16
-48
admin-assistant/src/main/resources/template/js/assetManage/assetManageEdit.js
...main/resources/template/js/assetManage/assetManageEdit.js
+22
-54
admin-assistant/src/main/resources/template/js/conFerenceRoom/conFerenceRoomAdd.js
...resources/template/js/conFerenceRoom/conFerenceRoomAdd.js
+8
-27
admin-assistant/src/main/resources/template/js/conFerenceRoom/conFerenceRoomEdit.js
...esources/template/js/conFerenceRoom/conFerenceRoomEdit.js
+8
-27
admin-assistant/src/main/resources/template/js/licenceManage/licenceManageAdd.js
...n/resources/template/js/licenceManage/licenceManageAdd.js
+19
-52
admin-assistant/src/main/resources/template/js/licenceManage/licenceManageEdit.js
.../resources/template/js/licenceManage/licenceManageEdit.js
+19
-52
admin-assistant/src/main/resources/template/js/sealManage/sealManageAdd.js
...rc/main/resources/template/js/sealManage/sealManageAdd.js
+19
-51
admin-assistant/src/main/resources/template/js/sealManage/sealManageEdit.js
...c/main/resources/template/js/sealManage/sealManageEdit.js
+16
-48
admin-assistant/src/main/resources/template/js/vehicleManage/vehicleManageAdd.js
...n/resources/template/js/vehicleManage/vehicleManageAdd.js
+11
-30
admin-assistant/src/main/resources/template/js/vehicleManage/vehicleManageEdit.js
.../resources/template/js/vehicleManage/vehicleManageEdit.js
+8
-27
boss/src/main/resources/template/js/bossInterviewArrangement/arrangeInterviewer.js
...emplate/js/bossInterviewArrangement/arrangeInterviewer.js
+2
-2
boss/src/main/resources/template/js/bossInterviewee/bossIntervieweeAdd.js
...sources/template/js/bossInterviewee/bossIntervieweeAdd.js
+2
-2
boss/src/main/resources/template/js/bossInterviewee/bossIntervieweeEdit.js
...ources/template/js/bossInterviewee/bossIntervieweeEdit.js
+2
-2
boss/src/main/resources/template/js/bossPersonRequire/bossPersonRequirePersonLiable.js
...ate/js/bossPersonRequire/bossPersonRequirePersonLiable.js
+2
-2
crm/src/main/resources/template/js/crmOpportunity/crmopportunityadd.js
...resources/template/js/crmOpportunity/crmopportunityadd.js
+24
-74
crm/src/main/resources/template/js/crmOpportunity/crmopportunityedit.js
...esources/template/js/crmOpportunity/crmopportunityedit.js
+29
-80
crm/src/main/resources/template/js/crmcontractmanage/mycrmcontractadd.js
...sources/template/js/crmcontractmanage/mycrmcontractadd.js
+11
-29
crm/src/main/resources/template/js/crmcontractmanage/mycrmcontractedit.js
...ources/template/js/crmcontractmanage/mycrmcontractedit.js
+8
-26
crm/src/main/resources/template/js/customermanage/customeradd.js
.../main/resources/template/js/customermanage/customeradd.js
+12
-21
crm/src/main/resources/template/js/customermanage/customeredit.js
...main/resources/template/js/customermanage/customeredit.js
+11
-21
email/src/main/resources/template/js/emailSendModel/emailSendModelAdd.js
...resources/template/js/emailSendModel/emailSendModelAdd.js
+6
-8
email/src/main/resources/template/js/emailSendModel/emailSendModelEdit.js
...esources/template/js/emailSendModel/emailSendModelEdit.js
+2
-2
email/src/main/resources/template/js/useremail/sendemail.js
email/src/main/resources/template/js/useremail/sendemail.js
+6
-8
erp-produce/src/main/resources/template/js/erpFarm/erpFarmAdd.js
...duce/src/main/resources/template/js/erpFarm/erpFarmAdd.js
+10
-21
erp-produce/src/main/resources/template/js/erpFarm/erpFarmEdit.js
...uce/src/main/resources/template/js/erpFarm/erpFarmEdit.js
+12
-23
erp-produce/src/main/resources/template/js/erpWorkProcedure/erpWorkProcedureAdd.js
...urces/template/js/erpWorkProcedure/erpWorkProcedureAdd.js
+10
-30
erp-produce/src/main/resources/template/js/erpWorkProcedure/erpWorkProcedureEdit.js
...rces/template/js/erpWorkProcedure/erpWorkProcedureEdit.js
+8
-28
erp/src/main/resources/template/js/salesorder/salesorderadd.js
...rc/main/resources/template/js/salesorder/salesorderadd.js
+8
-26
erp/src/main/resources/template/js/salesorder/salesorderedit.js
...c/main/resources/template/js/salesorder/salesorderedit.js
+8
-26
erp/src/main/resources/template/js/salesorder/salesorderpurchase.js
...in/resources/template/js/salesorder/salesorderpurchase.js
+8
-26
erp/src/main/resources/template/js/salesoutlet/salesoutletadd.js
.../main/resources/template/js/salesoutlet/salesoutletadd.js
+9
-27
erp/src/main/resources/template/js/salesoutlet/salesoutletedit.js
...main/resources/template/js/salesoutlet/salesoutletedit.js
+8
-26
erp/src/main/resources/template/js/salesreturns/salesreturnsadd.js
...ain/resources/template/js/salesreturns/salesreturnsadd.js
+8
-26
erp/src/main/resources/template/js/salesreturns/salesreturnsedit.js
...in/resources/template/js/salesreturns/salesreturnsedit.js
+10
-28
erp/src/main/resources/template/js/storehouse/storehouseadd.js
...rc/main/resources/template/js/storehouse/storehouseadd.js
+2
-2
erp/src/main/resources/template/js/storehouse/storehouseedit.js
...c/main/resources/template/js/storehouse/storehouseedit.js
+2
-2
ifs/src/main/resources/template/js/income/incomeAdd.js
ifs/src/main/resources/template/js/income/incomeAdd.js
+2
-2
ifs/src/main/resources/template/js/income/incomeEdit.js
ifs/src/main/resources/template/js/income/incomeEdit.js
+2
-2
jobdiary/src/main/resources/template/js/jobdiaryMySend/jobdiaryMySendDayEdit.js
...urces/template/js/jobdiaryMySend/jobdiaryMySendDayEdit.js
+9
-28
jobdiary/src/main/resources/template/js/jobdiaryMySend/jobdiaryMySendMonthEdit.js
...ces/template/js/jobdiaryMySend/jobdiaryMySendMonthEdit.js
+10
-29
jobdiary/src/main/resources/template/js/jobdiaryMySend/jobdiaryMySendPublish.js
...urces/template/js/jobdiaryMySend/jobdiaryMySendPublish.js
+27
-75
jobdiary/src/main/resources/template/js/jobdiaryMySend/jobdiaryMySendWeekEdit.js
...rces/template/js/jobdiaryMySend/jobdiaryMySendWeekEdit.js
+14
-33
message/src/main/resources/template/js/sysnotice/sysnoticeadd.js
.../src/main/resources/template/js/sysnotice/sysnoticeadd.js
+8
-27
message/src/main/resources/template/js/sysnotice/sysnoticeedit.js
...src/main/resources/template/js/sysnotice/sysnoticeedit.js
+10
-29
pro/src/main/resources/template/js/proproject/proappoint.js
pro/src/main/resources/template/js/proproject/proappoint.js
+24
-74
pro/src/main/resources/template/js/protask/protaskadd.js
pro/src/main/resources/template/js/protask/protaskadd.js
+10
-29
pro/src/main/resources/template/js/protask/protaskedit.js
pro/src/main/resources/template/js/protask/protaskedit.js
+9
-28
seal-service/src/main/resources/template/js/sealseservice/sealseserviceadd.js
...n/resources/template/js/sealseservice/sealseserviceadd.js
+8
-28
seal-service/src/main/resources/template/js/sealseservice/sealseserviceedit.js
.../resources/template/js/sealseservice/sealseserviceedit.js
+8
-27
seal-service/src/main/resources/template/js/serviceworker/serviceworkeradd.js
...n/resources/template/js/serviceworker/serviceworkeradd.js
+12
-23
seal-service/src/main/resources/template/js/stateisstayworker/dispatchedworker.js
...sources/template/js/stateisstayworker/dispatchedworker.js
+8
-28
web/src/main/resources/template/assets/lib/layui/customer/activitiUtil.js
...ources/template/assets/lib/layui/customer/activitiUtil.js
+4
-6
web/src/main/resources/template/assets/lib/layui/customer/sysCustomerUtil.js
...ces/template/assets/lib/layui/customer/sysCustomerUtil.js
+2
-2
web/src/main/resources/template/assets/lib/layui/customer/systemCommonUtil.js
...es/template/assets/lib/layui/customer/systemCommonUtil.js
+6
-11
web/src/main/resources/template/js/common/sysusersel.js
web/src/main/resources/template/js/common/sysusersel.js
+1
-16
workplan/src/main/resources/template/js/sysworkplan/sysworkplanadd.js
.../main/resources/template/js/sysworkplan/sysworkplanadd.js
+12
-31
workplan/src/main/resources/template/js/sysworkplan/sysworkplancomadd.js
...in/resources/template/js/sysworkplan/sysworkplancomadd.js
+9
-29
workplan/src/main/resources/template/js/sysworkplan/sysworkplancomedit.js
...n/resources/template/js/sysworkplan/sysworkplancomedit.js
+10
-29
workplan/src/main/resources/template/js/sysworkplan/sysworkplandepadd.js
...in/resources/template/js/sysworkplan/sysworkplandepadd.js
+11
-31
workplan/src/main/resources/template/js/sysworkplan/sysworkplandepedit.js
...n/resources/template/js/sysworkplan/sysworkplandepedit.js
+9
-29
workplan/src/main/resources/template/js/sysworkplan/sysworkplanedit.js
...main/resources/template/js/sysworkplan/sysworkplanedit.js
+17
-39
未找到文件。
activiti/src/main/resources/template/js/actGroup/actGroupList.js
浏览文件 @
768d98db
var
clickId
=
""
;
//选中的用户组id
var
name
=
""
;
//用户组名
var
userList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
userReturnList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
layui
.
config
({
base
:
basePath
,
...
...
@@ -20,7 +18,6 @@ layui.config({
authBtn
(
'
1563451417564
'
);
//一键移除用户
authBtn
(
'
1572334408610
'
);
//同步人员到工作流
var
userInfo
=
""
;
//用户id
showLeft
();
//初始化左侧菜单用户组数据
...
...
@@ -180,7 +177,7 @@ layui.config({
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
flowableBasePath
+
'
actgroup007
'
,
where
:
{
groupId
:
clickId
,
userName
:
$
(
"
#userName
"
).
val
()}
,
where
:
getTableParams
()
,
even
:
true
,
page
:
true
,
limits
:
getLimits
(),
...
...
@@ -210,32 +207,23 @@ layui.config({
// 新增用户
$
(
"
body
"
).
on
(
"
click
"
,
"
#addUser
"
,
function
(
e
){
userReturnList
=
[].
concat
(
userList
);
_openNewWindows
({
url
:
"
../../tpl/common/sysusersel.html
"
,
title
:
"
人员选择
"
,
pageId
:
"
sysuserselpage
"
,
area
:
[
'
80vw
'
,
'
80vh
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
userList
=
[].
concat
(
userReturnList
);
$
.
each
(
userList
,
function
(
i
,
item
)
{
userInfo
+=
item
.
id
+
'
,
'
;
})
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
actgroup003
"
,
params
:
{
rowId
:
clickId
,
userId
:
userInfo
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
userList
=
[];
userReturnList
=
[];
userInfo
=
""
;
loadTable
();
}
else
{
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
}});
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
systemCommonUtil
.
userReturnList
=
[];
systemCommonUtil
.
chooseOrNotMy
=
"
1
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
1
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
1
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
var
userInfo
=
""
;
$
.
each
(
userReturnList
,
function
(
i
,
item
)
{
userInfo
+=
item
.
id
+
'
,
'
;
})
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
actgroup003
"
,
params
:
{
rowId
:
clickId
,
userId
:
userInfo
},
type
:
'
json
'
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
loadTable
();
}
else
{
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
}});
});
});
//一键移除指定用户组下的所有用户
...
...
@@ -295,11 +283,19 @@ layui.config({
});
//搜索条件
function
loadTable
(){
table
.
reload
(
"
messageTable
"
,
{
where
:
{
groupId
:
clickId
,
userName
:
$
(
"
#userName
"
).
val
()}
});
table
.
reload
(
"
messageTable
"
,
{
where
:
getTableParams
()
});
}
function
refreshTable
(){
table
.
reload
(
"
messageTable
"
,
{
page
:
{
curr
:
1
},
where
:
{
groupId
:
clickId
,
userName
:
$
(
"
#userName
"
).
val
()}
});
table
.
reload
(
"
messageTable
"
,
{
page
:
{
curr
:
1
},
where
:
getTableParams
()
});
}
function
getTableParams
()
{
return
{
groupId
:
clickId
,
userName
:
$
(
"
#userName
"
).
val
()
};
}
//刷新用户
$
(
"
body
"
).
on
(
"
click
"
,
"
#reloadTable
"
,
function
(){
loadTable
();
...
...
activiti/src/main/resources/template/js/addSignTask/afterAddSignTask.js
浏览文件 @
768d98db
...
...
@@ -105,8 +105,8 @@ layui.config({
systemCommonUtil
.
chooseOrNotMy
=
"
2
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
2
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
staffChoose
List
){
chooseUserList
[
rowIndex
]
=
staffChoose
List
[
0
];
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturn
List
){
chooseUserList
[
rowIndex
]
=
userReturn
List
[
0
];
table
.
reload
(
"
messageTable
"
,
{
data
:
chooseUserList
});
});
});
...
...
activiti/src/main/resources/template/js/addSignTask/beforeAddSignTask.js
浏览文件 @
768d98db
...
...
@@ -105,8 +105,8 @@ layui.config({
systemCommonUtil
.
chooseOrNotMy
=
"
2
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
2
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
staffChoose
List
){
chooseUserList
[
rowIndex
]
=
staffChoose
List
[
0
];
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturn
List
){
chooseUserList
[
rowIndex
]
=
userReturn
List
[
0
];
table
.
reload
(
"
messageTable
"
,
{
data
:
chooseUserList
});
});
});
...
...
activiti/src/main/resources/template/js/addSignTask/jointlySign.js
浏览文件 @
768d98db
...
...
@@ -197,8 +197,8 @@ layui.config({
systemCommonUtil
.
chooseOrNotMy
=
"
2
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
2
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
staffChoose
List
){
chooseUserList
[
rowIndex
]
=
staffChoose
List
[
0
];
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturn
List
){
chooseUserList
[
rowIndex
]
=
userReturn
List
[
0
];
table
.
reload
(
"
messageTable
"
,
{
data
:
chooseUserList
});
});
});
...
...
admin-assistant/src/main/resources/template/js/assetArticles/assetArticlesAdd.js
浏览文件 @
768d98db
var
userList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
userReturnList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
chooseOrNotMy
=
"
1
"
;
//人员列表中是否包含自己--1.包含;其他参数不包含
var
chooseOrNotEmail
=
"
2
"
;
//人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
var
checkType
=
"
2
"
;
//人员选择类型,1.多选;其他。单选
// 用品信息
layui
.
config
({
base
:
basePath
,
...
...
@@ -76,28 +71,14 @@ layui.config({
});
// 用品管理人选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#userNameSelPeople
"
,
function
(
e
){
userReturnList
=
[].
concat
(
userList
);
_openNewWindows
({
url
:
"
../../tpl/common/sysusersel.html
"
,
title
:
"
人员选择
"
,
pageId
:
"
sysuserselpage
"
,
area
:
[
'
80vw
'
,
'
80vh
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
// 移除所有tag
var
tags
=
$
(
'
#assetAdmin
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
;
for
(
i
=
0
;
i
<
tags
.
length
;
i
++
)
{
$
(
'
#assetAdmin
'
).
tagEditor
(
'
removeTag
'
,
tags
[
i
]);
}
userList
=
[].
concat
(
userReturnList
);
// 添加新的tag
$
.
each
(
userList
,
function
(
i
,
item
){
$
(
'
#assetAdmin
'
).
tagEditor
(
'
addTag
'
,
item
.
name
);
});
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}});
systemCommonUtil
.
userReturnList
=
[].
concat
(
userList
);
systemCommonUtil
.
chooseOrNotMy
=
"
1
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
2
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
// 重置数据
userList
=
[].
concat
(
systemCommonUtil
.
tagEditorResetData
(
'
assetAdmin
'
,
userReturnList
));
});
});
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
(){
...
...
admin-assistant/src/main/resources/template/js/assetArticles/assetArticlesEdit.js
浏览文件 @
768d98db
var
userList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
userReturnList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
chooseOrNotMy
=
"
1
"
;
//人员列表中是否包含自己--1.包含;其他参数不包含
var
chooseOrNotEmail
=
"
2
"
;
//人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
var
checkType
=
"
2
"
;
//人员选择类型,1.多选;其他。单选
// 用品信息
layui
.
config
({
base
:
basePath
,
...
...
@@ -103,28 +98,14 @@ layui.config({
// 管理人员选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#userNameSelPeople
"
,
function
(
e
){
userReturnList
=
[].
concat
(
userList
);
_openNewWindows
({
url
:
"
../../tpl/common/sysusersel.html
"
,
title
:
"
人员选择
"
,
pageId
:
"
sysuserselpage
"
,
area
:
[
'
80vw
'
,
'
80vh
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
// 移除所有tag
var
tags
=
$
(
'
#assetAdmin
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
;
for
(
i
=
0
;
i
<
tags
.
length
;
i
++
)
{
$
(
'
#assetAdmin
'
).
tagEditor
(
'
removeTag
'
,
tags
[
i
]);
}
userList
=
[].
concat
(
userReturnList
);
// 添加新的tag
$
.
each
(
userList
,
function
(
i
,
item
){
$
(
'
#assetAdmin
'
).
tagEditor
(
'
addTag
'
,
item
.
name
);
});
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}});
systemCommonUtil
.
userReturnList
=
[].
concat
(
userList
);
systemCommonUtil
.
chooseOrNotMy
=
"
1
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
2
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
// 重置数据
userList
=
[].
concat
(
systemCommonUtil
.
tagEditorResetData
(
'
assetAdmin
'
,
userReturnList
));
});
});
$
(
"
body
"
).
on
(
"
click
"
,
"
.enclosureItem
"
,
function
(){
...
...
admin-assistant/src/main/resources/template/js/assetManage/assetManageAdd.js
浏览文件 @
768d98db
var
userList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
employeeuserList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
userReturnList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
chooseOrNotMy
=
"
1
"
;
//人员列表中是否包含自己--1.包含;其他参数不包含
var
chooseOrNotEmail
=
"
2
"
;
//人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
var
checkType
=
"
2
"
;
//人员选择类型,1.多选;其他。单选
// 资产信息
layui
.
config
({
...
...
@@ -141,28 +137,14 @@ layui.config({
});
//资产管理人选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#userNameSelPeople
"
,
function
(
e
){
userReturnList
=
[].
concat
(
userList
);
_openNewWindows
({
url
:
"
../../tpl/common/sysusersel.html
"
,
title
:
"
人员选择
"
,
pageId
:
"
sysuserselpage
"
,
area
:
[
'
80vw
'
,
'
80vh
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
//移除所有tag
var
tags
=
$
(
'
#assetAdmin
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
;
for
(
i
=
0
;
i
<
tags
.
length
;
i
++
)
{
$
(
'
#assetAdmin
'
).
tagEditor
(
'
removeTag
'
,
tags
[
i
]);
}
userList
=
[].
concat
(
userReturnList
);
//添加新的tag
$
.
each
(
userList
,
function
(
i
,
item
){
$
(
'
#assetAdmin
'
).
tagEditor
(
'
addTag
'
,
item
.
name
);
});
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}});
systemCommonUtil
.
userReturnList
=
[].
concat
(
userList
);
systemCommonUtil
.
chooseOrNotMy
=
"
1
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
2
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
// 重置数据
userList
=
[].
concat
(
systemCommonUtil
.
tagEditorResetData
(
'
assetAdmin
'
,
userReturnList
));
});
});
//资产领用人
$
(
'
#employeeId
'
).
tagEditor
({
...
...
@@ -184,28 +166,14 @@ layui.config({
});
//资产领用人选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#employeePeople
"
,
function
(
e
){
userReturnList
=
[].
concat
(
employeeuserList
);
_openNewWindows
({
url
:
"
../../tpl/common/sysusersel.html
"
,
title
:
"
人员选择
"
,
pageId
:
"
sysuserselpage
"
,
area
:
[
'
80vw
'
,
'
80vh
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
//移除所有tag
var
tags
=
$
(
'
#employeeId
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
;
for
(
i
=
0
;
i
<
tags
.
length
;
i
++
)
{
$
(
'
#employeeId
'
).
tagEditor
(
'
removeTag
'
,
tags
[
i
]);
}
employeeuserList
=
[].
concat
(
userReturnList
);
//添加新的tag
$
.
each
(
employeeuserList
,
function
(
i
,
item
){
$
(
'
#employeeId
'
).
tagEditor
(
'
addTag
'
,
item
.
name
);
});
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}});
systemCommonUtil
.
userReturnList
=
[].
concat
(
employeeuserList
);
systemCommonUtil
.
chooseOrNotMy
=
"
1
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
2
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
// 重置数据
employeeuserList
=
[].
concat
(
systemCommonUtil
.
tagEditorResetData
(
'
employeeId
'
,
userReturnList
));
});
});
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
(){
...
...
admin-assistant/src/main/resources/template/js/assetManage/assetManageEdit.js
浏览文件 @
768d98db
var
userList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
employeeuserList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
userReturnList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
chooseOrNotMy
=
"
1
"
;
//人员列表中是否包含自己--1.包含;其他参数不包含
var
chooseOrNotEmail
=
"
2
"
;
//人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
var
checkType
=
"
2
"
;
//人员选择类型,1.多选;其他。单选
// 资产信息
layui
.
config
({
...
...
@@ -193,63 +189,35 @@ layui.config({
}
});
//管理人员选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#userNameSelPeople
"
,
function
(
e
){
userReturnList
=
[].
concat
(
userList
);
_openNewWindows
({
url
:
"
../../tpl/common/sysusersel.html
"
,
title
:
"
人员选择
"
,
pageId
:
"
sysuserselpage
"
,
area
:
[
'
80vw
'
,
'
80vh
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
//移除所有tag
var
tags
=
$
(
'
#assetAdmin
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
;
for
(
i
=
0
;
i
<
tags
.
length
;
i
++
)
{
$
(
'
#assetAdmin
'
).
tagEditor
(
'
removeTag
'
,
tags
[
i
]);
}
userList
=
[].
concat
(
userReturnList
);
//添加新的tag
$
.
each
(
userList
,
function
(
i
,
item
){
$
(
'
#assetAdmin
'
).
tagEditor
(
'
addTag
'
,
item
.
name
);
});
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}});
// 管理人员选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#userNameSelPeople
"
,
function
(
e
)
{
systemCommonUtil
.
userReturnList
=
[].
concat
(
userList
);
systemCommonUtil
.
chooseOrNotMy
=
"
1
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
2
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
// 重置数据
userList
=
[].
concat
(
systemCommonUtil
.
tagEditorResetData
(
'
assetAdmin
'
,
userReturnList
));
});
});
//领用人选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#employeePeople
"
,
function
(
e
){
userReturnList
=
[].
concat
(
employeeuserList
);
_openNewWindows
({
url
:
"
../../tpl/common/sysusersel.html
"
,
title
:
"
人员选择
"
,
pageId
:
"
sysuserselpage
"
,
area
:
[
'
80vw
'
,
'
80vh
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
//移除所有tag
var
tags
=
$
(
'
#employeeId
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
;
for
(
i
=
0
;
i
<
tags
.
length
;
i
++
)
{
$
(
'
#employeeId
'
).
tagEditor
(
'
removeTag
'
,
tags
[
i
]);
}
employeeuserList
=
[].
concat
(
userReturnList
);
//添加新的tag
$
.
each
(
employeeuserList
,
function
(
i
,
item
){
$
(
'
#employeeId
'
).
tagEditor
(
'
addTag
'
,
item
.
name
);
});
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}});
// 领用人选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#employeePeople
"
,
function
(
e
)
{
systemCommonUtil
.
userReturnList
=
[].
concat
(
employeeuserList
);
systemCommonUtil
.
chooseOrNotMy
=
"
1
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
2
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
// 重置数据
employeeuserList
=
[].
concat
(
systemCommonUtil
.
tagEditorResetData
(
'
employeeId
'
,
userReturnList
));
});
});
$
(
"
body
"
).
on
(
"
click
"
,
"
.enclosureItem
"
,
function
(){
$
(
"
body
"
).
on
(
"
click
"
,
"
.enclosureItem
"
,
function
()
{
download
(
fileBasePath
+
$
(
this
).
attr
(
"
rowpath
"
),
$
(
this
).
html
());
});
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
(){
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
()
{
parent
.
layer
.
close
(
index
);
});
});
...
...
admin-assistant/src/main/resources/template/js/conFerenceRoom/conFerenceRoomAdd.js
浏览文件 @
768d98db
var
userList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
userReturnList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
chooseOrNotMy
=
"
1
"
;
//人员列表中是否包含自己--1.包含;其他参数不包含
var
chooseOrNotEmail
=
"
2
"
;
//人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
var
checkType
=
"
2
"
;
//人员选择类型,1.多选;其他。单选
// 会议室信息
layui
.
config
({
base
:
basePath
,
...
...
@@ -91,28 +86,14 @@ layui.config({
// 会议室管理人选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#userNameSelPeople
"
,
function
(
e
){
userReturnList
=
[].
concat
(
userList
);
_openNewWindows
({
url
:
"
../../tpl/common/sysusersel.html
"
,
title
:
"
人员选择
"
,
pageId
:
"
sysuserselpage
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
//移除所有tag
var
tags
=
$
(
'
#roomAdmin
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
;
for
(
i
=
0
;
i
<
tags
.
length
;
i
++
)
{
$
(
'
#roomAdmin
'
).
tagEditor
(
'
removeTag
'
,
tags
[
i
]);
}
userList
=
[].
concat
(
userReturnList
);
//添加新的tag
$
.
each
(
userList
,
function
(
i
,
item
){
$
(
'
#roomAdmin
'
).
tagEditor
(
'
addTag
'
,
item
.
name
);
});
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}});
systemCommonUtil
.
userReturnList
=
[].
concat
(
userList
);
systemCommonUtil
.
chooseOrNotMy
=
"
1
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
2
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
// 重置数据
userList
=
[].
concat
(
systemCommonUtil
.
tagEditorResetData
(
'
roomAdmin
'
,
userReturnList
));
});
});
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
(){
...
...
admin-assistant/src/main/resources/template/js/conFerenceRoom/conFerenceRoomEdit.js
浏览文件 @
768d98db
var
userList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
userReturnList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
chooseOrNotMy
=
"
1
"
;
//人员列表中是否包含自己--1.包含;其他参数不包含
var
chooseOrNotEmail
=
"
2
"
;
//人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
var
checkType
=
"
2
"
;
//人员选择类型,1.多选;其他。单选
// 会议室信息
layui
.
config
({
base
:
basePath
,
...
...
@@ -120,28 +115,14 @@ layui.config({
// 管理人员选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#userNameSelPeople
"
,
function
(
e
){
userReturnList
=
[].
concat
(
userList
);
_openNewWindows
({
url
:
"
../../tpl/common/sysusersel.html
"
,
title
:
"
人员选择
"
,
pageId
:
"
sysuserselpage
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
//移除所有tag
var
tags
=
$
(
'
#roomAdmin
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
;
for
(
i
=
0
;
i
<
tags
.
length
;
i
++
)
{
$
(
'
#roomAdmin
'
).
tagEditor
(
'
removeTag
'
,
tags
[
i
]);
}
userList
=
[].
concat
(
userReturnList
);
//添加新的tag
$
.
each
(
userList
,
function
(
i
,
item
){
$
(
'
#roomAdmin
'
).
tagEditor
(
'
addTag
'
,
item
.
name
);
});
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}});
systemCommonUtil
.
userReturnList
=
[].
concat
(
userList
);
systemCommonUtil
.
chooseOrNotMy
=
"
1
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
2
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
// 重置数据
userList
=
[].
concat
(
systemCommonUtil
.
tagEditorResetData
(
'
roomAdmin
'
,
userReturnList
));
});
});
$
(
"
body
"
).
on
(
"
click
"
,
"
.enclosureItem
"
,
function
(){
...
...
admin-assistant/src/main/resources/template/js/licenceManage/licenceManageAdd.js
浏览文件 @
768d98db
var
userList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
userReturnList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
borrowList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
chooseOrNotMy
=
"
1
"
;
//人员列表中是否包含自己--1.包含;其他参数不包含
var
chooseOrNotEmail
=
"
2
"
;
//人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
var
checkType
=
"
2
"
;
//人员选择类型,1.多选;其他。单选
// 证照管理
layui
.
config
({
base
:
basePath
,
...
...
@@ -123,29 +118,15 @@ layui.config({
}
});
// 管理人选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#userNameSelPeople
"
,
function
(
e
){
userReturnList
=
[].
concat
(
userList
);
_openNewWindows
({
url
:
"
../../tpl/common/sysusersel.html
"
,
title
:
"
人员选择
"
,
pageId
:
"
sysuserselpage
"
,
area
:
[
'
80vw
'
,
'
80vh
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
//移除所有tag
var
tags
=
$
(
'
#licenceAdmin
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
;
for
(
i
=
0
;
i
<
tags
.
length
;
i
++
)
{
$
(
'
#licenceAdmin
'
).
tagEditor
(
'
removeTag
'
,
tags
[
i
]);
}
userList
=
[].
concat
(
userReturnList
);
//添加新的tag
$
.
each
(
userList
,
function
(
i
,
item
){
$
(
'
#licenceAdmin
'
).
tagEditor
(
'
addTag
'
,
item
.
name
);
});
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}});
$
(
"
body
"
).
on
(
"
click
"
,
"
#userNameSelPeople
"
,
function
(
e
)
{
systemCommonUtil
.
userReturnList
=
[].
concat
(
userList
);
systemCommonUtil
.
chooseOrNotMy
=
"
1
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
2
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
// 重置数据
userList
=
[].
concat
(
systemCommonUtil
.
tagEditorResetData
(
'
licenceAdmin
'
,
userReturnList
));
});
});
// 借用人
...
...
@@ -167,32 +148,18 @@ layui.config({
}
});
// 借用人选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#borrowNameSelPeople
"
,
function
(
e
){
userReturnList
=
[].
concat
(
borrowList
);
_openNewWindows
({
url
:
"
../../tpl/common/sysusersel.html
"
,
title
:
"
人员选择
"
,
pageId
:
"
sysuserselpage
"
,
area
:
[
'
80vw
'
,
'
80vh
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
//移除所有tag
var
tags
=
$
(
'
#borrowId
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
;
for
(
i
=
0
;
i
<
tags
.
length
;
i
++
)
{
$
(
'
#borrowId
'
).
tagEditor
(
'
removeTag
'
,
tags
[
i
]);
}
borrowList
=
[].
concat
(
userReturnList
);
//添加新的tag
$
.
each
(
borrowList
,
function
(
i
,
item
){
$
(
'
#borrowId
'
).
tagEditor
(
'
addTag
'
,
item
.
name
);
});
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}});
$
(
"
body
"
).
on
(
"
click
"
,
"
#borrowNameSelPeople
"
,
function
(
e
)
{
systemCommonUtil
.
userReturnList
=
[].
concat
(
borrowList
);
systemCommonUtil
.
chooseOrNotMy
=
"
1
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
2
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
// 重置数据
borrowList
=
[].
concat
(
systemCommonUtil
.
tagEditorResetData
(
'
borrowId
'
,
userReturnList
));
});
});
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
(){
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
()
{
parent
.
layer
.
close
(
index
);
});
});
...
...
admin-assistant/src/main/resources/template/js/licenceManage/licenceManageEdit.js
浏览文件 @
768d98db
var
userList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
userReturnList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
borrowList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
chooseOrNotMy
=
"
1
"
;
//人员列表中是否包含自己--1.包含;其他参数不包含
var
chooseOrNotEmail
=
"
2
"
;
//人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
var
checkType
=
"
2
"
;
//人员选择类型,1.多选;其他。单选
// 证照管理
layui
.
config
({
base
:
basePath
,
...
...
@@ -184,58 +179,30 @@ layui.config({
});
// 管理人员选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#userNameSelPeople
"
,
function
(
e
){
userReturnList
=
[].
concat
(
userList
);
_openNewWindows
({
url
:
"
../../tpl/common/sysusersel.html
"
,
title
:
"
人员选择
"
,
pageId
:
"
sysuserselpage
"
,
area
:
[
'
80vw
'
,
'
80vh
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
// 移除所有tag
var
tags
=
$
(
'
#licenceAdmin
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
;
for
(
i
=
0
;
i
<
tags
.
length
;
i
++
)
{
$
(
'
#licenceAdmin
'
).
tagEditor
(
'
removeTag
'
,
tags
[
i
]);
}
userList
=
[].
concat
(
userReturnList
);
// 添加新的tag
$
.
each
(
userList
,
function
(
i
,
item
){
$
(
'
#licenceAdmin
'
).
tagEditor
(
'
addTag
'
,
item
.
name
);
});
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}});
$
(
"
body
"
).
on
(
"
click
"
,
"
#userNameSelPeople
"
,
function
(
e
)
{
systemCommonUtil
.
userReturnList
=
[].
concat
(
userList
);
systemCommonUtil
.
chooseOrNotMy
=
"
1
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
2
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
// 重置数据
userList
=
[].
concat
(
systemCommonUtil
.
tagEditorResetData
(
'
licenceAdmin
'
,
userReturnList
));
});
});
// 借用人员选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#borrowNameSelPeople
"
,
function
(
e
){
userReturnList
=
[].
concat
(
borrowList
);
_openNewWindows
({
url
:
"
../../tpl/common/sysusersel.html
"
,
title
:
"
人员选择
"
,
pageId
:
"
sysuserselpage
"
,
area
:
[
'
80vw
'
,
'
80vh
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
// 移除所有tag
var
tags
=
$
(
'
#borrowId
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
;
for
(
i
=
0
;
i
<
tags
.
length
;
i
++
)
{
$
(
'
#borrowId
'
).
tagEditor
(
'
removeTag
'
,
tags
[
i
]);
}
borrowList
=
[].
concat
(
userReturnList
);
// 添加新的tag
$
.
each
(
borrowList
,
function
(
i
,
item
){
$
(
'
#borrowId
'
).
tagEditor
(
'
addTag
'
,
item
.
name
);
});
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}});
$
(
"
body
"
).
on
(
"
click
"
,
"
#borrowNameSelPeople
"
,
function
(
e
)
{
systemCommonUtil
.
userReturnList
=
[].
concat
(
borrowList
);
systemCommonUtil
.
chooseOrNotMy
=
"
1
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
2
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
// 重置数据
borrowList
=
[].
concat
(
systemCommonUtil
.
tagEditorResetData
(
'
borrowId
'
,
userReturnList
));
});
});
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
(){
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
()
{
parent
.
layer
.
close
(
index
);
});
});
...
...
admin-assistant/src/main/resources/template/js/sealManage/sealManageAdd.js
浏览文件 @
768d98db
var
userList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
borrowuserList
=
new
Array
();
var
userReturnList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
chooseOrNotMy
=
"
1
"
;
//人员列表中是否包含自己--1.包含;其他参数不包含
var
chooseOrNotEmail
=
"
2
"
;
//人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
var
checkType
=
"
2
"
;
//人员选择类型,1.多选;其他。单选
// 印章信息
layui
.
config
({
...
...
@@ -79,29 +75,15 @@ layui.config({
}
});
// 管理人选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#userNameSelPeople
"
,
function
(
e
){
userReturnList
=
[].
concat
(
userList
);
_openNewWindows
({
url
:
"
../../tpl/common/sysusersel.html
"
,
title
:
"
人员选择
"
,
pageId
:
"
sysuserselpage
"
,
area
:
[
'
80vw
'
,
'
80vh
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
//移除所有tag
var
tags
=
$
(
'
#sealAdmin
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
;
for
(
i
=
0
;
i
<
tags
.
length
;
i
++
)
{
$
(
'
#sealAdmin
'
).
tagEditor
(
'
removeTag
'
,
tags
[
i
]);
}
userList
=
[].
concat
(
userReturnList
);
//添加新的tag
$
.
each
(
userList
,
function
(
i
,
item
){
$
(
'
#sealAdmin
'
).
tagEditor
(
'
addTag
'
,
item
.
name
);
});
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}});
$
(
"
body
"
).
on
(
"
click
"
,
"
#userNameSelPeople
"
,
function
(
e
)
{
systemCommonUtil
.
userReturnList
=
[].
concat
(
userList
);
systemCommonUtil
.
chooseOrNotMy
=
"
1
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
2
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
// 重置数据
userList
=
[].
concat
(
systemCommonUtil
.
tagEditorResetData
(
'
sealAdmin
'
,
userReturnList
));
});
});
// 借用人
...
...
@@ -123,32 +105,18 @@ layui.config({
}
});
// 借用人选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#borrowPeople
"
,
function
(
e
){
userReturnList
=
[].
concat
(
borrowuserList
);
_openNewWindows
({
url
:
"
../../tpl/common/sysusersel.html
"
,
title
:
"
人员选择
"
,
pageId
:
"
borrowpage
"
,
area
:
[
'
80vw
'
,
'
80vh
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
//移除所有tag
var
tags
=
$
(
'
#borrowId
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
;
for
(
i
=
0
;
i
<
tags
.
length
;
i
++
)
{
$
(
'
#borrowId
'
).
tagEditor
(
'
removeTag
'
,
tags
[
i
]);
}
borrowuserList
=
[].
concat
(
userReturnList
);
//添加新的tag
$
.
each
(
borrowuserList
,
function
(
i
,
item
){
$
(
'
#borrowId
'
).
tagEditor
(
'
addTag
'
,
item
.
name
);
});
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}});
$
(
"
body
"
).
on
(
"
click
"
,
"
#borrowPeople
"
,
function
(
e
)
{
systemCommonUtil
.
userReturnList
=
[].
concat
(
borrowuserList
);
systemCommonUtil
.
chooseOrNotMy
=
"
1
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
2
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
// 重置数据
borrowuserList
=
[].
concat
(
systemCommonUtil
.
tagEditorResetData
(
'
borrowId
'
,
userReturnList
));
});
});
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
(){
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
()
{
parent
.
layer
.
close
(
index
);
});
});
...
...
admin-assistant/src/main/resources/template/js/sealManage/sealManageEdit.js
浏览文件 @
768d98db
var
userList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
userReturnList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
borrowuserList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
chooseOrNotMy
=
"
1
"
;
//人员列表中是否包含自己--1.包含;其他参数不包含
var
chooseOrNotEmail
=
"
2
"
;
//人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
var
checkType
=
"
2
"
;
//人员选择类型,1.多选;其他。单选
// 印章信息
layui
.
config
({
...
...
@@ -130,54 +126,26 @@ layui.config({
// 管理人员选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#userNameSelPeople
"
,
function
(
e
){
userReturnList
=
[].
concat
(
userList
);
_openNewWindows
({
url
:
"
../../tpl/common/sysusersel.html
"
,
title
:
"
人员选择
"
,
pageId
:
"
sysuserselpage
"
,
area
:
[
'
80vw
'
,
'
80vh
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
//移除所有tag
var
tags
=
$
(
'
#sealAdmin
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
;
for
(
i
=
0
;
i
<
tags
.
length
;
i
++
)
{
$
(
'
#sealAdmin
'
).
tagEditor
(
'
removeTag
'
,
tags
[
i
]);
}
userList
=
[].
concat
(
userReturnList
);
//添加新的tag
$
.
each
(
userList
,
function
(
i
,
item
){
$
(
'
#sealAdmin
'
).
tagEditor
(
'
addTag
'
,
item
.
name
);
});
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}});
systemCommonUtil
.
userReturnList
=
[].
concat
(
userList
);
systemCommonUtil
.
chooseOrNotMy
=
"
1
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
2
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
// 重置数据
userList
=
[].
concat
(
systemCommonUtil
.
tagEditorResetData
(
'
sealAdmin
'
,
userReturnList
));
});
});
// 借用人选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#borrowPeople
"
,
function
(
e
){
userReturnList
=
[].
concat
(
borrowuserList
);
_openNewWindows
({
url
:
"
../../tpl/common/sysusersel.html
"
,
title
:
"
人员选择
"
,
pageId
:
"
sysuserselpage
"
,
area
:
[
'
80vw
'
,
'
80vh
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
//移除所有tag
var
tags
=
$
(
'
#borrowId
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
;
for
(
i
=
0
;
i
<
tags
.
length
;
i
++
)
{
$
(
'
#borrowId
'
).
tagEditor
(
'
removeTag
'
,
tags
[
i
]);
}
borrowuserList
=
[].
concat
(
userReturnList
);
//添加新的tag
$
.
each
(
borrowuserList
,
function
(
i
,
item
){
$
(
'
#borrowId
'
).
tagEditor
(
'
addTag
'
,
item
.
name
);
});
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}});
systemCommonUtil
.
userReturnList
=
[].
concat
(
borrowuserList
);
systemCommonUtil
.
chooseOrNotMy
=
"
1
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
2
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
// 重置数据
borrowuserList
=
[].
concat
(
systemCommonUtil
.
tagEditorResetData
(
'
borrowId
'
,
userReturnList
));
});
});
$
(
"
body
"
).
on
(
"
click
"
,
"
.enclosureItem
"
,
function
(){
...
...
admin-assistant/src/main/resources/template/js/vehicleManage/vehicleManageAdd.js
浏览文件 @
768d98db
var
userList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
userReturnList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
chooseOrNotMy
=
"
1
"
;
//人员列表中是否包含自己--1.包含;其他参数不包含
var
chooseOrNotEmail
=
"
2
"
;
//人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
var
checkType
=
"
2
"
;
//人员选择类型,1.多选;其他。单选
// 车辆信息
layui
.
config
({
base
:
basePath
,
...
...
@@ -134,36 +129,22 @@ layui.config({
}
});
// 车辆管理人选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#userNameSelPeople
"
,
function
(
e
){
userReturnList
=
[].
concat
(
userList
);
_openNewWindows
({
url
:
"
../../tpl/common/sysusersel.html
"
,
title
:
"
人员选择
"
,
pageId
:
"
sysuserselpage
"
,
area
:
[
'
600px
'
,
'
500px
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
// 移除所有tag
var
tags
=
$
(
'
#vehicleAdmin
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
;
for
(
i
=
0
;
i
<
tags
.
length
;
i
++
)
{
$
(
'
#vehicleAdmin
'
).
tagEditor
(
'
removeTag
'
,
tags
[
i
]);
}
userList
=
[].
concat
(
userReturnList
);
// 添加新的tag
$
.
each
(
userList
,
function
(
i
,
item
){
$
(
'
#vehicleAdmin
'
).
tagEditor
(
'
addTag
'
,
item
.
name
);
});
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}});
$
(
"
body
"
).
on
(
"
click
"
,
"
#userNameSelPeople
"
,
function
(
e
)
{
systemCommonUtil
.
userReturnList
=
[].
concat
(
userList
);
systemCommonUtil
.
chooseOrNotMy
=
"
1
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
2
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
// 重置数据
userList
=
[].
concat
(
systemCommonUtil
.
tagEditorResetData
(
'
vehicleAdmin
'
,
userReturnList
));
});
});
$
(
"
body
"
).
on
(
"
click
"
,
"
.enclosureItem
"
,
function
(){
$
(
"
body
"
).
on
(
"
click
"
,
"
.enclosureItem
"
,
function
()
{
download
(
fileBasePath
+
$
(
this
).
attr
(
"
rowpath
"
),
$
(
this
).
html
());
});
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
(){
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
()
{
parent
.
layer
.
close
(
index
);
});
});
...
...
admin-assistant/src/main/resources/template/js/vehicleManage/vehicleManageEdit.js
浏览文件 @
768d98db
var
userList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
userReturnList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
chooseOrNotMy
=
"
1
"
;
//人员列表中是否包含自己--1.包含;其他参数不包含
var
chooseOrNotEmail
=
"
2
"
;
//人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
var
checkType
=
"
2
"
;
//人员选择类型,1.多选;其他。单选
// 车辆信息
layui
.
config
({
base
:
basePath
,
...
...
@@ -153,28 +148,14 @@ layui.config({
// 管理人员选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#userNameSelPeople
"
,
function
(
e
){
userReturnList
=
[].
concat
(
userList
);
_openNewWindows
({
url
:
"
../../tpl/common/sysusersel.html
"
,
title
:
"
人员选择
"
,
pageId
:
"
sysuserselpage
"
,
area
:
[
'
600px
'
,
'
500px
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
// 移除所有tag
var
tags
=
$
(
'
#vehicleAdmin
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
;
for
(
i
=
0
;
i
<
tags
.
length
;
i
++
)
{
$
(
'
#vehicleAdmin
'
).
tagEditor
(
'
removeTag
'
,
tags
[
i
]);
}
userList
=
[].
concat
(
userReturnList
);
// 添加新的tag
$
.
each
(
userList
,
function
(
i
,
item
){
$
(
'
#vehicleAdmin
'
).
tagEditor
(
'
addTag
'
,
item
.
name
);
});
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}});
systemCommonUtil
.
userReturnList
=
[].
concat
(
userList
);
systemCommonUtil
.
chooseOrNotMy
=
"
1
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
2
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
// 重置数据
userList
=
[].
concat
(
systemCommonUtil
.
tagEditorResetData
(
'
vehicleAdmin
'
,
userReturnList
));
});
});
$
(
"
body
"
).
on
(
"
click
"
,
"
.enclosureItem
"
,
function
(){
...
...
boss/src/main/resources/template/js/bossInterviewArrangement/arrangeInterviewer.js
浏览文件 @
768d98db
...
...
@@ -78,13 +78,13 @@ layui.config({
systemCommonUtil
.
chooseOrNotMy
=
"
1
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
2
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
staffChoose
List
){
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturn
List
){
// 移除所有tag
var
tags
=
$
(
'
#interviewer
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
;
for
(
i
=
0
;
i
<
tags
.
length
;
i
++
)
{
$
(
'
#interviewer
'
).
tagEditor
(
'
removeTag
'
,
tags
[
i
]);
}
interviewer
=
[].
concat
(
staffChoose
List
);
interviewer
=
[].
concat
(
userReturn
List
);
// 添加新的tag
$
.
each
(
interviewer
,
function
(
i
,
item
){
$
(
'
#interviewer
'
).
tagEditor
(
'
addTag
'
,
item
.
name
);
...
...
boss/src/main/resources/template/js/bossInterviewee/bossIntervieweeAdd.js
浏览文件 @
768d98db
...
...
@@ -71,13 +71,13 @@ layui.config({
systemCommonUtil
.
chooseOrNotMy
=
"
1
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
2
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
staffChoose
List
){
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturn
List
){
// 移除所有tag
var
tags
=
$
(
'
#chargePersonId
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
;
for
(
i
=
0
;
i
<
tags
.
length
;
i
++
)
{
$
(
'
#chargePersonId
'
).
tagEditor
(
'
removeTag
'
,
tags
[
i
]);
}
chargePerson
=
[].
concat
(
staffChoose
List
);
chargePerson
=
[].
concat
(
userReturn
List
);
// 添加新的tag
$
.
each
(
chargePerson
,
function
(
i
,
item
){
$
(
'
#chargePersonId
'
).
tagEditor
(
'
addTag
'
,
item
.
name
);
...
...
boss/src/main/resources/template/js/bossInterviewee/bossIntervieweeEdit.js
浏览文件 @
768d98db
...
...
@@ -94,13 +94,13 @@ layui.config({
systemCommonUtil
.
chooseOrNotMy
=
"
1
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
2
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
staffChoose
List
){
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturn
List
){
// 移除所有tag
var
tags
=
$
(
'
#chargePersonId
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
;
for
(
i
=
0
;
i
<
tags
.
length
;
i
++
)
{
$
(
'
#chargePersonId
'
).
tagEditor
(
'
removeTag
'
,
tags
[
i
]);
}
chargePerson
=
[].
concat
(
staffChoose
List
);
chargePerson
=
[].
concat
(
userReturn
List
);
// 添加新的tag
$
.
each
(
chargePerson
,
function
(
i
,
item
){
$
(
'
#chargePersonId
'
).
tagEditor
(
'
addTag
'
,
item
.
name
);
...
...
boss/src/main/resources/template/js/bossPersonRequire/bossPersonRequirePersonLiable.js
浏览文件 @
768d98db
...
...
@@ -82,13 +82,13 @@ layui.config({
systemCommonUtil
.
chooseOrNotMy
=
"
1
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
1
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
staffChoose
List
){
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturn
List
){
// 移除所有tag
var
tags
=
$
(
'
#personLiable
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
;
for
(
i
=
0
;
i
<
tags
.
length
;
i
++
)
{
$
(
'
#personLiable
'
).
tagEditor
(
'
removeTag
'
,
tags
[
i
]);
}
personLiable
=
[].
concat
(
staffChoose
List
);
personLiable
=
[].
concat
(
userReturn
List
);
// 添加新的tag
$
.
each
(
personLiable
,
function
(
i
,
item
){
$
(
'
#personLiable
'
).
tagEditor
(
'
addTag
'
,
item
.
name
);
...
...
crm/src/main/resources/template/js/crmOpportunity/crmopportunityadd.js
浏览文件 @
768d98db
...
...
@@ -3,11 +3,6 @@ var responsIdList = new Array();// 商机负责人返回的集合或者进行回
var
partIdList
=
new
Array
();
// 商机参与人返回的集合或者进行回显的集合
var
followIdList
=
new
Array
();
// 商机关注人返回的集合或者进行回显的集合
var
userReturnList
=
new
Array
();
// 选择用户返回的集合或者进行回显的集合
var
chooseOrNotMy
=
"
1
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
var
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
var
checkType
=
"
1
"
;
// 人员选择类型,1.多选;其他。单选
// 已经选择的客户信息
var
customerMation
=
{};
...
...
@@ -156,29 +151,14 @@ layui.config({
});
// 商机负责人选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#responsIdSelPeople
"
,
function
(
e
){
userReturnList
=
[].
concat
(
responsIdList
);
checkType
=
"
2
"
;
//人员选择类型,1.多选;其他。单选
_openNewWindows
({
url
:
"
../../tpl/common/sysusersel.html
"
,
title
:
"
人员选择
"
,
pageId
:
"
sysuserselpage
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
//移除所有tag
var
tags
=
$
(
'
#responsId
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
;
for
(
i
=
0
;
i
<
tags
.
length
;
i
++
)
{
$
(
'
#responsId
'
).
tagEditor
(
'
removeTag
'
,
tags
[
i
]);
}
responsIdList
=
[].
concat
(
userReturnList
);
//添加新的tag
$
.
each
(
responsIdList
,
function
(
i
,
item
){
$
(
'
#responsId
'
).
tagEditor
(
'
addTag
'
,
item
.
name
);
});
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}});
systemCommonUtil
.
userReturnList
=
[].
concat
(
responsIdList
);
systemCommonUtil
.
chooseOrNotMy
=
"
1
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
2
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
// 重置数据
responsIdList
=
[].
concat
(
systemCommonUtil
.
tagEditorResetData
(
'
responsId
'
,
userReturnList
));
});
});
// 商机参与人
...
...
@@ -201,29 +181,14 @@ layui.config({
});
// 商机参与人选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#partIdSelPeople
"
,
function
(
e
){
userReturnList
=
[].
concat
(
partIdList
);
checkType
=
"
1
"
;
//人员选择类型,1.多选;其他。单选
_openNewWindows
({
url
:
"
../../tpl/common/sysusersel.html
"
,
title
:
"
人员选择
"
,
pageId
:
"
sysuserselpage
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
//移除所有tag
var
tags
=
$
(
'
#partId
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
;
for
(
i
=
0
;
i
<
tags
.
length
;
i
++
)
{
$
(
'
#partId
'
).
tagEditor
(
'
removeTag
'
,
tags
[
i
]);
}
partIdList
=
[].
concat
(
userReturnList
);
//添加新的tag
$
.
each
(
partIdList
,
function
(
i
,
item
){
$
(
'
#partId
'
).
tagEditor
(
'
addTag
'
,
item
.
name
);
});
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}});
systemCommonUtil
.
userReturnList
=
[].
concat
(
partIdList
);
systemCommonUtil
.
chooseOrNotMy
=
"
1
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
1
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
// 重置数据
partIdList
=
[].
concat
(
systemCommonUtil
.
tagEditorResetData
(
'
partId
'
,
userReturnList
));
});
});
// 商机关注人
...
...
@@ -246,29 +211,14 @@ layui.config({
});
// 商机关注人选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#followIdSelPeople
"
,
function
(
e
){
checkType
=
"
1
"
;
//人员选择类型,1.多选;其他。单选
userReturnList
=
[].
concat
(
followIdList
);
_openNewWindows
({
url
:
"
../../tpl/common/sysusersel.html
"
,
title
:
"
人员选择
"
,
pageId
:
"
sysuserselpage
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
//移除所有tag
var
tags
=
$
(
'
#followId
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
;
for
(
i
=
0
;
i
<
tags
.
length
;
i
++
)
{
$
(
'
#followId
'
).
tagEditor
(
'
removeTag
'
,
tags
[
i
]);
}
followIdList
=
[].
concat
(
userReturnList
);
//添加新的tag
$
.
each
(
followIdList
,
function
(
i
,
item
){
$
(
'
#followId
'
).
tagEditor
(
'
addTag
'
,
item
.
name
);
});
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}});
systemCommonUtil
.
userReturnList
=
[].
concat
(
followIdList
);
systemCommonUtil
.
chooseOrNotMy
=
"
1
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
1
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
// 重置数据
followIdList
=
[].
concat
(
systemCommonUtil
.
tagEditorResetData
(
'
followId
'
,
userReturnList
));
});
});
// 客户选择
...
...
crm/src/main/resources/template/js/crmOpportunity/crmopportunityedit.js
浏览文件 @
768d98db
...
...
@@ -3,11 +3,6 @@ var responsIdList = new Array();// 商机负责人返回的集合或者进行回
var
partIdList
=
new
Array
();
// 商机参与人返回的集合或者进行回显的集合
var
followIdList
=
new
Array
();
// 商机关注人返回的集合或者进行回显的集合
var
userReturnList
=
new
Array
();
// 选择用户返回的集合或者进行回显的集合
var
chooseOrNotMy
=
"
1
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
var
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
var
checkType
=
"
1
"
;
// 人员选择类型,1.多选;其他。单选
// 已经选择的客户信息
var
customerMation
=
{};
...
...
@@ -26,9 +21,6 @@ layui.config({
textool
=
layui
.
textool
;
var
selOption
=
getFileContent
(
'
tpl/template/select-option.tpl
'
);
var
partId
=
""
;
//商机参与人id
var
followId
=
""
;
//商机关注人id
showGrid
({
id
:
"
showForm
"
,
url
:
flowableBasePath
+
"
opportunity004
"
,
...
...
@@ -106,29 +98,14 @@ layui.config({
}
});
$
(
"
body
"
).
on
(
"
click
"
,
"
#responsIdSelPeople
"
,
function
(
e
){
userReturnList
=
[].
concat
(
responsIdList
);
checkType
=
"
2
"
;
// 人员选择类型,1.多选;其他。单选
_openNewWindows
({
url
:
"
../../tpl/common/sysusersel.html
"
,
title
:
"
人员选择
"
,
pageId
:
"
sysuserselpage
"
,
area
:
[
'
80vw
'
,
'
80vh
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
// 移除所有tag
var
tags
=
$
(
'
#responsId
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
;
for
(
i
=
0
;
i
<
tags
.
length
;
i
++
)
{
$
(
'
#responsId
'
).
tagEditor
(
'
removeTag
'
,
tags
[
i
]);
}
responsIdList
=
[].
concat
(
userReturnList
);
// 添加新的tag
$
.
each
(
responsIdList
,
function
(
i
,
item
){
$
(
'
#responsId
'
).
tagEditor
(
'
addTag
'
,
item
.
name
);
});
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}});
systemCommonUtil
.
userReturnList
=
[].
concat
(
responsIdList
);
systemCommonUtil
.
chooseOrNotMy
=
"
1
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
2
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
// 重置数据
responsIdList
=
[].
concat
(
systemCommonUtil
.
tagEditorResetData
(
'
responsId
'
,
userReturnList
));
});
});
/*商机负责人选择结束*/
...
...
@@ -156,29 +133,14 @@ layui.config({
}
});
$
(
"
body
"
).
on
(
"
click
"
,
"
#partIdSelPeople
"
,
function
(
e
){
userReturnList
=
[].
concat
(
partIdList
);
checkType
=
"
1
"
;
// 人员选择类型,1.多选;其他。单选
_openNewWindows
({
url
:
"
../../tpl/common/sysusersel.html
"
,
title
:
"
人员选择
"
,
pageId
:
"
sysuserselpage
"
,
area
:
[
'
80vw
'
,
'
80vh
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
// 移除所有tag
var
tags
=
$
(
'
#partId
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
;
for
(
i
=
0
;
i
<
tags
.
length
;
i
++
)
{
$
(
'
#partId
'
).
tagEditor
(
'
removeTag
'
,
tags
[
i
]);
}
partIdList
=
[].
concat
(
userReturnList
);
// 添加新的tag
$
.
each
(
partIdList
,
function
(
i
,
item
){
$
(
'
#partId
'
).
tagEditor
(
'
addTag
'
,
item
.
name
);
});
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}});
systemCommonUtil
.
userReturnList
=
[].
concat
(
partIdList
);
systemCommonUtil
.
chooseOrNotMy
=
"
1
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
1
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
// 重置数据
partIdList
=
[].
concat
(
systemCommonUtil
.
tagEditorResetData
(
'
partId
'
,
userReturnList
));
});
});
/*商机参与人选择结束*/
...
...
@@ -206,29 +168,14 @@ layui.config({
}
});
$
(
"
body
"
).
on
(
"
click
"
,
"
#followIdSelPeople
"
,
function
(
e
){
userReturnList
=
[].
concat
(
followIdList
);
checkType
=
"
1
"
;
// 人员选择类型,1.多选;其他。单选
_openNewWindows
({
url
:
"
../../tpl/common/sysusersel.html
"
,
title
:
"
人员选择
"
,
pageId
:
"
sysuserselpage
"
,
area
:
[
'
80vw
'
,
'
80vh
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
// 移除所有tag
var
tags
=
$
(
'
#followId
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
;
for
(
i
=
0
;
i
<
tags
.
length
;
i
++
)
{
$
(
'
#followId
'
).
tagEditor
(
'
removeTag
'
,
tags
[
i
]);
}
followIdList
=
[].
concat
(
userReturnList
);
// 添加新的tag
$
.
each
(
followIdList
,
function
(
i
,
item
){
$
(
'
#followId
'
).
tagEditor
(
'
addTag
'
,
item
.
name
);
});
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}});
systemCommonUtil
.
userReturnList
=
[].
concat
(
followIdList
);
systemCommonUtil
.
chooseOrNotMy
=
"
1
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
1
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
// 重置数据
followIdList
=
[].
concat
(
systemCommonUtil
.
tagEditorResetData
(
'
followId
'
,
userReturnList
));
});
});
/*商机关注人选择结束*/
form
.
render
();
...
...
@@ -301,6 +248,7 @@ layui.config({
if
(
partIdList
.
length
==
0
||
isNull
(
$
(
'
#partId
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
)){
params
.
partId
=
""
;
}
else
{
var
partId
=
""
;
$
.
each
(
partIdList
,
function
(
i
,
item
)
{
partId
+=
item
.
id
+
'
,
'
;
});
...
...
@@ -310,13 +258,14 @@ layui.config({
if
(
followIdList
.
length
==
0
||
isNull
(
$
(
'
#followId
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
)){
params
.
followId
=
""
;
}
else
{
var
followId
=
""
;
$
.
each
(
followIdList
,
function
(
i
,
item
)
{
followId
+=
item
.
id
+
'
,
'
;
});
params
.
followId
=
followId
;
}
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
opportunity012
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
opportunity012
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
}
else
{
...
...
@@ -326,7 +275,7 @@ layui.config({
}
// 客户选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#customMationSel
"
,
function
(
e
){
$
(
"
body
"
).
on
(
"
click
"
,
"
#customMationSel
"
,
function
(
e
)
{
_openNewWindows
({
url
:
"
../../tpl/customermanage/customerChoose.html
"
,
title
:
"
选择客户
"
,
...
...
crm/src/main/resources/template/js/crmcontractmanage/mycrmcontractadd.js
浏览文件 @
768d98db
var
userList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
userReturnList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
chooseOrNotMy
=
"
1
"
;
//人员列表中是否包含自己--1.包含;其他参数不包含
var
chooseOrNotEmail
=
"
2
"
;
//人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
var
checkType
=
"
1
"
;
//人员选择类型,1.多选;其他。单选
//已经选择的客户信息
var
customerMation
=
{};
...
...
@@ -84,28 +80,14 @@ layui.config({
});
// 关联人员选择选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#userNameSelPeople
"
,
function
(
e
){
userReturnList
=
[].
concat
(
userList
);
_openNewWindows
({
url
:
"
../../tpl/common/sysusersel.html
"
,
title
:
"
人员选择
"
,
pageId
:
"
sysuserselpage
"
,
area
:
[
'
80vw
'
,
'
80vh
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
// 移除所有tag
var
tags
=
$
(
'
#relationUserId
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
;
for
(
i
=
0
;
i
<
tags
.
length
;
i
++
)
{
$
(
'
#relationUserId
'
).
tagEditor
(
'
removeTag
'
,
tags
[
i
]);
}
userList
=
[].
concat
(
userReturnList
);
// 添加新的tag
$
.
each
(
userList
,
function
(
i
,
item
){
$
(
'
#relationUserId
'
).
tagEditor
(
'
addTag
'
,
item
.
name
);
});
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}});
systemCommonUtil
.
userReturnList
=
[].
concat
(
userList
);
systemCommonUtil
.
chooseOrNotMy
=
"
1
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
1
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
// 重置数据
userList
=
[].
concat
(
systemCommonUtil
.
tagEditorResetData
(
'
relationUserId
'
,
userReturnList
));
});
});
//客户选择
...
...
@@ -149,8 +131,8 @@ layui.config({
return
false
;
});
function
saveData
(
subType
,
approvalId
){
if
(
isNull
(
customerMation
.
id
)){
function
saveData
(
subType
,
approvalId
)
{
if
(
isNull
(
customerMation
.
id
))
{
winui
.
window
.
msg
(
"
请选择客户
"
,
{
icon
:
2
,
time
:
2000
});
return
false
;
}
...
...
@@ -188,7 +170,7 @@ layui.config({
});
params
.
relationUserId
=
relationUserId
;
}
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
mycrmcontract002
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
mycrmcontract002
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
...
...
crm/src/main/resources/template/js/crmcontractmanage/mycrmcontractedit.js
浏览文件 @
768d98db
var
userList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
userReturnList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
chooseOrNotMy
=
"
1
"
;
//人员列表中是否包含自己--1.包含;其他参数不包含
var
chooseOrNotEmail
=
"
2
"
;
//人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
var
checkType
=
"
1
"
;
//人员选择类型,1.多选;其他。单选
var
processInstanceId
=
""
;
//已经选择的客户信息
...
...
@@ -114,28 +110,14 @@ layui.config({
// 关联人员选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#userNameSelPeople
"
,
function
(
e
){
userReturnList
=
[].
concat
(
userList
);
_openNewWindows
({
url
:
"
../../tpl/common/sysusersel.html
"
,
title
:
"
人员选择
"
,
pageId
:
"
sysuserselpage
"
,
area
:
[
'
80vw
'
,
'
80vh
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
// 移除所有tag
var
tags
=
$
(
'
#relationUserId
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
;
for
(
i
=
0
;
i
<
tags
.
length
;
i
++
)
{
$
(
'
#relationUserId
'
).
tagEditor
(
'
removeTag
'
,
tags
[
i
]);
}
userList
=
[].
concat
(
userReturnList
);
// 添加新的tag
$
.
each
(
userList
,
function
(
i
,
item
){
$
(
'
#relationUserId
'
).
tagEditor
(
'
addTag
'
,
item
.
name
);
});
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}});
systemCommonUtil
.
userReturnList
=
[].
concat
(
userList
);
systemCommonUtil
.
chooseOrNotMy
=
"
1
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
1
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
// 重置数据
userList
=
[].
concat
(
systemCommonUtil
.
tagEditorResetData
(
'
relationUserId
'
,
userReturnList
));
});
});
// 客户选择
...
...
crm/src/main/resources/template/js/customermanage/customeradd.js
浏览文件 @
768d98db
var
userList
=
new
Array
();
// 选择用户返回的集合或者进行回显的集合
var
userReturnList
=
new
Array
();
// 选择用户返回的集合或者进行回显的集合
var
chooseOrNotMy
=
"
1
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
var
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
var
checkType
=
"
2
"
;
// 人员选择类型,1.多选;其他。单选
// 新增客户
layui
.
config
({
...
...
@@ -116,23 +112,18 @@ layui.config({
// 负责人选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#userNameSelPeople
"
,
function
(
e
){
userReturnList
=
[].
concat
(
userList
);
_openNewWindows
({
url
:
"
../../tpl/common/sysusersel.html
"
,
title
:
"
人员选择
"
,
pageId
:
"
sysuserselpage
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
userList
=
[].
concat
(
userReturnList
);
// 添加选择
$
.
each
(
userList
,
function
(
i
,
item
){
$
(
"
#relationUserId
"
).
val
(
item
.
name
);
});
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}});
systemCommonUtil
.
userReturnList
=
[].
concat
(
userList
);
systemCommonUtil
.
chooseOrNotMy
=
"
1
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
2
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
// 重置数据
userList
=
[].
concat
(
userReturnList
);
// 添加选择
$
.
each
(
userList
,
function
(
i
,
item
)
{
$
(
"
#relationUserId
"
).
val
(
item
.
name
);
});
});
});
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
(){
...
...
crm/src/main/resources/template/js/customermanage/customeredit.js
浏览文件 @
768d98db
var
userList
=
new
Array
();
// 选择用户返回的集合或者进行回显的集合
var
userReturnList
=
new
Array
();
// 选择用户返回的集合或者进行回显的集合
var
chooseOrNotMy
=
"
1
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
var
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
var
checkType
=
"
2
"
;
// 人员选择类型,1.多选;其他。单选
layui
.
config
({
base
:
basePath
,
...
...
@@ -138,23 +134,17 @@ layui.config({
// 负责人选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#userNameSelPeople
"
,
function
(
e
){
userReturnList
=
[].
concat
(
userList
);
_openNewWindows
({
url
:
"
../../tpl/common/sysusersel.html
"
,
title
:
"
人员选择
"
,
pageId
:
"
sysuserselpage
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
userList
=
[].
concat
(
userReturnList
);
//添加选择
$
.
each
(
userList
,
function
(
i
,
item
){
$
(
"
#relationUserId
"
).
val
(
item
.
name
);
});
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}});
systemCommonUtil
.
userReturnList
=
[].
concat
(
userList
);
systemCommonUtil
.
chooseOrNotMy
=
"
1
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
2
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
userList
=
[].
concat
(
userReturnList
);
//添加选择
$
.
each
(
userList
,
function
(
i
,
item
){
$
(
"
#relationUserId
"
).
val
(
item
.
name
);
});
});
});
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
(){
...
...
email/src/main/resources/template/js/emailSendModel/emailSendModelAdd.js
浏览文件 @
768d98db
var
userReturnList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
chooseOrNotMy
=
"
2
"
;
//人员列表中是否包含自己--1.包含;其他参数不包含
var
chooseOrNotEmail
=
"
1
"
;
//人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
var
checkType
=
"
1
"
;
//人员选择类型,1.多选;其他。单选
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
...
...
@@ -62,11 +57,14 @@ layui.config({
// 人员选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#toPeopleSelPeople, #toCcSelPeople, #toBccSelPeople
"
,
function
(
e
){
userReturnList
=
[];
var
clickId
=
$
(
this
).
attr
(
"
id
"
);
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
staffChooseList
){
systemCommonUtil
.
userReturnList
=
[];
systemCommonUtil
.
chooseOrNotMy
=
"
2
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
1
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
1
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
){
// 添加新的tag
$
.
each
(
staffChoose
List
,
function
(
i
,
item
){
$
.
each
(
userReturn
List
,
function
(
i
,
item
){
if
(
clickId
==
'
toPeopleSelPeople
'
){
$
(
'
#toPeople
'
).
tagEditor
(
'
addTag
'
,
item
.
email
);
}
else
if
(
clickId
==
'
toCcSelPeople
'
){
...
...
email/src/main/resources/template/js/emailSendModel/emailSendModelEdit.js
浏览文件 @
768d98db
...
...
@@ -67,9 +67,9 @@ layui.config({
$
(
"
body
"
).
on
(
"
click
"
,
"
#toPeopleSelPeople, #toCcSelPeople, #toBccSelPeople
"
,
function
(
e
){
userReturnList
=
[];
var
clickId
=
$
(
this
).
attr
(
"
id
"
);
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
staffChooseList
)
{
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
// 添加新的tag
$
.
each
(
staffChoose
List
,
function
(
i
,
item
){
$
.
each
(
userReturn
List
,
function
(
i
,
item
){
if
(
clickId
==
'
toPeopleSelPeople
'
){
$
(
'
#toPeople
'
).
tagEditor
(
'
addTag
'
,
item
.
email
);
}
else
if
(
clickId
==
'
toCcSelPeople
'
){
...
...
email/src/main/resources/template/js/useremail/sendemail.js
浏览文件 @
768d98db
var
userReturnList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
chooseOrNotMy
=
"
2
"
;
//人员列表中是否包含自己--1.包含;其他参数不包含
var
chooseOrNotEmail
=
"
1
"
;
//人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
var
checkType
=
"
1
"
;
//人员选择类型,1.多选;其他。单选
// 邮件模板
var
emailSendModel
=
{};
// 如果邮件是从别的服务器同步来的,那么包含的附件可能在我们的附件库上没有,这个对象负责存储那些我们的附件库上没有的附件
...
...
@@ -261,11 +256,14 @@ layui.config({
// 人员选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#toPeopleSelPeople, #toCcSelPeople, #toBccSelPeople
"
,
function
(
e
){
userReturnList
=
[];
var
clickId
=
$
(
this
).
attr
(
"
id
"
);
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
staffChooseList
){
systemCommonUtil
.
userReturnList
=
[];
systemCommonUtil
.
chooseOrNotMy
=
"
2
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
1
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
1
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
// 添加新的tag
$
.
each
(
staffChooseList
,
function
(
i
,
item
)
{
$
.
each
(
userReturnList
,
function
(
i
,
item
)
{
if
(
clickId
==
'
toPeopleSelPeople
'
){
$
(
'
#toPeople
'
).
tagEditor
(
'
addTag
'
,
item
.
email
);
}
else
if
(
clickId
==
'
toCcSelPeople
'
){
...
...
erp-produce/src/main/resources/template/js/erpFarm/erpFarmAdd.js
浏览文件 @
768d98db
...
...
@@ -3,11 +3,6 @@
var
procedureCheckType
=
2
;
//工序选择类型:1.单选procedureMation;2.多选procedureMationList
var
procedureMationList
=
new
Array
();
var
userReturnList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
chooseOrNotMy
=
"
1
"
;
//人员列表中是否包含自己--1.包含;其他参数不包含
var
chooseOrNotEmail
=
"
2
"
;
//人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
var
checkType
=
"
2
"
;
//人员选择类型,1.多选;其他。单选
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
...
...
@@ -92,22 +87,16 @@ layui.config({
// 车间负责人选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#chargeUserIdSelPeople
"
,
function
(
e
){
userReturnList
=
[].
concat
(
chargeUser
);
_openNewWindows
({
url
:
"
../../tpl/common/sysusersel.html
"
,
title
:
"
人员选择
"
,
pageId
:
"
sysuserselpage
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
chargeUser
=
[].
concat
(
userReturnList
);
if
(
chargeUser
.
length
>
0
){
$
(
"
#chargeUserId
"
).
val
(
chargeUser
[
0
].
name
);
}
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}});
systemCommonUtil
.
userReturnList
=
[].
concat
(
chargeUser
);
systemCommonUtil
.
chooseOrNotMy
=
"
1
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
2
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
chargeUser
=
[].
concat
(
userReturnList
);
if
(
chargeUser
.
length
>
0
){
$
(
"
#chargeUserId
"
).
val
(
chargeUser
[
0
].
name
);
}
});
});
// 取消
...
...
erp-produce/src/main/resources/template/js/erpFarm/erpFarmEdit.js
浏览文件 @
768d98db
...
...
@@ -3,11 +3,6 @@
var
procedureCheckType
=
2
;
//工序选择类型:1.单选procedureMation;2.多选procedureMationList
var
procedureMationList
=
new
Array
();
var
userReturnList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
chooseOrNotMy
=
"
1
"
;
//人员列表中是否包含自己--1.包含;其他参数不包含
var
chooseOrNotEmail
=
"
2
"
;
//人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
var
checkType
=
"
2
"
;
//人员选择类型,1.多选;其他。单选
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
...
...
@@ -111,27 +106,21 @@ layui.config({
});
// 车间负责人选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#chargeUserIdSelPeople
"
,
function
(
e
){
userReturnList
=
[].
concat
(
chargeUser
);
_openNewWindows
({
url
:
"
../../tpl/common/sysusersel.html
"
,
title
:
"
人员选择
"
,
pageId
:
"
sysuserselpage
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
chargeUser
=
[].
concat
(
userReturnList
);
if
(
chargeUser
.
length
>
0
){
$
(
"
#chargeUserId
"
).
val
(
chargeUser
[
0
].
name
);
}
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}});
$
(
"
body
"
).
on
(
"
click
"
,
"
#chargeUserIdSelPeople
"
,
function
(
e
)
{
systemCommonUtil
.
userReturnList
=
[].
concat
(
chargeUser
);
systemCommonUtil
.
chooseOrNotMy
=
"
1
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
2
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
chargeUser
=
[].
concat
(
userReturnList
);
if
(
chargeUser
.
length
>
0
){
$
(
"
#chargeUserId
"
).
val
(
chargeUser
[
0
].
name
);
}
});
});
// 取消
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
(){
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
()
{
parent
.
layer
.
close
(
index
);
});
});
...
...
erp-produce/src/main/resources/template/js/erpWorkProcedure/erpWorkProcedureAdd.js
浏览文件 @
768d98db
var
userReturnList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
chooseOrNotMy
=
"
1
"
;
//人员列表中是否包含自己--1.包含;其他参数不包含
var
chooseOrNotEmail
=
"
2
"
;
//人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
var
checkType
=
"
1
"
;
//人员选择类型,1.多选;其他。单选
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
...
...
@@ -102,33 +97,18 @@ layui.config({
}
});
// 工序操作员选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#procedureUserIdSelPeople
"
,
function
(
e
){
checkType
=
'
1
'
;
userReturnList
=
[].
concat
(
procedureUser
);
_openNewWindows
({
url
:
"
../../tpl/common/sysusersel.html
"
,
title
:
"
人员选择
"
,
pageId
:
"
sysuserselpage
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
// 移除所有tag
var
tags
=
$
(
'
#procedureUserId
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
;
for
(
i
=
0
;
i
<
tags
.
length
;
i
++
)
{
$
(
'
#procedureUserId
'
).
tagEditor
(
'
removeTag
'
,
tags
[
i
]);
}
procedureUser
=
[].
concat
(
userReturnList
);
// 添加新的tag
$
.
each
(
procedureUser
,
function
(
i
,
item
){
$
(
'
#procedureUserId
'
).
tagEditor
(
'
addTag
'
,
item
.
name
);
});
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}});
$
(
"
body
"
).
on
(
"
click
"
,
"
#procedureUserIdSelPeople
"
,
function
(
e
)
{
systemCommonUtil
.
userReturnList
=
[].
concat
(
procedureUser
);
systemCommonUtil
.
chooseOrNotMy
=
"
1
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
1
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
// 重置数据
procedureUser
=
[].
concat
(
systemCommonUtil
.
tagEditorResetData
(
'
procedureUserId
'
,
userReturnList
));
});
});
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
(){
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
()
{
parent
.
layer
.
close
(
index
);
});
});
...
...
erp-produce/src/main/resources/template/js/erpWorkProcedure/erpWorkProcedureEdit.js
浏览文件 @
768d98db
var
userReturnList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
chooseOrNotMy
=
"
1
"
;
//人员列表中是否包含自己--1.包含;其他参数不包含
var
chooseOrNotEmail
=
"
2
"
;
//人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
var
checkType
=
"
1
"
;
//人员选择类型,1.多选;其他。单选
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
...
...
@@ -121,29 +116,14 @@ layui.config({
// 工序操作员选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#procedureUserIdSelPeople
"
,
function
(
e
){
checkType
=
'
1
'
;
userReturnList
=
[].
concat
(
procedureUser
);
_openNewWindows
({
url
:
"
../../tpl/common/sysusersel.html
"
,
title
:
"
人员选择
"
,
pageId
:
"
sysuserselpage
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
// 移除所有tag
var
tags
=
$
(
'
#procedureUserId
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
;
for
(
i
=
0
;
i
<
tags
.
length
;
i
++
)
{
$
(
'
#procedureUserId
'
).
tagEditor
(
'
removeTag
'
,
tags
[
i
]);
}
procedureUser
=
[].
concat
(
userReturnList
);
// 添加新的tag
$
.
each
(
procedureUser
,
function
(
i
,
item
){
$
(
'
#procedureUserId
'
).
tagEditor
(
'
addTag
'
,
item
.
name
);
});
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}});
systemCommonUtil
.
userReturnList
=
[].
concat
(
procedureUser
);
systemCommonUtil
.
chooseOrNotMy
=
"
1
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
1
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
// 重置数据
procedureUser
=
[].
concat
(
systemCommonUtil
.
tagEditorResetData
(
'
procedureUserId
'
,
userReturnList
));
});
});
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
(){
...
...
erp/src/main/resources/template/js/salesorder/salesorderadd.js
浏览文件 @
768d98db
var
userReturnList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
chooseOrNotMy
=
"
1
"
;
//人员列表中是否包含自己--1.包含;其他参数不包含
var
chooseOrNotEmail
=
"
2
"
;
//人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
var
checkType
=
"
1
"
;
//人员选择类型,1.多选;其他。单选
// 已经选择的客户信息
var
customerMation
=
{};
...
...
@@ -243,28 +239,14 @@ layui.config({
// 人员选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#toSalesManSelPeople
"
,
function
(
e
){
userReturnList
=
[].
concat
(
salesManList
);
_openNewWindows
({
url
:
"
../../tpl/common/sysusersel.html
"
,
title
:
"
人员选择
"
,
pageId
:
"
sysuserselpage
"
,
area
:
[
'
80vw
'
,
'
80vh
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
//移除所有tag
var
tags
=
$
(
'
#salesMan
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
;
for
(
i
=
0
;
i
<
tags
.
length
;
i
++
)
{
$
(
'
#salesMan
'
).
tagEditor
(
'
removeTag
'
,
tags
[
i
]);
}
salesManList
=
[].
concat
(
userReturnList
);
//添加新的tag
$
.
each
(
salesManList
,
function
(
i
,
item
){
$
(
'
#salesMan
'
).
tagEditor
(
'
addTag
'
,
item
.
name
);
});
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}});
systemCommonUtil
.
userReturnList
=
[].
concat
(
salesManList
);
systemCommonUtil
.
chooseOrNotMy
=
"
1
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
1
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
// 重置数据
salesManList
=
[].
concat
(
systemCommonUtil
.
tagEditorResetData
(
'
salesMan
'
,
userReturnList
));
});
});
// 新增行
...
...
erp/src/main/resources/template/js/salesorder/salesorderedit.js
浏览文件 @
768d98db
var
userReturnList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
chooseOrNotMy
=
"
1
"
;
//人员列表中是否包含自己--1.包含;其他参数不包含
var
chooseOrNotEmail
=
"
2
"
;
//人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
var
checkType
=
"
1
"
;
//人员选择类型,1.多选;其他。单选
// 已经选择的客户信息
var
customerMation
=
{};
...
...
@@ -324,28 +320,14 @@ layui.config({
//人员选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#toSalesManSelPeople
"
,
function
(
e
){
userReturnList
=
[].
concat
(
salesManList
);
_openNewWindows
({
url
:
"
../../tpl/common/sysusersel.html
"
,
title
:
"
人员选择
"
,
pageId
:
"
sysuserselpage
"
,
area
:
[
'
80vw
'
,
'
80vh
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
//移除所有tag
var
tags
=
$
(
'
#salesMan
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
;
for
(
i
=
0
;
i
<
tags
.
length
;
i
++
)
{
$
(
'
#salesMan
'
).
tagEditor
(
'
removeTag
'
,
tags
[
i
]);
}
salesManList
=
[].
concat
(
userReturnList
);
//添加新的tag
$
.
each
(
salesManList
,
function
(
i
,
item
){
$
(
'
#salesMan
'
).
tagEditor
(
'
addTag
'
,
item
.
name
);
});
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}});
systemCommonUtil
.
userReturnList
=
[].
concat
(
salesManList
);
systemCommonUtil
.
chooseOrNotMy
=
"
1
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
1
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
// 重置数据
salesManList
=
[].
concat
(
systemCommonUtil
.
tagEditorResetData
(
'
salesMan
'
,
userReturnList
));
});
});
//新增行
...
...
erp/src/main/resources/template/js/salesorder/salesorderpurchase.js
浏览文件 @
768d98db
var
userReturnList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
chooseOrNotMy
=
"
1
"
;
//人员列表中是否包含自己--1.包含;其他参数不包含
var
chooseOrNotEmail
=
"
2
"
;
//人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
var
checkType
=
"
1
"
;
//人员选择类型,1.多选;其他。单选
//已经选择的客户信息
var
customerMation
=
{};
...
...
@@ -343,28 +339,14 @@ layui.config({
//人员选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#toSalesManSelPeople
"
,
function
(
e
){
userReturnList
=
[].
concat
(
salesManList
);
_openNewWindows
({
url
:
"
../../tpl/common/sysusersel.html
"
,
title
:
"
人员选择
"
,
pageId
:
"
sysuserselpage
"
,
area
:
[
'
80vw
'
,
'
80vh
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
//移除所有tag
var
tags
=
$
(
'
#salesMan
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
;
for
(
i
=
0
;
i
<
tags
.
length
;
i
++
)
{
$
(
'
#salesMan
'
).
tagEditor
(
'
removeTag
'
,
tags
[
i
]);
}
salesManList
=
[].
concat
(
userReturnList
);
//添加新的tag
$
.
each
(
salesManList
,
function
(
i
,
item
){
$
(
'
#salesMan
'
).
tagEditor
(
'
addTag
'
,
item
.
name
);
});
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}});
systemCommonUtil
.
userReturnList
=
[].
concat
(
salesManList
);
systemCommonUtil
.
chooseOrNotMy
=
"
1
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
1
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
// 重置数据
salesManList
=
[].
concat
(
systemCommonUtil
.
tagEditorResetData
(
'
salesMan
'
,
userReturnList
));
});
});
/*********************** 商品表格操作 start ****************************/
...
...
erp/src/main/resources/template/js/salesoutlet/salesoutletadd.js
浏览文件 @
768d98db
var
userReturnList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
chooseOrNotMy
=
"
1
"
;
//人员列表中是否包含自己--1.包含;其他参数不包含
var
chooseOrNotEmail
=
"
2
"
;
//人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
var
checkType
=
"
1
"
;
//人员选择类型,1.多选;其他。单选
//已经选择的客户信息
var
customerMation
=
{};
...
...
@@ -251,29 +247,15 @@ layui.config({
});
//人员选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#toSalesManSelPeople
"
,
function
(
e
){
userReturnList
=
[].
concat
(
salesManList
);
_openNewWindows
({
url
:
"
../../tpl/common/sysusersel.html
"
,
title
:
"
人员选择
"
,
pageId
:
"
sysuserselpage
"
,
area
:
[
'
80vw
'
,
'
80vh
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
//移除所有tag
var
tags
=
$
(
'
#salesMan
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
;
for
(
i
=
0
;
i
<
tags
.
length
;
i
++
)
{
$
(
'
#salesMan
'
).
tagEditor
(
'
removeTag
'
,
tags
[
i
]);
}
salesManList
=
[].
concat
(
userReturnList
);
//添加新的tag
$
.
each
(
salesManList
,
function
(
i
,
item
){
$
(
'
#salesMan
'
).
tagEditor
(
'
addTag
'
,
item
.
name
);
});
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}});
$
(
"
body
"
).
on
(
"
click
"
,
"
#toSalesManSelPeople
"
,
function
(
e
)
{
systemCommonUtil
.
userReturnList
=
[].
concat
(
salesManList
);
systemCommonUtil
.
chooseOrNotMy
=
"
1
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
1
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
// 重置数据
salesManList
=
[].
concat
(
systemCommonUtil
.
tagEditorResetData
(
'
salesMan
'
,
userReturnList
));
});
});
/*********************** 商品表格操作 start ****************************/
//新增行
...
...
erp/src/main/resources/template/js/salesoutlet/salesoutletedit.js
浏览文件 @
768d98db
var
userReturnList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
chooseOrNotMy
=
"
1
"
;
//人员列表中是否包含自己--1.包含;其他参数不包含
var
chooseOrNotEmail
=
"
2
"
;
//人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
var
checkType
=
"
1
"
;
//人员选择类型,1.多选;其他。单选
//已经选择的客户信息
var
customerMation
=
{};
...
...
@@ -335,28 +331,14 @@ layui.config({
//人员选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#toSalesManSelPeople
"
,
function
(
e
){
userReturnList
=
[].
concat
(
salesManList
);
_openNewWindows
({
url
:
"
../../tpl/common/sysusersel.html
"
,
title
:
"
人员选择
"
,
pageId
:
"
sysuserselpage
"
,
area
:
[
'
80vw
'
,
'
80vh
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
//移除所有tag
var
tags
=
$
(
'
#salesMan
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
;
for
(
i
=
0
;
i
<
tags
.
length
;
i
++
)
{
$
(
'
#salesMan
'
).
tagEditor
(
'
removeTag
'
,
tags
[
i
]);
}
salesManList
=
[].
concat
(
userReturnList
);
//添加新的tag
$
.
each
(
salesManList
,
function
(
i
,
item
){
$
(
'
#salesMan
'
).
tagEditor
(
'
addTag
'
,
item
.
name
);
});
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}});
systemCommonUtil
.
userReturnList
=
[].
concat
(
salesManList
);
systemCommonUtil
.
chooseOrNotMy
=
"
1
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
1
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
// 重置数据
salesManList
=
[].
concat
(
systemCommonUtil
.
tagEditorResetData
(
'
salesMan
'
,
userReturnList
));
});
});
/*********************** 商品表格操作 start ****************************/
...
...
erp/src/main/resources/template/js/salesreturns/salesreturnsadd.js
浏览文件 @
768d98db
var
userReturnList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
chooseOrNotMy
=
"
1
"
;
//人员列表中是否包含自己--1.包含;其他参数不包含
var
chooseOrNotEmail
=
"
2
"
;
//人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
var
checkType
=
"
1
"
;
//人员选择类型,1.多选;其他。单选
//已经选择的客户信息
var
customerMation
=
{};
...
...
@@ -253,28 +249,14 @@ layui.config({
//人员选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#toSalesManSelPeople
"
,
function
(
e
){
userReturnList
=
[].
concat
(
salesManList
);
_openNewWindows
({
url
:
"
../../tpl/common/sysusersel.html
"
,
title
:
"
人员选择
"
,
pageId
:
"
sysuserselpage
"
,
area
:
[
'
80vw
'
,
'
80vh
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
//移除所有tag
var
tags
=
$
(
'
#salesMan
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
;
for
(
i
=
0
;
i
<
tags
.
length
;
i
++
)
{
$
(
'
#salesMan
'
).
tagEditor
(
'
removeTag
'
,
tags
[
i
]);
}
salesManList
=
[].
concat
(
userReturnList
);
//添加新的tag
$
.
each
(
salesManList
,
function
(
i
,
item
){
$
(
'
#salesMan
'
).
tagEditor
(
'
addTag
'
,
item
.
name
);
});
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}});
systemCommonUtil
.
userReturnList
=
[].
concat
(
salesManList
);
systemCommonUtil
.
chooseOrNotMy
=
"
1
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
1
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
// 重置数据
salesManList
=
[].
concat
(
systemCommonUtil
.
tagEditorResetData
(
'
salesMan
'
,
userReturnList
));
});
});
/*********************** 商品表格操作 start ****************************/
...
...
erp/src/main/resources/template/js/salesreturns/salesreturnsedit.js
浏览文件 @
768d98db
var
userReturnList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
chooseOrNotMy
=
"
1
"
;
//人员列表中是否包含自己--1.包含;其他参数不包含
var
chooseOrNotEmail
=
"
2
"
;
//人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
var
checkType
=
"
1
"
;
//人员选择类型,1.多选;其他。单选
//已经选择的客户信息
var
customerMation
=
{};
...
...
@@ -333,30 +329,16 @@ layui.config({
}});
}
//人员选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#toSalesManSelPeople
"
,
function
(
e
){
userReturnList
=
[].
concat
(
salesManList
);
_openNewWindows
({
url
:
"
../../tpl/common/sysusersel.html
"
,
title
:
"
人员选择
"
,
pageId
:
"
sysuserselpage
"
,
area
:
[
'
80vw
'
,
'
80vh
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
//移除所有tag
var
tags
=
$
(
'
#salesMan
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
;
for
(
i
=
0
;
i
<
tags
.
length
;
i
++
)
{
$
(
'
#salesMan
'
).
tagEditor
(
'
removeTag
'
,
tags
[
i
]);
}
salesManList
=
[].
concat
(
userReturnList
);
//添加新的tag
$
.
each
(
salesManList
,
function
(
i
,
item
){
$
(
'
#salesMan
'
).
tagEditor
(
'
addTag
'
,
item
.
name
);
});
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}});
// 人员选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#toSalesManSelPeople
"
,
function
(
e
)
{
systemCommonUtil
.
userReturnList
=
[].
concat
(
salesManList
);
systemCommonUtil
.
chooseOrNotMy
=
"
1
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
1
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
// 重置数据
salesManList
=
[].
concat
(
systemCommonUtil
.
tagEditorResetData
(
'
salesMan
'
,
userReturnList
));
});
});
/*********************** 商品表格操作 start ****************************/
...
...
erp/src/main/resources/template/js/storehouse/storehouseadd.js
浏览文件 @
768d98db
...
...
@@ -79,8 +79,8 @@ layui.config({
systemCommonUtil
.
chooseOrNotMy
=
"
1
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
1
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
1
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
staffChoose
List
)
{
chooseUser
=
[].
concat
(
staffChoose
List
);
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturn
List
)
{
chooseUser
=
[].
concat
(
userReturn
List
);
// 重置数据
systemCommonUtil
.
tagEditorResetData
(
'
principal
'
,
chooseUser
);
});
...
...
erp/src/main/resources/template/js/storehouse/storehouseedit.js
浏览文件 @
768d98db
...
...
@@ -102,9 +102,9 @@ layui.config({
systemCommonUtil
.
chooseOrNotMy
=
"
1
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
1
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
1
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
staffChoose
List
)
{
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturn
List
)
{
// 重置数据
chooseUser
=
[].
concat
(
systemCommonUtil
.
tagEditorResetData
(
'
principal
'
,
staffChoose
List
));
chooseUser
=
[].
concat
(
systemCommonUtil
.
tagEditorResetData
(
'
principal
'
,
userReturn
List
));
});
});
...
...
ifs/src/main/resources/template/js/income/incomeAdd.js
浏览文件 @
768d98db
...
...
@@ -136,13 +136,13 @@ layui.config({
systemCommonUtil
.
chooseOrNotMy
=
"
2
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
2
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
staffChooseList
)
{
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
// 移除所有tag
var
tags
=
$
(
'
#handsPersonId
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
;
for
(
i
=
0
;
i
<
tags
.
length
;
i
++
)
{
$
(
'
#handsPersonId
'
).
tagEditor
(
'
removeTag
'
,
tags
[
i
]);
}
handsPersonList
=
[].
concat
(
staffChoose
List
);
handsPersonList
=
[].
concat
(
userReturn
List
);
// 添加新的tag
$
.
each
(
handsPersonList
,
function
(
i
,
item
){
$
(
'
#handsPersonId
'
).
tagEditor
(
'
addTag
'
,
item
.
name
);
...
...
ifs/src/main/resources/template/js/income/incomeEdit.js
浏览文件 @
768d98db
...
...
@@ -201,13 +201,13 @@ layui.config({
systemCommonUtil
.
chooseOrNotMy
=
"
2
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
2
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
staffChooseList
)
{
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
// 移除所有tag
var
tags
=
$
(
'
#handsPersonId
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
;
for
(
i
=
0
;
i
<
tags
.
length
;
i
++
)
{
$
(
'
#handsPersonId
'
).
tagEditor
(
'
removeTag
'
,
tags
[
i
]);
}
handsPersonList
=
[].
concat
(
staffChoose
List
);
handsPersonList
=
[].
concat
(
userReturn
List
);
// 添加新的tag
$
.
each
(
handsPersonList
,
function
(
i
,
item
){
$
(
'
#handsPersonId
'
).
tagEditor
(
'
addTag
'
,
item
.
name
);
...
...
jobdiary/src/main/resources/template/js/jobdiaryMySend/jobdiaryMySendDayEdit.js
浏览文件 @
768d98db
var
layedit
;
var
userReturnList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
chooseOrNotMy
=
"
2
"
;
//人员列表中是否包含自己--1.包含;其他参数不包含
var
chooseOrNotEmail
=
"
2
"
;
//人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
var
checkType
=
"
1
"
;
//人员选择类型,1.多选;其他。单选
var
userList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
// 我的日报
...
...
@@ -91,7 +86,7 @@ layui.config({
},
ajaxSendAfter
:
function
(
json
){
var
userNames
=
""
;
var
userList
=
json
.
bean
.
userInfo
;
userList
=
json
.
bean
.
userInfo
;
$
.
each
(
userList
,
function
(
i
,
item
)
{
userNames
+=
item
.
name
+
'
,
'
;
});
...
...
@@ -120,28 +115,14 @@ layui.config({
skyeyeEnclosure
.
initTypeISData
({
'
enclosureUpload
'
:
json
.
bean
.
enclosureInfo
});
//人员选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#userNameSelPeople
"
,
function
(
e
){
userReturnList
=
[].
concat
(
userList
);
_openNewWindows
({
url
:
"
../../tpl/common/sysusersel.html
"
,
title
:
"
人员选择
"
,
pageId
:
"
sysuserselpage
"
,
area
:
[
'
80vw
'
,
'
80vh
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
//移除所有tag
var
tags
=
$
(
'
#userName
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
;
for
(
i
=
0
;
i
<
tags
.
length
;
i
++
)
{
$
(
'
#userName
'
).
tagEditor
(
'
removeTag
'
,
tags
[
i
]);
}
userList
=
[].
concat
(
userReturnList
);
//添加新的tag
$
.
each
(
userList
,
function
(
i
,
item
){
$
(
'
#userName
'
).
tagEditor
(
'
addTag
'
,
item
.
name
);
});
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}});
systemCommonUtil
.
userReturnList
=
[].
concat
(
userList
);
systemCommonUtil
.
chooseOrNotMy
=
"
2
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
1
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
// 重置数据
userList
=
[].
concat
(
systemCommonUtil
.
tagEditorResetData
(
'
userName
'
,
userReturnList
));
});
});
matchingLanguage
();
...
...
jobdiary/src/main/resources/template/js/jobdiaryMySend/jobdiaryMySendMonthEdit.js
浏览文件 @
768d98db
var
layedit
;
var
userReturnList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
chooseOrNotMy
=
"
2
"
;
//人员列表中是否包含自己--1.包含;其他参数不包含
var
chooseOrNotEmail
=
"
2
"
;
//人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
var
checkType
=
"
1
"
;
//人员选择类型,1.多选;其他。单选
var
userList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
// 我的月报
...
...
@@ -91,7 +86,7 @@ layui.config({
},
ajaxSendAfter
:
function
(
json
){
var
userNames
=
""
;
var
userList
=
json
.
bean
.
userInfo
;
userList
=
json
.
bean
.
userInfo
;
$
.
each
(
userList
,
function
(
i
,
item
)
{
userNames
+=
item
.
name
+
'
,
'
;
});
...
...
@@ -120,29 +115,15 @@ layui.config({
// 附件回显
skyeyeEnclosure
.
initTypeISData
({
'
enclosureUpload
'
:
json
.
bean
.
enclosureInfo
});
//人员选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#userNameSelPeople
"
,
function
(
e
){
userReturnList
=
[].
concat
(
userList
);
_openNewWindows
({
url
:
"
../../tpl/common/sysusersel.html
"
,
title
:
"
人员选择
"
,
pageId
:
"
sysuserselpage
"
,
area
:
[
'
80vw
'
,
'
80vh
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
//移除所有tag
var
tags
=
$
(
'
#userName
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
;
for
(
i
=
0
;
i
<
tags
.
length
;
i
++
)
{
$
(
'
#userName
'
).
tagEditor
(
'
removeTag
'
,
tags
[
i
]);
}
userList
=
[].
concat
(
userReturnList
);
//添加新的tag
$
.
each
(
userList
,
function
(
i
,
item
){
$
(
'
#userName
'
).
tagEditor
(
'
addTag
'
,
item
.
name
);
});
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}});
$
(
"
body
"
).
on
(
"
click
"
,
"
#userNameSelPeople
"
,
function
(
e
)
{
systemCommonUtil
.
userReturnList
=
[].
concat
(
userList
);
systemCommonUtil
.
chooseOrNotMy
=
"
2
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
1
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
// 重置数据
userList
=
[].
concat
(
systemCommonUtil
.
tagEditorResetData
(
'
userName
'
,
userReturnList
));
});
});
matchingLanguage
();
...
...
jobdiary/src/main/resources/template/js/jobdiaryMySend/jobdiaryMySendPublish.js
浏览文件 @
768d98db
...
...
@@ -3,11 +3,6 @@ var layedit;
var
userList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
userReturnList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
chooseOrNotMy
=
"
2
"
;
//人员列表中是否包含自己--1.包含;其他参数不包含
var
chooseOrNotEmail
=
"
2
"
;
//人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
var
checkType
=
"
1
"
;
//人员选择类型,1.多选;其他。单选
// 发送日志
layui
.
config
({
base
:
basePath
,
...
...
@@ -22,10 +17,6 @@ layui.config({
form
=
layui
.
form
;
layedit
=
layui
.
layedit
;
var
userInfo
=
""
;
//日报接收人id
var
weekUserInfo
=
""
;
//周报接收人id
var
monthUserInfo
=
""
;
//月报接收人id
//日报标题
var
today
=
new
Date
();
var
submitTime
=
today
.
getFullYear
()
+
'
年
'
+
(
today
.
getMonth
()
+
1
)
+
'
月
'
+
today
.
getDate
()
+
'
日日报
'
;
...
...
@@ -174,6 +165,7 @@ layui.config({
winui
.
window
.
msg
(
'
请选择收件人
'
,
{
icon
:
2
,
time
:
2000
});
return
false
;
}
else
{
var
userInfo
=
""
;
$
.
each
(
userList
,
function
(
i
,
item
)
{
userInfo
+=
item
.
id
+
'
,
'
;
});
...
...
@@ -286,6 +278,7 @@ layui.config({
winui
.
window
.
msg
(
'
请选择收件人
'
,
{
icon
:
2
,
time
:
2000
});
return
false
;
}
else
{
var
weekUserInfo
=
""
;
$
.
each
(
userList
,
function
(
i
,
item
)
{
weekUserInfo
+=
item
.
id
+
'
,
'
;
});
...
...
@@ -402,6 +395,7 @@ layui.config({
winui
.
window
.
msg
(
'
请选择收件人
'
,
{
icon
:
2
,
time
:
2000
});
return
false
;
}
else
{
var
monthUserInfo
=
""
;
$
.
each
(
userList
,
function
(
i
,
item
)
{
monthUserInfo
+=
item
.
id
+
'
,
'
;
});
...
...
@@ -475,28 +469,14 @@ layui.config({
});
//日报人员选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#userNameSelPeople
"
,
function
(
e
){
userReturnList
=
[].
concat
(
userList
);
_openNewWindows
({
url
:
"
../../tpl/common/sysusersel.html
"
,
title
:
"
人员选择
"
,
pageId
:
"
sysuserselpage
"
,
area
:
[
'
80vw
'
,
'
80vh
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
//移除所有tag
var
tags
=
$
(
'
#userName
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
;
for
(
i
=
0
;
i
<
tags
.
length
;
i
++
)
{
$
(
'
#userName
'
).
tagEditor
(
'
removeTag
'
,
tags
[
i
]);
}
userList
=
[].
concat
(
userReturnList
);
//添加新的tag
$
.
each
(
userList
,
function
(
i
,
item
){
$
(
'
#userName
'
).
tagEditor
(
'
addTag
'
,
item
.
name
);
});
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}});
systemCommonUtil
.
userReturnList
=
[].
concat
(
userList
);
systemCommonUtil
.
chooseOrNotMy
=
"
2
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
1
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
// 重置数据
userList
=
[].
concat
(
systemCommonUtil
.
tagEditorResetData
(
'
userName
'
,
userReturnList
));
});
});
//周报接收人
$
(
'
#weekUserName
'
).
tagEditor
({
...
...
@@ -518,28 +498,14 @@ layui.config({
});
//周报人员选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#weekUserNameSelPeople
"
,
function
(
e
){
userReturnList
=
[].
concat
(
userList
);
_openNewWindows
({
url
:
"
../../tpl/common/sysusersel.html
"
,
title
:
"
人员选择
"
,
pageId
:
"
sysusersel
"
,
area
:
[
'
80vw
'
,
'
80vh
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
//移除所有tag
var
tags
=
$
(
'
#weekUserName
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
;
for
(
i
=
0
;
i
<
tags
.
length
;
i
++
)
{
$
(
'
#weekUserName
'
).
tagEditor
(
'
removeTag
'
,
tags
[
i
]);
}
userList
=
[].
concat
(
userReturnList
);
//添加新的tag
$
.
each
(
userList
,
function
(
i
,
item
){
$
(
'
#weekUserName
'
).
tagEditor
(
'
addTag
'
,
item
.
name
);
});
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}});
systemCommonUtil
.
userReturnList
=
[].
concat
(
userList
);
systemCommonUtil
.
chooseOrNotMy
=
"
2
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
1
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
// 重置数据
userList
=
[].
concat
(
systemCommonUtil
.
tagEditorResetData
(
'
weekUserName
'
,
userReturnList
));
});
});
//月报接收人
$
(
'
#monthUserName
'
).
tagEditor
({
...
...
@@ -561,28 +527,14 @@ layui.config({
});
//月报人员选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#monthUserNameSelPeople
"
,
function
(
e
){
userReturnList
=
[].
concat
(
userList
);
_openNewWindows
({
url
:
"
../../tpl/common/sysusersel.html
"
,
title
:
"
人员选择
"
,
pageId
:
"
sysusersel
"
,
area
:
[
'
80vw
'
,
'
80vh
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
//移除所有tag
var
tags
=
$
(
'
#monthUserName
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
;
for
(
i
=
0
;
i
<
tags
.
length
;
i
++
)
{
$
(
'
#monthUserName
'
).
tagEditor
(
'
removeTag
'
,
tags
[
i
]);
}
userList
=
[].
concat
(
userReturnList
);
//添加新的tag
$
.
each
(
userList
,
function
(
i
,
item
){
$
(
'
#monthUserName
'
).
tagEditor
(
'
addTag
'
,
item
.
name
);
});
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}});
systemCommonUtil
.
userReturnList
=
[].
concat
(
userList
);
systemCommonUtil
.
chooseOrNotMy
=
"
2
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
1
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
// 重置数据
userList
=
[].
concat
(
systemCommonUtil
.
tagEditorResetData
(
'
monthUserName
'
,
userReturnList
));
});
});
});
...
...
jobdiary/src/main/resources/template/js/jobdiaryMySend/jobdiaryMySendWeekEdit.js
浏览文件 @
768d98db
var
layedit
;
var
userReturnList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
chooseOrNotMy
=
"
2
"
;
//人员列表中是否包含自己--1.包含;其他参数不包含
var
chooseOrNotEmail
=
"
2
"
;
//人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
var
checkType
=
"
1
"
;
//人员选择类型,1.多选;其他。单选
var
userList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
// 我的周报
...
...
@@ -20,8 +15,7 @@ layui.config({
var
$
=
layui
.
$
;
layedit
=
layui
.
layedit
;
var
reg
=
new
RegExp
(
"
<br>
"
,
"
g
"
);
var
userId
=
""
;
//月报接收人id
layedit
.
set
({
uploadImage
:
{
url
:
reqBasePath
+
"
common003
"
,
//接口url
...
...
@@ -91,7 +85,7 @@ layui.config({
},
ajaxSendAfter
:
function
(
json
){
var
userNames
=
""
;
var
userList
=
json
.
bean
.
userInfo
;
userList
=
json
.
bean
.
userInfo
;
$
.
each
(
userList
,
function
(
i
,
item
)
{
userNames
+=
item
.
name
+
'
,
'
;
});
...
...
@@ -121,28 +115,14 @@ layui.config({
skyeyeEnclosure
.
initTypeISData
({
'
enclosureUpload
'
:
json
.
bean
.
enclosureInfo
});
//人员选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#userNameSelPeople
"
,
function
(
e
){
userReturnList
=
[].
concat
(
userList
);
_openNewWindows
({
url
:
"
../../tpl/common/sysusersel.html
"
,
title
:
"
人员选择
"
,
pageId
:
"
sysuserselpage
"
,
area
:
[
'
80vw
'
,
'
80vh
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
//移除所有tag
var
tags
=
$
(
'
#userName
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
;
for
(
i
=
0
;
i
<
tags
.
length
;
i
++
)
{
$
(
'
#userName
'
).
tagEditor
(
'
removeTag
'
,
tags
[
i
]);
}
userList
=
[].
concat
(
userReturnList
);
//添加新的tag
$
.
each
(
userList
,
function
(
i
,
item
){
$
(
'
#userName
'
).
tagEditor
(
'
addTag
'
,
item
.
name
);
});
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}});
systemCommonUtil
.
userReturnList
=
[].
concat
(
userList
);
systemCommonUtil
.
chooseOrNotMy
=
"
2
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
1
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
// 重置数据
userList
=
[].
concat
(
systemCommonUtil
.
tagEditorResetData
(
'
userName
'
,
userReturnList
));
});
});
matchingLanguage
();
...
...
@@ -212,6 +192,7 @@ layui.config({
winui
.
window
.
msg
(
'
请选择收件人
'
,
{
icon
:
2
,
time
:
2000
});
return
false
;
}
else
{
var
userId
=
""
;
$
.
each
(
userList
,
function
(
i
,
item
)
{
userId
+=
item
.
id
+
'
,
'
;
});
...
...
@@ -262,12 +243,12 @@ layui.config({
}
});
$
(
"
body
"
).
on
(
"
click
"
,
"
.enclosureItem
"
,
function
(){
$
(
"
body
"
).
on
(
"
click
"
,
"
.enclosureItem
"
,
function
()
{
download
(
fileBasePath
+
$
(
this
).
attr
(
"
rowpath
"
),
$
(
this
).
html
());
});
//取消
$
(
"
body
"
).
on
(
"
click
"
,
"
#weekCancle
"
,
function
(){
//
取消
$
(
"
body
"
).
on
(
"
click
"
,
"
#weekCancle
"
,
function
()
{
parent
.
layer
.
close
(
index
);
});
});
...
...
message/src/main/resources/template/js/sysnotice/sysnoticeadd.js
浏览文件 @
768d98db
var
layedit
;
var
userReturnList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
chooseOrNotMy
=
"
1
"
;
//人员列表中是否包含自己--1.包含;其他参数不包含
var
chooseOrNotEmail
=
"
1
"
;
//人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
var
checkType
=
"
1
"
;
//人员选择类型,1.多选;其他。单选
var
userList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
layui
.
config
({
...
...
@@ -175,28 +170,14 @@ layui.config({
//人员选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#userNameSelPeople
"
,
function
(
e
){
userReturnList
=
[].
concat
(
userList
);
_openNewWindows
({
url
:
"
../../tpl/common/sysusersel.html
"
,
title
:
"
人员选择
"
,
pageId
:
"
sysuserselpage
"
,
area
:
[
'
80vw
'
,
'
80vh
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
//移除所有tag
var
tags
=
$
(
'
#userName
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
;
for
(
i
=
0
;
i
<
tags
.
length
;
i
++
)
{
$
(
'
#userName
'
).
tagEditor
(
'
removeTag
'
,
tags
[
i
]);
}
userList
=
[].
concat
(
userReturnList
);
//添加新的tag
$
.
each
(
userList
,
function
(
i
,
item
){
$
(
'
#userName
'
).
tagEditor
(
'
addTag
'
,
item
.
name
);
});
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}});
systemCommonUtil
.
userReturnList
=
[].
concat
(
userList
);
systemCommonUtil
.
chooseOrNotMy
=
"
1
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
1
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
1
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
// 重置数据
userList
=
[].
concat
(
systemCommonUtil
.
tagEditorResetData
(
'
userName
'
,
userReturnList
));
});
});
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
(){
...
...
message/src/main/resources/template/js/sysnotice/sysnoticeedit.js
浏览文件 @
768d98db
var
layedit
;
var
userReturnList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
chooseOrNotMy
=
"
1
"
;
//人员列表中是否包含自己--1.包含;其他参数不包含
var
chooseOrNotEmail
=
"
1
"
;
//人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
var
checkType
=
"
1
"
;
//人员选择类型,1.多选;其他。单选
var
userList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
layui
.
config
({
...
...
@@ -17,8 +12,8 @@ layui.config({
layui
.
use
([
'
form
'
,
'
layedit
'
],
function
(
form
)
{
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
,
tableSelect
=
layui
.
tableSelect
,
laydate
=
layui
.
laydate
;
tableSelect
=
layui
.
tableSelect
,
laydate
=
layui
.
laydate
;
layedit
=
layui
.
layedit
;
//初始化一级公告类型
function
initNoticeType
(
id
){
...
...
@@ -158,28 +153,14 @@ layui.config({
});
//人员选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#userNameSelPeople
"
,
function
(
e
){
userReturnList
=
[].
concat
(
userList
);
_openNewWindows
({
url
:
"
../../tpl/common/sysusersel.html
"
,
title
:
"
人员选择
"
,
pageId
:
"
sysuserselpage
"
,
area
:
[
'
80vw
'
,
'
80vh
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
//移除所有tag
var
tags
=
$
(
'
#userName
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
;
for
(
i
=
0
;
i
<
tags
.
length
;
i
++
)
{
$
(
'
#userName
'
).
tagEditor
(
'
removeTag
'
,
tags
[
i
]);
}
userList
=
[].
concat
(
userReturnList
);
//添加新的tag
$
.
each
(
userList
,
function
(
i
,
item
){
$
(
'
#userName
'
).
tagEditor
(
'
addTag
'
,
item
.
name
);
});
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}});
systemCommonUtil
.
userReturnList
=
[].
concat
(
userList
);
systemCommonUtil
.
chooseOrNotMy
=
"
1
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
1
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
1
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
// 重置数据
userList
=
[].
concat
(
systemCommonUtil
.
tagEditorResetData
(
'
userName
'
,
userReturnList
));
});
});
matchingLanguage
();
...
...
pro/src/main/resources/template/js/proproject/proappoint.js
浏览文件 @
768d98db
var
userReturnList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
chooseOrNotMy
=
"
1
"
;
//人员列表中是否包含自己--1.包含;其他参数不包含
var
chooseOrNotEmail
=
"
2
"
;
//人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
var
checkType
=
"
1
"
;
//人员选择类型,1.多选;其他。单选
// 项目任命
layui
.
config
({
base
:
basePath
,
...
...
@@ -22,9 +17,6 @@ layui.config({
var
toProjectSponsor
=
new
Array
();
//项目赞助人
var
toProjectMembers
=
new
Array
();
//项目组成员
var
projectEnclosureInfoList
=
new
Array
();
//项目组织和分工的附件
var
planEnclosureInfoList
=
new
Array
();
//实施计划和方案的附件
showGrid
({
id
:
"
showForm
"
,
url
:
flowableBasePath
+
"
proproject013
"
,
...
...
@@ -196,80 +188,38 @@ layui.config({
//项目经理选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#toProjectManager
"
,
function
(
e
){
userReturnList
=
[].
concat
(
toProjectManager
);
_openNewWindows
({
url
:
"
../../tpl/common/sysusersel.html
"
,
title
:
"
人员选择
"
,
pageId
:
"
sysuserselpage
"
,
area
:
[
'
80vw
'
,
'
80vh
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
//移除所有tag
var
tags
=
$
(
'
#projectManager
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
;
for
(
i
=
0
;
i
<
tags
.
length
;
i
++
)
{
$
(
'
#projectManager
'
).
tagEditor
(
'
removeTag
'
,
tags
[
i
]);
}
toProjectManager
=
[].
concat
(
userReturnList
);
//添加新的tag
$
.
each
(
toProjectManager
,
function
(
i
,
item
){
$
(
'
#projectManager
'
).
tagEditor
(
'
addTag
'
,
item
.
name
);
});
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}});
systemCommonUtil
.
userReturnList
=
[].
concat
(
toProjectManager
);
systemCommonUtil
.
chooseOrNotMy
=
"
1
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
1
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
// 重置数据
toProjectManager
=
[].
concat
(
systemCommonUtil
.
tagEditorResetData
(
'
projectManager
'
,
userReturnList
));
});
});
//项目赞助人选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#toProjectSponsor
"
,
function
(
e
){
userReturnList
=
[].
concat
(
toProjectSponsor
);
_openNewWindows
({
url
:
"
../../tpl/common/sysusersel.html
"
,
title
:
"
人员选择
"
,
pageId
:
"
sysuserselpage
"
,
area
:
[
'
80vw
'
,
'
80vh
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
//移除所有tag
var
tags
=
$
(
'
#projectSponsor
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
;
for
(
i
=
0
;
i
<
tags
.
length
;
i
++
)
{
$
(
'
#projectSponsor
'
).
tagEditor
(
'
removeTag
'
,
tags
[
i
]);
}
toProjectSponsor
=
[].
concat
(
userReturnList
);
//添加新的tag
$
.
each
(
toProjectSponsor
,
function
(
i
,
item
){
$
(
'
#projectSponsor
'
).
tagEditor
(
'
addTag
'
,
item
.
name
);
});
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}});
systemCommonUtil
.
userReturnList
=
[].
concat
(
toProjectSponsor
);
systemCommonUtil
.
chooseOrNotMy
=
"
1
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
1
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
// 重置数据
toProjectSponsor
=
[].
concat
(
systemCommonUtil
.
tagEditorResetData
(
'
projectSponsor
'
,
userReturnList
));
});
});
//项目组成员选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#toProjectMembers
"
,
function
(
e
){
userReturnList
=
[].
concat
(
toProjectMembers
);
_openNewWindows
({
url
:
"
../../tpl/common/sysusersel.html
"
,
title
:
"
人员选择
"
,
pageId
:
"
sysuserselpage
"
,
area
:
[
'
80vw
'
,
'
80vh
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
//移除所有tag
var
tags
=
$
(
'
#projectMembers
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
;
for
(
i
=
0
;
i
<
tags
.
length
;
i
++
)
{
$
(
'
#projectMembers
'
).
tagEditor
(
'
removeTag
'
,
tags
[
i
]);
}
toProjectMembers
=
[].
concat
(
userReturnList
);
//添加新的tag
$
.
each
(
toProjectMembers
,
function
(
i
,
item
){
$
(
'
#projectMembers
'
).
tagEditor
(
'
addTag
'
,
item
.
name
);
});
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}});
systemCommonUtil
.
userReturnList
=
[].
concat
(
toProjectMembers
);
systemCommonUtil
.
chooseOrNotMy
=
"
1
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
1
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
// 重置数据
toProjectMembers
=
[].
concat
(
systemCommonUtil
.
tagEditorResetData
(
'
projectMembers
'
,
userReturnList
));
});
});
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
(){
...
...
pro/src/main/resources/template/js/protask/protaskadd.js
浏览文件 @
768d98db
var
performIdList
=
new
Array
();
//执行人返回的集合或者进行回显的集合
var
userReturnList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
chooseOrNotMy
=
"
1
"
;
//人员列表中是否包含自己--1.包含;其他参数不包含
var
chooseOrNotEmail
=
"
2
"
;
//人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
var
checkType
=
"
1
"
;
//人员选择类型,1.多选;其他。单选
// 项目工作量分配
layui
.
config
({
base
:
basePath
,
...
...
@@ -173,30 +168,16 @@ layui.config({
}
});
//执行人选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#performIdSelPeople
"
,
function
(
e
){
userReturnList
=
[].
concat
(
performIdList
);
_openNewWindows
({
url
:
"
../../tpl/common/sysusersel.html
"
,
title
:
"
人员选择
"
,
pageId
:
"
sysuserselpage
"
,
area
:
[
'
80vw
'
,
'
80vh
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
//移除所有tag
var
tags
=
$
(
'
#performId
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
;
for
(
i
=
0
;
i
<
tags
.
length
;
i
++
)
{
$
(
'
#performId
'
).
tagEditor
(
'
removeTag
'
,
tags
[
i
]);
}
performIdList
=
[].
concat
(
userReturnList
);
//添加新的tag
$
.
each
(
performIdList
,
function
(
i
,
item
){
$
(
'
#performId
'
).
tagEditor
(
'
addTag
'
,
item
.
name
);
});
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}});
// 执行人选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#performIdSelPeople
"
,
function
(
e
)
{
systemCommonUtil
.
userReturnList
=
[].
concat
(
performIdList
);
systemCommonUtil
.
chooseOrNotMy
=
"
1
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
1
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
// 重置数据
performIdList
=
[].
concat
(
systemCommonUtil
.
tagEditorResetData
(
'
performId
'
,
userReturnList
));
});
});
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
(){
...
...
pro/src/main/resources/template/js/protask/protaskedit.js
浏览文件 @
768d98db
var
performIdList
=
new
Array
();
//执行人返回的集合或者进行回显的集合
var
userReturnList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
chooseOrNotMy
=
"
1
"
;
//人员列表中是否包含自己--1.包含;其他参数不包含
var
chooseOrNotEmail
=
"
2
"
;
//人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
var
checkType
=
"
1
"
;
//人员选择类型,1.多选;其他。单选
// 项目工作量分配
layui
.
config
({
base
:
basePath
,
...
...
@@ -129,29 +124,15 @@ layui.config({
}
}
});
$
(
"
body
"
).
on
(
"
click
"
,
"
#performIdSelPeople
"
,
function
(
e
){
userReturnList
=
[].
concat
(
performIdList
);
_openNewWindows
({
url
:
"
../../tpl/common/sysusersel.html
"
,
title
:
"
人员选择
"
,
pageId
:
"
sysuserselpage
"
,
area
:
[
'
80vw
'
,
'
80vh
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
//移除所有tag
var
tags
=
$
(
'
#performId
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
;
for
(
i
=
0
;
i
<
tags
.
length
;
i
++
)
{
$
(
'
#performId
'
).
tagEditor
(
'
removeTag
'
,
tags
[
i
]);
}
performIdList
=
[].
concat
(
userReturnList
);
//添加新的tag
$
.
each
(
performIdList
,
function
(
i
,
item
){
$
(
'
#performId
'
).
tagEditor
(
'
addTag
'
,
item
.
name
);
});
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}});
$
(
"
body
"
).
on
(
"
click
"
,
"
#performIdSelPeople
"
,
function
(
e
)
{
systemCommonUtil
.
userReturnList
=
[].
concat
(
performIdList
);
systemCommonUtil
.
chooseOrNotMy
=
"
1
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
1
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
// 重置数据
performIdList
=
[].
concat
(
systemCommonUtil
.
tagEditorResetData
(
'
performId
'
,
userReturnList
));
});
});
matchingLanguage
();
form
.
render
();
...
...
seal-service/src/main/resources/template/js/sealseservice/sealseserviceadd.js
浏览文件 @
768d98db
var
userReturnList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
chooseOrNotMy
=
"
1
"
;
//人员列表中是否包含自己--1.包含;其他参数不包含
var
chooseOrNotEmail
=
"
2
"
;
//人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
var
checkType
=
"
1
"
;
//人员选择类型,1.多选;其他。单选
//工单接收人信息
var
serviceUser
=
{};
...
...
@@ -219,29 +214,14 @@ layui.config({
});
//工单协助人选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#cooperationUserIdSelPeople
"
,
function
(
e
){
checkType
=
'
1
'
;
userReturnList
=
[].
concat
(
cooperationUser
);
_openNewWindows
({
url
:
"
../../tpl/common/sysusersel.html
"
,
title
:
"
人员选择
"
,
pageId
:
"
sysuserselpage
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
//移除所有tag
var
tags
=
$
(
'
#cooperationUserId
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
;
for
(
i
=
0
;
i
<
tags
.
length
;
i
++
)
{
$
(
'
#cooperationUserId
'
).
tagEditor
(
'
removeTag
'
,
tags
[
i
]);
}
cooperationUser
=
[].
concat
(
userReturnList
);
//添加新的tag
$
.
each
(
cooperationUser
,
function
(
i
,
item
){
$
(
'
#cooperationUserId
'
).
tagEditor
(
'
addTag
'
,
item
.
name
);
});
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}});
systemCommonUtil
.
userReturnList
=
[].
concat
(
cooperationUser
);
systemCommonUtil
.
chooseOrNotMy
=
"
1
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
1
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
// 重置数据
cooperationUser
=
[].
concat
(
systemCommonUtil
.
tagEditorResetData
(
'
cooperationUserId
'
,
userReturnList
));
});
});
form
.
on
(
'
select(areaProvince)
'
,
function
(
data
){
...
...
seal-service/src/main/resources/template/js/sealseservice/sealseserviceedit.js
浏览文件 @
768d98db
var
userReturnList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
chooseOrNotMy
=
"
1
"
;
//人员列表中是否包含自己--1.包含;其他参数不包含
var
chooseOrNotEmail
=
"
2
"
;
//人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
var
checkType
=
"
1
"
;
//人员选择类型,1.多选;其他。单选
//工单接收人信息
var
serviceUser
=
{};
...
...
@@ -259,29 +255,14 @@ layui.config({
//工单协助人选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#cooperationUserIdSelPeople
"
,
function
(
e
){
checkType
=
'
1
'
;
userReturnList
=
[].
concat
(
cooperationUser
);
_openNewWindows
({
url
:
"
../../tpl/common/sysusersel.html
"
,
title
:
"
人员选择
"
,
pageId
:
"
sysuserselpage
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
//移除所有tag
var
tags
=
$
(
'
#cooperationUserId
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
;
for
(
i
=
0
;
i
<
tags
.
length
;
i
++
)
{
$
(
'
#cooperationUserId
'
).
tagEditor
(
'
removeTag
'
,
tags
[
i
]);
}
cooperationUser
=
[].
concat
(
userReturnList
);
//添加新的tag
$
.
each
(
cooperationUser
,
function
(
i
,
item
){
$
(
'
#cooperationUserId
'
).
tagEditor
(
'
addTag
'
,
item
.
name
);
});
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}});
systemCommonUtil
.
userReturnList
=
[].
concat
(
cooperationUser
);
systemCommonUtil
.
chooseOrNotMy
=
"
1
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
1
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
// 重置数据
cooperationUser
=
[].
concat
(
systemCommonUtil
.
tagEditorResetData
(
'
cooperationUserId
'
,
userReturnList
));
});
});
form
.
on
(
'
select(areaProvince)
'
,
function
(
data
){
...
...
seal-service/src/main/resources/template/js/serviceworker/serviceworkeradd.js
浏览文件 @
768d98db
...
...
@@ -7,11 +7,6 @@ var marker = null;
var
longitude
=
""
;
//经度
var
latitude
=
""
;
//纬度
var
userReturnList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
chooseOrNotMy
=
"
1
"
;
//人员列表中是否包含自己--1.包含;其他参数不包含
var
chooseOrNotEmail
=
"
2
"
;
//人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
var
checkType
=
"
2
"
;
//人员选择类型,1.多选;其他。单选
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
...
...
@@ -64,24 +59,18 @@ layui.config({
//人员选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#userIdSelPeople
"
,
function
(
e
){
userReturnList
=
[].
concat
(
userList
);
_openNewWindows
({
url
:
"
../../tpl/common/sysusersel.html
"
,
title
:
"
人员选择
"
,
pageId
:
"
sysuserselpage
"
,
area
:
[
'
80vw
'
,
'
80vh
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
userList
=
[].
concat
(
userReturnList
);
if
(
userList
.
length
>
0
){
$
(
"
#userName
"
).
val
(
userList
[
0
].
name
);
}
else
{
$
(
"
#userName
"
).
val
(
""
);
}
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}});
systemCommonUtil
.
userReturnList
=
[].
concat
(
userList
);
systemCommonUtil
.
chooseOrNotMy
=
"
1
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
2
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
userList
=
[].
concat
(
userReturnList
);
if
(
userList
.
length
>
0
){
$
(
"
#userName
"
).
val
(
userList
[
0
].
name
);
}
else
{
$
(
"
#userName
"
).
val
(
""
);
}
});
});
initMap
();
...
...
seal-service/src/main/resources/template/js/stateisstayworker/dispatchedworker.js
浏览文件 @
768d98db
var
userReturnList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
chooseOrNotMy
=
"
1
"
;
//人员列表中是否包含自己--1.包含;其他参数不包含
var
chooseOrNotEmail
=
"
2
"
;
//人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
var
checkType
=
"
1
"
;
//人员选择类型,1.多选;其他。单选
//工单接收人信息
var
serviceUser
=
{};
...
...
@@ -101,29 +96,14 @@ layui.config({
});
//工单协助人选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#cooperationUserIdSelPeople
"
,
function
(
e
){
checkType
=
'
1
'
;
userReturnList
=
[].
concat
(
cooperationUser
);
_openNewWindows
({
url
:
"
../../tpl/common/sysusersel.html
"
,
title
:
"
人员选择
"
,
pageId
:
"
sysuserselpage
"
,
area
:
[
'
80vw
'
,
'
80vh
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
//移除所有tag
var
tags
=
$
(
'
#cooperationUserId
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
;
for
(
i
=
0
;
i
<
tags
.
length
;
i
++
)
{
$
(
'
#cooperationUserId
'
).
tagEditor
(
'
removeTag
'
,
tags
[
i
]);
}
cooperationUser
=
[].
concat
(
userReturnList
);
//添加新的tag
$
.
each
(
cooperationUser
,
function
(
i
,
item
){
$
(
'
#cooperationUserId
'
).
tagEditor
(
'
addTag
'
,
item
.
name
);
});
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}});
systemCommonUtil
.
userReturnList
=
[].
concat
(
cooperationUser
);
systemCommonUtil
.
chooseOrNotMy
=
"
1
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
1
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
// 重置数据
cooperationUser
=
[].
concat
(
systemCommonUtil
.
tagEditorResetData
(
'
cooperationUserId
'
,
userReturnList
));
});
});
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
(){
...
...
web/src/main/resources/template/assets/lib/layui/customer/activitiUtil.js
浏览文件 @
768d98db
...
...
@@ -213,11 +213,10 @@ var activitiUtil = {
systemCommonUtil
.
chooseOrNotMy
=
"
2
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
2
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
staffChooseList
){
systemCommonUtil
.
userReturnList
=
[].
concat
(
staffChooseList
);
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
){
var
params
=
{
taskId
:
task
.
taskId
,
principalUserId
:
staffChoose
List
[
0
].
id
principalUserId
:
userReturn
List
[
0
].
id
};
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
activitiTask001
"
,
params
:
params
,
method
:
"
POST
"
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
...
...
@@ -237,11 +236,10 @@ var activitiUtil = {
systemCommonUtil
.
chooseOrNotMy
=
"
2
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
2
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
staffChooseList
){
systemCommonUtil
.
userReturnList
=
[].
concat
(
staffChooseList
);
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
){
var
params
=
{
taskId
:
task
.
taskId
,
transferredPersonId
:
staffChoose
List
[
0
].
id
transferredPersonId
:
userReturn
List
[
0
].
id
};
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
activitiTask002
"
,
params
:
params
,
method
:
"
POST
"
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
...
...
web/src/main/resources/template/assets/lib/layui/customer/sysCustomerUtil.js
浏览文件 @
768d98db
...
...
@@ -12,13 +12,13 @@ var sysCustomerUtil = {
*
* @param callback 回调函数
*/
openSysCustomerChoosePage
:
function
(
callback
){
openSysCustomerChoosePage
:
function
(
callback
)
{
_openNewWindows
({
url
:
"
../../tpl/customermanage/customerChoose.html
"
,
title
:
"
客户选择
"
,
pageId
:
"
customerChoose
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
){
callBack
:
function
(
refreshCode
)
{
if
(
refreshCode
==
'
0
'
)
{
if
(
typeof
(
callback
)
==
"
function
"
)
{
callback
(
sysCustomerUtil
.
customerMation
);
...
...
web/src/main/resources/template/assets/lib/layui/customer/systemCommonUtil.js
浏览文件 @
768d98db
// 系统工具函数
var
systemCommonUtil
=
{
/**
* 已经选择的员工列表
*/
staffChooseList
:
[],
/**
* 已经选择的图标资源列表
*/
sysIconChooseClass
:
[],
/**
* 获取系统账户信息
*
...
...
@@ -215,6 +205,10 @@ var systemCommonUtil = {
*
* @param callback 回调函数
*/
chooseOrNotMy
:
1
,
// 人员列表中是否包含自己--1.包含;其他参数不包含
chooseOrNotEmail
:
1
,
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
checkType
:
1
,
// 人员选择类型,1.多选;其他。单选
userReturnList
:
[],
// 人员选择后的集合
openSysUserStaffChoosePage
:
function
(
callback
){
_openNewWindows
({
url
:
"
../../tpl/common/sysusersel.html
"
,
...
...
@@ -224,7 +218,7 @@ var systemCommonUtil = {
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
if
(
typeof
(
callback
)
==
"
function
"
)
{
callback
(
systemCommonUtil
.
staffChoose
List
);
callback
(
systemCommonUtil
.
userReturn
List
);
}
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
...
...
@@ -261,6 +255,7 @@ var systemCommonUtil = {
*
* @param callback 回调函数
*/
sysIconChooseClass
:
[],
// 已经选择的图标资源列表
openSysEveIconChoosePage
:
function
(
callback
){
_openNewWindows
({
url
:
"
../../tpl/sysEveIcon/sysEveIconListChoose.html
"
,
...
...
web/src/main/resources/template/js/common/sysusersel.js
浏览文件 @
768d98db
...
...
@@ -29,8 +29,6 @@ layui.config({
//进行数据回显使用
if
(
parent
.
systemCommonUtil
.
userReturnList
){
userOperatorReturnList
=
[].
concat
(
parent
.
systemCommonUtil
.
userReturnList
);
}
else
{
userOperatorReturnList
=
[].
concat
(
parent
.
userReturnList
);
}
//遍历加载已选人员列表
...
...
@@ -42,24 +40,12 @@ layui.config({
// 如果父页面有这个参数,则赋值
if
(
!
isNull
(
parent
.
systemCommonUtil
.
chooseOrNotMy
)){
chooseOrNotMy
=
parent
.
systemCommonUtil
.
chooseOrNotMy
;
}
else
{
if
(
!
isNull
(
parent
.
chooseOrNotMy
)){
chooseOrNotMy
=
parent
.
chooseOrNotMy
;
}
}
if
(
!
isNull
(
parent
.
systemCommonUtil
.
chooseOrNotEmail
)){
chooseOrNotEmail
=
parent
.
systemCommonUtil
.
chooseOrNotEmail
;
}
else
{
if
(
!
isNull
(
parent
.
chooseOrNotEmail
))
{
chooseOrNotEmail
=
parent
.
chooseOrNotEmail
;
}
}
if
(
!
isNull
(
parent
.
systemCommonUtil
.
checkType
)){
checkType
=
parent
.
systemCommonUtil
.
checkType
;
}
else
{
if
(
!
isNull
(
parent
.
checkType
))
{
checkType
=
parent
.
checkType
;
}
}
//设置提示信息
...
...
@@ -135,8 +121,7 @@ layui.config({
//确定
$
(
"
body
"
).
on
(
"
click
"
,
"
#confimChoose
"
,
function
(){
parent
.
userReturnList
=
[].
concat
(
userOperatorReturnList
);
parent
.
systemCommonUtil
.
staffChooseList
=
[].
concat
(
userOperatorReturnList
);
parent
.
systemCommonUtil
.
userReturnList
=
[].
concat
(
userOperatorReturnList
);
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
});
...
...
workplan/src/main/resources/template/js/sysworkplan/sysworkplanadd.js
浏览文件 @
768d98db
...
...
@@ -3,11 +3,6 @@ var layedit;
var
userList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
userReturnList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
chooseOrNotMy
=
"
2
"
;
//人员列表中是否包含自己--1.包含;其他参数不包含
var
chooseOrNotEmail
=
"
2
"
;
//人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
var
checkType
=
"
2
"
;
//人员选择类型,1.多选;其他。单选
//计划类型
var
nowCheckType
=
""
;
...
...
@@ -275,34 +270,20 @@ layui.config({
}
});
//计划指定他人-人员选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#carryPeopleSelPeople
"
,
function
(
e
){
userReturnList
=
[].
concat
(
userList
);
_openNewWindows
({
url
:
"
../../tpl/common/sysusersel.html
"
,
title
:
"
人员选择
"
,
pageId
:
"
sysuserselpage
"
,
area
:
[
'
80vw
'
,
'
80vh
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
//移除所有tag
var
tags
=
$
(
'
#carryPeople
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
;
for
(
i
=
0
;
i
<
tags
.
length
;
i
++
)
{
$
(
'
#carryPeople
'
).
tagEditor
(
'
removeTag
'
,
tags
[
i
]);
}
userList
=
[].
concat
(
userReturnList
);
//添加新的tag
$
.
each
(
userList
,
function
(
i
,
item
){
$
(
'
#carryPeople
'
).
tagEditor
(
'
addTag
'
,
item
.
name
);
});
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}});
// 计划指定他人-人员选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#carryPeopleSelPeople
"
,
function
(
e
)
{
systemCommonUtil
.
userReturnList
=
[].
concat
(
userList
);
systemCommonUtil
.
chooseOrNotMy
=
"
2
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
2
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
// 重置数据
userList
=
[].
concat
(
systemCommonUtil
.
tagEditorResetData
(
'
carryPeople
'
,
userReturnList
));
});
});
//取消
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
(){
//
取消
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
()
{
parent
.
layer
.
close
(
index
);
});
...
...
workplan/src/main/resources/template/js/sysworkplan/sysworkplancomadd.js
浏览文件 @
768d98db
...
...
@@ -3,11 +3,6 @@ var layedit;
var
userList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
userReturnList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
chooseOrNotMy
=
"
1
"
;
//人员列表中是否包含自己--1.包含;其他参数不包含
var
chooseOrNotEmail
=
"
2
"
;
//人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
var
checkType
=
"
1
"
;
//人员选择类型,1.多选;其他。单选
//计划类型
var
nowCheckType
=
""
;
...
...
@@ -38,8 +33,6 @@ layui.config({
}
});
var
carryPeople
=
""
;
//指定人员id
if
(
!
isNull
(
parent
.
timeSolt
)){
// 如果父页面传递时间段
timeSolt
=
parent
.
timeSolt
;
...
...
@@ -197,6 +190,7 @@ layui.config({
winui
.
window
.
msg
(
'
请选择人员
'
,
{
icon
:
2
,
time
:
2000
});
return
false
;
}
else
{
var
carryPeople
=
""
;
$
.
each
(
userList
,
function
(
i
,
item
){
if
(
i
==
0
)
carryPeople
=
item
.
id
;
...
...
@@ -271,28 +265,14 @@ layui.config({
//计划指定他人-人员选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#carryPeopleSelPeople
"
,
function
(
e
){
userReturnList
=
[].
concat
(
userList
);
_openNewWindows
({
url
:
"
../../tpl/common/sysusersel.html
"
,
title
:
"
人员选择
"
,
pageId
:
"
sysuserselpage
"
,
area
:
[
'
80vw
'
,
'
80vh
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
//移除所有tag
var
tags
=
$
(
'
#carryPeople
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
;
for
(
i
=
0
;
i
<
tags
.
length
;
i
++
)
{
$
(
'
#carryPeople
'
).
tagEditor
(
'
removeTag
'
,
tags
[
i
]);
}
userList
=
[].
concat
(
userReturnList
);
//添加新的tag
$
.
each
(
userList
,
function
(
i
,
item
){
$
(
'
#carryPeople
'
).
tagEditor
(
'
addTag
'
,
item
.
name
);
});
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}});
systemCommonUtil
.
userReturnList
=
[].
concat
(
userList
);
systemCommonUtil
.
chooseOrNotMy
=
"
1
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
1
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
// 重置数据
userList
=
[].
concat
(
systemCommonUtil
.
tagEditorResetData
(
'
carryPeople
'
,
userReturnList
));
});
});
//取消
...
...
workplan/src/main/resources/template/js/sysworkplan/sysworkplancomedit.js
浏览文件 @
768d98db
...
...
@@ -3,11 +3,6 @@ var layedit;
var
userList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
userReturnList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
chooseOrNotMy
=
"
1
"
;
//人员列表中是否包含自己--1.包含;其他参数不包含
var
chooseOrNotEmail
=
"
2
"
;
//人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
var
checkType
=
"
1
"
;
//人员选择类型,1.多选;其他。单选
//计划类型
var
nowCheckType
=
""
;
...
...
@@ -280,30 +275,16 @@ layui.config({
}
}});
//计划指定他人-人员选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#carryPeopleSelPeople
"
,
function
(
e
){
userReturnList
=
[].
concat
(
userList
);
_openNewWindows
({
url
:
"
../../tpl/common/sysusersel.html
"
,
title
:
"
人员选择
"
,
pageId
:
"
sysuserselpage
"
,
area
:
[
'
80vw
'
,
'
80vh
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
//移除所有tag
var
tags
=
$
(
'
#carryPeople
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
;
for
(
i
=
0
;
i
<
tags
.
length
;
i
++
)
{
$
(
'
#carryPeople
'
).
tagEditor
(
'
removeTag
'
,
tags
[
i
]);
}
userList
=
[].
concat
(
userReturnList
);
//添加新的tag
$
.
each
(
userList
,
function
(
i
,
item
){
$
(
'
#carryPeople
'
).
tagEditor
(
'
addTag
'
,
item
.
name
);
});
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}});
// 计划指定他人-人员选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#carryPeopleSelPeople
"
,
function
(
e
)
{
systemCommonUtil
.
userReturnList
=
[].
concat
(
userList
);
systemCommonUtil
.
chooseOrNotMy
=
"
1
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
1
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
// 重置数据
userList
=
[].
concat
(
systemCommonUtil
.
tagEditorResetData
(
'
carryPeople
'
,
userReturnList
));
});
});
//取消
...
...
workplan/src/main/resources/template/js/sysworkplan/sysworkplandepadd.js
浏览文件 @
768d98db
...
...
@@ -3,11 +3,6 @@ var layedit;
var
userList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
userReturnList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
chooseOrNotMy
=
"
1
"
;
//人员列表中是否包含自己--1.包含;其他参数不包含
var
chooseOrNotEmail
=
"
2
"
;
//人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
var
checkType
=
"
1
"
;
//人员选择类型,1.多选;其他。单选
//计划类型
var
nowCheckType
=
""
;
...
...
@@ -38,8 +33,6 @@ layui.config({
}
});
var
carryPeople
=
""
;
//指定人员id
if
(
!
isNull
(
parent
.
timeSolt
)){
// 如果父页面传递时间段
timeSolt
=
parent
.
timeSolt
;
...
...
@@ -197,6 +190,7 @@ layui.config({
winui
.
window
.
msg
(
'
请选择人员
'
,
{
icon
:
2
,
time
:
2000
});
return
false
;
}
else
{
var
carryPeople
=
""
;
$
.
each
(
userList
,
function
(
i
,
item
){
if
(
i
==
0
)
carryPeople
=
item
.
id
;
...
...
@@ -269,30 +263,16 @@ layui.config({
}
});
//计划指定他人-人员选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#carryPeopleSelPeople
"
,
function
(
e
){
userReturnList
=
[].
concat
(
userList
);
_openNewWindows
({
url
:
"
../../tpl/common/sysusersel.html
"
,
title
:
"
人员选择
"
,
pageId
:
"
sysuserselpage
"
,
area
:
[
'
80vw
'
,
'
80vh
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
//移除所有tag
var
tags
=
$
(
'
#carryPeople
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
;
for
(
i
=
0
;
i
<
tags
.
length
;
i
++
)
{
$
(
'
#carryPeople
'
).
tagEditor
(
'
removeTag
'
,
tags
[
i
]);
}
userList
=
[].
concat
(
userReturnList
);
//添加新的tag
$
.
each
(
userList
,
function
(
i
,
item
){
$
(
'
#carryPeople
'
).
tagEditor
(
'
addTag
'
,
item
.
name
);
});
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}});
// 计划指定他人-人员选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#carryPeopleSelPeople
"
,
function
(
e
)
{
systemCommonUtil
.
userReturnList
=
[].
concat
(
userList
);
systemCommonUtil
.
chooseOrNotMy
=
"
1
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
1
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
// 重置数据
userList
=
[].
concat
(
systemCommonUtil
.
tagEditorResetData
(
'
carryPeople
'
,
userReturnList
));
});
});
//取消
...
...
workplan/src/main/resources/template/js/sysworkplan/sysworkplandepedit.js
浏览文件 @
768d98db
...
...
@@ -3,11 +3,6 @@ var layedit;
var
userList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
userReturnList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
chooseOrNotMy
=
"
1
"
;
//人员列表中是否包含自己--1.包含;其他参数不包含
var
chooseOrNotEmail
=
"
2
"
;
//人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
var
checkType
=
"
1
"
;
//人员选择类型,1.多选;其他。单选
//计划类型
var
nowCheckType
=
""
;
...
...
@@ -39,8 +34,6 @@ layui.config({
}
});
var
carryPeople
=
""
;
//指定人员id
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
sysworkplan007
"
,
params
:{
planId
:
parent
.
rowId
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
nowCheckType
=
json
.
bean
.
planCycle
;
...
...
@@ -222,6 +215,7 @@ layui.config({
winui
.
window
.
msg
(
'
请选择人员
'
,
{
icon
:
2
,
time
:
2000
});
return
false
;
}
else
{
var
carryPeople
=
""
;
$
.
each
(
userList
,
function
(
i
,
item
){
if
(
i
==
0
)
carryPeople
=
item
.
id
;
...
...
@@ -282,28 +276,14 @@ layui.config({
//计划指定他人-人员选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#carryPeopleSelPeople
"
,
function
(
e
){
userReturnList
=
[].
concat
(
userList
);
_openNewWindows
({
url
:
"
../../tpl/common/sysusersel.html
"
,
title
:
"
人员选择
"
,
pageId
:
"
sysuserselpage
"
,
area
:
[
'
80vw
'
,
'
80vh
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
//移除所有tag
var
tags
=
$
(
'
#carryPeople
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
;
for
(
i
=
0
;
i
<
tags
.
length
;
i
++
)
{
$
(
'
#carryPeople
'
).
tagEditor
(
'
removeTag
'
,
tags
[
i
]);
}
userList
=
[].
concat
(
userReturnList
);
//添加新的tag
$
.
each
(
userList
,
function
(
i
,
item
){
$
(
'
#carryPeople
'
).
tagEditor
(
'
addTag
'
,
item
.
name
);
});
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}});
systemCommonUtil
.
userReturnList
=
[].
concat
(
userList
);
systemCommonUtil
.
chooseOrNotMy
=
"
1
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
1
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
// 重置数据
userList
=
[].
concat
(
systemCommonUtil
.
tagEditorResetData
(
'
carryPeople
'
,
userReturnList
));
});
});
//取消
...
...
workplan/src/main/resources/template/js/sysworkplan/sysworkplanedit.js
浏览文件 @
768d98db
...
...
@@ -3,11 +3,6 @@ var layedit;
var
userList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
userReturnList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
var
chooseOrNotMy
=
"
2
"
;
//人员列表中是否包含自己--1.包含;其他参数不包含
var
chooseOrNotEmail
=
"
2
"
;
//人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
var
checkType
=
"
2
"
;
//人员选择类型,1.多选;其他。单选
//计划类型
var
nowCheckType
=
""
;
...
...
@@ -39,8 +34,6 @@ layui.config({
}
});
var
carryPeople
=
""
;
//指定人员id
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
sysworkplan007
"
,
params
:{
planId
:
parent
.
rowId
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
nowCheckType
=
json
.
bean
.
planCycle
;
...
...
@@ -217,16 +210,15 @@ layui.config({
};
//他人执行
if
(
params
.
assignmentType
===
'
2
'
){
//指定人员
if
(
userList
.
length
==
0
||
isNull
(
$
(
'
#carryPeople
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
)){
winui
.
window
.
msg
(
'
请选择指定人员
'
,
{
icon
:
2
,
time
:
2000
});
return
false
;
}
else
{
carryPeople
=
userList
[
0
].
id
;
params
.
carryPeople
=
carryPeople
;
}
}
if
(
params
.
assignmentType
===
'
2
'
)
{
//指定人员
if
(
userList
.
length
==
0
||
isNull
(
$
(
'
#carryPeople
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
))
{
winui
.
window
.
msg
(
'
请选择指定人员
'
,
{
icon
:
2
,
time
:
2000
});
return
false
;
}
else
{
params
.
carryPeople
=
userList
[
0
].
id
;
}
}
//是否邮件通知
if
(
$
(
"
#whetherMail
"
).
val
()
==
'
true
'
){
...
...
@@ -277,28 +269,14 @@ layui.config({
//计划指定他人-人员选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#carryPeopleSelPeople
"
,
function
(
e
){
userReturnList
=
[].
concat
(
userList
);
_openNewWindows
({
url
:
"
../../tpl/common/sysusersel.html
"
,
title
:
"
人员选择
"
,
pageId
:
"
sysuserselpage
"
,
area
:
[
'
80vw
'
,
'
80vh
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
//移除所有tag
var
tags
=
$
(
'
#carryPeople
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
;
for
(
i
=
0
;
i
<
tags
.
length
;
i
++
)
{
$
(
'
#carryPeople
'
).
tagEditor
(
'
removeTag
'
,
tags
[
i
]);
}
userList
=
[].
concat
(
userReturnList
);
//添加新的tag
$
.
each
(
userList
,
function
(
i
,
item
){
$
(
'
#carryPeople
'
).
tagEditor
(
'
addTag
'
,
item
.
name
);
});
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}});
systemCommonUtil
.
userReturnList
=
[].
concat
(
userList
);
systemCommonUtil
.
chooseOrNotMy
=
"
2
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
2
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
// 重置数据
userList
=
[].
concat
(
systemCommonUtil
.
tagEditorResetData
(
'
carryPeople
'
,
userReturnList
));
});
});
//取消
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录