Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Skyeye云
Skyeye
提交
4793aeff
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看板
提交
4793aeff
编写于
6月 23, 2022
作者:
W
weizhiqiang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
【公共】移除集合中指定name的元素
上级
9e491027
变更
56
隐藏空白更改
内联
并排
Showing
56 changed file
with
78 addition
and
729 deletion
+78
-729
admin-assistant/src/main/resources/template/js/assetArticles/assetArticlesAdd.js
...n/resources/template/js/assetArticles/assetArticlesAdd.js
+1
-10
admin-assistant/src/main/resources/template/js/assetArticles/assetArticlesEdit.js
.../resources/template/js/assetArticles/assetArticlesEdit.js
+1
-10
admin-assistant/src/main/resources/template/js/assetManage/assetManageAdd.js
.../main/resources/template/js/assetManage/assetManageAdd.js
+2
-20
admin-assistant/src/main/resources/template/js/assetManage/assetManageEdit.js
...main/resources/template/js/assetManage/assetManageEdit.js
+2
-20
admin-assistant/src/main/resources/template/js/conFerenceRoom/conFerenceRoomAdd.js
...resources/template/js/conFerenceRoom/conFerenceRoomAdd.js
+1
-10
admin-assistant/src/main/resources/template/js/conFerenceRoom/conFerenceRoomEdit.js
...esources/template/js/conFerenceRoom/conFerenceRoomEdit.js
+1
-10
admin-assistant/src/main/resources/template/js/licenceManage/licenceManageAdd.js
...n/resources/template/js/licenceManage/licenceManageAdd.js
+2
-20
admin-assistant/src/main/resources/template/js/licenceManage/licenceManageEdit.js
.../resources/template/js/licenceManage/licenceManageEdit.js
+2
-20
admin-assistant/src/main/resources/template/js/sealManage/sealManageAdd.js
...rc/main/resources/template/js/sealManage/sealManageAdd.js
+2
-20
admin-assistant/src/main/resources/template/js/sealManage/sealManageEdit.js
...c/main/resources/template/js/sealManage/sealManageEdit.js
+2
-20
admin-assistant/src/main/resources/template/js/vehicleManage/vehicleManageAdd.js
...n/resources/template/js/vehicleManage/vehicleManageAdd.js
+1
-11
admin-assistant/src/main/resources/template/js/vehicleManage/vehicleManageEdit.js
.../resources/template/js/vehicleManage/vehicleManageEdit.js
+1
-10
boss/src/main/resources/template/js/bossInterviewArrangement/arrangeInterviewer.js
...emplate/js/bossInterviewArrangement/arrangeInterviewer.js
+1
-10
boss/src/main/resources/template/js/bossInterviewee/bossIntervieweeAdd.js
...sources/template/js/bossInterviewee/bossIntervieweeAdd.js
+4
-13
boss/src/main/resources/template/js/bossInterviewee/bossIntervieweeEdit.js
...ources/template/js/bossInterviewee/bossIntervieweeEdit.js
+1
-10
boss/src/main/resources/template/js/bossPersonRequire/bossPersonRequirePersonLiable.js
...ate/js/bossPersonRequire/bossPersonRequirePersonLiable.js
+1
-10
crm/src/main/resources/template/js/crmOpportunity/crmopportunityadd.js
...resources/template/js/crmOpportunity/crmopportunityadd.js
+3
-30
crm/src/main/resources/template/js/crmOpportunity/crmopportunityedit.js
...esources/template/js/crmOpportunity/crmopportunityedit.js
+3
-30
crm/src/main/resources/template/js/crmcontractmanage/mycrmcontractadd.js
...sources/template/js/crmcontractmanage/mycrmcontractadd.js
+1
-10
crm/src/main/resources/template/js/crmcontractmanage/mycrmcontractedit.js
...ources/template/js/crmcontractmanage/mycrmcontractedit.js
+1
-10
erp-produce/src/main/resources/template/js/erpWorkProcedure/erpWorkProcedureAdd.js
...urces/template/js/erpWorkProcedure/erpWorkProcedureAdd.js
+1
-10
erp-produce/src/main/resources/template/js/erpWorkProcedure/erpWorkProcedureEdit.js
...rces/template/js/erpWorkProcedure/erpWorkProcedureEdit.js
+1
-10
erp/src/main/resources/template/js/salesorder/salesorderadd.js
...rc/main/resources/template/js/salesorder/salesorderadd.js
+1
-10
erp/src/main/resources/template/js/salesorder/salesorderedit.js
...c/main/resources/template/js/salesorder/salesorderedit.js
+1
-10
erp/src/main/resources/template/js/salesorder/salesorderpurchase.js
...in/resources/template/js/salesorder/salesorderpurchase.js
+1
-10
erp/src/main/resources/template/js/salesoutlet/salesoutletadd.js
.../main/resources/template/js/salesoutlet/salesoutletadd.js
+1
-10
erp/src/main/resources/template/js/salesoutlet/salesoutletedit.js
...main/resources/template/js/salesoutlet/salesoutletedit.js
+1
-10
erp/src/main/resources/template/js/salesreturns/salesreturnsadd.js
...ain/resources/template/js/salesreturns/salesreturnsadd.js
+1
-10
erp/src/main/resources/template/js/salesreturns/salesreturnsedit.js
...in/resources/template/js/salesreturns/salesreturnsedit.js
+1
-10
erp/src/main/resources/template/js/storehouse/storehouseadd.js
...rc/main/resources/template/js/storehouse/storehouseadd.js
+1
-10
erp/src/main/resources/template/js/storehouse/storehouseedit.js
...c/main/resources/template/js/storehouse/storehouseedit.js
+1
-10
forum/src/main/resources/template/js/forumshow/myforumedit.js
...m/src/main/resources/template/js/forumshow/myforumedit.js
+1
-10
forum/src/main/resources/template/js/forumshow/mysendforum.js
...m/src/main/resources/template/js/forumshow/mysendforum.js
+1
-10
ifs/src/main/resources/template/js/income/incomeAdd.js
ifs/src/main/resources/template/js/income/incomeAdd.js
+1
-10
ifs/src/main/resources/template/js/income/incomeEdit.js
ifs/src/main/resources/template/js/income/incomeEdit.js
+1
-10
jobdiary/src/main/resources/template/js/jobdiaryMySend/jobdiaryMySendDayEdit.js
...urces/template/js/jobdiaryMySend/jobdiaryMySendDayEdit.js
+1
-10
jobdiary/src/main/resources/template/js/jobdiaryMySend/jobdiaryMySendMonthEdit.js
...ces/template/js/jobdiaryMySend/jobdiaryMySendMonthEdit.js
+1
-10
jobdiary/src/main/resources/template/js/jobdiaryMySend/jobdiaryMySendPublish.js
...urces/template/js/jobdiaryMySend/jobdiaryMySendPublish.js
+3
-30
jobdiary/src/main/resources/template/js/jobdiaryMySend/jobdiaryMySendWeekEdit.js
...rces/template/js/jobdiaryMySend/jobdiaryMySendWeekEdit.js
+1
-10
message/src/main/resources/template/js/sysnotice/sysnoticeadd.js
.../src/main/resources/template/js/sysnotice/sysnoticeadd.js
+1
-10
message/src/main/resources/template/js/sysnotice/sysnoticeedit.js
...src/main/resources/template/js/sysnotice/sysnoticeedit.js
+1
-10
pro/src/main/resources/template/js/proproject/proappoint.js
pro/src/main/resources/template/js/proproject/proappoint.js
+3
-30
pro/src/main/resources/template/js/protask/protaskadd.js
pro/src/main/resources/template/js/protask/protaskadd.js
+1
-10
pro/src/main/resources/template/js/protask/protaskedit.js
pro/src/main/resources/template/js/protask/protaskedit.js
+1
-10
seal-service/src/main/resources/template/js/sealseservice/sealseserviceadd.js
...n/resources/template/js/sealseservice/sealseserviceadd.js
+1
-10
seal-service/src/main/resources/template/js/sealseservice/sealseserviceedit.js
.../resources/template/js/sealseservice/sealseserviceedit.js
+1
-10
seal-service/src/main/resources/template/js/stateisstayworker/dispatchedworker.js
...sources/template/js/stateisstayworker/dispatchedworker.js
+1
-10
wages/src/main/resources/template/js/wagesModel/wagesModelAdd.js
...rc/main/resources/template/js/wagesModel/wagesModelAdd.js
+3
-27
wages/src/main/resources/template/js/wagesModel/wagesModelEdit.js
...c/main/resources/template/js/wagesModel/wagesModelEdit.js
+3
-27
web/src/main/resources/template/assets/lib/layui/customer/arrayUtil.js
...resources/template/assets/lib/layui/customer/arrayUtil.js
+2
-1
workplan/src/main/resources/template/js/sysworkplan/sysworkplanadd.js
.../main/resources/template/js/sysworkplan/sysworkplanadd.js
+1
-10
workplan/src/main/resources/template/js/sysworkplan/sysworkplancomadd.js
...in/resources/template/js/sysworkplan/sysworkplancomadd.js
+1
-10
workplan/src/main/resources/template/js/sysworkplan/sysworkplancomedit.js
...n/resources/template/js/sysworkplan/sysworkplancomedit.js
+1
-10
workplan/src/main/resources/template/js/sysworkplan/sysworkplandepadd.js
...in/resources/template/js/sysworkplan/sysworkplandepadd.js
+1
-10
workplan/src/main/resources/template/js/sysworkplan/sysworkplandepedit.js
...n/resources/template/js/sysworkplan/sysworkplandepedit.js
+1
-10
workplan/src/main/resources/template/js/sysworkplan/sysworkplanedit.js
...main/resources/template/js/sysworkplan/sysworkplanedit.js
+1
-10
未找到文件。
admin-assistant/src/main/resources/template/js/assetArticles/assetArticlesAdd.js
浏览文件 @
4793aeff
...
@@ -57,16 +57,7 @@ layui.config({
...
@@ -57,16 +57,7 @@ layui.config({
placeholder
:
'
请选择用品管理人
'
,
placeholder
:
'
请选择用品管理人
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
userList
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
userList
,
val
));
$
.
each
(
userList
,
function
(
i
,
item
)
{
if
(
val
===
item
.
name
)
{
inArray
=
i
;
return
false
;
}
});
if
(
inArray
!=
-
1
)
{
//如果该元素在集合中存在
userList
.
splice
(
inArray
,
1
);
}
}
}
});
});
// 用品管理人选择
// 用品管理人选择
...
...
admin-assistant/src/main/resources/template/js/assetArticles/assetArticlesEdit.js
浏览文件 @
4793aeff
...
@@ -46,16 +46,7 @@ layui.config({
...
@@ -46,16 +46,7 @@ layui.config({
placeholder
:
'
请选择用品管理人
'
,
placeholder
:
'
请选择用品管理人
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
userList
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
userList
,
val
));
$
.
each
(
userList
,
function
(
i
,
item
)
{
if
(
val
===
item
.
name
)
{
inArray
=
i
;
return
false
;
}
});
if
(
inArray
!=
-
1
)
{
//如果该元素在集合中存在
userList
.
splice
(
inArray
,
1
);
}
}
}
});
});
// 附件回显
// 附件回显
...
...
admin-assistant/src/main/resources/template/js/assetManage/assetManageAdd.js
浏览文件 @
4793aeff
...
@@ -123,16 +123,7 @@ layui.config({
...
@@ -123,16 +123,7 @@ layui.config({
placeholder
:
'
请选择资产管理人
'
,
placeholder
:
'
请选择资产管理人
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
userList
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
userList
,
val
));
$
.
each
(
userList
,
function
(
i
,
item
)
{
if
(
val
===
item
.
name
)
{
inArray
=
i
;
return
false
;
}
});
if
(
inArray
!=
-
1
)
{
//如果该元素在集合中存在
userList
.
splice
(
inArray
,
1
);
}
}
}
});
});
//资产管理人选择
//资产管理人选择
...
@@ -152,16 +143,7 @@ layui.config({
...
@@ -152,16 +143,7 @@ layui.config({
placeholder
:
'
请选择资产领用人
'
,
placeholder
:
'
请选择资产领用人
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
employeeuserList
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
employeeuserList
,
val
));
$
.
each
(
employeeuserList
,
function
(
i
,
item
)
{
if
(
val
===
item
.
name
)
{
inArray
=
i
;
return
false
;
}
});
if
(
inArray
!=
-
1
)
{
//如果该元素在集合中存在
employeeuserList
.
splice
(
inArray
,
1
);
}
}
}
});
});
//资产领用人选择
//资产领用人选择
...
...
admin-assistant/src/main/resources/template/js/assetManage/assetManageEdit.js
浏览文件 @
4793aeff
...
@@ -100,16 +100,7 @@ layui.config({
...
@@ -100,16 +100,7 @@ layui.config({
placeholder
:
'
请选择资产管理人
'
,
placeholder
:
'
请选择资产管理人
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
userList
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
userList
,
val
));
$
.
each
(
userList
,
function
(
i
,
item
)
{
if
(
val
===
item
.
name
)
{
inArray
=
i
;
return
false
;
}
});
if
(
inArray
!=
-
1
)
{
//如果该元素在集合中存在
userList
.
splice
(
inArray
,
1
);
}
}
}
});
});
...
@@ -124,16 +115,7 @@ layui.config({
...
@@ -124,16 +115,7 @@ layui.config({
placeholder
:
'
请选择领用人
'
,
placeholder
:
'
请选择领用人
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
employeeuserList
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
employeeuserList
,
val
));
$
.
each
(
employeeuserList
,
function
(
i
,
item
)
{
if
(
val
===
item
.
name
)
{
inArray
=
i
;
return
false
;
}
});
if
(
inArray
!=
-
1
)
{
//如果该元素在集合中存在
employeeuserList
.
splice
(
inArray
,
1
);
}
}
}
});
});
...
...
admin-assistant/src/main/resources/template/js/conFerenceRoom/conFerenceRoomAdd.js
浏览文件 @
4793aeff
...
@@ -71,16 +71,7 @@ layui.config({
...
@@ -71,16 +71,7 @@ layui.config({
placeholder
:
'
请选择会议室管理人
'
,
placeholder
:
'
请选择会议室管理人
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
userList
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
userList
,
val
));
$
.
each
(
userList
,
function
(
i
,
item
)
{
if
(
val
===
item
.
name
)
{
inArray
=
i
;
return
false
;
}
});
if
(
inArray
!=
-
1
)
{
userList
.
splice
(
inArray
,
1
);
}
}
}
});
});
...
...
admin-assistant/src/main/resources/template/js/conFerenceRoom/conFerenceRoomEdit.js
浏览文件 @
4793aeff
...
@@ -61,16 +61,7 @@ layui.config({
...
@@ -61,16 +61,7 @@ layui.config({
placeholder
:
'
请选择会议室管理人
'
,
placeholder
:
'
请选择会议室管理人
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
userList
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
userList
,
val
));
$
.
each
(
userList
,
function
(
i
,
item
)
{
if
(
val
===
item
.
name
)
{
inArray
=
i
;
return
false
;
}
});
if
(
inArray
!=
-
1
)
{
userList
.
splice
(
inArray
,
1
);
}
}
}
});
});
...
...
admin-assistant/src/main/resources/template/js/licenceManage/licenceManageAdd.js
浏览文件 @
4793aeff
...
@@ -105,16 +105,7 @@ layui.config({
...
@@ -105,16 +105,7 @@ layui.config({
placeholder
:
'
请选择管理人
'
,
placeholder
:
'
请选择管理人
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
userList
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
userList
,
val
));
$
.
each
(
userList
,
function
(
i
,
item
)
{
if
(
val
===
item
.
name
)
{
inArray
=
i
;
return
false
;
}
});
if
(
inArray
!=
-
1
)
{
//如果该元素在集合中存在
userList
.
splice
(
inArray
,
1
);
}
}
}
});
});
// 管理人选择
// 管理人选择
...
@@ -135,16 +126,7 @@ layui.config({
...
@@ -135,16 +126,7 @@ layui.config({
placeholder
:
'
请选择借用人
'
,
placeholder
:
'
请选择借用人
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
borrowList
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
borrowList
,
val
));
$
.
each
(
borrowList
,
function
(
i
,
item
)
{
if
(
val
===
item
.
name
)
{
inArray
=
i
;
return
false
;
}
});
if
(
inArray
!=
-
1
)
{
//如果该元素在集合中存在
borrowList
.
splice
(
inArray
,
1
);
}
}
}
});
});
// 借用人选择
// 借用人选择
...
...
admin-assistant/src/main/resources/template/js/licenceManage/licenceManageEdit.js
浏览文件 @
4793aeff
...
@@ -97,16 +97,7 @@ layui.config({
...
@@ -97,16 +97,7 @@ layui.config({
placeholder
:
'
请选择管理人
'
,
placeholder
:
'
请选择管理人
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
userList
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
userList
,
val
));
$
.
each
(
userList
,
function
(
i
,
item
)
{
if
(
val
===
item
.
name
)
{
inArray
=
i
;
return
false
;
}
});
if
(
inArray
!=
-
1
)
{
//如果该元素在集合中存在
userList
.
splice
(
inArray
,
1
);
}
}
}
});
});
...
@@ -121,16 +112,7 @@ layui.config({
...
@@ -121,16 +112,7 @@ layui.config({
placeholder
:
'
请选择借用人
'
,
placeholder
:
'
请选择借用人
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
borrowList
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
borrowList
,
val
));
$
.
each
(
borrowList
,
function
(
i
,
item
)
{
if
(
val
===
item
.
name
)
{
inArray
=
i
;
return
false
;
}
});
if
(
inArray
!=
-
1
)
{
//如果该元素在集合中存在
borrowList
.
splice
(
inArray
,
1
);
}
}
}
});
});
...
...
admin-assistant/src/main/resources/template/js/sealManage/sealManageAdd.js
浏览文件 @
4793aeff
...
@@ -62,16 +62,7 @@ layui.config({
...
@@ -62,16 +62,7 @@ layui.config({
placeholder
:
'
请选择管理人
'
,
placeholder
:
'
请选择管理人
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
userList
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
userList
,
val
));
$
.
each
(
userList
,
function
(
i
,
item
)
{
if
(
val
===
item
.
name
)
{
inArray
=
i
;
return
false
;
}
});
if
(
inArray
!=
-
1
)
{
//如果该元素在集合中存在
userList
.
splice
(
inArray
,
1
);
}
}
}
});
});
// 管理人选择
// 管理人选择
...
@@ -92,16 +83,7 @@ layui.config({
...
@@ -92,16 +83,7 @@ layui.config({
placeholder
:
'
请选择借用人
'
,
placeholder
:
'
请选择借用人
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
borrowuserList
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
borrowuserList
,
val
));
$
.
each
(
borrowuserList
,
function
(
i
,
item
)
{
if
(
val
===
item
.
name
)
{
inArray
=
i
;
return
false
;
}
});
if
(
inArray
!=
-
1
)
{
//如果该元素在集合中存在
borrowuserList
.
splice
(
inArray
,
1
);
}
}
}
});
});
// 借用人选择
// 借用人选择
...
...
admin-assistant/src/main/resources/template/js/sealManage/sealManageEdit.js
浏览文件 @
4793aeff
...
@@ -49,16 +49,7 @@ layui.config({
...
@@ -49,16 +49,7 @@ layui.config({
placeholder
:
'
请选择管理人
'
,
placeholder
:
'
请选择管理人
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
userList
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
userList
,
val
));
$
.
each
(
userList
,
function
(
i
,
item
)
{
if
(
val
===
item
.
name
)
{
inArray
=
i
;
return
false
;
}
});
if
(
inArray
!=
-
1
)
{
//如果该元素在集合中存在
userList
.
splice
(
inArray
,
1
);
}
}
}
});
});
...
@@ -73,16 +64,7 @@ layui.config({
...
@@ -73,16 +64,7 @@ layui.config({
placeholder
:
'
请选择借用人
'
,
placeholder
:
'
请选择借用人
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
borrowuserList
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
borrowuserList
,
val
));
$
.
each
(
borrowuserList
,
function
(
i
,
item
)
{
if
(
val
===
item
.
name
)
{
inArray
=
i
;
return
false
;
}
});
if
(
inArray
!=
-
1
)
{
//如果该元素在集合中存在
borrowuserList
.
splice
(
inArray
,
1
);
}
}
}
});
});
// 附件回显
// 附件回显
...
...
admin-assistant/src/main/resources/template/js/vehicleManage/vehicleManageAdd.js
浏览文件 @
4793aeff
...
@@ -115,17 +115,7 @@ layui.config({
...
@@ -115,17 +115,7 @@ layui.config({
placeholder
:
'
请选择车辆管理人
'
,
placeholder
:
'
请选择车辆管理人
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
userList
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
userList
,
val
));
$
.
each
(
userList
,
function
(
i
,
item
)
{
if
(
val
===
item
.
name
)
{
inArray
=
i
;
return
false
;
}
});
if
(
inArray
!=
-
1
)
{
// 如果该元素在集合中存在
userList
.
splice
(
inArray
,
1
);
}
}
}
});
});
// 车辆管理人选择
// 车辆管理人选择
...
...
admin-assistant/src/main/resources/template/js/vehicleManage/vehicleManageEdit.js
浏览文件 @
4793aeff
...
@@ -82,16 +82,7 @@ layui.config({
...
@@ -82,16 +82,7 @@ layui.config({
placeholder
:
'
请选择车辆管理人
'
,
placeholder
:
'
请选择车辆管理人
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
userList
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
userList
,
val
));
$
.
each
(
userList
,
function
(
i
,
item
)
{
if
(
val
===
item
.
name
)
{
inArray
=
i
;
return
false
;
}
});
if
(
inArray
!=
-
1
)
{
//如果该元素在集合中存在
userList
.
splice
(
inArray
,
1
);
}
}
}
});
});
// 附件回显
// 附件回显
...
...
boss/src/main/resources/template/js/bossInterviewArrangement/arrangeInterviewer.js
浏览文件 @
4793aeff
...
@@ -35,16 +35,7 @@ layui.config({
...
@@ -35,16 +35,7 @@ layui.config({
placeholder
:
'
请选择面试官
'
,
placeholder
:
'
请选择面试官
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
interviewer
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
interviewer
,
val
));
$
.
each
(
interviewer
,
function
(
i
,
item
)
{
if
(
val
===
item
.
name
)
{
inArray
=
i
;
return
false
;
}
});
if
(
inArray
!=
-
1
)
{
interviewer
.
splice
(
inArray
,
1
);
}
}
}
});
});
...
...
boss/src/main/resources/template/js/bossInterviewee/bossIntervieweeAdd.js
浏览文件 @
4793aeff
...
@@ -34,11 +34,11 @@ layui.config({
...
@@ -34,11 +34,11 @@ layui.config({
chargePersonId
:
chargePerson
[
0
].
id
,
chargePersonId
:
chargePerson
[
0
].
id
,
enclosureResume
:
skyeyeEnclosure
.
getEnclosureIdsByBoxId
(
'
enclosureUpload
'
)
enclosureResume
:
skyeyeEnclosure
.
getEnclosureIdsByBoxId
(
'
enclosureUpload
'
)
};
};
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
bossInterviewee002
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
bossInterviewee002
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
if
(
json
.
returnCode
==
0
)
{
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
parent
.
refreshCode
=
'
0
'
;
}
else
{
}
else
{
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
}
}});
}});
...
@@ -52,16 +52,7 @@ layui.config({
...
@@ -52,16 +52,7 @@ layui.config({
placeholder
:
'
请选择负责人
'
,
placeholder
:
'
请选择负责人
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
chargePerson
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
chargePerson
,
val
));
$
.
each
(
chargePerson
,
function
(
i
,
item
)
{
if
(
val
===
item
.
name
)
{
inArray
=
i
;
return
false
;
}
});
if
(
inArray
!=
-
1
)
{
//如果该元素在集合中存在
chargePerson
.
splice
(
inArray
,
1
);
}
}
}
});
});
...
...
boss/src/main/resources/template/js/bossInterviewee/bossIntervieweeEdit.js
浏览文件 @
4793aeff
...
@@ -37,16 +37,7 @@ layui.config({
...
@@ -37,16 +37,7 @@ layui.config({
placeholder
:
'
请选择负责人
'
,
placeholder
:
'
请选择负责人
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
chargePerson
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
chargePerson
,
val
));
$
.
each
(
chargePerson
,
function
(
i
,
item
)
{
if
(
val
===
item
.
name
)
{
inArray
=
i
;
return
false
;
}
});
if
(
inArray
!=
-
1
)
{
//如果该元素在集合中存在
chargePerson
.
splice
(
inArray
,
1
);
}
}
}
});
});
...
...
boss/src/main/resources/template/js/bossPersonRequire/bossPersonRequirePersonLiable.js
浏览文件 @
4793aeff
...
@@ -36,16 +36,7 @@ layui.config({
...
@@ -36,16 +36,7 @@ layui.config({
placeholder
:
'
请选择责任人
'
,
placeholder
:
'
请选择责任人
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
personLiable
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
personLiable
,
val
));
$
.
each
(
personLiable
,
function
(
i
,
item
)
{
if
(
val
===
item
.
name
)
{
inArray
=
i
;
return
false
;
}
});
if
(
inArray
!=
-
1
)
{
personLiable
.
splice
(
inArray
,
1
);
}
}
}
});
});
...
...
crm/src/main/resources/template/js/crmOpportunity/crmopportunityadd.js
浏览文件 @
4793aeff
...
@@ -137,16 +137,7 @@ layui.config({
...
@@ -137,16 +137,7 @@ layui.config({
placeholder
:
'
请选择商机负责人
'
,
placeholder
:
'
请选择商机负责人
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
responsIdList
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
responsIdList
,
val
));
$
.
each
(
responsIdList
,
function
(
i
,
item
)
{
if
(
val
===
item
.
name
)
{
inArray
=
i
;
return
false
;
}
});
if
(
inArray
!=
-
1
)
{
//如果该元素在集合中存在
responsIdList
.
splice
(
inArray
,
1
);
}
}
}
});
});
// 商机负责人选择
// 商机负责人选择
...
@@ -167,16 +158,7 @@ layui.config({
...
@@ -167,16 +158,7 @@ layui.config({
placeholder
:
'
请选择商机参与人
'
,
placeholder
:
'
请选择商机参与人
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
partIdList
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
partIdList
,
val
));
$
.
each
(
partIdList
,
function
(
i
,
item
)
{
if
(
val
===
item
.
name
)
{
inArray
=
i
;
return
false
;
}
});
if
(
inArray
!=
-
1
)
{
//如果该元素在集合中存在
partIdList
.
splice
(
inArray
,
1
);
}
}
}
});
});
// 商机参与人选择
// 商机参与人选择
...
@@ -197,16 +179,7 @@ layui.config({
...
@@ -197,16 +179,7 @@ layui.config({
placeholder
:
'
请选择商机关注人
'
,
placeholder
:
'
请选择商机关注人
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
followIdList
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
followIdList
,
val
));
$
.
each
(
followIdList
,
function
(
i
,
item
)
{
if
(
val
===
item
.
name
)
{
inArray
=
i
;
return
false
;
}
});
if
(
inArray
!=
-
1
)
{
//如果该元素在集合中存在
followIdList
.
splice
(
inArray
,
1
);
}
}
}
});
});
// 商机关注人选择
// 商机关注人选择
...
...
crm/src/main/resources/template/js/crmOpportunity/crmopportunityedit.js
浏览文件 @
4793aeff
...
@@ -85,16 +85,7 @@ layui.config({
...
@@ -85,16 +85,7 @@ layui.config({
placeholder
:
'
请选择商机负责人
'
,
placeholder
:
'
请选择商机负责人
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
responsIdList
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
responsIdList
,
val
));
$
.
each
(
responsIdList
,
function
(
i
,
item
)
{
if
(
val
===
item
.
name
)
{
inArray
=
i
;
return
false
;
}
});
if
(
inArray
!=
-
1
)
{
//如果该元素在集合中存在
responsIdList
.
splice
(
inArray
,
1
);
}
}
}
});
});
$
(
"
body
"
).
on
(
"
click
"
,
"
#responsIdSelPeople
"
,
function
(
e
){
$
(
"
body
"
).
on
(
"
click
"
,
"
#responsIdSelPeople
"
,
function
(
e
){
...
@@ -120,16 +111,7 @@ layui.config({
...
@@ -120,16 +111,7 @@ layui.config({
placeholder
:
'
请选择商机参与人
'
,
placeholder
:
'
请选择商机参与人
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
partIdList
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
partIdList
,
val
));
$
.
each
(
partIdList
,
function
(
i
,
item
)
{
if
(
val
===
item
.
name
)
{
inArray
=
i
;
return
false
;
}
});
if
(
inArray
!=
-
1
)
{
// 如果该元素在集合中存在
partIdList
.
splice
(
inArray
,
1
);
}
}
}
});
});
$
(
"
body
"
).
on
(
"
click
"
,
"
#partIdSelPeople
"
,
function
(
e
){
$
(
"
body
"
).
on
(
"
click
"
,
"
#partIdSelPeople
"
,
function
(
e
){
...
@@ -155,16 +137,7 @@ layui.config({
...
@@ -155,16 +137,7 @@ layui.config({
placeholder
:
'
请选择商机关注人
'
,
placeholder
:
'
请选择商机关注人
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
followIdList
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
followIdList
,
val
));
$
.
each
(
followIdList
,
function
(
i
,
item
)
{
if
(
val
===
item
.
name
)
{
inArray
=
i
;
return
false
;
}
});
if
(
inArray
!=
-
1
)
{
// 如果该元素在集合中存在
followIdList
.
splice
(
inArray
,
1
);
}
}
}
});
});
$
(
"
body
"
).
on
(
"
click
"
,
"
#followIdSelPeople
"
,
function
(
e
){
$
(
"
body
"
).
on
(
"
click
"
,
"
#followIdSelPeople
"
,
function
(
e
){
...
...
crm/src/main/resources/template/js/crmcontractmanage/mycrmcontractadd.js
浏览文件 @
4793aeff
...
@@ -66,16 +66,7 @@ layui.config({
...
@@ -66,16 +66,7 @@ layui.config({
placeholder
:
'
请选择关联人员
'
,
placeholder
:
'
请选择关联人员
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
userList
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
userList
,
val
));
$
.
each
(
userList
,
function
(
i
,
item
)
{
if
(
val
===
item
.
name
)
{
inArray
=
i
;
return
false
;
}
});
if
(
inArray
!=
-
1
)
{
//如果该元素在集合中存在
userList
.
splice
(
inArray
,
1
);
}
}
}
});
});
// 关联人员选择选择
// 关联人员选择选择
...
...
crm/src/main/resources/template/js/crmcontractmanage/mycrmcontractedit.js
浏览文件 @
4793aeff
...
@@ -75,16 +75,7 @@ layui.config({
...
@@ -75,16 +75,7 @@ layui.config({
placeholder
:
'
请选择关联人员
'
,
placeholder
:
'
请选择关联人员
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
userList
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
userList
,
val
));
$
.
each
(
userList
,
function
(
i
,
item
)
{
if
(
val
===
item
.
name
)
{
inArray
=
i
;
return
false
;
}
});
if
(
inArray
!=
-
1
)
{
//如果该元素在集合中存在
userList
.
splice
(
inArray
,
1
);
}
}
}
});
});
...
...
erp-produce/src/main/resources/template/js/erpWorkProcedure/erpWorkProcedureAdd.js
浏览文件 @
4793aeff
...
@@ -84,16 +84,7 @@ layui.config({
...
@@ -84,16 +84,7 @@ layui.config({
placeholder
:
'
请选择工序操作员
'
,
placeholder
:
'
请选择工序操作员
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
procedureUser
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
procedureUser
,
val
));
$
.
each
(
procedureUser
,
function
(
i
,
item
)
{
if
(
val
===
item
.
name
)
{
inArray
=
i
;
return
false
;
}
});
if
(
inArray
!=
-
1
)
{
//如果该元素在集合中存在
procedureUser
.
splice
(
inArray
,
1
);
}
}
}
});
});
// 工序操作员选择
// 工序操作员选择
...
...
erp-produce/src/main/resources/template/js/erpWorkProcedure/erpWorkProcedureEdit.js
浏览文件 @
4793aeff
...
@@ -65,16 +65,7 @@ layui.config({
...
@@ -65,16 +65,7 @@ layui.config({
placeholder
:
'
请选择工序操作员
'
,
placeholder
:
'
请选择工序操作员
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
procedureUser
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
procedureUser
,
val
));
$
.
each
(
procedureUser
,
function
(
i
,
item
)
{
if
(
val
===
item
.
name
)
{
inArray
=
i
;
return
false
;
}
});
if
(
inArray
!=
-
1
)
{
//如果该元素在集合中存在
procedureUser
.
splice
(
inArray
,
1
);
}
}
}
});
});
...
...
erp/src/main/resources/template/js/salesorder/salesorderadd.js
浏览文件 @
4793aeff
...
@@ -224,16 +224,7 @@ layui.config({
...
@@ -224,16 +224,7 @@ layui.config({
placeholder
:
'
请选择销售人员
'
,
placeholder
:
'
请选择销售人员
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
salesManList
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
salesManList
,
val
));
$
.
each
(
salesManList
,
function
(
i
,
item
)
{
if
(
val
===
item
.
name
)
{
inArray
=
i
;
return
false
;
}
});
if
(
inArray
!=
-
1
)
{
//如果该元素在集合中存在
salesManList
.
splice
(
inArray
,
1
);
}
}
}
});
});
...
...
erp/src/main/resources/template/js/salesorder/salesorderedit.js
浏览文件 @
4793aeff
...
@@ -125,16 +125,7 @@ layui.config({
...
@@ -125,16 +125,7 @@ layui.config({
placeholder
:
'
请选择销售人员
'
,
placeholder
:
'
请选择销售人员
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
salesManList
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
salesManList
,
val
));
$
.
each
(
salesManList
,
function
(
i
,
item
)
{
if
(
val
===
item
.
name
)
{
inArray
=
i
;
return
false
;
}
});
if
(
inArray
!=
-
1
)
{
//如果该元素在集合中存在
salesManList
.
splice
(
inArray
,
1
);
}
}
}
});
});
...
...
erp/src/main/resources/template/js/salesorder/salesorderpurchase.js
浏览文件 @
4793aeff
...
@@ -140,16 +140,7 @@ layui.config({
...
@@ -140,16 +140,7 @@ layui.config({
initialTags
:
userNames
.
split
(
'
,
'
),
initialTags
:
userNames
.
split
(
'
,
'
),
placeholder
:
'
请选择销售人员
'
,
placeholder
:
'
请选择销售人员
'
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
salesManList
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
salesManList
,
val
));
$
.
each
(
salesManList
,
function
(
i
,
item
)
{
if
(
val
===
item
.
name
)
{
inArray
=
i
;
return
false
;
}
});
if
(
inArray
!=
-
1
)
{
//如果该元素在集合中存在
salesManList
.
splice
(
inArray
,
1
);
}
}
}
});
});
...
...
erp/src/main/resources/template/js/salesoutlet/salesoutletadd.js
浏览文件 @
4793aeff
...
@@ -233,16 +233,7 @@ layui.config({
...
@@ -233,16 +233,7 @@ layui.config({
placeholder
:
'
请选择销售人员
'
,
placeholder
:
'
请选择销售人员
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
salesManList
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
salesManList
,
val
));
$
.
each
(
salesManList
,
function
(
i
,
item
)
{
if
(
val
===
item
.
name
)
{
inArray
=
i
;
return
false
;
}
});
if
(
inArray
!=
-
1
)
{
//如果该元素在集合中存在
salesManList
.
splice
(
inArray
,
1
);
}
}
}
});
});
...
...
erp/src/main/resources/template/js/salesoutlet/salesoutletedit.js
浏览文件 @
4793aeff
...
@@ -132,16 +132,7 @@ layui.config({
...
@@ -132,16 +132,7 @@ layui.config({
placeholder
:
'
请选择销售人员
'
,
placeholder
:
'
请选择销售人员
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
salesManList
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
salesManList
,
val
));
$
.
each
(
salesManList
,
function
(
i
,
item
)
{
if
(
val
===
item
.
name
)
{
inArray
=
i
;
return
false
;
}
});
if
(
inArray
!=
-
1
)
{
//如果该元素在集合中存在
salesManList
.
splice
(
inArray
,
1
);
}
}
}
});
});
erpOrderUtil
.
orderEditPageSetBtnBySubmitType
(
submitType
,
json
.
bean
.
state
);
erpOrderUtil
.
orderEditPageSetBtnBySubmitType
(
submitType
,
json
.
bean
.
state
);
...
...
erp/src/main/resources/template/js/salesreturns/salesreturnsadd.js
浏览文件 @
4793aeff
...
@@ -234,16 +234,7 @@ layui.config({
...
@@ -234,16 +234,7 @@ layui.config({
placeholder
:
'
请选择销售人员
'
,
placeholder
:
'
请选择销售人员
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
salesManList
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
salesManList
,
val
));
$
.
each
(
salesManList
,
function
(
i
,
item
)
{
if
(
val
===
item
.
name
)
{
inArray
=
i
;
return
false
;
}
});
if
(
inArray
!=
-
1
)
{
//如果该元素在集合中存在
salesManList
.
splice
(
inArray
,
1
);
}
}
}
});
});
...
...
erp/src/main/resources/template/js/salesreturns/salesreturnsedit.js
浏览文件 @
4793aeff
...
@@ -132,16 +132,7 @@ layui.config({
...
@@ -132,16 +132,7 @@ layui.config({
placeholder
:
'
请选择销售人员
'
,
placeholder
:
'
请选择销售人员
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
salesManList
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
salesManList
,
val
));
$
.
each
(
salesManList
,
function
(
i
,
item
)
{
if
(
val
===
item
.
name
)
{
inArray
=
i
;
return
false
;
}
});
if
(
inArray
!=
-
1
)
{
//如果该元素在集合中存在
salesManList
.
splice
(
inArray
,
1
);
}
}
}
});
});
erpOrderUtil
.
orderEditPageSetBtnBySubmitType
(
submitType
,
json
.
bean
.
state
);
erpOrderUtil
.
orderEditPageSetBtnBySubmitType
(
submitType
,
json
.
bean
.
state
);
...
...
erp/src/main/resources/template/js/storehouse/storehouseadd.js
浏览文件 @
4793aeff
...
@@ -60,16 +60,7 @@ layui.config({
...
@@ -60,16 +60,7 @@ layui.config({
placeholder
:
'
请选择仓库负责人
'
,
placeholder
:
'
请选择仓库负责人
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
chooseUser
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
chooseUser
,
val
));
$
.
each
(
chooseUser
,
function
(
i
,
item
)
{
if
(
val
===
item
.
name
)
{
inArray
=
i
;
return
false
;
}
});
if
(
inArray
!=
-
1
)
{
//如果该元素在集合中存在
chooseUser
.
splice
(
inArray
,
1
);
}
}
}
});
});
...
...
erp/src/main/resources/template/js/storehouse/storehouseedit.js
浏览文件 @
4793aeff
...
@@ -39,16 +39,7 @@ layui.config({
...
@@ -39,16 +39,7 @@ layui.config({
placeholder
:
'
请选择仓库负责人
'
,
placeholder
:
'
请选择仓库负责人
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
chooseUser
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
chooseUser
,
val
));
$
.
each
(
chooseUser
,
function
(
i
,
item
)
{
if
(
val
===
item
.
name
)
{
inArray
=
i
;
return
false
;
}
});
if
(
inArray
!=
-
1
)
{
//如果该元素在集合中存在
chooseUser
.
splice
(
inArray
,
1
);
}
}
}
});
});
...
...
forum/src/main/resources/template/js/forumshow/myforumedit.js
浏览文件 @
4793aeff
...
@@ -64,16 +64,7 @@ layui.config({
...
@@ -64,16 +64,7 @@ layui.config({
placeholder
:
'
请选择标签
'
,
placeholder
:
'
请选择标签
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
tagList
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
tagList
,
val
));
$
.
each
(
tagList
,
function
(
i
,
item
)
{
if
(
val
===
item
.
name
)
{
inArray
=
i
;
return
false
;
}
});
if
(
inArray
!=
-
1
)
{
//如果该元素在集合中存在
tagList
.
splice
(
inArray
,
1
);
}
}
}
});
});
...
...
forum/src/main/resources/template/js/forumshow/mysendforum.js
浏览文件 @
4793aeff
...
@@ -22,16 +22,7 @@ layui.config({
...
@@ -22,16 +22,7 @@ layui.config({
placeholder
:
'
请选择标签
'
,
placeholder
:
'
请选择标签
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
tagList
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
tagList
,
val
));
$
.
each
(
tagList
,
function
(
i
,
item
)
{
if
(
val
===
item
.
name
)
{
inArray
=
i
;
return
false
;
}
});
if
(
inArray
!=
-
1
)
{
//如果该元素在集合中存在
tagList
.
splice
(
inArray
,
1
);
}
}
}
});
});
$
(
"
body
"
).
on
(
"
click
"
,
"
#chooseTag
"
,
function
(
e
){
$
(
"
body
"
).
on
(
"
click
"
,
"
#chooseTag
"
,
function
(
e
){
...
...
ifs/src/main/resources/template/js/income/incomeAdd.js
浏览文件 @
4793aeff
...
@@ -117,16 +117,7 @@ layui.config({
...
@@ -117,16 +117,7 @@ layui.config({
placeholder
:
'
请选择经手人员
'
,
placeholder
:
'
请选择经手人员
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
handsPersonList
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
handsPersonList
,
val
));
$
.
each
(
handsPersonList
,
function
(
i
,
item
)
{
if
(
val
===
item
.
name
)
{
inArray
=
i
;
return
false
;
}
});
if
(
inArray
!=
-
1
)
{
//如果该元素在集合中存在
handsPersonList
.
splice
(
inArray
,
1
);
}
}
}
});
});
...
...
ifs/src/main/resources/template/js/income/incomeEdit.js
浏览文件 @
4793aeff
...
@@ -84,16 +84,7 @@ layui.config({
...
@@ -84,16 +84,7 @@ layui.config({
placeholder
:
'
请选择经手人员
'
,
placeholder
:
'
请选择经手人员
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
handsPersonList
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
handsPersonList
,
val
));
$
.
each
(
handsPersonList
,
function
(
i
,
item
)
{
if
(
val
===
item
.
name
)
{
inArray
=
i
;
return
false
;
}
});
if
(
inArray
!=
-
1
)
{
//如果该元素在集合中存在
handsPersonList
.
splice
(
inArray
,
1
);
}
}
}
});
});
}
}
...
...
jobdiary/src/main/resources/template/js/jobdiaryMySend/jobdiaryMySendDayEdit.js
浏览文件 @
4793aeff
...
@@ -96,16 +96,7 @@ layui.config({
...
@@ -96,16 +96,7 @@ layui.config({
placeholder
:
'
请选择接收人
'
,
placeholder
:
'
请选择接收人
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
userList
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
userList
,
val
));
$
.
each
(
userList
,
function
(
i
,
item
)
{
if
(
val
===
item
.
name
)
{
inArray
=
i
;
return
false
;
}
});
if
(
inArray
!=
-
1
)
{
//如果该元素在集合中存在
userList
.
splice
(
inArray
,
1
);
}
}
}
});
});
var
completedContent
=
layedit
.
build
(
'
completedcontent
'
,
layEditParams
);
var
completedContent
=
layedit
.
build
(
'
completedcontent
'
,
layEditParams
);
...
...
jobdiary/src/main/resources/template/js/jobdiaryMySend/jobdiaryMySendMonthEdit.js
浏览文件 @
4793aeff
...
@@ -96,16 +96,7 @@ layui.config({
...
@@ -96,16 +96,7 @@ layui.config({
placeholder
:
'
请选择接收人
'
,
placeholder
:
'
请选择接收人
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
userList
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
userList
,
val
));
$
.
each
(
userList
,
function
(
i
,
item
)
{
if
(
val
===
item
.
name
)
{
inArray
=
i
;
return
false
;
}
});
if
(
inArray
!=
-
1
)
{
//如果该元素在集合中存在
userList
.
splice
(
inArray
,
1
);
}
}
}
});
});
var
monthCompletedContent
=
layedit
.
build
(
'
monthCompletedContent
'
,
layEditParams
);
var
monthCompletedContent
=
layedit
.
build
(
'
monthCompletedContent
'
,
layEditParams
);
...
...
jobdiary/src/main/resources/template/js/jobdiaryMySend/jobdiaryMySendPublish.js
浏览文件 @
4793aeff
...
@@ -455,16 +455,7 @@ layui.config({
...
@@ -455,16 +455,7 @@ layui.config({
placeholder
:
'
请选择收件人
'
,
placeholder
:
'
请选择收件人
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
userList
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
userList
,
val
));
$
.
each
(
userList
,
function
(
i
,
item
)
{
if
(
val
===
item
.
name
)
{
inArray
=
i
;
return
false
;
}
});
if
(
inArray
!=
-
1
)
{
//如果该元素在集合中存在
userList
.
splice
(
inArray
,
1
);
}
}
}
});
});
//日报人员选择
//日报人员选择
...
@@ -484,16 +475,7 @@ layui.config({
...
@@ -484,16 +475,7 @@ layui.config({
placeholder
:
'
请选择收件人
'
,
placeholder
:
'
请选择收件人
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
userList
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
userList
,
val
));
$
.
each
(
userList
,
function
(
i
,
item
)
{
if
(
val
===
item
.
name
)
{
inArray
=
i
;
return
false
;
}
});
if
(
inArray
!=
-
1
)
{
//如果该元素在集合中存在
userList
.
splice
(
inArray
,
1
);
}
}
}
});
});
//周报人员选择
//周报人员选择
...
@@ -513,16 +495,7 @@ layui.config({
...
@@ -513,16 +495,7 @@ layui.config({
placeholder
:
'
请选择收件人
'
,
placeholder
:
'
请选择收件人
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
userList
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
userList
,
val
));
$
.
each
(
userList
,
function
(
i
,
item
)
{
if
(
val
===
item
.
name
)
{
inArray
=
i
;
return
false
;
}
});
if
(
inArray
!=
-
1
)
{
//如果该元素在集合中存在
userList
.
splice
(
inArray
,
1
);
}
}
}
});
});
//月报人员选择
//月报人员选择
...
...
jobdiary/src/main/resources/template/js/jobdiaryMySend/jobdiaryMySendWeekEdit.js
浏览文件 @
4793aeff
...
@@ -95,16 +95,7 @@ layui.config({
...
@@ -95,16 +95,7 @@ layui.config({
placeholder
:
'
请选择接收人
'
,
placeholder
:
'
请选择接收人
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
userList
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
userList
,
val
));
$
.
each
(
userList
,
function
(
i
,
item
)
{
if
(
val
===
item
.
name
)
{
inArray
=
i
;
return
false
;
}
});
if
(
inArray
!=
-
1
)
{
//如果该元素在集合中存在
userList
.
splice
(
inArray
,
1
);
}
}
}
});
});
var
weekCompletedContent
=
layedit
.
build
(
'
weekCompletedContent
'
,
layEditParams
);
var
weekCompletedContent
=
layedit
.
build
(
'
weekCompletedContent
'
,
layEditParams
);
...
...
message/src/main/resources/template/js/sysnotice/sysnoticeadd.js
浏览文件 @
4793aeff
...
@@ -155,16 +155,7 @@ layui.config({
...
@@ -155,16 +155,7 @@ layui.config({
placeholder
:
'
填写完成后直接回车即可
'
,
placeholder
:
'
填写完成后直接回车即可
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
userList
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
userList
,
val
));
$
.
each
(
userList
,
function
(
i
,
item
)
{
if
(
val
===
item
.
name
)
{
inArray
=
i
;
return
false
;
}
});
if
(
inArray
!=
-
1
)
{
//如果该元素在集合中存在
userList
.
splice
(
inArray
,
1
);
}
}
}
});
});
...
...
message/src/main/resources/template/js/sysnotice/sysnoticeedit.js
浏览文件 @
4793aeff
...
@@ -75,16 +75,7 @@ layui.config({
...
@@ -75,16 +75,7 @@ layui.config({
placeholder
:
'
填写完成后直接回车即可
'
,
placeholder
:
'
填写完成后直接回车即可
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
userList
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
userList
,
val
));
$
.
each
(
userList
,
function
(
i
,
item
)
{
if
(
val
===
item
.
name
)
{
inArray
=
i
;
return
false
;
}
});
if
(
inArray
!=
-
1
)
{
//如果该元素在集合中存在
userList
.
splice
(
inArray
,
1
);
}
}
}
});
});
...
...
pro/src/main/resources/template/js/proproject/proappoint.js
浏览文件 @
4793aeff
...
@@ -81,16 +81,7 @@ layui.config({
...
@@ -81,16 +81,7 @@ layui.config({
placeholder
:
'
请选择项目经理
'
,
placeholder
:
'
请选择项目经理
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
toProjectManager
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
toProjectManager
,
val
));
$
.
each
(
toProjectManager
,
function
(
i
,
item
)
{
if
(
val
===
item
.
name
)
{
inArray
=
i
;
return
false
;
}
});
if
(
inArray
!=
-
1
)
{
//如果该元素在集合中存在
toProjectManager
.
splice
(
inArray
,
1
);
}
}
}
});
});
...
@@ -99,16 +90,7 @@ layui.config({
...
@@ -99,16 +90,7 @@ layui.config({
placeholder
:
'
请选择项目赞助人
'
,
placeholder
:
'
请选择项目赞助人
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
toProjectSponsor
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
toProjectSponsor
,
val
));
$
.
each
(
toProjectSponsor
,
function
(
i
,
item
)
{
if
(
val
===
item
.
name
)
{
inArray
=
i
;
return
false
;
}
});
if
(
inArray
!=
-
1
)
{
//如果该元素在集合中存在
toProjectSponsor
.
splice
(
inArray
,
1
);
}
}
}
});
});
...
@@ -117,16 +99,7 @@ layui.config({
...
@@ -117,16 +99,7 @@ layui.config({
placeholder
:
'
请选择项目组成员
'
,
placeholder
:
'
请选择项目组成员
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
toProjectMembers
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
toProjectMembers
,
val
));
$
.
each
(
toProjectMembers
,
function
(
i
,
item
)
{
if
(
val
===
item
.
name
)
{
inArray
=
i
;
return
false
;
}
});
if
(
inArray
!=
-
1
)
{
//如果该元素在集合中存在
toProjectMembers
.
splice
(
inArray
,
1
);
}
}
}
});
});
...
...
pro/src/main/resources/template/js/protask/protaskadd.js
浏览文件 @
4793aeff
...
@@ -155,16 +155,7 @@ layui.config({
...
@@ -155,16 +155,7 @@ layui.config({
placeholder
:
'
请选择执行人
'
,
placeholder
:
'
请选择执行人
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
performIdList
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
performIdList
,
val
));
$
.
each
(
performIdList
,
function
(
i
,
item
)
{
if
(
val
===
item
.
name
)
{
inArray
=
i
;
return
false
;
}
});
if
(
inArray
!=
-
1
)
{
//如果该元素在集合中存在
performIdList
.
splice
(
inArray
,
1
);
}
}
}
});
});
...
...
pro/src/main/resources/template/js/protask/protaskedit.js
浏览文件 @
4793aeff
...
@@ -112,16 +112,7 @@ layui.config({
...
@@ -112,16 +112,7 @@ layui.config({
placeholder
:
'
请选择执行人
'
,
placeholder
:
'
请选择执行人
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
performIdList
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
performIdList
,
val
));
$
.
each
(
performIdList
,
function
(
i
,
item
)
{
if
(
val
===
item
.
name
)
{
inArray
=
i
;
return
false
;
}
});
if
(
inArray
!=
-
1
)
{
//如果该元素在集合中存在
performIdList
.
splice
(
inArray
,
1
);
}
}
}
});
});
$
(
"
body
"
).
on
(
"
click
"
,
"
#performIdSelPeople
"
,
function
(
e
)
{
$
(
"
body
"
).
on
(
"
click
"
,
"
#performIdSelPeople
"
,
function
(
e
)
{
...
...
seal-service/src/main/resources/template/js/sealseservice/sealseserviceadd.js
浏览文件 @
4793aeff
...
@@ -200,16 +200,7 @@ layui.config({
...
@@ -200,16 +200,7 @@ layui.config({
placeholder
:
'
请选择工单协助人
'
,
placeholder
:
'
请选择工单协助人
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
cooperationUser
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
cooperationUser
,
val
));
$
.
each
(
cooperationUser
,
function
(
i
,
item
)
{
if
(
val
===
item
.
name
)
{
inArray
=
i
;
return
false
;
}
});
if
(
inArray
!=
-
1
)
{
//如果该元素在集合中存在
cooperationUser
.
splice
(
inArray
,
1
);
}
}
}
});
});
//工单协助人选择
//工单协助人选择
...
...
seal-service/src/main/resources/template/js/sealseservice/sealseserviceedit.js
浏览文件 @
4793aeff
...
@@ -93,16 +93,7 @@ layui.config({
...
@@ -93,16 +93,7 @@ layui.config({
placeholder
:
'
请选择工单协助人
'
,
placeholder
:
'
请选择工单协助人
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
cooperationUser
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
cooperationUser
,
val
));
$
.
each
(
cooperationUser
,
function
(
i
,
item
)
{
if
(
val
===
item
.
name
)
{
inArray
=
i
;
return
false
;
}
});
if
(
inArray
!=
-
1
)
{
//如果该元素在集合中存在
cooperationUser
.
splice
(
inArray
,
1
);
}
}
}
});
});
...
...
seal-service/src/main/resources/template/js/stateisstayworker/dispatchedworker.js
浏览文件 @
4793aeff
...
@@ -82,16 +82,7 @@ layui.config({
...
@@ -82,16 +82,7 @@ layui.config({
initialTags
:
[],
initialTags
:
[],
placeholder
:
'
请选择工单协助人
'
,
placeholder
:
'
请选择工单协助人
'
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
cooperationUser
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
cooperationUser
,
val
));
$
.
each
(
cooperationUser
,
function
(
i
,
item
)
{
if
(
val
===
item
.
name
)
{
inArray
=
i
;
return
false
;
}
});
if
(
inArray
!=
-
1
)
{
//如果该元素在集合中存在
cooperationUser
.
splice
(
inArray
,
1
);
}
}
}
});
});
//工单协助人选择
//工单协助人选择
...
...
wages/src/main/resources/template/js/wagesModel/wagesModelAdd.js
浏览文件 @
4793aeff
...
@@ -118,15 +118,7 @@ layui.config({
...
@@ -118,15 +118,7 @@ layui.config({
placeholder
:
'
请选择企业
'
,
placeholder
:
'
请选择企业
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
companyList
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
companyList
,
val
));
$
.
each
(
companyList
,
function
(
i
,
item
)
{
if
(
val
==
item
.
name
)
{
inArray
=
i
;
}
});
if
(
inArray
!=
-
1
)
{
//如果该元素在集合中存在
companyList
.
splice
(
inArray
,
1
);
}
}
}
});
});
$
(
"
body
"
).
on
(
"
click
"
,
"
#companySel
"
,
function
(){
$
(
"
body
"
).
on
(
"
click
"
,
"
#companySel
"
,
function
(){
...
@@ -158,15 +150,7 @@ layui.config({
...
@@ -158,15 +150,7 @@ layui.config({
placeholder
:
'
请选择部门
'
,
placeholder
:
'
请选择部门
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
departmentList
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
departmentList
,
val
));
$
.
each
(
departmentList
,
function
(
i
,
item
)
{
if
(
val
==
item
.
name
)
{
inArray
=
i
;
}
});
if
(
inArray
!=
-
1
)
{
departmentList
.
splice
(
inArray
,
1
);
}
}
}
});
});
$
(
"
body
"
).
on
(
"
click
"
,
"
#departmentSel
"
,
function
(){
$
(
"
body
"
).
on
(
"
click
"
,
"
#departmentSel
"
,
function
(){
...
@@ -198,15 +182,7 @@ layui.config({
...
@@ -198,15 +182,7 @@ layui.config({
placeholder
:
'
请选择员工
'
,
placeholder
:
'
请选择员工
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
checkStaffList
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
checkStaffList
,
val
));
$
.
each
(
checkStaffList
,
function
(
i
,
item
)
{
if
(
val
==
item
.
name
)
{
inArray
=
i
;
}
});
if
(
inArray
!=
-
1
)
{
//如果该元素在集合中存在
checkStaffList
.
splice
(
inArray
,
1
);
}
}
}
});
});
$
(
"
body
"
).
on
(
"
click
"
,
"
#userStaffSel
"
,
function
(){
$
(
"
body
"
).
on
(
"
click
"
,
"
#userStaffSel
"
,
function
(){
...
...
wages/src/main/resources/template/js/wagesModel/wagesModelEdit.js
浏览文件 @
4793aeff
...
@@ -64,15 +64,7 @@ layui.config({
...
@@ -64,15 +64,7 @@ layui.config({
placeholder
:
'
请选择企业
'
,
placeholder
:
'
请选择企业
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
companyList
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
companyList
,
val
));
$
.
each
(
companyList
,
function
(
i
,
item
)
{
if
(
val
==
item
.
name
)
{
inArray
=
i
;
}
});
if
(
inArray
!=
-
1
)
{
//如果该元素在集合中存在
companyList
.
splice
(
inArray
,
1
);
}
}
}
});
});
...
@@ -84,15 +76,7 @@ layui.config({
...
@@ -84,15 +76,7 @@ layui.config({
placeholder
:
'
请选择部门
'
,
placeholder
:
'
请选择部门
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
departmentList
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
departmentList
,
val
));
$
.
each
(
departmentList
,
function
(
i
,
item
)
{
if
(
val
==
item
.
name
)
{
inArray
=
i
;
}
});
if
(
inArray
!=
-
1
)
{
departmentList
.
splice
(
inArray
,
1
);
}
}
}
});
});
...
@@ -104,15 +88,7 @@ layui.config({
...
@@ -104,15 +88,7 @@ layui.config({
placeholder
:
'
请选择员工
'
,
placeholder
:
'
请选择员工
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
checkStaffList
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
checkStaffList
,
val
));
$
.
each
(
checkStaffList
,
function
(
i
,
item
)
{
if
(
val
==
item
.
name
)
{
inArray
=
i
;
}
});
if
(
inArray
!=
-
1
)
{
//如果该元素在集合中存在
checkStaffList
.
splice
(
inArray
,
1
);
}
}
}
});
});
...
...
web/src/main/resources/template/assets/lib/layui/customer/arrayUtil.js
浏览文件 @
4793aeff
...
@@ -12,8 +12,9 @@ var arrayUtil = {
...
@@ -12,8 +12,9 @@ var arrayUtil = {
removeArrayPointName
:
function
(
list
,
name
)
{
removeArrayPointName
:
function
(
list
,
name
)
{
var
inArray
=
-
1
;
var
inArray
=
-
1
;
$
.
each
(
list
,
function
(
i
,
item
)
{
$
.
each
(
list
,
function
(
i
,
item
)
{
if
(
name
==
item
.
name
)
{
if
(
name
==
=
item
.
name
)
{
inArray
=
i
;
inArray
=
i
;
return
false
;
}
}
});
});
if
(
inArray
!=
-
1
)
{
if
(
inArray
!=
-
1
)
{
...
...
workplan/src/main/resources/template/js/sysworkplan/sysworkplanadd.js
浏览文件 @
4793aeff
...
@@ -257,16 +257,7 @@ layui.config({
...
@@ -257,16 +257,7 @@ layui.config({
placeholder
:
'
请选择指定人员
'
,
placeholder
:
'
请选择指定人员
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
userList
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
userList
,
val
));
$
.
each
(
userList
,
function
(
i
,
item
)
{
if
(
val
===
item
.
name
)
{
inArray
=
i
;
return
false
;
}
});
if
(
inArray
!=
-
1
)
{
//如果该元素在集合中存在
userList
.
splice
(
inArray
,
1
);
}
}
}
});
});
...
...
workplan/src/main/resources/template/js/sysworkplan/sysworkplancomadd.js
浏览文件 @
4793aeff
...
@@ -250,16 +250,7 @@ layui.config({
...
@@ -250,16 +250,7 @@ layui.config({
placeholder
:
'
请选择人员
'
,
placeholder
:
'
请选择人员
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
userList
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
userList
,
val
));
$
.
each
(
userList
,
function
(
i
,
item
)
{
if
(
val
===
item
.
name
)
{
inArray
=
i
;
return
false
;
}
});
if
(
inArray
!=
-
1
)
{
//如果该元素在集合中存在
userList
.
splice
(
inArray
,
1
);
}
}
}
});
});
...
...
workplan/src/main/resources/template/js/sysworkplan/sysworkplancomedit.js
浏览文件 @
4793aeff
...
@@ -63,16 +63,7 @@ layui.config({
...
@@ -63,16 +63,7 @@ layui.config({
placeholder
:
'
请选择人员
'
,
placeholder
:
'
请选择人员
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
userList
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
userList
,
val
));
$
.
each
(
userList
,
function
(
i
,
item
)
{
if
(
val
===
item
.
name
)
{
inArray
=
i
;
return
false
;
}
});
if
(
inArray
!=
-
1
)
{
//如果该元素在集合中存在
userList
.
splice
(
inArray
,
1
);
}
}
}
});
});
...
...
workplan/src/main/resources/template/js/sysworkplan/sysworkplandepadd.js
浏览文件 @
4793aeff
...
@@ -250,16 +250,7 @@ layui.config({
...
@@ -250,16 +250,7 @@ layui.config({
placeholder
:
'
请选择人员
'
,
placeholder
:
'
请选择人员
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
userList
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
userList
,
val
));
$
.
each
(
userList
,
function
(
i
,
item
)
{
if
(
val
===
item
.
name
)
{
inArray
=
i
;
return
false
;
}
});
if
(
inArray
!=
-
1
)
{
//如果该元素在集合中存在
userList
.
splice
(
inArray
,
1
);
}
}
}
});
});
...
...
workplan/src/main/resources/template/js/sysworkplan/sysworkplandepedit.js
浏览文件 @
4793aeff
...
@@ -61,16 +61,7 @@ layui.config({
...
@@ -61,16 +61,7 @@ layui.config({
placeholder
:
'
请选择人员
'
,
placeholder
:
'
请选择人员
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
userList
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
userList
,
val
));
$
.
each
(
userList
,
function
(
i
,
item
)
{
if
(
val
===
item
.
name
)
{
inArray
=
i
;
return
false
;
}
});
if
(
inArray
!=
-
1
)
{
//如果该元素在集合中存在
userList
.
splice
(
inArray
,
1
);
}
}
}
});
});
...
...
workplan/src/main/resources/template/js/sysworkplan/sysworkplanedit.js
浏览文件 @
4793aeff
...
@@ -63,16 +63,7 @@ layui.config({
...
@@ -63,16 +63,7 @@ layui.config({
placeholder
:
'
请选择指定人员
'
,
placeholder
:
'
请选择指定人员
'
,
editorTag
:
false
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
var
inArray
=
-
1
;
userList
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
userList
,
val
));
$
.
each
(
userList
,
function
(
i
,
item
)
{
if
(
val
===
item
.
name
)
{
inArray
=
i
;
return
false
;
}
});
if
(
inArray
!=
-
1
)
{
//如果该元素在集合中存在
userList
.
splice
(
inArray
,
1
);
}
}
}
});
});
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录