Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
office-web
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
office
office-web
Commits
1d1b13ed
Commit
1d1b13ed
authored
Feb 21, 2019
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 增加编辑员工信息校验
parent
acb832d8
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
37 additions
and
26 deletions
+37
-26
index.html
dist/index.html
+2
-2
10.0c1df4b546ec5e6a614b.js
dist/static/js/10.0c1df4b546ec5e6a614b.js
+2
-0
11.e520fec57c7e2a952a8e.js
dist/static/js/11.e520fec57c7e2a952a8e.js
+2
-2
12.c25271c62951b988f342.js
dist/static/js/12.c25271c62951b988f342.js
+2
-2
13.60a490fd5d0e6fe747e1.js
dist/static/js/13.60a490fd5d0e6fe747e1.js
+2
-2
14.74cc9b3a9d7e1bbdf26c.js
dist/static/js/14.74cc9b3a9d7e1bbdf26c.js
+2
-2
15.b13b0c9736e097a6fc38.js
dist/static/js/15.b13b0c9736e097a6fc38.js
+2
-2
16.595627f80b382a73a092.js
dist/static/js/16.595627f80b382a73a092.js
+2
-2
17.fc675433297f48540fa4.js
dist/static/js/17.fc675433297f48540fa4.js
+2
-2
18.0ddca03b14efa60e12ca.js
dist/static/js/18.0ddca03b14efa60e12ca.js
+2
-2
19.2af2961d7f000936faf5.js
dist/static/js/19.2af2961d7f000936faf5.js
+0
-2
19.5094b323ee4cf1f50bf5.js
dist/static/js/19.5094b323ee4cf1f50bf5.js
+2
-2
app.77362d705af60a68bceb.js
dist/static/js/app.77362d705af60a68bceb.js
+2
-2
manifest.2ec030fbc268a9bc85c4.js
dist/static/js/manifest.2ec030fbc268a9bc85c4.js
+2
-2
editableCell.vue
src/components/employeeRecord/editableCell.vue
+11
-0
No files found.
dist/index.html
View file @
1d1b13ed
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
好办管理平台
</title><link
href=
./static/css/app.6dab2c8563c2d04983172d0777ed7981.css
rel=
stylesheet
></head><body
style=
"min-width: 1400px;"
><div
id=
app
></div><script
type=
text/javascript
src=
./static/js/manifest.ac6d4234455f219f7a29.js
></script><script
type=
text/javascript
src=
./static/js/vendor.fe6bbed1214c1931680c.js
></script><script
type=
text/javascript
src=
./static/js/app.b5938cb0e02dacc7a9ed.js
></script></body></html>
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
好办管理平台
</title><link
href=
./static/css/app.6dab2c8563c2d04983172d0777ed7981.css
rel=
stylesheet
></head><body
style=
"min-width: 1400px;"
><div
id=
app
></div><script
type=
text/javascript
src=
./static/js/manifest.2ec030fbc268a9bc85c4.js
></script><script
type=
text/javascript
src=
./static/js/vendor.fe6bbed1214c1931680c.js
></script><script
type=
text/javascript
src=
./static/js/app.77362d705af60a68bceb.js
></script></body></html>
\ No newline at end of file
\ No newline at end of file
dist/static/js/10.0c1df4b546ec5e6a614b.js
0 → 100644
View file @
1d1b13ed
webpackJsonp
([
10
],{
"5gt+"
:
function
(
e
,
t
,
i
){
"use strict"
;
var
a
=
i
(
"mvHQ"
),
s
=
i
.
n
(
a
),
l
=
i
(
"//Fk"
),
o
=
i
.
n
(
l
),
n
=
i
(
"DAYN"
),
r
=
{
name
:
"vue-office-upload-image"
,
props
:{
projectName
:{
type
:
String
,
default
:
"haoban-manage-web"
},
wxFlag
:{
type
:
String
,
default
:
"1"
},
imgRate
:{
type
:
String
},
actionUrl
:{
type
:
String
,
default
:
""
},
maxImageLength
:{
type
:
Number
,
default
:
5
},
limitW
:{
type
:
Number
},
limitH
:{
type
:
Number
},
imageList
:{
type
:
Array
,
default
:
function
(){
return
[]}}},
data
:
function
(){
return
{
dragImageList
:
this
.
imageList
,
initialImg
:
0
,
progress
:
0
,
pass
:
null
,
isEnlargeImage
:
!
1
,
enlargeImage
:
""
}},
computed
:{
propStatus
:
function
(){
return
this
.
pass
?
"success"
:
!
1
===
this
.
pass
?
"exception"
:
"text"
}},
beforeMount
:
function
(){},
methods
:{
uploadUrl
:
function
(){
var
e
,
t
=
window
.
location
.
origin
,
i
=
void
0
;
return
e
=
this
.
wxFlag
&&
""
!=
this
.
wxFlag
?
"wxFlag="
+
this
.
wxFlag
+
"&"
:
""
,
i
=
"-1"
!=
t
.
indexOf
(
"localhost"
)?
"http://www.gicdev.com"
:
t
,
this
.
upUrl
=
i
+
this
.
actionUrl
+
"?"
+
e
+
"requestProject="
+
this
.
projectName
,
this
.
upUrl
},
beforeAvatarUpload
:
function
(
e
){
var
t
=
this
,
i
=
(
"image/jpeg"
===
e
.
type
||
"image/jpg"
===
e
.
type
||
e
.
type
,
e
.
size
/
1024
/
1024
<
2
);
return
i
||
t
.
$message
.
error
(
"上传图片大小不能超过 2MB!"
),
i
&&
new
o
.
a
(
function
(
i
,
a
){
var
s
=
new
FileReader
;
s
.
onload
=
function
(
e
){
var
s
=
new
Image
;
s
.
onload
=
function
(){
var
e
=
this
.
width
,
s
=
this
.
height
;
t
.
imgRate
&&
""
!==
t
.
imgRate
&&
(
Number
(
t
.
imgRate
.
split
(
":"
)[
0
])
/
Number
(
t
.
imgRate
.
split
(
":"
)[
1
])
!=
Number
(
e
)
/
Number
(
s
)
&&
(
t
.
$message
.
error
(
"上传图片比例不正确!"
),
a
()));
t
.
imgRate
&&
""
!=
t
.
imgRate
||!
t
.
limitW
||!
t
.
limitH
||
e
===
t
.
limitW
||
s
===
t
.
limitH
||
(
t
.
$message
.
error
(
"上传图片尺寸不正确!"
),
a
()),
i
()},
s
.
src
=
e
.
target
.
result
},
s
.
readAsDataURL
(
e
)})},
uploadOnSuccess
:
function
(
e
,
t
){
this
.
pass
=!
0
,
1
==
e
.
errorCode
?(
this
.
$message
.
success
(
"上传成功"
),
this
.
$emit
(
"uploadOnSuccess"
,{
res
:
e
,
file
:
t
},
this
.
imageList
)):
this
.
$message
.
error
(
e
.
message
)},
uploadOnProgress
:
function
(
e
,
t
){
e
&&
e
.
percent
&&
(
this
.
progress
=
Math
.
floor
(
e
.
percent
))},
uploadOnChange
:
function
(
e
){
"ready"
===
e
.
status
?(
this
.
pass
=
null
,
this
.
progress
=
0
):
"fail"
===
e
.
status
&&
this
.
$message
.
error
(
"图片上传失败,请重试!"
)},
uploadOnError
:
function
(){},
previewImage
:
function
(
e
){
this
.
isEnlargeImage
=!
0
,
this
.
initialImg
=
e
},
deleteImage
:
function
(
e
){
this
.
$emit
(
"deleteImage"
,
e
);
var
t
=
JSON
.
parse
(
s
()(
this
.
imageList
));
t
.
splice
(
e
,
1
),
this
.
$emit
(
"update:imageList"
,
t
)},
handleClose
:
function
(
e
){
e
()},
itemMoveEnd
:
function
(
e
){
this
.
$emit
(
"sortImg"
,
this
.
dragImageList
),
this
.
$emit
(
"update:imageList"
,
this
.
dragImageList
)}},
watch
:{
imageList
:
function
(
e
,
t
){
this
.
dragImageList
=
e
}},
mounted
:
function
(){},
components
:{
draggable
:
i
.
n
(
n
).
a
}},
d
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"div"
,{
staticClass
:
"gic-upload__img"
},[
i
(
"div"
,{
staticClass
:
"gic-upload__img__drag"
},[
i
(
"draggable"
,{
staticClass
:
"drag-wrap"
,
staticStyle
:{
display
:
"contents"
},
attrs
:{
options
:{
group
:{
name
:
"people"
,
pull
:
!
1
,
put
:
!
0
},
sort
:
!
0
}},
on
:{
end
:
e
.
itemMoveEnd
},
model
:{
value
:
e
.
dragImageList
,
callback
:
function
(
t
){
e
.
dragImageList
=
t
},
expression
:
"dragImageList"
}},[
i
(
"transition-group"
,{
attrs
:{
name
:
"slide-fade"
}},
e
.
_l
(
e
.
imageList
,
function
(
t
,
a
){
return
i
(
"div"
,{
key
:
a
,
class
:[
"img-content"
,
a
>=
6
?
"m-t-8"
:
""
]},[
i
(
"a"
,{
staticClass
:
"item-img"
,
attrs
:{
href
:
t
.
url
}},[
i
(
"img"
,{
attrs
:{
src
:
t
.
url
,
alt
:
"上传图片"
}})]),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"upload-icon__btn"
},[
i
(
"i"
,{
staticClass
:
"el-icon-view"
,
on
:{
click
:
function
(
t
){
e
.
previewImage
(
a
)}}}),
e
.
_v
(
" "
),
i
(
"i"
,{
staticClass
:
"el-icon-delete"
,
on
:{
click
:
function
(
t
){
e
.
deleteImage
(
a
)}}})])])}))],
1
),
e
.
_v
(
" "
),
e
.
pass
||
0
===
e
.
progress
?
e
.
_e
():
i
(
"div"
,{
class
:[
"img-content"
,
"img-progress"
,
e
.
imageList
.
length
>=
6
?
"m-t-8"
:
""
]},[
i
(
"el-progress"
,{
staticClass
:
"gic-img-progress"
,
staticStyle
:{
"line-height"
:
"102px"
},
attrs
:{
width
:
102
,
percentage
:
e
.
progress
,
status
:
e
.
propStatus
}})],
1
),
e
.
_v
(
" "
),
e
.
imageList
&&
e
.
imageList
.
length
<
e
.
maxImageLength
?
i
(
"div"
,{
class
:[
"img-upload"
,
e
.
imageList
.
length
>=
6
?
"m-t-8"
:
""
]},[
i
(
"el-upload"
,{
staticClass
:
"loader"
,
attrs
:{
accept
:
"image/jpg,image/jpeg,image/png,image/gif"
,
action
:
e
.
uploadUrl
(),
"list-type"
:
"picture-card"
,
"on-change"
:
e
.
uploadOnChange
,
"before-upload"
:
e
.
beforeAvatarUpload
,
"on-success"
:
e
.
uploadOnSuccess
,
"on-error"
:
e
.
uploadOnError
,
"on-progress"
:
e
.
uploadOnProgress
}},[
i
(
"i"
,{
staticClass
:
"el-icon-plus gic-upload-btn"
})])],
1
):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
i
(
"el-dialog"
,{
attrs
:{
title
:
"图片预览"
,
visible
:
e
.
isEnlargeImage
,
"modal-append-to-body"
:
!
1
,
"before-close"
:
e
.
handleClose
,
width
:
"520px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
isEnlargeImage
=
t
}}},[
e
.
isEnlargeImage
?
i
(
"el-carousel"
,{
attrs
:{
trigger
:
"click"
,
"initial-index"
:
e
.
initialImg
,
autoplay
:
!
1
,
height
:
"500px"
}},
e
.
_l
(
e
.
imageList
,
function
(
t
,
a
){
return
i
(
"el-carousel-item"
,{
key
:
a
,
staticStyle
:{
display
:
"flex"
,
"align-items"
:
"center"
,
"justify-content"
:
"center"
}},[
i
(
"img"
,{
staticStyle
:{
"max-width"
:
"480px"
,
"max-height"
:
"500px"
},
attrs
:{
src
:
t
.
url
},
on
:{
click
:
function
(
t
){
e
.
isEnlargeImage
=!
1
}}})])})):
e
.
_e
()],
1
)],
1
)},
staticRenderFns
:[]};
var
c
=
i
(
"VU/8"
)(
r
,
d
,
!
1
,
function
(
e
){
i
(
"FKG6"
)},
null
,
null
);
t
.
a
=
c
.
exports
},
"67iC"
:
function
(
e
,
t
,
i
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
i
(
"3Xzz"
),
s
=
i
(
"P9l9"
),
l
=
i
(
"0xDb"
),
o
=
i
(
"KzHU"
),
n
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"div"
,{
staticClass
:
"editable-cell-container"
},[
i
(
"div"
,{
staticClass
:
"title-div"
},[
i
(
"span"
,{
staticClass
:
"font-w-500"
},[
e
.
_v
(
e
.
_s
(
e
.
title
))]),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"hurdle"
}),
e
.
_v
(
" "
),
i
(
"a"
,{
staticClass
:
"a-href"
,
on
:{
click
:
function
(
t
){
e
.
showEdit
=!
0
}}},[
e
.
_v
(
"编辑"
)])]),
e
.
_v
(
" "
),
i
(
"el-form"
,{
ref
:
"cell_form"
,
staticClass
:
"info-form"
,
attrs
:{
rules
:
e
.
rules
,
inline
:
""
,
"label-width"
:
"150px"
,
model
:
e
.
info
}},[
e
.
_l
(
e
.
fieldList
,
function
(
t
,
a
){
return
[
i
(
"el-form-item"
,{
key
:
t
.
fieldCode
+
"_"
+
a
,
staticClass
:
"item-width"
,
attrs
:{
label
:
t
.
title
+
":"
,
prop
:
t
.
fieldCode
}},[
e
.
showEdit
?[
0
==
t
.
fieldType
?
i
(
"el-input"
,{
attrs
:{
placeholder
:
t
.
fieldDescription
,
disabled
:
"1"
!=
t
.
fieldEdited
},
model
:{
value
:
e
.
info
[
t
.
fieldCode
],
callback
:
function
(
i
){
e
.
$set
(
e
.
info
,
t
.
fieldCode
,
i
)},
expression
:
"info[item.fieldCode]"
}}):
e
.
_e
(),
e
.
_v
(
" "
),
6
==
t
.
fieldType
?
i
(
"el-input"
,{
attrs
:{
placeholder
:
t
.
fieldDescription
,
disabled
:
"1"
!=
t
.
fieldEdited
},
model
:{
value
:
e
.
info
[
t
.
fieldCode
],
callback
:
function
(
i
){
e
.
$set
(
e
.
info
,
t
.
fieldCode
,
i
)},
expression
:
"info[item.fieldCode]"
}}):
1
==
t
.
fieldType
?
i
(
"el-input"
,{
attrs
:{
type
:
"textarea"
,
autosize
:
""
,
disabled
:
"1"
!=
t
.
fieldEdited
},
model
:{
value
:
e
.
info
[
t
.
fieldCode
],
callback
:
function
(
i
){
e
.
$set
(
e
.
info
,
t
.
fieldCode
,
i
)},
expression
:
"info[item.fieldCode]"
}}):
2
==
t
.
fieldType
||
3
==
t
.
fieldType
?[
1
==
t
.
systemFlag
?
i
(
"el-select"
,{
attrs
:{
disabled
:
"1"
!=
t
.
fieldEdited
,
multiple
:
3
==
t
.
fieldType
,
"collapse-tags"
:
3
==
t
.
fieldType
,
placeholder
:
t
.
fieldDescription
},
model
:{
value
:
e
.
info
[
t
.
fieldCode
],
callback
:
function
(
i
){
e
.
$set
(
e
.
info
,
t
.
fieldCode
,
i
)},
expression
:
"info[item.fieldCode]"
}},
e
.
_l
(
t
.
fieldOperations
.
fieldContent
,
function
(
e
){
return
i
(
"el-option"
,{
key
:
e
.
key
,
attrs
:{
label
:
e
.
name
,
value
:
e
.
key
}})})):
i
(
"el-select"
,{
attrs
:{
disabled
:
"1"
!=
t
.
fieldEdited
,
multiple
:
3
==
t
.
fieldType
,
"collapse-tags"
:
3
==
t
.
fieldType
,
placeholder
:
t
.
fieldDescription
},
model
:{
value
:
e
.
info
[
t
.
fieldCode
],
callback
:
function
(
i
){
e
.
$set
(
e
.
info
,
t
.
fieldCode
,
i
)},
expression
:
"info[item.fieldCode]"
}},
e
.
_l
(
t
.
fieldOperations
.
fieldContent
,
function
(
e
,
t
){
return
i
(
"el-option"
,{
key
:
e
.
key
+
"_"
+
t
,
attrs
:{
label
:
e
.
name
,
value
:
e
.
name
}})}))]:
4
==
t
.
fieldType
?
i
(
"el-date-picker"
,{
attrs
:{
type
:
"date"
,
disabled
:
"1"
!=
t
.
fieldEdited
,
format
:
t
.
fieldOperations
.
typeValue
,
"value-format"
:
t
.
fieldOperations
.
typeValue
,
placeholder
:
t
.
fieldDescription
},
model
:{
value
:
e
.
info
[
t
.
fieldCode
],
callback
:
function
(
i
){
e
.
$set
(
e
.
info
,
t
.
fieldCode
,
i
)},
expression
:
"info[item.fieldCode]"
}}):
5
==
t
.
fieldType
?
i
(
"el-date-picker"
,{
attrs
:{
type
:
"daterange"
,
"range-separator"
:
"至"
,
disabled
:
"1"
!=
t
.
fieldEdited
,
format
:
t
.
fieldOperations
.
typeValue
,
"value-format"
:
t
.
fieldOperations
.
typeValue
,
"start-placeholder"
:
t
.
fieldOperations
.
startDescription
,
"end-placeholder"
:
t
.
fieldOperations
.
endDescription
},
model
:{
value
:
e
.
info
[
t
.
fieldCode
],
callback
:
function
(
i
){
e
.
$set
(
e
.
info
,
t
.
fieldCode
,
i
)},
expression
:
"info[item.fieldCode]"
}}):
7
==
t
.
fieldType
?
i
(
"uploadImage"
,{
attrs
:{
projectName
:
"haoban-manage-web"
,
wxFlag
:
"0"
,
actionUrl
:
e
.
uploadUrl
,
imageList
:
e
.
info
[
t
.
fieldCode
],
limitW
:
500
,
limitH
:
500
,
maxImageLength
:
5
},
on
:{
"update:imageList"
:
function
(
i
){
e
.
$set
(
e
.
info
,
t
.
fieldCode
,
i
)},
uploadOnSuccess
:
e
.
uploadOnSuccess
,
sortImg
:
e
.
sortImg
,
deleteImage
:
e
.
deleteImage
}}):
e
.
_e
()]:[
0
==
t
.
fieldType
||
1
==
t
.
fieldType
||
6
==
t
.
fieldType
?
i
(
"div"
,{
staticClass
:
"field-value color-606266"
},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
e
.
info
[
t
.
fieldCode
])
+
"
\
n "
)]):
2
==
t
.
fieldType
?[
1
==
t
.
systemFlag
?
i
(
"div"
,{
staticClass
:
"field-value color-606266"
},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
fieldOperations
.
fieldContent
[
1
*
e
.
info
[
t
.
fieldCode
]
-
1
]?
t
.
fieldOperations
.
fieldContent
[
1
*
e
.
info
[
t
.
fieldCode
]
-
1
].
name
:
""
)
+
"
\
n "
)]):
i
(
"div"
,{
staticClass
:
"field-value color-606266"
},[
e
.
_v
(
e
.
_s
(
e
.
info
[
t
.
fieldCode
]))])]:
3
==
t
.
fieldType
?
i
(
"div"
,{
staticClass
:
"field-value color-606266"
}):
4
==
t
.
fieldType
?
i
(
"div"
,{
staticClass
:
"field-value color-606266"
},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
e
.
_f
(
"formatDate"
)(
e
.
info
[
t
.
fieldCode
],
t
.
fieldOperations
.
typeValue
))
+
"
\
n "
)]):
5
==
t
.
fieldType
?
i
(
"div"
,{
staticClass
:
"field-value color-606266"
},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
e
.
info
[
t
.
fieldCode
].
join
(
"至"
))
+
"
\
n "
)]):
7
==
t
.
fieldType
?
i
(
"div"
,{
staticClass
:
"img-box"
},
e
.
_l
(
e
.
info
[
t
.
fieldCode
],
function
(
e
,
t
){
return
i
(
"div"
,{
key
:
t
+
e
.
url
,
staticClass
:
"item-imgs"
},[
i
(
"a"
,{
attrs
:{
href
:
""
}},[
i
(
"img"
,{
attrs
:{
src
:
e
.
url
}})])])})):
e
.
_e
()]],
2
)]})],
2
),
e
.
_v
(
" "
),
e
.
showEdit
?
i
(
"div"
,{
staticClass
:
"handle-form-btns t-ct m-b-60"
},[
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
saveEdit
}},[
e
.
_v
(
"保存"
)]),
e
.
_v
(
" "
),
i
(
"el-button"
,{
on
:{
click
:
e
.
cancelEdit
}},[
e
.
_v
(
"取消"
)])],
1
):
e
.
_e
()],
1
)},
staticRenderFns
:[]};
var
r
=
function
(
e
){
i
(
"oZJl"
)},
d
=
i
(
"VU/8"
)(
o
.
a
,
n
,
!
1
,
r
,
null
,
null
).
exports
,
c
=
i
(
"IVno"
),
f
=
{
name
:
"recordInfo"
,
components
:{
navCrumb
:
a
.
a
,
editableCell
:
d
,
handleDialog
:
c
.
a
},
filters
:{
formatDate
:
l
.
b
},
data
:
function
(){
return
{
windowH
:
window
.
screen
.
availHeight
-
180
+
"px"
,
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"企业通讯录"
,
path
:
"/administrativeFrame"
},{
name
:
"员工档案"
,
path
:
"/fileSet"
},{
name
:
"在职员工"
,
path
:
"/employeeRecord"
},{
name
:
"编辑员工信息"
,
path
:
""
}],
editNavpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"企业通讯录"
,
path
:
"/administrativeFrame"
},{
name
:
"员工档案"
,
path
:
"/fileSet"
},{
name
:
"离职员工"
,
path
:
"/unemployee"
},{
name
:
"编辑员工信息"
,
path
:
""
}],
dialogVisible
:
!
1
,
htmlTitle
:
"员工档案"
,
info
:{},
staticInfo
:{},
statusList
:[
"正式"
,
"试用"
,
"离职"
],
reasons
:[
""
,
"家庭原因"
,
"个人原因"
,
"发展原因"
,
"合同到期不续签"
,
"协议解除"
,
"无法胜任工作"
,
"经济性裁员"
,
"严重违法违纪"
,
"其他"
],
items
:[],
fieldList
:[],
mileStone
:[],
historyStatus
:[
"新入职"
,
"转正"
,
"离职"
,
"转岗"
,
"再入职"
],
editHisObj
:{}}},
methods
:{
handleSuccess
:
function
(){
this
.
dialogVisible
=!
1
},
getEmployeeDetail
:
function
(){
var
e
=
this
,
t
=
{
recordId
:
e
.
$route
.
query
.
recordId
};
Object
(
s
.
a
)(
"/haoban-manage-web/record/employee-detail"
,
t
).
then
(
function
(
t
){
1
==
t
.
data
.
errorCode
?
e
.
getTemplate
(
t
.
data
.
result
):
e
.
$message
.
error
({
message
:
t
.
data
.
message
})}).
catch
(
function
(
t
){
e
.
$message
.
error
({
message
:
t
.
message
})})},
subSuccess
:
function
(){
this
.
getEmployeeDetail
()},
getTemplate
:
function
(
e
){
var
t
=
this
;
Object
(
s
.
a
)(
"/haoban-manage-web/record/employee-find-template"
,{}).
then
(
function
(
i
){
1
==
i
.
data
.
errorCode
?
t
.
formatTemplateList
(
i
.
data
.
result
,
e
):
t
.
$message
.
error
({
message
:
i
.
data
.
message
})}).
catch
(
function
(
e
){
t
.
$message
.
error
({
message
:
e
.
message
})})},
formatTemplateList
:
function
(
e
,
t
){
var
i
=
[],
a
=
e
,
s
=
JSON
.
parse
(
t
.
defineString
),
o
=
Object
(
l
.
a
)(
t
);
for
(
var
n
in
s
)
o
[
n
]
=
s
[
n
];
e
.
forEach
(
function
(
e
){
if
(
0
!=
e
.
parentCode
&&
(
e
.
fieldOperations
=
JSON
.
parse
(
e
.
fieldOperations
)),
5
==
e
.
fieldType
&&
(
o
[
e
.
fieldCode
]
=
o
[
e
.
fieldCode
]?
o
[
e
.
fieldCode
].
split
(
","
):[
""
,
""
],
t
[
e
.
fieldCode
]
=
t
[
e
.
fieldCode
]?
t
[
e
.
fieldCode
].
split
(
","
):[
""
,
""
]),
6
==
e
.
fieldType
&&
(
o
[
e
.
fieldCode
]
*=
1
,
t
[
e
.
fieldCode
]
*=
1
),
7
==
e
.
fieldType
){
var
s
=
[];
o
[
e
.
fieldCode
]
=
o
[
e
.
fieldCode
]?
o
[
e
.
fieldCode
].
split
(
","
):[],
o
[
e
.
fieldCode
].
forEach
(
function
(
e
){
s
.
push
({
url
:
e
})}),
t
[
e
.
fieldCode
]
=
s
,
o
[
e
.
fieldCode
]
=
s
.
slice
(
0
)}
e
.
title
=
e
.
fieldName
;
var
l
=
[];
a
.
forEach
(
function
(
t
){
t
.
parentCode
==
e
.
fieldCode
&&
l
.
push
(
t
)}),
l
.
sort
(
function
(
e
,
t
){
return
1
*
e
.
sort
-
1
*
t
.
sort
}),
l
.
length
>
0
&&
(
e
.
childrens
=
l
),
0
==
e
.
parentCode
&&
i
.
push
(
e
)}),
i
.
sort
(
function
(
e
,
t
){
return
1
*
e
.
sort
-
1
*
t
.
sort
}),
this
.
fieldList
=
i
,
this
.
info
=
o
,
this
.
staticInfo
=
t
},
getHistoryList
:
function
(){
var
e
=
this
,
t
=
{
recordId
:
e
.
$route
.
query
.
recordId
};
Object
(
s
.
a
)(
"/haoban-manage-web/record/history-record-list"
,
t
).
then
(
function
(
t
){
if
(
1
==
t
.
data
.
errorCode
){
var
i
=
t
.
data
.
result
;
e
.
formatMileStone
(
i
)}
else
e
.
$message
({
message
:
t
.
data
.
message
})}).
catch
(
function
(
t
){
e
.
$message
({
message
:
t
.
message
})})},
formatMileStone
:
function
(
e
){
e
.
sort
(
function
(
e
,
t
){
return
1
*
e
.
historyDate
-
1
*
t
.
historyDate
});
for
(
var
t
=
[],
i
=
0
,
a
=
e
.
length
;
i
<
a
;
i
+=
4
)
t
.
push
(
e
.
slice
(
i
,
i
+
4
));
this
.
mileStone
=
t
},
editHis
:
function
(
e
){
this
.
editHisObj
.
historyId
=
e
.
historyId
,
this
.
editHisObj
.
recordId
=
this
.
$route
.
query
.
recordId
,
this
.
dialogVisible
=!
0
}},
beforeMount
:
function
(){
this
.
getEmployeeDetail
(),
this
.
getHistoryList
()},
mounted
:
function
(){
var
e
=
this
.
$route
.
query
.
type
;
e
&&
"unemployee"
==
e
&&
(
this
.
navpath
=
this
.
editNavpath
),
this
.
$nextTick
(
function
(){
document
.
querySelector
(
".contact-wrap__body"
).
style
.
overflow
=
"hidden"
})},
beforeDestroy
:
function
(){
document
.
querySelector
(
".contact-wrap__body"
).
style
.
overflow
=
"auto"
}},
u
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"div"
,{
staticClass
:
"common-set-wrap"
,
style
:{
"min-height"
:
e
.
windowH
}},[
i
(
"nav-crumb"
,{
attrs
:{
navpath
:
e
.
navpath
}}),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"right-content"
},[
i
(
"div"
,{
staticClass
:
"right-box"
},[
i
(
"div"
,{
staticClass
:
"commom-container clerk-detail-container"
},[
i
(
"p"
,{
staticClass
:
"t-rt"
},[
i
(
"a"
,{
staticClass
:
"a-href font-14"
,
on
:{
click
:
function
(
t
){
e
.
getPdf
()}}},[
e
.
_v
(
"打印员工档案"
)])]),
e
.
_v
(
" "
),
i
(
"div"
,{
style
:{
"min-height"
:
e
.
windowH
},
attrs
:{
id
:
"pdfDom"
}},[
i
(
"div"
,{
staticClass
:
"employee-detail-cell"
},[
i
(
"div"
,{
staticClass
:
"head-info"
},[
i
(
"p"
,{
staticClass
:
"head-cell"
},[
e
.
info
.
headPic
?
i
(
"img"
,{
staticClass
:
"head-img"
,
attrs
:{
src
:
e
.
info
.
headPic
}}):
i
(
"span"
,{
staticClass
:
"head-img-null"
},[
i
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})])]),
e
.
_v
(
" "
),
i
(
"p"
,{
staticClass
:
"head-cell name"
},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
e
.
info
.
clerkName
)),
i
(
"span"
,[
e
.
_v
(
e
.
_s
(
"-1"
==
e
.
info
.
clerkStatus
?
"无状态"
:
e
.
statusList
[
e
.
info
.
clerkStatus
-
1
]))])]),
e
.
_v
(
" "
),
i
(
"p"
,{
staticClass
:
"head-cell c-303133"
},[
e
.
_v
(
e
.
_s
(
e
.
info
.
groupName
)
+
e
.
_s
(
e
.
info
.
positionName
))]),
e
.
_v
(
" "
),
i
(
"p"
,{
staticClass
:
"head-cell color-606266"
},[
e
.
_v
(
"已在"
+
e
.
_s
(
e
.
info
.
enterpriseName
)
+
"工作了"
+
e
.
_s
(
e
.
info
.
days
)
+
"天"
)])])]),
e
.
_v
(
" "
),
e
.
_l
(
e
.
fieldList
,
function
(
t
){
return
[
t
.
childrens
?
i
(
"editable-cell"
,{
key
:
t
.
fieldCode
,
attrs
:{
info
:
e
.
info
,
staticInfo
:
e
.
staticInfo
,
items
:
e
.
items
,
title
:
t
.
title
,
fieldList
:
t
.
childrens
},
on
:{
subSuccess
:
e
.
subSuccess
}}):
e
.
_e
()]}),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"mile-stone-container"
},[
e
.
_m
(
0
),
e
.
_v
(
" "
),
i
(
"ul"
,{
staticClass
:
"mile-stone"
},
e
.
_l
(
e
.
mileStone
,
function
(
t
,
a
){
return
i
(
"li"
,{
key
:
a
,
staticClass
:
"stone-group"
,
class
:
a
%
2
==
0
?
"column"
:
"column-reverse"
},[
4
==
t
.
length
&&
a
!=
e
.
mileStone
.
length
-
1
?
i
(
"div"
,{
staticClass
:
"column-hurdle"
}):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
_l
(
t
,
function
(
t
,
s
){
return
i
(
"div"
,{
key
:
s
,
staticClass
:
"stone"
,
class
:
a
%
2
==
1
&&
3
==
s
||
a
%
2
==
0
&&
0
==
s
&&
0
!=
a
?
"no-radio"
:
""
},[
i
(
"p"
,{
staticClass
:
"time"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatDate"
)(
t
.
historyDate
,
"YY-MM-DD"
)))]),
e
.
_v
(
" "
),
e
.
_m
(
1
,
!
0
),
e
.
_v
(
" "
),
i
(
"p"
,{
staticClass
:
"position"
},[
e
.
_v
(
e
.
_s
(
t
.
positionName
))]),
e
.
_v
(
" "
),
i
(
"p"
,{
staticClass
:
"font-16 "
},[
e
.
_v
(
e
.
_s
(
e
.
historyStatus
[
1
*
t
.
historyStatus
-
1
])),
3
==
t
.
historyStatus
?
i
(
"a"
,{
staticClass
:
"a-href m-l-10 fs-12"
,
on
:{
click
:
function
(
i
){
e
.
editHis
(
t
)}}},[
e
.
_v
(
"编辑"
)]):
e
.
_e
()]),
e
.
_v
(
" "
),
3
==
t
.
historyStatus
?
i
(
"p"
,[
e
.
_v
(
"离职理由:"
+
e
.
_s
(
e
.
reasons
[
t
.
fireReason
]))]):
e
.
_e
(),
e
.
_v
(
" "
),
i
(
"p"
,{
staticClass
:
"color-606266"
},[
e
.
_v
(
e
.
_s
(
t
.
storeName
?
t
.
storeName
:
t
.
groupName
))])])})],
2
)}))])],
2
),
e
.
_v
(
" "
),
i
(
"el-dialog"
,{
attrs
:{
title
:
"修改离职信息"
,
visible
:
e
.
dialogVisible
,
width
:
"480px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
dialogVisible
=
t
}}},[
i
(
"handle-dialog"
,{
attrs
:{
employee
:
e
.
editHisObj
,
handleType
:
"changeFireInfo"
,
typeTitle
:
"修改离职信息"
},
on
:{
handleSuccess
:
e
.
handleSuccess
}})],
1
)],
1
)])]),
e
.
_v
(
" "
),
i
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[
function
(){
var
e
=
this
.
$createElement
,
t
=
this
.
_self
.
_c
||
e
;
return
t
(
"p"
,{
staticClass
:
"m-s-title"
},[
t
(
"span"
,{
staticClass
:
"font-w-500"
},[
this
.
_v
(
"员工记录"
)])])},
function
(){
var
e
=
this
.
$createElement
,
t
=
this
.
_self
.
_c
||
e
;
return
t
(
"div"
,{
staticClass
:
"hurdle-box"
},[
t
(
"span"
,{
staticClass
:
"radio"
}),
this
.
_v
(
" "
),
t
(
"div"
,{
staticClass
:
"hurdle"
})])}]};
var
m
=
i
(
"VU/8"
)(
f
,
u
,
!
1
,
function
(
e
){
i
(
"JV+2"
)},
null
,
null
);
t
.
default
=
m
.
exports
},
FKG6
:
function
(
e
,
t
){},
"JV+2"
:
function
(
e
,
t
){},
KzHU
:
function
(
module
,
__webpack_exports__
,
__webpack_require__
){
"use strict"
;
var
__WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_json_stringify__
=
__webpack_require__
(
"mvHQ"
),
__WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_json_stringify___default
=
__webpack_require__
.
n
(
__WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_json_stringify__
),
__WEBPACK_IMPORTED_MODULE_1_components_employeeRecord_uploadImage__
=
__webpack_require__
(
"5gt+"
),
__WEBPACK_IMPORTED_MODULE_2__utils_index__
=
__webpack_require__
(
"0xDb"
),
__WEBPACK_IMPORTED_MODULE_3__api_api__
=
__webpack_require__
(
"P9l9"
);
__webpack_exports__
.
a
=
{
name
:
"editableCell"
,
props
:{
info
:{
type
:
Object
,
required
:
!
0
},
staticInfo
:{
type
:
Object
,
required
:
!
0
},
items
:{
type
:
Array
,
required
:
!
0
},
title
:{
type
:
String
,
default
:
""
},
fieldList
:{
type
:
Array
,
required
:
!
0
}},
components
:{
uploadImage
:
__WEBPACK_IMPORTED_MODULE_1_components_employeeRecord_uploadImage__
.
a
},
filters
:{
formatDate
:
__WEBPACK_IMPORTED_MODULE_2__utils_index__
.
b
},
data
:
function
(){
return
{
showEdit
:
!
1
,
uploadUrl
:
"/haoban-manage-web/upload-img"
}},
methods
:{
uploadOnSuccess
:
function
(
e
,
t
){
e
.
file
.
url
=
e
.
res
.
result
[
0
].
qcloudImageUrl
,
t
.
push
(
e
.
file
)},
deleteImage
:
function
(
e
){
this
.
imageList
=
this
.
imageList
?
this
.
imageList
:[],
this
.
imageList
.
splice
(
e
,
1
)},
sortImg
:
function
(
e
){
this
.
imageList
=
e
},
saveEdit
:
function
saveEdit
(){
var
that
=
this
;
that
.
$refs
.
cell_form
.
validate
(
function
(
valid
){
if
(
valid
){
var
newInfo
=
Object
(
__WEBPACK_IMPORTED_MODULE_2__utils_index__
.
a
)(
that
.
info
),
params
=
{},
regFlag
=
[],
fieldList
=
that
.
fieldList
,
objToString
=
[];
if
(
fieldList
.
forEach
(
function
(
field
){
if
(
params
[
field
.
fieldCode
]
=
newInfo
[
field
.
fieldCode
],
5
==
field
.
fieldType
&&
(
params
[
field
.
fieldCode
]
=
newInfo
[
field
.
fieldCode
].
join
(
","
)),
7
==
field
.
fieldType
){
var
arr
=
[];
newInfo
[
field
.
fieldCode
].
forEach
(
function
(
e
){
arr
.
push
(
e
.
url
)}),
params
[
field
.
fieldCode
]
=
arr
.
join
(
","
)}
if
(
1
!=
field
.
systemFlag
){
if
(
objToString
.
push
({
fieldCode
:
field
.
fieldCode
,
fieldValue
:
newInfo
[
field
.
fieldCode
]}),
5
==
field
.
fieldType
&&
objToString
.
push
({
fieldCode
:
field
.
fieldCode
,
fieldValue
:
newInfo
[
field
.
fieldCode
].
join
(
","
)}),
7
==
field
.
fieldType
){
var
_arr
=
[];
newInfo
[
field
.
fieldCode
].
forEach
(
function
(
e
){
_arr
.
push
(
e
.
url
)}),
objToString
.
push
({
fieldCode
:
field
.
fieldCode
,
fieldValue
:
_arr
.
join
(
","
)})}
delete
params
[
field
.
fieldCode
]}
field
.
regular
&&
newInfo
[
field
.
fieldCode
]
&&
regFlag
.
push
(
eval
(
field
.
regular
.
replace
(
/d/g
,
"0-9"
).
replace
(
/
\\
0-9/g
,
"[0-9]"
)).
test
(
newInfo
[
field
.
fieldCode
]))}),
regFlag
.
length
&&
regFlag
.
includes
(
!
1
))
return
that
.
$message
.
error
(
"请输入正确格式的字段值!"
),
!
1
;
params
.
jsonString
=
"[]"
==
__WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_json_stringify___default
()(
objToString
)?
""
:
__WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_json_stringify___default
()(
objToString
),
params
.
recordId
=
that
.
$route
.
query
.
recordId
,
that
.
submitEdit
(
params
)}})},
submitEdit
:
function
(
e
){
var
t
=
this
;
Object
(
__WEBPACK_IMPORTED_MODULE_3__api_api__
.
a
)(
"/haoban-manage-web/record/save-record-detail"
,
e
).
then
(
function
(
e
){
1
==
e
.
data
.
errorCode
?(
t
.
showEdit
=!
1
,
t
.
$emit
(
"subSuccess"
),
t
.
$message
({
message
:
e
.
data
.
message
,
type
:
"success"
})):
t
.
$message
.
error
(
e
.
data
.
message
)}).
catch
(
function
(
e
){
t
.
$message
.
error
(
e
.
message
)})},
cancelEdit
:
function
(){
this
.
$refs
.
cell_form
.
clearValidate
();
var
e
=
this
.
info
,
t
=
this
.
staticInfo
;
for
(
var
i
in
e
)
e
[
i
]
=
t
[
i
];
this
.
showEdit
=!
1
}},
computed
:{
defineObj
:
function
(){
return
JSON
.
parse
(
this
.
clerkInfo
.
defineString
)},
rules
:
function
(){
var
e
=
{},
t
=
function
(
e
,
t
,
i
){
return
t
?
new
RegExp
(
"^[0-9]*$"
).
test
(
1
*
t
)?
i
():
i
(
new
Error
(
"请输入数字!"
)):
i
()};
return
this
.
fieldList
.
forEach
(
function
(
i
){
var
a
=
[];
0
!=
i
.
fieldType
&&
1
!=
i
.
fieldType
||
(
i
.
minCount
&&
i
.
maxCount
&&
a
.
push
({
min
:
i
.
minCount
,
message
:
"至少填写"
+
i
.
minCount
+
"个字符"
,
trigger
:
"change"
}),
!
i
.
minCount
&&
i
.
maxCount
&&
a
.
push
({
max
:
i
.
maxCount
,
message
:
"至多填写"
+
i
.
maxCount
+
"个字符"
,
trigger
:
"change"
}),
i
.
minCount
&&
i
.
maxCount
&&
a
.
push
({
min
:
i
.
minCount
,
max
:
i
.
maxCount
,
message
:
"长度在 "
+
i
.
minCount
+
" 到 "
+
i
.
maxCount
+
"个字符"
,
trigger
:
"change"
})),
6
==
i
.
fieldType
&&
a
.
push
({
validator
:
t
,
message
:
i
.
fieldName
+
"必须为数字"
,
trigger
:
"change"
}),
e
[
i
.
fieldCode
]
=
a
}),
e
}}}},
oZJl
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/1
0.4e361f7d71dc54b505c7
.js
→
dist/static/js/1
1.e520fec57c7e2a952a8e
.js
View file @
1d1b13ed
webpackJsonp
([
10
],{
"2FlR"
:
function
(
e
,
t
,
a
){
e
.
exports
=
a
.
p
+
"static/img/test.50e4091.png"
},
H6a4
:
function
(
e
,
t
){},
Zx22
:
function
(
e
,
t
,
a
){
"use strict"
;
var
s
=
{
name
:
"custom-dialog"
,
props
:{
value
:{
type
:
Boolean
,
default
:
!
1
},
storeChangeData
:{
type
:
Object
}},
data
:
function
(){
return
{
repProjectName
:
"gic-web"
,
customDialog
:
this
.
value
,
leftData
:[{
src
:
a
(
"2FlR"
)},{
src
:
a
(
"2FlR"
)},{
src
:
a
(
"2FlR"
)}],
rightData
:[{
src
:
a
(
"2FlR"
)},{
src
:
a
(
"2FlR"
)},{
src
:
a
(
"2FlR"
)}]}},
methods
:{
handleCardClose
:
function
(){
this
.
customCancel
()},
customCancel
:
function
(){
this
.
customDialog
=!
1
,
this
.
$emit
(
"input"
,
this
.
customDialog
)},
formatDate
:
function
(
e
,
t
){
function
a
(
e
){
return
e
>
9
?
""
+
e
:
"0"
+
e
}
var
s
=
new
Date
(
e
),
i
=
s
.
getFullYear
(),
n
=
s
.
getMonth
()
+
1
,
o
=
s
.
getDate
();
return
i
+
t
+
a
(
n
)
+
t
+
a
(
o
)
+
t
},
handleData
:
function
(){}},
watch
:{
value
:
function
(
e
,
t
){
this
.
customDialog
=
e
},
storeChangeData
:
function
(
e
,
t
){}},
mounted
:
function
(){}},
i
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"custom-dialog-wrap"
},[
a
(
"el-dialog"
,{
attrs
:{
title
:
"门店环境图变更"
,
visible
:
e
.
customDialog
,
width
:
"600px"
,
"before-close"
:
e
.
handleCardClose
},
on
:{
"update:visible"
:
function
(
t
){
e
.
customDialog
=
t
}}},[
a
(
"div"
,{
staticClass
:
"dialog-content"
},[
a
(
"el-row"
,[
a
(
"el-col"
,{
attrs
:{
span
:
11
}},[
a
(
"div"
,{
staticClass
:
"grid-content bg-purple-dark"
},[
e
.
_v
(
"
\
n 变更前
\
n "
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"data-body"
},[
a
(
"div"
,{
staticClass
:
"data-body-content flex flex-column flex-space-between"
},[
e
.
_l
(
e
.
leftData
,
function
(
e
,
t
){
return
[
a
(
"img"
,{
key
:
"img"
+
t
,
attrs
:{
src
:
e
.
src
,
alt
:
""
}})]})],
2
)])]),
e
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
11
}},[
a
(
"div"
,{
staticClass
:
"grid-content bg-purple-dark"
},[
e
.
_v
(
"
\
n 变更后
\
n "
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"data-body"
},[
a
(
"div"
,{
staticClass
:
"data-body-content flex flex-column flex-space-between"
},[
e
.
_l
(
e
.
rightData
,
function
(
e
,
t
){
return
[
a
(
"img"
,{
key
:
"img0"
+
t
,
attrs
:{
src
:
e
.
src
,
alt
:
""
}})]})],
2
)])])],
1
)],
1
)])],
1
)},
staticRenderFns
:[]};
var
n
=
a
(
"VU/8"
)(
s
,
i
,
!
1
,
function
(
e
){
a
(
"uyId"
)},
"data-v-5bdf7830"
,
null
);
t
.
a
=
n
.
exports
},
uyId
:
function
(
e
,
t
){},
xCEU
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"3Xzz"
),
i
=
a
(
"Zx22"
),
n
=
a
(
"3E4D"
),
o
=
a
(
"Ch4/"
),
l
=
a
(
"PI0u"
),
r
=
a
(
"P9l9"
),
c
=
{
name
:
"unreview"
,
data
:
function
(){
return
{
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"审核中心"
,
path
:
"/unreview"
},{
name
:
"待审核"
,
path
:
""
}],
filterValue
:
""
,
filterOptions
:[{
label
:
"全部事项"
,
value
:
""
},{
label
:
"新增成员"
,
value
:
"1"
},{
label
:
"成员离职"
,
value
:
"2"
}],
tableData
:[],
multipleSelection
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
selectId
:
""
,
ruleForm
:{
refuseReason
:
""
},
rules
:{
refuseReason
:[{
required
:
!
0
,
message
:
"拒绝理由不能为空"
,
trigger
:
"change"
},{
min
:
1
,
max
:
50
,
message
:
"长度在 1 到 50 个字"
,
trigger
:
"change"
}]},
showStoreDialog
:
!
1
,
storeChangeData
:{},
approveVisible
:
!
1
,
refuseVisible
:
!
1
}},
filters
:{
formatTimeYMD
:
function
(
e
){
return
"--"
!=
e
?
e
.
split
(
" "
)[
0
]:
"--"
},
formatTimeHMS
:
function
(
e
){
return
"--"
!=
e
?
e
.
split
(
" "
)[
1
]:
"--"
},
formatNum
:
function
(
e
){
return
(
e
+
""
).
replace
(
/
\d{1,3}(?=(\d{3})
+$
)
/g
,
"$&,"
)}},
computed
:{},
methods
:{
handleSelectionChange
:
function
(
e
){
this
.
multipleSelection
=
e
},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getTableList
()},
handleClick
:
function
(
e
,
t
,
a
){
this
.
selectId
=
t
.
enterpriseAuditingId
,
a
?
this
.
refuseVisible
=!
0
:
this
.
approveVisible
=!
0
},
sendApprove
:
function
(){
this
.
postApprove
(
this
.
selectId
)},
approveAll
:
function
(){
var
e
=
this
.
multipleSelection
.
length
?
this
.
multipleSelection
.
map
(
function
(
e
){
return
e
.
enterpriseAuditingId
}):
""
;
if
(
!
e
)
return
this
.
$message
({
message
:
"请至少选择一条审核事项"
,
type
:
"warning"
}),
!
1
;
this
.
postAllApprove
(
e
)},
postApprove
:
function
(
e
){
var
t
=
this
,
a
=
{
enterpriseAuditingId
:
e
};
Object
(
r
.
c
)(
"/haoban-manage-web/audit/approve.json"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
n
.
a
.
showmsg
(
"操作成功"
,
"success"
),
t
.
approveVisible
=!
1
,
void
t
.
getTableList
();
o
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
postAllApprove
:
function
(
e
){
var
t
=
this
,
a
=
{
enterpriseAuditingIds
:
e
};
Object
(
r
.
c
)(
"/haoban-manage-web/audit/batch-approve.json"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
n
.
a
.
showmsg
(
"操作成功"
,
"success"
),
void
t
.
getTableList
();
o
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
cancelRefuse
:
function
(
e
){
this
.
refuseVisible
=!
1
,
this
.
$refs
.
ruleForm
.
resetFields
()},
sendRefuse
:
function
(
e
){
var
t
=
this
;
t
.
$refs
[
e
].
validate
(
function
(
e
){
if
(
!
e
)
return
!
1
;
t
.
postRefuse
()})},
postRefuse
:
function
(){
var
e
=
this
,
t
=
{
enterpriseAuditingId
:
e
.
selectId
,
refuseReason
:
e
.
ruleForm
.
refuseReason
};
Object
(
r
.
a
)(
"/haoban-manage-web/audit/refuse.json"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
n
.
a
.
showmsg
(
"操作成功"
,
"success"
),
e
.
refuseVisible
=!
1
,
void
e
.
getTableList
();
o
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
showSingleInfo
:
function
(
e
){},
showStoreChange
:
function
(
e
){
this
.
showStoreDialog
=!
0
,
this
.
storeChangeData
=
e
},
getTableList
:
function
(
e
){
var
t
=
this
,
a
=
{
auditingType
:
t
.
filterValue
,
auditingStatus
:
"0"
,
search
:
""
,
pageNum
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
};
Object
(
r
.
a
)(
"/haoban-manage-web/audit/auditing-list.json"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
a
.
result
&&
a
.
result
.
list
&&
a
.
result
.
list
.
forEach
(
function
(
e
,
t
){
e
.
createTime
&&
(
e
.
createTime
=
Object
(
l
.
b
)(
e
.
createTime
))}),
t
.
tableData
=
a
.
result
.
list
,
void
(
t
.
total
=
a
.
result
.
total
);
o
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
mounted
:
function
(){
this
.
getTableList
()},
components
:{
navCrumb
:
s
.
a
,
storeChange
:
i
.
a
}},
u
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"unreview-wrap common-set-wrap"
},[
a
(
"nav-crumb"
,{
attrs
:{
navpath
:
e
.
navpath
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"div"
,{
staticClass
:
"right-box"
,
style
:{
"min-height"
:
e
.
$store
.
state
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"reviewed-body-head flex flex-space-between"
},[
a
(
"el-select"
,{
staticClass
:
"w-130"
,
attrs
:{
placeholder
:
"全部事项"
},
on
:{
change
:
e
.
getTableList
},
model
:{
value
:
e
.
filterValue
,
callback
:
function
(
t
){
e
.
filterValue
=
t
},
expression
:
"filterValue"
}},
e
.
_l
(
e
.
filterOptions
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})})),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
approveAll
}},[
e
.
_v
(
"批量同意"
)])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"reviewed-body-content"
},[
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
},
on
:{
"selection-change"
:
e
.
handleSelectionChange
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
width
:
"55"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"审核事项"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
0
==
t
.
row
.
auditingType
?
"门店信息变更"
:
1
==
t
.
row
.
auditingType
?
"新增成员"
:
"成员离职"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"提交人"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"flex"
},[
a
(
"el-popover"
,{
attrs
:{
placement
:
"top-start"
,
width
:
"400"
,
trigger
:
"hover"
},
on
:{
show
:
function
(
a
){
e
.
showSingleInfo
(
t
.
row
.
applyId
)}}},[
a
(
"div"
,{
staticClass
:
"apply-info-detail"
},[
a
(
"div"
,{
staticClass
:
"flex"
},[
a
(
"div"
,{
staticClass
:
"apply-info-img flex-align-center flex-pack-center bg-82C5FF "
},[
t
.
row
.
headPic
?
a
(
"img"
,{
attrs
:{
src
:
t
.
row
.
headPic
,
alt
:
"img"
}}):
a
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex flex-column apply-info-right flex-space-between"
},[
a
(
"div"
,{
staticClass
:
"apply-info-name"
},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
applyName
)
+
"
\
n "
),
a
(
"i"
,{
class
:[
2
==
t
.
row
.
sex
?
"icon-xingbienv color-FF585C"
:
"icon-xingbienan color-508CEE"
,
"iconfont"
]})]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apply-info-code"
},[
a
(
"span"
,{
staticClass
:
"w-80"
},[
e
.
_v
(
"员工代码:"
)]),
a
(
"span"
,{
staticClass
:
"w-130"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
code
))])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apply-info-phone"
},[
a
(
"span"
,{
staticClass
:
"w-80"
},[
e
.
_v
(
"手机号:"
)]),
a
(
"span"
,{
staticClass
:
"w-130"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
phoneNumber
))])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apply-info-job"
},[
a
(
"span"
,{
staticClass
:
"w-80"
},[
e
.
_v
(
"职位:"
)]),
a
(
"span"
,{
staticClass
:
"w-130"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
positionName
))])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apply-info-store"
},[
a
(
"span"
,{
staticClass
:
"w-80"
},[
e
.
_v
(
"所属门店:"
)]),
a
(
"span"
,{
staticClass
:
"w-130"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
storeName
))])])])])]),
e
.
_v
(
" "
),
a
(
"div"
,{
attrs
:{
slot
:
"reference"
},
slot
:
"reference"
},[
a
(
"div"
,{
staticClass
:
"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic"
},[
t
.
row
.
headPic
?
a
(
"img"
,{
attrs
:{
src
:
t
.
row
.
headPic
,
alt
:
"img"
}}):
a
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})])])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex flex-column apply-info"
},[
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
row
.
applyName
))]),
e
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-13"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
storeName
))])])],
1
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"详情"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"line-hidden-2"
},[
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
row
.
detail
))]),
e
.
_v
(
" "
),
0
==
t
.
row
.
auditingType
?
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
showStoreChange
(
t
.
row
)}}},[
e
.
_v
(
"查看详情"
)]):
e
.
_e
()],
1
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"提交时间"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"line-h-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeYMD"
)(
t
.
row
.
createTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"line-h-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeHMS"
)(
t
.
row
.
createTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
width
:
"100"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
e
.
handleClick
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"同意"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
e
.
handleClick
(
t
.
$index
,
t
.
row
,
"refuse"
)}}},[
e
.
_v
(
"拒绝"
)])]}}])})],
1
),
e
.
_v
(
" "
),
0
!=
e
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
e
.
currentPage
,
"page-sizes"
:[
10
,
20
,
30
,
40
],
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()],
1
)])]),
e
.
_v
(
" "
),
a
(
"vue-gic-footer"
),
e
.
_v
(
" "
),
a
(
"storeChange"
,{
attrs
:{
storeChangeData
:
e
.
storeChangeData
},
model
:{
value
:
e
.
showStoreDialog
,
callback
:
function
(
t
){
e
.
showStoreDialog
=
t
},
expression
:
"showStoreDialog"
}}),
e
.
_v
(
" "
),
a
(
"el-dialog"
,{
staticClass
:
"approve-dialog"
,
attrs
:{
title
:
""
,
visible
:
e
.
approveVisible
,
width
:
"422px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
approveVisible
=
t
}}},[
a
(
"div"
,{
staticClass
:
"approve-body text-center"
},[
a
(
"div"
,[
a
(
"i"
,{
staticClass
:
"el-icon-success"
}),
a
(
"span"
,{
staticClass
:
"approve-icon-tip"
},[
e
.
_v
(
"同意"
)])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"approve-tip"
},[
e
.
_v
(
"是否确认同意"
)])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"approve-footer dialog-footer"
,
staticStyle
:{
"text-align"
:
"center"
},
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
approveVisible
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
sendApprove
}},[
e
.
_v
(
"确 定"
)])],
1
)]),
e
.
_v
(
" "
),
a
(
"el-dialog"
,{
staticClass
:
"refuse-dialog"
,
attrs
:{
title
:
"提示"
,
visible
:
e
.
refuseVisible
,
"before-close"
:
e
.
cancelRefuse
,
width
:
"422px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
refuseVisible
=
t
}}},[
a
(
"div"
,[
a
(
"div"
,{
staticClass
:
"refuse-tip"
},[
e
.
_v
(
"请输入拒绝理由"
)]),
e
.
_v
(
" "
),
a
(
"el-form"
,{
ref
:
"ruleForm"
,
staticClass
:
"demo-ruleForm"
,
attrs
:{
model
:
e
.
ruleForm
,
rules
:
e
.
rules
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
""
,
prop
:
"refuseReason"
}},[
a
(
"el-input"
,{
staticClass
:
"font-14"
,
attrs
:{
type
:
"textarea"
,
placeholder
:
"最多 50 个字"
,
rows
:
3
},
model
:{
value
:
e
.
ruleForm
.
refuseReason
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"refuseReason"
,
t
)},
expression
:
"ruleForm.refuseReason"
}})],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"approve-footer dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
cancelRefuse
(
"ruleForm"
)}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
sendRefuse
(
"ruleForm"
)}}},[
e
.
_v
(
"确 定"
)])],
1
)])],
1
)},
staticRenderFns
:[]};
var
p
=
a
(
"VU/8"
)(
c
,
u
,
!
1
,
function
(
e
){
a
(
"H6a4"
)},
"data-v-2f5ac2c0"
,
null
);
t
.
default
=
p
.
exports
}});
webpackJsonp
([
11
],{
"2FlR"
:
function
(
e
,
t
,
a
){
e
.
exports
=
a
.
p
+
"static/img/test.50e4091.png"
},
H6a4
:
function
(
e
,
t
){},
Zx22
:
function
(
e
,
t
,
a
){
"use strict"
;
var
s
=
{
name
:
"custom-dialog"
,
props
:{
value
:{
type
:
Boolean
,
default
:
!
1
},
storeChangeData
:{
type
:
Object
}},
data
:
function
(){
return
{
repProjectName
:
"gic-web"
,
customDialog
:
this
.
value
,
leftData
:[{
src
:
a
(
"2FlR"
)},{
src
:
a
(
"2FlR"
)},{
src
:
a
(
"2FlR"
)}],
rightData
:[{
src
:
a
(
"2FlR"
)},{
src
:
a
(
"2FlR"
)},{
src
:
a
(
"2FlR"
)}]}},
methods
:{
handleCardClose
:
function
(){
this
.
customCancel
()},
customCancel
:
function
(){
this
.
customDialog
=!
1
,
this
.
$emit
(
"input"
,
this
.
customDialog
)},
formatDate
:
function
(
e
,
t
){
function
a
(
e
){
return
e
>
9
?
""
+
e
:
"0"
+
e
}
var
s
=
new
Date
(
e
),
i
=
s
.
getFullYear
(),
n
=
s
.
getMonth
()
+
1
,
o
=
s
.
getDate
();
return
i
+
t
+
a
(
n
)
+
t
+
a
(
o
)
+
t
},
handleData
:
function
(){}},
watch
:{
value
:
function
(
e
,
t
){
this
.
customDialog
=
e
},
storeChangeData
:
function
(
e
,
t
){}},
mounted
:
function
(){}},
i
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"custom-dialog-wrap"
},[
a
(
"el-dialog"
,{
attrs
:{
title
:
"门店环境图变更"
,
visible
:
e
.
customDialog
,
width
:
"600px"
,
"before-close"
:
e
.
handleCardClose
},
on
:{
"update:visible"
:
function
(
t
){
e
.
customDialog
=
t
}}},[
a
(
"div"
,{
staticClass
:
"dialog-content"
},[
a
(
"el-row"
,[
a
(
"el-col"
,{
attrs
:{
span
:
11
}},[
a
(
"div"
,{
staticClass
:
"grid-content bg-purple-dark"
},[
e
.
_v
(
"
\
n 变更前
\
n "
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"data-body"
},[
a
(
"div"
,{
staticClass
:
"data-body-content flex flex-column flex-space-between"
},[
e
.
_l
(
e
.
leftData
,
function
(
e
,
t
){
return
[
a
(
"img"
,{
key
:
"img"
+
t
,
attrs
:{
src
:
e
.
src
,
alt
:
""
}})]})],
2
)])]),
e
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
11
}},[
a
(
"div"
,{
staticClass
:
"grid-content bg-purple-dark"
},[
e
.
_v
(
"
\
n 变更后
\
n "
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"data-body"
},[
a
(
"div"
,{
staticClass
:
"data-body-content flex flex-column flex-space-between"
},[
e
.
_l
(
e
.
rightData
,
function
(
e
,
t
){
return
[
a
(
"img"
,{
key
:
"img0"
+
t
,
attrs
:{
src
:
e
.
src
,
alt
:
""
}})]})],
2
)])])],
1
)],
1
)])],
1
)},
staticRenderFns
:[]};
var
n
=
a
(
"VU/8"
)(
s
,
i
,
!
1
,
function
(
e
){
a
(
"uyId"
)},
"data-v-5bdf7830"
,
null
);
t
.
a
=
n
.
exports
},
uyId
:
function
(
e
,
t
){},
xCEU
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"3Xzz"
),
i
=
a
(
"Zx22"
),
n
=
a
(
"3E4D"
),
o
=
a
(
"Ch4/"
),
l
=
a
(
"PI0u"
),
r
=
a
(
"P9l9"
),
c
=
{
name
:
"unreview"
,
data
:
function
(){
return
{
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"审核中心"
,
path
:
"/unreview"
},{
name
:
"待审核"
,
path
:
""
}],
filterValue
:
""
,
filterOptions
:[{
label
:
"全部事项"
,
value
:
""
},{
label
:
"新增成员"
,
value
:
"1"
},{
label
:
"成员离职"
,
value
:
"2"
}],
tableData
:[],
multipleSelection
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
selectId
:
""
,
ruleForm
:{
refuseReason
:
""
},
rules
:{
refuseReason
:[{
required
:
!
0
,
message
:
"拒绝理由不能为空"
,
trigger
:
"change"
},{
min
:
1
,
max
:
50
,
message
:
"长度在 1 到 50 个字"
,
trigger
:
"change"
}]},
showStoreDialog
:
!
1
,
storeChangeData
:{},
approveVisible
:
!
1
,
refuseVisible
:
!
1
}},
filters
:{
formatTimeYMD
:
function
(
e
){
return
"--"
!=
e
?
e
.
split
(
" "
)[
0
]:
"--"
},
formatTimeHMS
:
function
(
e
){
return
"--"
!=
e
?
e
.
split
(
" "
)[
1
]:
"--"
},
formatNum
:
function
(
e
){
return
(
e
+
""
).
replace
(
/
\d{1,3}(?=(\d{3})
+$
)
/g
,
"$&,"
)}},
computed
:{},
methods
:{
handleSelectionChange
:
function
(
e
){
this
.
multipleSelection
=
e
},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getTableList
()},
handleClick
:
function
(
e
,
t
,
a
){
this
.
selectId
=
t
.
enterpriseAuditingId
,
a
?
this
.
refuseVisible
=!
0
:
this
.
approveVisible
=!
0
},
sendApprove
:
function
(){
this
.
postApprove
(
this
.
selectId
)},
approveAll
:
function
(){
var
e
=
this
.
multipleSelection
.
length
?
this
.
multipleSelection
.
map
(
function
(
e
){
return
e
.
enterpriseAuditingId
}):
""
;
if
(
!
e
)
return
this
.
$message
({
message
:
"请至少选择一条审核事项"
,
type
:
"warning"
}),
!
1
;
this
.
postAllApprove
(
e
)},
postApprove
:
function
(
e
){
var
t
=
this
,
a
=
{
enterpriseAuditingId
:
e
};
Object
(
r
.
c
)(
"/haoban-manage-web/audit/approve.json"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
n
.
a
.
showmsg
(
"操作成功"
,
"success"
),
t
.
approveVisible
=!
1
,
void
t
.
getTableList
();
o
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
postAllApprove
:
function
(
e
){
var
t
=
this
,
a
=
{
enterpriseAuditingIds
:
e
};
Object
(
r
.
c
)(
"/haoban-manage-web/audit/batch-approve.json"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
n
.
a
.
showmsg
(
"操作成功"
,
"success"
),
void
t
.
getTableList
();
o
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
cancelRefuse
:
function
(
e
){
this
.
refuseVisible
=!
1
,
this
.
$refs
.
ruleForm
.
resetFields
()},
sendRefuse
:
function
(
e
){
var
t
=
this
;
t
.
$refs
[
e
].
validate
(
function
(
e
){
if
(
!
e
)
return
!
1
;
t
.
postRefuse
()})},
postRefuse
:
function
(){
var
e
=
this
,
t
=
{
enterpriseAuditingId
:
e
.
selectId
,
refuseReason
:
e
.
ruleForm
.
refuseReason
};
Object
(
r
.
a
)(
"/haoban-manage-web/audit/refuse.json"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
n
.
a
.
showmsg
(
"操作成功"
,
"success"
),
e
.
refuseVisible
=!
1
,
void
e
.
getTableList
();
o
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
showSingleInfo
:
function
(
e
){},
showStoreChange
:
function
(
e
){
this
.
showStoreDialog
=!
0
,
this
.
storeChangeData
=
e
},
getTableList
:
function
(
e
){
var
t
=
this
,
a
=
{
auditingType
:
t
.
filterValue
,
auditingStatus
:
"0"
,
search
:
""
,
pageNum
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
};
Object
(
r
.
a
)(
"/haoban-manage-web/audit/auditing-list.json"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
a
.
result
&&
a
.
result
.
list
&&
a
.
result
.
list
.
forEach
(
function
(
e
,
t
){
e
.
createTime
&&
(
e
.
createTime
=
Object
(
l
.
b
)(
e
.
createTime
))}),
t
.
tableData
=
a
.
result
.
list
,
void
(
t
.
total
=
a
.
result
.
total
);
o
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
mounted
:
function
(){
this
.
getTableList
()},
components
:{
navCrumb
:
s
.
a
,
storeChange
:
i
.
a
}},
u
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"unreview-wrap common-set-wrap"
},[
a
(
"nav-crumb"
,{
attrs
:{
navpath
:
e
.
navpath
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"div"
,{
staticClass
:
"right-box"
,
style
:{
"min-height"
:
e
.
$store
.
state
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"reviewed-body-head flex flex-space-between"
},[
a
(
"el-select"
,{
staticClass
:
"w-130"
,
attrs
:{
placeholder
:
"全部事项"
},
on
:{
change
:
e
.
getTableList
},
model
:{
value
:
e
.
filterValue
,
callback
:
function
(
t
){
e
.
filterValue
=
t
},
expression
:
"filterValue"
}},
e
.
_l
(
e
.
filterOptions
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})})),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
approveAll
}},[
e
.
_v
(
"批量同意"
)])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"reviewed-body-content"
},[
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
},
on
:{
"selection-change"
:
e
.
handleSelectionChange
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
width
:
"55"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"审核事项"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
0
==
t
.
row
.
auditingType
?
"门店信息变更"
:
1
==
t
.
row
.
auditingType
?
"新增成员"
:
"成员离职"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"提交人"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"flex"
},[
a
(
"el-popover"
,{
attrs
:{
placement
:
"top-start"
,
width
:
"400"
,
trigger
:
"hover"
},
on
:{
show
:
function
(
a
){
e
.
showSingleInfo
(
t
.
row
.
applyId
)}}},[
a
(
"div"
,{
staticClass
:
"apply-info-detail"
},[
a
(
"div"
,{
staticClass
:
"flex"
},[
a
(
"div"
,{
staticClass
:
"apply-info-img flex-align-center flex-pack-center bg-82C5FF "
},[
t
.
row
.
headPic
?
a
(
"img"
,{
attrs
:{
src
:
t
.
row
.
headPic
,
alt
:
"img"
}}):
a
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex flex-column apply-info-right flex-space-between"
},[
a
(
"div"
,{
staticClass
:
"apply-info-name"
},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
applyName
)
+
"
\
n "
),
a
(
"i"
,{
class
:[
2
==
t
.
row
.
sex
?
"icon-xingbienv color-FF585C"
:
"icon-xingbienan color-508CEE"
,
"iconfont"
]})]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apply-info-code"
},[
a
(
"span"
,{
staticClass
:
"w-80"
},[
e
.
_v
(
"员工代码:"
)]),
a
(
"span"
,{
staticClass
:
"w-130"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
code
))])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apply-info-phone"
},[
a
(
"span"
,{
staticClass
:
"w-80"
},[
e
.
_v
(
"手机号:"
)]),
a
(
"span"
,{
staticClass
:
"w-130"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
phoneNumber
))])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apply-info-job"
},[
a
(
"span"
,{
staticClass
:
"w-80"
},[
e
.
_v
(
"职位:"
)]),
a
(
"span"
,{
staticClass
:
"w-130"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
positionName
))])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apply-info-store"
},[
a
(
"span"
,{
staticClass
:
"w-80"
},[
e
.
_v
(
"所属门店:"
)]),
a
(
"span"
,{
staticClass
:
"w-130"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
storeName
))])])])])]),
e
.
_v
(
" "
),
a
(
"div"
,{
attrs
:{
slot
:
"reference"
},
slot
:
"reference"
},[
a
(
"div"
,{
staticClass
:
"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic"
},[
t
.
row
.
headPic
?
a
(
"img"
,{
attrs
:{
src
:
t
.
row
.
headPic
,
alt
:
"img"
}}):
a
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})])])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex flex-column apply-info"
},[
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
row
.
applyName
))]),
e
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-13"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
storeName
))])])],
1
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"详情"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"line-hidden-2"
},[
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
row
.
detail
))]),
e
.
_v
(
" "
),
0
==
t
.
row
.
auditingType
?
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
showStoreChange
(
t
.
row
)}}},[
e
.
_v
(
"查看详情"
)]):
e
.
_e
()],
1
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"提交时间"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"line-h-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeYMD"
)(
t
.
row
.
createTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"line-h-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeHMS"
)(
t
.
row
.
createTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
width
:
"100"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
e
.
handleClick
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"同意"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
e
.
handleClick
(
t
.
$index
,
t
.
row
,
"refuse"
)}}},[
e
.
_v
(
"拒绝"
)])]}}])})],
1
),
e
.
_v
(
" "
),
0
!=
e
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
e
.
currentPage
,
"page-sizes"
:[
10
,
20
,
30
,
40
],
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()],
1
)])]),
e
.
_v
(
" "
),
a
(
"vue-gic-footer"
),
e
.
_v
(
" "
),
a
(
"storeChange"
,{
attrs
:{
storeChangeData
:
e
.
storeChangeData
},
model
:{
value
:
e
.
showStoreDialog
,
callback
:
function
(
t
){
e
.
showStoreDialog
=
t
},
expression
:
"showStoreDialog"
}}),
e
.
_v
(
" "
),
a
(
"el-dialog"
,{
staticClass
:
"approve-dialog"
,
attrs
:{
title
:
""
,
visible
:
e
.
approveVisible
,
width
:
"422px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
approveVisible
=
t
}}},[
a
(
"div"
,{
staticClass
:
"approve-body text-center"
},[
a
(
"div"
,[
a
(
"i"
,{
staticClass
:
"el-icon-success"
}),
a
(
"span"
,{
staticClass
:
"approve-icon-tip"
},[
e
.
_v
(
"同意"
)])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"approve-tip"
},[
e
.
_v
(
"是否确认同意"
)])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"approve-footer dialog-footer"
,
staticStyle
:{
"text-align"
:
"center"
},
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
approveVisible
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
sendApprove
}},[
e
.
_v
(
"确 定"
)])],
1
)]),
e
.
_v
(
" "
),
a
(
"el-dialog"
,{
staticClass
:
"refuse-dialog"
,
attrs
:{
title
:
"提示"
,
visible
:
e
.
refuseVisible
,
"before-close"
:
e
.
cancelRefuse
,
width
:
"422px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
refuseVisible
=
t
}}},[
a
(
"div"
,[
a
(
"div"
,{
staticClass
:
"refuse-tip"
},[
e
.
_v
(
"请输入拒绝理由"
)]),
e
.
_v
(
" "
),
a
(
"el-form"
,{
ref
:
"ruleForm"
,
staticClass
:
"demo-ruleForm"
,
attrs
:{
model
:
e
.
ruleForm
,
rules
:
e
.
rules
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
""
,
prop
:
"refuseReason"
}},[
a
(
"el-input"
,{
staticClass
:
"font-14"
,
attrs
:{
type
:
"textarea"
,
placeholder
:
"最多 50 个字"
,
rows
:
3
},
model
:{
value
:
e
.
ruleForm
.
refuseReason
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"refuseReason"
,
t
)},
expression
:
"ruleForm.refuseReason"
}})],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"approve-footer dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
cancelRefuse
(
"ruleForm"
)}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
sendRefuse
(
"ruleForm"
)}}},[
e
.
_v
(
"确 定"
)])],
1
)])],
1
)},
staticRenderFns
:[]};
var
p
=
a
(
"VU/8"
)(
c
,
u
,
!
1
,
function
(
e
){
a
(
"H6a4"
)},
"data-v-2f5ac2c0"
,
null
);
t
.
default
=
p
.
exports
}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/1
1.c1dd3379bc3efff4388d
.js
→
dist/static/js/1
2.c25271c62951b988f342
.js
View file @
1d1b13ed
webpackJsonp
([
11
],{
BDQR
:
function
(
e
,
t
){},
LbEI
:
function
(
e
,
t
){
e
.
exports
=
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC0AAAAtCAYAAAA6GuKaAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTM4IDc5LjE1OTgyNCwgMjAxNi8wOS8xNC0wMTowOTowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTcgKE1hY2ludG9zaCkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RjlEODYzRUYxN0FEMTFFOThFM0NFNTRBM0RCN0VBMDAiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RjlEODYzRjAxN0FEMTFFOThFM0NFNTRBM0RCN0VBMDAiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpGOUQ4NjNFRDE3QUQxMUU5OEUzQ0U1NEEzREI3RUEwMCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpGOUQ4NjNFRTE3QUQxMUU5OEUzQ0U1NEEzREI3RUEwMCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PvPOG58AAAbSSURBVHja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"
},
Y7wY
:
function
(
e
,
t
){
e
.
exports
=
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPkAAACRCAIAAACOionwAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTM4IDc5LjE1OTgyNCwgMjAxNi8wOS8xNC0wMTowOTowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTcgKE1hY2ludG9zaCkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6ODlGRUMwRjlBNDNCMTFFOEFDNjNEOUI2M0M2ODI3MUMiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6ODlGRUMwRkFBNDNCMTFFOEFDNjNEOUI2M0M2ODI3MUMiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo4OUZFQzBGN0E0M0IxMUU4QUM2M0Q5QjYzQzY4MjcxQyIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo4OUZFQzBGOEE0M0IxMUU4QUM2M0Q5QjYzQzY4MjcxQyIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PuyjFLAAABInSURBVHja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"
},
bZ1Z
:
function
(
e
,
t
){},
lFAe
:
function
(
e
,
t
,
i
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
s
=
i
(
"//Fk"
),
a
=
i
.
n
(
s
),
n
=
i
(
"gBtx"
),
l
=
i
.
n
(
n
),
d
=
i
(
"mvHQ"
),
o
=
i
.
n
(
d
),
c
=
i
(
"DAYN"
),
r
=
i
.
n
(
c
),
f
=
i
(
"Mk6G"
),
u
=
{
name
:
"addinput"
,
props
:{
childItem
:
String
,
childIndex
:
Number
,
titleName
:
String
,
inputValue
:
String
,
maxLength
:
Number
,
disFlag
:
Number
,
child
:
String
},
data
:
function
(){
return
{
inputNum
:
0
,
limitLength
:
10
,
itemValue
:
""
,
disableInput
:
!
1
,
c3Flag
:
""
,
c3Index
:
""
,
titleFlag
:
""
,
childFlag
:
""
}},
methods
:{
inputFocus
:
function
(
e
){
console
.
log
(
e
)},
toInput
:
function
(
e
){
var
t
=
""
,
i
=
{};
return
t
=
f
.
a
.
getByteVal
(
e
.
target
.
value
,
this
.
limitLength
),
this
.
itemValue
=
t
.
trim
(),
this
.
inputNum
=
f
.
a
.
getZhLen
(
this
.
itemValue
),
this
.
childFlag
?(
i
.
child
=
this
.
childFlag
,
i
.
value
=
this
.
itemValue
,
"title"
==
this
.
titleFlag
&&
(
i
.
title
=
this
.
titleFlag
),
"k303"
==
this
.
c3Flag
&&
(
i
.
c3Index
=
this
.
c3Index
,
i
.
flag
=
this
.
c3Flag
),
void
this
.
$emit
(
"itemInput"
,
i
)):
"title"
==
this
.
titleFlag
?(
i
.
value
=
this
.
itemValue
,
i
.
title
=
this
.
titleFlag
,
void
this
.
$emit
(
"itemInput"
,
i
)):
"k303"
==
this
.
c3Flag
?(
i
.
value
=
this
.
itemValue
,
i
.
flag
=
this
.
c3Flag
,
i
.
c3Index
=
this
.
c3Index
,
void
this
.
$emit
(
"itemInput"
,
i
)):
void
this
.
$emit
(
"itemInput"
,
this
.
itemValue
)}},
watch
:{
maxLength
:
function
(
e
,
t
){
this
.
limitLength
=
e
},
inputValue
:
function
(
e
,
t
){
this
.
itemValue
=
e
,
this
.
inputNum
=
f
.
a
.
getZhLen
(
this
.
itemValue
)},
disFlag
:
function
(
e
,
t
){
this
.
disableInput
=
e
},
childItem
:
function
(
e
,
t
){
this
.
c3Flag
=
e
},
childIndex
:
function
(
e
,
t
){
this
.
c3Index
=
e
},
titleName
:
function
(
e
,
t
){
this
.
titleFlag
=
e
},
child
:
function
(
e
,
t
){
this
.
childFlag
=
e
}},
mounted
:
function
(){
console
.
log
(
this
.
childIndex
),
this
.
limitLength
=
this
.
maxLength
,
this
.
itemValue
=
this
.
inputValue
||
""
,
this
.
inputNum
=
f
.
a
.
getZhLen
(
this
.
inputValue
),
this
.
disableInput
=
this
.
disFlag
||
0
,
this
.
c3Flag
=
this
.
childItem
||
""
,
this
.
c3Index
=
0
==
this
.
childIndex
?
0
:
this
.
childIndex
,
this
.
titleFlag
=
this
.
titleName
,
this
.
childFlag
=
this
.
child
}},
m
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"div"
,{
staticClass
:
"input-line-cell"
},[
i
(
"el-input"
,{
staticClass
:
"w-340"
,
attrs
:{
placeholder
:
""
,
disabled
:
0
!=
e
.
disableInput
},
on
:{
focus
:
function
(
t
){
e
.
inputFocus
(
e
.
c3Index
)}},
nativeOn
:{
keyup
:
function
(
t
){
return
i
=
t
,
e
.
toInput
(
i
);
var
i
}},
model
:{
value
:
e
.
itemValue
,
callback
:
function
(
t
){
e
.
itemValue
=
t
},
expression
:
"itemValue"
}}),
e
.
_v
(
" "
),
i
(
"span"
,{
staticClass
:
"tip"
},[
i
(
"span"
,{
staticClass
:
"len_span"
},[
e
.
_v
(
e
.
_s
(
e
.
inputNum
))]),
e
.
_v
(
"/"
+
e
.
_s
(
e
.
limitLength
))])],
1
)},
staticRenderFns
:[]};
var
p
=
i
(
"VU/8"
)(
u
,
m
,
!
1
,
function
(
e
){
i
(
"BDQR"
)},
"data-v-25bcaf42"
,
null
).
exports
,
g
=
i
(
"l46T"
),
h
=
i
(
"MJLE"
),
v
=
i
.
n
(
h
),
C
=
[{
parentCode
:
"defineInfo"
,
fieldCode
:
"-1"
,
fieldName
:
"单行输入框"
,
systemFlag
:
!
1
,
fieldEdited
:
1
,
fieldType
:
"0"
,
fixed
:
!
1
,
fieldDescription
:
"请输入"
,
fieldOperations
:{
ruleContent
:[],
fieldContent
:[]},
isMust
:
!
1
,
staffRecordsIds
:{
staffVisible
:
"1"
,
staffModify
:
"1"
}},{
parentCode
:
"defineInfo"
,
fieldCode
:
"-1"
,
fieldName
:
"多行输入框"
,
systemFlag
:
!
1
,
fieldEdited
:
1
,
fieldType
:
"1"
,
fixed
:
!
1
,
fieldDescription
:
"请输入"
,
fieldOperations
:{
ruleContent
:[],
fieldContent
:[]},
isMust
:
!
1
,
staffRecordsIds
:{
staffVisible
:
"1"
,
staffModify
:
"1"
}},{
parentCode
:
"defineInfo"
,
fieldCode
:
"-1"
,
fieldName
:
"单选框"
,
systemFlag
:
!
1
,
fieldEdited
:
1
,
fieldType
:
"2"
,
fixed
:
!
1
,
fieldDescription
:
"请选择"
,
fieldOperations
:{
ruleContent
:[],
fieldContent
:[{
type
:
"radio"
,
name
:
"选项1"
},{
type
:
"radio"
,
name
:
"选项2"
},{
type
:
"radio"
,
name
:
"选项3"
}]},
isMust
:
!
1
,
staffRecordsIds
:{
staffVisible
:
"1"
,
staffModify
:
"1"
}},{
parentCode
:
"defineInfo"
,
fieldCode
:
"-1"
,
fieldName
:
"多选框"
,
systemFlag
:
!
1
,
fieldEdited
:
1
,
fieldType
:
"3"
,
fixed
:
!
1
,
fieldDescription
:
"请选择"
,
fieldOperations
:{
ruleContent
:[],
fieldContent
:[{
type
:
"checkbox"
,
name
:
"选项1"
},{
type
:
"checkbox"
,
name
:
"选项2"
},{
type
:
"checkbox"
,
name
:
"选项3"
}]},
isMust
:
!
1
,
staffRecordsIds
:{
staffVisible
:
"1"
,
staffModify
:
"1"
}},{
parentCode
:
"defineInfo"
,
fieldCode
:
"-1"
,
fieldName
:
"日期"
,
systemFlag
:
!
1
,
fieldEdited
:
1
,
fieldType
:
"4"
,
fixed
:
!
1
,
fieldDescription
:
"请选择"
,
fieldOperations
:{
typeValue
:
"yyyy-MM-dd"
,
ruleContent
:[{
type
:
"radio"
,
name
:
"年-月-日"
,
key
:
"yyyy-MM-dd"
,
isEdit
:
1
},{
type
:
"radio"
,
name
:
"年-月"
,
key
:
"yyyy-MM"
,
isEdit
:
1
}],
fieldContent
:[]},
isMust
:
!
1
,
staffRecordsIds
:{
staffVisible
:
"1"
,
staffModify
:
"1"
}},{
parentCode
:
"defineInfo"
,
fieldCode
:
"-1"
,
fieldName
:
"日期区间"
,
systemFlag
:
!
1
,
fieldEdited
:
1
,
fieldType
:
"5"
,
fixed
:
!
1
,
fieldOperations
:{
startName
:
"开始时间"
,
endName
:
"结束时间"
,
startDescription
:
"请选择开始时间"
,
endDescription
:
"请选择结束时间"
,
typeValue
:
"yyyy-MM-dd"
,
ruleContent
:[{
type
:
"radio"
,
name
:
"年-月-日"
,
key
:
"yyyy-MM-dd"
,
isEdit
:
1
},{
type
:
"radio"
,
name
:
"年-月"
,
key
:
"yyyy-MM"
,
isEdit
:
1
}],
fieldContent
:[]},
isMust
:
!
1
,
staffRecordsIds
:{
staffVisible
:
"1"
,
staffModify
:
"1"
}},{
parentCode
:
"defineInfo"
,
fieldCode
:
"-1"
,
fieldName
:
"数字输入框"
,
systemFlag
:
!
1
,
fieldType
:
"6"
,
fieldEdited
:
1
,
fixed
:
!
1
,
fieldDescription
:
"请输入"
,
fieldOperations
:{
ruleContent
:[],
fieldContent
:[],
unit
:
"元"
},
isMust
:
!
1
,
staffRecordsIds
:{
staffVisible
:
"1"
,
staffModify
:
"1"
}},{
parentCode
:
"defineInfo"
,
fieldCode
:
"-1"
,
fieldName
:
"图片"
,
systemFlag
:
!
1
,
fieldType
:
"7"
,
fieldEdited
:
1
,
fixed
:
!
1
,
fieldDescription
:
"最多上传9张图片"
,
fieldOperations
:{
ruleContent
:[],
fieldContent
:[]},
isMust
:
!
1
,
staffRecordsIds
:{
staffVisible
:
"1"
,
staffModify
:
"1"
}}],
I
=
function
(){
return
C
},
y
=
i
(
"3E4D"
),
x
=
i
(
"Ch4/"
),
b
=
i
(
"P9l9"
),
N
=
{
name
:
"staffRecordsTemplate"
,
data
:
function
(){
return
{
activeName
:
"first"
,
rightName
:
"first"
,
dialogVisible
:
!
1
,
bodyHeight
:(
document
.
documentElement
.
clientHeight
||
document
.
body
.
clientHeight
)
+
"px"
,
isDragging
:
!
1
,
delayedDragging
:
!
1
,
leftOption
:{
group
:{
name
:
"people"
,
pull
:
"clone"
,
put
:
!
1
},
sort
:
!
1
,
disabled
:
!
1
},
leftDefineOption
:{
group
:{
name
:
"people"
,
pull
:
"clone"
,
put
:
!
1
},
sort
:
!
1
,
disabled
:
!
1
},
selectKey
:
""
,
baseInfo
:[],
jobInfo
:[],
selfInfo
:[],
eduInfo
:[],
contractInfo
:[],
contactInfo
:[],
personalInfo
:[],
defineInfo
:
I
(),
currentIndex
:
0
,
currentChildKey
:
null
,
currentChildIndex
:
null
,
childIndex
:
0
,
tempaletDataList
:[{
parentCode
:
"0"
,
fieldTemplateId
:
""
,
parentFieldTemplateId
:
"0"
,
minCount
:
10
,
maxCount
:
20
,
fieldCode
:
"baseInfo"
,
fieldName
:
"基本信息"
,
fieldEdited
:
!
1
,
fieldOperations
:{
ruleContent
:[],
fieldContent
:[]},
isMust
:
!
1
,
fieldDescription
:
""
,
children
:[],
fieldType
:
""
,
staffRecordsIds
:{},
status
:
""
},{
parentCode
:
"0"
,
fieldTemplateId
:
""
,
parentFieldTemplateId
:
"0"
,
minCount
:
10
,
maxCount
:
20
,
fieldCode
:
"jobInfo"
,
fieldName
:
"工作信息"
,
fieldEdited
:
!
1
,
isMust
:
!
1
,
fieldDescription
:
""
,
children
:[],
fieldType
:
""
,
staffRecordsIds
:{},
status
:
""
},{
parentCode
:
"0"
,
fieldTemplateId
:
""
,
parentFieldTemplateId
:
"0"
,
minCount
:
10
,
maxCount
:
20
,
fieldCode
:
"selfInfo"
,
fieldName
:
"个人信息"
,
fieldEdited
:
!
1
,
isMust
:
!
1
,
fieldDescription
:
""
,
children
:[],
fieldType
:
""
,
staffRecordsIds
:{},
status
:
""
},{
parentCode
:
"0"
,
fieldTemplateId
:
""
,
parentFieldTemplateId
:
"0"
,
minCount
:
10
,
maxCount
:
20
,
fieldCode
:
"eduInfo"
,
fieldName
:
"学历信息"
,
fieldEdited
:
!
1
,
isMust
:
!
1
,
fieldDescription
:
""
,
children
:[],
fieldType
:
""
,
staffRecordsIds
:{},
status
:
""
},{
parentCode
:
"0"
,
fieldTemplateId
:
""
,
parentFieldTemplateId
:
"0"
,
minCount
:
10
,
maxCount
:
20
,
fieldCode
:
"contractInfo"
,
fieldName
:
"合同信息"
,
fieldEdited
:
!
1
,
isMust
:
!
1
,
fieldDescription
:
""
,
children
:[],
fieldType
:
""
,
staffRecordsIds
:{},
status
:
""
},{
parentCode
:
"0"
,
fieldTemplateId
:
""
,
parentFieldTemplateId
:
"0"
,
minCount
:
10
,
maxCount
:
20
,
fieldCode
:
"contactInfo"
,
fieldName
:
"紧急联系人"
,
fieldEdited
:
!
1
,
isMust
:
!
1
,
fieldDescription
:
""
,
children
:[],
fieldType
:
""
,
staffRecordsIds
:{},
status
:
""
},{
parentCode
:
"0"
,
fieldTemplateId
:
""
,
parentFieldTemplateId
:
"0"
,
minCount
:
10
,
maxCount
:
20
,
fieldCode
:
"personalInfo"
,
fieldName
:
"个人资料"
,
fieldEdited
:
!
1
,
isMust
:
!
1
,
fieldDescription
:
""
,
children
:[],
fieldType
:
""
,
staffRecordsIds
:{},
status
:
""
}],
fieldParent
:{
baseInfo
:{},
jobInfo
:{},
selfInfo
:{},
eduInfo
:{},
contractInfo
:{},
contactInfo
:{},
personalInfo
:{}},
setList
:[],
qrcodeCase
:
""
,
qrcodeNum
:
""
}},
created
:
function
(){},
methods
:{
baseInfoClone
:
function
(){},
clickItem
:
function
(
e
){
this
.
tempaletDataList
.
map
(
function
(
e
){
return
e
.
fieldCode
}).
includes
(
e
.
parentCode
)
||
"defineInfo"
===
e
.
parentCode
||
(
this
.
tempaletDataList
.
push
(
this
.
fieldParent
[
e
.
parentCode
]),
this
.
tempaletDataList
=
JSON
.
parse
(
o
()(
this
.
tempaletDataList
)))},
checkMove
:
function
(
e
){
var
t
=!
0
;
return
"baseInfo"
!=
e
.
draggedContext
.
element
.
parentCode
||
e
.
to
.
className
.
includes
(
"baseInfo"
)
||
(
t
=!
1
),
"jobInfo"
!=
e
.
draggedContext
.
element
.
parentCode
||
e
.
to
.
className
.
includes
(
"jobInfo"
)
||
(
t
=!
1
),
"selfInfo"
!=
e
.
draggedContext
.
element
.
parentCode
||
e
.
to
.
className
.
includes
(
"selfInfo"
)
||
(
t
=!
1
),
"eduInfo"
!=
e
.
draggedContext
.
element
.
parentCode
||
e
.
to
.
className
.
includes
(
"eduInfo"
)
||
(
t
=!
1
),
"contractInfo"
!=
e
.
draggedContext
.
element
.
parentCode
||
e
.
to
.
className
.
includes
(
"contractInfo"
)
||
(
t
=!
1
),
"contactInfo"
!=
e
.
draggedContext
.
element
.
parentCode
||
e
.
to
.
className
.
includes
(
"contactInfo"
)
||
(
t
=!
1
),
"personalInfo"
!=
e
.
draggedContext
.
element
.
parentCode
||
e
.
to
.
className
.
includes
(
"personalInfo"
)
||
(
t
=!
1
),
t
},
onMove
:
function
(
e
){
return
!!
this
.
checkMove
(
e
)
&&!
e
.
draggedContext
.
element
.
fixed
},
onChildMove
:
function
(
e
){
return
-
1
!=
e
.
dragged
.
className
.
indexOf
(
"block-class"
)
&&
e
.
to
.
className
.
indexOf
(
"block-wrap"
),
!
0
},
itemMoveEnd
:
function
(
e
){
var
t
=
this
;
t
.
isDragging
=!
1
,
t
.
selectKey
=
""
,
t
.
selectKey
=
e
.
clone
.
dataset
.
type
,
t
.
tempaletDataList
.
forEach
(
function
(
e
,
i
){
e
.
children
.
forEach
(
function
(
e
,
i
){
var
s
;
e
.
systemFlag
&&
e
.
fieldCode
==
t
.
selectKey
&&
(
s
=
e
.
parentCode
,
t
[
s
].
forEach
(
function
(
e
,
i
){
e
.
fieldCode
==
t
.
selectKey
&&
(
e
.
fixed
=!
0
)}))})}),
t
.
selectKey
=
""
,
t
.
tempaletDataList
=
JSON
.
parse
(
o
()(
t
.
tempaletDataList
)),
t
.
$forceUpdate
()},
cloneDefine
:
function
(
e
){},
selectItem
:
function
(
e
,
t
){
this
.
currentIndex
=
t
,
this
.
currentChildIndex
=
null
},
deleteItem
:
function
(
e
,
t
){
this
.
tempaletDataList
.
splice
(
t
,
1
),
this
.
currentIndex
--
,
this
.
currentIndex
<=
0
&&
(
this
.
currentIndex
=
0
),
this
[
e
].
forEach
(
function
(
e
,
t
){
e
.
fixed
=!
1
})},
addItem
:
function
(){},
addDragItem
:
function
(
e
){
return
!
1
},
selectChildItem
:
function
(
e
,
t
,
i
,
s
){
this
.
currentIndex
=
null
,
this
.
currentChildKey
=
e
,
this
.
childIndex
=
t
,
this
.
currentChildIndex
=
i
},
deleteChildItem
:
function
(
e
,
t
,
i
,
s
,
a
){
this
.
childIndex
=
t
,
this
.
currentIndex
=
null
,
this
.
currentChildKey
=
this
.
tempaletDataList
[
t
].
children
[
i
].
fieldCode
,
this
.
currentChildIndex
--
,
this
.
currentChildIndex
<=
0
&&
(
this
.
currentChildIndex
=
0
),
this
.
tempaletDataList
=
JSON
.
parse
(
o
()(
this
.
tempaletDataList
)),
this
.
tempaletDataList
[
t
].
children
.
splice
(
i
,
1
),
this
[
a
.
parentCode
].
forEach
(
function
(
t
,
i
){
t
.
fieldCode
===
e
&&
(
t
.
fixed
=!
1
)})},
checkedChange
:
function
(
e
,
t
){},
delChildItem
:
function
(
e
,
t
,
i
){
i
.
fieldOperations
.
fieldContent
.
splice
(
t
,
1
)},
addChildItem
:
function
(
e
,
t
,
i
){
if
(
19
!=
t
){
var
s
=
"radio"
;
i
.
systemFlag
||
3
!==
parseInt
(
i
.
fieldType
)
||
(
s
=
"checkbox"
),
i
.
fieldOperations
.
fieldContent
.
push
({
type
:
s
,
name
:
"请输入选项"
});
var
a
=
i
.
fieldOperations
.
fieldContent
.
map
(
function
(
e
){
return
e
.
name
});
this
.
isRepeat
(
a
)
&&
(
i
.
fieldOperations
.
fieldContent
.
splice
(
i
.
fieldOperations
.
fieldContent
.
length
-
1
,
1
),
a
.
splice
(
i
.
fieldOperations
.
fieldContent
.
length
-
1
,
1
),
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"选项不能重复"
}))}
else
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"最多可添加 20 项"
})},
changeRadio
:
function
(
e
,
t
,
i
){},
isRepeat
:
function
(
e
){
var
t
=
{};
for
(
var
i
in
e
){
if
(
t
[
e
[
i
]])
return
!
0
;
t
[
e
[
i
]]
=!
0
}
return
!
1
},
changeRoute
:
function
(
e
){
this
.
$router
.
push
(
e
)},
checkTag
:
function
(
e
){
var
t
=
{
filedFlag
:
!
0
,
filedRepeat
:
!
1
},
i
=
[];
return
e
.
forEach
(
function
(
e
,
s
){
if
(
""
==
e
.
fieldName
)
return
t
.
filedFlag
=!
1
,
t
.
name
=
e
.
fieldName
||
""
,
!
1
;
e
.
children
.
length
&&
e
.
children
.
forEach
(
function
(
e
,
s
){
if
(
e
.
systemFlag
&&
""
==
e
.
fieldName
)
return
t
.
filedFlag
=!
1
,
t
.
name
=
e
.
fieldName
||
""
,
!
1
;
i
.
push
(
e
.
fieldName
)})}),
this
.
isRepeat
(
i
)
&&
(
t
.
filedRepeat
=!
0
),
t
},
getUuid
:
function
(){
return
"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx"
.
replace
(
/
[
xy
]
/g
,
function
(
e
){
var
t
=
16
*
Math
.
random
()
|
0
;
return
(
"x"
==
e
?
t
:
3
&
t
|
8
).
toString
(
16
)})},
saveAndBack
:
function
(
e
){
var
t
=
JSON
.
parse
(
o
()(
this
.
tempaletDataList
)),
i
=
this
.
checkTag
(
t
),
s
=
[];
if
(
i
.
filedFlag
)
if
(
i
.
filedRepeat
)
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"字段标题不能重复"
});
else
{
if
(
t
.
forEach
(
function
(
e
,
t
){
e
.
sort
=
t
,
e
.
fixed
=!
0
===
e
.
fixed
?
1
:
0
,
e
.
isMust
=!
0
===
e
.
isMust
?
1
:
0
,
e
.
systemFlag
=!
0
===
e
.
systemFlag
?
1
:
0
,
e
.
parentFieldTemplateId
=
e
.
parentFieldTemplateId
?
e
.
parentFieldTemplateId
:
-
1
,
e
.
fieldTemplateId
=
e
.
fieldTemplateId
?
e
.
fieldTemplateId
:
-
1
,
e
.
children
.
forEach
(
function
(
t
,
i
){
s
.
push
(
t
),
t
.
sort
=
i
,
t
.
fixed
=!
0
===
t
.
fixed
?
1
:
0
,
t
.
isMust
=!
0
===
t
.
isMust
?
1
:
0
,
t
.
systemFlag
=!
0
===
t
.
systemFlag
?
1
:
0
,
e
.
systemFlag
||
(
t
.
fieldEdited
=
1
),
2
!==
parseInt
(
t
.
fieldType
)
&&
3
!==
parseInt
(
t
.
fieldType
)
||
t
.
fieldOperations
.
fieldContent
.
forEach
(
function
(
e
,
i
){
e
.
key
=
String
(
e
.
key
)?
String
(
e
.
key
):
""
,
t
.
systemFlag
||
e
.
hasOwnProperty
(
"key"
)
&&
""
!=
e
.
key
&&
"undefined"
!=
e
.
key
||
(
e
.
key
=
e
.
name
)}),
t
.
systemFlag
||
(
t
.
parentCode
=
e
.
fieldCode
),
t
.
fieldTemplateId
=
t
.
fieldTemplateId
?
t
.
fieldTemplateId
:
-
1
,
t
.
parentFieldTemplateId
=
e
.
fieldTemplateId
})}),
s
.
length
>
40
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"最多设置 40 个字段"
}),
!
1
;
"save"
===
e
?
this
.
saveAllData
(
t
):
this
.
postPreview
(
t
)}
else
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
i
.
name
+
"字段标题不能为空"
})},
saveAllData
:
function
(
e
){
var
t
=
this
,
i
=
{
templateContent
:
o
()(
e
)};
Object
(
b
.
c
)(
"/haoban-manage-web/record/record-template-save.json"
,
i
).
then
(
function
(
e
){
var
i
=
e
.
data
;
if
(
1
==
i
.
errorCode
)
return
y
.
a
.
showmsg
(
"保存成功"
,
"success"
),
void
t
.
changeRoute
(
"/fileSet"
);
x
.
a
.
errorMsg
(
i
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
postPreview
:
function
(
e
){
var
t
=
this
,
i
=
{
templateContent
:
o
()(
e
)};
Object
(
b
.
c
)(
"/haoban-manage-web/record/record-template-preview.json"
,
i
).
then
(
function
(
e
){
var
i
=
e
.
data
;
if
(
1
==
i
.
errorCode
){
var
s
=
window
.
location
.
origin
+
"/office-mobile/#/staffRecordsTemplate?enterpriseId="
+
i
.
result
;
return
t
.
qrcode
(
s
),
void
(
t
.
dialogVisible
=!
0
)}
x
.
a
.
errorMsg
(
i
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
qrcode
:
function
(
e
){
this
.
qrcodeCase
&&
(
document
.
getElementById
(
"qrcode"
).
innerHTML
=
""
,
this
.
qrcodeCase
.
clear
());
var
t
=
{
type
:
"record"
,
data
:
e
};
this
.
qrcodeCase
=
new
v
.
a
(
"qrcode"
,{
width
:
210
,
height
:
210
,
text
:
o
()(
t
)})},
closeDialog
:
function
(){
this
.
dialogVisible
=!
1
},
getAllFields
:
function
(){
var
e
=
this
;
Object
(
b
.
c
)(
"/haoban-manage-web/record/employee-find-system-template.json"
,{}).
then
(
function
(
t
){
var
i
=
t
.
data
;
1
!=
i
.
errorCode
?
x
.
a
.
errorMsg
(
i
):
e
.
handleAllFields
(
i
.
result
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
handleAllFields
:
function
(
e
){
var
t
=
this
;
e
.
forEach
(
function
(
e
,
i
){
t
.
hasOwnProperty
(
e
.
parentCode
)
&&
(
e
.
fixed
=
1
===
parseInt
(
e
.
fixed
),
e
.
isMust
=
1
===
parseInt
(
e
.
isMust
),
e
.
systemFlag
=!
0
,
e
.
fieldOperations
=
e
.
fieldOperations
?
JSON
.
parse
(
e
.
fieldOperations
):{},
e
.
staffRecordsIds
=
e
.
staffRecordsIds
?
JSON
.
parse
(
e
.
staffRecordsIds
):[],
t
[
e
.
parentCode
].
push
(
e
)),
t
.
fieldParent
.
hasOwnProperty
(
e
.
fieldCode
)
&&
(
e
.
children
=
[],
t
.
fieldParent
[
e
.
fieldCode
]
=
e
,
e
.
systemFlag
=!
0
)})},
getInfo
:
function
(){
var
e
=
this
;
Object
(
b
.
c
)(
"/haoban-manage-web/record/employee-find-template.json"
,{}).
then
(
function
(
t
){
var
i
=
t
.
data
;
if
(
1
==
i
.
errorCode
)
return
e
.
setList
=
[],
void
(
i
.
result
&&
i
.
result
.
length
&&
e
.
handleGetInfo
(
i
.
result
));
x
.
a
.
errorMsg
(
i
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
treeData
:
function
(
e
){
var
t
=
e
.
filter
(
function
(
t
){
var
i
=
e
.
filter
(
function
(
e
){
return
t
.
fieldCode
==
e
.
parentCode
});
return
i
.
length
>
0
&&
(
t
.
children
=
i
),
0
==
t
.
parentCode
});
return
t
.
sort
(
function
(
e
,
t
){
return
e
.
sort
-
t
.
sort
}),
t
.
forEach
(
function
(
e
,
t
){
e
.
children
.
sort
(
function
(
e
,
t
){
return
e
.
sort
-
t
.
sort
})}),
t
},
handleGetInfo
:
function
(
e
){
var
t
=
this
,
i
=
JSON
.
parse
(
o
()(
e
));
t
.
setParent
=
[],
i
.
forEach
(
function
(
e
,
i
){
e
.
fixed
=
1
===
l
()(
e
.
fixed
),
e
.
isMust
=
1
===
l
()(
e
.
isMust
),
e
.
systemFlag
=
1
===
l
()(
e
.
systemFlag
),
e
.
fieldOperations
=
e
.
fieldOperations
?
JSON
.
parse
(
e
.
fieldOperations
):{},
e
.
staffRecordsIds
=
e
.
staffRecordsIds
?
JSON
.
parse
(
e
.
staffRecordsIds
):[],
e
.
systemFlag
&&
0
==
e
.
parentCode
&&
t
.
setParent
.
push
(
e
.
fieldCode
),
e
.
systemFlag
&&
0
!=
e
.
parentCode
&&
t
.
setList
.
push
(
e
.
fieldCode
)}),
t
.
tempaletDataList
=
t
.
treeData
(
i
),
setTimeout
(
function
(){
t
.
setFixed
()},
100
)},
setFixed
:
function
(){
var
e
=
this
;
e
.
setParent
.
forEach
(
function
(
t
,
i
){
e
[
t
].
forEach
(
function
(
t
,
i
){
e
.
setList
.
includes
(
t
.
fieldCode
)
&&
(
t
.
fixed
=!
0
)})})}},
watch
:{
isDragging
:
function
(
e
){
var
t
=
this
;
e
?
t
.
delayedDragging
=!
0
:
t
.
$nextTick
(
function
(){
t
.
delayedDragging
=!
1
})}},
components
:{
draggable
:
r
.
a
,
AddInput
:
p
,
limitInput
:
g
.
a
},
mounted
:
function
(){
a
.
a
.
all
([
this
.
getAllFields
(),
this
.
getInfo
()]),
document
.
body
.
ondrop
=
function
(
e
){
e
.
preventDefault
(),
e
.
stopPropagation
()}}},
w
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
s
=
e
.
_self
.
_c
||
t
;
return
s
(
"div"
,{
staticClass
:
"template-wrap"
,
style
:{
height
:
e
.
bodyHeight
}},[
s
(
"div"
,{
staticClass
:
"template-contain"
},[
s
(
"div"
,{
staticClass
:
"template-head"
},[
e
.
_m
(
0
),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"template-btns flex-1 flex-r"
},[
s
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
function
(
t
){
e
.
saveAndBack
(
"preview"
)}}},[
e
.
_v
(
"预 览"
)]),
e
.
_v
(
" "
),
s
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
function
(
t
){
e
.
changeRoute
(
"/fileSet"
)}}},[
e
.
_v
(
"返 回"
)]),
e
.
_v
(
" "
),
s
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
saveAndBack
(
"save"
)}}},[
e
.
_v
(
"保存并启用"
)])],
1
)]),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"template-body"
},[
s
(
"div"
,{
staticClass
:
"template-cell template-cell-l"
},[
s
(
"el-tabs"
,{
model
:{
value
:
e
.
activeName
,
callback
:
function
(
t
){
e
.
activeName
=
t
},
expression
:
"activeName"
}},[
s
(
"el-tab-pane"
,{
attrs
:{
label
:
"系统字段"
,
name
:
"first"
}},[
s
(
"div"
,{
staticClass
:
"filed-item-title"
},[
e
.
_v
(
"基本信息"
)]),
e
.
_v
(
" "
),
s
(
"ul"
,[
s
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list1"
,
list
:
e
.
baseInfo
,
options
:
e
.
leftOption
,
move
:
e
.
onMove
},
on
:{
clone
:
e
.
baseInfoClone
,
start
:
function
(
t
){
e
.
isDragging
=!
0
},
end
:
e
.
itemMoveEnd
}},
e
.
_l
(
e
.
baseInfo
,
function
(
t
,
i
){
return
s
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
t
.
fixed
?
"fixed-item"
:
""
],
attrs
:{
"data-type"
:
t
.
fieldCode
,
"aria-hidden"
:
"true"
},
on
:{
mousedown
:
function
(
i
){
e
.
clickItem
(
t
)}}},[
s
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
fieldName
))])])}))],
1
),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"filed-item-title"
},[
e
.
_v
(
"工作信息"
)]),
e
.
_v
(
" "
),
s
(
"ul"
,[
s
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list2"
,
list
:
e
.
jobInfo
,
options
:
e
.
leftOption
,
move
:
e
.
onMove
},
on
:{
start
:
function
(
t
){
e
.
isDragging
=!
0
},
end
:
e
.
itemMoveEnd
}},
e
.
_l
(
e
.
jobInfo
,
function
(
t
,
i
){
return
s
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
t
.
fixed
?
"fixed-item"
:
""
],
attrs
:{
"data-type"
:
t
.
fieldCode
},
on
:{
mousedown
:
function
(
i
){
e
.
clickItem
(
t
)}}},[
s
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
fieldName
))])])}))],
1
),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"filed-item-title"
},[
e
.
_v
(
"个人信息"
)]),
e
.
_v
(
" "
),
s
(
"ul"
,[
s
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list3"
,
list
:
e
.
selfInfo
,
options
:
e
.
leftOption
,
move
:
e
.
onMove
},
on
:{
start
:
function
(
t
){
e
.
isDragging
=!
0
},
end
:
e
.
itemMoveEnd
}},
e
.
_l
(
e
.
selfInfo
,
function
(
t
,
i
){
return
s
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
t
.
fixed
?
"fixed-item"
:
""
],
attrs
:{
"data-type"
:
t
.
fieldCode
},
on
:{
mousedown
:
function
(
i
){
e
.
clickItem
(
t
)}}},[
s
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
fieldName
))])])}))],
1
),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"filed-item-title"
},[
e
.
_v
(
"学历信息"
)]),
e
.
_v
(
" "
),
s
(
"ul"
,[
s
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list4"
,
list
:
e
.
eduInfo
,
options
:
e
.
leftOption
,
move
:
e
.
onMove
},
on
:{
start
:
function
(
t
){
e
.
isDragging
=!
0
},
end
:
e
.
itemMoveEnd
}},
e
.
_l
(
e
.
eduInfo
,
function
(
t
,
i
){
return
s
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
t
.
fixed
?
"fixed-item"
:
""
],
attrs
:{
"data-type"
:
t
.
fieldCode
},
on
:{
mousedown
:
function
(
i
){
e
.
clickItem
(
t
)}}},[
s
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
fieldName
))])])}))],
1
),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"filed-item-title"
},[
e
.
_v
(
"合同信息"
)]),
e
.
_v
(
" "
),
s
(
"ul"
,[
s
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list5"
,
list
:
e
.
contractInfo
,
options
:
e
.
leftOption
,
move
:
e
.
onMove
},
on
:{
start
:
function
(
t
){
e
.
isDragging
=!
0
},
end
:
e
.
itemMoveEnd
}},
e
.
_l
(
e
.
contractInfo
,
function
(
t
,
i
){
return
s
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
t
.
fixed
?
"fixed-item"
:
""
],
attrs
:{
"data-type"
:
t
.
fieldCode
},
on
:{
mousedown
:
function
(
i
){
e
.
clickItem
(
t
)}}},[
s
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
fieldName
))])])}))],
1
),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"filed-item-title"
},[
e
.
_v
(
"紧急联系人"
)]),
e
.
_v
(
" "
),
s
(
"ul"
,[
s
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list5"
,
list
:
e
.
contactInfo
,
options
:
e
.
leftOption
,
move
:
e
.
onMove
},
on
:{
start
:
function
(
t
){
e
.
isDragging
=!
0
},
end
:
e
.
itemMoveEnd
}},
e
.
_l
(
e
.
contactInfo
,
function
(
t
,
i
){
return
s
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
t
.
fixed
?
"fixed-item"
:
""
],
attrs
:{
"data-type"
:
t
.
fieldCode
},
on
:{
mousedown
:
function
(
i
){
e
.
clickItem
(
t
)}}},[
s
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
fieldName
))])])}))],
1
),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"filed-item-title"
},[
e
.
_v
(
"个人材料"
)]),
e
.
_v
(
" "
),
s
(
"ul"
,[
s
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list5"
,
list
:
e
.
personalInfo
,
options
:
e
.
leftOption
,
move
:
e
.
onMove
},
on
:{
start
:
function
(
t
){
e
.
isDragging
=!
0
},
end
:
e
.
itemMoveEnd
}},
e
.
_l
(
e
.
personalInfo
,
function
(
t
,
i
){
return
s
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
t
.
fixed
?
"fixed-item"
:
""
],
attrs
:{
"data-type"
:
t
.
fieldCode
},
on
:{
mousedown
:
function
(
i
){
e
.
clickItem
(
t
)}}},[
s
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
fieldName
))])])}))],
1
)]),
e
.
_v
(
" "
),
s
(
"el-tab-pane"
,{
attrs
:{
label
:
"自定义字段"
,
name
:
"second"
}},[
s
(
"div"
,{
staticClass
:
"filed-item-title"
}),
e
.
_v
(
" "
),
s
(
"ul"
,[
s
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list5"
,
list
:
e
.
defineInfo
,
options
:
e
.
leftDefineOption
,
move
:
e
.
onChildMove
},
on
:{
start
:
function
(
t
){
e
.
isDragging
=!
0
},
end
:
e
.
itemMoveEnd
,
clone
:
e
.
cloneDefine
}},
e
.
_l
(
e
.
defineInfo
,
function
(
t
,
i
){
return
s
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
t
.
fixed
?
"fixed-item"
:
""
],
attrs
:{
"data-type"
:
t
.
fieldCode
},
on
:{
mousedown
:
function
(
i
){
e
.
clickItem
(
t
)}}},[
t
.
systemFlag
||
0
!=
t
.
fieldType
?
e
.
_e
():
s
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
fieldName
))]),
e
.
_v
(
" "
),
t
.
systemFlag
||
1
!=
t
.
fieldType
?
e
.
_e
():
s
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
fieldName
))]),
e
.
_v
(
" "
),
t
.
systemFlag
||
2
!=
t
.
fieldType
?
e
.
_e
():
s
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
fieldName
))]),
e
.
_v
(
" "
),
t
.
systemFlag
||
3
!=
t
.
fieldType
?
e
.
_e
():
s
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
fieldName
))]),
e
.
_v
(
" "
),
t
.
systemFlag
||
4
!=
t
.
fieldType
?
e
.
_e
():
s
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
fieldName
))]),
e
.
_v
(
" "
),
t
.
systemFlag
||
5
!=
t
.
fieldType
?
e
.
_e
():
s
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
fieldName
))]),
e
.
_v
(
" "
),
t
.
systemFlag
||
6
!=
t
.
fieldType
?
e
.
_e
():
s
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
fieldName
))]),
e
.
_v
(
" "
),
t
.
systemFlag
||
7
!=
t
.
fieldType
?
e
.
_e
():
s
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
fieldName
))]),
e
.
_v
(
" "
),
t
.
systemFlag
||
0
!=
t
.
fieldType
?
e
.
_e
():
s
(
"i"
,{
staticClass
:
"bg-icon bg-icon-one"
}),
e
.
_v
(
" "
),
t
.
systemFlag
||
1
!=
t
.
fieldType
?
e
.
_e
():
s
(
"i"
,{
staticClass
:
"bg-icon bg-icon-two"
}),
e
.
_v
(
" "
),
t
.
systemFlag
||
2
!=
t
.
fieldType
?
e
.
_e
():
s
(
"i"
,{
staticClass
:
"bg-icon bg-icon-three"
}),
e
.
_v
(
" "
),
t
.
systemFlag
||
3
!=
t
.
fieldType
?
e
.
_e
():
s
(
"i"
,{
staticClass
:
"bg-icon bg-icon-four"
}),
e
.
_v
(
" "
),
t
.
systemFlag
||
4
!=
t
.
fieldType
?
e
.
_e
():
s
(
"i"
,{
staticClass
:
"bg-icon bg-icon-five"
}),
e
.
_v
(
" "
),
t
.
systemFlag
||
5
!=
t
.
fieldType
?
e
.
_e
():
s
(
"i"
,{
staticClass
:
"bg-icon bg-icon-six"
}),
e
.
_v
(
" "
),
t
.
systemFlag
||
6
!=
t
.
fieldType
?
e
.
_e
():
s
(
"i"
,{
staticClass
:
"bg-icon bg-icon-seven"
}),
e
.
_v
(
" "
),
t
.
systemFlag
||
7
!=
t
.
fieldType
?
e
.
_e
():
s
(
"i"
,{
staticClass
:
"bg-icon bg-icon-eight"
})])}))],
1
)])],
1
)],
1
),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"template-cell template-cell-m"
},[
s
(
"div"
,{
staticClass
:
"phone-view"
},[
s
(
"div"
,{
staticClass
:
"phone-show-content"
},[
s
(
"div"
,{
staticClass
:
"drag-show-content"
},[
s
(
"div"
,{
staticClass
:
"view-container"
},[
s
(
"ul"
,{
staticClass
:
"view-content"
,
attrs
:{
id
:
"showPhoneView"
}},[
0
==
e
.
tempaletDataList
.
length
?[
s
(
"img"
,{
staticClass
:
"templet-null-img"
,
attrs
:{
src
:
i
(
"Y7wY"
)}})]:
e
.
_e
(),
e
.
_v
(
" "
),
s
(
"draggable"
,{
staticClass
:
"drag-wrap"
,
attrs
:{
options
:{
group
:{
name
:
"people"
,
pull
:
!
1
,
put
:
!
1
},
sort
:
!
0
}},
on
:{
add
:
e
.
addItem
},
model
:{
value
:
e
.
tempaletDataList
,
callback
:
function
(
t
){
e
.
tempaletDataList
=
t
},
expression
:
"tempaletDataList"
}},
e
.
_l
(
e
.
tempaletDataList
,
function
(
t
,
i
){
return
s
(
"li"
,{
key
:
"li1"
+
i
,
class
:[
"filed-item"
,
e
.
currentIndex
==
i
?
"active-item"
:
""
,
"li-block"
],
on
:{
click
:
function
(
s
){
e
.
selectItem
(
t
.
fieldCode
,
i
)}}},[
"baseInfo"
!=
t
.
fieldCode
?
s
(
"span"
,{
staticClass
:
"item-close p-item-close"
,
on
:{
click
:
function
(
s
){
s
.
stopPropagation
(),
e
.
deleteItem
(
t
.
fieldCode
,
i
)}}},[
s
(
"i"
,{
staticClass
:
"el-icon-close"
})]):
e
.
_e
(),
e
.
_v
(
" "
),[
s
(
"div"
,{
staticClass
:
"block"
},[
s
(
"div"
,{
staticClass
:
"block-head"
},[
s
(
"div"
,{
class
:[
"opencard-item-title"
,
t
.
fieldName
.
length
>
6
?
"block-pre-wrap"
:
""
]},[
e
.
_v
(
e
.
_s
(
t
.
fieldName
))])]),
e
.
_v
(
" "
),
s
(
"ul"
,{
staticClass
:
"view-content"
},[
s
(
"draggable"
,{
class
:[
"drag-wrap"
,
"block-wrap"
,
t
.
fieldCode
],
attrs
:{
options
:{
group
:{
name
:
"people"
,
pull
:
!
1
,
put
:
!
0
},
sort
:
!
0
}},
on
:{
add
:
e
.
addDragItem
},
model
:{
value
:
t
.
children
,
callback
:
function
(
i
){
e
.
$set
(
t
,
"children"
,
i
)},
expression
:
"item.children"
}},
e
.
_l
(
t
.
children
,
function
(
a
,
n
){
return
s
(
"li"
,{
key
:
"li"
+
n
,
class
:[
"filed-item"
,
"child-filed-item"
,
e
.
currentChildKey
==
a
.
fieldCode
&&
e
.
currentChildIndex
==
n
?
"active-item"
:
""
],
on
:{
click
:
function
(
s
){
s
.
stopPropagation
(),
e
.
selectChildItem
(
a
.
fieldCode
,
i
,
n
,
t
.
children
)}}},[
"clerkPhone"
!=
a
.
fieldCode
?
s
(
"span"
,{
staticClass
:
"item-close child-item-close"
,
on
:{
click
:
function
(
s
){
s
.
stopPropagation
(),
e
.
deleteChildItem
(
a
.
fieldCode
,
i
,
n
,
t
.
children
,
a
)}}},[
s
(
"i"
,{
staticClass
:
"el-icon-close"
})]):
e
.
_e
(),
e
.
_v
(
" "
),
2
==
a
.
fieldType
||
3
==
a
.
fieldType
||
4
==
a
.
fieldType
?
s
(
"div"
,[
s
(
"div"
,{
class
:[
"opencard-item-title"
,
a
.
fieldName
.
length
>
6
?
"title-pre-wrap"
:
""
]},[
e
.
_v
(
e
.
_s
(
a
.
fieldName
))]),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"draged-item-show"
},[
s
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag select-flag"
},[
e
.
_v
(
e
.
_s
(
a
.
fieldDescription
)
+
" "
),
s
(
"i"
,{
staticClass
:
"el-icon-arrow-right"
})])])]):
e
.
_e
(),
e
.
_v
(
" "
),
5
==
a
.
fieldType
?
s
(
"div"
,[
s
(
"div"
,[
s
(
"div"
,{
class
:[
"opencard-item-title"
,
a
.
fieldOperations
.
startName
.
length
>
6
?
"title-pre-wrap"
:
""
]},[
e
.
_v
(
e
.
_s
(
a
.
fieldOperations
.
startName
))]),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"draged-item-show"
},[
s
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag select-flag"
},[
e
.
_v
(
e
.
_s
(
a
.
fieldOperations
.
startDescription
)),
s
(
"i"
,{
staticClass
:
"el-icon-arrow-right"
})])])]),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"b-t-1"
},[
s
(
"div"
,{
class
:[
"opencard-item-title"
,
a
.
fieldOperations
.
endName
.
length
>
6
?
"title-pre-wrap"
:
""
]},[
e
.
_v
(
e
.
_s
(
a
.
fieldOperations
.
endName
))]),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"draged-item-show"
},[
s
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag select-flag"
},[
e
.
_v
(
e
.
_s
(
a
.
fieldOperations
.
endDescription
)),
s
(
"i"
,{
staticClass
:
"el-icon-arrow-right"
})])])])]):
e
.
_e
(),
e
.
_v
(
" "
),
7
==
a
.
fieldType
?
s
(
"div"
,[
s
(
"div"
,{
class
:[
"opencard-item-title"
,
a
.
fieldName
.
length
>
6
?
"title-pre-wrap"
:
""
]},[
e
.
_v
(
e
.
_s
(
a
.
fieldName
))]),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"draged-item-show"
},[
s
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag select-flag"
},[
s
(
"i"
,{
staticClass
:
"iconfont icon-icon"
})])])]):
e
.
_e
(),
e
.
_v
(
" "
),
0
==
a
.
fieldType
||
1
==
a
.
fieldType
||
6
==
a
.
fieldType
?
s
(
"div"
,[
s
(
"div"
,{
class
:[
"opencard-item-title"
,
a
.
fieldName
.
length
>
6
?
"title-pre-wrap"
:
""
]},[
e
.
_v
(
e
.
_s
(
a
.
fieldName
))]),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"draged-item-show"
},[
s
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag"
},[
e
.
_v
(
e
.
_s
(
a
.
fieldDescription
))])])]):
e
.
_e
()])}))],
1
)])]],
2
)}))],
2
)])])])])]),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"template-cell template-cell-r"
},[
s
(
"el-tabs"
,{
model
:{
value
:
e
.
rightName
,
callback
:
function
(
t
){
e
.
rightName
=
t
},
expression
:
"rightName"
}},[
s
(
"el-tab-pane"
,{
attrs
:{
label
:
"控件设置"
,
name
:
"first"
}},[
s
(
"div"
,{
attrs
:{
id
:
"edit-box"
}},[
s
(
"div"
,{
staticClass
:
"edit-view baby-info-flag baby-info"
},[
e
.
_l
(
e
.
tempaletDataList
,
function
(
t
,
i
){
return
[
e
.
currentIndex
==
i
&&
"0"
==
t
.
parentCode
?[
s
(
"div"
,{
key
:
"parent"
+
i
,
staticClass
:
"edit-item "
},[
s
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
e
.
_v
(
"标题"
)]),
e
.
_v
(
" "
),
s
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
t
.
fieldName
,
holder
:
""
,
disflag
:
!
0
,
getByType
:
"word"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
i
){
e
.
$set
(
t
,
"fieldName"
,
i
)}}})],
1
)]:
e
.
_e
(),
e
.
_v
(
" "
),
e
.
childIndex
==
i
&&
t
.
children
&&
t
.
children
.
length
?[
e
.
_l
(
t
.
children
,
function
(
t
,
a
){
return
[
e
.
currentChildIndex
==
a
?[
s
(
"div"
,{
key
:
"child"
+
a
,
staticClass
:
"edit-item test-title limit-w-340"
},[
s
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"标题"
)]),
e
.
_v
(
" "
),
s
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
t
.
fieldName
,
holder
:
""
,
disflag
:
t
.
systemFlag
,
getByType
:
"word"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
i
){
e
.
$set
(
t
,
"fieldName"
,
i
)}}}),
e
.
_v
(
" "
),
7
==
t
.
fieldType
?
s
(
"p"
,{
staticStyle
:{
"margin-top"
:
"8px"
,
"font-size"
:
"12px"
,
color
:
"rgba(255, 255, 255, 0.7)"
}},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
fieldDescription
)
+
"
\
n "
)]):
e
.
_e
()],
1
)]:
e
.
_e
(),
e
.
_v
(
" "
),
e
.
currentChildIndex
==
a
&&
5
!=
t
.
fieldType
&&
7
!=
t
.
fieldType
?[
s
(
"div"
,{
key
:
"child1"
+
a
,
staticClass
:
"edit-item test-title limit-w-340"
},[
s
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"提示文字"
)]),
e
.
_v
(
" "
),
s
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
t
.
fieldDescription
,
holder
:
""
,
disflag
:
!
1
,
getByType
:
"word"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
i
){
e
.
$set
(
t
,
"fieldDescription"
,
i
)}}})],
1
)]:
e
.
_e
(),
e
.
_v
(
" "
),
e
.
currentChildIndex
==
a
&&
5
==
t
.
fieldType
?[
s
(
"div"
,{
key
:
"child2"
+
a
,
staticClass
:
"edit-item test-title limit-w-340"
},[
s
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"开始时间"
)]),
e
.
_v
(
" "
),
s
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
t
.
fieldOperations
.
startName
,
holder
:
""
,
disflag
:
t
.
systemFlag
,
getByType
:
"word"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
i
){
e
.
$set
(
t
.
fieldOperations
,
"startName"
,
i
)}}})],
1
),
e
.
_v
(
" "
),
s
(
"div"
,{
key
:
"child3"
+
a
,
staticClass
:
"edit-item test-title limit-w-340"
},[
s
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"提示文字"
)]),
e
.
_v
(
" "
),
s
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
t
.
fieldOperations
.
startDescription
,
holder
:
""
,
disflag
:
!
1
,
getByType
:
"word"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
i
){
e
.
$set
(
t
.
fieldOperations
,
"startDescription"
,
i
)}}})],
1
),
e
.
_v
(
" "
),
s
(
"div"
,{
key
:
"child4"
+
a
,
staticClass
:
"edit-item test-title limit-w-340"
},[
s
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"结束时间"
)]),
e
.
_v
(
" "
),
s
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
t
.
fieldOperations
.
endName
,
holder
:
""
,
disflag
:
t
.
systemFlag
,
getByType
:
"word"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
i
){
e
.
$set
(
t
.
fieldOperations
,
"endName"
,
i
)}}})],
1
),
e
.
_v
(
" "
),
s
(
"div"
,{
key
:
"child5"
+
a
,
staticClass
:
"edit-item test-title limit-w-340"
},[
s
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"提示文字"
)]),
e
.
_v
(
" "
),
s
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
t
.
fieldOperations
.
endDescription
,
holder
:
""
,
disflag
:
!
1
,
getByType
:
"word"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
i
){
e
.
$set
(
t
.
fieldOperations
,
"endDescription"
,
i
)}}})],
1
)]:
e
.
_e
(),
e
.
_v
(
" "
),
e
.
currentChildIndex
==
a
&&
6
==
t
.
fieldType
?[
s
(
"div"
,{
key
:
"child6"
+
a
,
staticClass
:
"edit-item test-title limit-w-340"
},[
s
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"单位"
)]),
e
.
_v
(
" "
),
s
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
t
.
fieldOperations
.
unit
,
holder
:
""
,
disflag
:
!
1
,
getByType
:
"word"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
i
){
e
.
$set
(
t
.
fieldOperations
,
"unit"
,
i
)}}})],
1
)]:
e
.
_e
(),
e
.
_v
(
" "
),
e
.
currentChildIndex
!=
a
||
4
!=
t
.
fieldType
&&
5
!=
t
.
fieldType
?
e
.
_e
():[
s
(
"div"
,{
key
:
"child7"
+
a
,
staticClass
:
"edit-item "
},[
s
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"日期类型"
)]),
e
.
_v
(
" "
),
e
.
_l
(
t
.
fieldOperations
.
ruleContent
,
function
(
i
,
a
){
return
[
s
(
"el-radio"
,{
key
:
"child8"
+
a
,
attrs
:{
label
:
i
.
key
},
on
:{
change
:
function
(
i
){
e
.
changeRadio
(
i
,
a
,
t
)}},
model
:{
value
:
t
.
fieldOperations
.
typeValue
,
callback
:
function
(
i
){
e
.
$set
(
t
.
fieldOperations
,
"typeValue"
,
i
)},
expression
:
"childItem.fieldOperations.typeValue"
}},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
i
.
name
)
+
"
\
n "
)])]})],
2
)],
e
.
_v
(
" "
),
e
.
currentChildIndex
!=
a
||
"2"
!=
t
.
fieldType
&&
"3"
!=
t
.
fieldType
?
e
.
_e
():[
s
(
"div"
,{
key
:
"child9"
+
a
,
staticClass
:
"edit-item "
},[
s
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"选项 "
),
t
.
systemFlag
?
e
.
_e
():
s
(
"span"
,[
e
.
_v
(
"最多20项,每项最多10个字"
)])]),
e
.
_v
(
" "
),
e
.
_l
(
t
.
fieldOperations
.
fieldContent
,
function
(
a
,
n
){
return
[
s
(
"div"
,{
key
:
"child10"
+
n
,
staticClass
:
"margin-t-15 limit-w-340"
,
style
:
0
==
n
?
"margin-top: 0"
:
""
},[
s
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
a
.
name
,
holder
:
""
,
disflag
:
t
.
systemFlag
,
getByType
:
"word"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
a
,
"name"
,
t
)}}}),
e
.
_v
(
" "
),
!
t
.
systemFlag
&&
t
.
fieldOperations
.
fieldContent
.
length
>
1
?
s
(
"i"
,{
staticClass
:
"opt-btn el-icon-remove del-item"
,
on
:{
click
:
function
(
s
){
e
.
delChildItem
(
i
,
n
,
t
)}}}):
e
.
_e
(),
e
.
_v
(
" "
),
!
t
.
systemFlag
&&
n
<
19
?[
n
==
t
.
fieldOperations
.
fieldContent
.
length
-
1
?
s
(
"i"
,{
staticClass
:
"opt-btn el-icon-circle-plus add-item"
,
on
:{
click
:
function
(
s
){
e
.
addChildItem
(
i
,
n
,
t
)}}}):
e
.
_e
()]:
e
.
_e
()],
2
)]})],
2
)],
e
.
_v
(
" "
),
e
.
currentChildIndex
==
a
?[
s
(
"div"
,{
key
:
"child11"
+
a
,
staticClass
:
"edit-item"
},[
s
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"验证"
)]),
e
.
_v
(
" "
),
s
(
"el-checkbox"
,{
model
:{
value
:
t
.
isMust
,
callback
:
function
(
i
){
e
.
$set
(
t
,
"isMust"
,
i
)},
expression
:
"childItem.isMust"
}},[
e
.
_v
(
"必填"
)])],
1
)]:
e
.
_e
(),
e
.
_v
(
" "
),
e
.
currentChildIndex
==
a
?[
s
(
"div"
,{
key
:
"parent2"
+
a
,
staticClass
:
"edit-item "
},[
s
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"员工档案中"
)]),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"staffRecords-limit"
},[
s
(
"el-radio"
,{
staticClass
:
"label-cell"
,
attrs
:{
label
:
"1"
},
model
:{
value
:
t
.
staffRecordsIds
.
staffVisible
,
callback
:
function
(
i
){
e
.
$set
(
t
.
staffRecordsIds
,
"staffVisible"
,
i
)},
expression
:
"childItem.staffRecordsIds.staffVisible"
}},[
e
.
_v
(
"对员工可见"
)]),
e
.
_v
(
" "
),
s
(
"el-radio"
,{
staticClass
:
"label-cell"
,
attrs
:{
label
:
"0"
},
model
:{
value
:
t
.
staffRecordsIds
.
staffVisible
,
callback
:
function
(
i
){
e
.
$set
(
t
.
staffRecordsIds
,
"staffVisible"
,
i
)},
expression
:
"childItem.staffRecordsIds.staffVisible"
}},[
e
.
_v
(
"对员工不可见"
)])],
1
),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"staffRecords-limit"
},[
s
(
"el-radio"
,{
staticClass
:
"label-cell"
,
attrs
:{
label
:
"1"
},
model
:{
value
:
t
.
staffRecordsIds
.
staffModify
,
callback
:
function
(
i
){
e
.
$set
(
t
.
staffRecordsIds
,
"staffModify"
,
i
)},
expression
:
"childItem.staffRecordsIds.staffModify"
}},[
e
.
_v
(
"对员工可修改"
)]),
e
.
_v
(
" "
),
s
(
"el-radio"
,{
staticClass
:
"label-cell"
,
attrs
:{
label
:
"0"
},
model
:{
value
:
t
.
staffRecordsIds
.
staffModify
,
callback
:
function
(
i
){
e
.
$set
(
t
.
staffRecordsIds
,
"staffModify"
,
i
)},
expression
:
"childItem.staffRecordsIds.staffModify"
}},[
e
.
_v
(
"对员工不可修改"
)])],
1
)])]:
e
.
_e
()]})]:
e
.
_e
()]})],
2
)])])],
1
)],
1
)])]),
e
.
_v
(
" "
),
s
(
"div"
,{
directives
:[{
name
:
"show"
,
rawName
:
"v-show"
,
value
:
e
.
dialogVisible
,
expression
:
"dialogVisible"
}],
staticClass
:
"qr-dialog-content"
,
staticStyle
:{
opacity
:
"1"
}},[
s
(
"div"
,{
staticClass
:
"qr-mask"
,
on
:{
click
:
function
(
t
){
return
t
.
stopPropagation
(),
e
.
closeDialog
(
t
)}}}),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"qr-dialog"
},[
s
(
"div"
,{
staticClass
:
"qr-dialog__hd"
},[
s
(
"strong"
,{
staticClass
:
"qr-dialog__title"
},[
e
.
_v
(
"预览"
)]),
e
.
_v
(
" "
),
s
(
"i"
,{
staticClass
:
"el-icon-close"
,
on
:{
click
:
function
(
t
){
return
t
.
stopPropagation
(),
e
.
closeDialog
(
t
)}}})]),
e
.
_v
(
" "
),
e
.
_m
(
1
),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"qr--dialog__ft"
})])])])},
staticRenderFns
:[
function
(){
var
e
=
this
.
$createElement
,
t
=
this
.
_self
.
_c
||
e
;
return
t
(
"div"
,{
staticClass
:
"template-title flex-1"
},[
t
(
"img"
,{
attrs
:{
src
:
i
(
"LbEI"
),
alt
:
"logo"
}}),
this
.
_v
(
" "
),
t
(
"span"
,{
staticClass
:
"template-title-span"
},[
this
.
_v
(
"员工档案设置"
)])])},
function
(){
var
e
=
this
.
$createElement
,
t
=
this
.
_self
.
_c
||
e
;
return
t
(
"div"
,{
staticClass
:
"qr-dialog__bd"
},[
t
(
"div"
,{
attrs
:{
id
:
"qrcode"
}}),
this
.
_v
(
" "
),
t
(
"div"
,{
staticClass
:
"qr-dialog__p"
},[
this
.
_v
(
"请使用好办 APP 扫一扫预览"
)])])}]};
var
M
=
i
(
"VU/8"
)(
N
,
w
,
!
1
,
function
(
e
){
i
(
"bZ1Z"
)},
"data-v-7701a072"
,
null
);
t
.
default
=
M
.
exports
}});
webpackJsonp
([
12
],{
BDQR
:
function
(
e
,
t
){},
LbEI
:
function
(
e
,
t
){
e
.
exports
=
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC0AAAAtCAYAAAA6GuKaAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTM4IDc5LjE1OTgyNCwgMjAxNi8wOS8xNC0wMTowOTowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTcgKE1hY2ludG9zaCkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RjlEODYzRUYxN0FEMTFFOThFM0NFNTRBM0RCN0VBMDAiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RjlEODYzRjAxN0FEMTFFOThFM0NFNTRBM0RCN0VBMDAiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpGOUQ4NjNFRDE3QUQxMUU5OEUzQ0U1NEEzREI3RUEwMCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpGOUQ4NjNFRTE3QUQxMUU5OEUzQ0U1NEEzREI3RUEwMCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PvPOG58AAAbSSURBVHja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"
},
Y7wY
:
function
(
e
,
t
){
e
.
exports
=
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPkAAACRCAIAAACOionwAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTM4IDc5LjE1OTgyNCwgMjAxNi8wOS8xNC0wMTowOTowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTcgKE1hY2ludG9zaCkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6ODlGRUMwRjlBNDNCMTFFOEFDNjNEOUI2M0M2ODI3MUMiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6ODlGRUMwRkFBNDNCMTFFOEFDNjNEOUI2M0M2ODI3MUMiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo4OUZFQzBGN0E0M0IxMUU4QUM2M0Q5QjYzQzY4MjcxQyIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo4OUZFQzBGOEE0M0IxMUU4QUM2M0Q5QjYzQzY4MjcxQyIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PuyjFLAAABInSURBVHja7J0LcJ1lmcebS3NOEnJrE5I2aUJrLyksrYBctlDxxqAdEWVwhV1kvY84OoPCLO7gwojrrO64qzM64nhDO7jVtVNXYdLtAiJia5GFGhCalrVt2iRNmrQnl57kpLn5Sx58ef2+c05OCt00J///ZDJfvvOd93ve5/0//+d53u8kyemNnVwgCPMAuXKBIK4LgrguCOK6IIjrgiCuC4K4LgjiuiCI64IgrgviuiCI64IgrguCuC4I4rogiOuCIK4LgrguCOK6IIjrgrguCOK6IIjrgiCuC4K4LgjiuiCI64IgrguCuC4I4rogrguCuC4IWYL8WbdgYGBgZGRkYmJCi5HdyMnJWbhwYUlJyawZMLv/VyMWi42Pj4sH86iQyM2tqKiYd7qOokP0/Py8aLQgZ0GOeBBGYvjUyMhoQUHBOcXFOblzu+CcGB8/GY+fOnWKdZ8VdZ9N91G68F1ET4OxsTG+ZwHRJ0uI3Fwm4tZ9fnHdanQRPQ3GxyeMJVlSsk9NZLZ6M+3DCPOmVZALBHFdEMR1QRDXBUFcF4RZRr5ckDXo7Ooc6B8oLi4sKiwuKS3Jy9PiiutZiory8qHBwf6Bgbb2dn4sLiouKSmpqqosLCyWc8T1rEIkEl2+fIUdD6DwA/2xWC9iHymIVFRUiPTienaihCKmpHTp0rrh4cTx4z3d3T2QHqWvrq6urKwS14XsFHsYzxcy39nZdeDggfb2djSeM+L6HEMikeg5HrPPSDXU/8X6tR5u8388S15taz9aubgiGo2eCW8MDcVHR8fGRscGh+LuZG5efnFREQcrVixvbu4fPjVMQU9VM99KmjnPdUf0uQKsxea62iWvyWhWl8fjNKVxSJzhu0pLS+dh7T7nuW5EX1a3NDf0YcCAoJ4lrzqbX8WUR2OT6I31nnAnqcUnGVxUhIQXFBRQugTe1dHRZvsz+Xn5DfX1qtfnHqYlVjYZ3BuLdff0OIrDWkqRivKKaXfTe3q6jeiTlczyFfNzQ0a96ZzIXaNdXZ3d3T2uSqmqrILi5Zn9MhtEpyV1RC+fpV+BE9eFdBgfH+/r62ttPTQ6NmpCXlNTXV1dk/kz0QDR5+2Go7h+VrO8u7v7WHfP2PhkcR8piNTW1s6UqSJ6VnHdNvjmUNWeicEnemNdnV3Dp05xnJebt2RJzWlshw8NxR3R6+sb5jnRpeuvLfqbm5pe6K+78qarGk53iEQi0d7RMXDy5T9kUl4+2XpWVc2YppT4e/e2uOK+prpGyyOun0Xo6uo62tVlxyXnnFO7dOnI6Gn+8ZyWlhYr8YuLiuvn5Q6juH6WIh6PHz5y5JWipaa6srKS45GTg6cx2sGDB+KDcetlV65cqQ/3iuuvGWLP79j+B/dY58jOLVt2LliQU7fh5o0Z1TIdHUeP9XQ7Oa9ftmzhwoWnbUzLvr39/f1G9LVrG8MPlcR1YXYwsWC8t68vIOevBrVLa/Ny88fGRxvq6/XJdR+z+fccjx8/PqVkRfO8Nx0cGmxv71hWVxf+QNjAVA2zePHirCGcLfqszEi6PvsoKixauXJFjn739wxD/j070qsWQro+p1C6ftNN6+UG6foZQuvhtsDvRshgQTWMIK4Lgrg+V6B/RCNkf2+al5c3NjZ2pK1jwRz53WqzWcyTrs8YlYsr5hZ18vPysFnM+/+Hnpue1dBzU+m6IIjrgiCuC+K6IIjrgiCuC4K4LgjiuiCI64IgrguCuC4I4rogiOuCuC4I4rogiOuCIK4LgrguCOK6IIjrgiCuC4K4LgjiuiCuC4K4LgjiuiCI6xkiJydnweQ/gpvQMqRcntwpF2XLXyG2idi6zy+u23/xTCROie6pYH+W9WQ8ngV0Hx8fZyJu3WdBW2fxb5eCWCymP50+zzJVbkVFxXzkOhgYGBgZGZmYkLRnP8vz8/NLSkpmrWaeda4LQvbX64IgrguCuC4I4rogiOuCIK4L4rogiOuCIK4LgrguCOK6IIjrgiCuC4K4LgjiuiCI64K4LgjiuiCI64Iw97g+PDwcOHOs+9gjj+5IevGRI4f58s/85je/TnPL5//wXPoLwEsv7Q/bYOjv72MEN5Q7Bt+8/+u8mvnkf/DD74VPhmfKmaf/93dJR+C8b0DYpMzvG5gjN01qWyq3JF2IMwrWiC87/sVD/5XGMPzpG8ZxKi5l7iVuF2YRw6YxIz+pyx56+Oc33vi+aCTy3HPNdvJE7MT+/fsKo4XusquueqMdtLYe4vuyZfXuJWbuXg3jmWeeXvm6Venn+Z3vfuu9773phReed2cuueTS1avW9PX3DScSjHDhX63jZF9vr8+DwcHB0tKypDMyIw1l5eX29hdffCGJExOJ9vY2/0xZaVlT08M11TX+HA1PPPH41Ve/2W7R2dV56Rsu801KhaT39fHt73wrHo/fdtsnz6061z/f1PTQW99yDWb41Dn33Opjx7o42PP7Z93JSDTq3gtp8ExRUVHSe/X09Fxx+V+zXjiQ8dMbtmnTdTYslPqPLQ9+6IMfsYCHGxe9/mL/SmfApHY8suPyy65wL2Hn0NBQeI3CXgqcLCsrc+sbiUT+748vQct3XfduR3QWjvMz4DquXLVq9f33f+PTt9/R0HCeM72t7Yj7cabwQ5A5LFq0OKm0r1u3nsmgFjAbznGZeRDvwCFW9LFfPsJiJ73F7t27uOAf7vpM4Py/fvnfT89mxNWFekNDw67f7qydChgXKpPqe6xrzeo1HLfs2+sLQUDpCc70ouU4ZGvGElx80SWbNz9w660f5Lz5ypcP/MB3GHzo0MHP3X2vRfKJE8dNemAAxx/4+w+76y+99HJiNal5LkII6YBvkby6umU+icv+TLUd/7N9w4YrsXMqQh7GP2aSi5/KykoMsLkTjeZJ+MNb9ux5trFxrSOA+dN/e2Cavt6Z5xkWPtTW1u3atbMQRAuHEkNE1DXXXMuwboGm5zq45m3XNq5ZC+2e+t1uEznc2t3d7e7NXcMilwlYBr4vqliU5pq9LS+ef/4FTIbLevt6U13vaE0aufPOz+LBL9z3L4Q1YhCwjR8DZxzVfM6x0l//xtfc4AjG7qd+i+bxo0tE2I+cmCtZv/POW25K09z8+9Wr1+BoXg0kkIb6hvKy8kQiEY1GXbQ7Vtl5xyFWkaE+9cnbmQhEN7qH5w6NUNbvff/b73//B/r6+kyDzLccmzD5fjh6tAPtSOVw7DSlDHiJVIDnwwttVSj+wYatW3+yadM7SWimaAQkJ3HjlRs2Wg5HsMx75hnmW1xcXLu01oayk3jJj0y3BOGTrjRgWGx761veZgTAGBN4f4Ey4rqrSSC9SzEQPdW909f6viYhWsRJmgoHscRlaIkVA2lKAgTbCR6UxeOWv3D0tFpuVHOco/z46U9/zOx4o5spB3gNRXz66acsxVPUQSwX8EQC6uXyb6oAJhgikShWmUj77iWD/fwXP7vzjrsch7Zt20rpYhPhYt7y+OOPOWb4QFkRXRbVCaSv62gTB46maxvP7+rq9BXHLnavZq5W+AEjWUSO97+0DxsgOouOza52vf5d76E0sOtZSj9adu56kqrPYsOnOz50QhOWs3CK9of1a2ZbvoxqGHdLooS8EKhcfRV0abe9o/0vfDFVO4bF1YBoXXvtO9K40pUNM8LNN93y6yd/xTKYSZCms/MoTFp34XrqovCYlkz9NoM8G4525vilL3/xhhtu5Ee4whpToVrAcwtmalzHuVbyhmPbFZfMmrLQL8GxlpLXBjeN2LFjO8WAXzSjXu/7m5vD9R53R7k//KGPWX1iPvd1HSr7NpA6/Przueebr3vn9f4CcXcbxAcBw5jhoplZ7N/XYnrMF1Qjzu12jOM8FgaMYkyr+sLeDigURE+jWYHA8KOCoiAjrtstzbmIOioLUqn+yxMYQkJaLY/8OUmdg1KGuQ75cCgsTKrWLAZ+fOyXj1IYZM5yVAF9/dhHP87giJUtDIK9YsXrkBz/Sov+VOprrHVrbHspkO9vb77FJIpFra6uga8sJMe8ZD5ldZk+wZbeTt7CrMu81png8alPPFC6bPnxgxdccKHV1vjQ784DSZxK/Z/u+UeOk9brSd/1/Qe+SyxxQDlKLW7dKr5ixWn6w3LIZZN09zKA0zjjOnPHYALSxRWzYFJ4yaYcGJDCmvgMpLjCwiK/NUq/oeduhK8cwfyomIGuh1XWZWq/ufQDjkYEtcN3Rneq7Ysuupi87+cpl7/gh+vhwuQj11OKpFrgQKmz7WdbsYQBIbptXEDKd7x90z9/8fNoofMUJQR3IRJQbtezm1OIycCY2/+7ifME5OLFlXSHZFsU0Rc2zDt48AAlOMeUpMyI1f3sXXenav8DqZkpJ83OlqBtEH/DJ5UrCC27+PP33WMy4et6qi2Eqqoqq9lYLNet2qYQzAsXqKRxSu00BSerbBfgajTb/MlQ0J06fvWqNQEBxv+YTYVDMDinhSs0azQZjYNUHT8ttb+39kohlyLOp+e6CV5gi9DfMrPcx9pYvFKO0yN++vY7IB/U8XcApzb+WnnJnWThA8XcZEZ+w2WZcN36RTpxfMGAlLwsjPXTvsucp57d8wxVBCY9+KPNmIqX6XpN5HwsWrQI15MriBZqDKhsxmA5RDEhpFTlLgSYZbykhabjNPLj64IJIQ4kd5kZqXoeXkLX0bxUGRxppN1kCpgR0PVw7rWdNALYXkWtXbeaKuOnh4WT3QJrJ7vb3gVQ3H6E7p+47VMBAXZ0RJI2bLiSxhoPQE3EzvTIzZ2XnAjaeaSKtZg2eabH9FwnQ6XZaqQ7sTbF9g2am/fgfUynfv3VE4/7OvqT/9xC15x0/zt9iYIU+RHsGj6Tk1QPLxAGhNz4Pbkn2LL33dffYNzCZtIrhKNacJshNiZlm7WkAakjkGxj2zfAuB4oNMP7g3604wS8xK03bryaFb3l725N6hCojIIgbMaeMHDv7t27CgsLmUJglyl8a27HRDAsaY+LZFCwJd24SLP90LJvL77CLYyMutMAuNDlR3/bO9VGn8kQ8ekndnMR07FNHvxA3YhOcZ6ldNIQSEHpn+dkxHV7WLh//75AxebjySefYNncj7t27bTnC6RIehQn22kYkAq2e0X5TvllNWLmDwVxpe0g4QV4fODAHwkz245EVCZbwPoGSl4KHlc6n9FHjEyE1pm+3NWpcCsaiZL9Ak2twe3MkFsgYlhrzL0ckCfdhgHFpNvWcLvRk/36VNuNK5BY15suWbIUaee7Vf8z4jpiQWvkMjz2kzTIV1AQAcZaxnf9W5r1DRSQiCNFAfnTYtLUk2qHktg5JGn5l6omzIjrZH9Yy13XXbg+vBhuXCZGNjQ3sZybNz9gzxfMULo6miGUiVxpW+AzpQj8YJ5XXLHBtpkZ2bYC07/Ld3Fb25G1jecj6iynazwoRaj1mZSvqamqhVcPJKOp6eHGxrW2a+7OE3UUQlhiu/jQN1zSkNB6e2NhInIl+ZPKqvVwqxO5pIJCE7l+/etdVWPXsGqor/Wd5KsMi8ZXtjt3bKfmDlSeUMVaMtoYNN6Uzi+sCcLw83JssJD+yle+hOWErmtSOUnucp3um65+s61XmMTpd2ym4Xp7exusRRr9IsEeVrkWxJ4S2+4SZln8uf14V5ZxHtJ/9CMfR8/CwReodP3mmlsTS5YZqZ6bmh664T03utrUOnf0A4q4Wov0Z2w2bTM/Ysa999wX2LDbtm0ro2E2RRfJlOxB02k3be9oN977G6yQym1cBB5zTrsbDavIdUl3YFk8i14mZURnFu4B7dRu5qN42H3GATMiUw+k0A5mx0vQjrnAe2hkbZm/ZKvXNDICBArU2S4eiEN7WucDNw4NDZpsW4EaEGCCx/amyBiUi64pghu2JTVtv/5ygxE7cejQQSvkPnf3vUZl2+km/uPxOIzCzwyFD7/6tX9DfNM0OdMi+f8asN7IaOE2j5yJeNBWGk/ZZgvX2wOXpBOb6RNW3EeXSUX4xo1v8ifmtpOQIrzMHVl45MRdE5b8pLeGKIi9rZYxwz1Vtni2CaZJINydm1qo+OEd8FgqWJmbqtphXoEnr25LjuIVs63BdVsx9lGc8GPRyNSeurMwLH7uKW+gFTEn+G7J5GMU/qc8/KEoF+2M+ZMb+e9yXPIjjT7ELVDgdknbmzT+nJ7rgpB90OfXBXFdEMR1QRDXBUFcFwRxXRDEdUF4LfEnAQYA+LOKDxiFWhsAAAAASUVORK5CYII="
},
bZ1Z
:
function
(
e
,
t
){},
lFAe
:
function
(
e
,
t
,
i
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
s
=
i
(
"//Fk"
),
a
=
i
.
n
(
s
),
n
=
i
(
"gBtx"
),
l
=
i
.
n
(
n
),
d
=
i
(
"mvHQ"
),
o
=
i
.
n
(
d
),
c
=
i
(
"DAYN"
),
r
=
i
.
n
(
c
),
f
=
i
(
"Mk6G"
),
u
=
{
name
:
"addinput"
,
props
:{
childItem
:
String
,
childIndex
:
Number
,
titleName
:
String
,
inputValue
:
String
,
maxLength
:
Number
,
disFlag
:
Number
,
child
:
String
},
data
:
function
(){
return
{
inputNum
:
0
,
limitLength
:
10
,
itemValue
:
""
,
disableInput
:
!
1
,
c3Flag
:
""
,
c3Index
:
""
,
titleFlag
:
""
,
childFlag
:
""
}},
methods
:{
inputFocus
:
function
(
e
){
console
.
log
(
e
)},
toInput
:
function
(
e
){
var
t
=
""
,
i
=
{};
return
t
=
f
.
a
.
getByteVal
(
e
.
target
.
value
,
this
.
limitLength
),
this
.
itemValue
=
t
.
trim
(),
this
.
inputNum
=
f
.
a
.
getZhLen
(
this
.
itemValue
),
this
.
childFlag
?(
i
.
child
=
this
.
childFlag
,
i
.
value
=
this
.
itemValue
,
"title"
==
this
.
titleFlag
&&
(
i
.
title
=
this
.
titleFlag
),
"k303"
==
this
.
c3Flag
&&
(
i
.
c3Index
=
this
.
c3Index
,
i
.
flag
=
this
.
c3Flag
),
void
this
.
$emit
(
"itemInput"
,
i
)):
"title"
==
this
.
titleFlag
?(
i
.
value
=
this
.
itemValue
,
i
.
title
=
this
.
titleFlag
,
void
this
.
$emit
(
"itemInput"
,
i
)):
"k303"
==
this
.
c3Flag
?(
i
.
value
=
this
.
itemValue
,
i
.
flag
=
this
.
c3Flag
,
i
.
c3Index
=
this
.
c3Index
,
void
this
.
$emit
(
"itemInput"
,
i
)):
void
this
.
$emit
(
"itemInput"
,
this
.
itemValue
)}},
watch
:{
maxLength
:
function
(
e
,
t
){
this
.
limitLength
=
e
},
inputValue
:
function
(
e
,
t
){
this
.
itemValue
=
e
,
this
.
inputNum
=
f
.
a
.
getZhLen
(
this
.
itemValue
)},
disFlag
:
function
(
e
,
t
){
this
.
disableInput
=
e
},
childItem
:
function
(
e
,
t
){
this
.
c3Flag
=
e
},
childIndex
:
function
(
e
,
t
){
this
.
c3Index
=
e
},
titleName
:
function
(
e
,
t
){
this
.
titleFlag
=
e
},
child
:
function
(
e
,
t
){
this
.
childFlag
=
e
}},
mounted
:
function
(){
console
.
log
(
this
.
childIndex
),
this
.
limitLength
=
this
.
maxLength
,
this
.
itemValue
=
this
.
inputValue
||
""
,
this
.
inputNum
=
f
.
a
.
getZhLen
(
this
.
inputValue
),
this
.
disableInput
=
this
.
disFlag
||
0
,
this
.
c3Flag
=
this
.
childItem
||
""
,
this
.
c3Index
=
0
==
this
.
childIndex
?
0
:
this
.
childIndex
,
this
.
titleFlag
=
this
.
titleName
,
this
.
childFlag
=
this
.
child
}},
m
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"div"
,{
staticClass
:
"input-line-cell"
},[
i
(
"el-input"
,{
staticClass
:
"w-340"
,
attrs
:{
placeholder
:
""
,
disabled
:
0
!=
e
.
disableInput
},
on
:{
focus
:
function
(
t
){
e
.
inputFocus
(
e
.
c3Index
)}},
nativeOn
:{
keyup
:
function
(
t
){
return
i
=
t
,
e
.
toInput
(
i
);
var
i
}},
model
:{
value
:
e
.
itemValue
,
callback
:
function
(
t
){
e
.
itemValue
=
t
},
expression
:
"itemValue"
}}),
e
.
_v
(
" "
),
i
(
"span"
,{
staticClass
:
"tip"
},[
i
(
"span"
,{
staticClass
:
"len_span"
},[
e
.
_v
(
e
.
_s
(
e
.
inputNum
))]),
e
.
_v
(
"/"
+
e
.
_s
(
e
.
limitLength
))])],
1
)},
staticRenderFns
:[]};
var
p
=
i
(
"VU/8"
)(
u
,
m
,
!
1
,
function
(
e
){
i
(
"BDQR"
)},
"data-v-25bcaf42"
,
null
).
exports
,
g
=
i
(
"l46T"
),
h
=
i
(
"MJLE"
),
v
=
i
.
n
(
h
),
C
=
[{
parentCode
:
"defineInfo"
,
fieldCode
:
"-1"
,
fieldName
:
"单行输入框"
,
systemFlag
:
!
1
,
fieldEdited
:
1
,
fieldType
:
"0"
,
fixed
:
!
1
,
fieldDescription
:
"请输入"
,
fieldOperations
:{
ruleContent
:[],
fieldContent
:[]},
isMust
:
!
1
,
staffRecordsIds
:{
staffVisible
:
"1"
,
staffModify
:
"1"
}},{
parentCode
:
"defineInfo"
,
fieldCode
:
"-1"
,
fieldName
:
"多行输入框"
,
systemFlag
:
!
1
,
fieldEdited
:
1
,
fieldType
:
"1"
,
fixed
:
!
1
,
fieldDescription
:
"请输入"
,
fieldOperations
:{
ruleContent
:[],
fieldContent
:[]},
isMust
:
!
1
,
staffRecordsIds
:{
staffVisible
:
"1"
,
staffModify
:
"1"
}},{
parentCode
:
"defineInfo"
,
fieldCode
:
"-1"
,
fieldName
:
"单选框"
,
systemFlag
:
!
1
,
fieldEdited
:
1
,
fieldType
:
"2"
,
fixed
:
!
1
,
fieldDescription
:
"请选择"
,
fieldOperations
:{
ruleContent
:[],
fieldContent
:[{
type
:
"radio"
,
name
:
"选项1"
},{
type
:
"radio"
,
name
:
"选项2"
},{
type
:
"radio"
,
name
:
"选项3"
}]},
isMust
:
!
1
,
staffRecordsIds
:{
staffVisible
:
"1"
,
staffModify
:
"1"
}},{
parentCode
:
"defineInfo"
,
fieldCode
:
"-1"
,
fieldName
:
"多选框"
,
systemFlag
:
!
1
,
fieldEdited
:
1
,
fieldType
:
"3"
,
fixed
:
!
1
,
fieldDescription
:
"请选择"
,
fieldOperations
:{
ruleContent
:[],
fieldContent
:[{
type
:
"checkbox"
,
name
:
"选项1"
},{
type
:
"checkbox"
,
name
:
"选项2"
},{
type
:
"checkbox"
,
name
:
"选项3"
}]},
isMust
:
!
1
,
staffRecordsIds
:{
staffVisible
:
"1"
,
staffModify
:
"1"
}},{
parentCode
:
"defineInfo"
,
fieldCode
:
"-1"
,
fieldName
:
"日期"
,
systemFlag
:
!
1
,
fieldEdited
:
1
,
fieldType
:
"4"
,
fixed
:
!
1
,
fieldDescription
:
"请选择"
,
fieldOperations
:{
typeValue
:
"yyyy-MM-dd"
,
ruleContent
:[{
type
:
"radio"
,
name
:
"年-月-日"
,
key
:
"yyyy-MM-dd"
,
isEdit
:
1
},{
type
:
"radio"
,
name
:
"年-月"
,
key
:
"yyyy-MM"
,
isEdit
:
1
}],
fieldContent
:[]},
isMust
:
!
1
,
staffRecordsIds
:{
staffVisible
:
"1"
,
staffModify
:
"1"
}},{
parentCode
:
"defineInfo"
,
fieldCode
:
"-1"
,
fieldName
:
"日期区间"
,
systemFlag
:
!
1
,
fieldEdited
:
1
,
fieldType
:
"5"
,
fixed
:
!
1
,
fieldOperations
:{
startName
:
"开始时间"
,
endName
:
"结束时间"
,
startDescription
:
"请选择开始时间"
,
endDescription
:
"请选择结束时间"
,
typeValue
:
"yyyy-MM-dd"
,
ruleContent
:[{
type
:
"radio"
,
name
:
"年-月-日"
,
key
:
"yyyy-MM-dd"
,
isEdit
:
1
},{
type
:
"radio"
,
name
:
"年-月"
,
key
:
"yyyy-MM"
,
isEdit
:
1
}],
fieldContent
:[]},
isMust
:
!
1
,
staffRecordsIds
:{
staffVisible
:
"1"
,
staffModify
:
"1"
}},{
parentCode
:
"defineInfo"
,
fieldCode
:
"-1"
,
fieldName
:
"数字输入框"
,
systemFlag
:
!
1
,
fieldType
:
"6"
,
fieldEdited
:
1
,
fixed
:
!
1
,
fieldDescription
:
"请输入"
,
fieldOperations
:{
ruleContent
:[],
fieldContent
:[],
unit
:
"元"
},
isMust
:
!
1
,
staffRecordsIds
:{
staffVisible
:
"1"
,
staffModify
:
"1"
}},{
parentCode
:
"defineInfo"
,
fieldCode
:
"-1"
,
fieldName
:
"图片"
,
systemFlag
:
!
1
,
fieldType
:
"7"
,
fieldEdited
:
1
,
fixed
:
!
1
,
fieldDescription
:
"最多上传9张图片"
,
fieldOperations
:{
ruleContent
:[],
fieldContent
:[]},
isMust
:
!
1
,
staffRecordsIds
:{
staffVisible
:
"1"
,
staffModify
:
"1"
}}],
I
=
function
(){
return
C
},
y
=
i
(
"3E4D"
),
x
=
i
(
"Ch4/"
),
b
=
i
(
"P9l9"
),
N
=
{
name
:
"staffRecordsTemplate"
,
data
:
function
(){
return
{
activeName
:
"first"
,
rightName
:
"first"
,
dialogVisible
:
!
1
,
bodyHeight
:(
document
.
documentElement
.
clientHeight
||
document
.
body
.
clientHeight
)
+
"px"
,
isDragging
:
!
1
,
delayedDragging
:
!
1
,
leftOption
:{
group
:{
name
:
"people"
,
pull
:
"clone"
,
put
:
!
1
},
sort
:
!
1
,
disabled
:
!
1
},
leftDefineOption
:{
group
:{
name
:
"people"
,
pull
:
"clone"
,
put
:
!
1
},
sort
:
!
1
,
disabled
:
!
1
},
selectKey
:
""
,
baseInfo
:[],
jobInfo
:[],
selfInfo
:[],
eduInfo
:[],
contractInfo
:[],
contactInfo
:[],
personalInfo
:[],
defineInfo
:
I
(),
currentIndex
:
0
,
currentChildKey
:
null
,
currentChildIndex
:
null
,
childIndex
:
0
,
tempaletDataList
:[{
parentCode
:
"0"
,
fieldTemplateId
:
""
,
parentFieldTemplateId
:
"0"
,
minCount
:
10
,
maxCount
:
20
,
fieldCode
:
"baseInfo"
,
fieldName
:
"基本信息"
,
fieldEdited
:
!
1
,
fieldOperations
:{
ruleContent
:[],
fieldContent
:[]},
isMust
:
!
1
,
fieldDescription
:
""
,
children
:[],
fieldType
:
""
,
staffRecordsIds
:{},
status
:
""
},{
parentCode
:
"0"
,
fieldTemplateId
:
""
,
parentFieldTemplateId
:
"0"
,
minCount
:
10
,
maxCount
:
20
,
fieldCode
:
"jobInfo"
,
fieldName
:
"工作信息"
,
fieldEdited
:
!
1
,
isMust
:
!
1
,
fieldDescription
:
""
,
children
:[],
fieldType
:
""
,
staffRecordsIds
:{},
status
:
""
},{
parentCode
:
"0"
,
fieldTemplateId
:
""
,
parentFieldTemplateId
:
"0"
,
minCount
:
10
,
maxCount
:
20
,
fieldCode
:
"selfInfo"
,
fieldName
:
"个人信息"
,
fieldEdited
:
!
1
,
isMust
:
!
1
,
fieldDescription
:
""
,
children
:[],
fieldType
:
""
,
staffRecordsIds
:{},
status
:
""
},{
parentCode
:
"0"
,
fieldTemplateId
:
""
,
parentFieldTemplateId
:
"0"
,
minCount
:
10
,
maxCount
:
20
,
fieldCode
:
"eduInfo"
,
fieldName
:
"学历信息"
,
fieldEdited
:
!
1
,
isMust
:
!
1
,
fieldDescription
:
""
,
children
:[],
fieldType
:
""
,
staffRecordsIds
:{},
status
:
""
},{
parentCode
:
"0"
,
fieldTemplateId
:
""
,
parentFieldTemplateId
:
"0"
,
minCount
:
10
,
maxCount
:
20
,
fieldCode
:
"contractInfo"
,
fieldName
:
"合同信息"
,
fieldEdited
:
!
1
,
isMust
:
!
1
,
fieldDescription
:
""
,
children
:[],
fieldType
:
""
,
staffRecordsIds
:{},
status
:
""
},{
parentCode
:
"0"
,
fieldTemplateId
:
""
,
parentFieldTemplateId
:
"0"
,
minCount
:
10
,
maxCount
:
20
,
fieldCode
:
"contactInfo"
,
fieldName
:
"紧急联系人"
,
fieldEdited
:
!
1
,
isMust
:
!
1
,
fieldDescription
:
""
,
children
:[],
fieldType
:
""
,
staffRecordsIds
:{},
status
:
""
},{
parentCode
:
"0"
,
fieldTemplateId
:
""
,
parentFieldTemplateId
:
"0"
,
minCount
:
10
,
maxCount
:
20
,
fieldCode
:
"personalInfo"
,
fieldName
:
"个人资料"
,
fieldEdited
:
!
1
,
isMust
:
!
1
,
fieldDescription
:
""
,
children
:[],
fieldType
:
""
,
staffRecordsIds
:{},
status
:
""
}],
fieldParent
:{
baseInfo
:{},
jobInfo
:{},
selfInfo
:{},
eduInfo
:{},
contractInfo
:{},
contactInfo
:{},
personalInfo
:{}},
setList
:[],
qrcodeCase
:
""
,
qrcodeNum
:
""
}},
created
:
function
(){},
methods
:{
baseInfoClone
:
function
(){},
clickItem
:
function
(
e
){
this
.
tempaletDataList
.
map
(
function
(
e
){
return
e
.
fieldCode
}).
includes
(
e
.
parentCode
)
||
"defineInfo"
===
e
.
parentCode
||
(
this
.
tempaletDataList
.
push
(
this
.
fieldParent
[
e
.
parentCode
]),
this
.
tempaletDataList
=
JSON
.
parse
(
o
()(
this
.
tempaletDataList
)))},
checkMove
:
function
(
e
){
var
t
=!
0
;
return
"baseInfo"
!=
e
.
draggedContext
.
element
.
parentCode
||
e
.
to
.
className
.
includes
(
"baseInfo"
)
||
(
t
=!
1
),
"jobInfo"
!=
e
.
draggedContext
.
element
.
parentCode
||
e
.
to
.
className
.
includes
(
"jobInfo"
)
||
(
t
=!
1
),
"selfInfo"
!=
e
.
draggedContext
.
element
.
parentCode
||
e
.
to
.
className
.
includes
(
"selfInfo"
)
||
(
t
=!
1
),
"eduInfo"
!=
e
.
draggedContext
.
element
.
parentCode
||
e
.
to
.
className
.
includes
(
"eduInfo"
)
||
(
t
=!
1
),
"contractInfo"
!=
e
.
draggedContext
.
element
.
parentCode
||
e
.
to
.
className
.
includes
(
"contractInfo"
)
||
(
t
=!
1
),
"contactInfo"
!=
e
.
draggedContext
.
element
.
parentCode
||
e
.
to
.
className
.
includes
(
"contactInfo"
)
||
(
t
=!
1
),
"personalInfo"
!=
e
.
draggedContext
.
element
.
parentCode
||
e
.
to
.
className
.
includes
(
"personalInfo"
)
||
(
t
=!
1
),
t
},
onMove
:
function
(
e
){
return
!!
this
.
checkMove
(
e
)
&&!
e
.
draggedContext
.
element
.
fixed
},
onChildMove
:
function
(
e
){
return
-
1
!=
e
.
dragged
.
className
.
indexOf
(
"block-class"
)
&&
e
.
to
.
className
.
indexOf
(
"block-wrap"
),
!
0
},
itemMoveEnd
:
function
(
e
){
var
t
=
this
;
t
.
isDragging
=!
1
,
t
.
selectKey
=
""
,
t
.
selectKey
=
e
.
clone
.
dataset
.
type
,
t
.
tempaletDataList
.
forEach
(
function
(
e
,
i
){
e
.
children
.
forEach
(
function
(
e
,
i
){
var
s
;
e
.
systemFlag
&&
e
.
fieldCode
==
t
.
selectKey
&&
(
s
=
e
.
parentCode
,
t
[
s
].
forEach
(
function
(
e
,
i
){
e
.
fieldCode
==
t
.
selectKey
&&
(
e
.
fixed
=!
0
)}))})}),
t
.
selectKey
=
""
,
t
.
tempaletDataList
=
JSON
.
parse
(
o
()(
t
.
tempaletDataList
)),
t
.
$forceUpdate
()},
cloneDefine
:
function
(
e
){},
selectItem
:
function
(
e
,
t
){
this
.
currentIndex
=
t
,
this
.
currentChildIndex
=
null
},
deleteItem
:
function
(
e
,
t
){
this
.
tempaletDataList
.
splice
(
t
,
1
),
this
.
currentIndex
--
,
this
.
currentIndex
<=
0
&&
(
this
.
currentIndex
=
0
),
this
[
e
].
forEach
(
function
(
e
,
t
){
e
.
fixed
=!
1
})},
addItem
:
function
(){},
addDragItem
:
function
(
e
){
return
!
1
},
selectChildItem
:
function
(
e
,
t
,
i
,
s
){
this
.
currentIndex
=
null
,
this
.
currentChildKey
=
e
,
this
.
childIndex
=
t
,
this
.
currentChildIndex
=
i
},
deleteChildItem
:
function
(
e
,
t
,
i
,
s
,
a
){
this
.
childIndex
=
t
,
this
.
currentIndex
=
null
,
this
.
currentChildKey
=
this
.
tempaletDataList
[
t
].
children
[
i
].
fieldCode
,
this
.
currentChildIndex
--
,
this
.
currentChildIndex
<=
0
&&
(
this
.
currentChildIndex
=
0
),
this
.
tempaletDataList
=
JSON
.
parse
(
o
()(
this
.
tempaletDataList
)),
this
.
tempaletDataList
[
t
].
children
.
splice
(
i
,
1
),
this
[
a
.
parentCode
].
forEach
(
function
(
t
,
i
){
t
.
fieldCode
===
e
&&
(
t
.
fixed
=!
1
)})},
checkedChange
:
function
(
e
,
t
){},
delChildItem
:
function
(
e
,
t
,
i
){
i
.
fieldOperations
.
fieldContent
.
splice
(
t
,
1
)},
addChildItem
:
function
(
e
,
t
,
i
){
if
(
19
!=
t
){
var
s
=
"radio"
;
i
.
systemFlag
||
3
!==
parseInt
(
i
.
fieldType
)
||
(
s
=
"checkbox"
),
i
.
fieldOperations
.
fieldContent
.
push
({
type
:
s
,
name
:
"请输入选项"
});
var
a
=
i
.
fieldOperations
.
fieldContent
.
map
(
function
(
e
){
return
e
.
name
});
this
.
isRepeat
(
a
)
&&
(
i
.
fieldOperations
.
fieldContent
.
splice
(
i
.
fieldOperations
.
fieldContent
.
length
-
1
,
1
),
a
.
splice
(
i
.
fieldOperations
.
fieldContent
.
length
-
1
,
1
),
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"选项不能重复"
}))}
else
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"最多可添加 20 项"
})},
changeRadio
:
function
(
e
,
t
,
i
){},
isRepeat
:
function
(
e
){
var
t
=
{};
for
(
var
i
in
e
){
if
(
t
[
e
[
i
]])
return
!
0
;
t
[
e
[
i
]]
=!
0
}
return
!
1
},
changeRoute
:
function
(
e
){
this
.
$router
.
push
(
e
)},
checkTag
:
function
(
e
){
var
t
=
{
filedFlag
:
!
0
,
filedRepeat
:
!
1
},
i
=
[];
return
e
.
forEach
(
function
(
e
,
s
){
if
(
""
==
e
.
fieldName
)
return
t
.
filedFlag
=!
1
,
t
.
name
=
e
.
fieldName
||
""
,
!
1
;
e
.
children
.
length
&&
e
.
children
.
forEach
(
function
(
e
,
s
){
if
(
e
.
systemFlag
&&
""
==
e
.
fieldName
)
return
t
.
filedFlag
=!
1
,
t
.
name
=
e
.
fieldName
||
""
,
!
1
;
i
.
push
(
e
.
fieldName
)})}),
this
.
isRepeat
(
i
)
&&
(
t
.
filedRepeat
=!
0
),
t
},
getUuid
:
function
(){
return
"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx"
.
replace
(
/
[
xy
]
/g
,
function
(
e
){
var
t
=
16
*
Math
.
random
()
|
0
;
return
(
"x"
==
e
?
t
:
3
&
t
|
8
).
toString
(
16
)})},
saveAndBack
:
function
(
e
){
var
t
=
JSON
.
parse
(
o
()(
this
.
tempaletDataList
)),
i
=
this
.
checkTag
(
t
),
s
=
[];
if
(
i
.
filedFlag
)
if
(
i
.
filedRepeat
)
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"字段标题不能重复"
});
else
{
if
(
t
.
forEach
(
function
(
e
,
t
){
e
.
sort
=
t
,
e
.
fixed
=!
0
===
e
.
fixed
?
1
:
0
,
e
.
isMust
=!
0
===
e
.
isMust
?
1
:
0
,
e
.
systemFlag
=!
0
===
e
.
systemFlag
?
1
:
0
,
e
.
parentFieldTemplateId
=
e
.
parentFieldTemplateId
?
e
.
parentFieldTemplateId
:
-
1
,
e
.
fieldTemplateId
=
e
.
fieldTemplateId
?
e
.
fieldTemplateId
:
-
1
,
e
.
children
.
forEach
(
function
(
t
,
i
){
s
.
push
(
t
),
t
.
sort
=
i
,
t
.
fixed
=!
0
===
t
.
fixed
?
1
:
0
,
t
.
isMust
=!
0
===
t
.
isMust
?
1
:
0
,
t
.
systemFlag
=!
0
===
t
.
systemFlag
?
1
:
0
,
e
.
systemFlag
||
(
t
.
fieldEdited
=
1
),
2
!==
parseInt
(
t
.
fieldType
)
&&
3
!==
parseInt
(
t
.
fieldType
)
||
t
.
fieldOperations
.
fieldContent
.
forEach
(
function
(
e
,
i
){
e
.
key
=
String
(
e
.
key
)?
String
(
e
.
key
):
""
,
t
.
systemFlag
||
e
.
hasOwnProperty
(
"key"
)
&&
""
!=
e
.
key
&&
"undefined"
!=
e
.
key
||
(
e
.
key
=
e
.
name
)}),
t
.
systemFlag
||
(
t
.
parentCode
=
e
.
fieldCode
),
t
.
fieldTemplateId
=
t
.
fieldTemplateId
?
t
.
fieldTemplateId
:
-
1
,
t
.
parentFieldTemplateId
=
e
.
fieldTemplateId
})}),
s
.
length
>
40
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"最多设置 40 个字段"
}),
!
1
;
"save"
===
e
?
this
.
saveAllData
(
t
):
this
.
postPreview
(
t
)}
else
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
i
.
name
+
"字段标题不能为空"
})},
saveAllData
:
function
(
e
){
var
t
=
this
,
i
=
{
templateContent
:
o
()(
e
)};
Object
(
b
.
c
)(
"/haoban-manage-web/record/record-template-save.json"
,
i
).
then
(
function
(
e
){
var
i
=
e
.
data
;
if
(
1
==
i
.
errorCode
)
return
y
.
a
.
showmsg
(
"保存成功"
,
"success"
),
void
t
.
changeRoute
(
"/fileSet"
);
x
.
a
.
errorMsg
(
i
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
postPreview
:
function
(
e
){
var
t
=
this
,
i
=
{
templateContent
:
o
()(
e
)};
Object
(
b
.
c
)(
"/haoban-manage-web/record/record-template-preview.json"
,
i
).
then
(
function
(
e
){
var
i
=
e
.
data
;
if
(
1
==
i
.
errorCode
){
var
s
=
window
.
location
.
origin
+
"/office-mobile/#/staffRecordsTemplate?enterpriseId="
+
i
.
result
;
return
t
.
qrcode
(
s
),
void
(
t
.
dialogVisible
=!
0
)}
x
.
a
.
errorMsg
(
i
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
qrcode
:
function
(
e
){
this
.
qrcodeCase
&&
(
document
.
getElementById
(
"qrcode"
).
innerHTML
=
""
,
this
.
qrcodeCase
.
clear
());
var
t
=
{
type
:
"record"
,
data
:
e
};
this
.
qrcodeCase
=
new
v
.
a
(
"qrcode"
,{
width
:
210
,
height
:
210
,
text
:
o
()(
t
)})},
closeDialog
:
function
(){
this
.
dialogVisible
=!
1
},
getAllFields
:
function
(){
var
e
=
this
;
Object
(
b
.
c
)(
"/haoban-manage-web/record/employee-find-system-template.json"
,{}).
then
(
function
(
t
){
var
i
=
t
.
data
;
1
!=
i
.
errorCode
?
x
.
a
.
errorMsg
(
i
):
e
.
handleAllFields
(
i
.
result
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
handleAllFields
:
function
(
e
){
var
t
=
this
;
e
.
forEach
(
function
(
e
,
i
){
t
.
hasOwnProperty
(
e
.
parentCode
)
&&
(
e
.
fixed
=
1
===
parseInt
(
e
.
fixed
),
e
.
isMust
=
1
===
parseInt
(
e
.
isMust
),
e
.
systemFlag
=!
0
,
e
.
fieldOperations
=
e
.
fieldOperations
?
JSON
.
parse
(
e
.
fieldOperations
):{},
e
.
staffRecordsIds
=
e
.
staffRecordsIds
?
JSON
.
parse
(
e
.
staffRecordsIds
):[],
t
[
e
.
parentCode
].
push
(
e
)),
t
.
fieldParent
.
hasOwnProperty
(
e
.
fieldCode
)
&&
(
e
.
children
=
[],
t
.
fieldParent
[
e
.
fieldCode
]
=
e
,
e
.
systemFlag
=!
0
)})},
getInfo
:
function
(){
var
e
=
this
;
Object
(
b
.
c
)(
"/haoban-manage-web/record/employee-find-template.json"
,{}).
then
(
function
(
t
){
var
i
=
t
.
data
;
if
(
1
==
i
.
errorCode
)
return
e
.
setList
=
[],
void
(
i
.
result
&&
i
.
result
.
length
&&
e
.
handleGetInfo
(
i
.
result
));
x
.
a
.
errorMsg
(
i
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
treeData
:
function
(
e
){
var
t
=
e
.
filter
(
function
(
t
){
var
i
=
e
.
filter
(
function
(
e
){
return
t
.
fieldCode
==
e
.
parentCode
});
return
i
.
length
>
0
&&
(
t
.
children
=
i
),
0
==
t
.
parentCode
});
return
t
.
sort
(
function
(
e
,
t
){
return
e
.
sort
-
t
.
sort
}),
t
.
forEach
(
function
(
e
,
t
){
e
.
children
.
sort
(
function
(
e
,
t
){
return
e
.
sort
-
t
.
sort
})}),
t
},
handleGetInfo
:
function
(
e
){
var
t
=
this
,
i
=
JSON
.
parse
(
o
()(
e
));
t
.
setParent
=
[],
i
.
forEach
(
function
(
e
,
i
){
e
.
fixed
=
1
===
l
()(
e
.
fixed
),
e
.
isMust
=
1
===
l
()(
e
.
isMust
),
e
.
systemFlag
=
1
===
l
()(
e
.
systemFlag
),
e
.
fieldOperations
=
e
.
fieldOperations
?
JSON
.
parse
(
e
.
fieldOperations
):{},
e
.
staffRecordsIds
=
e
.
staffRecordsIds
?
JSON
.
parse
(
e
.
staffRecordsIds
):[],
e
.
systemFlag
&&
0
==
e
.
parentCode
&&
t
.
setParent
.
push
(
e
.
fieldCode
),
e
.
systemFlag
&&
0
!=
e
.
parentCode
&&
t
.
setList
.
push
(
e
.
fieldCode
)}),
t
.
tempaletDataList
=
t
.
treeData
(
i
),
setTimeout
(
function
(){
t
.
setFixed
()},
100
)},
setFixed
:
function
(){
var
e
=
this
;
e
.
setParent
.
forEach
(
function
(
t
,
i
){
e
[
t
].
forEach
(
function
(
t
,
i
){
e
.
setList
.
includes
(
t
.
fieldCode
)
&&
(
t
.
fixed
=!
0
)})})}},
watch
:{
isDragging
:
function
(
e
){
var
t
=
this
;
e
?
t
.
delayedDragging
=!
0
:
t
.
$nextTick
(
function
(){
t
.
delayedDragging
=!
1
})}},
components
:{
draggable
:
r
.
a
,
AddInput
:
p
,
limitInput
:
g
.
a
},
mounted
:
function
(){
a
.
a
.
all
([
this
.
getAllFields
(),
this
.
getInfo
()]),
document
.
body
.
ondrop
=
function
(
e
){
e
.
preventDefault
(),
e
.
stopPropagation
()}}},
w
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
s
=
e
.
_self
.
_c
||
t
;
return
s
(
"div"
,{
staticClass
:
"template-wrap"
,
style
:{
height
:
e
.
bodyHeight
}},[
s
(
"div"
,{
staticClass
:
"template-contain"
},[
s
(
"div"
,{
staticClass
:
"template-head"
},[
e
.
_m
(
0
),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"template-btns flex-1 flex-r"
},[
s
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
function
(
t
){
e
.
saveAndBack
(
"preview"
)}}},[
e
.
_v
(
"预 览"
)]),
e
.
_v
(
" "
),
s
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
function
(
t
){
e
.
changeRoute
(
"/fileSet"
)}}},[
e
.
_v
(
"返 回"
)]),
e
.
_v
(
" "
),
s
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
saveAndBack
(
"save"
)}}},[
e
.
_v
(
"保存并启用"
)])],
1
)]),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"template-body"
},[
s
(
"div"
,{
staticClass
:
"template-cell template-cell-l"
},[
s
(
"el-tabs"
,{
model
:{
value
:
e
.
activeName
,
callback
:
function
(
t
){
e
.
activeName
=
t
},
expression
:
"activeName"
}},[
s
(
"el-tab-pane"
,{
attrs
:{
label
:
"系统字段"
,
name
:
"first"
}},[
s
(
"div"
,{
staticClass
:
"filed-item-title"
},[
e
.
_v
(
"基本信息"
)]),
e
.
_v
(
" "
),
s
(
"ul"
,[
s
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list1"
,
list
:
e
.
baseInfo
,
options
:
e
.
leftOption
,
move
:
e
.
onMove
},
on
:{
clone
:
e
.
baseInfoClone
,
start
:
function
(
t
){
e
.
isDragging
=!
0
},
end
:
e
.
itemMoveEnd
}},
e
.
_l
(
e
.
baseInfo
,
function
(
t
,
i
){
return
s
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
t
.
fixed
?
"fixed-item"
:
""
],
attrs
:{
"data-type"
:
t
.
fieldCode
,
"aria-hidden"
:
"true"
},
on
:{
mousedown
:
function
(
i
){
e
.
clickItem
(
t
)}}},[
s
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
fieldName
))])])}))],
1
),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"filed-item-title"
},[
e
.
_v
(
"工作信息"
)]),
e
.
_v
(
" "
),
s
(
"ul"
,[
s
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list2"
,
list
:
e
.
jobInfo
,
options
:
e
.
leftOption
,
move
:
e
.
onMove
},
on
:{
start
:
function
(
t
){
e
.
isDragging
=!
0
},
end
:
e
.
itemMoveEnd
}},
e
.
_l
(
e
.
jobInfo
,
function
(
t
,
i
){
return
s
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
t
.
fixed
?
"fixed-item"
:
""
],
attrs
:{
"data-type"
:
t
.
fieldCode
},
on
:{
mousedown
:
function
(
i
){
e
.
clickItem
(
t
)}}},[
s
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
fieldName
))])])}))],
1
),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"filed-item-title"
},[
e
.
_v
(
"个人信息"
)]),
e
.
_v
(
" "
),
s
(
"ul"
,[
s
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list3"
,
list
:
e
.
selfInfo
,
options
:
e
.
leftOption
,
move
:
e
.
onMove
},
on
:{
start
:
function
(
t
){
e
.
isDragging
=!
0
},
end
:
e
.
itemMoveEnd
}},
e
.
_l
(
e
.
selfInfo
,
function
(
t
,
i
){
return
s
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
t
.
fixed
?
"fixed-item"
:
""
],
attrs
:{
"data-type"
:
t
.
fieldCode
},
on
:{
mousedown
:
function
(
i
){
e
.
clickItem
(
t
)}}},[
s
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
fieldName
))])])}))],
1
),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"filed-item-title"
},[
e
.
_v
(
"学历信息"
)]),
e
.
_v
(
" "
),
s
(
"ul"
,[
s
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list4"
,
list
:
e
.
eduInfo
,
options
:
e
.
leftOption
,
move
:
e
.
onMove
},
on
:{
start
:
function
(
t
){
e
.
isDragging
=!
0
},
end
:
e
.
itemMoveEnd
}},
e
.
_l
(
e
.
eduInfo
,
function
(
t
,
i
){
return
s
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
t
.
fixed
?
"fixed-item"
:
""
],
attrs
:{
"data-type"
:
t
.
fieldCode
},
on
:{
mousedown
:
function
(
i
){
e
.
clickItem
(
t
)}}},[
s
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
fieldName
))])])}))],
1
),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"filed-item-title"
},[
e
.
_v
(
"合同信息"
)]),
e
.
_v
(
" "
),
s
(
"ul"
,[
s
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list5"
,
list
:
e
.
contractInfo
,
options
:
e
.
leftOption
,
move
:
e
.
onMove
},
on
:{
start
:
function
(
t
){
e
.
isDragging
=!
0
},
end
:
e
.
itemMoveEnd
}},
e
.
_l
(
e
.
contractInfo
,
function
(
t
,
i
){
return
s
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
t
.
fixed
?
"fixed-item"
:
""
],
attrs
:{
"data-type"
:
t
.
fieldCode
},
on
:{
mousedown
:
function
(
i
){
e
.
clickItem
(
t
)}}},[
s
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
fieldName
))])])}))],
1
),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"filed-item-title"
},[
e
.
_v
(
"紧急联系人"
)]),
e
.
_v
(
" "
),
s
(
"ul"
,[
s
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list5"
,
list
:
e
.
contactInfo
,
options
:
e
.
leftOption
,
move
:
e
.
onMove
},
on
:{
start
:
function
(
t
){
e
.
isDragging
=!
0
},
end
:
e
.
itemMoveEnd
}},
e
.
_l
(
e
.
contactInfo
,
function
(
t
,
i
){
return
s
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
t
.
fixed
?
"fixed-item"
:
""
],
attrs
:{
"data-type"
:
t
.
fieldCode
},
on
:{
mousedown
:
function
(
i
){
e
.
clickItem
(
t
)}}},[
s
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
fieldName
))])])}))],
1
),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"filed-item-title"
},[
e
.
_v
(
"个人材料"
)]),
e
.
_v
(
" "
),
s
(
"ul"
,[
s
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list5"
,
list
:
e
.
personalInfo
,
options
:
e
.
leftOption
,
move
:
e
.
onMove
},
on
:{
start
:
function
(
t
){
e
.
isDragging
=!
0
},
end
:
e
.
itemMoveEnd
}},
e
.
_l
(
e
.
personalInfo
,
function
(
t
,
i
){
return
s
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
t
.
fixed
?
"fixed-item"
:
""
],
attrs
:{
"data-type"
:
t
.
fieldCode
},
on
:{
mousedown
:
function
(
i
){
e
.
clickItem
(
t
)}}},[
s
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
fieldName
))])])}))],
1
)]),
e
.
_v
(
" "
),
s
(
"el-tab-pane"
,{
attrs
:{
label
:
"自定义字段"
,
name
:
"second"
}},[
s
(
"div"
,{
staticClass
:
"filed-item-title"
}),
e
.
_v
(
" "
),
s
(
"ul"
,[
s
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list5"
,
list
:
e
.
defineInfo
,
options
:
e
.
leftDefineOption
,
move
:
e
.
onChildMove
},
on
:{
start
:
function
(
t
){
e
.
isDragging
=!
0
},
end
:
e
.
itemMoveEnd
,
clone
:
e
.
cloneDefine
}},
e
.
_l
(
e
.
defineInfo
,
function
(
t
,
i
){
return
s
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
t
.
fixed
?
"fixed-item"
:
""
],
attrs
:{
"data-type"
:
t
.
fieldCode
},
on
:{
mousedown
:
function
(
i
){
e
.
clickItem
(
t
)}}},[
t
.
systemFlag
||
0
!=
t
.
fieldType
?
e
.
_e
():
s
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
fieldName
))]),
e
.
_v
(
" "
),
t
.
systemFlag
||
1
!=
t
.
fieldType
?
e
.
_e
():
s
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
fieldName
))]),
e
.
_v
(
" "
),
t
.
systemFlag
||
2
!=
t
.
fieldType
?
e
.
_e
():
s
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
fieldName
))]),
e
.
_v
(
" "
),
t
.
systemFlag
||
3
!=
t
.
fieldType
?
e
.
_e
():
s
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
fieldName
))]),
e
.
_v
(
" "
),
t
.
systemFlag
||
4
!=
t
.
fieldType
?
e
.
_e
():
s
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
fieldName
))]),
e
.
_v
(
" "
),
t
.
systemFlag
||
5
!=
t
.
fieldType
?
e
.
_e
():
s
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
fieldName
))]),
e
.
_v
(
" "
),
t
.
systemFlag
||
6
!=
t
.
fieldType
?
e
.
_e
():
s
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
fieldName
))]),
e
.
_v
(
" "
),
t
.
systemFlag
||
7
!=
t
.
fieldType
?
e
.
_e
():
s
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
fieldName
))]),
e
.
_v
(
" "
),
t
.
systemFlag
||
0
!=
t
.
fieldType
?
e
.
_e
():
s
(
"i"
,{
staticClass
:
"bg-icon bg-icon-one"
}),
e
.
_v
(
" "
),
t
.
systemFlag
||
1
!=
t
.
fieldType
?
e
.
_e
():
s
(
"i"
,{
staticClass
:
"bg-icon bg-icon-two"
}),
e
.
_v
(
" "
),
t
.
systemFlag
||
2
!=
t
.
fieldType
?
e
.
_e
():
s
(
"i"
,{
staticClass
:
"bg-icon bg-icon-three"
}),
e
.
_v
(
" "
),
t
.
systemFlag
||
3
!=
t
.
fieldType
?
e
.
_e
():
s
(
"i"
,{
staticClass
:
"bg-icon bg-icon-four"
}),
e
.
_v
(
" "
),
t
.
systemFlag
||
4
!=
t
.
fieldType
?
e
.
_e
():
s
(
"i"
,{
staticClass
:
"bg-icon bg-icon-five"
}),
e
.
_v
(
" "
),
t
.
systemFlag
||
5
!=
t
.
fieldType
?
e
.
_e
():
s
(
"i"
,{
staticClass
:
"bg-icon bg-icon-six"
}),
e
.
_v
(
" "
),
t
.
systemFlag
||
6
!=
t
.
fieldType
?
e
.
_e
():
s
(
"i"
,{
staticClass
:
"bg-icon bg-icon-seven"
}),
e
.
_v
(
" "
),
t
.
systemFlag
||
7
!=
t
.
fieldType
?
e
.
_e
():
s
(
"i"
,{
staticClass
:
"bg-icon bg-icon-eight"
})])}))],
1
)])],
1
)],
1
),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"template-cell template-cell-m"
},[
s
(
"div"
,{
staticClass
:
"phone-view"
},[
s
(
"div"
,{
staticClass
:
"phone-show-content"
},[
s
(
"div"
,{
staticClass
:
"drag-show-content"
},[
s
(
"div"
,{
staticClass
:
"view-container"
},[
s
(
"ul"
,{
staticClass
:
"view-content"
,
attrs
:{
id
:
"showPhoneView"
}},[
0
==
e
.
tempaletDataList
.
length
?[
s
(
"img"
,{
staticClass
:
"templet-null-img"
,
attrs
:{
src
:
i
(
"Y7wY"
)}})]:
e
.
_e
(),
e
.
_v
(
" "
),
s
(
"draggable"
,{
staticClass
:
"drag-wrap"
,
attrs
:{
options
:{
group
:{
name
:
"people"
,
pull
:
!
1
,
put
:
!
1
},
sort
:
!
0
}},
on
:{
add
:
e
.
addItem
},
model
:{
value
:
e
.
tempaletDataList
,
callback
:
function
(
t
){
e
.
tempaletDataList
=
t
},
expression
:
"tempaletDataList"
}},
e
.
_l
(
e
.
tempaletDataList
,
function
(
t
,
i
){
return
s
(
"li"
,{
key
:
"li1"
+
i
,
class
:[
"filed-item"
,
e
.
currentIndex
==
i
?
"active-item"
:
""
,
"li-block"
],
on
:{
click
:
function
(
s
){
e
.
selectItem
(
t
.
fieldCode
,
i
)}}},[
"baseInfo"
!=
t
.
fieldCode
?
s
(
"span"
,{
staticClass
:
"item-close p-item-close"
,
on
:{
click
:
function
(
s
){
s
.
stopPropagation
(),
e
.
deleteItem
(
t
.
fieldCode
,
i
)}}},[
s
(
"i"
,{
staticClass
:
"el-icon-close"
})]):
e
.
_e
(),
e
.
_v
(
" "
),[
s
(
"div"
,{
staticClass
:
"block"
},[
s
(
"div"
,{
staticClass
:
"block-head"
},[
s
(
"div"
,{
class
:[
"opencard-item-title"
,
t
.
fieldName
.
length
>
6
?
"block-pre-wrap"
:
""
]},[
e
.
_v
(
e
.
_s
(
t
.
fieldName
))])]),
e
.
_v
(
" "
),
s
(
"ul"
,{
staticClass
:
"view-content"
},[
s
(
"draggable"
,{
class
:[
"drag-wrap"
,
"block-wrap"
,
t
.
fieldCode
],
attrs
:{
options
:{
group
:{
name
:
"people"
,
pull
:
!
1
,
put
:
!
0
},
sort
:
!
0
}},
on
:{
add
:
e
.
addDragItem
},
model
:{
value
:
t
.
children
,
callback
:
function
(
i
){
e
.
$set
(
t
,
"children"
,
i
)},
expression
:
"item.children"
}},
e
.
_l
(
t
.
children
,
function
(
a
,
n
){
return
s
(
"li"
,{
key
:
"li"
+
n
,
class
:[
"filed-item"
,
"child-filed-item"
,
e
.
currentChildKey
==
a
.
fieldCode
&&
e
.
currentChildIndex
==
n
?
"active-item"
:
""
],
on
:{
click
:
function
(
s
){
s
.
stopPropagation
(),
e
.
selectChildItem
(
a
.
fieldCode
,
i
,
n
,
t
.
children
)}}},[
"clerkPhone"
!=
a
.
fieldCode
?
s
(
"span"
,{
staticClass
:
"item-close child-item-close"
,
on
:{
click
:
function
(
s
){
s
.
stopPropagation
(),
e
.
deleteChildItem
(
a
.
fieldCode
,
i
,
n
,
t
.
children
,
a
)}}},[
s
(
"i"
,{
staticClass
:
"el-icon-close"
})]):
e
.
_e
(),
e
.
_v
(
" "
),
2
==
a
.
fieldType
||
3
==
a
.
fieldType
||
4
==
a
.
fieldType
?
s
(
"div"
,[
s
(
"div"
,{
class
:[
"opencard-item-title"
,
a
.
fieldName
.
length
>
6
?
"title-pre-wrap"
:
""
]},[
e
.
_v
(
e
.
_s
(
a
.
fieldName
))]),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"draged-item-show"
},[
s
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag select-flag"
},[
e
.
_v
(
e
.
_s
(
a
.
fieldDescription
)
+
" "
),
s
(
"i"
,{
staticClass
:
"el-icon-arrow-right"
})])])]):
e
.
_e
(),
e
.
_v
(
" "
),
5
==
a
.
fieldType
?
s
(
"div"
,[
s
(
"div"
,[
s
(
"div"
,{
class
:[
"opencard-item-title"
,
a
.
fieldOperations
.
startName
.
length
>
6
?
"title-pre-wrap"
:
""
]},[
e
.
_v
(
e
.
_s
(
a
.
fieldOperations
.
startName
))]),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"draged-item-show"
},[
s
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag select-flag"
},[
e
.
_v
(
e
.
_s
(
a
.
fieldOperations
.
startDescription
)),
s
(
"i"
,{
staticClass
:
"el-icon-arrow-right"
})])])]),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"b-t-1"
},[
s
(
"div"
,{
class
:[
"opencard-item-title"
,
a
.
fieldOperations
.
endName
.
length
>
6
?
"title-pre-wrap"
:
""
]},[
e
.
_v
(
e
.
_s
(
a
.
fieldOperations
.
endName
))]),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"draged-item-show"
},[
s
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag select-flag"
},[
e
.
_v
(
e
.
_s
(
a
.
fieldOperations
.
endDescription
)),
s
(
"i"
,{
staticClass
:
"el-icon-arrow-right"
})])])])]):
e
.
_e
(),
e
.
_v
(
" "
),
7
==
a
.
fieldType
?
s
(
"div"
,[
s
(
"div"
,{
class
:[
"opencard-item-title"
,
a
.
fieldName
.
length
>
6
?
"title-pre-wrap"
:
""
]},[
e
.
_v
(
e
.
_s
(
a
.
fieldName
))]),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"draged-item-show"
},[
s
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag select-flag"
},[
s
(
"i"
,{
staticClass
:
"iconfont icon-icon"
})])])]):
e
.
_e
(),
e
.
_v
(
" "
),
0
==
a
.
fieldType
||
1
==
a
.
fieldType
||
6
==
a
.
fieldType
?
s
(
"div"
,[
s
(
"div"
,{
class
:[
"opencard-item-title"
,
a
.
fieldName
.
length
>
6
?
"title-pre-wrap"
:
""
]},[
e
.
_v
(
e
.
_s
(
a
.
fieldName
))]),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"draged-item-show"
},[
s
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag"
},[
e
.
_v
(
e
.
_s
(
a
.
fieldDescription
))])])]):
e
.
_e
()])}))],
1
)])]],
2
)}))],
2
)])])])])]),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"template-cell template-cell-r"
},[
s
(
"el-tabs"
,{
model
:{
value
:
e
.
rightName
,
callback
:
function
(
t
){
e
.
rightName
=
t
},
expression
:
"rightName"
}},[
s
(
"el-tab-pane"
,{
attrs
:{
label
:
"控件设置"
,
name
:
"first"
}},[
s
(
"div"
,{
attrs
:{
id
:
"edit-box"
}},[
s
(
"div"
,{
staticClass
:
"edit-view baby-info-flag baby-info"
},[
e
.
_l
(
e
.
tempaletDataList
,
function
(
t
,
i
){
return
[
e
.
currentIndex
==
i
&&
"0"
==
t
.
parentCode
?[
s
(
"div"
,{
key
:
"parent"
+
i
,
staticClass
:
"edit-item "
},[
s
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
e
.
_v
(
"标题"
)]),
e
.
_v
(
" "
),
s
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
t
.
fieldName
,
holder
:
""
,
disflag
:
!
0
,
getByType
:
"word"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
i
){
e
.
$set
(
t
,
"fieldName"
,
i
)}}})],
1
)]:
e
.
_e
(),
e
.
_v
(
" "
),
e
.
childIndex
==
i
&&
t
.
children
&&
t
.
children
.
length
?[
e
.
_l
(
t
.
children
,
function
(
t
,
a
){
return
[
e
.
currentChildIndex
==
a
?[
s
(
"div"
,{
key
:
"child"
+
a
,
staticClass
:
"edit-item test-title limit-w-340"
},[
s
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"标题"
)]),
e
.
_v
(
" "
),
s
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
t
.
fieldName
,
holder
:
""
,
disflag
:
t
.
systemFlag
,
getByType
:
"word"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
i
){
e
.
$set
(
t
,
"fieldName"
,
i
)}}}),
e
.
_v
(
" "
),
7
==
t
.
fieldType
?
s
(
"p"
,{
staticStyle
:{
"margin-top"
:
"8px"
,
"font-size"
:
"12px"
,
color
:
"rgba(255, 255, 255, 0.7)"
}},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
fieldDescription
)
+
"
\
n "
)]):
e
.
_e
()],
1
)]:
e
.
_e
(),
e
.
_v
(
" "
),
e
.
currentChildIndex
==
a
&&
5
!=
t
.
fieldType
&&
7
!=
t
.
fieldType
?[
s
(
"div"
,{
key
:
"child1"
+
a
,
staticClass
:
"edit-item test-title limit-w-340"
},[
s
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"提示文字"
)]),
e
.
_v
(
" "
),
s
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
t
.
fieldDescription
,
holder
:
""
,
disflag
:
!
1
,
getByType
:
"word"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
i
){
e
.
$set
(
t
,
"fieldDescription"
,
i
)}}})],
1
)]:
e
.
_e
(),
e
.
_v
(
" "
),
e
.
currentChildIndex
==
a
&&
5
==
t
.
fieldType
?[
s
(
"div"
,{
key
:
"child2"
+
a
,
staticClass
:
"edit-item test-title limit-w-340"
},[
s
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"开始时间"
)]),
e
.
_v
(
" "
),
s
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
t
.
fieldOperations
.
startName
,
holder
:
""
,
disflag
:
t
.
systemFlag
,
getByType
:
"word"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
i
){
e
.
$set
(
t
.
fieldOperations
,
"startName"
,
i
)}}})],
1
),
e
.
_v
(
" "
),
s
(
"div"
,{
key
:
"child3"
+
a
,
staticClass
:
"edit-item test-title limit-w-340"
},[
s
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"提示文字"
)]),
e
.
_v
(
" "
),
s
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
t
.
fieldOperations
.
startDescription
,
holder
:
""
,
disflag
:
!
1
,
getByType
:
"word"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
i
){
e
.
$set
(
t
.
fieldOperations
,
"startDescription"
,
i
)}}})],
1
),
e
.
_v
(
" "
),
s
(
"div"
,{
key
:
"child4"
+
a
,
staticClass
:
"edit-item test-title limit-w-340"
},[
s
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"结束时间"
)]),
e
.
_v
(
" "
),
s
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
t
.
fieldOperations
.
endName
,
holder
:
""
,
disflag
:
t
.
systemFlag
,
getByType
:
"word"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
i
){
e
.
$set
(
t
.
fieldOperations
,
"endName"
,
i
)}}})],
1
),
e
.
_v
(
" "
),
s
(
"div"
,{
key
:
"child5"
+
a
,
staticClass
:
"edit-item test-title limit-w-340"
},[
s
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"提示文字"
)]),
e
.
_v
(
" "
),
s
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
t
.
fieldOperations
.
endDescription
,
holder
:
""
,
disflag
:
!
1
,
getByType
:
"word"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
i
){
e
.
$set
(
t
.
fieldOperations
,
"endDescription"
,
i
)}}})],
1
)]:
e
.
_e
(),
e
.
_v
(
" "
),
e
.
currentChildIndex
==
a
&&
6
==
t
.
fieldType
?[
s
(
"div"
,{
key
:
"child6"
+
a
,
staticClass
:
"edit-item test-title limit-w-340"
},[
s
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"单位"
)]),
e
.
_v
(
" "
),
s
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
t
.
fieldOperations
.
unit
,
holder
:
""
,
disflag
:
!
1
,
getByType
:
"word"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
i
){
e
.
$set
(
t
.
fieldOperations
,
"unit"
,
i
)}}})],
1
)]:
e
.
_e
(),
e
.
_v
(
" "
),
e
.
currentChildIndex
!=
a
||
4
!=
t
.
fieldType
&&
5
!=
t
.
fieldType
?
e
.
_e
():[
s
(
"div"
,{
key
:
"child7"
+
a
,
staticClass
:
"edit-item "
},[
s
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"日期类型"
)]),
e
.
_v
(
" "
),
e
.
_l
(
t
.
fieldOperations
.
ruleContent
,
function
(
i
,
a
){
return
[
s
(
"el-radio"
,{
key
:
"child8"
+
a
,
attrs
:{
label
:
i
.
key
},
on
:{
change
:
function
(
i
){
e
.
changeRadio
(
i
,
a
,
t
)}},
model
:{
value
:
t
.
fieldOperations
.
typeValue
,
callback
:
function
(
i
){
e
.
$set
(
t
.
fieldOperations
,
"typeValue"
,
i
)},
expression
:
"childItem.fieldOperations.typeValue"
}},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
i
.
name
)
+
"
\
n "
)])]})],
2
)],
e
.
_v
(
" "
),
e
.
currentChildIndex
!=
a
||
"2"
!=
t
.
fieldType
&&
"3"
!=
t
.
fieldType
?
e
.
_e
():[
s
(
"div"
,{
key
:
"child9"
+
a
,
staticClass
:
"edit-item "
},[
s
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"选项 "
),
t
.
systemFlag
?
e
.
_e
():
s
(
"span"
,[
e
.
_v
(
"最多20项,每项最多10个字"
)])]),
e
.
_v
(
" "
),
e
.
_l
(
t
.
fieldOperations
.
fieldContent
,
function
(
a
,
n
){
return
[
s
(
"div"
,{
key
:
"child10"
+
n
,
staticClass
:
"margin-t-15 limit-w-340"
,
style
:
0
==
n
?
"margin-top: 0"
:
""
},[
s
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
a
.
name
,
holder
:
""
,
disflag
:
t
.
systemFlag
,
getByType
:
"word"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
a
,
"name"
,
t
)}}}),
e
.
_v
(
" "
),
!
t
.
systemFlag
&&
t
.
fieldOperations
.
fieldContent
.
length
>
1
?
s
(
"i"
,{
staticClass
:
"opt-btn el-icon-remove del-item"
,
on
:{
click
:
function
(
s
){
e
.
delChildItem
(
i
,
n
,
t
)}}}):
e
.
_e
(),
e
.
_v
(
" "
),
!
t
.
systemFlag
&&
n
<
19
?[
n
==
t
.
fieldOperations
.
fieldContent
.
length
-
1
?
s
(
"i"
,{
staticClass
:
"opt-btn el-icon-circle-plus add-item"
,
on
:{
click
:
function
(
s
){
e
.
addChildItem
(
i
,
n
,
t
)}}}):
e
.
_e
()]:
e
.
_e
()],
2
)]})],
2
)],
e
.
_v
(
" "
),
e
.
currentChildIndex
==
a
?[
s
(
"div"
,{
key
:
"child11"
+
a
,
staticClass
:
"edit-item"
},[
s
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"验证"
)]),
e
.
_v
(
" "
),
s
(
"el-checkbox"
,{
model
:{
value
:
t
.
isMust
,
callback
:
function
(
i
){
e
.
$set
(
t
,
"isMust"
,
i
)},
expression
:
"childItem.isMust"
}},[
e
.
_v
(
"必填"
)])],
1
)]:
e
.
_e
(),
e
.
_v
(
" "
),
e
.
currentChildIndex
==
a
?[
s
(
"div"
,{
key
:
"parent2"
+
a
,
staticClass
:
"edit-item "
},[
s
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"员工档案中"
)]),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"staffRecords-limit"
},[
s
(
"el-radio"
,{
staticClass
:
"label-cell"
,
attrs
:{
label
:
"1"
},
model
:{
value
:
t
.
staffRecordsIds
.
staffVisible
,
callback
:
function
(
i
){
e
.
$set
(
t
.
staffRecordsIds
,
"staffVisible"
,
i
)},
expression
:
"childItem.staffRecordsIds.staffVisible"
}},[
e
.
_v
(
"对员工可见"
)]),
e
.
_v
(
" "
),
s
(
"el-radio"
,{
staticClass
:
"label-cell"
,
attrs
:{
label
:
"0"
},
model
:{
value
:
t
.
staffRecordsIds
.
staffVisible
,
callback
:
function
(
i
){
e
.
$set
(
t
.
staffRecordsIds
,
"staffVisible"
,
i
)},
expression
:
"childItem.staffRecordsIds.staffVisible"
}},[
e
.
_v
(
"对员工不可见"
)])],
1
),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"staffRecords-limit"
},[
s
(
"el-radio"
,{
staticClass
:
"label-cell"
,
attrs
:{
label
:
"1"
},
model
:{
value
:
t
.
staffRecordsIds
.
staffModify
,
callback
:
function
(
i
){
e
.
$set
(
t
.
staffRecordsIds
,
"staffModify"
,
i
)},
expression
:
"childItem.staffRecordsIds.staffModify"
}},[
e
.
_v
(
"对员工可修改"
)]),
e
.
_v
(
" "
),
s
(
"el-radio"
,{
staticClass
:
"label-cell"
,
attrs
:{
label
:
"0"
},
model
:{
value
:
t
.
staffRecordsIds
.
staffModify
,
callback
:
function
(
i
){
e
.
$set
(
t
.
staffRecordsIds
,
"staffModify"
,
i
)},
expression
:
"childItem.staffRecordsIds.staffModify"
}},[
e
.
_v
(
"对员工不可修改"
)])],
1
)])]:
e
.
_e
()]})]:
e
.
_e
()]})],
2
)])])],
1
)],
1
)])]),
e
.
_v
(
" "
),
s
(
"div"
,{
directives
:[{
name
:
"show"
,
rawName
:
"v-show"
,
value
:
e
.
dialogVisible
,
expression
:
"dialogVisible"
}],
staticClass
:
"qr-dialog-content"
,
staticStyle
:{
opacity
:
"1"
}},[
s
(
"div"
,{
staticClass
:
"qr-mask"
,
on
:{
click
:
function
(
t
){
return
t
.
stopPropagation
(),
e
.
closeDialog
(
t
)}}}),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"qr-dialog"
},[
s
(
"div"
,{
staticClass
:
"qr-dialog__hd"
},[
s
(
"strong"
,{
staticClass
:
"qr-dialog__title"
},[
e
.
_v
(
"预览"
)]),
e
.
_v
(
" "
),
s
(
"i"
,{
staticClass
:
"el-icon-close"
,
on
:{
click
:
function
(
t
){
return
t
.
stopPropagation
(),
e
.
closeDialog
(
t
)}}})]),
e
.
_v
(
" "
),
e
.
_m
(
1
),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"qr--dialog__ft"
})])])])},
staticRenderFns
:[
function
(){
var
e
=
this
.
$createElement
,
t
=
this
.
_self
.
_c
||
e
;
return
t
(
"div"
,{
staticClass
:
"template-title flex-1"
},[
t
(
"img"
,{
attrs
:{
src
:
i
(
"LbEI"
),
alt
:
"logo"
}}),
this
.
_v
(
" "
),
t
(
"span"
,{
staticClass
:
"template-title-span"
},[
this
.
_v
(
"员工档案设置"
)])])},
function
(){
var
e
=
this
.
$createElement
,
t
=
this
.
_self
.
_c
||
e
;
return
t
(
"div"
,{
staticClass
:
"qr-dialog__bd"
},[
t
(
"div"
,{
attrs
:{
id
:
"qrcode"
}}),
this
.
_v
(
" "
),
t
(
"div"
,{
staticClass
:
"qr-dialog__p"
},[
this
.
_v
(
"请使用好办 APP 扫一扫预览"
)])])}]};
var
M
=
i
(
"VU/8"
)(
N
,
w
,
!
1
,
function
(
e
){
i
(
"bZ1Z"
)},
"data-v-7701a072"
,
null
);
t
.
default
=
M
.
exports
}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/1
2.083c2dea91ab829164ab
.js
→
dist/static/js/1
3.60a490fd5d0e6fe747e1
.js
View file @
1d1b13ed
webpackJsonp
([
12
],{
"2FlR"
:
function
(
t
,
e
,
a
){
t
.
exports
=
a
.
p
+
"static/img/test.50e4091.png"
},
CLYF
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"3Xzz"
),
n
=
a
(
"Zx22"
),
i
=
a
(
"Ch4/"
),
l
=
a
(
"PI0u"
),
o
=
a
(
"P9l9"
),
r
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
tableH
:
window
.
screen
.
availHeight
-
464
-
126
+
"px"
,
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"审核中心"
,
path
:
"/unreview"
},{
name
:
"已审核"
,
path
:
""
}],
filterValue
:
"99"
,
filterOptions
:[{
label
:
"已同意"
,
value
:
"1"
},{
label
:
"已拒绝"
,
value
:
"2"
},{
label
:
"已审核"
,
value
:
"99"
}],
searchValue
:
""
,
tableData
:[],
multipleSelection
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
applyInfo
:{},
showStoreDialog
:
!
1
,
storeChangeData
:{}}},
filters
:{
formatTimeYMD
:
function
(
t
){
return
"--"
!=
t
?
t
.
split
(
" "
)[
0
]:
"--"
},
formatTimeHMS
:
function
(
t
){
return
"--"
!=
t
?
t
.
split
(
" "
)[
1
]:
"--"
},
formatNum
:
function
(
t
){
return
(
t
+
""
).
replace
(
/
\d{1,3}(?=(\d{3})
+$
)
/g
,
"$&,"
)}},
computed
:{},
methods
:{
clearSearch
:
function
(){
this
.
getTableList
()},
searchEnterFun
:
function
(
t
){
if
(
!
String
(
t
.
target
.
value
).
trim
())
return
!
1
;
this
.
getTableList
()},
toggleReason
:
function
(
t
){
t
.
visible
=!
0
,
this
.
tableData
.
forEach
(
function
(
e
,
a
){
e
.
enterpriseAuditingId
!=
t
.
enterpriseAuditingId
&&
(
e
.
visible
=!
1
)})},
handleSelectionChange
:
function
(
t
){
this
.
multipleSelection
=
t
},
handleSizeChange
:
function
(
t
){
this
.
pageSize
=
t
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
t
){
this
.
currentPage
=
t
,
this
.
getTableList
()},
showSingleInfo
:
function
(
t
){},
showStoreChange
:
function
(
t
){
this
.
showStoreDialog
=!
0
,
this
.
storeChangeData
=
t
},
getTableList
:
function
(
t
){
var
e
=
this
,
a
=
{
auditingType
:
""
,
auditingStatus
:
e
.
filterValue
,
search
:
e
.
searchValue
||
""
,
pageNum
:
e
.
currentPage
,
pageSize
:
e
.
pageSize
};
Object
(
o
.
a
)(
"/haoban-manage-web/audit/auditing-list.json"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
a
.
result
&&
a
.
result
.
list
&&
a
.
result
.
list
.
forEach
(
function
(
t
,
e
){
t
.
createTime
&&
(
t
.
createTime
=
Object
(
l
.
b
)(
t
.
createTime
))}),
e
.
tableData
=
a
.
result
.
list
,
void
(
e
.
total
=
a
.
result
.
total
);
i
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
mounted
:
function
(){
this
.
getTableList
()},
components
:{
navCrumb
:
s
.
a
,
storeChange
:
n
.
a
}},
c
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"reviewed-wrap common-set-wrap"
},[
a
(
"nav-crumb"
,{
attrs
:{
navpath
:
t
.
navpath
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"div"
,{
staticClass
:
"right-box"
,
style
:{
"min-height"
:
t
.
$store
.
state
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"reviewed-body-head"
},[
a
(
"el-select"
,{
staticClass
:
"w-130"
,
attrs
:{
placeholder
:
"全部状态"
},
on
:{
change
:
t
.
getTableList
},
model
:{
value
:
t
.
filterValue
,
callback
:
function
(
e
){
t
.
filterValue
=
e
},
expression
:
"filterValue"
}},
t
.
_l
(
t
.
filterOptions
,
function
(
t
){
return
a
(
"el-option"
,{
key
:
t
.
value
,
attrs
:{
label
:
t
.
label
,
value
:
t
.
value
}})})),
a
(
"el-input"
,{
staticClass
:
"w-250 m-l-10"
,
attrs
:{
placeholder
:
"请输入提交人姓名或门店名称"
,
"prefix-icon"
:
"el-icon-search"
,
clearable
:
""
},
on
:{
clear
:
t
.
clearSearch
},
nativeOn
:{
keyup
:
function
(
e
){
return
"button"
in
e
||!
t
.
_k
(
e
.
keyCode
,
"enter"
,
13
,
e
.
key
,
"Enter"
)?
t
.
searchEnterFun
(
e
):
null
}},
model
:{
value
:
t
.
searchValue
,
callback
:
function
(
e
){
t
.
searchValue
=
e
},
expression
:
"searchValue"
}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"reviewed-body-content"
},[
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"审核事项"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
0
==
e
.
row
.
auditingType
?
"门店信息变更"
:
1
==
e
.
row
.
auditingType
?
"新增成员"
:
"成员离职"
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"提交人"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,{
staticClass
:
"flex"
},[
a
(
"el-popover"
,{
attrs
:{
placement
:
"top-start"
,
width
:
"400"
,
trigger
:
"hover"
},
on
:{
show
:
function
(
a
){
t
.
showSingleInfo
(
e
.
row
.
applyId
)}}},[
a
(
"div"
,{
staticClass
:
"apply-info-detail"
},[
a
(
"div"
,{
staticClass
:
"flex"
},[
a
(
"div"
,{
staticClass
:
"apply-info-img flex-align-center flex-pack-center bg-82C5FF "
},[
e
.
row
.
headPic
?
a
(
"img"
,{
attrs
:{
src
:
e
.
row
.
headPic
,
alt
:
"img"
}}):
a
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex flex-column apply-info-right flex-space-between"
},[
a
(
"div"
,{
staticClass
:
"apply-info-name"
},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
applyName
)
+
"
\
n "
),
a
(
"i"
,{
class
:[
2
==
e
.
row
.
sex
?
"icon-xingbienv color-FF585C"
:
"icon-xingbienan color-508CEE"
,
"iconfont"
]})]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apply-info-code"
},[
a
(
"span"
,{
staticClass
:
"w-80"
},[
t
.
_v
(
"员工代码:"
)]),
a
(
"span"
,{
staticClass
:
"w-130"
},[
t
.
_v
(
t
.
_s
(
e
.
row
.
code
))])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apply-info-phone"
},[
a
(
"span"
,{
staticClass
:
"w-80"
},[
t
.
_v
(
"手机号:"
)]),
a
(
"span"
,{
staticClass
:
"w-130"
},[
t
.
_v
(
t
.
_s
(
e
.
row
.
phoneNumber
))])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apply-info-job"
},[
a
(
"span"
,{
staticClass
:
"w-80"
},[
t
.
_v
(
"职位:"
)]),
a
(
"span"
,{
staticClass
:
"w-130"
},[
t
.
_v
(
t
.
_s
(
e
.
row
.
positionName
))])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apply-info-store"
},[
a
(
"span"
,{
staticClass
:
"w-80"
},[
t
.
_v
(
"所属门店:"
)]),
a
(
"span"
,{
staticClass
:
"w-130"
},[
t
.
_v
(
t
.
_s
(
e
.
row
.
storeName
))])])])])]),
t
.
_v
(
" "
),
a
(
"div"
,{
attrs
:{
slot
:
"reference"
},
slot
:
"reference"
},[
a
(
"div"
,{
staticClass
:
"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic"
},[
e
.
row
.
headPic
?
a
(
"img"
,{
attrs
:{
src
:
e
.
row
.
headPic
,
alt
:
"img"
}}):
a
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})])])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex flex-column apply-info"
},[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
row
.
applyName
))]),
t
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-13"
},[
t
.
_v
(
t
.
_s
(
e
.
row
.
storeName
))])])],
1
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"详情"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,{
staticClass
:
"line-hidden-2"
},[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
row
.
detail
))]),
t
.
_v
(
" "
),
0
==
e
.
row
.
auditingType
?
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
showStoreChange
(
e
.
row
)}}},[
t
.
_v
(
"查看详情"
)]):
t
.
_e
()],
1
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"提交时间"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,{
staticClass
:
"line-h-18"
},[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"formatTimeYMD"
)(
e
.
row
.
createTime
)))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"line-h-18"
},[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"formatTimeHMS"
)(
e
.
row
.
createTime
)))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"状态"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,{
class
:[
2
==
e
.
row
.
auditingStatus
?
"color-FF585C"
:
""
]},[
t
.
_v
(
t
.
_s
(
1
==
e
.
row
.
auditingStatus
?
"超级管理员已同意"
:
"超级管理员已拒绝"
))]),
t
.
_v
(
" "
),
a
(
"el-popover"
,{
staticClass
:
"inline-block"
,
attrs
:{
placement
:
"top"
,
width
:
"150"
,
trigger
:
"hover"
}},[
a
(
"div"
,{
staticClass
:
"tooltip-text"
},[
t
.
_v
(
t
.
_s
(
e
.
row
.
refuseReason
))]),
t
.
_v
(
" "
),
a
(
"div"
,{
attrs
:{
slot
:
"reference"
},
slot
:
"reference"
},[
2
==
e
.
row
.
auditingStatus
?
a
(
"i"
,{
staticClass
:
"el-icon-question"
,
on
:{
click
:
function
(
a
){
t
.
toggleReason
(
e
.
row
)}}}):
t
.
_e
()])])]}}])})],
1
),
t
.
_v
(
" "
),
0
!=
t
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
t
.
currentPage
,
"page-sizes"
:[
10
,
20
,
30
,
40
],
"page-size"
:
t
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
t
.
total
},
on
:{
"size-change"
:
t
.
handleSizeChange
,
"current-change"
:
t
.
handleCurrentChange
}})],
1
):
t
.
_e
()],
1
)])]),
t
.
_v
(
" "
),
a
(
"vue-gic-footer"
),
t
.
_v
(
" "
),
a
(
"storeChange"
,{
attrs
:{
storeChangeData
:
t
.
storeChangeData
},
model
:{
value
:
t
.
showStoreDialog
,
callback
:
function
(
e
){
t
.
showStoreDialog
=
e
},
expression
:
"showStoreDialog"
}})],
1
)},
staticRenderFns
:[]};
var
u
=
a
(
"VU/8"
)(
r
,
c
,
!
1
,
function
(
t
){
a
(
"rkzg"
)},
"data-v-2521eff3"
,
null
);
e
.
default
=
u
.
exports
},
Zx22
:
function
(
t
,
e
,
a
){
"use strict"
;
var
s
=
{
name
:
"custom-dialog"
,
props
:{
value
:{
type
:
Boolean
,
default
:
!
1
},
storeChangeData
:{
type
:
Object
}},
data
:
function
(){
return
{
repProjectName
:
"gic-web"
,
customDialog
:
this
.
value
,
leftData
:[{
src
:
a
(
"2FlR"
)},{
src
:
a
(
"2FlR"
)},{
src
:
a
(
"2FlR"
)}],
rightData
:[{
src
:
a
(
"2FlR"
)},{
src
:
a
(
"2FlR"
)},{
src
:
a
(
"2FlR"
)}]}},
methods
:{
handleCardClose
:
function
(){
this
.
customCancel
()},
customCancel
:
function
(){
this
.
customDialog
=!
1
,
this
.
$emit
(
"input"
,
this
.
customDialog
)},
formatDate
:
function
(
t
,
e
){
function
a
(
t
){
return
t
>
9
?
""
+
t
:
"0"
+
t
}
var
s
=
new
Date
(
t
),
n
=
s
.
getFullYear
(),
i
=
s
.
getMonth
()
+
1
,
l
=
s
.
getDate
();
return
n
+
e
+
a
(
i
)
+
e
+
a
(
l
)
+
e
},
handleData
:
function
(){}},
watch
:{
value
:
function
(
t
,
e
){
this
.
customDialog
=
t
},
storeChangeData
:
function
(
t
,
e
){}},
mounted
:
function
(){}},
n
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"custom-dialog-wrap"
},[
a
(
"el-dialog"
,{
attrs
:{
title
:
"门店环境图变更"
,
visible
:
t
.
customDialog
,
width
:
"600px"
,
"before-close"
:
t
.
handleCardClose
},
on
:{
"update:visible"
:
function
(
e
){
t
.
customDialog
=
e
}}},[
a
(
"div"
,{
staticClass
:
"dialog-content"
},[
a
(
"el-row"
,[
a
(
"el-col"
,{
attrs
:{
span
:
11
}},[
a
(
"div"
,{
staticClass
:
"grid-content bg-purple-dark"
},[
t
.
_v
(
"
\
n 变更前
\
n "
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"data-body"
},[
a
(
"div"
,{
staticClass
:
"data-body-content flex flex-column flex-space-between"
},[
t
.
_l
(
t
.
leftData
,
function
(
t
,
e
){
return
[
a
(
"img"
,{
key
:
"img"
+
e
,
attrs
:{
src
:
t
.
src
,
alt
:
""
}})]})],
2
)])]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
11
}},[
a
(
"div"
,{
staticClass
:
"grid-content bg-purple-dark"
},[
t
.
_v
(
"
\
n 变更后
\
n "
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"data-body"
},[
a
(
"div"
,{
staticClass
:
"data-body-content flex flex-column flex-space-between"
},[
t
.
_l
(
t
.
rightData
,
function
(
t
,
e
){
return
[
a
(
"img"
,{
key
:
"img0"
+
e
,
attrs
:{
src
:
t
.
src
,
alt
:
""
}})]})],
2
)])])],
1
)],
1
)])],
1
)},
staticRenderFns
:[]};
var
i
=
a
(
"VU/8"
)(
s
,
n
,
!
1
,
function
(
t
){
a
(
"uyId"
)},
"data-v-5bdf7830"
,
null
);
e
.
a
=
i
.
exports
},
rkzg
:
function
(
t
,
e
){},
uyId
:
function
(
t
,
e
){}});
webpackJsonp
([
13
],{
"2FlR"
:
function
(
t
,
e
,
a
){
t
.
exports
=
a
.
p
+
"static/img/test.50e4091.png"
},
CLYF
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"3Xzz"
),
n
=
a
(
"Zx22"
),
i
=
a
(
"Ch4/"
),
l
=
a
(
"PI0u"
),
o
=
a
(
"P9l9"
),
r
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
tableH
:
window
.
screen
.
availHeight
-
464
-
126
+
"px"
,
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"审核中心"
,
path
:
"/unreview"
},{
name
:
"已审核"
,
path
:
""
}],
filterValue
:
"99"
,
filterOptions
:[{
label
:
"已同意"
,
value
:
"1"
},{
label
:
"已拒绝"
,
value
:
"2"
},{
label
:
"已审核"
,
value
:
"99"
}],
searchValue
:
""
,
tableData
:[],
multipleSelection
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
applyInfo
:{},
showStoreDialog
:
!
1
,
storeChangeData
:{}}},
filters
:{
formatTimeYMD
:
function
(
t
){
return
"--"
!=
t
?
t
.
split
(
" "
)[
0
]:
"--"
},
formatTimeHMS
:
function
(
t
){
return
"--"
!=
t
?
t
.
split
(
" "
)[
1
]:
"--"
},
formatNum
:
function
(
t
){
return
(
t
+
""
).
replace
(
/
\d{1,3}(?=(\d{3})
+$
)
/g
,
"$&,"
)}},
computed
:{},
methods
:{
clearSearch
:
function
(){
this
.
getTableList
()},
searchEnterFun
:
function
(
t
){
if
(
!
String
(
t
.
target
.
value
).
trim
())
return
!
1
;
this
.
getTableList
()},
toggleReason
:
function
(
t
){
t
.
visible
=!
0
,
this
.
tableData
.
forEach
(
function
(
e
,
a
){
e
.
enterpriseAuditingId
!=
t
.
enterpriseAuditingId
&&
(
e
.
visible
=!
1
)})},
handleSelectionChange
:
function
(
t
){
this
.
multipleSelection
=
t
},
handleSizeChange
:
function
(
t
){
this
.
pageSize
=
t
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
t
){
this
.
currentPage
=
t
,
this
.
getTableList
()},
showSingleInfo
:
function
(
t
){},
showStoreChange
:
function
(
t
){
this
.
showStoreDialog
=!
0
,
this
.
storeChangeData
=
t
},
getTableList
:
function
(
t
){
var
e
=
this
,
a
=
{
auditingType
:
""
,
auditingStatus
:
e
.
filterValue
,
search
:
e
.
searchValue
||
""
,
pageNum
:
e
.
currentPage
,
pageSize
:
e
.
pageSize
};
Object
(
o
.
a
)(
"/haoban-manage-web/audit/auditing-list.json"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
a
.
result
&&
a
.
result
.
list
&&
a
.
result
.
list
.
forEach
(
function
(
t
,
e
){
t
.
createTime
&&
(
t
.
createTime
=
Object
(
l
.
b
)(
t
.
createTime
))}),
e
.
tableData
=
a
.
result
.
list
,
void
(
e
.
total
=
a
.
result
.
total
);
i
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
mounted
:
function
(){
this
.
getTableList
()},
components
:{
navCrumb
:
s
.
a
,
storeChange
:
n
.
a
}},
c
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"reviewed-wrap common-set-wrap"
},[
a
(
"nav-crumb"
,{
attrs
:{
navpath
:
t
.
navpath
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"div"
,{
staticClass
:
"right-box"
,
style
:{
"min-height"
:
t
.
$store
.
state
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"reviewed-body-head"
},[
a
(
"el-select"
,{
staticClass
:
"w-130"
,
attrs
:{
placeholder
:
"全部状态"
},
on
:{
change
:
t
.
getTableList
},
model
:{
value
:
t
.
filterValue
,
callback
:
function
(
e
){
t
.
filterValue
=
e
},
expression
:
"filterValue"
}},
t
.
_l
(
t
.
filterOptions
,
function
(
t
){
return
a
(
"el-option"
,{
key
:
t
.
value
,
attrs
:{
label
:
t
.
label
,
value
:
t
.
value
}})})),
a
(
"el-input"
,{
staticClass
:
"w-250 m-l-10"
,
attrs
:{
placeholder
:
"请输入提交人姓名或门店名称"
,
"prefix-icon"
:
"el-icon-search"
,
clearable
:
""
},
on
:{
clear
:
t
.
clearSearch
},
nativeOn
:{
keyup
:
function
(
e
){
return
"button"
in
e
||!
t
.
_k
(
e
.
keyCode
,
"enter"
,
13
,
e
.
key
,
"Enter"
)?
t
.
searchEnterFun
(
e
):
null
}},
model
:{
value
:
t
.
searchValue
,
callback
:
function
(
e
){
t
.
searchValue
=
e
},
expression
:
"searchValue"
}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"reviewed-body-content"
},[
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"审核事项"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
0
==
e
.
row
.
auditingType
?
"门店信息变更"
:
1
==
e
.
row
.
auditingType
?
"新增成员"
:
"成员离职"
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"提交人"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,{
staticClass
:
"flex"
},[
a
(
"el-popover"
,{
attrs
:{
placement
:
"top-start"
,
width
:
"400"
,
trigger
:
"hover"
},
on
:{
show
:
function
(
a
){
t
.
showSingleInfo
(
e
.
row
.
applyId
)}}},[
a
(
"div"
,{
staticClass
:
"apply-info-detail"
},[
a
(
"div"
,{
staticClass
:
"flex"
},[
a
(
"div"
,{
staticClass
:
"apply-info-img flex-align-center flex-pack-center bg-82C5FF "
},[
e
.
row
.
headPic
?
a
(
"img"
,{
attrs
:{
src
:
e
.
row
.
headPic
,
alt
:
"img"
}}):
a
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex flex-column apply-info-right flex-space-between"
},[
a
(
"div"
,{
staticClass
:
"apply-info-name"
},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
applyName
)
+
"
\
n "
),
a
(
"i"
,{
class
:[
2
==
e
.
row
.
sex
?
"icon-xingbienv color-FF585C"
:
"icon-xingbienan color-508CEE"
,
"iconfont"
]})]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apply-info-code"
},[
a
(
"span"
,{
staticClass
:
"w-80"
},[
t
.
_v
(
"员工代码:"
)]),
a
(
"span"
,{
staticClass
:
"w-130"
},[
t
.
_v
(
t
.
_s
(
e
.
row
.
code
))])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apply-info-phone"
},[
a
(
"span"
,{
staticClass
:
"w-80"
},[
t
.
_v
(
"手机号:"
)]),
a
(
"span"
,{
staticClass
:
"w-130"
},[
t
.
_v
(
t
.
_s
(
e
.
row
.
phoneNumber
))])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apply-info-job"
},[
a
(
"span"
,{
staticClass
:
"w-80"
},[
t
.
_v
(
"职位:"
)]),
a
(
"span"
,{
staticClass
:
"w-130"
},[
t
.
_v
(
t
.
_s
(
e
.
row
.
positionName
))])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apply-info-store"
},[
a
(
"span"
,{
staticClass
:
"w-80"
},[
t
.
_v
(
"所属门店:"
)]),
a
(
"span"
,{
staticClass
:
"w-130"
},[
t
.
_v
(
t
.
_s
(
e
.
row
.
storeName
))])])])])]),
t
.
_v
(
" "
),
a
(
"div"
,{
attrs
:{
slot
:
"reference"
},
slot
:
"reference"
},[
a
(
"div"
,{
staticClass
:
"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic"
},[
e
.
row
.
headPic
?
a
(
"img"
,{
attrs
:{
src
:
e
.
row
.
headPic
,
alt
:
"img"
}}):
a
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})])])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex flex-column apply-info"
},[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
row
.
applyName
))]),
t
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-13"
},[
t
.
_v
(
t
.
_s
(
e
.
row
.
storeName
))])])],
1
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"详情"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,{
staticClass
:
"line-hidden-2"
},[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
row
.
detail
))]),
t
.
_v
(
" "
),
0
==
e
.
row
.
auditingType
?
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
showStoreChange
(
e
.
row
)}}},[
t
.
_v
(
"查看详情"
)]):
t
.
_e
()],
1
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"提交时间"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,{
staticClass
:
"line-h-18"
},[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"formatTimeYMD"
)(
e
.
row
.
createTime
)))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"line-h-18"
},[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"formatTimeHMS"
)(
e
.
row
.
createTime
)))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"状态"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,{
class
:[
2
==
e
.
row
.
auditingStatus
?
"color-FF585C"
:
""
]},[
t
.
_v
(
t
.
_s
(
1
==
e
.
row
.
auditingStatus
?
"超级管理员已同意"
:
"超级管理员已拒绝"
))]),
t
.
_v
(
" "
),
a
(
"el-popover"
,{
staticClass
:
"inline-block"
,
attrs
:{
placement
:
"top"
,
width
:
"150"
,
trigger
:
"hover"
}},[
a
(
"div"
,{
staticClass
:
"tooltip-text"
},[
t
.
_v
(
t
.
_s
(
e
.
row
.
refuseReason
))]),
t
.
_v
(
" "
),
a
(
"div"
,{
attrs
:{
slot
:
"reference"
},
slot
:
"reference"
},[
2
==
e
.
row
.
auditingStatus
?
a
(
"i"
,{
staticClass
:
"el-icon-question"
,
on
:{
click
:
function
(
a
){
t
.
toggleReason
(
e
.
row
)}}}):
t
.
_e
()])])]}}])})],
1
),
t
.
_v
(
" "
),
0
!=
t
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
t
.
currentPage
,
"page-sizes"
:[
10
,
20
,
30
,
40
],
"page-size"
:
t
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
t
.
total
},
on
:{
"size-change"
:
t
.
handleSizeChange
,
"current-change"
:
t
.
handleCurrentChange
}})],
1
):
t
.
_e
()],
1
)])]),
t
.
_v
(
" "
),
a
(
"vue-gic-footer"
),
t
.
_v
(
" "
),
a
(
"storeChange"
,{
attrs
:{
storeChangeData
:
t
.
storeChangeData
},
model
:{
value
:
t
.
showStoreDialog
,
callback
:
function
(
e
){
t
.
showStoreDialog
=
e
},
expression
:
"showStoreDialog"
}})],
1
)},
staticRenderFns
:[]};
var
u
=
a
(
"VU/8"
)(
r
,
c
,
!
1
,
function
(
t
){
a
(
"rkzg"
)},
"data-v-2521eff3"
,
null
);
e
.
default
=
u
.
exports
},
Zx22
:
function
(
t
,
e
,
a
){
"use strict"
;
var
s
=
{
name
:
"custom-dialog"
,
props
:{
value
:{
type
:
Boolean
,
default
:
!
1
},
storeChangeData
:{
type
:
Object
}},
data
:
function
(){
return
{
repProjectName
:
"gic-web"
,
customDialog
:
this
.
value
,
leftData
:[{
src
:
a
(
"2FlR"
)},{
src
:
a
(
"2FlR"
)},{
src
:
a
(
"2FlR"
)}],
rightData
:[{
src
:
a
(
"2FlR"
)},{
src
:
a
(
"2FlR"
)},{
src
:
a
(
"2FlR"
)}]}},
methods
:{
handleCardClose
:
function
(){
this
.
customCancel
()},
customCancel
:
function
(){
this
.
customDialog
=!
1
,
this
.
$emit
(
"input"
,
this
.
customDialog
)},
formatDate
:
function
(
t
,
e
){
function
a
(
t
){
return
t
>
9
?
""
+
t
:
"0"
+
t
}
var
s
=
new
Date
(
t
),
n
=
s
.
getFullYear
(),
i
=
s
.
getMonth
()
+
1
,
l
=
s
.
getDate
();
return
n
+
e
+
a
(
i
)
+
e
+
a
(
l
)
+
e
},
handleData
:
function
(){}},
watch
:{
value
:
function
(
t
,
e
){
this
.
customDialog
=
t
},
storeChangeData
:
function
(
t
,
e
){}},
mounted
:
function
(){}},
n
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"custom-dialog-wrap"
},[
a
(
"el-dialog"
,{
attrs
:{
title
:
"门店环境图变更"
,
visible
:
t
.
customDialog
,
width
:
"600px"
,
"before-close"
:
t
.
handleCardClose
},
on
:{
"update:visible"
:
function
(
e
){
t
.
customDialog
=
e
}}},[
a
(
"div"
,{
staticClass
:
"dialog-content"
},[
a
(
"el-row"
,[
a
(
"el-col"
,{
attrs
:{
span
:
11
}},[
a
(
"div"
,{
staticClass
:
"grid-content bg-purple-dark"
},[
t
.
_v
(
"
\
n 变更前
\
n "
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"data-body"
},[
a
(
"div"
,{
staticClass
:
"data-body-content flex flex-column flex-space-between"
},[
t
.
_l
(
t
.
leftData
,
function
(
t
,
e
){
return
[
a
(
"img"
,{
key
:
"img"
+
e
,
attrs
:{
src
:
t
.
src
,
alt
:
""
}})]})],
2
)])]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
11
}},[
a
(
"div"
,{
staticClass
:
"grid-content bg-purple-dark"
},[
t
.
_v
(
"
\
n 变更后
\
n "
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"data-body"
},[
a
(
"div"
,{
staticClass
:
"data-body-content flex flex-column flex-space-between"
},[
t
.
_l
(
t
.
rightData
,
function
(
t
,
e
){
return
[
a
(
"img"
,{
key
:
"img0"
+
e
,
attrs
:{
src
:
t
.
src
,
alt
:
""
}})]})],
2
)])])],
1
)],
1
)])],
1
)},
staticRenderFns
:[]};
var
i
=
a
(
"VU/8"
)(
s
,
n
,
!
1
,
function
(
t
){
a
(
"uyId"
)},
"data-v-5bdf7830"
,
null
);
e
.
a
=
i
.
exports
},
rkzg
:
function
(
t
,
e
){},
uyId
:
function
(
t
,
e
){}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/1
3.cd7e52c325cdc13a2368
.js
→
dist/static/js/1
4.74cc9b3a9d7e1bbdf26c
.js
View file @
1d1b13ed
webpackJsonp
([
13
],{
K4Vl
:
function
(
e
,
t
){},
NNAT
:
function
(
e
,
t
,
i
){
"use strict"
;
var
a
=
i
(
"fZjL"
),
o
=
i
.
n
(
a
),
s
=
i
(
"mvHQ"
),
l
=
i
.
n
(
s
),
n
=
i
(
"P9l9"
),
r
=
i
(
"0xDb"
),
c
=
{
name
:
"list-item"
,
props
:{
item
:{
type
:
String
,
required
:
!
0
}},
filters
:{
formatDate
:
r
.
b
},
data
:
function
(){
return
{
typeLsit
:[
"全部"
,
"全职"
,
"兼职"
,
"外包"
,
"实习"
,
"无类型"
],
reasons
:[
""
,
"家庭原因"
,
"个人原因"
,
"发展原因"
,
"合同到期不续签"
,
"协议解除"
,
"无法胜任工作"
,
"经济性裁员"
,
"严重违法违纪"
,
"其他"
],
propList
:{
headPic
:{
label
:
""
,
slot
:
!
0
,
width
:
50
},
clerkName
:{
label
:
"姓名"
,
width
:
90
},
clerkPhone
:{
label
:
"手机号"
},
groupName
:{
label
:
"部门"
},
clerkCode
:{
label
:
"code"
},
positionName
:{
label
:
"职位"
},
clerkType
:{
label
:
"员工类型"
,
slot
:
!
0
},
hireDate
:{
label
:
"入职日期"
,
needSort
:
"custom"
,
slot
:
!
0
},
correctionDate
:{
label
:
"转正日期"
,
needSort
:
"custom"
,
slot
:
!
0
},
fireDate
:{
label
:
"离职日期"
,
needSort
:
"custom"
,
slot
:
!
0
},
fireReason
:{
label
:
"离职原因"
,
slot
:
!
0
},
handleEmployee
:{
label
:
"操作"
,
slot
:
!
0
},
handleUnEmployee
:{
label
:
"操作"
,
slot
:
!
0
}}}},
methods
:{
callHandle
:
function
(
e
){
"编辑员工资料"
!=
e
.
typeTitle
?
this
.
$emit
(
"callHandle"
,
e
.
obj
,
e
.
type
,
e
.
typeTitle
):
location
.
href
=
"#/recordInfo?recordId="
+
e
.
obj
.
recordId
}},
mounted
:
function
(){}},
d
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
e
.
propList
[
e
.
item
].
slot
?
i
(
"el-table-column"
,{
attrs
:{
label
:
e
.
propList
[
e
.
item
].
label
,
width
:
e
.
propList
[
e
.
item
].
width
,
sortable
:
e
.
propList
[
e
.
item
].
needSort
,
prop
:
e
.
item
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
"clerkType"
==
e
.
item
?
i
(
"div"
,[
e
.
_v
(
"
\
n "
+
e
.
_s
(
e
.
typeLsit
[
t
.
row
[
e
.
item
]
||
5
])
+
"
\
n "
)]):
"hireDate"
==
e
.
item
||
"correctionDate"
==
e
.
item
||
"fireDate"
==
e
.
item
?
i
(
"div"
,[
e
.
_v
(
"
\
n "
+
e
.
_s
(
e
.
_f
(
"formatDate"
)(
t
.
row
[
e
.
item
],
"YY-MM-DD"
)
||
"--"
)
+
"
\
n "
)]):
"headPic"
==
e
.
item
?
i
(
"div"
,[
t
.
row
[
e
.
item
]?
i
(
"img"
,{
staticClass
:
"header-pic"
,
attrs
:{
src
:
t
.
row
[
e
.
item
]}}):
i
(
"div"
,{
staticClass
:
"replace-head-img"
},[
i
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})])]):
"fireReason"
==
e
.
item
?
i
(
"div"
,[
e
.
_v
(
"
\
n "
+
e
.
_s
(
e
.
reasons
[
t
.
row
[
e
.
item
]]
||
"--"
)
+
"
\
n "
)]):
"handleEmployee"
==
e
.
item
?
i
(
"div"
,[
i
(
"div"
,{
staticClass
:
"table-handle"
},[
i
(
"el-dropdown"
,{
staticClass
:
"more"
,
on
:{
command
:
e
.
callHandle
}},[
i
(
"span"
,{
staticClass
:
"el-dropdown-link"
},[
e
.
_v
(
" 更多"
),
i
(
"i"
,{
staticClass
:
"el-icon-arrow-down el-icon--right"
})]),
e
.
_v
(
" "
),
i
(
"el-dropdown-menu"
,{
attrs
:{
slot
:
"dropdown"
},
slot
:
"dropdown"
},[
2
==
t
.
row
.
clerkStatus
?[
i
(
"el-dropdown-item"
,{
attrs
:{
command
:{
obj
:
t
.
row
,
type
:
"turnPositive"
,
typeTitle
:
"办理转正"
}}},[
e
.
_v
(
"办理转正"
)]),
e
.
_v
(
" "
),
i
(
"el-dropdown-item"
,{
attrs
:{
command
:{
obj
:
t
.
row
,
type
:
"eidtCorrectionTime"
,
typeTitle
:
"修改转正时间"
}}},[
e
.
_v
(
"修改转正时间"
)])]:
e
.
_e
(),
e
.
_v
(
" "
),
i
(
"el-dropdown-item"
,{
attrs
:{
command
:{
obj
:
t
.
row
,
type
:
"editEmployee"
,
typeTitle
:
"编辑员工资料"
}}},[
e
.
_v
(
"编辑员工资料"
)]),
e
.
_v
(
" "
),
i
(
"el-dropdown-item"
,{
attrs
:{
command
:{
obj
:
t
.
row
,
type
:
"resignation"
,
typeTitle
:
"办理离职"
}}},[
e
.
_v
(
"办理离职"
)])],
2
)],
1
)],
1
)]):
"handleUnEmployee"
==
e
.
item
?
i
(
"div"
,[
i
(
"div"
,{
staticClass
:
"table-handle"
},[
i
(
"a"
,{
staticClass
:
"a-href"
,
attrs
:{
href
:
"#/recordInfo?recordId="
+
t
.
row
.
recordId
+
"&type=unemployee"
}},[
e
.
_v
(
"编辑"
)])])]):
e
.
_e
()]}}])}):
i
(
"el-table-column"
,{
attrs
:{
"class-name"
:
"clerkName"
==
e
.
item
?
"control-width"
:
""
,
label
:
e
.
propList
[
e
.
item
].
label
,
width
:
e
.
propList
[
e
.
item
].
width
,
prop
:
e
.
item
}})},
staticRenderFns
:[]};
var
p
=
i
(
"VU/8"
)(
c
,
d
,
!
1
,
function
(
e
){
i
(
"edn0"
)},
null
,
null
).
exports
,
h
=
i
(
"IVno"
),
u
=
i
(
"Ie7z"
),
m
=
i
(
"c4uw"
),
f
=
{
name
:
"employeeRecordList"
,
props
:{
isUnEmployee
:{
type
:
Boolean
,
default
:
!
1
}},
components
:{
listItem
:
p
,
handleDialog
:
h
.
a
,
vueSelectStore
:
u
.
a
,
vueSelectEmployee
:
m
.
a
},
data
:
function
(){
return
{
tableH
:
window
.
screen
.
availHeight
-
440
-
160
,
pickerOptions2
:{
shortcuts
:[{
text
:
"最近一周"
,
onClick
:
function
(
e
){
var
t
=
new
Date
,
i
=
new
Date
;
i
.
setTime
(
i
.
getTime
()
-
6048
e5
),
e
.
$emit
(
"pick"
,[
i
,
t
])}},{
text
:
"最近一个月"
,
onClick
:
function
(
e
){
var
t
=
new
Date
,
i
=
new
Date
;
i
.
setTime
(
i
.
getTime
()
-
2592
e6
),
e
.
$emit
(
"pick"
,[
i
,
t
])}},{
text
:
"最近三个月"
,
onClick
:
function
(
e
){
var
t
=
new
Date
,
i
=
new
Date
;
i
.
setTime
(
i
.
getTime
()
-
7776
e6
),
e
.
$emit
(
"pick"
,[
i
,
t
])}}]},
employeeList
:[],
pageNum
:
1
,
pageSize
:
20
,
sortType
:
"desc"
,
sortColumn
:
"hireDate"
,
statusList
:[
"全部"
,
"正式"
,
"试用"
],
typeLsit
:[
"全部"
,
"全职"
,
"兼职"
,
"外包"
,
"实习"
,
"无类型"
],
clerkType
:
0
,
clerkStatus
:
0
,
total
:
0
,
handleType
:
"turnPositive"
,
typeTitle
:
""
,
dialogVisible
:
!
1
,
employeeObj
:{},
fireDate
:[],
startDate
:
""
,
endDate
:
""
,
showSelector
:
!
0
,
searchParam
:
""
,
departMentSet
:{},
storeSet
:{},
treeData
:{},
selectionList
:[],
disabled
:
!
0
,
chooseClerkIdList
:[],
chooseGroupIdList
:[],
chooseStoreIdList
:[],
adList
:[],
adDefaultSelection
:[],
stList
:[],
changed
:
0
}},
methods
:{
searchFn
:
function
(){
this
.
getEmloyeeList
()},
getGroupData
:
function
(){
var
e
=
this
;
Object
(
n
.
a
)(
"/haoban-manage-web/dept/deptListForCompany"
,{
isStoreGroup
:
0
}).
then
(
function
(
t
){
var
i
=
[],
a
=
[];
1
==
t
.
data
.
errorCode
&&
(
i
=
t
.
data
.
result
.
departmentList
||
[],
a
=
t
.
data
.
result
.
searchList
||
[]),
e
.
treeData
=
{
treeData
:
i
,
personData
:
a
},
e
.
disabled
=!
1
}).
catch
(
function
(
e
){})},
callSelector
:
function
(){
this
.
$refs
.
departmentSelector
.
treeSet
.
dialogVisible
=!
0
},
callStoreSelector
:
function
(){
this
.
$refs
.
storeSelector
.
treeSet
.
dialogVisible
=!
0
},
showExportSet
:
function
(){
if
(
this
.
isUnEmployee
){
var
e
=
window
.
location
.
origin
;
-
1
!=
e
.
indexOf
(
"localhost"
)
&&
(
e
=
"http://www.gicdev.com"
);
var
t
=
0
==
this
.
clerkType
?
""
:
this
.
clerkType
;
location
.
href
=
e
+
"/haoban-manage-web/record/export-fire-employee-record?clerkType="
+
t
+
"&sortType="
+
this
.
sortType
+
"&sortColumn="
+
this
.
sortColumn
+
"&startDate="
+
this
.
startDate
+
"&endDate="
+
this
.
endDate
+
"&searchParam="
+
this
.
searchParam
+
"&chooseClerkIdList="
+
this
.
chooseClerkIdList
.
join
(
","
)
+
"&chooseGroupIdList="
+
this
.
chooseGroupIdList
.
join
(
","
)
+
"&chooseStoreIdList="
+
this
.
chooseStoreIdList
.
join
(
","
)}
else
this
.
$emit
(
"showExportSetFn"
)},
handleSelectedList
:
function
(
e
){
this
.
adDefaultSelection
=
e
,
this
.
adList
=
e
;
var
t
=
this
.
selectionList
.
concat
(
e
);
this
.
selectionList
=
t
,
this
.
formatSelectionList
(
t
)},
handleStoreSelectedList
:
function
(
e
){
this
.
stList
=
e
;
var
t
=
this
.
selectionList
.
concat
(
e
);
this
.
selectionList
=
t
,
this
.
formatSelectionList
(
t
)},
formatSelectionList
:
function
(
e
){
var
t
=
this
.
unique
(
e
);
this
.
selectionList
=
t
;
var
i
=
this
;
t
.
length
&&
(
i
.
chooseClerkIdList
=
[],
i
.
chooseStoreIdList
=
[],
i
.
chooseGroupIdList
=
[],
t
.
forEach
(
function
(
e
){
e
.
employeeClerkId
?
i
.
chooseClerkIdList
.
push
(
e
.
employeeClerkId
):
e
.
storeId
?
i
.
chooseStoreIdList
.
push
(
e
.
storeId
):
e
.
groupId
&&
i
.
chooseGroupIdList
.
push
(
e
.
groupId
)}),
i
.
getEmloyeeList
())},
unique
:
function
(
e
){
var
t
=
{};
return
e
.
forEach
(
function
(
e
){
t
[
l
()(
e
)]
=
e
}),
e
=
o
()(
t
).
map
(
function
(
e
){
return
JSON
.
parse
(
e
)})},
delSld
:
function
(
e
,
t
){
var
i
=
this
,
a
=
this
.
selectionList
.
indexOf
(
e
);
this
.
selectionList
.
splice
(
a
,
1
),
this
.
formatSelectionList
(
this
.
selectionList
),
i
.
adList
.
forEach
(
function
(
t
){
t
.
id
==
e
.
id
&&
i
.
adList
.
splice
(
i
.
adList
.
indexOf
(
t
),
1
)}),
i
.
changed
+=
1
,
i
.
adDefaultSelection
=
i
.
adList
.
slice
(
0
)},
handleSuccess
:
function
(){
this
.
dialogVisible
=!
1
,
this
.
getEmloyeeList
()},
callHandle
:
function
(
e
,
t
,
i
){
this
.
handleType
=
t
,
this
.
employeeObj
=
e
,
this
.
typeTitle
=
i
,
this
.
dialogVisible
=!
0
},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getEmloyeeList
()},
handleCurrentChange
:
function
(
e
){
this
.
pageNum
=
e
,
this
.
getEmloyeeList
()},
sortList
:
function
(
e
){
this
.
sortColumn
=
e
.
prop
,
this
.
sortType
=
"descending"
==
e
.
order
?
"desc"
:
"asc"
,
this
.
getEmloyeeList
()},
reGetList
:
function
(){
this
.
getEmloyeeList
()},
getEmloyeeList
:
function
(){
var
e
=
this
,
t
=
e
.
isUnEmployee
,
i
=
t
?
"/haoban-manage-web/record/find-fire-employee-record-page"
:
"/haoban-manage-web/record/find-on-work-employee-record-page"
,
a
=
{
pageNum
:
e
.
pageNum
,
chooseClerkIdList
:
e
.
chooseClerkIdList
.
join
(
","
),
chooseGroupIdList
:
e
.
chooseGroupIdList
.
join
(
","
),
chooseStoreIdList
:
e
.
chooseStoreIdList
.
join
(
","
),
pageSize
:
e
.
pageSize
,
sortType
:
e
.
sortType
,
clerkStatus
:
0
==
e
.
clerkStatus
?
""
:
e
.
clerkStatus
,
sortColumn
:
e
.
sortColumn
,
clerkType
:
0
==
e
.
clerkType
?
""
:
e
.
clerkType
,
startDate
:
e
.
startDate
,
endDate
:
e
.
endDate
,
searchParam
:
e
.
searchParam
};
Object
(
n
.
a
)(
i
,
a
).
then
(
function
(
i
){
1
==
i
.
data
.
errorCode
?(
e
.
employeeList
=
i
.
data
.
result
.
list
,
e
.
total
=
t
?
i
.
data
.
result
.
total
:
i
.
data
.
result
.
pageInfo
.
total
):
e
.
$message
.
error
({
message
:
i
.
data
.
message
})}).
catch
(
function
(
t
){
e
.
$message
({
message
:
t
.
message
})})},
selectDate
:
function
(
e
){
e
?(
this
.
startDate
=
e
[
0
],
this
.
endDate
=
e
[
1
]):(
this
.
startDate
=
""
,
this
.
endDate
=
""
),
this
.
getEmloyeeList
()}},
beforeMount
:
function
(){
this
.
getEmloyeeList
(),
this
.
getGroupData
()},
computed
:{
propList
:
function
(){
return
this
.
isUnEmployee
?[
"headPic"
,
"clerkName"
,
"clerkPhone"
,
"groupName"
,
"clerkCode"
,
"positionName"
,
"clerkType"
,
"hireDate"
,
"fireDate"
,
"fireReason"
,
"handleUnEmployee"
]:[
"headPic"
,
"clerkName"
,
"clerkPhone"
,
"groupName"
,
"clerkCode"
,
"positionName"
,
"clerkType"
,
"hireDate"
,
"correctionDate"
,
"handleEmployee"
]}}},
y
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"div"
,{
staticClass
:
"e-r-l-container"
},[
i
(
"div"
,{
staticClass
:
"handle-area"
},[
i
(
"div"
,{
staticClass
:
"flex1"
},[
i
(
"el-button"
,{
staticStyle
:{
"margin-right"
:
"10px"
,
height
:
"32px"
},
attrs
:{
disabled
:
e
.
disabled
},
on
:{
click
:
e
.
callSelector
}},[
e
.
_v
(
"行政架构选人"
)]),
e
.
_v
(
" "
),
i
(
"el-button"
,{
staticStyle
:{
"margin-right"
:
"10px"
,
height
:
"32px"
},
on
:{
click
:
e
.
callStoreSelector
}},[
e
.
_v
(
"门店架构选人"
)]),
e
.
_v
(
" "
),
e
.
isUnEmployee
?
i
(
"div"
,{
staticClass
:
"block"
},[
i
(
"span"
,{
staticClass
:
"demonstration"
},[
e
.
_v
(
"离职日期"
)]),
e
.
_v
(
" "
),
i
(
"el-date-picker"
,{
attrs
:{
type
:
"daterange"
,
align
:
"right"
,
"value-format"
:
"yyyy-MM-dd"
,
"unlink-panels"
:
""
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
,
"picker-options"
:
e
.
pickerOptions2
},
on
:{
change
:
e
.
selectDate
},
model
:{
value
:
e
.
fireDate
,
callback
:
function
(
t
){
e
.
fireDate
=
t
},
expression
:
"fireDate"
}})],
1
):[
i
(
"el-select"
,{
staticClass
:
"m-r-10 w-130"
,
attrs
:{
placeholder
:
"选择类型"
},
on
:{
change
:
e
.
reGetList
},
model
:{
value
:
e
.
clerkType
,
callback
:
function
(
t
){
e
.
clerkType
=
t
},
expression
:
"clerkType"
}},
e
.
_l
(
e
.
typeLsit
,
function
(
e
,
t
){
return
i
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
,
value
:
t
}})})),
e
.
_v
(
" "
),
i
(
"el-select"
,{
staticClass
:
"w-130"
,
attrs
:{
placeholder
:
"选择状态"
},
on
:{
change
:
e
.
reGetList
},
model
:{
value
:
e
.
clerkStatus
,
callback
:
function
(
t
){
e
.
clerkStatus
=
t
},
expression
:
"clerkStatus"
}},
e
.
_l
(
e
.
statusList
,
function
(
e
,
t
){
return
i
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
,
value
:
t
}})}))],
e
.
_v
(
" "
),
i
(
"el-input"
,{
staticStyle
:{
width
:
"218px"
,
"margin-left"
:
"10px"
},
attrs
:{
placeholder
:
"请输入姓名或手机号"
,
clearable
:
""
},
on
:{
clear
:
e
.
searchFn
},
nativeOn
:{
keyup
:
function
(
t
){
return
"button"
in
t
||!
e
.
_k
(
t
.
keyCode
,
"enter"
,
13
,
t
.
key
,
"Enter"
)?
e
.
searchFn
(
t
):
null
}},
model
:{
value
:
e
.
searchParam
,
callback
:
function
(
t
){
e
.
searchParam
=
t
},
expression
:
"searchParam"
}})],
2
),
e
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
showExportSet
}},[
e
.
_v
(
"导出"
),
i
(
"i"
,{
staticClass
:
"el-icon-upload el-icon--right"
})])],
1
),
e
.
_v
(
" "
),
e
.
selectionList
.
length
>
0
?
i
(
"ul"
,{
staticClass
:
"selector-selected-list"
},[
e
.
_l
(
e
.
selectionList
,
function
(
t
,
a
){
return
[
i
(
"li"
,{
key
:
a
+
t
.
id
+
t
.
label
,
staticClass
:
"sld"
},[
e
.
_v
(
e
.
_s
(
t
.
label
)
+
" "
),
i
(
"i"
,{
staticClass
:
"el-icon-close"
,
on
:{
click
:
function
(
i
){
e
.
delSld
(
t
,
t
.
isStoreGroup
)}}})])]}),
e
.
_v
(
" "
),
i
(
"li"
,{
staticClass
:
"sld tip"
},[
e
.
_v
(
"共筛选出"
+
e
.
_s
(
e
.
total
)
+
"人"
)])],
2
):
e
.
_e
(),
e
.
_v
(
" "
),
i
(
"el-table"
,{
staticClass
:
"list-table"
,
attrs
:{
height
:
e
.
employeeList
.
length
?
e
.
tableH
:
"auto"
,
data
:
e
.
employeeList
,
"default-sort"
:{
prop
:
"hireDate"
,
order
:
"descending"
}},
on
:{
"sort-change"
:
e
.
sortList
}},[
e
.
_l
(
e
.
propList
,
function
(
t
){
return
[
i
(
"list-item"
,{
key
:
t
,
attrs
:{
item
:
t
},
on
:{
callHandle
:
e
.
callHandle
}})]})],
2
),
e
.
_v
(
" "
),
e
.
employeeList
.
length
?
i
(
"el-pagination"
,{
staticClass
:
"pagination"
,
attrs
:{
background
:
""
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
e
.
pageSize
,
"current-page"
:
e
.
pageNum
,
layout
:
"total, sizes, prev, pager, next"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}}):
e
.
_e
(),
e
.
_v
(
" "
),
i
(
"el-dialog"
,{
attrs
:{
title
:
e
.
typeTitle
,
visible
:
e
.
dialogVisible
,
width
:
"480px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
dialogVisible
=
t
}}},[
i
(
"handle-dialog"
,{
attrs
:{
employee
:
e
.
employeeObj
,
handleType
:
e
.
handleType
,
typeTitle
:
e
.
typeTitle
},
on
:{
handleSuccess
:
e
.
handleSuccess
}})],
1
),
e
.
_v
(
" "
),
i
(
"vue-select-store"
,{
ref
:
"storeSelector"
,
on
:{
handleSelectedList
:
e
.
handleStoreSelectedList
}}),
e
.
_v
(
" "
),
i
(
"vue-select-employee"
,{
ref
:
"departmentSelector"
,
attrs
:{
changed
:
e
.
changed
,
treeData
:
e
.
treeData
,
defaultSelection
:
e
.
adDefaultSelection
},
on
:{
handleSelectedList
:
e
.
handleSelectedList
}})],
1
)},
staticRenderFns
:[]};
var
g
=
i
(
"VU/8"
)(
f
,
y
,
!
1
,
function
(
e
){
i
(
"K4Vl"
)},
null
,
null
);
t
.
a
=
g
.
exports
},
TGrv
:
function
(
e
,
t
,
i
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
i
(
"3Xzz"
),
o
=
i
(
"NNAT"
),
s
=
{
name
:
"employeeRecord"
,
components
:{
navCrumb
:
a
.
a
,
employeeList
:
o
.
a
},
data
:
function
(){
return
{
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"企业通讯录"
,
path
:
"/administrativeFrame"
},{
name
:
"员工档案"
,
path
:
"/fileSet"
},{
name
:
"离职员工"
,
path
:
""
}],
typeObj
:{
onWorkCout
:
"在职员工"
,
allWorkCount
:
"全职"
,
partTimeWorkCount
:
"兼职"
,
outWorkCount
:
"外包"
,
practiceWorkCount
:
"实习"
,
noTypeWorkCount
:
"无类型"
,
regularCount
:
"正式"
,
onTrialCount
:
"试用"
,
noStatusCount
:
"无状态"
},
countObj
:{}}},
beforeMount
:
function
(){}},
l
=
{
render
:
function
(){
var
e
=
this
.
$createElement
,
t
=
this
.
_self
.
_c
||
e
;
return
t
(
"div"
,{
staticClass
:
"common-set-wrap"
},[
t
(
"nav-crumb"
,{
attrs
:{
navpath
:
this
.
navpath
}}),
this
.
_v
(
" "
),
t
(
"div"
,{
staticClass
:
"right-content"
},[
t
(
"div"
,{
staticClass
:
"right-box"
},[
t
(
"div"
,{
staticClass
:
"e-record-container"
},[
t
(
"employee-list"
,{
attrs
:{
isUnEmployee
:
!
0
}})],
1
)])]),
this
.
_v
(
" "
),
t
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
n
=
i
(
"VU/8"
)(
s
,
l
,
!
1
,
function
(
e
){
i
(
"xnej"
)},
null
,
null
);
t
.
default
=
n
.
exports
},
edn0
:
function
(
e
,
t
){},
xnej
:
function
(
e
,
t
){}});
webpackJsonp
([
14
],{
K4Vl
:
function
(
e
,
t
){},
NNAT
:
function
(
e
,
t
,
i
){
"use strict"
;
var
a
=
i
(
"fZjL"
),
o
=
i
.
n
(
a
),
s
=
i
(
"mvHQ"
),
l
=
i
.
n
(
s
),
n
=
i
(
"P9l9"
),
r
=
i
(
"0xDb"
),
c
=
{
name
:
"list-item"
,
props
:{
item
:{
type
:
String
,
required
:
!
0
}},
filters
:{
formatDate
:
r
.
b
},
data
:
function
(){
return
{
typeLsit
:[
"全部"
,
"全职"
,
"兼职"
,
"外包"
,
"实习"
,
"无类型"
],
reasons
:[
""
,
"家庭原因"
,
"个人原因"
,
"发展原因"
,
"合同到期不续签"
,
"协议解除"
,
"无法胜任工作"
,
"经济性裁员"
,
"严重违法违纪"
,
"其他"
],
propList
:{
headPic
:{
label
:
""
,
slot
:
!
0
,
width
:
50
},
clerkName
:{
label
:
"姓名"
,
width
:
90
},
clerkPhone
:{
label
:
"手机号"
},
groupName
:{
label
:
"部门"
},
clerkCode
:{
label
:
"code"
},
positionName
:{
label
:
"职位"
},
clerkType
:{
label
:
"员工类型"
,
slot
:
!
0
},
hireDate
:{
label
:
"入职日期"
,
needSort
:
"custom"
,
slot
:
!
0
},
correctionDate
:{
label
:
"转正日期"
,
needSort
:
"custom"
,
slot
:
!
0
},
fireDate
:{
label
:
"离职日期"
,
needSort
:
"custom"
,
slot
:
!
0
},
fireReason
:{
label
:
"离职原因"
,
slot
:
!
0
},
handleEmployee
:{
label
:
"操作"
,
slot
:
!
0
},
handleUnEmployee
:{
label
:
"操作"
,
slot
:
!
0
}}}},
methods
:{
callHandle
:
function
(
e
){
"编辑员工资料"
!=
e
.
typeTitle
?
this
.
$emit
(
"callHandle"
,
e
.
obj
,
e
.
type
,
e
.
typeTitle
):
location
.
href
=
"#/recordInfo?recordId="
+
e
.
obj
.
recordId
}},
mounted
:
function
(){}},
d
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
e
.
propList
[
e
.
item
].
slot
?
i
(
"el-table-column"
,{
attrs
:{
label
:
e
.
propList
[
e
.
item
].
label
,
width
:
e
.
propList
[
e
.
item
].
width
,
sortable
:
e
.
propList
[
e
.
item
].
needSort
,
prop
:
e
.
item
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
"clerkType"
==
e
.
item
?
i
(
"div"
,[
e
.
_v
(
"
\
n "
+
e
.
_s
(
e
.
typeLsit
[
t
.
row
[
e
.
item
]
||
5
])
+
"
\
n "
)]):
"hireDate"
==
e
.
item
||
"correctionDate"
==
e
.
item
||
"fireDate"
==
e
.
item
?
i
(
"div"
,[
e
.
_v
(
"
\
n "
+
e
.
_s
(
e
.
_f
(
"formatDate"
)(
t
.
row
[
e
.
item
],
"YY-MM-DD"
)
||
"--"
)
+
"
\
n "
)]):
"headPic"
==
e
.
item
?
i
(
"div"
,[
t
.
row
[
e
.
item
]?
i
(
"img"
,{
staticClass
:
"header-pic"
,
attrs
:{
src
:
t
.
row
[
e
.
item
]}}):
i
(
"div"
,{
staticClass
:
"replace-head-img"
},[
i
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})])]):
"fireReason"
==
e
.
item
?
i
(
"div"
,[
e
.
_v
(
"
\
n "
+
e
.
_s
(
e
.
reasons
[
t
.
row
[
e
.
item
]]
||
"--"
)
+
"
\
n "
)]):
"handleEmployee"
==
e
.
item
?
i
(
"div"
,[
i
(
"div"
,{
staticClass
:
"table-handle"
},[
i
(
"el-dropdown"
,{
staticClass
:
"more"
,
on
:{
command
:
e
.
callHandle
}},[
i
(
"span"
,{
staticClass
:
"el-dropdown-link"
},[
e
.
_v
(
" 更多"
),
i
(
"i"
,{
staticClass
:
"el-icon-arrow-down el-icon--right"
})]),
e
.
_v
(
" "
),
i
(
"el-dropdown-menu"
,{
attrs
:{
slot
:
"dropdown"
},
slot
:
"dropdown"
},[
2
==
t
.
row
.
clerkStatus
?[
i
(
"el-dropdown-item"
,{
attrs
:{
command
:{
obj
:
t
.
row
,
type
:
"turnPositive"
,
typeTitle
:
"办理转正"
}}},[
e
.
_v
(
"办理转正"
)]),
e
.
_v
(
" "
),
i
(
"el-dropdown-item"
,{
attrs
:{
command
:{
obj
:
t
.
row
,
type
:
"eidtCorrectionTime"
,
typeTitle
:
"修改转正时间"
}}},[
e
.
_v
(
"修改转正时间"
)])]:
e
.
_e
(),
e
.
_v
(
" "
),
i
(
"el-dropdown-item"
,{
attrs
:{
command
:{
obj
:
t
.
row
,
type
:
"editEmployee"
,
typeTitle
:
"编辑员工资料"
}}},[
e
.
_v
(
"编辑员工资料"
)]),
e
.
_v
(
" "
),
i
(
"el-dropdown-item"
,{
attrs
:{
command
:{
obj
:
t
.
row
,
type
:
"resignation"
,
typeTitle
:
"办理离职"
}}},[
e
.
_v
(
"办理离职"
)])],
2
)],
1
)],
1
)]):
"handleUnEmployee"
==
e
.
item
?
i
(
"div"
,[
i
(
"div"
,{
staticClass
:
"table-handle"
},[
i
(
"a"
,{
staticClass
:
"a-href"
,
attrs
:{
href
:
"#/recordInfo?recordId="
+
t
.
row
.
recordId
+
"&type=unemployee"
}},[
e
.
_v
(
"编辑"
)])])]):
e
.
_e
()]}}])}):
i
(
"el-table-column"
,{
attrs
:{
"class-name"
:
"clerkName"
==
e
.
item
?
"control-width"
:
""
,
label
:
e
.
propList
[
e
.
item
].
label
,
width
:
e
.
propList
[
e
.
item
].
width
,
prop
:
e
.
item
}})},
staticRenderFns
:[]};
var
p
=
i
(
"VU/8"
)(
c
,
d
,
!
1
,
function
(
e
){
i
(
"edn0"
)},
null
,
null
).
exports
,
h
=
i
(
"IVno"
),
u
=
i
(
"Ie7z"
),
m
=
i
(
"c4uw"
),
f
=
{
name
:
"employeeRecordList"
,
props
:{
isUnEmployee
:{
type
:
Boolean
,
default
:
!
1
}},
components
:{
listItem
:
p
,
handleDialog
:
h
.
a
,
vueSelectStore
:
u
.
a
,
vueSelectEmployee
:
m
.
a
},
data
:
function
(){
return
{
tableH
:
window
.
screen
.
availHeight
-
440
-
160
,
pickerOptions2
:{
shortcuts
:[{
text
:
"最近一周"
,
onClick
:
function
(
e
){
var
t
=
new
Date
,
i
=
new
Date
;
i
.
setTime
(
i
.
getTime
()
-
6048
e5
),
e
.
$emit
(
"pick"
,[
i
,
t
])}},{
text
:
"最近一个月"
,
onClick
:
function
(
e
){
var
t
=
new
Date
,
i
=
new
Date
;
i
.
setTime
(
i
.
getTime
()
-
2592
e6
),
e
.
$emit
(
"pick"
,[
i
,
t
])}},{
text
:
"最近三个月"
,
onClick
:
function
(
e
){
var
t
=
new
Date
,
i
=
new
Date
;
i
.
setTime
(
i
.
getTime
()
-
7776
e6
),
e
.
$emit
(
"pick"
,[
i
,
t
])}}]},
employeeList
:[],
pageNum
:
1
,
pageSize
:
20
,
sortType
:
"desc"
,
sortColumn
:
"hireDate"
,
statusList
:[
"全部"
,
"正式"
,
"试用"
],
typeLsit
:[
"全部"
,
"全职"
,
"兼职"
,
"外包"
,
"实习"
,
"无类型"
],
clerkType
:
0
,
clerkStatus
:
0
,
total
:
0
,
handleType
:
"turnPositive"
,
typeTitle
:
""
,
dialogVisible
:
!
1
,
employeeObj
:{},
fireDate
:[],
startDate
:
""
,
endDate
:
""
,
showSelector
:
!
0
,
searchParam
:
""
,
departMentSet
:{},
storeSet
:{},
treeData
:{},
selectionList
:[],
disabled
:
!
0
,
chooseClerkIdList
:[],
chooseGroupIdList
:[],
chooseStoreIdList
:[],
adList
:[],
adDefaultSelection
:[],
stList
:[],
changed
:
0
}},
methods
:{
searchFn
:
function
(){
this
.
getEmloyeeList
()},
getGroupData
:
function
(){
var
e
=
this
;
Object
(
n
.
a
)(
"/haoban-manage-web/dept/deptListForCompany"
,{
isStoreGroup
:
0
}).
then
(
function
(
t
){
var
i
=
[],
a
=
[];
1
==
t
.
data
.
errorCode
&&
(
i
=
t
.
data
.
result
.
departmentList
||
[],
a
=
t
.
data
.
result
.
searchList
||
[]),
e
.
treeData
=
{
treeData
:
i
,
personData
:
a
},
e
.
disabled
=!
1
}).
catch
(
function
(
e
){})},
callSelector
:
function
(){
this
.
$refs
.
departmentSelector
.
treeSet
.
dialogVisible
=!
0
},
callStoreSelector
:
function
(){
this
.
$refs
.
storeSelector
.
treeSet
.
dialogVisible
=!
0
},
showExportSet
:
function
(){
if
(
this
.
isUnEmployee
){
var
e
=
window
.
location
.
origin
;
-
1
!=
e
.
indexOf
(
"localhost"
)
&&
(
e
=
"http://www.gicdev.com"
);
var
t
=
0
==
this
.
clerkType
?
""
:
this
.
clerkType
;
location
.
href
=
e
+
"/haoban-manage-web/record/export-fire-employee-record?clerkType="
+
t
+
"&sortType="
+
this
.
sortType
+
"&sortColumn="
+
this
.
sortColumn
+
"&startDate="
+
this
.
startDate
+
"&endDate="
+
this
.
endDate
+
"&searchParam="
+
this
.
searchParam
+
"&chooseClerkIdList="
+
this
.
chooseClerkIdList
.
join
(
","
)
+
"&chooseGroupIdList="
+
this
.
chooseGroupIdList
.
join
(
","
)
+
"&chooseStoreIdList="
+
this
.
chooseStoreIdList
.
join
(
","
)}
else
this
.
$emit
(
"showExportSetFn"
)},
handleSelectedList
:
function
(
e
){
this
.
adDefaultSelection
=
e
,
this
.
adList
=
e
;
var
t
=
this
.
selectionList
.
concat
(
e
);
this
.
selectionList
=
t
,
this
.
formatSelectionList
(
t
)},
handleStoreSelectedList
:
function
(
e
){
this
.
stList
=
e
;
var
t
=
this
.
selectionList
.
concat
(
e
);
this
.
selectionList
=
t
,
this
.
formatSelectionList
(
t
)},
formatSelectionList
:
function
(
e
){
var
t
=
this
.
unique
(
e
);
this
.
selectionList
=
t
;
var
i
=
this
;
t
.
length
&&
(
i
.
chooseClerkIdList
=
[],
i
.
chooseStoreIdList
=
[],
i
.
chooseGroupIdList
=
[],
t
.
forEach
(
function
(
e
){
e
.
employeeClerkId
?
i
.
chooseClerkIdList
.
push
(
e
.
employeeClerkId
):
e
.
storeId
?
i
.
chooseStoreIdList
.
push
(
e
.
storeId
):
e
.
groupId
&&
i
.
chooseGroupIdList
.
push
(
e
.
groupId
)}),
i
.
getEmloyeeList
())},
unique
:
function
(
e
){
var
t
=
{};
return
e
.
forEach
(
function
(
e
){
t
[
l
()(
e
)]
=
e
}),
e
=
o
()(
t
).
map
(
function
(
e
){
return
JSON
.
parse
(
e
)})},
delSld
:
function
(
e
,
t
){
var
i
=
this
,
a
=
this
.
selectionList
.
indexOf
(
e
);
this
.
selectionList
.
splice
(
a
,
1
),
this
.
formatSelectionList
(
this
.
selectionList
),
i
.
adList
.
forEach
(
function
(
t
){
t
.
id
==
e
.
id
&&
i
.
adList
.
splice
(
i
.
adList
.
indexOf
(
t
),
1
)}),
i
.
changed
+=
1
,
i
.
adDefaultSelection
=
i
.
adList
.
slice
(
0
)},
handleSuccess
:
function
(){
this
.
dialogVisible
=!
1
,
this
.
getEmloyeeList
()},
callHandle
:
function
(
e
,
t
,
i
){
this
.
handleType
=
t
,
this
.
employeeObj
=
e
,
this
.
typeTitle
=
i
,
this
.
dialogVisible
=!
0
},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getEmloyeeList
()},
handleCurrentChange
:
function
(
e
){
this
.
pageNum
=
e
,
this
.
getEmloyeeList
()},
sortList
:
function
(
e
){
this
.
sortColumn
=
e
.
prop
,
this
.
sortType
=
"descending"
==
e
.
order
?
"desc"
:
"asc"
,
this
.
getEmloyeeList
()},
reGetList
:
function
(){
this
.
getEmloyeeList
()},
getEmloyeeList
:
function
(){
var
e
=
this
,
t
=
e
.
isUnEmployee
,
i
=
t
?
"/haoban-manage-web/record/find-fire-employee-record-page"
:
"/haoban-manage-web/record/find-on-work-employee-record-page"
,
a
=
{
pageNum
:
e
.
pageNum
,
chooseClerkIdList
:
e
.
chooseClerkIdList
.
join
(
","
),
chooseGroupIdList
:
e
.
chooseGroupIdList
.
join
(
","
),
chooseStoreIdList
:
e
.
chooseStoreIdList
.
join
(
","
),
pageSize
:
e
.
pageSize
,
sortType
:
e
.
sortType
,
clerkStatus
:
0
==
e
.
clerkStatus
?
""
:
e
.
clerkStatus
,
sortColumn
:
e
.
sortColumn
,
clerkType
:
0
==
e
.
clerkType
?
""
:
e
.
clerkType
,
startDate
:
e
.
startDate
,
endDate
:
e
.
endDate
,
searchParam
:
e
.
searchParam
};
Object
(
n
.
a
)(
i
,
a
).
then
(
function
(
i
){
1
==
i
.
data
.
errorCode
?(
e
.
employeeList
=
i
.
data
.
result
.
list
,
e
.
total
=
t
?
i
.
data
.
result
.
total
:
i
.
data
.
result
.
pageInfo
.
total
):
e
.
$message
.
error
({
message
:
i
.
data
.
message
})}).
catch
(
function
(
t
){
e
.
$message
({
message
:
t
.
message
})})},
selectDate
:
function
(
e
){
e
?(
this
.
startDate
=
e
[
0
],
this
.
endDate
=
e
[
1
]):(
this
.
startDate
=
""
,
this
.
endDate
=
""
),
this
.
getEmloyeeList
()}},
beforeMount
:
function
(){
this
.
getEmloyeeList
(),
this
.
getGroupData
()},
computed
:{
propList
:
function
(){
return
this
.
isUnEmployee
?[
"headPic"
,
"clerkName"
,
"clerkPhone"
,
"groupName"
,
"clerkCode"
,
"positionName"
,
"clerkType"
,
"hireDate"
,
"fireDate"
,
"fireReason"
,
"handleUnEmployee"
]:[
"headPic"
,
"clerkName"
,
"clerkPhone"
,
"groupName"
,
"clerkCode"
,
"positionName"
,
"clerkType"
,
"hireDate"
,
"correctionDate"
,
"handleEmployee"
]}}},
y
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"div"
,{
staticClass
:
"e-r-l-container"
},[
i
(
"div"
,{
staticClass
:
"handle-area"
},[
i
(
"div"
,{
staticClass
:
"flex1"
},[
i
(
"el-button"
,{
staticStyle
:{
"margin-right"
:
"10px"
,
height
:
"32px"
},
attrs
:{
disabled
:
e
.
disabled
},
on
:{
click
:
e
.
callSelector
}},[
e
.
_v
(
"行政架构选人"
)]),
e
.
_v
(
" "
),
i
(
"el-button"
,{
staticStyle
:{
"margin-right"
:
"10px"
,
height
:
"32px"
},
on
:{
click
:
e
.
callStoreSelector
}},[
e
.
_v
(
"门店架构选人"
)]),
e
.
_v
(
" "
),
e
.
isUnEmployee
?
i
(
"div"
,{
staticClass
:
"block"
},[
i
(
"span"
,{
staticClass
:
"demonstration"
},[
e
.
_v
(
"离职日期"
)]),
e
.
_v
(
" "
),
i
(
"el-date-picker"
,{
attrs
:{
type
:
"daterange"
,
align
:
"right"
,
"value-format"
:
"yyyy-MM-dd"
,
"unlink-panels"
:
""
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
,
"picker-options"
:
e
.
pickerOptions2
},
on
:{
change
:
e
.
selectDate
},
model
:{
value
:
e
.
fireDate
,
callback
:
function
(
t
){
e
.
fireDate
=
t
},
expression
:
"fireDate"
}})],
1
):[
i
(
"el-select"
,{
staticClass
:
"m-r-10 w-130"
,
attrs
:{
placeholder
:
"选择类型"
},
on
:{
change
:
e
.
reGetList
},
model
:{
value
:
e
.
clerkType
,
callback
:
function
(
t
){
e
.
clerkType
=
t
},
expression
:
"clerkType"
}},
e
.
_l
(
e
.
typeLsit
,
function
(
e
,
t
){
return
i
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
,
value
:
t
}})})),
e
.
_v
(
" "
),
i
(
"el-select"
,{
staticClass
:
"w-130"
,
attrs
:{
placeholder
:
"选择状态"
},
on
:{
change
:
e
.
reGetList
},
model
:{
value
:
e
.
clerkStatus
,
callback
:
function
(
t
){
e
.
clerkStatus
=
t
},
expression
:
"clerkStatus"
}},
e
.
_l
(
e
.
statusList
,
function
(
e
,
t
){
return
i
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
,
value
:
t
}})}))],
e
.
_v
(
" "
),
i
(
"el-input"
,{
staticStyle
:{
width
:
"218px"
,
"margin-left"
:
"10px"
},
attrs
:{
placeholder
:
"请输入姓名或手机号"
,
clearable
:
""
},
on
:{
clear
:
e
.
searchFn
},
nativeOn
:{
keyup
:
function
(
t
){
return
"button"
in
t
||!
e
.
_k
(
t
.
keyCode
,
"enter"
,
13
,
t
.
key
,
"Enter"
)?
e
.
searchFn
(
t
):
null
}},
model
:{
value
:
e
.
searchParam
,
callback
:
function
(
t
){
e
.
searchParam
=
t
},
expression
:
"searchParam"
}})],
2
),
e
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
showExportSet
}},[
e
.
_v
(
"导出"
),
i
(
"i"
,{
staticClass
:
"el-icon-upload el-icon--right"
})])],
1
),
e
.
_v
(
" "
),
e
.
selectionList
.
length
>
0
?
i
(
"ul"
,{
staticClass
:
"selector-selected-list"
},[
e
.
_l
(
e
.
selectionList
,
function
(
t
,
a
){
return
[
i
(
"li"
,{
key
:
a
+
t
.
id
+
t
.
label
,
staticClass
:
"sld"
},[
e
.
_v
(
e
.
_s
(
t
.
label
)
+
" "
),
i
(
"i"
,{
staticClass
:
"el-icon-close"
,
on
:{
click
:
function
(
i
){
e
.
delSld
(
t
,
t
.
isStoreGroup
)}}})])]}),
e
.
_v
(
" "
),
i
(
"li"
,{
staticClass
:
"sld tip"
},[
e
.
_v
(
"共筛选出"
+
e
.
_s
(
e
.
total
)
+
"人"
)])],
2
):
e
.
_e
(),
e
.
_v
(
" "
),
i
(
"el-table"
,{
staticClass
:
"list-table"
,
attrs
:{
height
:
e
.
employeeList
.
length
?
e
.
tableH
:
"auto"
,
data
:
e
.
employeeList
,
"default-sort"
:{
prop
:
"hireDate"
,
order
:
"descending"
}},
on
:{
"sort-change"
:
e
.
sortList
}},[
e
.
_l
(
e
.
propList
,
function
(
t
){
return
[
i
(
"list-item"
,{
key
:
t
,
attrs
:{
item
:
t
},
on
:{
callHandle
:
e
.
callHandle
}})]})],
2
),
e
.
_v
(
" "
),
e
.
employeeList
.
length
?
i
(
"el-pagination"
,{
staticClass
:
"pagination"
,
attrs
:{
background
:
""
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
e
.
pageSize
,
"current-page"
:
e
.
pageNum
,
layout
:
"total, sizes, prev, pager, next"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}}):
e
.
_e
(),
e
.
_v
(
" "
),
i
(
"el-dialog"
,{
attrs
:{
title
:
e
.
typeTitle
,
visible
:
e
.
dialogVisible
,
width
:
"480px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
dialogVisible
=
t
}}},[
i
(
"handle-dialog"
,{
attrs
:{
employee
:
e
.
employeeObj
,
handleType
:
e
.
handleType
,
typeTitle
:
e
.
typeTitle
},
on
:{
handleSuccess
:
e
.
handleSuccess
}})],
1
),
e
.
_v
(
" "
),
i
(
"vue-select-store"
,{
ref
:
"storeSelector"
,
on
:{
handleSelectedList
:
e
.
handleStoreSelectedList
}}),
e
.
_v
(
" "
),
i
(
"vue-select-employee"
,{
ref
:
"departmentSelector"
,
attrs
:{
changed
:
e
.
changed
,
treeData
:
e
.
treeData
,
defaultSelection
:
e
.
adDefaultSelection
},
on
:{
handleSelectedList
:
e
.
handleSelectedList
}})],
1
)},
staticRenderFns
:[]};
var
g
=
i
(
"VU/8"
)(
f
,
y
,
!
1
,
function
(
e
){
i
(
"K4Vl"
)},
null
,
null
);
t
.
a
=
g
.
exports
},
TGrv
:
function
(
e
,
t
,
i
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
i
(
"3Xzz"
),
o
=
i
(
"NNAT"
),
s
=
{
name
:
"employeeRecord"
,
components
:{
navCrumb
:
a
.
a
,
employeeList
:
o
.
a
},
data
:
function
(){
return
{
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"企业通讯录"
,
path
:
"/administrativeFrame"
},{
name
:
"员工档案"
,
path
:
"/fileSet"
},{
name
:
"离职员工"
,
path
:
""
}],
typeObj
:{
onWorkCout
:
"在职员工"
,
allWorkCount
:
"全职"
,
partTimeWorkCount
:
"兼职"
,
outWorkCount
:
"外包"
,
practiceWorkCount
:
"实习"
,
noTypeWorkCount
:
"无类型"
,
regularCount
:
"正式"
,
onTrialCount
:
"试用"
,
noStatusCount
:
"无状态"
},
countObj
:{}}},
beforeMount
:
function
(){}},
l
=
{
render
:
function
(){
var
e
=
this
.
$createElement
,
t
=
this
.
_self
.
_c
||
e
;
return
t
(
"div"
,{
staticClass
:
"common-set-wrap"
},[
t
(
"nav-crumb"
,{
attrs
:{
navpath
:
this
.
navpath
}}),
this
.
_v
(
" "
),
t
(
"div"
,{
staticClass
:
"right-content"
},[
t
(
"div"
,{
staticClass
:
"right-box"
},[
t
(
"div"
,{
staticClass
:
"e-record-container"
},[
t
(
"employee-list"
,{
attrs
:{
isUnEmployee
:
!
0
}})],
1
)])]),
this
.
_v
(
" "
),
t
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
n
=
i
(
"VU/8"
)(
s
,
l
,
!
1
,
function
(
e
){
i
(
"xnej"
)},
null
,
null
);
t
.
default
=
n
.
exports
},
edn0
:
function
(
e
,
t
){},
xnej
:
function
(
e
,
t
){}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/1
4.c7093604e27c367303cf
.js
→
dist/static/js/1
5.b13b0c9736e097a6fc38
.js
View file @
1d1b13ed
webpackJsonp
([
14
],{
"6Aq2"
:
function
(
e
,
t
){},
HKlq
:
function
(
e
,
t
){},
n7j5
:
function
(
e
,
t
,
a
){
"use strict"
;
var
i
=
a
(
"mvHQ"
),
s
=
a
.
n
(
i
),
n
=
{
name
:
"select-area"
,
components
:{
vueSelectEmployee
:
a
(
"c4uw"
).
a
},
props
:{
treeData
:{
type
:
Object
,
default
:
function
(){
return
{}}},
butList
:{
type
:
Array
,
default
:
function
(){
return
[]}},
specialList
:{
type
:
Array
,
default
:
function
(){
return
[]}}},
data
:
function
(){
return
{
copyTreeData
:
JSON
.
parse
(
s
()(
this
.
treeData
))}},
methods
:{
delCurrent
:
function
(
e
,
t
){
var
a
=
this
[
t
];
a
.
splice
(
a
.
indexOf
(
e
),
1
)},
handleSelectedList
:
function
(
e
){
this
.
butList
=
e
},
callSelector
:
function
(
e
,
t
){
this
.
$emit
(
"callPerSelector"
,
e
,
t
)}}},
r
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"select-area"
},[
a
(
"div"
,{
staticClass
:
"setting-name"
},[
e
.
_v
(
"
\
n 个别员工不设置该权限
\
n "
)]),
e
.
_v
(
" "
),
a
(
"ul"
,{
staticClass
:
"particular-list"
},[
e
.
_l
(
e
.
butList
,
function
(
t
,
i
){
return
[
t
.
employeeClerkId
?
a
(
"li"
,{
key
:
i
+
"_"
+
t
.
employeeClerkId
,
staticClass
:
"item person-item"
},[
t
.
headPic
?
a
(
"img"
,{
attrs
:{
src
:
t
.
headPic
}}):
a
(
"div"
,{
staticClass
:
"replace-head-img"
},[
a
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})]),
e
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"name"
},[
e
.
_v
(
e
.
_s
(
t
.
label
))]),
e
.
_v
(
" "
),
a
(
"i"
,{
staticClass
:
"el-icon-circle-close"
,
on
:{
click
:
function
(
a
){
e
.
delCurrent
(
t
,
"butList"
)}}})]):
a
(
"li"
,{
key
:
i
+
"_"
+
t
.
groupId
,
staticClass
:
"item group-item"
},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
label
)
+
"
\
n "
),
a
(
"i"
,{
staticClass
:
"el-icon-circle-close"
,
on
:{
click
:
function
(
a
){
e
.
delCurrent
(
t
,
"butList"
)}}})])]}),
e
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"item J_add-btn"
,
on
:{
click
:
function
(
t
){
e
.
callSelector
(
"but"
,
e
.
butList
)}}},[
a
(
"i"
,{
staticClass
:
"el-icon-plus"
})])],
2
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"setting-name"
},[
e
.
_v
(
"
\
n 允许指定部门/人员可见
\
n "
)]),
e
.
_v
(
" "
),
a
(
"ul"
,{
staticClass
:
"particular-list"
},[
e
.
_l
(
e
.
specialList
,
function
(
t
,
i
){
return
[
t
.
employeeClerkId
?
a
(
"li"
,{
key
:
i
+
"_"
+
t
.
employeeClerkId
,
staticClass
:
"item person-item"
},[
t
.
headPic
?
a
(
"img"
,{
attrs
:{
src
:
t
.
headPic
}}):
a
(
"div"
,{
staticClass
:
"replace-head-img"
},[
a
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})]),
e
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"name"
},[
e
.
_v
(
e
.
_s
(
t
.
label
))]),
e
.
_v
(
" "
),
a
(
"i"
,{
staticClass
:
"el-icon-circle-close"
,
on
:{
click
:
function
(
a
){
e
.
delCurrent
(
t
,
"specialList"
)}}})]):
a
(
"li"
,{
key
:
i
+
"_"
+
t
.
groupId
,
staticClass
:
"item group-item"
},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
label
)
+
"
\
n "
),
a
(
"i"
,{
staticClass
:
"el-icon-circle-close"
,
on
:{
click
:
function
(
a
){
e
.
delCurrent
(
t
,
"specialList"
)}}})])]}),
e
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"item J_add-btn"
,
on
:{
click
:
function
(
t
){
e
.
callSelector
(
"special"
,
e
.
specialList
)}}},[
a
(
"i"
,{
staticClass
:
"el-icon-plus"
})])],
2
)])},
staticRenderFns
:[]};
var
l
=
{
name
:
"permissionSetting"
,
components
:{
selectArea
:
a
(
"VU/8"
)(
n
,
r
,
!
1
,
function
(
e
){
a
(
"HKlq"
)},
null
,
null
).
exports
},
props
:{
butList
:{
type
:
Array
,
default
:
function
(){
return
[]}},
specialList
:{
type
:
Array
,
default
:
function
(){
return
[]}},
selfButList
:{
type
:
Array
,
default
:
function
(){
return
[]}},
selfSpecialList
:{
type
:
Array
,
default
:
function
(){
return
[]}},
visibleSpecialLsit
:{
type
:
Array
,
default
:
function
(){
return
[]}},
onlySelfApartList
:{
type
:
Array
,
default
:
function
(){
return
[]}},
treeData
:{
type
:
Object
,
default
:
function
(){
return
{}}},
departInfo
:{
type
:
Object
,
default
:
function
(){
return
{}}}},
data
:
function
(){
return
{
visibleThere
:
!
1
,
visibleSelf
:
!
1
}},
methods
:{
switchPermission
:
function
(
e
,
t
,
a
){
e
&&
(
this
[
a
]
=!
e
),
this
.
visibleSelf
?
this
.
departInfo
.
type
=
2
:
this
.
visibleThere
?
this
.
departInfo
.
type
=
1
:
this
.
departInfo
.
type
=
""
},
callPerSelector
:
function
(
e
,
t
){
this
.
$emit
(
"callPerSelector"
,
e
,
t
)}},
mounted
:
function
(){
var
e
=
this
.
departInfo
.
type
;
this
.
visibleThere
=!
(
1
!=
e
),
this
.
visibleSelf
=!
(
2
!=
e
)},
watch
:{
departInfo
:{
handler
:
function
(
e
,
t
){
var
a
=
e
.
type
;
this
.
visibleThere
=!
(
1
!=
a
),
this
.
visibleSelf
=!
(
2
!=
a
)},
deep
:
!
0
}}},
o
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"jurisdiction-setting"
},[
a
(
"div"
,{
staticClass
:
"only-visivble-there permission-div"
},[
a
(
"div"
,{
staticClass
:
"permission-div-title"
},[
a
(
"span"
,[
e
.
_v
(
"本部门员工仅可见本部门员工"
)]),
e
.
_v
(
" "
),
a
(
"el-switch"
,{
attrs
:{
"active-color"
:
"#409EFF"
,
"inactive-color"
:
"#DCDFE6"
},
on
:{
change
:
function
(
t
){
e
.
switchPermission
(
e
.
visibleThere
,
"visibleThere"
,
"visibleSelf"
)}},
model
:{
value
:
e
.
visibleThere
,
callback
:
function
(
t
){
e
.
visibleThere
=
t
},
expression
:
"visibleThere"
}})],
1
),
e
.
_v
(
" "
),
e
.
visibleThere
?
a
(
"div"
,{
staticClass
:
"particular-setting"
},[
a
(
"select-area"
,{
attrs
:{
treeData
:
e
.
treeData
,
butList
:
e
.
butList
,
specialList
:
e
.
specialList
},
on
:{
callPerSelector
:
e
.
callPerSelector
}})],
1
):
e
.
_e
()]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"only-visivble-self permission-div"
},[
a
(
"div"
,{
staticClass
:
"permission-div-title"
},[
a
(
"span"
,[
e
.
_v
(
"本部门员工仅可见自己"
)]),
e
.
_v
(
" "
),
a
(
"el-switch"
,{
attrs
:{
"active-color"
:
"#409EFF"
,
"inactive-color"
:
"#DCDFE6"
},
on
:{
change
:
function
(
t
){
e
.
switchPermission
(
e
.
visibleSelf
,
"visibleSelf"
,
"visibleThere"
)}},
model
:{
value
:
e
.
visibleSelf
,
callback
:
function
(
t
){
e
.
visibleSelf
=
t
},
expression
:
"visibleSelf"
}})],
1
),
e
.
_v
(
" "
),
e
.
visibleSelf
?
a
(
"div"
,{
staticClass
:
"particular-setting"
},[
a
(
"select-area"
,{
attrs
:{
treeData
:
e
.
treeData
,
butList
:
e
.
selfButList
,
specialList
:
e
.
selfSpecialList
},
on
:{
callPerSelector
:
e
.
callPerSelector
}})],
1
):
e
.
_e
()])])},
staticRenderFns
:[]};
var
c
=
a
(
"VU/8"
)(
l
,
o
,
!
1
,
function
(
e
){
a
(
"wVEX"
)},
null
,
null
);
t
.
a
=
c
.
exports
},
q5Ri
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
i
=
a
(
"n7j5"
),
s
=
a
(
"c4uw"
),
n
=
a
(
"P9l9"
),
r
=
{
name
:
"addDepartment"
,
components
:{
permissionSetting
:
i
.
a
,
vueSelectEmployee
:
s
.
a
},
data
:
function
(){
return
{
departInfo
:{
name
:
""
,
parentName
:
""
,
parentId
:
""
},
testList
:[],
treeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
0
},
rules
:{
name
:[{
required
:
!
0
,
message
:
"请输入部门名称"
,
trigger
:
"blur"
},{
min
:
1
,
max
:
20
,
message
:
"长度在 1 到 20 个字符"
,
trigger
:
"blur"
}],
parentId
:[{
required
:
!
0
,
message
:
"请选择父级部门"
,
trigger
:
"change"
}]},
treeData
:{},
disabled
:
!
0
,
defaultSelection
:[],
defaultParent
:[],
selectorType
:
"parent"
,
changed
:
"parent"
,
onlyPerson
:
!
1
,
onlyGroup
:[]}},
methods
:{
getDepartInfo
:
function
(){
var
e
=
this
,
t
=
{
groupId
:
e
.
$route
.
query
.
departmentId
};
Object
(
n
.
a
)(
"/haoban-manage-web/dept/findDeptById"
,
t
).
then
(
function
(
t
){
if
(
1
==
t
.
data
.
errorCode
){
e
.
departInfo
.
name
=
t
.
data
.
result
.
name
,
e
.
departInfo
.
parentId
=
t
.
data
.
result
.
parentId
;
var
a
=
t
.
data
.
result
.
chainName
.
split
(
"/"
),
i
=
a
.
length
;
e
.
departInfo
.
parentName
=
1
==
i
?
""
:
a
[
i
-
2
],
e
.
defaultParent
=
[{
label
:
e
.
departInfo
.
parentName
,
id
:
t
.
data
.
result
.
parentId
,
groupId
:
t
.
data
.
result
.
parentId
}]}
else
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
data
.
message
})}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
callGroupSelector
:
function
(){
this
.
selectorType
=
"parent"
,
this
.
defaultSelection
=
this
.
defaultParent
,
this
.
onlyPerson
=!
1
,
this
.
onlyGroup
=
[],
this
.
changed
=
"parent"
,
this
.
treeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
0
,
isSelectPerson
:
!
1
}},
callPerSelector
:
function
(
e
,
t
){
this
.
selectorType
=
e
,
this
.
defaultSelection
=
t
,
this
.
onlyPerson
=!
0
,
this
.
onlyGroup
=
[
this
.
$route
.
query
.
departmentId
],
this
.
changed
=
e
,
this
.
treeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
1
,
isSelectPerson
:
!
0
}},
handleSelectedList
:
function
(
e
){
this
.
departInfo
.
parentId
=
e
?
e
.
id
:
""
,
this
.
departInfo
.
parentName
=
e
?
e
.
label
:
""
},
saveEdit
:
function
(){
var
e
=
this
,
t
=
arguments
.
length
>
0
&&
void
0
!==
arguments
[
0
]?
arguments
[
0
]:
""
;
this
.
$refs
.
departForm
.
validate
(
function
(
a
){
if
(
!
a
)
return
!
1
;
var
i
=
e
,
s
=
{
parentId
:
i
.
departInfo
.
parentId
,
name
:
i
.
departInfo
.
name
};
Object
(
n
.
a
)(
"/haoban-manage-web/dept/insert"
,
s
).
then
(
function
(
e
){
1
==
e
.
data
.
errorCode
?(
i
.
$message
.
success
({
duration
:
1
e3
,
message
:
"操作成功!"
}),
"continue"
==
t
?(
i
.
departInfo
=
{
name
:
""
,
parentName
:
""
,
parentId
:
""
},
i
.
disabled
=!
0
,
i
.
getGroupData
()):
window
.
history
.
go
(
-
1
)):
i
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
data
.
message
})}).
catch
(
function
(
e
){
i
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})})},
getGroupData
:
function
(){
var
e
=
this
;
Object
(
n
.
a
)(
"/haoban-manage-web/dept/deptListForCompany"
,{
isStoreGroup
:
0
}).
then
(
function
(
t
){
var
a
=
[],
i
=
[];
1
==
t
.
data
.
errorCode
&&
(
a
=
t
.
data
.
result
.
departmentList
||
[],
i
=
t
.
data
.
result
.
searchList
||
[]),
e
.
treeData
=
{
treeData
:
a
,
personData
:
i
},
e
.
disabled
=!
1
}).
catch
(
function
(
e
){})},
cancel
:
function
(){
this
.
$confirm
(
" 是否确认取消,取消后当前页面信息将丢失 ?"
,
"提示"
,{
type
:
"warning"
}).
then
(
function
(){
window
.
history
.
go
(
-
1
)}).
catch
(
function
(
e
){})}},
beforeMount
:
function
(){
this
.
getGroupData
(),
this
.
isAddNew
||
this
.
getDepartInfo
()},
computed
:{
isAddNew
:
function
(){
return
!
(
1
!=
this
.
$route
.
query
.
addnew
)}}},
l
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"add-department-container"
},[
a
(
"div"
,{
staticClass
:
"setting-cell depart-info"
},[
a
(
"p"
,{
staticClass
:
"title"
},[
e
.
_v
(
"部门信息"
)]),
e
.
_v
(
" "
),
a
(
"el-form"
,{
ref
:
"departForm"
,
staticClass
:
"department-info-form"
,
attrs
:{
"label-position"
:
"right"
,
rules
:
e
.
rules
,
model
:
e
.
departInfo
,
"label-width"
:
"120px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"部门名称"
,
prop
:
"name"
}},[
a
(
"el-input"
,{
model
:{
value
:
e
.
departInfo
.
name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
departInfo
,
"name"
,
t
)},
expression
:
"departInfo.name"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"部门排序调整"
,
prop
:
"parentId"
}},[
a
(
"el-input"
,{
attrs
:{
disabled
:
e
.
disabled
,
"suffix-icon"
:
"el-icon-arrow-down"
},
on
:{
focus
:
e
.
callGroupSelector
},
model
:{
value
:
e
.
departInfo
.
parentName
,
callback
:
function
(
t
){
e
.
$set
(
e
.
departInfo
,
"parentName"
,
t
)},
expression
:
"departInfo.parentName"
}})],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"vue-select-employee"
,{
attrs
:{
defaultSelection
:
e
.
defaultSelection
,
treeSet
:
e
.
treeSet
,
treeData
:
e
.
treeData
},
on
:{
handleSelectedList
:
e
.
handleSelectedList
}})],
1
)},
staticRenderFns
:[]};
var
o
=
a
(
"VU/8"
)(
r
,
l
,
!
1
,
function
(
e
){
a
(
"6Aq2"
)},
null
,
null
);
t
.
default
=
o
.
exports
},
wVEX
:
function
(
e
,
t
){}});
webpackJsonp
([
15
],{
"6Aq2"
:
function
(
e
,
t
){},
HKlq
:
function
(
e
,
t
){},
n7j5
:
function
(
e
,
t
,
a
){
"use strict"
;
var
i
=
a
(
"mvHQ"
),
s
=
a
.
n
(
i
),
n
=
{
name
:
"select-area"
,
components
:{
vueSelectEmployee
:
a
(
"c4uw"
).
a
},
props
:{
treeData
:{
type
:
Object
,
default
:
function
(){
return
{}}},
butList
:{
type
:
Array
,
default
:
function
(){
return
[]}},
specialList
:{
type
:
Array
,
default
:
function
(){
return
[]}}},
data
:
function
(){
return
{
copyTreeData
:
JSON
.
parse
(
s
()(
this
.
treeData
))}},
methods
:{
delCurrent
:
function
(
e
,
t
){
var
a
=
this
[
t
];
a
.
splice
(
a
.
indexOf
(
e
),
1
)},
handleSelectedList
:
function
(
e
){
this
.
butList
=
e
},
callSelector
:
function
(
e
,
t
){
this
.
$emit
(
"callPerSelector"
,
e
,
t
)}}},
r
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"select-area"
},[
a
(
"div"
,{
staticClass
:
"setting-name"
},[
e
.
_v
(
"
\
n 个别员工不设置该权限
\
n "
)]),
e
.
_v
(
" "
),
a
(
"ul"
,{
staticClass
:
"particular-list"
},[
e
.
_l
(
e
.
butList
,
function
(
t
,
i
){
return
[
t
.
employeeClerkId
?
a
(
"li"
,{
key
:
i
+
"_"
+
t
.
employeeClerkId
,
staticClass
:
"item person-item"
},[
t
.
headPic
?
a
(
"img"
,{
attrs
:{
src
:
t
.
headPic
}}):
a
(
"div"
,{
staticClass
:
"replace-head-img"
},[
a
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})]),
e
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"name"
},[
e
.
_v
(
e
.
_s
(
t
.
label
))]),
e
.
_v
(
" "
),
a
(
"i"
,{
staticClass
:
"el-icon-circle-close"
,
on
:{
click
:
function
(
a
){
e
.
delCurrent
(
t
,
"butList"
)}}})]):
a
(
"li"
,{
key
:
i
+
"_"
+
t
.
groupId
,
staticClass
:
"item group-item"
},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
label
)
+
"
\
n "
),
a
(
"i"
,{
staticClass
:
"el-icon-circle-close"
,
on
:{
click
:
function
(
a
){
e
.
delCurrent
(
t
,
"butList"
)}}})])]}),
e
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"item J_add-btn"
,
on
:{
click
:
function
(
t
){
e
.
callSelector
(
"but"
,
e
.
butList
)}}},[
a
(
"i"
,{
staticClass
:
"el-icon-plus"
})])],
2
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"setting-name"
},[
e
.
_v
(
"
\
n 允许指定部门/人员可见
\
n "
)]),
e
.
_v
(
" "
),
a
(
"ul"
,{
staticClass
:
"particular-list"
},[
e
.
_l
(
e
.
specialList
,
function
(
t
,
i
){
return
[
t
.
employeeClerkId
?
a
(
"li"
,{
key
:
i
+
"_"
+
t
.
employeeClerkId
,
staticClass
:
"item person-item"
},[
t
.
headPic
?
a
(
"img"
,{
attrs
:{
src
:
t
.
headPic
}}):
a
(
"div"
,{
staticClass
:
"replace-head-img"
},[
a
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})]),
e
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"name"
},[
e
.
_v
(
e
.
_s
(
t
.
label
))]),
e
.
_v
(
" "
),
a
(
"i"
,{
staticClass
:
"el-icon-circle-close"
,
on
:{
click
:
function
(
a
){
e
.
delCurrent
(
t
,
"specialList"
)}}})]):
a
(
"li"
,{
key
:
i
+
"_"
+
t
.
groupId
,
staticClass
:
"item group-item"
},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
label
)
+
"
\
n "
),
a
(
"i"
,{
staticClass
:
"el-icon-circle-close"
,
on
:{
click
:
function
(
a
){
e
.
delCurrent
(
t
,
"specialList"
)}}})])]}),
e
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"item J_add-btn"
,
on
:{
click
:
function
(
t
){
e
.
callSelector
(
"special"
,
e
.
specialList
)}}},[
a
(
"i"
,{
staticClass
:
"el-icon-plus"
})])],
2
)])},
staticRenderFns
:[]};
var
l
=
{
name
:
"permissionSetting"
,
components
:{
selectArea
:
a
(
"VU/8"
)(
n
,
r
,
!
1
,
function
(
e
){
a
(
"HKlq"
)},
null
,
null
).
exports
},
props
:{
butList
:{
type
:
Array
,
default
:
function
(){
return
[]}},
specialList
:{
type
:
Array
,
default
:
function
(){
return
[]}},
selfButList
:{
type
:
Array
,
default
:
function
(){
return
[]}},
selfSpecialList
:{
type
:
Array
,
default
:
function
(){
return
[]}},
visibleSpecialLsit
:{
type
:
Array
,
default
:
function
(){
return
[]}},
onlySelfApartList
:{
type
:
Array
,
default
:
function
(){
return
[]}},
treeData
:{
type
:
Object
,
default
:
function
(){
return
{}}},
departInfo
:{
type
:
Object
,
default
:
function
(){
return
{}}}},
data
:
function
(){
return
{
visibleThere
:
!
1
,
visibleSelf
:
!
1
}},
methods
:{
switchPermission
:
function
(
e
,
t
,
a
){
e
&&
(
this
[
a
]
=!
e
),
this
.
visibleSelf
?
this
.
departInfo
.
type
=
2
:
this
.
visibleThere
?
this
.
departInfo
.
type
=
1
:
this
.
departInfo
.
type
=
""
},
callPerSelector
:
function
(
e
,
t
){
this
.
$emit
(
"callPerSelector"
,
e
,
t
)}},
mounted
:
function
(){
var
e
=
this
.
departInfo
.
type
;
this
.
visibleThere
=!
(
1
!=
e
),
this
.
visibleSelf
=!
(
2
!=
e
)},
watch
:{
departInfo
:{
handler
:
function
(
e
,
t
){
var
a
=
e
.
type
;
this
.
visibleThere
=!
(
1
!=
a
),
this
.
visibleSelf
=!
(
2
!=
a
)},
deep
:
!
0
}}},
o
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"jurisdiction-setting"
},[
a
(
"div"
,{
staticClass
:
"only-visivble-there permission-div"
},[
a
(
"div"
,{
staticClass
:
"permission-div-title"
},[
a
(
"span"
,[
e
.
_v
(
"本部门员工仅可见本部门员工"
)]),
e
.
_v
(
" "
),
a
(
"el-switch"
,{
attrs
:{
"active-color"
:
"#409EFF"
,
"inactive-color"
:
"#DCDFE6"
},
on
:{
change
:
function
(
t
){
e
.
switchPermission
(
e
.
visibleThere
,
"visibleThere"
,
"visibleSelf"
)}},
model
:{
value
:
e
.
visibleThere
,
callback
:
function
(
t
){
e
.
visibleThere
=
t
},
expression
:
"visibleThere"
}})],
1
),
e
.
_v
(
" "
),
e
.
visibleThere
?
a
(
"div"
,{
staticClass
:
"particular-setting"
},[
a
(
"select-area"
,{
attrs
:{
treeData
:
e
.
treeData
,
butList
:
e
.
butList
,
specialList
:
e
.
specialList
},
on
:{
callPerSelector
:
e
.
callPerSelector
}})],
1
):
e
.
_e
()]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"only-visivble-self permission-div"
},[
a
(
"div"
,{
staticClass
:
"permission-div-title"
},[
a
(
"span"
,[
e
.
_v
(
"本部门员工仅可见自己"
)]),
e
.
_v
(
" "
),
a
(
"el-switch"
,{
attrs
:{
"active-color"
:
"#409EFF"
,
"inactive-color"
:
"#DCDFE6"
},
on
:{
change
:
function
(
t
){
e
.
switchPermission
(
e
.
visibleSelf
,
"visibleSelf"
,
"visibleThere"
)}},
model
:{
value
:
e
.
visibleSelf
,
callback
:
function
(
t
){
e
.
visibleSelf
=
t
},
expression
:
"visibleSelf"
}})],
1
),
e
.
_v
(
" "
),
e
.
visibleSelf
?
a
(
"div"
,{
staticClass
:
"particular-setting"
},[
a
(
"select-area"
,{
attrs
:{
treeData
:
e
.
treeData
,
butList
:
e
.
selfButList
,
specialList
:
e
.
selfSpecialList
},
on
:{
callPerSelector
:
e
.
callPerSelector
}})],
1
):
e
.
_e
()])])},
staticRenderFns
:[]};
var
c
=
a
(
"VU/8"
)(
l
,
o
,
!
1
,
function
(
e
){
a
(
"wVEX"
)},
null
,
null
);
t
.
a
=
c
.
exports
},
q5Ri
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
i
=
a
(
"n7j5"
),
s
=
a
(
"c4uw"
),
n
=
a
(
"P9l9"
),
r
=
{
name
:
"addDepartment"
,
components
:{
permissionSetting
:
i
.
a
,
vueSelectEmployee
:
s
.
a
},
data
:
function
(){
return
{
departInfo
:{
name
:
""
,
parentName
:
""
,
parentId
:
""
},
testList
:[],
treeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
0
},
rules
:{
name
:[{
required
:
!
0
,
message
:
"请输入部门名称"
,
trigger
:
"blur"
},{
min
:
1
,
max
:
20
,
message
:
"长度在 1 到 20 个字符"
,
trigger
:
"blur"
}],
parentId
:[{
required
:
!
0
,
message
:
"请选择父级部门"
,
trigger
:
"change"
}]},
treeData
:{},
disabled
:
!
0
,
defaultSelection
:[],
defaultParent
:[],
selectorType
:
"parent"
,
changed
:
"parent"
,
onlyPerson
:
!
1
,
onlyGroup
:[]}},
methods
:{
getDepartInfo
:
function
(){
var
e
=
this
,
t
=
{
groupId
:
e
.
$route
.
query
.
departmentId
};
Object
(
n
.
a
)(
"/haoban-manage-web/dept/findDeptById"
,
t
).
then
(
function
(
t
){
if
(
1
==
t
.
data
.
errorCode
){
e
.
departInfo
.
name
=
t
.
data
.
result
.
name
,
e
.
departInfo
.
parentId
=
t
.
data
.
result
.
parentId
;
var
a
=
t
.
data
.
result
.
chainName
.
split
(
"/"
),
i
=
a
.
length
;
e
.
departInfo
.
parentName
=
1
==
i
?
""
:
a
[
i
-
2
],
e
.
defaultParent
=
[{
label
:
e
.
departInfo
.
parentName
,
id
:
t
.
data
.
result
.
parentId
,
groupId
:
t
.
data
.
result
.
parentId
}]}
else
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
data
.
message
})}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
callGroupSelector
:
function
(){
this
.
selectorType
=
"parent"
,
this
.
defaultSelection
=
this
.
defaultParent
,
this
.
onlyPerson
=!
1
,
this
.
onlyGroup
=
[],
this
.
changed
=
"parent"
,
this
.
treeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
0
,
isSelectPerson
:
!
1
}},
callPerSelector
:
function
(
e
,
t
){
this
.
selectorType
=
e
,
this
.
defaultSelection
=
t
,
this
.
onlyPerson
=!
0
,
this
.
onlyGroup
=
[
this
.
$route
.
query
.
departmentId
],
this
.
changed
=
e
,
this
.
treeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
1
,
isSelectPerson
:
!
0
}},
handleSelectedList
:
function
(
e
){
this
.
departInfo
.
parentId
=
e
?
e
.
id
:
""
,
this
.
departInfo
.
parentName
=
e
?
e
.
label
:
""
},
saveEdit
:
function
(){
var
e
=
this
,
t
=
arguments
.
length
>
0
&&
void
0
!==
arguments
[
0
]?
arguments
[
0
]:
""
;
this
.
$refs
.
departForm
.
validate
(
function
(
a
){
if
(
!
a
)
return
!
1
;
var
i
=
e
,
s
=
{
parentId
:
i
.
departInfo
.
parentId
,
name
:
i
.
departInfo
.
name
};
Object
(
n
.
a
)(
"/haoban-manage-web/dept/insert"
,
s
).
then
(
function
(
e
){
1
==
e
.
data
.
errorCode
?(
i
.
$message
.
success
({
duration
:
1
e3
,
message
:
"操作成功!"
}),
"continue"
==
t
?(
i
.
departInfo
=
{
name
:
""
,
parentName
:
""
,
parentId
:
""
},
i
.
disabled
=!
0
,
i
.
getGroupData
()):
window
.
history
.
go
(
-
1
)):
i
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
data
.
message
})}).
catch
(
function
(
e
){
i
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})})},
getGroupData
:
function
(){
var
e
=
this
;
Object
(
n
.
a
)(
"/haoban-manage-web/dept/deptListForCompany"
,{
isStoreGroup
:
0
}).
then
(
function
(
t
){
var
a
=
[],
i
=
[];
1
==
t
.
data
.
errorCode
&&
(
a
=
t
.
data
.
result
.
departmentList
||
[],
i
=
t
.
data
.
result
.
searchList
||
[]),
e
.
treeData
=
{
treeData
:
a
,
personData
:
i
},
e
.
disabled
=!
1
}).
catch
(
function
(
e
){})},
cancel
:
function
(){
this
.
$confirm
(
" 是否确认取消,取消后当前页面信息将丢失 ?"
,
"提示"
,{
type
:
"warning"
}).
then
(
function
(){
window
.
history
.
go
(
-
1
)}).
catch
(
function
(
e
){})}},
beforeMount
:
function
(){
this
.
getGroupData
(),
this
.
isAddNew
||
this
.
getDepartInfo
()},
computed
:{
isAddNew
:
function
(){
return
!
(
1
!=
this
.
$route
.
query
.
addnew
)}}},
l
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"add-department-container"
},[
a
(
"div"
,{
staticClass
:
"setting-cell depart-info"
},[
a
(
"p"
,{
staticClass
:
"title"
},[
e
.
_v
(
"部门信息"
)]),
e
.
_v
(
" "
),
a
(
"el-form"
,{
ref
:
"departForm"
,
staticClass
:
"department-info-form"
,
attrs
:{
"label-position"
:
"right"
,
rules
:
e
.
rules
,
model
:
e
.
departInfo
,
"label-width"
:
"120px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"部门名称"
,
prop
:
"name"
}},[
a
(
"el-input"
,{
model
:{
value
:
e
.
departInfo
.
name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
departInfo
,
"name"
,
t
)},
expression
:
"departInfo.name"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"部门排序调整"
,
prop
:
"parentId"
}},[
a
(
"el-input"
,{
attrs
:{
disabled
:
e
.
disabled
,
"suffix-icon"
:
"el-icon-arrow-down"
},
on
:{
focus
:
e
.
callGroupSelector
},
model
:{
value
:
e
.
departInfo
.
parentName
,
callback
:
function
(
t
){
e
.
$set
(
e
.
departInfo
,
"parentName"
,
t
)},
expression
:
"departInfo.parentName"
}})],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"vue-select-employee"
,{
attrs
:{
defaultSelection
:
e
.
defaultSelection
,
treeSet
:
e
.
treeSet
,
treeData
:
e
.
treeData
},
on
:{
handleSelectedList
:
e
.
handleSelectedList
}})],
1
)},
staticRenderFns
:[]};
var
o
=
a
(
"VU/8"
)(
r
,
l
,
!
1
,
function
(
e
){
a
(
"6Aq2"
)},
null
,
null
);
t
.
default
=
o
.
exports
},
wVEX
:
function
(
e
,
t
){}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/1
5.bd12670087ac2b78bcd8
.js
→
dist/static/js/1
6.595627f80b382a73a092
.js
View file @
1d1b13ed
webpackJsonp
([
15
],{
"3fSj"
:
function
(
e
,
t
){},
HHRu
:
function
(
e
,
t
,
i
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
i
(
"3Xzz"
),
s
=
i
(
"n7j5"
),
n
=
i
(
"c4uw"
),
r
=
i
(
"P9l9"
),
l
=
{
name
:
"addDepartment"
,
components
:{
navCrumb
:
a
.
a
,
permissionSetting
:
s
.
a
,
vueSelectEmployee
:
n
.
a
},
data
:
function
(){
return
{
windowH
:
window
.
screen
.
availHeight
-
180
+
"px"
,
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"企业通讯录"
,
path
:
"/administrativeFrame"
},{
name
:
"行政架构"
,
path
:
"/administrativeFrame"
},{
name
:
"添加子分组"
,
path
:
""
}],
departInfo
:{
parentName
:
""
,
chainName
:
""
,
managerClerkList
:[]},
testList
:[],
treeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
0
},
rules
:{
name
:[{
required
:
!
0
,
message
:
"请输入部门名称"
,
trigger
:
"blur"
},{
min
:
1
,
max
:
20
,
message
:
"长度在 1 到 20 个字符"
,
trigger
:
"blur"
}],
chainName
:[{
required
:
!
0
,
message
:
"请选择父级部门"
,
trigger
:
"blur"
}]},
treeData
:{},
disabled
:
!
0
,
defaultSelection
:[],
defaultParent
:[],
selectorType
:
"parent"
,
changed
:
"parent"
,
onlyPerson
:
!
1
,
onlyGroup
:[],
butList
:[],
specialList
:[],
selfButList
:[],
selfSpecialList
:[]}},
methods
:{
delGroup
:
function
(){
var
e
=
this
;
e
.
$confirm
(
" 是否确认删除分组 ?"
,
"提示"
,{
type
:
"warning"
}).
then
(
function
(){
Object
(
r
.
a
)(
"/haoban-manage-web/dept/del"
,{
groupId
:
e
.
$route
.
query
.
departmentId
}).
then
(
function
(
t
){
1
==
t
.
data
.
errorCode
?(
e
.
$message
.
success
({
message
:
t
.
data
.
message
}),
window
.
history
.
go
(
-
1
)):
e
.
$message
.
error
({
message
:
t
.
data
.
message
})}).
catch
(
function
(
t
){
e
.
$message
.
error
({
message
:
t
.
message
})})}).
catch
(
function
(
e
){})},
delCurrentManager
:
function
(
e
){
var
t
=
this
.
departInfo
.
managerClerkList
;
t
.
splice
(
t
.
indexOf
(
e
),
1
)},
getDepartInfo
:
function
(){
var
e
=
this
,
t
=
this
,
i
=
{
groupId
:
t
.
$route
.
query
.
departmentId
};
Object
(
r
.
a
)(
"/haoban-manage-web/dept/findDeptById"
,
i
).
then
(
function
(
i
){
1
==
i
.
data
.
errorCode
?
e
.
formatGroupInfo
(
i
.
data
.
result
):
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
i
.
data
.
message
})}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
formatGroupInfo
:
function
(
e
){
this
.
departInfo
.
parentName
=
e
.
chainName
,
this
.
defaultParent
=
[{
label
:
this
.
departInfo
.
parentName
,
id
:
e
.
parentId
,
groupId
:
e
.
parentId
}],
e
.
managerClerkList
=
e
.
managerClerkList
?
e
.
managerClerkList
:[],
e
.
managerClerkList
.
forEach
(
function
(
e
){
e
.
label
=
e
.
name
,
e
.
id
=
e
.
employeeClerkId
}),
e
.
noPreClerkList
=
e
.
noPreClerkList
||
[],
e
.
allowClerkList
=
e
.
allowClerkList
||
[],
e
.
allowDeptList
=
e
.
allowDeptList
||
[],
e
.
noPreClerkList
.
forEach
(
function
(
e
){
e
.
label
=
e
.
name
,
e
.
id
=
e
.
employeeClerkId
}),
e
.
allowClerkList
.
forEach
(
function
(
e
){
e
.
label
=
e
.
name
,
e
.
id
=
e
.
employeeClerkId
}),
e
.
allowDeptList
.
forEach
(
function
(
e
){
e
.
label
=
e
.
name
,
e
.
id
=
e
.
groupId
}),
1
==
e
.
type
?(
this
.
butList
=
e
.
noPreClerkList
,
this
.
specialList
=
e
.
allowDeptList
.
concat
(
e
.
allowClerkList
),
this
.
selfButList
=
[],
this
.
selfSpecialList
=
[]):
2
==
e
.
type
&&
(
this
.
butList
=
[],
this
.
specialList
=
[],
this
.
selfButList
=
e
.
noPreClerkList
,
this
.
selfSpecialList
=
e
.
allowDeptList
.
concat
(
e
.
allowClerkList
)),
this
.
departInfo
=
e
},
callGroupSelector
:
function
(){
this
.
selectorType
=
"parent"
,
this
.
defaultSelection
=
this
.
defaultParent
,
this
.
onlyPerson
=!
1
,
this
.
onlyGroup
=
[],
this
.
changed
=
"parent"
,
this
.
treeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
0
,
isSelectPerson
:
!
1
}},
callPerSelector
:
function
(
e
,
t
){
"but"
==
e
||
"selectManager"
==
e
?(
this
.
selectorType
=
e
,
this
.
defaultSelection
=
t
,
this
.
onlyPerson
=!
0
,
this
.
onlyGroup
=
[
this
.
$route
.
query
.
departmentId
],
this
.
changed
=
e
,
this
.
treeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
1
,
isSelectPerson
:
!
0
}):(
this
.
selectorType
=
e
,
this
.
defaultSelection
=
t
,
this
.
onlyPerson
=!
1
,
this
.
onlyGroup
=
[],
this
.
changed
=
e
,
this
.
treeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
1
,
isSelectPerson
:
!
0
})},
handleSelectedList
:
function
(
e
){
"parent"
==
this
.
changed
?(
this
.
departInfo
.
parentId
=
e
?
e
.
id
:
""
,
this
.
departInfo
.
parentName
=
e
?
e
.
label
:
""
,
this
.
departInfo
.
chainName
=
e
?
e
.
label
:
""
):
"but"
==
this
.
changed
?
2
==
this
.
departInfo
.
type
?
this
.
selfButList
=
e
:
this
.
butList
=
e
:
"special"
==
this
.
changed
?
2
==
this
.
departInfo
.
type
?
this
.
selfSpecialList
=
e
:
this
.
specialList
=
e
:
"selectManager"
==
this
.
changed
&&
(
this
.
departInfo
.
managerClerkList
=
e
)},
saveEdit
:
function
(){
var
e
=
arguments
.
length
>
0
&&
void
0
!==
arguments
[
0
]?
arguments
[
0
]:
""
,
t
=
this
;
this
.
$refs
.
departForm
.
validate
(
function
(
i
){
if
(
!
i
)
return
!
1
;
var
a
=
t
.
departInfo
.
type
,
s
=
[];
""
!=
a
&&
t
[
1
==
a
?
"butList"
:
"selfButList"
].
forEach
(
function
(
e
){
s
.
push
(
e
.
id
)});
var
n
=
[],
l
=
[];
t
.
specialList
.
forEach
(
function
(
e
){
e
.
employeeClerkId
?
n
.
push
(
e
.
id
):
l
.
push
(
e
.
id
)}),
t
.
selfSpecialList
.
forEach
(
function
(
e
){
e
.
employeeClerkId
?
n
.
push
(
e
.
id
):
l
.
push
(
e
.
id
)});
var
o
=
s
.
join
(
","
),
c
=
[];
t
.
departInfo
.
managerClerkList
.
forEach
(
function
(
e
){
c
.
push
(
e
.
id
)});
var
d
=
{
type
:
a
,
managerClerkIds
:
c
=
c
.
join
(
","
),
noPreCherkIds
:
o
,
allowCherkIds
:
n
.
join
(
","
),
allowDepartIds
:
l
.
join
(
","
),
parentId
:
t
.
departInfo
.
parentId
,
name
:
t
.
departInfo
.
name
};
t
.
isAddNew
||
(
d
.
groupId
=
t
.
$route
.
query
.
departmentId
);
var
u
=
t
.
isAddNew
?
"/haoban-manage-web/dept/insert"
:
"/haoban-manage-web/dept/update"
;
Object
(
r
.
a
)(
u
,
d
).
then
(
function
(
i
){
1
==
i
.
data
.
errorCode
?(
t
.
$message
.
success
({
duration
:
1
e3
,
message
:
"操作成功!"
}),
"continue"
==
e
?(
t
.
departInfo
=
{
name
:
""
,
parentName
:
""
,
parentId
:
""
},
t
.
disabled
=!
0
,
t
.
getGroupData
()):
window
.
history
.
go
(
-
1
)):
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
i
.
data
.
message
})}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})})},
getGroupData
:
function
(){
var
e
=
this
;
Object
(
r
.
a
)(
"/haoban-manage-web/dept/deptListForCompany"
,{
isStoreGroup
:
0
}).
then
(
function
(
t
){
var
i
=
[],
a
=
[];
1
==
t
.
data
.
errorCode
&&
(
i
=
t
.
data
.
result
.
departmentList
||
[],
a
=
t
.
data
.
result
.
searchList
||
[]),
e
.
treeData
=
{
treeData
:
i
,
personData
:
a
},
e
.
disabled
=!
1
}).
catch
(
function
(
e
){})},
cancel
:
function
(){
this
.
$confirm
(
" 是否确认取消,取消后当前页面信息将丢失 ?"
,
"提示"
,{
type
:
"warning"
}).
then
(
function
(){
window
.
history
.
go
(
-
1
)}).
catch
(
function
(
e
){})}},
beforeMount
:
function
(){
this
.
getGroupData
(),
this
.
isAddNew
||
this
.
getDepartInfo
(),
this
.
$nextTick
(
function
(){
document
.
querySelector
(
".contact-wrap__body"
).
style
.
overflow
=
"hidden"
})},
beforeDestroy
:
function
(){
document
.
querySelector
(
".contact-wrap__body"
).
style
.
overflow
=
"auto"
},
computed
:{
isAddNew
:
function
(){
return
!
(
1
!=
this
.
$route
.
query
.
addnew
)}}},
o
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"div"
,{
staticClass
:
"common-set-wrap"
,
style
:{
height
:
e
.
windowH
}},[
i
(
"nav-crumb"
,{
attrs
:{
navpath
:
e
.
navpath
}}),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"right-content"
},[
i
(
"div"
,{
staticClass
:
"right-box"
},[
i
(
"div"
,{
staticClass
:
"add-department-container"
},[
"group"
==
e
.
$route
.
query
.
type
?
i
(
"div"
,{
staticClass
:
"setting-cell depart-info"
},[
i
(
"p"
,{
staticClass
:
"title"
},[
e
.
_v
(
"部门信息"
)]),
e
.
_v
(
" "
),
i
(
"el-form"
,{
ref
:
"departForm"
,
staticClass
:
"department-info-form"
,
attrs
:{
"label-position"
:
"right"
,
rules
:
e
.
rules
,
model
:
e
.
departInfo
,
"label-width"
:
"120px"
}},[
i
(
"el-form-item"
,{
attrs
:{
label
:
"部门名称"
,
prop
:
"name"
}},[
i
(
"el-input"
,{
model
:{
value
:
e
.
departInfo
.
name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
departInfo
,
"name"
,
t
)},
expression
:
"departInfo.name"
}})],
1
),
e
.
_v
(
" "
),
e
.
isAddNew
?
e
.
_e
():
i
(
"el-form-item"
,{
attrs
:{
label
:
"部门负责人"
}},[
i
(
"ul"
,{
staticClass
:
"particular-list"
,
staticStyle
:{
"margin-bottom"
:
"0"
,
width
:
"380px"
}},[
e
.
_l
(
e
.
departInfo
.
managerClerkList
,
function
(
t
,
a
){
return
[
i
(
"li"
,{
key
:
a
+
"_"
+
t
.
id
,
staticClass
:
"item person-item"
,
staticStyle
:{
"margin-top"
:
"0"
}},[
t
.
headPic
?
i
(
"img"
,{
attrs
:{
src
:
t
.
headPic
}}):
i
(
"div"
,{
staticClass
:
"replace-head-img"
},[
i
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})]),
e
.
_v
(
" "
),
i
(
"p"
,{
staticClass
:
"name"
},[
e
.
_v
(
e
.
_s
(
t
.
label
))]),
e
.
_v
(
" "
),
i
(
"i"
,{
staticClass
:
"el-icon-circle-close"
,
on
:{
click
:
function
(
i
){
e
.
delCurrentManager
(
t
)}}})])]}),
e
.
_v
(
" "
),
i
(
"li"
,{
staticClass
:
"item J_add-btn"
,
staticStyle
:{
"margin-top"
:
"0"
},
on
:{
click
:
function
(
t
){
e
.
callPerSelector
(
"selectManager"
,
e
.
departInfo
.
managerClerkList
)}}},[
i
(
"i"
,{
staticClass
:
"el-icon-plus"
})])],
2
)]),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"部门排序调整"
,
prop
:
"chainName"
}},[
i
(
"el-input"
,{
attrs
:{
disabled
:
e
.
disabled
,
"suffix-icon"
:
"el-icon-arrow-down"
},
on
:{
focus
:
e
.
callGroupSelector
},
model
:{
value
:
e
.
departInfo
.
chainName
,
callback
:
function
(
t
){
e
.
$set
(
e
.
departInfo
,
"chainName"
,
t
)},
expression
:
"departInfo.chainName"
}})],
1
)],
1
)],
1
):
i
(
"div"
,{
staticClass
:
"setting-cell depart-info"
},[
i
(
"p"
,{
staticClass
:
"title"
},[
e
.
_v
(
"企业信息"
)]),
e
.
_v
(
" "
),
i
(
"el-form"
,{
ref
:
"departForm"
,
staticClass
:
"department-info-form"
,
attrs
:{
"label-position"
:
"right"
,
rules
:
e
.
rules
,
model
:
e
.
departInfo
,
"label-width"
:
"120px"
}},[
i
(
"el-form-item"
,{
attrs
:{
label
:
"企业名称"
,
prop
:
"name"
}},[
i
(
"el-input"
,{
attrs
:{
disabled
:
""
},
model
:{
value
:
e
.
departInfo
.
name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
departInfo
,
"name"
,
t
)},
expression
:
"departInfo.name"
}})],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
e
.
isAddNew
?
e
.
_e
():
i
(
"div"
,{
staticClass
:
"setting-cell m-b-48"
},[
i
(
"p"
,{
staticClass
:
"title"
},[
e
.
_v
(
"权限设置"
)]),
e
.
_v
(
" "
),
e
.
disabled
?
e
.
_e
():
i
(
"permission-setting"
,{
attrs
:{
departInfo
:
e
.
departInfo
,
selfButList
:
e
.
selfButList
,
selfSpecialList
:
e
.
selfSpecialList
,
butList
:
e
.
butList
,
specialList
:
e
.
specialList
,
visibleSpecialLsit
:
e
.
testList
,
onlySelfApartList
:
e
.
testList
,
treeData
:
e
.
treeData
},
on
:{
callPerSelector
:
e
.
callPerSelector
}})],
1
),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"setting-cell fixed-footer"
},[
i
(
"div"
,{
staticClass
:
"btn-area"
},[
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
saveEdit
}},[
e
.
_v
(
"保 存"
)]),
e
.
_v
(
" "
),
e
.
isAddNew
?
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
saveEdit
(
"continue"
)}}},[
e
.
_v
(
"保存并继续添加"
)]):
"group"
==
e
.
$route
.
query
.
type
?
i
(
"el-button"
,{
attrs
:{
type
:
"danger"
},
on
:{
click
:
e
.
delGroup
}},[
e
.
_v
(
"删 除"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
i
(
"el-button"
,{
on
:{
click
:
e
.
cancel
}},[
e
.
_v
(
"取 消"
)])],
1
)]),
e
.
_v
(
" "
),
i
(
"vue-select-employee"
,{
attrs
:{
changed
:
e
.
changed
,
onlyPerson
:
e
.
onlyPerson
,
onlyGroup
:
e
.
onlyGroup
,
defaultSelection
:
e
.
defaultSelection
,
treeSet
:
e
.
treeSet
,
treeData
:
e
.
treeData
},
on
:{
handleSelectedList
:
e
.
handleSelectedList
}})],
1
)])])],
1
)},
staticRenderFns
:[]};
var
c
=
i
(
"VU/8"
)(
l
,
o
,
!
1
,
function
(
e
){
i
(
"3fSj"
)},
null
,
null
);
t
.
default
=
c
.
exports
},
HKlq
:
function
(
e
,
t
){},
n7j5
:
function
(
e
,
t
,
i
){
"use strict"
;
var
a
=
i
(
"mvHQ"
),
s
=
i
.
n
(
a
),
n
=
{
name
:
"select-area"
,
components
:{
vueSelectEmployee
:
i
(
"c4uw"
).
a
},
props
:{
treeData
:{
type
:
Object
,
default
:
function
(){
return
{}}},
butList
:{
type
:
Array
,
default
:
function
(){
return
[]}},
specialList
:{
type
:
Array
,
default
:
function
(){
return
[]}}},
data
:
function
(){
return
{
copyTreeData
:
JSON
.
parse
(
s
()(
this
.
treeData
))}},
methods
:{
delCurrent
:
function
(
e
,
t
){
var
i
=
this
[
t
];
i
.
splice
(
i
.
indexOf
(
e
),
1
)},
handleSelectedList
:
function
(
e
){
this
.
butList
=
e
},
callSelector
:
function
(
e
,
t
){
this
.
$emit
(
"callPerSelector"
,
e
,
t
)}}},
r
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"div"
,{
staticClass
:
"select-area"
},[
i
(
"div"
,{
staticClass
:
"setting-name"
},[
e
.
_v
(
"
\
n 个别员工不设置该权限
\
n "
)]),
e
.
_v
(
" "
),
i
(
"ul"
,{
staticClass
:
"particular-list"
},[
e
.
_l
(
e
.
butList
,
function
(
t
,
a
){
return
[
t
.
employeeClerkId
?
i
(
"li"
,{
key
:
a
+
"_"
+
t
.
employeeClerkId
,
staticClass
:
"item person-item"
},[
t
.
headPic
?
i
(
"img"
,{
attrs
:{
src
:
t
.
headPic
}}):
i
(
"div"
,{
staticClass
:
"replace-head-img"
},[
i
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})]),
e
.
_v
(
" "
),
i
(
"p"
,{
staticClass
:
"name"
},[
e
.
_v
(
e
.
_s
(
t
.
label
))]),
e
.
_v
(
" "
),
i
(
"i"
,{
staticClass
:
"el-icon-circle-close"
,
on
:{
click
:
function
(
i
){
e
.
delCurrent
(
t
,
"butList"
)}}})]):
i
(
"li"
,{
key
:
a
+
"_"
+
t
.
groupId
,
staticClass
:
"item group-item"
},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
label
)
+
"
\
n "
),
i
(
"i"
,{
staticClass
:
"el-icon-circle-close"
,
on
:{
click
:
function
(
i
){
e
.
delCurrent
(
t
,
"butList"
)}}})])]}),
e
.
_v
(
" "
),
i
(
"li"
,{
staticClass
:
"item J_add-btn"
,
on
:{
click
:
function
(
t
){
e
.
callSelector
(
"but"
,
e
.
butList
)}}},[
i
(
"i"
,{
staticClass
:
"el-icon-plus"
})])],
2
),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"setting-name"
},[
e
.
_v
(
"
\
n 允许指定部门/人员可见
\
n "
)]),
e
.
_v
(
" "
),
i
(
"ul"
,{
staticClass
:
"particular-list"
},[
e
.
_l
(
e
.
specialList
,
function
(
t
,
a
){
return
[
t
.
employeeClerkId
?
i
(
"li"
,{
key
:
a
+
"_"
+
t
.
employeeClerkId
,
staticClass
:
"item person-item"
},[
t
.
headPic
?
i
(
"img"
,{
attrs
:{
src
:
t
.
headPic
}}):
i
(
"div"
,{
staticClass
:
"replace-head-img"
},[
i
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})]),
e
.
_v
(
" "
),
i
(
"p"
,{
staticClass
:
"name"
},[
e
.
_v
(
e
.
_s
(
t
.
label
))]),
e
.
_v
(
" "
),
i
(
"i"
,{
staticClass
:
"el-icon-circle-close"
,
on
:{
click
:
function
(
i
){
e
.
delCurrent
(
t
,
"specialList"
)}}})]):
i
(
"li"
,{
key
:
a
+
"_"
+
t
.
groupId
,
staticClass
:
"item group-item"
},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
label
)
+
"
\
n "
),
i
(
"i"
,{
staticClass
:
"el-icon-circle-close"
,
on
:{
click
:
function
(
i
){
e
.
delCurrent
(
t
,
"specialList"
)}}})])]}),
e
.
_v
(
" "
),
i
(
"li"
,{
staticClass
:
"item J_add-btn"
,
on
:{
click
:
function
(
t
){
e
.
callSelector
(
"special"
,
e
.
specialList
)}}},[
i
(
"i"
,{
staticClass
:
"el-icon-plus"
})])],
2
)])},
staticRenderFns
:[]};
var
l
=
{
name
:
"permissionSetting"
,
components
:{
selectArea
:
i
(
"VU/8"
)(
n
,
r
,
!
1
,
function
(
e
){
i
(
"HKlq"
)},
null
,
null
).
exports
},
props
:{
butList
:{
type
:
Array
,
default
:
function
(){
return
[]}},
specialList
:{
type
:
Array
,
default
:
function
(){
return
[]}},
selfButList
:{
type
:
Array
,
default
:
function
(){
return
[]}},
selfSpecialList
:{
type
:
Array
,
default
:
function
(){
return
[]}},
visibleSpecialLsit
:{
type
:
Array
,
default
:
function
(){
return
[]}},
onlySelfApartList
:{
type
:
Array
,
default
:
function
(){
return
[]}},
treeData
:{
type
:
Object
,
default
:
function
(){
return
{}}},
departInfo
:{
type
:
Object
,
default
:
function
(){
return
{}}}},
data
:
function
(){
return
{
visibleThere
:
!
1
,
visibleSelf
:
!
1
}},
methods
:{
switchPermission
:
function
(
e
,
t
,
i
){
e
&&
(
this
[
i
]
=!
e
),
this
.
visibleSelf
?
this
.
departInfo
.
type
=
2
:
this
.
visibleThere
?
this
.
departInfo
.
type
=
1
:
this
.
departInfo
.
type
=
""
},
callPerSelector
:
function
(
e
,
t
){
this
.
$emit
(
"callPerSelector"
,
e
,
t
)}},
mounted
:
function
(){
var
e
=
this
.
departInfo
.
type
;
this
.
visibleThere
=!
(
1
!=
e
),
this
.
visibleSelf
=!
(
2
!=
e
)},
watch
:{
departInfo
:{
handler
:
function
(
e
,
t
){
var
i
=
e
.
type
;
this
.
visibleThere
=!
(
1
!=
i
),
this
.
visibleSelf
=!
(
2
!=
i
)},
deep
:
!
0
}}},
o
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"div"
,{
staticClass
:
"jurisdiction-setting"
},[
i
(
"div"
,{
staticClass
:
"only-visivble-there permission-div"
},[
i
(
"div"
,{
staticClass
:
"permission-div-title"
},[
i
(
"span"
,[
e
.
_v
(
"本部门员工仅可见本部门员工"
)]),
e
.
_v
(
" "
),
i
(
"el-switch"
,{
attrs
:{
"active-color"
:
"#409EFF"
,
"inactive-color"
:
"#DCDFE6"
},
on
:{
change
:
function
(
t
){
e
.
switchPermission
(
e
.
visibleThere
,
"visibleThere"
,
"visibleSelf"
)}},
model
:{
value
:
e
.
visibleThere
,
callback
:
function
(
t
){
e
.
visibleThere
=
t
},
expression
:
"visibleThere"
}})],
1
),
e
.
_v
(
" "
),
e
.
visibleThere
?
i
(
"div"
,{
staticClass
:
"particular-setting"
},[
i
(
"select-area"
,{
attrs
:{
treeData
:
e
.
treeData
,
butList
:
e
.
butList
,
specialList
:
e
.
specialList
},
on
:{
callPerSelector
:
e
.
callPerSelector
}})],
1
):
e
.
_e
()]),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"only-visivble-self permission-div"
},[
i
(
"div"
,{
staticClass
:
"permission-div-title"
},[
i
(
"span"
,[
e
.
_v
(
"本部门员工仅可见自己"
)]),
e
.
_v
(
" "
),
i
(
"el-switch"
,{
attrs
:{
"active-color"
:
"#409EFF"
,
"inactive-color"
:
"#DCDFE6"
},
on
:{
change
:
function
(
t
){
e
.
switchPermission
(
e
.
visibleSelf
,
"visibleSelf"
,
"visibleThere"
)}},
model
:{
value
:
e
.
visibleSelf
,
callback
:
function
(
t
){
e
.
visibleSelf
=
t
},
expression
:
"visibleSelf"
}})],
1
),
e
.
_v
(
" "
),
e
.
visibleSelf
?
i
(
"div"
,{
staticClass
:
"particular-setting"
},[
i
(
"select-area"
,{
attrs
:{
treeData
:
e
.
treeData
,
butList
:
e
.
selfButList
,
specialList
:
e
.
selfSpecialList
},
on
:{
callPerSelector
:
e
.
callPerSelector
}})],
1
):
e
.
_e
()])])},
staticRenderFns
:[]};
var
c
=
i
(
"VU/8"
)(
l
,
o
,
!
1
,
function
(
e
){
i
(
"wVEX"
)},
null
,
null
);
t
.
a
=
c
.
exports
},
wVEX
:
function
(
e
,
t
){}});
webpackJsonp
([
16
],{
"3fSj"
:
function
(
e
,
t
){},
HHRu
:
function
(
e
,
t
,
i
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
i
(
"3Xzz"
),
s
=
i
(
"n7j5"
),
n
=
i
(
"c4uw"
),
r
=
i
(
"P9l9"
),
l
=
{
name
:
"addDepartment"
,
components
:{
navCrumb
:
a
.
a
,
permissionSetting
:
s
.
a
,
vueSelectEmployee
:
n
.
a
},
data
:
function
(){
return
{
windowH
:
window
.
screen
.
availHeight
-
180
+
"px"
,
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"企业通讯录"
,
path
:
"/administrativeFrame"
},{
name
:
"行政架构"
,
path
:
"/administrativeFrame"
},{
name
:
"添加子分组"
,
path
:
""
}],
departInfo
:{
parentName
:
""
,
chainName
:
""
,
managerClerkList
:[]},
testList
:[],
treeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
0
},
rules
:{
name
:[{
required
:
!
0
,
message
:
"请输入部门名称"
,
trigger
:
"blur"
},{
min
:
1
,
max
:
20
,
message
:
"长度在 1 到 20 个字符"
,
trigger
:
"blur"
}],
chainName
:[{
required
:
!
0
,
message
:
"请选择父级部门"
,
trigger
:
"blur"
}]},
treeData
:{},
disabled
:
!
0
,
defaultSelection
:[],
defaultParent
:[],
selectorType
:
"parent"
,
changed
:
"parent"
,
onlyPerson
:
!
1
,
onlyGroup
:[],
butList
:[],
specialList
:[],
selfButList
:[],
selfSpecialList
:[]}},
methods
:{
delGroup
:
function
(){
var
e
=
this
;
e
.
$confirm
(
" 是否确认删除分组 ?"
,
"提示"
,{
type
:
"warning"
}).
then
(
function
(){
Object
(
r
.
a
)(
"/haoban-manage-web/dept/del"
,{
groupId
:
e
.
$route
.
query
.
departmentId
}).
then
(
function
(
t
){
1
==
t
.
data
.
errorCode
?(
e
.
$message
.
success
({
message
:
t
.
data
.
message
}),
window
.
history
.
go
(
-
1
)):
e
.
$message
.
error
({
message
:
t
.
data
.
message
})}).
catch
(
function
(
t
){
e
.
$message
.
error
({
message
:
t
.
message
})})}).
catch
(
function
(
e
){})},
delCurrentManager
:
function
(
e
){
var
t
=
this
.
departInfo
.
managerClerkList
;
t
.
splice
(
t
.
indexOf
(
e
),
1
)},
getDepartInfo
:
function
(){
var
e
=
this
,
t
=
this
,
i
=
{
groupId
:
t
.
$route
.
query
.
departmentId
};
Object
(
r
.
a
)(
"/haoban-manage-web/dept/findDeptById"
,
i
).
then
(
function
(
i
){
1
==
i
.
data
.
errorCode
?
e
.
formatGroupInfo
(
i
.
data
.
result
):
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
i
.
data
.
message
})}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
formatGroupInfo
:
function
(
e
){
this
.
departInfo
.
parentName
=
e
.
chainName
,
this
.
defaultParent
=
[{
label
:
this
.
departInfo
.
parentName
,
id
:
e
.
parentId
,
groupId
:
e
.
parentId
}],
e
.
managerClerkList
=
e
.
managerClerkList
?
e
.
managerClerkList
:[],
e
.
managerClerkList
.
forEach
(
function
(
e
){
e
.
label
=
e
.
name
,
e
.
id
=
e
.
employeeClerkId
}),
e
.
noPreClerkList
=
e
.
noPreClerkList
||
[],
e
.
allowClerkList
=
e
.
allowClerkList
||
[],
e
.
allowDeptList
=
e
.
allowDeptList
||
[],
e
.
noPreClerkList
.
forEach
(
function
(
e
){
e
.
label
=
e
.
name
,
e
.
id
=
e
.
employeeClerkId
}),
e
.
allowClerkList
.
forEach
(
function
(
e
){
e
.
label
=
e
.
name
,
e
.
id
=
e
.
employeeClerkId
}),
e
.
allowDeptList
.
forEach
(
function
(
e
){
e
.
label
=
e
.
name
,
e
.
id
=
e
.
groupId
}),
1
==
e
.
type
?(
this
.
butList
=
e
.
noPreClerkList
,
this
.
specialList
=
e
.
allowDeptList
.
concat
(
e
.
allowClerkList
),
this
.
selfButList
=
[],
this
.
selfSpecialList
=
[]):
2
==
e
.
type
&&
(
this
.
butList
=
[],
this
.
specialList
=
[],
this
.
selfButList
=
e
.
noPreClerkList
,
this
.
selfSpecialList
=
e
.
allowDeptList
.
concat
(
e
.
allowClerkList
)),
this
.
departInfo
=
e
},
callGroupSelector
:
function
(){
this
.
selectorType
=
"parent"
,
this
.
defaultSelection
=
this
.
defaultParent
,
this
.
onlyPerson
=!
1
,
this
.
onlyGroup
=
[],
this
.
changed
=
"parent"
,
this
.
treeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
0
,
isSelectPerson
:
!
1
}},
callPerSelector
:
function
(
e
,
t
){
"but"
==
e
||
"selectManager"
==
e
?(
this
.
selectorType
=
e
,
this
.
defaultSelection
=
t
,
this
.
onlyPerson
=!
0
,
this
.
onlyGroup
=
[
this
.
$route
.
query
.
departmentId
],
this
.
changed
=
e
,
this
.
treeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
1
,
isSelectPerson
:
!
0
}):(
this
.
selectorType
=
e
,
this
.
defaultSelection
=
t
,
this
.
onlyPerson
=!
1
,
this
.
onlyGroup
=
[],
this
.
changed
=
e
,
this
.
treeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
1
,
isSelectPerson
:
!
0
})},
handleSelectedList
:
function
(
e
){
"parent"
==
this
.
changed
?(
this
.
departInfo
.
parentId
=
e
?
e
.
id
:
""
,
this
.
departInfo
.
parentName
=
e
?
e
.
label
:
""
,
this
.
departInfo
.
chainName
=
e
?
e
.
label
:
""
):
"but"
==
this
.
changed
?
2
==
this
.
departInfo
.
type
?
this
.
selfButList
=
e
:
this
.
butList
=
e
:
"special"
==
this
.
changed
?
2
==
this
.
departInfo
.
type
?
this
.
selfSpecialList
=
e
:
this
.
specialList
=
e
:
"selectManager"
==
this
.
changed
&&
(
this
.
departInfo
.
managerClerkList
=
e
)},
saveEdit
:
function
(){
var
e
=
arguments
.
length
>
0
&&
void
0
!==
arguments
[
0
]?
arguments
[
0
]:
""
,
t
=
this
;
this
.
$refs
.
departForm
.
validate
(
function
(
i
){
if
(
!
i
)
return
!
1
;
var
a
=
t
.
departInfo
.
type
,
s
=
[];
""
!=
a
&&
t
[
1
==
a
?
"butList"
:
"selfButList"
].
forEach
(
function
(
e
){
s
.
push
(
e
.
id
)});
var
n
=
[],
l
=
[];
t
.
specialList
.
forEach
(
function
(
e
){
e
.
employeeClerkId
?
n
.
push
(
e
.
id
):
l
.
push
(
e
.
id
)}),
t
.
selfSpecialList
.
forEach
(
function
(
e
){
e
.
employeeClerkId
?
n
.
push
(
e
.
id
):
l
.
push
(
e
.
id
)});
var
o
=
s
.
join
(
","
),
c
=
[];
t
.
departInfo
.
managerClerkList
.
forEach
(
function
(
e
){
c
.
push
(
e
.
id
)});
var
d
=
{
type
:
a
,
managerClerkIds
:
c
=
c
.
join
(
","
),
noPreCherkIds
:
o
,
allowCherkIds
:
n
.
join
(
","
),
allowDepartIds
:
l
.
join
(
","
),
parentId
:
t
.
departInfo
.
parentId
,
name
:
t
.
departInfo
.
name
};
t
.
isAddNew
||
(
d
.
groupId
=
t
.
$route
.
query
.
departmentId
);
var
u
=
t
.
isAddNew
?
"/haoban-manage-web/dept/insert"
:
"/haoban-manage-web/dept/update"
;
Object
(
r
.
a
)(
u
,
d
).
then
(
function
(
i
){
1
==
i
.
data
.
errorCode
?(
t
.
$message
.
success
({
duration
:
1
e3
,
message
:
"操作成功!"
}),
"continue"
==
e
?(
t
.
departInfo
=
{
name
:
""
,
parentName
:
""
,
parentId
:
""
},
t
.
disabled
=!
0
,
t
.
getGroupData
()):
window
.
history
.
go
(
-
1
)):
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
i
.
data
.
message
})}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})})},
getGroupData
:
function
(){
var
e
=
this
;
Object
(
r
.
a
)(
"/haoban-manage-web/dept/deptListForCompany"
,{
isStoreGroup
:
0
}).
then
(
function
(
t
){
var
i
=
[],
a
=
[];
1
==
t
.
data
.
errorCode
&&
(
i
=
t
.
data
.
result
.
departmentList
||
[],
a
=
t
.
data
.
result
.
searchList
||
[]),
e
.
treeData
=
{
treeData
:
i
,
personData
:
a
},
e
.
disabled
=!
1
}).
catch
(
function
(
e
){})},
cancel
:
function
(){
this
.
$confirm
(
" 是否确认取消,取消后当前页面信息将丢失 ?"
,
"提示"
,{
type
:
"warning"
}).
then
(
function
(){
window
.
history
.
go
(
-
1
)}).
catch
(
function
(
e
){})}},
beforeMount
:
function
(){
this
.
getGroupData
(),
this
.
isAddNew
||
this
.
getDepartInfo
(),
this
.
$nextTick
(
function
(){
document
.
querySelector
(
".contact-wrap__body"
).
style
.
overflow
=
"hidden"
})},
beforeDestroy
:
function
(){
document
.
querySelector
(
".contact-wrap__body"
).
style
.
overflow
=
"auto"
},
computed
:{
isAddNew
:
function
(){
return
!
(
1
!=
this
.
$route
.
query
.
addnew
)}}},
o
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"div"
,{
staticClass
:
"common-set-wrap"
,
style
:{
height
:
e
.
windowH
}},[
i
(
"nav-crumb"
,{
attrs
:{
navpath
:
e
.
navpath
}}),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"right-content"
},[
i
(
"div"
,{
staticClass
:
"right-box"
},[
i
(
"div"
,{
staticClass
:
"add-department-container"
},[
"group"
==
e
.
$route
.
query
.
type
?
i
(
"div"
,{
staticClass
:
"setting-cell depart-info"
},[
i
(
"p"
,{
staticClass
:
"title"
},[
e
.
_v
(
"部门信息"
)]),
e
.
_v
(
" "
),
i
(
"el-form"
,{
ref
:
"departForm"
,
staticClass
:
"department-info-form"
,
attrs
:{
"label-position"
:
"right"
,
rules
:
e
.
rules
,
model
:
e
.
departInfo
,
"label-width"
:
"120px"
}},[
i
(
"el-form-item"
,{
attrs
:{
label
:
"部门名称"
,
prop
:
"name"
}},[
i
(
"el-input"
,{
model
:{
value
:
e
.
departInfo
.
name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
departInfo
,
"name"
,
t
)},
expression
:
"departInfo.name"
}})],
1
),
e
.
_v
(
" "
),
e
.
isAddNew
?
e
.
_e
():
i
(
"el-form-item"
,{
attrs
:{
label
:
"部门负责人"
}},[
i
(
"ul"
,{
staticClass
:
"particular-list"
,
staticStyle
:{
"margin-bottom"
:
"0"
,
width
:
"380px"
}},[
e
.
_l
(
e
.
departInfo
.
managerClerkList
,
function
(
t
,
a
){
return
[
i
(
"li"
,{
key
:
a
+
"_"
+
t
.
id
,
staticClass
:
"item person-item"
,
staticStyle
:{
"margin-top"
:
"0"
}},[
t
.
headPic
?
i
(
"img"
,{
attrs
:{
src
:
t
.
headPic
}}):
i
(
"div"
,{
staticClass
:
"replace-head-img"
},[
i
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})]),
e
.
_v
(
" "
),
i
(
"p"
,{
staticClass
:
"name"
},[
e
.
_v
(
e
.
_s
(
t
.
label
))]),
e
.
_v
(
" "
),
i
(
"i"
,{
staticClass
:
"el-icon-circle-close"
,
on
:{
click
:
function
(
i
){
e
.
delCurrentManager
(
t
)}}})])]}),
e
.
_v
(
" "
),
i
(
"li"
,{
staticClass
:
"item J_add-btn"
,
staticStyle
:{
"margin-top"
:
"0"
},
on
:{
click
:
function
(
t
){
e
.
callPerSelector
(
"selectManager"
,
e
.
departInfo
.
managerClerkList
)}}},[
i
(
"i"
,{
staticClass
:
"el-icon-plus"
})])],
2
)]),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"部门排序调整"
,
prop
:
"chainName"
}},[
i
(
"el-input"
,{
attrs
:{
disabled
:
e
.
disabled
,
"suffix-icon"
:
"el-icon-arrow-down"
},
on
:{
focus
:
e
.
callGroupSelector
},
model
:{
value
:
e
.
departInfo
.
chainName
,
callback
:
function
(
t
){
e
.
$set
(
e
.
departInfo
,
"chainName"
,
t
)},
expression
:
"departInfo.chainName"
}})],
1
)],
1
)],
1
):
i
(
"div"
,{
staticClass
:
"setting-cell depart-info"
},[
i
(
"p"
,{
staticClass
:
"title"
},[
e
.
_v
(
"企业信息"
)]),
e
.
_v
(
" "
),
i
(
"el-form"
,{
ref
:
"departForm"
,
staticClass
:
"department-info-form"
,
attrs
:{
"label-position"
:
"right"
,
rules
:
e
.
rules
,
model
:
e
.
departInfo
,
"label-width"
:
"120px"
}},[
i
(
"el-form-item"
,{
attrs
:{
label
:
"企业名称"
,
prop
:
"name"
}},[
i
(
"el-input"
,{
attrs
:{
disabled
:
""
},
model
:{
value
:
e
.
departInfo
.
name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
departInfo
,
"name"
,
t
)},
expression
:
"departInfo.name"
}})],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
e
.
isAddNew
?
e
.
_e
():
i
(
"div"
,{
staticClass
:
"setting-cell m-b-48"
},[
i
(
"p"
,{
staticClass
:
"title"
},[
e
.
_v
(
"权限设置"
)]),
e
.
_v
(
" "
),
e
.
disabled
?
e
.
_e
():
i
(
"permission-setting"
,{
attrs
:{
departInfo
:
e
.
departInfo
,
selfButList
:
e
.
selfButList
,
selfSpecialList
:
e
.
selfSpecialList
,
butList
:
e
.
butList
,
specialList
:
e
.
specialList
,
visibleSpecialLsit
:
e
.
testList
,
onlySelfApartList
:
e
.
testList
,
treeData
:
e
.
treeData
},
on
:{
callPerSelector
:
e
.
callPerSelector
}})],
1
),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"setting-cell fixed-footer"
},[
i
(
"div"
,{
staticClass
:
"btn-area"
},[
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
saveEdit
}},[
e
.
_v
(
"保 存"
)]),
e
.
_v
(
" "
),
e
.
isAddNew
?
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
saveEdit
(
"continue"
)}}},[
e
.
_v
(
"保存并继续添加"
)]):
"group"
==
e
.
$route
.
query
.
type
?
i
(
"el-button"
,{
attrs
:{
type
:
"danger"
},
on
:{
click
:
e
.
delGroup
}},[
e
.
_v
(
"删 除"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
i
(
"el-button"
,{
on
:{
click
:
e
.
cancel
}},[
e
.
_v
(
"取 消"
)])],
1
)]),
e
.
_v
(
" "
),
i
(
"vue-select-employee"
,{
attrs
:{
changed
:
e
.
changed
,
onlyPerson
:
e
.
onlyPerson
,
onlyGroup
:
e
.
onlyGroup
,
defaultSelection
:
e
.
defaultSelection
,
treeSet
:
e
.
treeSet
,
treeData
:
e
.
treeData
},
on
:{
handleSelectedList
:
e
.
handleSelectedList
}})],
1
)])])],
1
)},
staticRenderFns
:[]};
var
c
=
i
(
"VU/8"
)(
l
,
o
,
!
1
,
function
(
e
){
i
(
"3fSj"
)},
null
,
null
);
t
.
default
=
c
.
exports
},
HKlq
:
function
(
e
,
t
){},
n7j5
:
function
(
e
,
t
,
i
){
"use strict"
;
var
a
=
i
(
"mvHQ"
),
s
=
i
.
n
(
a
),
n
=
{
name
:
"select-area"
,
components
:{
vueSelectEmployee
:
i
(
"c4uw"
).
a
},
props
:{
treeData
:{
type
:
Object
,
default
:
function
(){
return
{}}},
butList
:{
type
:
Array
,
default
:
function
(){
return
[]}},
specialList
:{
type
:
Array
,
default
:
function
(){
return
[]}}},
data
:
function
(){
return
{
copyTreeData
:
JSON
.
parse
(
s
()(
this
.
treeData
))}},
methods
:{
delCurrent
:
function
(
e
,
t
){
var
i
=
this
[
t
];
i
.
splice
(
i
.
indexOf
(
e
),
1
)},
handleSelectedList
:
function
(
e
){
this
.
butList
=
e
},
callSelector
:
function
(
e
,
t
){
this
.
$emit
(
"callPerSelector"
,
e
,
t
)}}},
r
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"div"
,{
staticClass
:
"select-area"
},[
i
(
"div"
,{
staticClass
:
"setting-name"
},[
e
.
_v
(
"
\
n 个别员工不设置该权限
\
n "
)]),
e
.
_v
(
" "
),
i
(
"ul"
,{
staticClass
:
"particular-list"
},[
e
.
_l
(
e
.
butList
,
function
(
t
,
a
){
return
[
t
.
employeeClerkId
?
i
(
"li"
,{
key
:
a
+
"_"
+
t
.
employeeClerkId
,
staticClass
:
"item person-item"
},[
t
.
headPic
?
i
(
"img"
,{
attrs
:{
src
:
t
.
headPic
}}):
i
(
"div"
,{
staticClass
:
"replace-head-img"
},[
i
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})]),
e
.
_v
(
" "
),
i
(
"p"
,{
staticClass
:
"name"
},[
e
.
_v
(
e
.
_s
(
t
.
label
))]),
e
.
_v
(
" "
),
i
(
"i"
,{
staticClass
:
"el-icon-circle-close"
,
on
:{
click
:
function
(
i
){
e
.
delCurrent
(
t
,
"butList"
)}}})]):
i
(
"li"
,{
key
:
a
+
"_"
+
t
.
groupId
,
staticClass
:
"item group-item"
},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
label
)
+
"
\
n "
),
i
(
"i"
,{
staticClass
:
"el-icon-circle-close"
,
on
:{
click
:
function
(
i
){
e
.
delCurrent
(
t
,
"butList"
)}}})])]}),
e
.
_v
(
" "
),
i
(
"li"
,{
staticClass
:
"item J_add-btn"
,
on
:{
click
:
function
(
t
){
e
.
callSelector
(
"but"
,
e
.
butList
)}}},[
i
(
"i"
,{
staticClass
:
"el-icon-plus"
})])],
2
),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"setting-name"
},[
e
.
_v
(
"
\
n 允许指定部门/人员可见
\
n "
)]),
e
.
_v
(
" "
),
i
(
"ul"
,{
staticClass
:
"particular-list"
},[
e
.
_l
(
e
.
specialList
,
function
(
t
,
a
){
return
[
t
.
employeeClerkId
?
i
(
"li"
,{
key
:
a
+
"_"
+
t
.
employeeClerkId
,
staticClass
:
"item person-item"
},[
t
.
headPic
?
i
(
"img"
,{
attrs
:{
src
:
t
.
headPic
}}):
i
(
"div"
,{
staticClass
:
"replace-head-img"
},[
i
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})]),
e
.
_v
(
" "
),
i
(
"p"
,{
staticClass
:
"name"
},[
e
.
_v
(
e
.
_s
(
t
.
label
))]),
e
.
_v
(
" "
),
i
(
"i"
,{
staticClass
:
"el-icon-circle-close"
,
on
:{
click
:
function
(
i
){
e
.
delCurrent
(
t
,
"specialList"
)}}})]):
i
(
"li"
,{
key
:
a
+
"_"
+
t
.
groupId
,
staticClass
:
"item group-item"
},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
label
)
+
"
\
n "
),
i
(
"i"
,{
staticClass
:
"el-icon-circle-close"
,
on
:{
click
:
function
(
i
){
e
.
delCurrent
(
t
,
"specialList"
)}}})])]}),
e
.
_v
(
" "
),
i
(
"li"
,{
staticClass
:
"item J_add-btn"
,
on
:{
click
:
function
(
t
){
e
.
callSelector
(
"special"
,
e
.
specialList
)}}},[
i
(
"i"
,{
staticClass
:
"el-icon-plus"
})])],
2
)])},
staticRenderFns
:[]};
var
l
=
{
name
:
"permissionSetting"
,
components
:{
selectArea
:
i
(
"VU/8"
)(
n
,
r
,
!
1
,
function
(
e
){
i
(
"HKlq"
)},
null
,
null
).
exports
},
props
:{
butList
:{
type
:
Array
,
default
:
function
(){
return
[]}},
specialList
:{
type
:
Array
,
default
:
function
(){
return
[]}},
selfButList
:{
type
:
Array
,
default
:
function
(){
return
[]}},
selfSpecialList
:{
type
:
Array
,
default
:
function
(){
return
[]}},
visibleSpecialLsit
:{
type
:
Array
,
default
:
function
(){
return
[]}},
onlySelfApartList
:{
type
:
Array
,
default
:
function
(){
return
[]}},
treeData
:{
type
:
Object
,
default
:
function
(){
return
{}}},
departInfo
:{
type
:
Object
,
default
:
function
(){
return
{}}}},
data
:
function
(){
return
{
visibleThere
:
!
1
,
visibleSelf
:
!
1
}},
methods
:{
switchPermission
:
function
(
e
,
t
,
i
){
e
&&
(
this
[
i
]
=!
e
),
this
.
visibleSelf
?
this
.
departInfo
.
type
=
2
:
this
.
visibleThere
?
this
.
departInfo
.
type
=
1
:
this
.
departInfo
.
type
=
""
},
callPerSelector
:
function
(
e
,
t
){
this
.
$emit
(
"callPerSelector"
,
e
,
t
)}},
mounted
:
function
(){
var
e
=
this
.
departInfo
.
type
;
this
.
visibleThere
=!
(
1
!=
e
),
this
.
visibleSelf
=!
(
2
!=
e
)},
watch
:{
departInfo
:{
handler
:
function
(
e
,
t
){
var
i
=
e
.
type
;
this
.
visibleThere
=!
(
1
!=
i
),
this
.
visibleSelf
=!
(
2
!=
i
)},
deep
:
!
0
}}},
o
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"div"
,{
staticClass
:
"jurisdiction-setting"
},[
i
(
"div"
,{
staticClass
:
"only-visivble-there permission-div"
},[
i
(
"div"
,{
staticClass
:
"permission-div-title"
},[
i
(
"span"
,[
e
.
_v
(
"本部门员工仅可见本部门员工"
)]),
e
.
_v
(
" "
),
i
(
"el-switch"
,{
attrs
:{
"active-color"
:
"#409EFF"
,
"inactive-color"
:
"#DCDFE6"
},
on
:{
change
:
function
(
t
){
e
.
switchPermission
(
e
.
visibleThere
,
"visibleThere"
,
"visibleSelf"
)}},
model
:{
value
:
e
.
visibleThere
,
callback
:
function
(
t
){
e
.
visibleThere
=
t
},
expression
:
"visibleThere"
}})],
1
),
e
.
_v
(
" "
),
e
.
visibleThere
?
i
(
"div"
,{
staticClass
:
"particular-setting"
},[
i
(
"select-area"
,{
attrs
:{
treeData
:
e
.
treeData
,
butList
:
e
.
butList
,
specialList
:
e
.
specialList
},
on
:{
callPerSelector
:
e
.
callPerSelector
}})],
1
):
e
.
_e
()]),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"only-visivble-self permission-div"
},[
i
(
"div"
,{
staticClass
:
"permission-div-title"
},[
i
(
"span"
,[
e
.
_v
(
"本部门员工仅可见自己"
)]),
e
.
_v
(
" "
),
i
(
"el-switch"
,{
attrs
:{
"active-color"
:
"#409EFF"
,
"inactive-color"
:
"#DCDFE6"
},
on
:{
change
:
function
(
t
){
e
.
switchPermission
(
e
.
visibleSelf
,
"visibleSelf"
,
"visibleThere"
)}},
model
:{
value
:
e
.
visibleSelf
,
callback
:
function
(
t
){
e
.
visibleSelf
=
t
},
expression
:
"visibleSelf"
}})],
1
),
e
.
_v
(
" "
),
e
.
visibleSelf
?
i
(
"div"
,{
staticClass
:
"particular-setting"
},[
i
(
"select-area"
,{
attrs
:{
treeData
:
e
.
treeData
,
butList
:
e
.
selfButList
,
specialList
:
e
.
selfSpecialList
},
on
:{
callPerSelector
:
e
.
callPerSelector
}})],
1
):
e
.
_e
()])])},
staticRenderFns
:[]};
var
c
=
i
(
"VU/8"
)(
l
,
o
,
!
1
,
function
(
e
){
i
(
"wVEX"
)},
null
,
null
);
t
.
a
=
c
.
exports
},
wVEX
:
function
(
e
,
t
){}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/1
6.1524360dd522553f9835
.js
→
dist/static/js/1
7.fc675433297f48540fa4
.js
View file @
1d1b13ed
webpackJsonp
([
16
],{
"27o1"
:
function
(
e
,
t
,
r
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
n
=
r
(
"3Xzz"
),
o
=
{
name
:
"add-clerk-page"
,
components
:{
clerkInfo
:
r
(
"oncj"
).
a
,
navCrumb
:
n
.
a
},
data
:
function
(){
return
{
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"企业通讯录"
,
path
:
"/administrativeFrame"
},{
name
:
"门店架构"
,
path
:
"/storeFrame"
},{
name
:
"新增店员"
,
path
:
""
}],
isAddnew
:
!
1
}},
beforeMount
:
function
(){
this
.
$route
.
query
.
clerkId
?
this
.
isAddnew
=!
1
:
this
.
isAddnew
=!
0
}},
a
=
{
render
:
function
(){
var
e
=
this
.
$createElement
,
t
=
this
.
_self
.
_c
||
e
;
return
t
(
"div"
,{
staticClass
:
"common-set-wrap add-clerk-wrap"
},[
t
(
"nav-crumb"
,{
attrs
:{
navpath
:
this
.
navpath
}}),
this
.
_v
(
" "
),
t
(
"div"
,{
staticClass
:
"right-content"
},[
t
(
"div"
,{
staticClass
:
"right-box"
},[
t
(
"div"
,{
staticClass
:
"add-clerk-page"
},[
t
(
"clerk-info"
,{
attrs
:{
isAddnew
:
this
.
isAddnew
}})],
1
)])]),
this
.
_v
(
" "
),
t
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
s
=
r
(
"VU/8"
)(
o
,
a
,
!
1
,
function
(
e
){
r
(
"GrJx"
)},
null
,
null
);
t
.
default
=
s
.
exports
},
GrJx
:
function
(
e
,
t
){},
X8e4
:
function
(
e
,
t
){},
oncj
:
function
(
e
,
t
,
r
){
"use strict"
;
var
n
=
r
(
"Ie7z"
),
o
=
r
(
"P9l9"
),
a
=
{
name
:
"clerk-info-form"
,
props
:{
isAddnew
:{
type
:
Boolean
,
default
:
!
1
},
perId
:{
type
:[
String
,
Number
],
default
:
""
}},
components
:{
vueSelectStore
:
n
.
a
},
data
:
function
(){
return
{
rules
:{
name
:[{
required
:
!
0
,
message
:
"请输入店员姓名"
,
trigger
:
"blur"
},{
min
:
2
,
max
:
10
,
message
:
"长度在 2 到 10 个字符"
,
trigger
:
"blur"
}],
phoneNumber
:[{
required
:
!
0
,
validator
:
function
(
e
,
t
,
r
){
if
(
t
)
return
/^1
[
34578
]\d{9}
$/
.
test
(
t
)?
r
():
r
(
new
Error
(
"手机号格式不正确"
));
return
r
(
new
Error
(
"请输入手机号"
))},
trigger
:
"blur"
}],
storeName
:[{
required
:
!
0
,
message
:
"请选择门店"
,
trigger
:
"blur"
}],
code
:[{
required
:
!
0
,
message
:
"请输入code"
,
trigger
:
"blur"
},{
min
:
2
,
max
:
20
,
message
:
"长度在 2 到 20 个字符"
,
trigger
:
"blur"
}],
positionName
:[{
required
:
!
0
,
message
:
"请输入店员职位"
,
trigger
:
"blur"
}]},
clerkInfo
:{
storeName
:
""
,
storeId
:
""
,
managerMode
:
!
1
},
treeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
0
}}},
methods
:{
saveFn
:
function
(
e
){
var
t
=!
0
;
this
.
$refs
.
clerk_info
.
validate
(
function
(
e
){
e
||
(
t
=!
1
)}),
t
&&
this
.
addEmployee
(
this
.
clerkInfo
,
e
)},
callSelector
:
function
(){
this
.
treeSet
.
dialogVisible
=!
0
},
handleSelectedList
:
function
(
e
){
this
.
clerkInfo
.
storeName
=
e
[
0
].
label
,
this
.
clerkInfo
.
storeId
=
e
[
0
].
id
},
addEmployee
:
function
(
e
,
t
){
var
r
=
this
,
n
=
{
name
:
e
.
name
,
isClerk
:
1
,
phoneNumber
:
e
.
phoneNumber
,
positionName
:
e
.
positionName
,
storeId
:
e
.
storeId
,
managerMode
:
1
*
e
.
managerMode
,
code
:
e
.
code
,
employeeClerkId
:
e
.
employeeClerkId
||
""
},
a
=
r
.
isAddnew
?
"/haoban-manage-web/emp/add"
:
"/haoban-manage-web/emp/update"
;
Object
(
o
.
a
)(
a
,
n
).
then
(
function
(
e
){
1
==
e
.
data
.
errorCode
?(
r
.
$message
.
success
({
message
:
"操作成功"
}),
1
==
t
?
r
.
clerkInfo
=
{
name
:
""
,
isClerk
:
1
,
phoneNumber
:
""
,
positionName
:
""
,
storeId
:
""
,
managerMode
:
!
1
,
code
:
""
}:
r
.
$router
.
push
(
"/storeFrame"
)):
r
.
$message
.
error
({
message
:
e
.
data
.
message
})}).
catch
(
function
(
e
){
r
.
$message
.
error
({
message
:
e
.
message
})})},
cancel
:
function
(){
this
.
$confirm
(
" 是否确认取消,取消后当前页面信息将丢失 ?"
,
"提示"
,{
type
:
"warning"
}).
then
(
function
(){
window
.
history
.
go
(
-
1
)}).
catch
(
function
(
e
){})},
getClerkInfo
:
function
(){
var
e
=
this
,
t
=
{
id
:
e
.
$route
.
query
.
clerkId
?
e
.
$route
.
query
.
clerkId
:
e
.
perId
};
Object
(
o
.
a
)(
"/haoban-manage-web/emp/findOne"
,
t
).
then
(
function
(
t
){
1
==
t
.
data
.
errorCode
?
e
.
clerkInfo
=
t
.
data
.
result
:
e
.
$message
.
error
({
message
:
t
.
data
.
message
})}).
catch
(
function
(
t
){
e
.
$message
.
error
({
message
:
t
})})}},
beforeMount
:
function
(){
this
.
isAddnew
||
this
.
getClerkInfo
()},
watch
:{
perId
:
function
(
e
,
t
){
this
.
getClerkInfo
(
e
)}}},
s
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
r
=
e
.
_self
.
_c
||
t
;
return
r
(
"div"
,{
staticClass
:
"form-container bdr-box"
},[
r
(
"el-form"
,{
ref
:
"clerk_info"
,
staticClass
:
"add-clerk-form"
,
attrs
:{
model
:
e
.
clerkInfo
,
rules
:
e
.
rules
,
"label-width"
:
"80px"
}},[
r
(
"el-form-item"
,{
attrs
:{
label
:
"姓名"
,
prop
:
"name"
}},[
r
(
"el-input"
,{
model
:{
value
:
e
.
clerkInfo
.
name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
clerkInfo
,
"name"
,
t
)},
expression
:
"clerkInfo.name"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"手机号"
,
prop
:
"phoneNumber"
}},[
r
(
"el-input"
,{
attrs
:{
disabled
:
!
e
.
isAddnew
},
model
:{
value
:
e
.
clerkInfo
.
phoneNumber
,
callback
:
function
(
t
){
e
.
$set
(
e
.
clerkInfo
,
"phoneNumber"
,
t
)},
expression
:
"clerkInfo.phoneNumber"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"门店"
,
prop
:
"storeName"
}},[
r
(
"el-input"
,{
on
:{
focus
:
e
.
callSelector
},
model
:{
value
:
e
.
clerkInfo
.
storeName
,
callback
:
function
(
t
){
e
.
$set
(
e
.
clerkInfo
,
"storeName"
,
t
)},
expression
:
"clerkInfo.storeName"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"code"
,
prop
:
"code"
}},[
r
(
"el-input"
,{
model
:{
value
:
e
.
clerkInfo
.
code
,
callback
:
function
(
t
){
e
.
$set
(
e
.
clerkInfo
,
"code"
,
t
)},
expression
:
"clerkInfo.code"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"职位"
,
prop
:
"positionName"
}},[
r
(
"el-input"
,{
model
:{
value
:
e
.
clerkInfo
.
positionName
,
callback
:
function
(
t
){
e
.
$set
(
e
.
clerkInfo
,
"positionName"
,
t
)},
expression
:
"clerkInfo.positionName"
}})],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"btn-box"
},[
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
saveFn
}},[
e
.
_v
(
"保 存"
)]),
e
.
_v
(
" "
),
e
.
isAddnew
?
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
saveFn
(
1
)}}},[
e
.
_v
(
"保存并继续添加"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
r
(
"el-button"
,{
on
:{
click
:
e
.
cancel
}},[
e
.
_v
(
"取 消"
)])],
1
),
e
.
_v
(
" "
),
r
(
"vue-select-store"
,{
ref
:
"storeSelector"
,
attrs
:{
treeSet
:
e
.
treeSet
,
selectType
:
"store"
},
on
:{
handleSelectedList
:
e
.
handleSelectedList
}})],
1
)},
staticRenderFns
:[]};
var
i
=
r
(
"VU/8"
)(
a
,
s
,
!
1
,
function
(
e
){
r
(
"X8e4"
)},
null
,
null
);
t
.
a
=
i
.
exports
}});
webpackJsonp
([
17
],{
"27o1"
:
function
(
e
,
t
,
r
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
n
=
r
(
"3Xzz"
),
o
=
{
name
:
"add-clerk-page"
,
components
:{
clerkInfo
:
r
(
"oncj"
).
a
,
navCrumb
:
n
.
a
},
data
:
function
(){
return
{
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"企业通讯录"
,
path
:
"/administrativeFrame"
},{
name
:
"门店架构"
,
path
:
"/storeFrame"
},{
name
:
"新增店员"
,
path
:
""
}],
isAddnew
:
!
1
}},
beforeMount
:
function
(){
this
.
$route
.
query
.
clerkId
?
this
.
isAddnew
=!
1
:
this
.
isAddnew
=!
0
}},
a
=
{
render
:
function
(){
var
e
=
this
.
$createElement
,
t
=
this
.
_self
.
_c
||
e
;
return
t
(
"div"
,{
staticClass
:
"common-set-wrap add-clerk-wrap"
},[
t
(
"nav-crumb"
,{
attrs
:{
navpath
:
this
.
navpath
}}),
this
.
_v
(
" "
),
t
(
"div"
,{
staticClass
:
"right-content"
},[
t
(
"div"
,{
staticClass
:
"right-box"
},[
t
(
"div"
,{
staticClass
:
"add-clerk-page"
},[
t
(
"clerk-info"
,{
attrs
:{
isAddnew
:
this
.
isAddnew
}})],
1
)])]),
this
.
_v
(
" "
),
t
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
s
=
r
(
"VU/8"
)(
o
,
a
,
!
1
,
function
(
e
){
r
(
"GrJx"
)},
null
,
null
);
t
.
default
=
s
.
exports
},
GrJx
:
function
(
e
,
t
){},
X8e4
:
function
(
e
,
t
){},
oncj
:
function
(
e
,
t
,
r
){
"use strict"
;
var
n
=
r
(
"Ie7z"
),
o
=
r
(
"P9l9"
),
a
=
{
name
:
"clerk-info-form"
,
props
:{
isAddnew
:{
type
:
Boolean
,
default
:
!
1
},
perId
:{
type
:[
String
,
Number
],
default
:
""
}},
components
:{
vueSelectStore
:
n
.
a
},
data
:
function
(){
return
{
rules
:{
name
:[{
required
:
!
0
,
message
:
"请输入店员姓名"
,
trigger
:
"blur"
},{
min
:
2
,
max
:
10
,
message
:
"长度在 2 到 10 个字符"
,
trigger
:
"blur"
}],
phoneNumber
:[{
required
:
!
0
,
validator
:
function
(
e
,
t
,
r
){
if
(
t
)
return
/^1
[
34578
]\d{9}
$/
.
test
(
t
)?
r
():
r
(
new
Error
(
"手机号格式不正确"
));
return
r
(
new
Error
(
"请输入手机号"
))},
trigger
:
"blur"
}],
storeName
:[{
required
:
!
0
,
message
:
"请选择门店"
,
trigger
:
"blur"
}],
code
:[{
required
:
!
0
,
message
:
"请输入code"
,
trigger
:
"blur"
},{
min
:
2
,
max
:
20
,
message
:
"长度在 2 到 20 个字符"
,
trigger
:
"blur"
}],
positionName
:[{
required
:
!
0
,
message
:
"请输入店员职位"
,
trigger
:
"blur"
}]},
clerkInfo
:{
storeName
:
""
,
storeId
:
""
,
managerMode
:
!
1
},
treeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
0
}}},
methods
:{
saveFn
:
function
(
e
){
var
t
=!
0
;
this
.
$refs
.
clerk_info
.
validate
(
function
(
e
){
e
||
(
t
=!
1
)}),
t
&&
this
.
addEmployee
(
this
.
clerkInfo
,
e
)},
callSelector
:
function
(){
this
.
treeSet
.
dialogVisible
=!
0
},
handleSelectedList
:
function
(
e
){
this
.
clerkInfo
.
storeName
=
e
[
0
].
label
,
this
.
clerkInfo
.
storeId
=
e
[
0
].
id
},
addEmployee
:
function
(
e
,
t
){
var
r
=
this
,
n
=
{
name
:
e
.
name
,
isClerk
:
1
,
phoneNumber
:
e
.
phoneNumber
,
positionName
:
e
.
positionName
,
storeId
:
e
.
storeId
,
managerMode
:
1
*
e
.
managerMode
,
code
:
e
.
code
,
employeeClerkId
:
e
.
employeeClerkId
||
""
},
a
=
r
.
isAddnew
?
"/haoban-manage-web/emp/add"
:
"/haoban-manage-web/emp/update"
;
Object
(
o
.
a
)(
a
,
n
).
then
(
function
(
e
){
1
==
e
.
data
.
errorCode
?(
r
.
$message
.
success
({
message
:
"操作成功"
}),
1
==
t
?
r
.
clerkInfo
=
{
name
:
""
,
isClerk
:
1
,
phoneNumber
:
""
,
positionName
:
""
,
storeId
:
""
,
managerMode
:
!
1
,
code
:
""
}:
r
.
$router
.
push
(
"/storeFrame"
)):
r
.
$message
.
error
({
message
:
e
.
data
.
message
})}).
catch
(
function
(
e
){
r
.
$message
.
error
({
message
:
e
.
message
})})},
cancel
:
function
(){
this
.
$confirm
(
" 是否确认取消,取消后当前页面信息将丢失 ?"
,
"提示"
,{
type
:
"warning"
}).
then
(
function
(){
window
.
history
.
go
(
-
1
)}).
catch
(
function
(
e
){})},
getClerkInfo
:
function
(){
var
e
=
this
,
t
=
{
id
:
e
.
$route
.
query
.
clerkId
?
e
.
$route
.
query
.
clerkId
:
e
.
perId
};
Object
(
o
.
a
)(
"/haoban-manage-web/emp/findOne"
,
t
).
then
(
function
(
t
){
1
==
t
.
data
.
errorCode
?
e
.
clerkInfo
=
t
.
data
.
result
:
e
.
$message
.
error
({
message
:
t
.
data
.
message
})}).
catch
(
function
(
t
){
e
.
$message
.
error
({
message
:
t
})})}},
beforeMount
:
function
(){
this
.
isAddnew
||
this
.
getClerkInfo
()},
watch
:{
perId
:
function
(
e
,
t
){
this
.
getClerkInfo
(
e
)}}},
s
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
r
=
e
.
_self
.
_c
||
t
;
return
r
(
"div"
,{
staticClass
:
"form-container bdr-box"
},[
r
(
"el-form"
,{
ref
:
"clerk_info"
,
staticClass
:
"add-clerk-form"
,
attrs
:{
model
:
e
.
clerkInfo
,
rules
:
e
.
rules
,
"label-width"
:
"80px"
}},[
r
(
"el-form-item"
,{
attrs
:{
label
:
"姓名"
,
prop
:
"name"
}},[
r
(
"el-input"
,{
model
:{
value
:
e
.
clerkInfo
.
name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
clerkInfo
,
"name"
,
t
)},
expression
:
"clerkInfo.name"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"手机号"
,
prop
:
"phoneNumber"
}},[
r
(
"el-input"
,{
attrs
:{
disabled
:
!
e
.
isAddnew
},
model
:{
value
:
e
.
clerkInfo
.
phoneNumber
,
callback
:
function
(
t
){
e
.
$set
(
e
.
clerkInfo
,
"phoneNumber"
,
t
)},
expression
:
"clerkInfo.phoneNumber"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"门店"
,
prop
:
"storeName"
}},[
r
(
"el-input"
,{
on
:{
focus
:
e
.
callSelector
},
model
:{
value
:
e
.
clerkInfo
.
storeName
,
callback
:
function
(
t
){
e
.
$set
(
e
.
clerkInfo
,
"storeName"
,
t
)},
expression
:
"clerkInfo.storeName"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"code"
,
prop
:
"code"
}},[
r
(
"el-input"
,{
model
:{
value
:
e
.
clerkInfo
.
code
,
callback
:
function
(
t
){
e
.
$set
(
e
.
clerkInfo
,
"code"
,
t
)},
expression
:
"clerkInfo.code"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"职位"
,
prop
:
"positionName"
}},[
r
(
"el-input"
,{
model
:{
value
:
e
.
clerkInfo
.
positionName
,
callback
:
function
(
t
){
e
.
$set
(
e
.
clerkInfo
,
"positionName"
,
t
)},
expression
:
"clerkInfo.positionName"
}})],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"btn-box"
},[
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
saveFn
}},[
e
.
_v
(
"保 存"
)]),
e
.
_v
(
" "
),
e
.
isAddnew
?
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
saveFn
(
1
)}}},[
e
.
_v
(
"保存并继续添加"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
r
(
"el-button"
,{
on
:{
click
:
e
.
cancel
}},[
e
.
_v
(
"取 消"
)])],
1
),
e
.
_v
(
" "
),
r
(
"vue-select-store"
,{
ref
:
"storeSelector"
,
attrs
:{
treeSet
:
e
.
treeSet
,
selectType
:
"store"
},
on
:{
handleSelectedList
:
e
.
handleSelectedList
}})],
1
)},
staticRenderFns
:[]};
var
i
=
r
(
"VU/8"
)(
a
,
s
,
!
1
,
function
(
e
){
r
(
"X8e4"
)},
null
,
null
);
t
.
a
=
i
.
exports
}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/1
7.0df740b440fad8662864
.js
→
dist/static/js/1
8.0ddca03b14efa60e12ca
.js
View file @
1d1b13ed
webpackJsonp
([
17
],{
"738z"
:
function
(
t
,
e
,
i
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
i
(
"3Xzz"
),
s
=
i
(
"elmV"
),
o
=
i
(
"P9l9"
),
n
=
i
(
"O3H5"
),
l
=
{
name
:
"employee-io"
,
components
:{
navCrumb
:
a
.
a
,
uploadExcelComponent
:
s
.
a
,
exportSet
:
n
.
a
},
data
:
function
(){
var
t
=
window
.
location
.
origin
;
return
-
1
!=
t
.
indexOf
(
"localhost"
)
&&
(
t
=
"http://www.gicdev.com"
),{
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"企业通讯录"
,
path
:
"/administrativeFrame"
},{
name
:
"在职员工"
,
path
:
"employeeRecord"
},{
name
:
"导入员工档案"
,
path
:
""
}],
windowH
:
window
.
screen
.
availHeight
-
180
+
"px"
,
host
:
window
.
location
.
origin
,
type
:
"import"
,
fileList
:[],
url
:
t
+
"/haoban-manage-web/record/record-template-file-upload"
,
logList
:[],
loading
:
!
0
,
pageSize
:
20
,
currentPage
:
1
,
total
:
0
,
tempList
:[],
dialogVisible
:
!
1
}},
methods
:{
handleSizeChange
:
function
(
t
){
this
.
pageSize
=
t
,
this
.
getErrorNote
()},
handleCurrentChange
:
function
(
t
){
this
.
currentPage
=
t
,
this
.
getErrorNote
()},
resetList
:
function
(
t
){
this
.
fileList
=
[],
"note"
==
t
&&
this
.
getErrorNote
()},
getErrorNote
:
function
(){
var
t
=
this
,
e
=
{
departmentId
:
t
.
$route
.
query
.
departmentId
,
importCode
:
t
.
$route
.
query
.
importCode
,
pageNum
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
};
Object
(
o
.
a
)(
"/haoban-manage-web/record/find-error-log"
,
e
).
then
(
function
(
e
){
1
==
e
.
data
.
errorCode
?(
t
.
total
=
e
.
data
.
result
.
totalCount
,
t
.
logList
=
e
.
data
.
result
.
result
,
t
.
formatData
(
e
.
data
.
result
.
template
,
e
.
data
.
result
.
page
.
result
)):
t
.
$message
.
error
({
message
:
e
.
data
.
message
})}).
catch
(
function
(
e
){
t
.
$message
.
error
({
message
:
e
.
message
})})},
formatData
:
function
(
t
,
e
){
var
i
=
[];
t
.
forEach
(
function
(
t
){
i
.
push
({
fieldCode
:
t
.
fieldCode
,
fieldName
:
t
.
fieldName
})}),
this
.
tempList
=
i
,
this
.
logList
=
e
,
this
.
loading
=!
1
},
beforeAvatarUpload
:
function
(
t
){
var
e
=
t
.
raw
.
type
,
i
=
"application/vnd.ms-excel"
===
e
||
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
===
e
;
return
i
||
this
.
$message
.
error
(
"文件格式必须为 xls 或 xlsx 格式!"
),
i
},
uploadSuccess
:
function
(){
this
.
fileList
=
[],
this
.
type
=
"note"
,
this
.
getErrorNote
()},
submitUpload
:
function
(
t
){
this
.
$refs
[
t
].
submit
()},
getChange
:
function
(
t
,
e
){
var
i
=
e
.
length
-
1
<
0
?
0
:
e
.
length
-
1
,
a
=
t
.
raw
.
type
;
if
(
!
(
"application/vnd.ms-excel"
===
a
||
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
===
a
))
return
this
.
$message
.
error
(
"文件格式必须为 xls 或 xlsx 格式!"
),
this
.
fileList
.
splice
(
i
,
1
),
!
1
;
this
.
fileList
=
[
e
[
i
]]},
callExport
:
function
(){
this
.
dialogVisible
=!
0
},
cancelCho
:
function
(){
this
.
dialogVisible
=!
1
}},
beforeMount
:
function
(){
"note"
==
this
.
type
&&
this
.
getErrorNote
(),
this
.
$nextTick
(
function
(){
document
.
querySelector
(
".contact-wrap__body"
).
style
.
overflow
=
"hidden"
})},
beforeDestroy
:
function
(){
document
.
querySelector
(
".contact-wrap__body"
).
style
.
overflow
=
"auto"
}},
c
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"div"
,{
staticClass
:
"common-set-wrap record-io-wrap"
,
style
:{
height
:
t
.
windowH
}},[
i
(
"nav-crumb"
,{
attrs
:{
navpath
:
t
.
navpath
}}),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"right-content"
},[
i
(
"div"
,{
staticClass
:
"right-box"
},[
i
(
"div"
,{
staticClass
:
"io-container"
},[
t
.
dialogVisible
?[
i
(
"export-set"
,{
on
:{
cancelCho
:
t
.
cancelCho
}})]:[
t
.
_m
(
0
),
t
.
_v
(
" "
),
i
(
"el-radio-group"
,{
staticClass
:
"m-t-20"
,
on
:{
change
:
t
.
resetList
},
model
:{
value
:
t
.
type
,
callback
:
function
(
e
){
t
.
type
=
e
},
expression
:
"type"
}},[
i
(
"el-radio-button"
,{
attrs
:{
label
:
"import"
}},[
t
.
_v
(
"导入员工档案"
)]),
t
.
_v
(
" "
),
i
(
"el-radio-button"
,{
attrs
:{
label
:
"export"
}},[
t
.
_v
(
"导出/修改员工档案"
)]),
t
.
_v
(
" "
),
i
(
"el-radio-button"
,{
attrs
:{
label
:
"note"
}},[
t
.
_v
(
"错误记录"
)])],
1
),
t
.
_v
(
" "
),
"import"
==
t
.
type
?
i
(
"div"
,{
staticClass
:
"handle-area import"
},[
i
(
"div"
,{
staticClass
:
"step-div"
,
staticStyle
:{
"margin-bottom"
:
"90px"
,
"line-height"
:
"32px"
}},[
i
(
"span"
,{
staticClass
:
"ft-large"
},[
t
.
_v
(
"①"
)]),
t
.
_v
(
"下载模板
\
n "
),
i
(
"a"
,{
staticClass
:
"d-u-btn"
,
attrs
:{
href
:
t
.
host
+
"/haoban-manage-web/record/export-record-template.json"
}},[
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
}},[
t
.
_v
(
"下载"
),
i
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai m-l-5"
})])],
1
)]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"step-div"
},[
i
(
"span"
,{
staticClass
:
"ft-large"
},[
t
.
_v
(
"②"
)]),
t
.
_v
(
"上传员工档案
\
n "
),
i
(
"div"
,{
staticClass
:
"d-u-btn"
},[
i
(
"el-upload"
,{
ref
:
"upload"
,
staticClass
:
"upload-demo"
,
attrs
:{
action
:
t
.
url
,
multiple
:
!
1
,
"file-list"
:
t
.
fileList
,
"auto-upload"
:
!
1
,
"before-upload"
:
t
.
beforeAvatarUpload
,
"on-success"
:
t
.
uploadSuccess
,
"on-change"
:
t
.
getChange
}},[
i
(
"el-button"
,{
attrs
:{
slot
:
"trigger"
,
size
:
"small"
,
type
:
"primary"
},
slot
:
"trigger"
},[
t
.
_v
(
"选取文件"
)]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"el-upload__tip"
,
attrs
:{
slot
:
"tip"
},
slot
:
"tip"
},[
t
.
_v
(
"文件格式必须为xls或xlsx格式"
)])],
1
)],
1
)]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"up-btn-div"
},[
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
disabled
:
0
==
t
.
fileList
.
length
},
on
:{
click
:
function
(
e
){
t
.
submitUpload
(
"upload"
)}}},[
t
.
_v
(
"上传"
)])],
1
)]):
"export"
==
t
.
type
?
i
(
"div"
,{
staticClass
:
"handle-area import"
},[
i
(
"div"
,{
staticClass
:
"step-div"
,
staticStyle
:{
"margin-bottom"
:
"90px"
,
"line-height"
:
"32px"
}},[
i
(
"span"
,{
staticClass
:
"ft-large"
},[
t
.
_v
(
"①"
)]),
t
.
_v
(
"导出员工档案
\
n "
),
i
(
"a"
,{
staticClass
:
"d-u-btn"
},[
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
callExport
}},[
t
.
_v
(
"下载"
),
i
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai m-l-5"
})])],
1
)]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"step-div"
},[
i
(
"span"
,{
staticClass
:
"ft-large"
},[
t
.
_v
(
"②"
)]),
t
.
_v
(
"上传更新后的员工档案
\
n "
),
i
(
"div"
,{
staticClass
:
"d-u-btn"
},[
i
(
"el-upload"
,{
ref
:
"uploadEdit"
,
staticClass
:
"upload-demo"
,
attrs
:{
action
:
t
.
url
,
multiple
:
!
1
,
"file-list"
:
t
.
fileList
,
"auto-upload"
:
!
1
,
"on-success"
:
t
.
uploadSuccess
,
"on-change"
:
t
.
getChange
}},[
i
(
"el-button"
,{
attrs
:{
slot
:
"trigger"
,
size
:
"small"
,
type
:
"primary"
},
slot
:
"trigger"
},[
t
.
_v
(
"选取文件"
)]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"el-upload__tip"
,
attrs
:{
slot
:
"tip"
},
slot
:
"tip"
},[
t
.
_v
(
"文件格式必须为xls或xlsx格式"
)])],
1
)],
1
)]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"up-btn-div"
},[
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
disabled
:
0
==
t
.
fileList
.
length
},
on
:{
click
:
function
(
e
){
t
.
submitUpload
(
"uploadEdit"
)}}},[
t
.
_v
(
"上传"
)])],
1
)]):
i
(
"div"
,{
staticClass
:
"error-log import"
},[
i
(
"div"
,{
staticClass
:
"title-area"
},[
i
(
"div"
,{
staticClass
:
"tip"
}),
t
.
_v
(
" "
),
i
(
"a"
,{
attrs
:{
href
:
t
.
host
+
"/haoban-manage-web/record/error-log-export?importCode="
+
t
.
$route
.
query
.
importCode
}},[
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
}},[
t
.
_v
(
"导出错误记录"
)])],
1
)]),
t
.
_v
(
" "
),
i
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
t
.
loading
,
expression
:
"loading"
}],
staticClass
:
"m-t-20"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
logList
,
height
:
"400"
}},[
i
(
"el-table-column"
,{
attrs
:{
type
:
"index"
,
width
:
"50"
,
label
:
"序号"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
width
:
"200"
,
prop
:
"fieldValue"
,
label
:
"字段值"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
width
:
"200"
,
prop
:
"fieldName"
,
label
:
"字段名"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
width
:
"200"
,
prop
:
"failReason"
,
label
:
"错误原因"
}}),
t
.
_v
(
" "
),
t
.
_l
(
t
.
tempList
,
function
(
t
){
return
[
i
(
"el-table-column"
,{
key
:
t
.
fieldCode
,
attrs
:{
width
:
"200"
,
label
:
t
.
fieldName
,
prop
:
t
.
fieldCode
}})]})],
2
),
t
.
_v
(
" "
),
t
.
logList
.
length
?
i
(
"el-pagination"
,{
staticClass
:
"pagination"
,
attrs
:{
background
:
""
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
t
.
pageSize
,
"current-page"
:
t
.
currentPage
,
layout
:
"total, sizes, prev, pager, next"
,
total
:
t
.
total
},
on
:{
"size-change"
:
t
.
handleSizeChange
,
"current-change"
:
t
.
handleCurrentChange
}}):
t
.
_e
()],
1
)]],
2
)])]),
t
.
_v
(
" "
),
i
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"ul"
,{
staticClass
:
"tip-area"
},[
i
(
"li"
,{
staticClass
:
"tip"
},[
t
.
_v
(
"
\
n 姓名必须和好办企业通讯录中的员工姓名保持一致,手机号必须为员工注册好办的手机号
\
n "
)]),
t
.
_v
(
" "
),
i
(
"li"
,{
staticClass
:
"tip"
},[
t
.
_v
(
"
\
n 员工档案导入时,直接以手机号去做匹配,通讯录中不存在的将无法导入(模板中配置的部门、职位、code,这些字段信息请保持与企业通讯录中一致,这几个字段的信息将不会修改通讯录的信息,直接取该成员对应的通讯录的字段信息)
\
n "
)]),
t
.
_v
(
" "
),
i
(
"li"
,{
staticClass
:
"tip"
},[
t
.
_v
(
"如果想要新增字段,可在后台档案设置中增加,再导入模板"
)]),
t
.
_v
(
" "
),
i
(
"li"
,{
staticClass
:
"tip"
},[
t
.
_v
(
"字段类型为图片上传、多选的字段无法导入、导出"
)]),
t
.
_v
(
" "
),
i
(
"li"
,{
staticClass
:
"tip"
},[
t
.
_v
(
"确保导入的表头字段和后台配置表头字段的名称一致(模板下载时间不可修改)"
)]),
t
.
_v
(
" "
),
i
(
"li"
,{
staticClass
:
"tip"
},[
t
.
_v
(
"
\
n 由于数据量可能较大,每次最多导入2000条员工档案,若超过只取前2000条,可以分多次导入
\
n "
)])])}]};
var
r
=
i
(
"VU/8"
)(
l
,
c
,
!
1
,
function
(
t
){
i
(
"cHyZ"
)},
null
,
null
);
e
.
default
=
r
.
exports
},
O3H5
:
function
(
t
,
e
,
i
){
"use strict"
;
var
a
=
i
(
"mvHQ"
),
s
=
i
.
n
(
a
),
o
=
i
(
"P9l9"
),
n
=
i
(
"DAYN"
),
l
=
{
name
:
"export-set"
,
components
:{
draggable
:
i
.
n
(
n
).
a
},
data
:
function
(){
return
{
tempList
:[],
checkList
:[],
origin
:[],
checkAll
:
!
1
,
isIndeterminate
:
!
1
,
checkedList
:[]}},
methods
:{
deleteField
:
function
(
t
){
this
.
checkedList
.
splice
(
t
,
1
);
var
e
=
this
.
checkedList
.
map
(
function
(
t
){
return
t
.
fieldCode
});
this
.
origin
.
forEach
(
function
(
t
,
i
){
e
.
includes
(
t
.
fieldCode
)?
t
.
checked
=!
0
:
t
.
checked
=!
1
}),
this
.
checkHalf
()},
checkHalf
:
function
(){
if
(
0
===
this
.
checkedList
.
length
)
return
this
.
isIndeterminate
=!
1
,
!
1
;
this
.
checkedList
.
length
===
this
.
origin
.
length
?
this
.
isIndeterminate
=!
1
:
this
.
isIndeterminate
=!
0
},
checkThis
:
function
(
t
){
var
e
=
this
;
t
.
checked
?
e
.
checkedList
.
push
(
t
):
e
.
checkedList
.
forEach
(
function
(
i
,
a
){
i
.
fieldCode
===
t
.
fieldCode
&&
e
.
checkedList
.
splice
(
a
,
1
)}),
e
.
checkHalf
()},
handleCheckAllChange
:
function
(
t
){
this
.
checkedList
=
[],
this
.
origin
.
forEach
(
function
(
e
,
i
){
e
.
checked
=
t
,
t
&&
(
e
.
order
=
i
+
1
)}),
t
&&
(
this
.
checkedList
=
this
.
origin
.
slice
(
0
)),
this
.
checkHalf
()},
getTemplate
:
function
(){
var
t
=
this
;
Object
(
o
.
a
)(
"/haoban-manage-web/record/employee-find-template"
,{}).
then
(
function
(
e
){
1
==
e
.
data
.
errorCode
?
t
.
formatTemplateList
(
e
.
data
.
result
):
t
.
$message
.
error
({
message
:
e
.
data
.
message
})}).
catch
(
function
(
e
){
t
.
$message
.
error
({
message
:
e
.
message
})})},
formatTemplateList
:
function
(
t
){
var
e
=
[],
i
=
[],
a
=
t
;
t
.
forEach
(
function
(
t
){
t
.
title
=
t
.
fieldName
,
t
.
name
=
t
.
fieldName
,
t
.
checked
=!
1
;
var
i
=
[];
a
.
forEach
(
function
(
e
){
e
.
parentCode
==
t
.
fieldCode
&&
i
.
push
(
e
)}),
i
.
sort
(
function
(
t
,
e
){
return
1
*
t
.
sort
-
1
*
e
.
sort
}),
i
.
length
>
0
&&
(
t
.
childrens
=
i
),
0
==
t
.
parentCode
&&
e
.
push
(
t
)}),
e
.
sort
(
function
(
t
,
e
){
return
1
*
t
.
sort
-
1
*
e
.
sort
}),
e
.
forEach
(
function
(
t
){
i
=
i
.
concat
(
t
.
childrens
)}),
this
.
origin
=
i
,
this
.
tempList
=
e
},
cancelCho
:
function
(){
this
.
origin
.
forEach
(
function
(
t
){
t
.
checked
=!
1
}),
this
.
$emit
(
"cancelCho"
)},
exportCho
:
function
(){
var
t
=
[];
this
.
checkedList
.
forEach
(
function
(
e
){
e
.
checked
&&
t
.
push
({
fieldCode
:
e
.
fieldCode
,
fieldName
:
e
.
fieldName
})});
s
()(
t
);
var
e
=
window
.
location
.
origin
;
-
1
!=
e
.
indexOf
(
"localhost"
)
&&
(
e
=
"http://www.gicdev.com"
),
location
.
href
=
e
+
"/haoban-manage-web/record/define-export?exportTitleContent="
+
s
()(
t
),
this
.
$emit
(
"cancelCho"
)}},
beforeMount
:
function
(){
this
.
getTemplate
()}},
c
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"div"
,{
staticClass
:
"export-set-container"
},[
t
.
_m
(
0
),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"cho-list"
},[
i
(
"draggable"
,{
model
:{
value
:
t
.
checkedList
,
callback
:
function
(
e
){
t
.
checkedList
=
e
},
expression
:
"checkedList"
}},[
t
.
_l
(
t
.
checkedList
,
function
(
e
,
a
){
return
[
e
.
checked
?
i
(
"div"
,{
key
:
e
.
fieldCode
+
a
,
staticClass
:
"cho"
},[
t
.
_v
(
t
.
_s
(
e
.
fieldName
)
+
" "
),
i
(
"i"
,{
staticClass
:
"el-icon-circle-close"
,
on
:{
click
:
function
(
e
){
t
.
deleteField
(
a
)}}})]):
t
.
_e
()]})],
2
)],
1
),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"cho-area"
},[
i
(
"div"
,{
staticClass
:
"title"
},[
t
.
_v
(
"选择需要导出的字段"
)]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"cho-area-group"
},[
i
(
"div"
,{
staticClass
:
"group-div"
},[
i
(
"div"
,{
staticClass
:
"group-title"
}),
t
.
_v
(
" "
),
i
(
"ul"
,{
staticClass
:
"group-son-list"
},[
i
(
"el-checkbox"
,{
attrs
:{
indeterminate
:
t
.
isIndeterminate
},
on
:{
change
:
t
.
handleCheckAllChange
},
model
:{
value
:
t
.
checkAll
,
callback
:
function
(
e
){
t
.
checkAll
=
e
},
expression
:
"checkAll"
}},[
t
.
_v
(
"全选"
)])],
1
)]),
t
.
_v
(
" "
),
t
.
_l
(
t
.
tempList
,
function
(
e
,
a
){
return
i
(
"div"
,{
key
:
e
.
fieldCode
+
a
,
staticClass
:
"group-div"
},[
i
(
"div"
,{
staticClass
:
"group-title"
},[
t
.
_v
(
t
.
_s
(
e
.
title
))]),
t
.
_v
(
" "
),
i
(
"ul"
,{
staticClass
:
"group-son-list"
},[
t
.
_l
(
t
.
origin
,
function
(
a
){
return
[
a
.
parentCode
==
e
.
fieldCode
?
i
(
"li"
,{
key
:
a
.
fieldCode
},[
i
(
"el-checkbox"
,{
key
:
a
.
fieldCode
,
attrs
:{
label
:
a
.
fieldName
},
on
:{
change
:
function
(
e
){
t
.
checkThis
(
a
)}},
model
:{
value
:
a
.
checked
,
callback
:
function
(
e
){
t
.
$set
(
a
,
"checked"
,
e
)},
expression
:
"items.checked"
}},[
t
.
_v
(
t
.
_s
(
a
.
fieldName
))])],
1
):
t
.
_e
()]})],
2
)])})],
2
)]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"handle-cho-btn"
},[
i
(
"el-button"
,{
staticClass
:
"export-btn"
,
attrs
:{
type
:
"primary"
,
disabled
:
t
.
checkedList
.
length
<
1
},
on
:{
click
:
t
.
exportCho
}},[
t
.
_v
(
"导出"
),
i
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai"
})]),
t
.
_v
(
" "
),
i
(
"el-button"
,{
on
:{
click
:
t
.
cancelCho
}},[
t
.
_v
(
"取消"
)])],
1
)])},
staticRenderFns
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"title"
},[
this
.
_v
(
"已选择字段"
),
e
(
"span"
,[
this
.
_v
(
"导出的列表中将按顺序显示这些字段(可拖拽排序)"
)])])}]};
var
r
=
i
(
"VU/8"
)(
l
,
c
,
!
1
,
function
(
t
){
i
(
"wEsK"
)},
null
,
null
);
e
.
a
=
r
.
exports
},
cHyZ
:
function
(
t
,
e
){},
wEsK
:
function
(
t
,
e
){}});
webpackJsonp
([
18
],{
"738z"
:
function
(
t
,
e
,
i
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
i
(
"3Xzz"
),
s
=
i
(
"elmV"
),
o
=
i
(
"P9l9"
),
n
=
i
(
"O3H5"
),
l
=
{
name
:
"employee-io"
,
components
:{
navCrumb
:
a
.
a
,
uploadExcelComponent
:
s
.
a
,
exportSet
:
n
.
a
},
data
:
function
(){
var
t
=
window
.
location
.
origin
;
return
-
1
!=
t
.
indexOf
(
"localhost"
)
&&
(
t
=
"http://www.gicdev.com"
),{
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"企业通讯录"
,
path
:
"/administrativeFrame"
},{
name
:
"在职员工"
,
path
:
"employeeRecord"
},{
name
:
"导入员工档案"
,
path
:
""
}],
windowH
:
window
.
screen
.
availHeight
-
180
+
"px"
,
host
:
window
.
location
.
origin
,
type
:
"import"
,
fileList
:[],
url
:
t
+
"/haoban-manage-web/record/record-template-file-upload"
,
logList
:[],
loading
:
!
0
,
pageSize
:
20
,
currentPage
:
1
,
total
:
0
,
tempList
:[],
dialogVisible
:
!
1
}},
methods
:{
handleSizeChange
:
function
(
t
){
this
.
pageSize
=
t
,
this
.
getErrorNote
()},
handleCurrentChange
:
function
(
t
){
this
.
currentPage
=
t
,
this
.
getErrorNote
()},
resetList
:
function
(
t
){
this
.
fileList
=
[],
"note"
==
t
&&
this
.
getErrorNote
()},
getErrorNote
:
function
(){
var
t
=
this
,
e
=
{
departmentId
:
t
.
$route
.
query
.
departmentId
,
importCode
:
t
.
$route
.
query
.
importCode
,
pageNum
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
};
Object
(
o
.
a
)(
"/haoban-manage-web/record/find-error-log"
,
e
).
then
(
function
(
e
){
1
==
e
.
data
.
errorCode
?(
t
.
total
=
e
.
data
.
result
.
totalCount
,
t
.
logList
=
e
.
data
.
result
.
result
,
t
.
formatData
(
e
.
data
.
result
.
template
,
e
.
data
.
result
.
page
.
result
)):
t
.
$message
.
error
({
message
:
e
.
data
.
message
})}).
catch
(
function
(
e
){
t
.
$message
.
error
({
message
:
e
.
message
})})},
formatData
:
function
(
t
,
e
){
var
i
=
[];
t
.
forEach
(
function
(
t
){
i
.
push
({
fieldCode
:
t
.
fieldCode
,
fieldName
:
t
.
fieldName
})}),
this
.
tempList
=
i
,
this
.
logList
=
e
,
this
.
loading
=!
1
},
beforeAvatarUpload
:
function
(
t
){
var
e
=
t
.
raw
.
type
,
i
=
"application/vnd.ms-excel"
===
e
||
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
===
e
;
return
i
||
this
.
$message
.
error
(
"文件格式必须为 xls 或 xlsx 格式!"
),
i
},
uploadSuccess
:
function
(){
this
.
fileList
=
[],
this
.
type
=
"note"
,
this
.
getErrorNote
()},
submitUpload
:
function
(
t
){
this
.
$refs
[
t
].
submit
()},
getChange
:
function
(
t
,
e
){
var
i
=
e
.
length
-
1
<
0
?
0
:
e
.
length
-
1
,
a
=
t
.
raw
.
type
;
if
(
!
(
"application/vnd.ms-excel"
===
a
||
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
===
a
))
return
this
.
$message
.
error
(
"文件格式必须为 xls 或 xlsx 格式!"
),
this
.
fileList
.
splice
(
i
,
1
),
!
1
;
this
.
fileList
=
[
e
[
i
]]},
callExport
:
function
(){
this
.
dialogVisible
=!
0
},
cancelCho
:
function
(){
this
.
dialogVisible
=!
1
}},
beforeMount
:
function
(){
"note"
==
this
.
type
&&
this
.
getErrorNote
(),
this
.
$nextTick
(
function
(){
document
.
querySelector
(
".contact-wrap__body"
).
style
.
overflow
=
"hidden"
})},
beforeDestroy
:
function
(){
document
.
querySelector
(
".contact-wrap__body"
).
style
.
overflow
=
"auto"
}},
c
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"div"
,{
staticClass
:
"common-set-wrap record-io-wrap"
,
style
:{
height
:
t
.
windowH
}},[
i
(
"nav-crumb"
,{
attrs
:{
navpath
:
t
.
navpath
}}),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"right-content"
},[
i
(
"div"
,{
staticClass
:
"right-box"
},[
i
(
"div"
,{
staticClass
:
"io-container"
},[
t
.
dialogVisible
?[
i
(
"export-set"
,{
on
:{
cancelCho
:
t
.
cancelCho
}})]:[
t
.
_m
(
0
),
t
.
_v
(
" "
),
i
(
"el-radio-group"
,{
staticClass
:
"m-t-20"
,
on
:{
change
:
t
.
resetList
},
model
:{
value
:
t
.
type
,
callback
:
function
(
e
){
t
.
type
=
e
},
expression
:
"type"
}},[
i
(
"el-radio-button"
,{
attrs
:{
label
:
"import"
}},[
t
.
_v
(
"导入员工档案"
)]),
t
.
_v
(
" "
),
i
(
"el-radio-button"
,{
attrs
:{
label
:
"export"
}},[
t
.
_v
(
"导出/修改员工档案"
)]),
t
.
_v
(
" "
),
i
(
"el-radio-button"
,{
attrs
:{
label
:
"note"
}},[
t
.
_v
(
"错误记录"
)])],
1
),
t
.
_v
(
" "
),
"import"
==
t
.
type
?
i
(
"div"
,{
staticClass
:
"handle-area import"
},[
i
(
"div"
,{
staticClass
:
"step-div"
,
staticStyle
:{
"margin-bottom"
:
"90px"
,
"line-height"
:
"32px"
}},[
i
(
"span"
,{
staticClass
:
"ft-large"
},[
t
.
_v
(
"①"
)]),
t
.
_v
(
"下载模板
\
n "
),
i
(
"a"
,{
staticClass
:
"d-u-btn"
,
attrs
:{
href
:
t
.
host
+
"/haoban-manage-web/record/export-record-template.json"
}},[
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
}},[
t
.
_v
(
"下载"
),
i
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai m-l-5"
})])],
1
)]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"step-div"
},[
i
(
"span"
,{
staticClass
:
"ft-large"
},[
t
.
_v
(
"②"
)]),
t
.
_v
(
"上传员工档案
\
n "
),
i
(
"div"
,{
staticClass
:
"d-u-btn"
},[
i
(
"el-upload"
,{
ref
:
"upload"
,
staticClass
:
"upload-demo"
,
attrs
:{
action
:
t
.
url
,
multiple
:
!
1
,
"file-list"
:
t
.
fileList
,
"auto-upload"
:
!
1
,
"before-upload"
:
t
.
beforeAvatarUpload
,
"on-success"
:
t
.
uploadSuccess
,
"on-change"
:
t
.
getChange
}},[
i
(
"el-button"
,{
attrs
:{
slot
:
"trigger"
,
size
:
"small"
,
type
:
"primary"
},
slot
:
"trigger"
},[
t
.
_v
(
"选取文件"
)]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"el-upload__tip"
,
attrs
:{
slot
:
"tip"
},
slot
:
"tip"
},[
t
.
_v
(
"文件格式必须为xls或xlsx格式"
)])],
1
)],
1
)]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"up-btn-div"
},[
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
disabled
:
0
==
t
.
fileList
.
length
},
on
:{
click
:
function
(
e
){
t
.
submitUpload
(
"upload"
)}}},[
t
.
_v
(
"上传"
)])],
1
)]):
"export"
==
t
.
type
?
i
(
"div"
,{
staticClass
:
"handle-area import"
},[
i
(
"div"
,{
staticClass
:
"step-div"
,
staticStyle
:{
"margin-bottom"
:
"90px"
,
"line-height"
:
"32px"
}},[
i
(
"span"
,{
staticClass
:
"ft-large"
},[
t
.
_v
(
"①"
)]),
t
.
_v
(
"导出员工档案
\
n "
),
i
(
"a"
,{
staticClass
:
"d-u-btn"
},[
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
callExport
}},[
t
.
_v
(
"下载"
),
i
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai m-l-5"
})])],
1
)]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"step-div"
},[
i
(
"span"
,{
staticClass
:
"ft-large"
},[
t
.
_v
(
"②"
)]),
t
.
_v
(
"上传更新后的员工档案
\
n "
),
i
(
"div"
,{
staticClass
:
"d-u-btn"
},[
i
(
"el-upload"
,{
ref
:
"uploadEdit"
,
staticClass
:
"upload-demo"
,
attrs
:{
action
:
t
.
url
,
multiple
:
!
1
,
"file-list"
:
t
.
fileList
,
"auto-upload"
:
!
1
,
"on-success"
:
t
.
uploadSuccess
,
"on-change"
:
t
.
getChange
}},[
i
(
"el-button"
,{
attrs
:{
slot
:
"trigger"
,
size
:
"small"
,
type
:
"primary"
},
slot
:
"trigger"
},[
t
.
_v
(
"选取文件"
)]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"el-upload__tip"
,
attrs
:{
slot
:
"tip"
},
slot
:
"tip"
},[
t
.
_v
(
"文件格式必须为xls或xlsx格式"
)])],
1
)],
1
)]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"up-btn-div"
},[
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
disabled
:
0
==
t
.
fileList
.
length
},
on
:{
click
:
function
(
e
){
t
.
submitUpload
(
"uploadEdit"
)}}},[
t
.
_v
(
"上传"
)])],
1
)]):
i
(
"div"
,{
staticClass
:
"error-log import"
},[
i
(
"div"
,{
staticClass
:
"title-area"
},[
i
(
"div"
,{
staticClass
:
"tip"
}),
t
.
_v
(
" "
),
i
(
"a"
,{
attrs
:{
href
:
t
.
host
+
"/haoban-manage-web/record/error-log-export?importCode="
+
t
.
$route
.
query
.
importCode
}},[
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
}},[
t
.
_v
(
"导出错误记录"
)])],
1
)]),
t
.
_v
(
" "
),
i
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
t
.
loading
,
expression
:
"loading"
}],
staticClass
:
"m-t-20"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
logList
,
height
:
"400"
}},[
i
(
"el-table-column"
,{
attrs
:{
type
:
"index"
,
width
:
"50"
,
label
:
"序号"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
width
:
"200"
,
prop
:
"fieldValue"
,
label
:
"字段值"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
width
:
"200"
,
prop
:
"fieldName"
,
label
:
"字段名"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
width
:
"200"
,
prop
:
"failReason"
,
label
:
"错误原因"
}}),
t
.
_v
(
" "
),
t
.
_l
(
t
.
tempList
,
function
(
t
){
return
[
i
(
"el-table-column"
,{
key
:
t
.
fieldCode
,
attrs
:{
width
:
"200"
,
label
:
t
.
fieldName
,
prop
:
t
.
fieldCode
}})]})],
2
),
t
.
_v
(
" "
),
t
.
logList
.
length
?
i
(
"el-pagination"
,{
staticClass
:
"pagination"
,
attrs
:{
background
:
""
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
t
.
pageSize
,
"current-page"
:
t
.
currentPage
,
layout
:
"total, sizes, prev, pager, next"
,
total
:
t
.
total
},
on
:{
"size-change"
:
t
.
handleSizeChange
,
"current-change"
:
t
.
handleCurrentChange
}}):
t
.
_e
()],
1
)]],
2
)])]),
t
.
_v
(
" "
),
i
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"ul"
,{
staticClass
:
"tip-area"
},[
i
(
"li"
,{
staticClass
:
"tip"
},[
t
.
_v
(
"
\
n 姓名必须和好办企业通讯录中的员工姓名保持一致,手机号必须为员工注册好办的手机号
\
n "
)]),
t
.
_v
(
" "
),
i
(
"li"
,{
staticClass
:
"tip"
},[
t
.
_v
(
"
\
n 员工档案导入时,直接以手机号去做匹配,通讯录中不存在的将无法导入(模板中配置的部门、职位、code,这些字段信息请保持与企业通讯录中一致,这几个字段的信息将不会修改通讯录的信息,直接取该成员对应的通讯录的字段信息)
\
n "
)]),
t
.
_v
(
" "
),
i
(
"li"
,{
staticClass
:
"tip"
},[
t
.
_v
(
"如果想要新增字段,可在后台档案设置中增加,再导入模板"
)]),
t
.
_v
(
" "
),
i
(
"li"
,{
staticClass
:
"tip"
},[
t
.
_v
(
"字段类型为图片上传、多选的字段无法导入、导出"
)]),
t
.
_v
(
" "
),
i
(
"li"
,{
staticClass
:
"tip"
},[
t
.
_v
(
"确保导入的表头字段和后台配置表头字段的名称一致(模板下载时间不可修改)"
)]),
t
.
_v
(
" "
),
i
(
"li"
,{
staticClass
:
"tip"
},[
t
.
_v
(
"
\
n 由于数据量可能较大,每次最多导入2000条员工档案,若超过只取前2000条,可以分多次导入
\
n "
)])])}]};
var
r
=
i
(
"VU/8"
)(
l
,
c
,
!
1
,
function
(
t
){
i
(
"cHyZ"
)},
null
,
null
);
e
.
default
=
r
.
exports
},
O3H5
:
function
(
t
,
e
,
i
){
"use strict"
;
var
a
=
i
(
"mvHQ"
),
s
=
i
.
n
(
a
),
o
=
i
(
"P9l9"
),
n
=
i
(
"DAYN"
),
l
=
{
name
:
"export-set"
,
components
:{
draggable
:
i
.
n
(
n
).
a
},
data
:
function
(){
return
{
tempList
:[],
checkList
:[],
origin
:[],
checkAll
:
!
1
,
isIndeterminate
:
!
1
,
checkedList
:[]}},
methods
:{
deleteField
:
function
(
t
){
this
.
checkedList
.
splice
(
t
,
1
);
var
e
=
this
.
checkedList
.
map
(
function
(
t
){
return
t
.
fieldCode
});
this
.
origin
.
forEach
(
function
(
t
,
i
){
e
.
includes
(
t
.
fieldCode
)?
t
.
checked
=!
0
:
t
.
checked
=!
1
}),
this
.
checkHalf
()},
checkHalf
:
function
(){
if
(
0
===
this
.
checkedList
.
length
)
return
this
.
isIndeterminate
=!
1
,
!
1
;
this
.
checkedList
.
length
===
this
.
origin
.
length
?
this
.
isIndeterminate
=!
1
:
this
.
isIndeterminate
=!
0
},
checkThis
:
function
(
t
){
var
e
=
this
;
t
.
checked
?
e
.
checkedList
.
push
(
t
):
e
.
checkedList
.
forEach
(
function
(
i
,
a
){
i
.
fieldCode
===
t
.
fieldCode
&&
e
.
checkedList
.
splice
(
a
,
1
)}),
e
.
checkHalf
()},
handleCheckAllChange
:
function
(
t
){
this
.
checkedList
=
[],
this
.
origin
.
forEach
(
function
(
e
,
i
){
e
.
checked
=
t
,
t
&&
(
e
.
order
=
i
+
1
)}),
t
&&
(
this
.
checkedList
=
this
.
origin
.
slice
(
0
)),
this
.
checkHalf
()},
getTemplate
:
function
(){
var
t
=
this
;
Object
(
o
.
a
)(
"/haoban-manage-web/record/employee-find-template"
,{}).
then
(
function
(
e
){
1
==
e
.
data
.
errorCode
?
t
.
formatTemplateList
(
e
.
data
.
result
):
t
.
$message
.
error
({
message
:
e
.
data
.
message
})}).
catch
(
function
(
e
){
t
.
$message
.
error
({
message
:
e
.
message
})})},
formatTemplateList
:
function
(
t
){
var
e
=
[],
i
=
[],
a
=
t
;
t
.
forEach
(
function
(
t
){
t
.
title
=
t
.
fieldName
,
t
.
name
=
t
.
fieldName
,
t
.
checked
=!
1
;
var
i
=
[];
a
.
forEach
(
function
(
e
){
e
.
parentCode
==
t
.
fieldCode
&&
i
.
push
(
e
)}),
i
.
sort
(
function
(
t
,
e
){
return
1
*
t
.
sort
-
1
*
e
.
sort
}),
i
.
length
>
0
&&
(
t
.
childrens
=
i
),
0
==
t
.
parentCode
&&
e
.
push
(
t
)}),
e
.
sort
(
function
(
t
,
e
){
return
1
*
t
.
sort
-
1
*
e
.
sort
}),
e
.
forEach
(
function
(
t
){
i
=
i
.
concat
(
t
.
childrens
)}),
this
.
origin
=
i
,
this
.
tempList
=
e
},
cancelCho
:
function
(){
this
.
origin
.
forEach
(
function
(
t
){
t
.
checked
=!
1
}),
this
.
$emit
(
"cancelCho"
)},
exportCho
:
function
(){
var
t
=
[];
this
.
checkedList
.
forEach
(
function
(
e
){
e
.
checked
&&
t
.
push
({
fieldCode
:
e
.
fieldCode
,
fieldName
:
e
.
fieldName
})});
s
()(
t
);
var
e
=
window
.
location
.
origin
;
-
1
!=
e
.
indexOf
(
"localhost"
)
&&
(
e
=
"http://www.gicdev.com"
),
location
.
href
=
e
+
"/haoban-manage-web/record/define-export?exportTitleContent="
+
s
()(
t
),
this
.
$emit
(
"cancelCho"
)}},
beforeMount
:
function
(){
this
.
getTemplate
()}},
c
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"div"
,{
staticClass
:
"export-set-container"
},[
t
.
_m
(
0
),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"cho-list"
},[
i
(
"draggable"
,{
model
:{
value
:
t
.
checkedList
,
callback
:
function
(
e
){
t
.
checkedList
=
e
},
expression
:
"checkedList"
}},[
t
.
_l
(
t
.
checkedList
,
function
(
e
,
a
){
return
[
e
.
checked
?
i
(
"div"
,{
key
:
e
.
fieldCode
+
a
,
staticClass
:
"cho"
},[
t
.
_v
(
t
.
_s
(
e
.
fieldName
)
+
" "
),
i
(
"i"
,{
staticClass
:
"el-icon-circle-close"
,
on
:{
click
:
function
(
e
){
t
.
deleteField
(
a
)}}})]):
t
.
_e
()]})],
2
)],
1
),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"cho-area"
},[
i
(
"div"
,{
staticClass
:
"title"
},[
t
.
_v
(
"选择需要导出的字段"
)]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"cho-area-group"
},[
i
(
"div"
,{
staticClass
:
"group-div"
},[
i
(
"div"
,{
staticClass
:
"group-title"
}),
t
.
_v
(
" "
),
i
(
"ul"
,{
staticClass
:
"group-son-list"
},[
i
(
"el-checkbox"
,{
attrs
:{
indeterminate
:
t
.
isIndeterminate
},
on
:{
change
:
t
.
handleCheckAllChange
},
model
:{
value
:
t
.
checkAll
,
callback
:
function
(
e
){
t
.
checkAll
=
e
},
expression
:
"checkAll"
}},[
t
.
_v
(
"全选"
)])],
1
)]),
t
.
_v
(
" "
),
t
.
_l
(
t
.
tempList
,
function
(
e
,
a
){
return
i
(
"div"
,{
key
:
e
.
fieldCode
+
a
,
staticClass
:
"group-div"
},[
i
(
"div"
,{
staticClass
:
"group-title"
},[
t
.
_v
(
t
.
_s
(
e
.
title
))]),
t
.
_v
(
" "
),
i
(
"ul"
,{
staticClass
:
"group-son-list"
},[
t
.
_l
(
t
.
origin
,
function
(
a
){
return
[
a
.
parentCode
==
e
.
fieldCode
?
i
(
"li"
,{
key
:
a
.
fieldCode
},[
i
(
"el-checkbox"
,{
key
:
a
.
fieldCode
,
attrs
:{
label
:
a
.
fieldName
},
on
:{
change
:
function
(
e
){
t
.
checkThis
(
a
)}},
model
:{
value
:
a
.
checked
,
callback
:
function
(
e
){
t
.
$set
(
a
,
"checked"
,
e
)},
expression
:
"items.checked"
}},[
t
.
_v
(
t
.
_s
(
a
.
fieldName
))])],
1
):
t
.
_e
()]})],
2
)])})],
2
)]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"handle-cho-btn"
},[
i
(
"el-button"
,{
staticClass
:
"export-btn"
,
attrs
:{
type
:
"primary"
,
disabled
:
t
.
checkedList
.
length
<
1
},
on
:{
click
:
t
.
exportCho
}},[
t
.
_v
(
"导出"
),
i
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai"
})]),
t
.
_v
(
" "
),
i
(
"el-button"
,{
on
:{
click
:
t
.
cancelCho
}},[
t
.
_v
(
"取消"
)])],
1
)])},
staticRenderFns
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"title"
},[
this
.
_v
(
"已选择字段"
),
e
(
"span"
,[
this
.
_v
(
"导出的列表中将按顺序显示这些字段(可拖拽排序)"
)])])}]};
var
r
=
i
(
"VU/8"
)(
l
,
c
,
!
1
,
function
(
t
){
i
(
"wEsK"
)},
null
,
null
);
e
.
a
=
r
.
exports
},
cHyZ
:
function
(
t
,
e
){},
wEsK
:
function
(
t
,
e
){}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/19.2af2961d7f000936faf5.js
deleted
100644 → 0
View file @
acb832d8
webpackJsonp
([
19
],{
"67iC"
:
function
(
e
,
t
,
i
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
i
(
"3Xzz"
),
s
=
i
(
"P9l9"
),
o
=
i
(
"0xDb"
),
l
=
i
(
"mvHQ"
),
n
=
i
.
n
(
l
),
r
=
i
(
"//Fk"
),
d
=
i
.
n
(
r
),
c
=
i
(
"DAYN"
),
f
=
{
name
:
"vue-office-upload-image"
,
props
:{
projectName
:{
type
:
String
,
default
:
"haoban-manage-web"
},
wxFlag
:{
type
:
String
,
default
:
"1"
},
imgRate
:{
type
:
String
},
actionUrl
:{
type
:
String
,
default
:
""
},
maxImageLength
:{
type
:
Number
,
default
:
5
},
limitW
:{
type
:
Number
},
limitH
:{
type
:
Number
},
imageList
:{
type
:
Array
,
default
:
function
(){
return
[]}}},
data
:
function
(){
return
{
dragImageList
:
this
.
imageList
,
initialImg
:
0
,
progress
:
0
,
pass
:
null
,
isEnlargeImage
:
!
1
,
enlargeImage
:
""
}},
computed
:{
propStatus
:
function
(){
return
this
.
pass
?
"success"
:
!
1
===
this
.
pass
?
"exception"
:
"text"
}},
beforeMount
:
function
(){},
methods
:{
uploadUrl
:
function
(){
var
e
,
t
=
window
.
location
.
origin
,
i
=
void
0
;
return
e
=
this
.
wxFlag
&&
""
!=
this
.
wxFlag
?
"wxFlag="
+
this
.
wxFlag
+
"&"
:
""
,
i
=
"-1"
!=
t
.
indexOf
(
"localhost"
)?
"http://www.gicdev.com"
:
t
,
this
.
upUrl
=
i
+
this
.
actionUrl
+
"?"
+
e
+
"requestProject="
+
this
.
projectName
,
this
.
upUrl
},
beforeAvatarUpload
:
function
(
e
){
var
t
=
this
,
i
=
(
"image/jpeg"
===
e
.
type
||
"image/jpg"
===
e
.
type
||
e
.
type
,
e
.
size
/
1024
/
1024
<
2
);
return
i
||
t
.
$message
.
error
(
"上传图片大小不能超过 2MB!"
),
i
&&
new
d
.
a
(
function
(
i
,
a
){
var
s
=
new
FileReader
;
s
.
onload
=
function
(
e
){
var
s
=
new
Image
;
s
.
onload
=
function
(){
var
e
=
this
.
width
,
s
=
this
.
height
;
t
.
imgRate
&&
""
!==
t
.
imgRate
&&
(
Number
(
t
.
imgRate
.
split
(
":"
)[
0
])
/
Number
(
t
.
imgRate
.
split
(
":"
)[
1
])
!=
Number
(
e
)
/
Number
(
s
)
&&
(
t
.
$message
.
error
(
"上传图片比例不正确!"
),
a
()));
t
.
imgRate
&&
""
!=
t
.
imgRate
||!
t
.
limitW
||!
t
.
limitH
||
e
===
t
.
limitW
||
s
===
t
.
limitH
||
(
t
.
$message
.
error
(
"上传图片尺寸不正确!"
),
a
()),
i
()},
s
.
src
=
e
.
target
.
result
},
s
.
readAsDataURL
(
e
)})},
uploadOnSuccess
:
function
(
e
,
t
){
this
.
pass
=!
0
,
1
==
e
.
errorCode
?(
this
.
$message
.
success
(
"上传成功"
),
this
.
$emit
(
"uploadOnSuccess"
,{
res
:
e
,
file
:
t
},
this
.
imageList
)):
this
.
$message
.
error
(
e
.
message
)},
uploadOnProgress
:
function
(
e
,
t
){
e
&&
e
.
percent
&&
(
this
.
progress
=
Math
.
floor
(
e
.
percent
))},
uploadOnChange
:
function
(
e
){
"ready"
===
e
.
status
?(
this
.
pass
=
null
,
this
.
progress
=
0
):
"fail"
===
e
.
status
&&
this
.
$message
.
error
(
"图片上传失败,请重试!"
)},
uploadOnError
:
function
(){},
previewImage
:
function
(
e
){
this
.
isEnlargeImage
=!
0
,
this
.
initialImg
=
e
},
deleteImage
:
function
(
e
){
this
.
$emit
(
"deleteImage"
,
e
);
var
t
=
JSON
.
parse
(
n
()(
this
.
imageList
));
t
.
splice
(
e
,
1
),
this
.
$emit
(
"update:imageList"
,
t
)},
handleClose
:
function
(
e
){
e
()},
itemMoveEnd
:
function
(
e
){
this
.
$emit
(
"sortImg"
,
this
.
dragImageList
),
this
.
$emit
(
"update:imageList"
,
this
.
dragImageList
)}},
watch
:{
imageList
:
function
(
e
,
t
){
this
.
dragImageList
=
e
}},
mounted
:
function
(){},
components
:{
draggable
:
i
.
n
(
c
).
a
}},
u
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"div"
,{
staticClass
:
"gic-upload__img"
},[
i
(
"div"
,{
staticClass
:
"gic-upload__img__drag"
},[
i
(
"draggable"
,{
staticClass
:
"drag-wrap"
,
staticStyle
:{
display
:
"contents"
},
attrs
:{
options
:{
group
:{
name
:
"people"
,
pull
:
!
1
,
put
:
!
0
},
sort
:
!
0
}},
on
:{
end
:
e
.
itemMoveEnd
},
model
:{
value
:
e
.
dragImageList
,
callback
:
function
(
t
){
e
.
dragImageList
=
t
},
expression
:
"dragImageList"
}},[
i
(
"transition-group"
,{
attrs
:{
name
:
"slide-fade"
}},
e
.
_l
(
e
.
imageList
,
function
(
t
,
a
){
return
i
(
"div"
,{
key
:
a
,
class
:[
"img-content"
,
a
>=
6
?
"m-t-8"
:
""
]},[
i
(
"a"
,{
staticClass
:
"item-img"
,
attrs
:{
href
:
t
.
url
}},[
i
(
"img"
,{
attrs
:{
src
:
t
.
url
,
alt
:
"上传图片"
}})]),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"upload-icon__btn"
},[
i
(
"i"
,{
staticClass
:
"el-icon-view"
,
on
:{
click
:
function
(
t
){
e
.
previewImage
(
a
)}}}),
e
.
_v
(
" "
),
i
(
"i"
,{
staticClass
:
"el-icon-delete"
,
on
:{
click
:
function
(
t
){
e
.
deleteImage
(
a
)}}})])])}))],
1
),
e
.
_v
(
" "
),
e
.
pass
||
0
===
e
.
progress
?
e
.
_e
():
i
(
"div"
,{
class
:[
"img-content"
,
"img-progress"
,
e
.
imageList
.
length
>=
6
?
"m-t-8"
:
""
]},[
i
(
"el-progress"
,{
staticClass
:
"gic-img-progress"
,
staticStyle
:{
"line-height"
:
"102px"
},
attrs
:{
width
:
102
,
percentage
:
e
.
progress
,
status
:
e
.
propStatus
}})],
1
),
e
.
_v
(
" "
),
e
.
imageList
&&
e
.
imageList
.
length
<
e
.
maxImageLength
?
i
(
"div"
,{
class
:[
"img-upload"
,
e
.
imageList
.
length
>=
6
?
"m-t-8"
:
""
]},[
i
(
"el-upload"
,{
staticClass
:
"loader"
,
attrs
:{
accept
:
"image/jpg,image/jpeg,image/png,image/gif"
,
action
:
e
.
uploadUrl
(),
"list-type"
:
"picture-card"
,
"on-change"
:
e
.
uploadOnChange
,
"before-upload"
:
e
.
beforeAvatarUpload
,
"on-success"
:
e
.
uploadOnSuccess
,
"on-error"
:
e
.
uploadOnError
,
"on-progress"
:
e
.
uploadOnProgress
}},[
i
(
"i"
,{
staticClass
:
"el-icon-plus gic-upload-btn"
})])],
1
):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
i
(
"el-dialog"
,{
attrs
:{
title
:
"图片预览"
,
visible
:
e
.
isEnlargeImage
,
"modal-append-to-body"
:
!
1
,
"before-close"
:
e
.
handleClose
,
width
:
"520px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
isEnlargeImage
=
t
}}},[
e
.
isEnlargeImage
?
i
(
"el-carousel"
,{
attrs
:{
trigger
:
"click"
,
"initial-index"
:
e
.
initialImg
,
autoplay
:
!
1
,
height
:
"500px"
}},
e
.
_l
(
e
.
imageList
,
function
(
t
,
a
){
return
i
(
"el-carousel-item"
,{
key
:
a
,
staticStyle
:{
display
:
"flex"
,
"align-items"
:
"center"
,
"justify-content"
:
"center"
}},[
i
(
"img"
,{
staticStyle
:{
"max-width"
:
"480px"
,
"max-height"
:
"500px"
},
attrs
:{
src
:
t
.
url
},
on
:{
click
:
function
(
t
){
e
.
isEnlargeImage
=!
1
}}})])})):
e
.
_e
()],
1
)],
1
)},
staticRenderFns
:[]};
var
m
=
i
(
"VU/8"
)(
f
,
u
,
!
1
,
function
(
e
){
i
(
"FKG6"
)},
null
,
null
).
exports
,
p
=
{
name
:
"editableCell"
,
props
:{
info
:{
type
:
Object
,
required
:
!
0
},
staticInfo
:{
type
:
Object
,
required
:
!
0
},
items
:{
type
:
Array
,
required
:
!
0
},
title
:{
type
:
String
,
default
:
""
},
fieldList
:{
type
:
Array
,
required
:
!
0
}},
components
:{
uploadImage
:
m
},
filters
:{
formatDate
:
o
.
b
},
data
:
function
(){
return
{
showEdit
:
!
1
,
uploadUrl
:
"/haoban-manage-web/upload-img"
}},
methods
:{
uploadOnSuccess
:
function
(
e
,
t
){
e
.
file
.
url
=
e
.
res
.
result
[
0
].
qcloudImageUrl
,
t
.
push
(
e
.
file
)},
deleteImage
:
function
(
e
){
this
.
imageList
=
this
.
imageList
?
this
.
imageList
:[],
this
.
imageList
.
splice
(
e
,
1
)},
sortImg
:
function
(
e
){
this
.
imageList
=
e
},
saveEdit
:
function
(){
var
e
=
this
;
e
.
$refs
.
cell_form
.
validate
(
function
(
t
){
if
(
t
){
var
i
=
Object
(
o
.
a
)(
e
.
info
),
a
=
{},
s
=
[];
e
.
fieldList
.
forEach
(
function
(
e
){
if
(
a
[
e
.
fieldCode
]
=
i
[
e
.
fieldCode
],
5
==
e
.
fieldType
&&
(
a
[
e
.
fieldCode
]
=
i
[
e
.
fieldCode
].
join
(
","
)),
7
==
e
.
fieldType
){
var
t
=
[];
i
[
e
.
fieldCode
].
forEach
(
function
(
e
){
t
.
push
(
e
.
url
)}),
a
[
e
.
fieldCode
]
=
t
.
join
(
","
)}
if
(
1
!=
e
.
systemFlag
){
if
(
s
.
push
({
fieldCode
:
e
.
fieldCode
,
fieldValue
:
i
[
e
.
fieldCode
]}),
5
==
e
.
fieldType
&&
s
.
push
({
fieldCode
:
e
.
fieldCode
,
fieldValue
:
i
[
e
.
fieldCode
].
join
(
","
)}),
7
==
e
.
fieldType
){
var
o
=
[];
i
[
e
.
fieldCode
].
forEach
(
function
(
e
){
o
.
push
(
e
.
url
)}),
s
.
push
({
fieldCode
:
e
.
fieldCode
,
fieldValue
:
o
.
join
(
","
)})}
delete
a
[
e
.
fieldCode
]}}),
a
.
jsonString
=
"[]"
==
n
()(
s
)?
""
:
n
()(
s
),
a
.
recordId
=
e
.
$route
.
query
.
recordId
,
e
.
submitEdit
(
a
)}})},
submitEdit
:
function
(
e
){
var
t
=
this
;
Object
(
s
.
a
)(
"/haoban-manage-web/record/save-record-detail"
,
e
).
then
(
function
(
e
){
1
==
e
.
data
.
errorCode
?(
t
.
showEdit
=!
1
,
t
.
$emit
(
"subSuccess"
),
t
.
$message
({
message
:
e
.
data
.
message
,
type
:
"success"
})):
t
.
$message
.
error
(
e
.
data
.
message
)}).
catch
(
function
(
e
){
t
.
$message
.
error
(
e
.
message
)})},
cancelEdit
:
function
(){
this
.
$refs
.
cell_form
.
clearValidate
();
var
e
=
this
.
info
,
t
=
this
.
staticInfo
;
for
(
var
i
in
e
)
e
[
i
]
=
t
[
i
];
this
.
showEdit
=!
1
}},
computed
:{
defineObj
:
function
(){
return
JSON
.
parse
(
this
.
clerkInfo
.
defineString
)},
rules
:
function
(){
var
e
=
{},
t
=
function
(
e
,
t
,
i
){
return
t
?
new
RegExp
(
"^[0-9]*$"
).
test
(
1
*
t
)?
i
():
i
(
new
Error
(
"请输入数字!"
)):
i
()};
return
this
.
fieldList
.
forEach
(
function
(
i
){
var
a
=
[];
0
!=
i
.
fieldType
&&
1
!=
i
.
fieldType
||
(
i
.
minCount
&&
i
.
maxCount
&&
a
.
push
({
min
:
i
.
minCount
,
message
:
"至少填写"
+
i
.
minCount
+
"个字符"
,
trigger
:
"change"
}),
!
i
.
minCount
&&
i
.
maxCount
&&
a
.
push
({
max
:
i
.
maxCount
,
message
:
"至多填写"
+
i
.
maxCount
+
"个字符"
,
trigger
:
"change"
}),
i
.
minCount
&&
i
.
maxCount
&&
a
.
push
({
min
:
i
.
minCount
,
max
:
i
.
maxCount
,
message
:
"长度在 "
+
i
.
minCount
+
" 到 "
+
i
.
maxCount
+
"个字符"
,
trigger
:
"change"
})),
6
==
i
.
fieldType
&&
a
.
push
({
validator
:
t
,
message
:
i
.
fieldName
+
"必须为数字"
,
trigger
:
"change"
}),
e
[
i
.
fieldCode
]
=
a
}),
e
}}},
g
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"div"
,{
staticClass
:
"editable-cell-container"
},[
i
(
"div"
,{
staticClass
:
"title-div"
},[
i
(
"span"
,{
staticClass
:
"font-w-500"
},[
e
.
_v
(
e
.
_s
(
e
.
title
))]),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"hurdle"
}),
e
.
_v
(
" "
),
i
(
"a"
,{
staticClass
:
"a-href"
,
on
:{
click
:
function
(
t
){
e
.
showEdit
=!
0
}}},[
e
.
_v
(
"编辑"
)])]),
e
.
_v
(
" "
),
i
(
"el-form"
,{
ref
:
"cell_form"
,
staticClass
:
"info-form"
,
attrs
:{
rules
:
e
.
rules
,
inline
:
""
,
"label-width"
:
"150px"
,
model
:
e
.
info
}},[
e
.
_l
(
e
.
fieldList
,
function
(
t
,
a
){
return
[
i
(
"el-form-item"
,{
key
:
t
.
fieldCode
+
"_"
+
a
,
staticClass
:
"item-width"
,
attrs
:{
label
:
t
.
title
+
":"
,
prop
:
t
.
fieldCode
}},[
e
.
showEdit
?[
0
==
t
.
fieldType
?
i
(
"el-input"
,{
attrs
:{
placeholder
:
t
.
fieldDescription
,
disabled
:
"1"
!=
t
.
fieldEdited
},
model
:{
value
:
e
.
info
[
t
.
fieldCode
],
callback
:
function
(
i
){
e
.
$set
(
e
.
info
,
t
.
fieldCode
,
i
)},
expression
:
"info[item.fieldCode]"
}}):
e
.
_e
(),
e
.
_v
(
" "
),
6
==
t
.
fieldType
?
i
(
"el-input"
,{
attrs
:{
placeholder
:
t
.
fieldDescription
,
disabled
:
"1"
!=
t
.
fieldEdited
},
model
:{
value
:
e
.
info
[
t
.
fieldCode
],
callback
:
function
(
i
){
e
.
$set
(
e
.
info
,
t
.
fieldCode
,
i
)},
expression
:
"info[item.fieldCode]"
}}):
1
==
t
.
fieldType
?
i
(
"el-input"
,{
attrs
:{
type
:
"textarea"
,
autosize
:
""
,
disabled
:
"1"
!=
t
.
fieldEdited
},
model
:{
value
:
e
.
info
[
t
.
fieldCode
],
callback
:
function
(
i
){
e
.
$set
(
e
.
info
,
t
.
fieldCode
,
i
)},
expression
:
"info[item.fieldCode]"
}}):
2
==
t
.
fieldType
||
3
==
t
.
fieldType
?[
1
==
t
.
systemFlag
?
i
(
"el-select"
,{
attrs
:{
disabled
:
"1"
!=
t
.
fieldEdited
,
multiple
:
3
==
t
.
fieldType
,
"collapse-tags"
:
3
==
t
.
fieldType
,
placeholder
:
t
.
fieldDescription
},
model
:{
value
:
e
.
info
[
t
.
fieldCode
],
callback
:
function
(
i
){
e
.
$set
(
e
.
info
,
t
.
fieldCode
,
i
)},
expression
:
"info[item.fieldCode]"
}},
e
.
_l
(
t
.
fieldOperations
.
fieldContent
,
function
(
e
){
return
i
(
"el-option"
,{
key
:
e
.
key
,
attrs
:{
label
:
e
.
name
,
value
:
e
.
key
}})})):
i
(
"el-select"
,{
attrs
:{
disabled
:
"1"
!=
t
.
fieldEdited
,
multiple
:
3
==
t
.
fieldType
,
"collapse-tags"
:
3
==
t
.
fieldType
,
placeholder
:
t
.
fieldDescription
},
model
:{
value
:
e
.
info
[
t
.
fieldCode
],
callback
:
function
(
i
){
e
.
$set
(
e
.
info
,
t
.
fieldCode
,
i
)},
expression
:
"info[item.fieldCode]"
}},
e
.
_l
(
t
.
fieldOperations
.
fieldContent
,
function
(
e
,
t
){
return
i
(
"el-option"
,{
key
:
e
.
key
+
"_"
+
t
,
attrs
:{
label
:
e
.
name
,
value
:
e
.
name
}})}))]:
4
==
t
.
fieldType
?
i
(
"el-date-picker"
,{
attrs
:{
type
:
"date"
,
disabled
:
"1"
!=
t
.
fieldEdited
,
format
:
t
.
fieldOperations
.
typeValue
,
"value-format"
:
t
.
fieldOperations
.
typeValue
,
placeholder
:
t
.
fieldDescription
},
model
:{
value
:
e
.
info
[
t
.
fieldCode
],
callback
:
function
(
i
){
e
.
$set
(
e
.
info
,
t
.
fieldCode
,
i
)},
expression
:
"info[item.fieldCode]"
}}):
5
==
t
.
fieldType
?
i
(
"el-date-picker"
,{
attrs
:{
type
:
"daterange"
,
"range-separator"
:
"至"
,
disabled
:
"1"
!=
t
.
fieldEdited
,
format
:
t
.
fieldOperations
.
typeValue
,
"value-format"
:
t
.
fieldOperations
.
typeValue
,
"start-placeholder"
:
t
.
fieldOperations
.
startDescription
,
"end-placeholder"
:
t
.
fieldOperations
.
endDescription
},
model
:{
value
:
e
.
info
[
t
.
fieldCode
],
callback
:
function
(
i
){
e
.
$set
(
e
.
info
,
t
.
fieldCode
,
i
)},
expression
:
"info[item.fieldCode]"
}}):
7
==
t
.
fieldType
?
i
(
"uploadImage"
,{
attrs
:{
projectName
:
"haoban-manage-web"
,
wxFlag
:
"0"
,
actionUrl
:
e
.
uploadUrl
,
imageList
:
e
.
info
[
t
.
fieldCode
],
limitW
:
500
,
limitH
:
500
,
maxImageLength
:
5
},
on
:{
"update:imageList"
:
function
(
i
){
e
.
$set
(
e
.
info
,
t
.
fieldCode
,
i
)},
uploadOnSuccess
:
e
.
uploadOnSuccess
,
sortImg
:
e
.
sortImg
,
deleteImage
:
e
.
deleteImage
}}):
e
.
_e
()]:[
0
==
t
.
fieldType
||
1
==
t
.
fieldType
||
6
==
t
.
fieldType
?
i
(
"div"
,{
staticClass
:
"field-value color-606266"
},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
e
.
info
[
t
.
fieldCode
])
+
"
\
n "
)]):
2
==
t
.
fieldType
?[
1
==
t
.
systemFlag
?
i
(
"div"
,{
staticClass
:
"field-value color-606266"
},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
fieldOperations
.
fieldContent
[
1
*
e
.
info
[
t
.
fieldCode
]
-
1
]?
t
.
fieldOperations
.
fieldContent
[
1
*
e
.
info
[
t
.
fieldCode
]
-
1
].
name
:
""
)
+
"
\
n "
)]):
i
(
"div"
,{
staticClass
:
"field-value color-606266"
},[
e
.
_v
(
e
.
_s
(
e
.
info
[
t
.
fieldCode
]))])]:
3
==
t
.
fieldType
?
i
(
"div"
,{
staticClass
:
"field-value color-606266"
}):
4
==
t
.
fieldType
?
i
(
"div"
,{
staticClass
:
"field-value color-606266"
},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
e
.
_f
(
"formatDate"
)(
e
.
info
[
t
.
fieldCode
],
t
.
fieldOperations
.
typeValue
))
+
"
\
n "
)]):
5
==
t
.
fieldType
?
i
(
"div"
,{
staticClass
:
"field-value color-606266"
},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
e
.
info
[
t
.
fieldCode
].
join
(
"至"
))
+
"
\
n "
)]):
7
==
t
.
fieldType
?
i
(
"div"
,{
staticClass
:
"img-box"
},
e
.
_l
(
e
.
info
[
t
.
fieldCode
],
function
(
e
,
t
){
return
i
(
"div"
,{
key
:
t
+
e
.
url
,
staticClass
:
"item-imgs"
},[
i
(
"a"
,{
attrs
:{
href
:
""
}},[
i
(
"img"
,{
attrs
:{
src
:
e
.
url
}})])])})):
e
.
_e
()]],
2
)]})],
2
),
e
.
_v
(
" "
),
e
.
showEdit
?
i
(
"div"
,{
staticClass
:
"handle-form-btns t-ct m-b-60"
},[
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
saveEdit
}},[
e
.
_v
(
"保存"
)]),
e
.
_v
(
" "
),
i
(
"el-button"
,{
on
:{
click
:
e
.
cancelEdit
}},[
e
.
_v
(
"取消"
)])],
1
):
e
.
_e
()],
1
)},
staticRenderFns
:[]};
var
h
=
i
(
"VU/8"
)(
p
,
g
,
!
1
,
function
(
e
){
i
(
"HdQw"
)},
null
,
null
).
exports
,
v
=
i
(
"IVno"
),
C
=
{
name
:
"recordInfo"
,
components
:{
navCrumb
:
a
.
a
,
editableCell
:
h
,
handleDialog
:
v
.
a
},
filters
:{
formatDate
:
o
.
b
},
data
:
function
(){
return
{
windowH
:
window
.
screen
.
availHeight
-
180
+
"px"
,
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"企业通讯录"
,
path
:
"/administrativeFrame"
},{
name
:
"员工档案"
,
path
:
"/fileSet"
},{
name
:
"在职员工"
,
path
:
"/employeeRecord"
},{
name
:
"编辑员工信息"
,
path
:
""
}],
editNavpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"企业通讯录"
,
path
:
"/administrativeFrame"
},{
name
:
"员工档案"
,
path
:
"/fileSet"
},{
name
:
"离职员工"
,
path
:
"/unemployee"
},{
name
:
"编辑员工信息"
,
path
:
""
}],
dialogVisible
:
!
1
,
htmlTitle
:
"员工档案"
,
info
:{},
staticInfo
:{},
statusList
:[
"正式"
,
"试用"
,
"离职"
],
reasons
:[
""
,
"家庭原因"
,
"个人原因"
,
"发展原因"
,
"合同到期不续签"
,
"协议解除"
,
"无法胜任工作"
,
"经济性裁员"
,
"严重违法违纪"
,
"其他"
],
items
:[],
fieldList
:[],
mileStone
:[],
historyStatus
:[
"新入职"
,
"转正"
,
"离职"
,
"转岗"
,
"再入职"
],
editHisObj
:{}}},
methods
:{
handleSuccess
:
function
(){
this
.
dialogVisible
=!
1
},
getEmployeeDetail
:
function
(){
var
e
=
this
,
t
=
{
recordId
:
e
.
$route
.
query
.
recordId
};
Object
(
s
.
a
)(
"/haoban-manage-web/record/employee-detail"
,
t
).
then
(
function
(
t
){
1
==
t
.
data
.
errorCode
?
e
.
getTemplate
(
t
.
data
.
result
):
e
.
$message
.
error
({
message
:
t
.
data
.
message
})}).
catch
(
function
(
t
){
e
.
$message
.
error
({
message
:
t
.
message
})})},
subSuccess
:
function
(){
this
.
getEmployeeDetail
()},
getTemplate
:
function
(
e
){
var
t
=
this
;
Object
(
s
.
a
)(
"/haoban-manage-web/record/employee-find-template"
,{}).
then
(
function
(
i
){
1
==
i
.
data
.
errorCode
?
t
.
formatTemplateList
(
i
.
data
.
result
,
e
):
t
.
$message
.
error
({
message
:
i
.
data
.
message
})}).
catch
(
function
(
e
){
t
.
$message
.
error
({
message
:
e
.
message
})})},
formatTemplateList
:
function
(
e
,
t
){
var
i
=
[],
a
=
e
,
s
=
JSON
.
parse
(
t
.
defineString
),
l
=
Object
(
o
.
a
)(
t
);
for
(
var
n
in
s
)
l
[
n
]
=
s
[
n
];
e
.
forEach
(
function
(
e
){
if
(
0
!=
e
.
parentCode
&&
(
e
.
fieldOperations
=
JSON
.
parse
(
e
.
fieldOperations
)),
5
==
e
.
fieldType
&&
(
l
[
e
.
fieldCode
]
=
l
[
e
.
fieldCode
]?
l
[
e
.
fieldCode
].
split
(
","
):[
""
,
""
],
t
[
e
.
fieldCode
]
=
t
[
e
.
fieldCode
]?
t
[
e
.
fieldCode
].
split
(
","
):[
""
,
""
]),
6
==
e
.
fieldType
&&
(
l
[
e
.
fieldCode
]
*=
1
,
t
[
e
.
fieldCode
]
*=
1
),
7
==
e
.
fieldType
){
var
s
=
[];
l
[
e
.
fieldCode
]
=
l
[
e
.
fieldCode
]?
l
[
e
.
fieldCode
].
split
(
","
):[],
l
[
e
.
fieldCode
].
forEach
(
function
(
e
){
s
.
push
({
url
:
e
})}),
t
[
e
.
fieldCode
]
=
s
,
l
[
e
.
fieldCode
]
=
s
.
slice
(
0
)}
e
.
title
=
e
.
fieldName
;
var
o
=
[];
a
.
forEach
(
function
(
t
){
t
.
parentCode
==
e
.
fieldCode
&&
o
.
push
(
t
)}),
o
.
sort
(
function
(
e
,
t
){
return
1
*
e
.
sort
-
1
*
t
.
sort
}),
o
.
length
>
0
&&
(
e
.
childrens
=
o
),
0
==
e
.
parentCode
&&
i
.
push
(
e
)}),
i
.
sort
(
function
(
e
,
t
){
return
1
*
e
.
sort
-
1
*
t
.
sort
}),
this
.
fieldList
=
i
,
this
.
info
=
l
,
this
.
staticInfo
=
t
},
getHistoryList
:
function
(){
var
e
=
this
,
t
=
{
recordId
:
e
.
$route
.
query
.
recordId
};
Object
(
s
.
a
)(
"/haoban-manage-web/record/history-record-list"
,
t
).
then
(
function
(
t
){
if
(
1
==
t
.
data
.
errorCode
){
var
i
=
t
.
data
.
result
;
e
.
formatMileStone
(
i
)}
else
e
.
$message
({
message
:
t
.
data
.
message
})}).
catch
(
function
(
t
){
e
.
$message
({
message
:
t
.
message
})})},
formatMileStone
:
function
(
e
){
e
.
sort
(
function
(
e
,
t
){
return
1
*
e
.
historyDate
-
1
*
t
.
historyDate
});
for
(
var
t
=
[],
i
=
0
,
a
=
e
.
length
;
i
<
a
;
i
+=
4
)
t
.
push
(
e
.
slice
(
i
,
i
+
4
));
this
.
mileStone
=
t
},
editHis
:
function
(
e
){
this
.
editHisObj
.
historyId
=
e
.
historyId
,
this
.
editHisObj
.
recordId
=
this
.
$route
.
query
.
recordId
,
this
.
dialogVisible
=!
0
}},
beforeMount
:
function
(){
this
.
getEmployeeDetail
(),
this
.
getHistoryList
()},
mounted
:
function
(){
var
e
=
this
.
$route
.
query
.
type
;
e
&&
"unemployee"
==
e
&&
(
this
.
navpath
=
this
.
editNavpath
),
this
.
$nextTick
(
function
(){
document
.
querySelector
(
".contact-wrap__body"
).
style
.
overflow
=
"hidden"
})},
beforeDestroy
:
function
(){
document
.
querySelector
(
".contact-wrap__body"
).
style
.
overflow
=
"auto"
}},
y
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"div"
,{
staticClass
:
"common-set-wrap"
,
style
:{
"min-height"
:
e
.
windowH
}},[
i
(
"nav-crumb"
,{
attrs
:{
navpath
:
e
.
navpath
}}),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"right-content"
},[
i
(
"div"
,{
staticClass
:
"right-box"
},[
i
(
"div"
,{
staticClass
:
"commom-container clerk-detail-container"
},[
i
(
"p"
,{
staticClass
:
"t-rt"
},[
i
(
"a"
,{
staticClass
:
"a-href font-14"
,
on
:{
click
:
function
(
t
){
e
.
getPdf
()}}},[
e
.
_v
(
"打印员工档案"
)])]),
e
.
_v
(
" "
),
i
(
"div"
,{
style
:{
"min-height"
:
e
.
windowH
},
attrs
:{
id
:
"pdfDom"
}},[
i
(
"div"
,{
staticClass
:
"employee-detail-cell"
},[
i
(
"div"
,{
staticClass
:
"head-info"
},[
i
(
"p"
,{
staticClass
:
"head-cell"
},[
e
.
info
.
headPic
?
i
(
"img"
,{
staticClass
:
"head-img"
,
attrs
:{
src
:
e
.
info
.
headPic
}}):
i
(
"span"
,{
staticClass
:
"head-img-null"
},[
i
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})])]),
e
.
_v
(
" "
),
i
(
"p"
,{
staticClass
:
"head-cell name"
},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
e
.
info
.
clerkName
)),
i
(
"span"
,[
e
.
_v
(
e
.
_s
(
"-1"
==
e
.
info
.
clerkStatus
?
"无状态"
:
e
.
statusList
[
e
.
info
.
clerkStatus
-
1
]))])]),
e
.
_v
(
" "
),
i
(
"p"
,{
staticClass
:
"head-cell c-303133"
},[
e
.
_v
(
e
.
_s
(
e
.
info
.
groupName
)
+
e
.
_s
(
e
.
info
.
positionName
))]),
e
.
_v
(
" "
),
i
(
"p"
,{
staticClass
:
"head-cell color-606266"
},[
e
.
_v
(
"已在"
+
e
.
_s
(
e
.
info
.
enterpriseName
)
+
"工作了"
+
e
.
_s
(
e
.
info
.
days
)
+
"天"
)])])]),
e
.
_v
(
" "
),
e
.
_l
(
e
.
fieldList
,
function
(
t
){
return
[
t
.
childrens
?
i
(
"editable-cell"
,{
key
:
t
.
fieldCode
,
attrs
:{
info
:
e
.
info
,
staticInfo
:
e
.
staticInfo
,
items
:
e
.
items
,
title
:
t
.
title
,
fieldList
:
t
.
childrens
},
on
:{
subSuccess
:
e
.
subSuccess
}}):
e
.
_e
()]}),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"mile-stone-container"
},[
e
.
_m
(
0
),
e
.
_v
(
" "
),
i
(
"ul"
,{
staticClass
:
"mile-stone"
},
e
.
_l
(
e
.
mileStone
,
function
(
t
,
a
){
return
i
(
"li"
,{
key
:
a
,
staticClass
:
"stone-group"
,
class
:
a
%
2
==
0
?
"column"
:
"column-reverse"
},[
4
==
t
.
length
&&
a
!=
e
.
mileStone
.
length
-
1
?
i
(
"div"
,{
staticClass
:
"column-hurdle"
}):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
_l
(
t
,
function
(
t
,
s
){
return
i
(
"div"
,{
key
:
s
,
staticClass
:
"stone"
,
class
:
a
%
2
==
1
&&
3
==
s
||
a
%
2
==
0
&&
0
==
s
&&
0
!=
a
?
"no-radio"
:
""
},[
i
(
"p"
,{
staticClass
:
"time"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatDate"
)(
t
.
historyDate
,
"YY-MM-DD"
)))]),
e
.
_v
(
" "
),
e
.
_m
(
1
,
!
0
),
e
.
_v
(
" "
),
i
(
"p"
,{
staticClass
:
"position"
},[
e
.
_v
(
e
.
_s
(
t
.
positionName
))]),
e
.
_v
(
" "
),
i
(
"p"
,{
staticClass
:
"font-16 "
},[
e
.
_v
(
e
.
_s
(
e
.
historyStatus
[
1
*
t
.
historyStatus
-
1
])),
3
==
t
.
historyStatus
?
i
(
"a"
,{
staticClass
:
"a-href m-l-10 fs-12"
,
on
:{
click
:
function
(
i
){
e
.
editHis
(
t
)}}},[
e
.
_v
(
"编辑"
)]):
e
.
_e
()]),
e
.
_v
(
" "
),
3
==
t
.
historyStatus
?
i
(
"p"
,[
e
.
_v
(
"离职理由:"
+
e
.
_s
(
e
.
reasons
[
t
.
fireReason
]))]):
e
.
_e
(),
e
.
_v
(
" "
),
i
(
"p"
,{
staticClass
:
"color-606266"
},[
e
.
_v
(
e
.
_s
(
t
.
storeName
?
t
.
storeName
:
t
.
groupName
))])])})],
2
)}))])],
2
),
e
.
_v
(
" "
),
i
(
"el-dialog"
,{
attrs
:{
title
:
"修改离职信息"
,
visible
:
e
.
dialogVisible
,
width
:
"480px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
dialogVisible
=
t
}}},[
i
(
"handle-dialog"
,{
attrs
:{
employee
:
e
.
editHisObj
,
handleType
:
"changeFireInfo"
,
typeTitle
:
"修改离职信息"
},
on
:{
handleSuccess
:
e
.
handleSuccess
}})],
1
)],
1
)])]),
e
.
_v
(
" "
),
i
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[
function
(){
var
e
=
this
.
$createElement
,
t
=
this
.
_self
.
_c
||
e
;
return
t
(
"p"
,{
staticClass
:
"m-s-title"
},[
t
(
"span"
,{
staticClass
:
"font-w-500"
},[
this
.
_v
(
"员工记录"
)])])},
function
(){
var
e
=
this
.
$createElement
,
t
=
this
.
_self
.
_c
||
e
;
return
t
(
"div"
,{
staticClass
:
"hurdle-box"
},[
t
(
"span"
,{
staticClass
:
"radio"
}),
this
.
_v
(
" "
),
t
(
"div"
,{
staticClass
:
"hurdle"
})])}]};
var
_
=
i
(
"VU/8"
)(
C
,
y
,
!
1
,
function
(
e
){
i
(
"JV+2"
)},
null
,
null
);
t
.
default
=
_
.
exports
},
FKG6
:
function
(
e
,
t
){},
HdQw
:
function
(
e
,
t
){},
"JV+2"
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/1
8.07d5abcfefbcf450eccc
.js
→
dist/static/js/1
9.5094b323ee4cf1f50bf5
.js
View file @
1d1b13ed
webpackJsonp
([
18
],{
"/spz"
:
function
(
e
,
t
){},
NdyB
:
function
(
e
,
t
){},
Xwfy
:
function
(
e
,
t
,
r
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
r
(
"woOf"
),
s
=
r
.
n
(
a
),
l
=
r
(
"mvHQ"
),
i
=
r
.
n
(
l
),
o
=
r
(
"gBtx"
),
n
=
r
.
n
(
o
),
c
=
r
(
"3Xzz"
),
d
=
r
(
"fZjL"
),
u
=
r
.
n
(
d
),
h
=
{
name
:
"set-permiss-data"
,
components
:{},
props
:{
value
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
[]}},
title
:{
type
:
String
}},
data
:
function
(){
return
{
defaultSelection
:
this
.
value
||
[]}},
methods
:{
delCurrent
:
function
(
e
,
t
){
t
.
splice
(
e
,
1
)},
updateList
:
function
(
e
){
this
.
$emit
(
"input"
,
e
)},
handleSelectedList
:
function
(
e
){},
showSelector
:
function
(){
this
.
$emit
(
"showSelect"
)}},
watch
:{
value
:
function
(
e
,
t
){
this
.
defaultSelection
=
e
}},
mounted
:
function
(){
this
.
defaultSelection
=
this
.
value
}},
m
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
r
=
e
.
_self
.
_c
||
t
;
return
r
(
"div"
,{
staticClass
:
"select-area"
},[
r
(
"div"
,{
staticClass
:
"setting-name"
,
staticStyle
:{
"font-size"
:
"14px"
,
color
:
"#606266"
}},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
e
.
title
)
+
"
\
n "
)]),
e
.
_v
(
" "
),
r
(
"ul"
,{
staticClass
:
"particular-list"
},[
e
.
_l
(
e
.
defaultSelection
,
function
(
t
,
a
){
return
[
1
==
t
.
type
||
t
.
employeeClerkId
?
r
(
"li"
,{
key
:
a
+
"_"
+
t
.
employeeClerkId
,
staticClass
:
"item person-item"
},[
r
(
"div"
,{
class
:[
"img-wrap"
,
"flex"
,
"flex-align-center"
,
"flex-pack-center"
,
t
.
headPic
?
""
:
"img-wrap-bg"
]},[
t
.
headPic
?
r
(
"img"
,{
attrs
:{
src
:
t
.
headPic
,
alt
:
"headPic"
}}):
r
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
}),
e
.
_v
(
" "
),
r
(
"i"
,{
staticClass
:
"el-icon-circle-close"
,
on
:{
click
:
function
(
t
){
e
.
delCurrent
(
a
,
e
.
defaultSelection
)}}})]),
e
.
_v
(
" "
),
r
(
"p"
,{
staticClass
:
"name"
},[
e
.
_v
(
e
.
_s
(
t
.
name
||
t
.
label
))])]):
e
.
_e
(),
e
.
_v
(
" "
),
2
==
t
.
type
||
3
==
t
.
type
||
t
.
storeId
||
t
.
groupId
?
r
(
"li"
,{
key
:
a
+
"_"
+
t
.
groupId
,
staticClass
:
"item group-item"
},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
name
||
t
.
label
)
+
"
\
n "
),
r
(
"i"
,{
staticClass
:
"el-icon-circle-close"
,
on
:{
click
:
function
(
t
){
e
.
delCurrent
(
a
,
e
.
defaultSelection
)}}})]):
e
.
_e
()]}),
e
.
_v
(
" "
),
r
(
"li"
,{
staticClass
:
"item J_add-btn flex flex-align-center flex-pack-center"
,
on
:{
click
:
e
.
showSelector
}},[
r
(
"i"
,{
staticClass
:
"el-icon-plus"
})])],
2
)])},
staticRenderFns
:[]};
var
p
=
r
(
"VU/8"
)(
h
,
m
,
!
1
,
function
(
e
){
r
(
"swl9"
)},
null
,
null
).
exports
,
f
=
r
(
"c4uw"
),
v
=
r
(
"Ie7z"
),
b
=
r
(
"3E4D"
),
S
=
r
(
"Ch4/"
),
g
=
r
(
"PI0u"
),
C
=
r
(
"P9l9"
),
w
=
{
name
:
""
,
props
:{
authData
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}},
permType
:{
type
:[
Number
,
String
]}},
data
:
function
(){
return
{
projectName
:
""
,
ruleForm
:{
radio
:
1
,
visibleAll
:[],
visibleStoreAll
:[]},
treeSet
:{
isSelectPerson
:
!
0
,
dialogVisible
:
!
1
,
isSingle
:
!
1
},
treeData
:{},
defaultSelection
:[],
onlyPerson
:
!
1
,
changed
:
""
,
defaultStoreList
:[],
storeTreeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
1
}}},
beforeMount
:
function
(){
var
e
=
window
.
location
.
origin
;
"-1"
!=
e
.
indexOf
(
"localhost"
)?
this
.
baseUrl
=
"http://www.gicdev.com"
:
this
.
baseUrl
=
e
},
methods
:{
changeRadio
:
function
(
e
){
this
.
ruleForm
.
visibleAll
=
[],
this
.
ruleForm
.
visibleStoreAll
=
[]},
submitForm
:
Object
(
g
.
a
)(
function
(
e
){
var
t
=
this
;
t
.
$refs
[
e
].
validate
(
function
(
e
){
if
(
!
e
)
return
!
1
;
var
r
=
{
allowCherkIds
:[],
allowDepartIds
:[],
allowStoreIds
:[],
brandId
:
t
.
ruleForm
.
brandId
,
groupId
:
t
.
ruleForm
.
groupId
,
radio
:
t
.
ruleForm
.
radio
};
3
!=
t
.
ruleForm
.
radio
||
t
.
ruleForm
.
visibleAll
.
length
&&
t
.
ruleForm
.
visibleStoreAll
.
length
?(
3
==
t
.
ruleForm
.
radio
&&
(
t
.
ruleForm
.
visibleAll
.
forEach
(
function
(
e
,
t
){
e
.
hasOwnProperty
(
"employeeClerkId"
)?
r
.
allowCherkIds
.
push
(
e
.
employeeClerkId
):
e
.
hasOwnProperty
(
"groupId"
)?
r
.
allowDepartIds
.
push
(
e
.
groupId
):
1
===
n
()(
e
.
type
)?
r
.
allowCherkIds
.
push
(
e
.
id
):
2
===
n
()(
e
.
type
)
&&
r
.
allowDepartIds
.
push
(
e
.
id
)}),
t
.
ruleForm
.
visibleStoreAll
.
forEach
(
function
(
e
,
t
){
e
.
hasOwnProperty
(
"employeeClerkId"
)?
r
.
allowCherkIds
.
push
(
e
.
employeeClerkId
):
e
.
hasOwnProperty
(
"groupId"
)?
r
.
allowDepartIds
.
push
(
e
.
groupId
):
e
.
hasOwnProperty
(
"storeId"
)?
r
.
allowStoreIds
.
push
(
e
.
storeId
):
1
===
n
()(
e
.
type
)?
r
.
allowCherkIds
.
push
(
e
.
id
):
2
===
n
()(
e
.
type
)?
r
.
allowDepartIds
.
push
(
e
.
id
):
3
===
n
()(
e
.
type
)
&&
r
.
allowStoreIds
.
push
(
e
.
id
)})),
t
.
setStoreAuth
(
r
,
t
.
permType
)):
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择指定部门/人员"
})})},
500
),
setStoreAuth
:
function
(
e
,
t
){
var
r
=
this
,
a
=
{
type
:
t
,
brandId
:
e
.
brandId
,
groupId
:
e
.
groupId
,
storeEmployeeAuth
:
e
.
radio
,
storeManagerAuth
:
e
.
radio
,
allowCherkIds
:
e
.
allowCherkIds
.
join
(
","
),
allowDepartIds
:
e
.
allowDepartIds
.
join
(
","
),
allowStoreIds
:
e
.
allowStoreIds
.
join
(
","
)};
Object
(
C
.
c
)(
"/haoban-manage-web/brand/saveStoreAuth"
,
a
).
then
(
function
(
e
){
var
t
=
e
.
data
;
1
!=
t
.
errorCode
?
S
.
a
.
errorMsg
(
t
):
b
.
a
.
showmsg
(
"保存成功"
,
"success"
)}).
catch
(
function
(
e
){
r
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handleAuthData
:
function
(
e
){
var
t
=
this
;
u
()(
e
).
length
&&
(
t
.
ruleForm
.
brandId
=
e
.
brandId
,
t
.
ruleForm
.
groupId
=
e
.
groupId
,
1
===
n
()(
t
.
permType
)
&&
(
t
.
ruleForm
.
radio
=
e
.
brandDTO
.
storeEmployeeAuth
||
1
,
e
.
employeeAuthList
.
length
&&
e
.
employeeAuthList
.
forEach
(
function
(
e
,
t
){
2
===
n
()(
e
.
type
)
&&
(
e
.
groupId
=
e
.
id
),
e
.
label
=
e
.
name
}),
t
.
ruleForm
.
visibleAll
=
[],
t
.
ruleForm
.
visibleStoreAll
=
[],
e
.
employeeAuthList
.
forEach
(
function
(
e
,
r
){
e
.
isStore
?
t
.
ruleForm
.
visibleStoreAll
.
push
(
e
):
t
.
ruleForm
.
visibleAll
.
push
(
e
)}),
t
.
defaultSelection
=
t
.
ruleForm
.
visibleAll
,
t
.
defaultStoreList
=
t
.
ruleForm
.
visibleStoreAll
),
2
===
n
()(
t
.
permType
)
&&
(
t
.
ruleForm
.
radio
=
e
.
brandDTO
.
storeManagerAuth
||
1
,
e
.
managerAuthList
.
length
&&
e
.
managerAuthList
.
forEach
(
function
(
e
,
t
){
2
===
n
()(
e
.
type
)
&&
(
e
.
groupId
=
e
.
id
),
e
.
label
=
e
.
name
}),
t
.
ruleForm
.
visibleAll
=
[],
t
.
ruleForm
.
visibleStoreAll
=
[],
e
.
managerAuthList
.
forEach
(
function
(
e
,
r
){
e
.
isStore
?
t
.
ruleForm
.
visibleStoreAll
.
push
(
e
):
t
.
ruleForm
.
visibleAll
.
push
(
e
)}),
t
.
defaultSelection
=
t
.
ruleForm
.
visibleAll
,
t
.
defaultStoreList
=
t
.
ruleForm
.
visibleStoreAll
))},
showSelect
:
function
(
e
){
if
(
"store"
===
e
)
return
this
.
defaultStoreList
=
this
.
ruleForm
.
visibleStoreAll
,
void
(
this
.
storeTreeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
1
,
isSelectPerson
:
!
0
});
this
.
treeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
1
,
isSelectPerson
:
!
0
},
this
.
defaultSelection
=
this
.
ruleForm
.
visibleAll
},
handleSelectedList
:
function
(
e
){
this
.
defaultSelection
=
e
,
this
.
ruleForm
.
visibleAll
=
e
},
handleSelectedStoreList
:
function
(
e
){
this
.
defaultStoreList
=
e
,
this
.
ruleForm
.
visibleStoreAll
=
e
},
getDepartData
:
function
(
e
){
var
t
=
this
;
Object
(
C
.
c
)(
"/haoban-manage-web/dept/deptListForCompany"
,{}).
then
(
function
(
e
){
var
r
=
e
.
data
;
if
(
1
!=
r
.
errorCode
)
S
.
a
.
errorMsg
(
r
);
else
if
(
r
.
result
){
var
a
=
[],
s
=
[];
1
==
e
.
data
.
errorCode
&&
(
a
=
e
.
data
.
result
.
departmentList
||
[],
s
=
e
.
data
.
result
.
searchList
||
[]),
t
.
treeData
=
{
treeData
:
a
,
personData
:
s
},
t
.
$forceUpdate
()}
else
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
"暂无数据"
})}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
authData
:
function
(
e
,
t
){
this
.
handleAuthData
(
e
)}},
mounted
:
function
(){
this
.
handleAuthData
(
this
.
authData
),
this
.
getDepartData
()},
components
:{
setPermissData
:
p
,
vueSelectEmployee
:
f
.
a
,
vueSelectStore
:
v
.
a
}},
k
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
r
=
e
.
_self
.
_c
||
t
;
return
r
(
"div"
,{
staticClass
:
"permiss-wrap"
},[
r
(
"el-form"
,{
ref
:
"ruleForm"
,
attrs
:{
"label-width"
:
"110px"
,
model
:
e
.
ruleForm
}},[
r
(
"el-radio-group"
,{
on
:{
change
:
e
.
changeRadio
},
model
:{
value
:
e
.
ruleForm
.
radio
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"radio"
,
t
)},
expression
:
"ruleForm.radio"
}},[
r
(
"el-form-item"
,{
attrs
:{
label
:
1
==
e
.
permType
?
"店员可见权限"
:
"店长可见权限"
}},[
r
(
"el-radio"
,{
attrs
:{
label
:
1
}},[
e
.
_v
(
"可见所有品牌门店架构和行政架构"
)])],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
" "
}},[
r
(
"el-radio"
,{
attrs
:{
label
:
2
}},[
e
.
_v
(
"门店仅可见自己门店"
)])],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
" "
}},[
r
(
"el-radio"
,{
attrs
:{
label
:
3
}},[
e
.
_v
(
"自定义可见权限"
)])],
1
),
e
.
_v
(
" "
),
3
==
e
.
ruleForm
.
radio
?
r
(
"div"
,{
staticClass
:
"permiss-child-cell"
},[
r
(
"setPermissData"
,{
attrs
:{
title
:
"允许行政架构可见"
},
on
:{
showSelect
:
function
(
t
){
e
.
showSelect
(
"depart"
)}},
model
:{
value
:
e
.
ruleForm
.
visibleAll
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"visibleAll"
,
t
)},
expression
:
"ruleForm.visibleAll"
}}),
e
.
_v
(
" "
),
r
(
"setPermissData"
,{
attrs
:{
title
:
"允许门店架构可见"
},
on
:{
showSelect
:
function
(
t
){
e
.
showSelect
(
"store"
)}},
model
:{
value
:
e
.
ruleForm
.
visibleStoreAll
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"visibleStoreAll"
,
t
)},
expression
:
"ruleForm.visibleStoreAll"
}})],
1
):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,[
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
submitForm
(
"ruleForm"
)}}},[
e
.
_v
(
"保 存"
)])],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"vue-select-employee"
,{
attrs
:{
defaultSelection
:
e
.
defaultSelection
,
treeSet
:
e
.
treeSet
,
onlyPerson
:
e
.
onlyPerson
,
changed
:
e
.
changed
},
on
:{
handleSelectedList
:
e
.
handleSelectedList
}}),
e
.
_v
(
" "
),
r
(
"vue-select-store"
,{
ref
:
"storeSelector"
,
attrs
:{
treeSet
:
e
.
storeTreeSet
,
selectType
:
"all"
,
defaultList
:
e
.
defaultStoreList
},
on
:{
handleSelectedList
:
e
.
handleSelectedStoreList
}})],
1
)},
staticRenderFns
:[]};
var
I
=
r
(
"VU/8"
)(
w
,
k
,
!
1
,
function
(
e
){
r
(
"NdyB"
)},
"data-v-4e62f171"
,
null
).
exports
,
y
=
{
name
:
"storePermission"
,
data
:
function
(){
return
{
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"设置"
,
path
:
"/companyAddress"
},{
name
:
"通讯录信息"
,
path
:
"/staffDetails"
},{
name
:
"门店权限设置"
,
path
:
""
}],
activeName
:
""
,
brandList
:[],
switchList
:{
addName
:
"新增门店成员"
,
addStoreClerkCheck
:
!
1
,
delName
:
"删除门店成员"
,
deleteStoreClerkCheck
:
!
1
,
modName
:
"门店信息变更"
,
storeInformationChangeCheck
:
!
1
}}},
computed
:{},
methods
:{
handleClick
:
function
(
e
,
t
){
this
.
getStoreAuth
(
e
.
name
,
n
()(
e
.
index
)),
this
.
activeName
=
e
.
name
},
saveSwitch
:
Object
(
g
.
a
)(
function
(){
var
e
=
JSON
.
parse
(
i
()(
this
.
switchList
));
e
.
addStoreClerkCheck
=
1
==
e
.
addStoreClerkCheck
?
1
:
0
,
e
.
deleteStoreClerkCheck
=
1
==
e
.
deleteStoreClerkCheck
?
1
:
0
,
e
.
storeInformationChangeCheck
=
1
==
e
.
storeInformationChangeCheck
?
1
:
0
,
this
.
setStoreAuth
(
e
)},
600
),
setStoreAuth
:
function
(
e
){
var
t
=
this
,
r
=
{
brandId
:
e
.
brandId
,
groupId
:
t
.
activeName
,
addStoreClerkCheck
:
e
.
addStoreClerkCheck
,
deleteStoreClerkCheck
:
e
.
deleteStoreClerkCheck
,
storeInformationChangeCheck
:
e
.
storeInformationChangeCheck
};
Object
(
C
.
c
)(
"/haoban-manage-web/brand/saveStoreAuth"
,
r
).
then
(
function
(
e
){
var
t
=
e
.
data
;
1
!=
t
.
errorCode
?
S
.
a
.
errorMsg
(
t
):
b
.
a
.
showmsg
(
"保存成功"
,
"success"
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getStoreAuth
:
function
(
e
,
t
){
var
r
=
this
,
a
=
{
groupId
:
e
};
Object
(
C
.
c
)(
"/haoban-manage-web/brand/storeAuth"
,
a
).
then
(
function
(
e
){
var
t
=
e
.
data
;
if
(
1
!=
t
.
errorCode
)
S
.
a
.
errorMsg
(
t
);
else
if
(
t
.
result
){
r
.
brandList
.
clerkData
=
t
.
result
,
r
.
brandList
.
managerData
=
t
.
result
;
var
a
=
t
.
result
.
brandDTO
;
a
.
addStoreClerkCheck
=
1
==
a
.
addStoreClerkCheck
,
a
.
deleteStoreClerkCheck
=
1
==
a
.
deleteStoreClerkCheck
,
a
.
storeInformationChangeCheck
=
1
==
a
.
storeInformationChangeCheck
,
r
.
switchList
=
s
()(
r
.
switchList
,
a
),
r
.
$forceUpdate
()}}).
catch
(
function
(
e
){
r
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getBrandData
:
function
(){
var
e
=
this
;
Object
(
C
.
c
)(
"/haoban-manage-web/brand/list"
,{}).
then
(
function
(
t
){
var
r
=
t
.
data
;
1
!=
r
.
errorCode
?
S
.
a
.
errorMsg
(
r
):
r
.
result
&&
r
.
result
.
length
&&
(
e
.
brandList
=
r
.
result
,
e
.
activeName
=
r
.
result
[
0
].
groupId
,
e
.
getStoreAuth
(
r
.
result
[
0
].
groupId
,
0
))}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
mounted
:
function
(){
this
.
getBrandData
()},
components
:{
navCrumb
:
c
.
a
,
setPermiss
:
I
}},
A
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
r
=
e
.
_self
.
_c
||
t
;
return
r
(
"div"
,{
staticClass
:
"storePermission-wrap common-set-wrap"
},[
r
(
"nav-crumb"
,{
attrs
:{
navpath
:
e
.
navpath
}}),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"right-content"
},[
r
(
"div"
,{
staticClass
:
"right-box"
,
staticStyle
:{
background
:
"unset"
,
padding
:
"0"
}},[
r
(
"el-tabs"
,{
on
:{
"tab-click"
:
e
.
handleClick
},
model
:{
value
:
e
.
activeName
,
callback
:
function
(
t
){
e
.
activeName
=
t
},
expression
:
"activeName"
}},[
e
.
_l
(
e
.
brandList
,
function
(
e
,
t
){
return
[
r
(
"el-tab-pane"
,{
key
:
"name"
+
t
,
attrs
:{
label
:
e
.
name
,
name
:
e
.
groupId
}})]})],
2
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"storePermission-title font-w-500"
},[
e
.
_v
(
"
\
n 门店成员通讯录可见权限
\
n "
)]),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"bg-fff permiss-contain"
},[
r
(
"set-permiss"
,{
attrs
:{
permType
:
1
,
authData
:
e
.
brandList
.
clerkData
}}),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"b-l"
}),
e
.
_v
(
" "
),
r
(
"set-permiss"
,{
attrs
:{
permType
:
2
,
authData
:
e
.
brandList
.
managerData
}})],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"storePermission-wrap-switch m-t-24"
},[
r
(
"div"
,{
staticClass
:
"storePermission-switch-title font-w-500"
},[
e
.
_v
(
"
\
n 门店信息变更是否需要审核
\
n "
)]),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"storePermission-switch-body"
},[
r
(
"div"
,{
staticClass
:
"switch-cell"
},[
r
(
"el-switch"
,{
attrs
:{
"inactive-text"
:
e
.
switchList
.
addName
},
model
:{
value
:
e
.
switchList
.
addStoreClerkCheck
,
callback
:
function
(
t
){
e
.
$set
(
e
.
switchList
,
"addStoreClerkCheck"
,
t
)},
expression
:
"switchList.addStoreClerkCheck"
}})],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"switch-cell"
},[
r
(
"el-switch"
,{
attrs
:{
"inactive-text"
:
e
.
switchList
.
delName
},
model
:{
value
:
e
.
switchList
.
deleteStoreClerkCheck
,
callback
:
function
(
t
){
e
.
$set
(
e
.
switchList
,
"deleteStoreClerkCheck"
,
t
)},
expression
:
"switchList.deleteStoreClerkCheck"
}})],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"switch-cell p-l-94"
},[
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
saveSwitch
}},[
e
.
_v
(
"保 存"
)])],
1
)])])],
1
)]),
e
.
_v
(
" "
),
r
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
F
=
r
(
"VU/8"
)(
y
,
A
,
!
1
,
function
(
e
){
r
(
"/spz"
)},
"data-v-3879a8f2"
,
null
);
t
.
default
=
F
.
exports
},
swl9
:
function
(
e
,
t
){}});
webpackJsonp
([
19
],{
"/spz"
:
function
(
e
,
t
){},
NdyB
:
function
(
e
,
t
){},
Xwfy
:
function
(
e
,
t
,
r
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
r
(
"woOf"
),
s
=
r
.
n
(
a
),
l
=
r
(
"mvHQ"
),
i
=
r
.
n
(
l
),
o
=
r
(
"gBtx"
),
n
=
r
.
n
(
o
),
c
=
r
(
"3Xzz"
),
d
=
r
(
"fZjL"
),
u
=
r
.
n
(
d
),
h
=
{
name
:
"set-permiss-data"
,
components
:{},
props
:{
value
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
[]}},
title
:{
type
:
String
}},
data
:
function
(){
return
{
defaultSelection
:
this
.
value
||
[]}},
methods
:{
delCurrent
:
function
(
e
,
t
){
t
.
splice
(
e
,
1
)},
updateList
:
function
(
e
){
this
.
$emit
(
"input"
,
e
)},
handleSelectedList
:
function
(
e
){},
showSelector
:
function
(){
this
.
$emit
(
"showSelect"
)}},
watch
:{
value
:
function
(
e
,
t
){
this
.
defaultSelection
=
e
}},
mounted
:
function
(){
this
.
defaultSelection
=
this
.
value
}},
m
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
r
=
e
.
_self
.
_c
||
t
;
return
r
(
"div"
,{
staticClass
:
"select-area"
},[
r
(
"div"
,{
staticClass
:
"setting-name"
,
staticStyle
:{
"font-size"
:
"14px"
,
color
:
"#606266"
}},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
e
.
title
)
+
"
\
n "
)]),
e
.
_v
(
" "
),
r
(
"ul"
,{
staticClass
:
"particular-list"
},[
e
.
_l
(
e
.
defaultSelection
,
function
(
t
,
a
){
return
[
1
==
t
.
type
||
t
.
employeeClerkId
?
r
(
"li"
,{
key
:
a
+
"_"
+
t
.
employeeClerkId
,
staticClass
:
"item person-item"
},[
r
(
"div"
,{
class
:[
"img-wrap"
,
"flex"
,
"flex-align-center"
,
"flex-pack-center"
,
t
.
headPic
?
""
:
"img-wrap-bg"
]},[
t
.
headPic
?
r
(
"img"
,{
attrs
:{
src
:
t
.
headPic
,
alt
:
"headPic"
}}):
r
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
}),
e
.
_v
(
" "
),
r
(
"i"
,{
staticClass
:
"el-icon-circle-close"
,
on
:{
click
:
function
(
t
){
e
.
delCurrent
(
a
,
e
.
defaultSelection
)}}})]),
e
.
_v
(
" "
),
r
(
"p"
,{
staticClass
:
"name"
},[
e
.
_v
(
e
.
_s
(
t
.
name
||
t
.
label
))])]):
e
.
_e
(),
e
.
_v
(
" "
),
2
==
t
.
type
||
3
==
t
.
type
||
t
.
storeId
||
t
.
groupId
?
r
(
"li"
,{
key
:
a
+
"_"
+
t
.
groupId
,
staticClass
:
"item group-item"
},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
name
||
t
.
label
)
+
"
\
n "
),
r
(
"i"
,{
staticClass
:
"el-icon-circle-close"
,
on
:{
click
:
function
(
t
){
e
.
delCurrent
(
a
,
e
.
defaultSelection
)}}})]):
e
.
_e
()]}),
e
.
_v
(
" "
),
r
(
"li"
,{
staticClass
:
"item J_add-btn flex flex-align-center flex-pack-center"
,
on
:{
click
:
e
.
showSelector
}},[
r
(
"i"
,{
staticClass
:
"el-icon-plus"
})])],
2
)])},
staticRenderFns
:[]};
var
p
=
r
(
"VU/8"
)(
h
,
m
,
!
1
,
function
(
e
){
r
(
"swl9"
)},
null
,
null
).
exports
,
f
=
r
(
"c4uw"
),
v
=
r
(
"Ie7z"
),
b
=
r
(
"3E4D"
),
S
=
r
(
"Ch4/"
),
g
=
r
(
"PI0u"
),
C
=
r
(
"P9l9"
),
w
=
{
name
:
""
,
props
:{
authData
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}},
permType
:{
type
:[
Number
,
String
]}},
data
:
function
(){
return
{
projectName
:
""
,
ruleForm
:{
radio
:
1
,
visibleAll
:[],
visibleStoreAll
:[]},
treeSet
:{
isSelectPerson
:
!
0
,
dialogVisible
:
!
1
,
isSingle
:
!
1
},
treeData
:{},
defaultSelection
:[],
onlyPerson
:
!
1
,
changed
:
""
,
defaultStoreList
:[],
storeTreeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
1
}}},
beforeMount
:
function
(){
var
e
=
window
.
location
.
origin
;
"-1"
!=
e
.
indexOf
(
"localhost"
)?
this
.
baseUrl
=
"http://www.gicdev.com"
:
this
.
baseUrl
=
e
},
methods
:{
changeRadio
:
function
(
e
){
this
.
ruleForm
.
visibleAll
=
[],
this
.
ruleForm
.
visibleStoreAll
=
[]},
submitForm
:
Object
(
g
.
a
)(
function
(
e
){
var
t
=
this
;
t
.
$refs
[
e
].
validate
(
function
(
e
){
if
(
!
e
)
return
!
1
;
var
r
=
{
allowCherkIds
:[],
allowDepartIds
:[],
allowStoreIds
:[],
brandId
:
t
.
ruleForm
.
brandId
,
groupId
:
t
.
ruleForm
.
groupId
,
radio
:
t
.
ruleForm
.
radio
};
3
!=
t
.
ruleForm
.
radio
||
t
.
ruleForm
.
visibleAll
.
length
&&
t
.
ruleForm
.
visibleStoreAll
.
length
?(
3
==
t
.
ruleForm
.
radio
&&
(
t
.
ruleForm
.
visibleAll
.
forEach
(
function
(
e
,
t
){
e
.
hasOwnProperty
(
"employeeClerkId"
)?
r
.
allowCherkIds
.
push
(
e
.
employeeClerkId
):
e
.
hasOwnProperty
(
"groupId"
)?
r
.
allowDepartIds
.
push
(
e
.
groupId
):
1
===
n
()(
e
.
type
)?
r
.
allowCherkIds
.
push
(
e
.
id
):
2
===
n
()(
e
.
type
)
&&
r
.
allowDepartIds
.
push
(
e
.
id
)}),
t
.
ruleForm
.
visibleStoreAll
.
forEach
(
function
(
e
,
t
){
e
.
hasOwnProperty
(
"employeeClerkId"
)?
r
.
allowCherkIds
.
push
(
e
.
employeeClerkId
):
e
.
hasOwnProperty
(
"groupId"
)?
r
.
allowDepartIds
.
push
(
e
.
groupId
):
e
.
hasOwnProperty
(
"storeId"
)?
r
.
allowStoreIds
.
push
(
e
.
storeId
):
1
===
n
()(
e
.
type
)?
r
.
allowCherkIds
.
push
(
e
.
id
):
2
===
n
()(
e
.
type
)?
r
.
allowDepartIds
.
push
(
e
.
id
):
3
===
n
()(
e
.
type
)
&&
r
.
allowStoreIds
.
push
(
e
.
id
)})),
t
.
setStoreAuth
(
r
,
t
.
permType
)):
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择指定部门/人员"
})})},
500
),
setStoreAuth
:
function
(
e
,
t
){
var
r
=
this
,
a
=
{
type
:
t
,
brandId
:
e
.
brandId
,
groupId
:
e
.
groupId
,
storeEmployeeAuth
:
e
.
radio
,
storeManagerAuth
:
e
.
radio
,
allowCherkIds
:
e
.
allowCherkIds
.
join
(
","
),
allowDepartIds
:
e
.
allowDepartIds
.
join
(
","
),
allowStoreIds
:
e
.
allowStoreIds
.
join
(
","
)};
Object
(
C
.
c
)(
"/haoban-manage-web/brand/saveStoreAuth"
,
a
).
then
(
function
(
e
){
var
t
=
e
.
data
;
1
!=
t
.
errorCode
?
S
.
a
.
errorMsg
(
t
):
b
.
a
.
showmsg
(
"保存成功"
,
"success"
)}).
catch
(
function
(
e
){
r
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handleAuthData
:
function
(
e
){
var
t
=
this
;
u
()(
e
).
length
&&
(
t
.
ruleForm
.
brandId
=
e
.
brandId
,
t
.
ruleForm
.
groupId
=
e
.
groupId
,
1
===
n
()(
t
.
permType
)
&&
(
t
.
ruleForm
.
radio
=
e
.
brandDTO
.
storeEmployeeAuth
||
1
,
e
.
employeeAuthList
.
length
&&
e
.
employeeAuthList
.
forEach
(
function
(
e
,
t
){
2
===
n
()(
e
.
type
)
&&
(
e
.
groupId
=
e
.
id
),
e
.
label
=
e
.
name
}),
t
.
ruleForm
.
visibleAll
=
[],
t
.
ruleForm
.
visibleStoreAll
=
[],
e
.
employeeAuthList
.
forEach
(
function
(
e
,
r
){
e
.
isStore
?
t
.
ruleForm
.
visibleStoreAll
.
push
(
e
):
t
.
ruleForm
.
visibleAll
.
push
(
e
)}),
t
.
defaultSelection
=
t
.
ruleForm
.
visibleAll
,
t
.
defaultStoreList
=
t
.
ruleForm
.
visibleStoreAll
),
2
===
n
()(
t
.
permType
)
&&
(
t
.
ruleForm
.
radio
=
e
.
brandDTO
.
storeManagerAuth
||
1
,
e
.
managerAuthList
.
length
&&
e
.
managerAuthList
.
forEach
(
function
(
e
,
t
){
2
===
n
()(
e
.
type
)
&&
(
e
.
groupId
=
e
.
id
),
e
.
label
=
e
.
name
}),
t
.
ruleForm
.
visibleAll
=
[],
t
.
ruleForm
.
visibleStoreAll
=
[],
e
.
managerAuthList
.
forEach
(
function
(
e
,
r
){
e
.
isStore
?
t
.
ruleForm
.
visibleStoreAll
.
push
(
e
):
t
.
ruleForm
.
visibleAll
.
push
(
e
)}),
t
.
defaultSelection
=
t
.
ruleForm
.
visibleAll
,
t
.
defaultStoreList
=
t
.
ruleForm
.
visibleStoreAll
))},
showSelect
:
function
(
e
){
if
(
"store"
===
e
)
return
this
.
defaultStoreList
=
this
.
ruleForm
.
visibleStoreAll
,
void
(
this
.
storeTreeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
1
,
isSelectPerson
:
!
0
});
this
.
treeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
1
,
isSelectPerson
:
!
0
},
this
.
defaultSelection
=
this
.
ruleForm
.
visibleAll
},
handleSelectedList
:
function
(
e
){
this
.
defaultSelection
=
e
,
this
.
ruleForm
.
visibleAll
=
e
},
handleSelectedStoreList
:
function
(
e
){
this
.
defaultStoreList
=
e
,
this
.
ruleForm
.
visibleStoreAll
=
e
},
getDepartData
:
function
(
e
){
var
t
=
this
;
Object
(
C
.
c
)(
"/haoban-manage-web/dept/deptListForCompany"
,{}).
then
(
function
(
e
){
var
r
=
e
.
data
;
if
(
1
!=
r
.
errorCode
)
S
.
a
.
errorMsg
(
r
);
else
if
(
r
.
result
){
var
a
=
[],
s
=
[];
1
==
e
.
data
.
errorCode
&&
(
a
=
e
.
data
.
result
.
departmentList
||
[],
s
=
e
.
data
.
result
.
searchList
||
[]),
t
.
treeData
=
{
treeData
:
a
,
personData
:
s
},
t
.
$forceUpdate
()}
else
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
"暂无数据"
})}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
authData
:
function
(
e
,
t
){
this
.
handleAuthData
(
e
)}},
mounted
:
function
(){
this
.
handleAuthData
(
this
.
authData
),
this
.
getDepartData
()},
components
:{
setPermissData
:
p
,
vueSelectEmployee
:
f
.
a
,
vueSelectStore
:
v
.
a
}},
k
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
r
=
e
.
_self
.
_c
||
t
;
return
r
(
"div"
,{
staticClass
:
"permiss-wrap"
},[
r
(
"el-form"
,{
ref
:
"ruleForm"
,
attrs
:{
"label-width"
:
"110px"
,
model
:
e
.
ruleForm
}},[
r
(
"el-radio-group"
,{
on
:{
change
:
e
.
changeRadio
},
model
:{
value
:
e
.
ruleForm
.
radio
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"radio"
,
t
)},
expression
:
"ruleForm.radio"
}},[
r
(
"el-form-item"
,{
attrs
:{
label
:
1
==
e
.
permType
?
"店员可见权限"
:
"店长可见权限"
}},[
r
(
"el-radio"
,{
attrs
:{
label
:
1
}},[
e
.
_v
(
"可见所有品牌门店架构和行政架构"
)])],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
" "
}},[
r
(
"el-radio"
,{
attrs
:{
label
:
2
}},[
e
.
_v
(
"门店仅可见自己门店"
)])],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
" "
}},[
r
(
"el-radio"
,{
attrs
:{
label
:
3
}},[
e
.
_v
(
"自定义可见权限"
)])],
1
),
e
.
_v
(
" "
),
3
==
e
.
ruleForm
.
radio
?
r
(
"div"
,{
staticClass
:
"permiss-child-cell"
},[
r
(
"setPermissData"
,{
attrs
:{
title
:
"允许行政架构可见"
},
on
:{
showSelect
:
function
(
t
){
e
.
showSelect
(
"depart"
)}},
model
:{
value
:
e
.
ruleForm
.
visibleAll
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"visibleAll"
,
t
)},
expression
:
"ruleForm.visibleAll"
}}),
e
.
_v
(
" "
),
r
(
"setPermissData"
,{
attrs
:{
title
:
"允许门店架构可见"
},
on
:{
showSelect
:
function
(
t
){
e
.
showSelect
(
"store"
)}},
model
:{
value
:
e
.
ruleForm
.
visibleStoreAll
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"visibleStoreAll"
,
t
)},
expression
:
"ruleForm.visibleStoreAll"
}})],
1
):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,[
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
submitForm
(
"ruleForm"
)}}},[
e
.
_v
(
"保 存"
)])],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"vue-select-employee"
,{
attrs
:{
defaultSelection
:
e
.
defaultSelection
,
treeSet
:
e
.
treeSet
,
onlyPerson
:
e
.
onlyPerson
,
changed
:
e
.
changed
},
on
:{
handleSelectedList
:
e
.
handleSelectedList
}}),
e
.
_v
(
" "
),
r
(
"vue-select-store"
,{
ref
:
"storeSelector"
,
attrs
:{
treeSet
:
e
.
storeTreeSet
,
selectType
:
"all"
,
defaultList
:
e
.
defaultStoreList
},
on
:{
handleSelectedList
:
e
.
handleSelectedStoreList
}})],
1
)},
staticRenderFns
:[]};
var
I
=
r
(
"VU/8"
)(
w
,
k
,
!
1
,
function
(
e
){
r
(
"NdyB"
)},
"data-v-4e62f171"
,
null
).
exports
,
y
=
{
name
:
"storePermission"
,
data
:
function
(){
return
{
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"设置"
,
path
:
"/companyAddress"
},{
name
:
"通讯录信息"
,
path
:
"/staffDetails"
},{
name
:
"门店权限设置"
,
path
:
""
}],
activeName
:
""
,
brandList
:[],
switchList
:{
addName
:
"新增门店成员"
,
addStoreClerkCheck
:
!
1
,
delName
:
"删除门店成员"
,
deleteStoreClerkCheck
:
!
1
,
modName
:
"门店信息变更"
,
storeInformationChangeCheck
:
!
1
}}},
computed
:{},
methods
:{
handleClick
:
function
(
e
,
t
){
this
.
getStoreAuth
(
e
.
name
,
n
()(
e
.
index
)),
this
.
activeName
=
e
.
name
},
saveSwitch
:
Object
(
g
.
a
)(
function
(){
var
e
=
JSON
.
parse
(
i
()(
this
.
switchList
));
e
.
addStoreClerkCheck
=
1
==
e
.
addStoreClerkCheck
?
1
:
0
,
e
.
deleteStoreClerkCheck
=
1
==
e
.
deleteStoreClerkCheck
?
1
:
0
,
e
.
storeInformationChangeCheck
=
1
==
e
.
storeInformationChangeCheck
?
1
:
0
,
this
.
setStoreAuth
(
e
)},
600
),
setStoreAuth
:
function
(
e
){
var
t
=
this
,
r
=
{
brandId
:
e
.
brandId
,
groupId
:
t
.
activeName
,
addStoreClerkCheck
:
e
.
addStoreClerkCheck
,
deleteStoreClerkCheck
:
e
.
deleteStoreClerkCheck
,
storeInformationChangeCheck
:
e
.
storeInformationChangeCheck
};
Object
(
C
.
c
)(
"/haoban-manage-web/brand/saveStoreAuth"
,
r
).
then
(
function
(
e
){
var
t
=
e
.
data
;
1
!=
t
.
errorCode
?
S
.
a
.
errorMsg
(
t
):
b
.
a
.
showmsg
(
"保存成功"
,
"success"
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getStoreAuth
:
function
(
e
,
t
){
var
r
=
this
,
a
=
{
groupId
:
e
};
Object
(
C
.
c
)(
"/haoban-manage-web/brand/storeAuth"
,
a
).
then
(
function
(
e
){
var
t
=
e
.
data
;
if
(
1
!=
t
.
errorCode
)
S
.
a
.
errorMsg
(
t
);
else
if
(
t
.
result
){
r
.
brandList
.
clerkData
=
t
.
result
,
r
.
brandList
.
managerData
=
t
.
result
;
var
a
=
t
.
result
.
brandDTO
;
a
.
addStoreClerkCheck
=
1
==
a
.
addStoreClerkCheck
,
a
.
deleteStoreClerkCheck
=
1
==
a
.
deleteStoreClerkCheck
,
a
.
storeInformationChangeCheck
=
1
==
a
.
storeInformationChangeCheck
,
r
.
switchList
=
s
()(
r
.
switchList
,
a
),
r
.
$forceUpdate
()}}).
catch
(
function
(
e
){
r
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getBrandData
:
function
(){
var
e
=
this
;
Object
(
C
.
c
)(
"/haoban-manage-web/brand/list"
,{}).
then
(
function
(
t
){
var
r
=
t
.
data
;
1
!=
r
.
errorCode
?
S
.
a
.
errorMsg
(
r
):
r
.
result
&&
r
.
result
.
length
&&
(
e
.
brandList
=
r
.
result
,
e
.
activeName
=
r
.
result
[
0
].
groupId
,
e
.
getStoreAuth
(
r
.
result
[
0
].
groupId
,
0
))}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
mounted
:
function
(){
this
.
getBrandData
()},
components
:{
navCrumb
:
c
.
a
,
setPermiss
:
I
}},
A
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
r
=
e
.
_self
.
_c
||
t
;
return
r
(
"div"
,{
staticClass
:
"storePermission-wrap common-set-wrap"
},[
r
(
"nav-crumb"
,{
attrs
:{
navpath
:
e
.
navpath
}}),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"right-content"
},[
r
(
"div"
,{
staticClass
:
"right-box"
,
staticStyle
:{
background
:
"unset"
,
padding
:
"0"
}},[
r
(
"el-tabs"
,{
on
:{
"tab-click"
:
e
.
handleClick
},
model
:{
value
:
e
.
activeName
,
callback
:
function
(
t
){
e
.
activeName
=
t
},
expression
:
"activeName"
}},[
e
.
_l
(
e
.
brandList
,
function
(
e
,
t
){
return
[
r
(
"el-tab-pane"
,{
key
:
"name"
+
t
,
attrs
:{
label
:
e
.
name
,
name
:
e
.
groupId
}})]})],
2
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"storePermission-title font-w-500"
},[
e
.
_v
(
"
\
n 门店成员通讯录可见权限
\
n "
)]),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"bg-fff permiss-contain"
},[
r
(
"set-permiss"
,{
attrs
:{
permType
:
1
,
authData
:
e
.
brandList
.
clerkData
}}),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"b-l"
}),
e
.
_v
(
" "
),
r
(
"set-permiss"
,{
attrs
:{
permType
:
2
,
authData
:
e
.
brandList
.
managerData
}})],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"storePermission-wrap-switch m-t-24"
},[
r
(
"div"
,{
staticClass
:
"storePermission-switch-title font-w-500"
},[
e
.
_v
(
"
\
n 门店信息变更是否需要审核
\
n "
)]),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"storePermission-switch-body"
},[
r
(
"div"
,{
staticClass
:
"switch-cell"
},[
r
(
"el-switch"
,{
attrs
:{
"inactive-text"
:
e
.
switchList
.
addName
},
model
:{
value
:
e
.
switchList
.
addStoreClerkCheck
,
callback
:
function
(
t
){
e
.
$set
(
e
.
switchList
,
"addStoreClerkCheck"
,
t
)},
expression
:
"switchList.addStoreClerkCheck"
}})],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"switch-cell"
},[
r
(
"el-switch"
,{
attrs
:{
"inactive-text"
:
e
.
switchList
.
delName
},
model
:{
value
:
e
.
switchList
.
deleteStoreClerkCheck
,
callback
:
function
(
t
){
e
.
$set
(
e
.
switchList
,
"deleteStoreClerkCheck"
,
t
)},
expression
:
"switchList.deleteStoreClerkCheck"
}})],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"switch-cell p-l-94"
},[
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
saveSwitch
}},[
e
.
_v
(
"保 存"
)])],
1
)])])],
1
)]),
e
.
_v
(
" "
),
r
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
F
=
r
(
"VU/8"
)(
y
,
A
,
!
1
,
function
(
e
){
r
(
"/spz"
)},
"data-v-3879a8f2"
,
null
);
t
.
default
=
F
.
exports
},
swl9
:
function
(
e
,
t
){}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/app.
b5938cb0e02dacc7a9ed
.js
→
dist/static/js/app.
77362d705af60a68bceb
.js
View file @
1d1b13ed
webpackJsonp
([
42
],{
"/NA0"
:
function
(
e
,
t
){},
"4qCZ"
:
function
(
e
,
t
){},
"5tgt"
:
function
(
e
,
t
,
n
){
e
.
exports
=
function
(
e
,
t
){
return
function
(
o
){
n
(
"Opzk"
)(
"./"
+
e
+
"/"
+
t
+
".vue"
).
then
(
function
(
e
){
o
(
e
)})}}},
NHnr
:
function
(
e
,
t
,
n
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
o
=
n
(
"mvHQ"
),
a
=
n
.
n
(
o
),
r
=
n
(
"7+uW"
),
c
=
{
render
:
function
(){
var
e
=
this
.
$createElement
,
t
=
this
.
_self
.
_c
||
e
;
return
t
(
"div"
,{
attrs
:{
id
:
"app"
}},[
t
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
t
(
"router-view"
)],
1
)],
1
)},
staticRenderFns
:[]};
var
i
=
n
(
"VU/8"
)({
name
:
"App"
,
data
:
function
(){
return
{}}},
c
,
!
1
,
function
(
e
){
n
(
"/NA0"
)},
null
,
null
).
exports
,
s
=
n
(
"/ocq"
),
m
=
n
(
"5tgt"
),
d
=
n
.
n
(
m
);
r
.
default
.
use
(
s
.
a
);
var
p
=
function
(
e
){
n
.
e
(
1
).
then
(
n
.
bind
(
null
,
"ODjX"
)).
then
(
function
(
t
){
e
(
t
)})};
window
.
sessionStorage
.
getItem
(
"token"
)
&&
store
.
commit
(
types
.
LOGIN
,
window
.
sessionStorage
.
getItem
(
"token"
));
var
u
,
l
=
[{
path
:
"/"
,
name
:
"/"
,
redirect
:
"login"
},{
path
:
"/login"
,
name
:
"登录"
,
component
:
d
()(
"login"
,
"index"
)},{
path
:
"/index"
,
name
:
"index"
,
component
:
d
()(
"index"
,
"index"
)},{
path
:
"/contacts"
,
name
:
"通讯录"
,
redirect
:
"administrativeFrame"
,
component
:
d
()(
"contacts"
,
"index"
),
children
:[{
path
:
"/administrativeFrame"
,
name
:
"行政架构"
,
component
:
d
()(
"contacts"
,
"administrativeFrame"
)},{
path
:
"/employeeIo"
,
name
:
"批量导入/导出"
,
component
:
d
()(
"contacts"
,
"employeeIo"
)},{
path
:
"/addDepartment"
,
name
:
"添加部门"
,
component
:
d
()(
"contacts"
,
"addDepartment"
)},{
path
:
"/addClerk"
,
name
:
"添加店员"
,
component
:
d
()(
"contacts"
,
"addClerk"
)},{
path
:
"/storeFrame"
,
name
:
"门店架构"
,
component
:
d
()(
"contacts"
,
"storeFrame"
)},{
path
:
"/addGroup"
,
name
:
"添加子分组"
,
component
:
d
()(
"contacts"
,
"addGroup"
)},{
path
:
"/storeIo"
,
name
:
"门店导入/导出"
,
component
:
d
()(
"contacts"
,
"storeIo"
)},{
path
:
"/storeInfo"
,
name
:
"编辑门店"
,
component
:
d
()(
"contacts"
,
"storeInfo"
)},{
path
:
"/recycle"
,
name
:
"门店回收站"
,
component
:
d
()(
"contacts"
,
"recycle"
)},{
path
:
"/employee"
,
name
:
"编辑员工"
,
component
:
d
()(
"contacts"
,
"employee"
)},{
path
:
"/unemployee"
,
name
:
"离职员工"
,
component
:
d
()(
"contacts"
,
"unemployee"
)},{
path
:
"/fileSet"
,
name
:
"档案设置"
,
component
:
d
()(
"contacts"
,
"fileSet"
)},{
path
:
"/recordInfo"
,
name
:
"编辑员工信息"
,
component
:
d
()(
"contacts"
,
"recordInfo"
)},{
path
:
"/recordIo"
,
name
:
"导入导出员工档案"
,
component
:
d
()(
"contacts"
,
"recordIo"
)},{
path
:
"/shareContact"
,
name
:
"共享通讯录"
,
component
:
d
()(
"contacts"
,
"shareContact"
)},{
path
:
"/shareCode"
,
name
:
"共享通讯录二维码"
,
component
:
d
()(
"contacts"
,
"shareCode"
)},{
path
:
"/employeeRecord"
,
name
:
"在职员工"
,
component
:
d
()(
"contacts"
,
"employeeRecord"
)}]},{
path
:
"/enterpriseApp"
,
name
:
"企业应用"
,
component
:
d
()(
"enterpriseApp"
,
"index"
)},{
path
:
"/reviewCenter"
,
name
:
"审核中心"
,
redirect
:
"unreview"
,
component
:
d
()(
"reviewCenter"
,
"index"
),
children
:[{
path
:
"/reviewed"
,
name
:
"已审核"
,
component
:
d
()(
"reviewCenter"
,
"reviewed"
)},{
path
:
"/unreview"
,
name
:
"未审核"
,
component
:
d
()(
"reviewCenter"
,
"unreview"
)}]},{
path
:
"/setCenter"
,
name
:
"设置"
,
redirect
:
"companyAddress"
,
component
:
d
()(
"setting"
,
"index"
),
children
:[{
path
:
"/companyAddress"
,
name
:
"企业地址"
,
component
:
d
()(
"setting"
,
"companyAddress"
)},{
path
:
"/companyCertify"
,
name
:
"企业认证"
,
component
:
d
()(
"setting"
,
"companyCertify"
)},{
path
:
"/staffDetails"
,
name
:
"员工详情字段"
,
component
:
d
()(
"setting"
,
"staffDetails"
)},{
path
:
"/storePermission"
,
name
:
"门店权限设置"
,
component
:
d
()(
"setting"
,
"storePermission"
)},{
path
:
"/replaceAdmin"
,
name
:
"更换超级管理员"
,
component
:
d
()(
"setting"
,
"replaceAdmin"
)},{
path
:
"/setChildAdmin"
,
name
:
"设置子管理员"
,
component
:
d
()(
"setting"
,
"setChildAdmin"
)},{
path
:
"/addAdmin"
,
name
:
"添加管理员"
,
component
:
d
()(
"setting"
,
"addAdmin"
)},{
path
:
"/addAdminRole"
,
name
:
"添加管理员角色"
,
component
:
d
()(
"setting"
,
"addAdminRole"
)}]},{
path
:
"/staffRecordsTemplate"
,
name
:
"员工档案设置"
,
component
:
d
()(
"contacts"
,
"staffRecordsTemplate"
)},{
path
:
"/403"
,
name
:
"无权访问"
,
component
:
p
},{
path
:
"/404"
,
name
:
"error404"
,
component
:
p
},{
path
:
"/500"
,
name
:
"error500"
,
component
:
p
},{
path
:
"*"
,
redirect
:
"/404"
,
hidden
:
!
0
}],
f
=
new
s
.
a
({
routes
:
l
,
scrollBehavior
:
function
(){
return
{
y
:
0
}}}),
h
=
n
(
"zL8q"
),
v
=
n
.
n
(
h
),
g
=
n
(
"Rf8U"
),
w
=
n
.
n
(
g
),
y
=
n
(
"mtWM"
),
C
=
n
.
n
(
y
),
A
=
n
(
"bOdI"
),
I
=
n
.
n
(
A
),
x
=
n
(
"NYxO"
);
r
.
default
.
use
(
x
.
a
);
var
R
=
new
x
.
a
.
Store
({
state
:{
user
:{},
token
:
null
,
title
:
""
,
show
:
!
1
,
bgHeight
:
window
.
screen
.
availHeight
-
440
-
24
+
"px"
},
mutations
:(
u
=
{},
I
()(
u
,
"login"
,
function
(
e
,
t
){
sessionStorage
.
token
=
t
,
e
.
token
=
t
}),
I
()(
u
,
"logout"
,
function
(
e
){
sessionStorage
.
removeItem
(
"token"
),
e
.
token
=
null
}),
I
()(
u
,
"title"
,
function
(
e
,
t
){
e
.
title
=
t
}),
I
()(
u
,
"show"
,
function
(
e
,
t
){
e
.
show
=
t
}),
u
)}),
k
=
(
n
(
"4qCZ"
),
n
(
"uKUT"
),
n
(
"Xcu2"
),
n
(
"TUaa"
)),
P
=
n
.
n
(
k
),
S
=
n
(
"tyqE"
),
O
=
n
.
n
(
S
),
T
=
n
(
"pRVe"
),
b
=
n
.
n
(
T
),
D
=
n
(
"SE7k"
),
F
=
n
.
n
(
D
),
j
=
n
(
"XsK6"
),
z
=
n
.
n
(
j
),
E
=
n
(
"QRL9"
),
G
=
n
.
n
(
E
),
H
=
n
(
"2Pnh"
),
q
=
n
.
n
(
H
),
J
=
n
(
"l9mu"
),
X
=
n
.
n
(
J
),
N
=
{
install
:
function
(
e
,
t
){
e
.
prototype
.
getPdf
=
function
(){
var
e
=
this
.
htmlTitle
;
q
()(
document
.
querySelector
(
"#pdfDom"
),{
allowTaint
:
!
0
,
foreignObjectRendering
:
!
0
}).
then
(
function
(
t
){
var
n
=
t
.
width
,
o
=
t
.
height
,
a
=
n
/
592.28
*
841.89
,
r
=
o
,
c
=
0
,
i
=
592.28
/
n
*
o
,
s
=
t
.
toDataURL
(
"image/jpeg"
,
1
),
m
=
new
X
.
a
(
""
,
"pt"
,
"a4"
);
if
(
r
<
a
)
m
.
addImage
(
s
,
"JPEG"
,
0
,
0
,
595.28
,
i
);
else
for
(;
r
>
0
;)
m
.
addImage
(
s
,
"JPEG"
,
0
,
c
,
595.28
,
i
),
c
-=
841.89
,(
r
-=
a
)
>
0
&&
m
.
addPage
();
m
.
save
(
e
+
".pdf"
)})}}};
r
.
default
.
use
(
N
),
r
.
default
.
use
(
z
.
a
),
r
.
default
.
use
(
G
.
a
),
r
.
default
.
use
(
F
.
a
),
r
.
default
.
use
(
b
.
a
),
r
.
default
.
use
(
O
.
a
),
r
.
default
.
use
(
P
.
a
),
r
.
default
.
config
.
productionTip
=!
1
,
r
.
default
.
use
(
v
.
a
,{
size
:
"large"
}),
r
.
default
.
use
(
w
.
a
,
C
.
a
),
r
.
default
.
axios
.
defaults
.
withCredentials
=!
0
,
f
.
beforeEach
(
function
(
e
,
t
,
n
){
var
o
=
void
0
,
r
=
window
.
location
.
origin
;
o
=
"-1"
!=
r
.
indexOf
(
"localhost"
)?
"http://www.gicdev.com"
:
r
,
localStorage
.
getItem
(
"userInfo"
)
||
C
.
a
.
get
(
o
+
"/haoban-manage-web/emp/get-user-info"
,{}).
then
(
function
(
e
){
var
t
=
e
.
data
;
1
!=
t
.
errorCode
||
localStorage
.
setItem
(
"userInfo"
,
a
()(
t
.
result
))}).
catch
(
function
(
e
){
h
.
Message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})}),
"/"
==
e
.
path
?
n
({
path
:
"/login"
}):
n
()}),
new
r
.
default
({
el
:
"#app"
,
router
:
f
,
store
:
R
,
components
:{
App
:
i
},
template
:
"<App/>"
})},
Opzk
:
function
(
e
,
t
,
n
){
var
o
=
{
"./contacts/addClerk.vue"
:[
"27o1"
,
0
,
16
],
"./contacts/addDepartment.vue"
:[
"HHRu"
,
0
,
15
],
"./contacts/addEmployee.vue"
:[
"00Sv"
,
33
],
"./contacts/addGroup.vue"
:[
"mPjx"
,
0
,
31
],
"./contacts/administrativeFrame.vue"
:[
"kLcy"
,
0
,
3
],
"./contacts/employee.vue"
:[
"AdJp"
,
0
,
37
],
"./contacts/employeeIo.vue"
:[
"Rwbg"
,
0
,
27
],
"./contacts/employeeRecord.vue"
:[
"zGJY"
,
0
,
5
],
"./contacts/fileSet.vue"
:[
"CSjr"
,
0
,
6
],
"./contacts/index.vue"
:[
"41Rh"
,
0
,
29
],
"./contacts/recordInfo.vue"
:[
"67iC"
,
0
,
19
],
"./contacts/recordIo.vue"
:[
"738z"
,
0
,
17
],
"./contacts/recycle.vue"
:[
"HkK0"
,
0
,
26
],
"./contacts/shareAddDepartment.vue"
:[
"q5Ri"
,
0
,
14
],
"./contacts/shareCode.vue"
:[
"JsWW"
,
0
,
38
],
"./contacts/shareContact.vue"
:[
"Gfms"
,
0
,
2
],
"./contacts/staffRecordsTemplate.vue"
:[
"lFAe"
,
0
,
11
],
"./contacts/storeFrame.vue"
:[
"7SJI"
,
0
,
4
],
"./contacts/storeInfo.vue"
:[
"h/6A"
,
0
,
8
],
"./contacts/storeIo.vue"
:[
"RHxA"
,
0
,
40
],
"./contacts/unemployee.vue"
:[
"TGrv"
,
0
,
13
],
"./enterpriseApp/index.vue"
:[
"da9f"
,
34
],
"./errorPage/403.vue"
:[
"6XGN"
,
23
],
"./errorPage/404.vue"
:[
"AejC"
,
21
],
"./errorPage/500.vue"
:[
"FskK"
,
20
],
"./errorPage/index.vue"
:[
"ODjX"
,
1
],
"./index/index.vue"
:[
"JXTs"
,
0
,
25
],
"./login/index.vue"
:[
"T+/8"
,
0
,
7
],
"./reviewCenter/index.vue"
:[
"+lem"
,
35
],
"./reviewCenter/reviewed.vue"
:[
"CLYF"
,
0
,
12
],
"./reviewCenter/unreview.vue"
:[
"xCEU"
,
0
,
10
],
"./setting/addAdmin.vue"
:[
"rs/A"
,
0
,
36
],
"./setting/addAdminRole.vue"
:[
"fZsz"
,
0
,
22
],
"./setting/companyAddress.vue"
:[
"SKyE"
,
0
,
39
],
"./setting/companyCertify.vue"
:[
"3zYh"
,
0
,
9
],
"./setting/index.vue"
:[
"VlR1"
,
28
],
"./setting/replaceAdmin.vue"
:[
"ys9I"
,
0
,
30
],
"./setting/setChildAdmin.vue"
:[
"VqB7"
,
0
,
32
],
"./setting/staffDetails.vue"
:[
"Zyzf"
,
0
,
24
],
"./setting/storePermission.vue"
:[
"Xwfy"
,
0
,
18
]};
function
a
(
e
){
var
t
=
o
[
e
];
return
t
?
Promise
.
all
(
t
.
slice
(
1
).
map
(
n
.
e
)).
then
(
function
(){
return
n
(
t
[
0
])}):
Promise
.
reject
(
new
Error
(
"Cannot find module '"
+
e
+
"'."
))}
a
.
keys
=
function
(){
return
Object
.
keys
(
o
)},
a
.
id
=
"Opzk"
,
e
.
exports
=
a
},
Xcu2
:
function
(
e
,
t
){},
uKUT
:
function
(
e
,
t
){}},[
"NHnr"
]);
webpackJsonp
([
42
],{
"/NA0"
:
function
(
e
,
t
){},
"4qCZ"
:
function
(
e
,
t
){},
"5tgt"
:
function
(
e
,
t
,
n
){
e
.
exports
=
function
(
e
,
t
){
return
function
(
o
){
n
(
"Opzk"
)(
"./"
+
e
+
"/"
+
t
+
".vue"
).
then
(
function
(
e
){
o
(
e
)})}}},
NHnr
:
function
(
e
,
t
,
n
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
o
=
n
(
"mvHQ"
),
a
=
n
.
n
(
o
),
r
=
n
(
"7+uW"
),
c
=
{
render
:
function
(){
var
e
=
this
.
$createElement
,
t
=
this
.
_self
.
_c
||
e
;
return
t
(
"div"
,{
attrs
:{
id
:
"app"
}},[
t
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
t
(
"router-view"
)],
1
)],
1
)},
staticRenderFns
:[]};
var
i
=
n
(
"VU/8"
)({
name
:
"App"
,
data
:
function
(){
return
{}}},
c
,
!
1
,
function
(
e
){
n
(
"/NA0"
)},
null
,
null
).
exports
,
s
=
n
(
"/ocq"
),
m
=
n
(
"5tgt"
),
d
=
n
.
n
(
m
);
r
.
default
.
use
(
s
.
a
);
var
p
=
function
(
e
){
n
.
e
(
1
).
then
(
n
.
bind
(
null
,
"ODjX"
)).
then
(
function
(
t
){
e
(
t
)})};
window
.
sessionStorage
.
getItem
(
"token"
)
&&
store
.
commit
(
types
.
LOGIN
,
window
.
sessionStorage
.
getItem
(
"token"
));
var
u
,
l
=
[{
path
:
"/"
,
name
:
"/"
,
redirect
:
"login"
},{
path
:
"/login"
,
name
:
"登录"
,
component
:
d
()(
"login"
,
"index"
)},{
path
:
"/index"
,
name
:
"index"
,
component
:
d
()(
"index"
,
"index"
)},{
path
:
"/contacts"
,
name
:
"通讯录"
,
redirect
:
"administrativeFrame"
,
component
:
d
()(
"contacts"
,
"index"
),
children
:[{
path
:
"/administrativeFrame"
,
name
:
"行政架构"
,
component
:
d
()(
"contacts"
,
"administrativeFrame"
)},{
path
:
"/employeeIo"
,
name
:
"批量导入/导出"
,
component
:
d
()(
"contacts"
,
"employeeIo"
)},{
path
:
"/addDepartment"
,
name
:
"添加部门"
,
component
:
d
()(
"contacts"
,
"addDepartment"
)},{
path
:
"/addClerk"
,
name
:
"添加店员"
,
component
:
d
()(
"contacts"
,
"addClerk"
)},{
path
:
"/storeFrame"
,
name
:
"门店架构"
,
component
:
d
()(
"contacts"
,
"storeFrame"
)},{
path
:
"/addGroup"
,
name
:
"添加子分组"
,
component
:
d
()(
"contacts"
,
"addGroup"
)},{
path
:
"/storeIo"
,
name
:
"门店导入/导出"
,
component
:
d
()(
"contacts"
,
"storeIo"
)},{
path
:
"/storeInfo"
,
name
:
"编辑门店"
,
component
:
d
()(
"contacts"
,
"storeInfo"
)},{
path
:
"/recycle"
,
name
:
"门店回收站"
,
component
:
d
()(
"contacts"
,
"recycle"
)},{
path
:
"/employee"
,
name
:
"编辑员工"
,
component
:
d
()(
"contacts"
,
"employee"
)},{
path
:
"/unemployee"
,
name
:
"离职员工"
,
component
:
d
()(
"contacts"
,
"unemployee"
)},{
path
:
"/fileSet"
,
name
:
"档案设置"
,
component
:
d
()(
"contacts"
,
"fileSet"
)},{
path
:
"/recordInfo"
,
name
:
"编辑员工信息"
,
component
:
d
()(
"contacts"
,
"recordInfo"
)},{
path
:
"/recordIo"
,
name
:
"导入导出员工档案"
,
component
:
d
()(
"contacts"
,
"recordIo"
)},{
path
:
"/shareContact"
,
name
:
"共享通讯录"
,
component
:
d
()(
"contacts"
,
"shareContact"
)},{
path
:
"/shareCode"
,
name
:
"共享通讯录二维码"
,
component
:
d
()(
"contacts"
,
"shareCode"
)},{
path
:
"/employeeRecord"
,
name
:
"在职员工"
,
component
:
d
()(
"contacts"
,
"employeeRecord"
)}]},{
path
:
"/enterpriseApp"
,
name
:
"企业应用"
,
component
:
d
()(
"enterpriseApp"
,
"index"
)},{
path
:
"/reviewCenter"
,
name
:
"审核中心"
,
redirect
:
"unreview"
,
component
:
d
()(
"reviewCenter"
,
"index"
),
children
:[{
path
:
"/reviewed"
,
name
:
"已审核"
,
component
:
d
()(
"reviewCenter"
,
"reviewed"
)},{
path
:
"/unreview"
,
name
:
"未审核"
,
component
:
d
()(
"reviewCenter"
,
"unreview"
)}]},{
path
:
"/setCenter"
,
name
:
"设置"
,
redirect
:
"companyAddress"
,
component
:
d
()(
"setting"
,
"index"
),
children
:[{
path
:
"/companyAddress"
,
name
:
"企业地址"
,
component
:
d
()(
"setting"
,
"companyAddress"
)},{
path
:
"/companyCertify"
,
name
:
"企业认证"
,
component
:
d
()(
"setting"
,
"companyCertify"
)},{
path
:
"/staffDetails"
,
name
:
"员工详情字段"
,
component
:
d
()(
"setting"
,
"staffDetails"
)},{
path
:
"/storePermission"
,
name
:
"门店权限设置"
,
component
:
d
()(
"setting"
,
"storePermission"
)},{
path
:
"/replaceAdmin"
,
name
:
"更换超级管理员"
,
component
:
d
()(
"setting"
,
"replaceAdmin"
)},{
path
:
"/setChildAdmin"
,
name
:
"设置子管理员"
,
component
:
d
()(
"setting"
,
"setChildAdmin"
)},{
path
:
"/addAdmin"
,
name
:
"添加管理员"
,
component
:
d
()(
"setting"
,
"addAdmin"
)},{
path
:
"/addAdminRole"
,
name
:
"添加管理员角色"
,
component
:
d
()(
"setting"
,
"addAdminRole"
)}]},{
path
:
"/staffRecordsTemplate"
,
name
:
"员工档案设置"
,
component
:
d
()(
"contacts"
,
"staffRecordsTemplate"
)},{
path
:
"/403"
,
name
:
"无权访问"
,
component
:
p
},{
path
:
"/404"
,
name
:
"error404"
,
component
:
p
},{
path
:
"/500"
,
name
:
"error500"
,
component
:
p
},{
path
:
"*"
,
redirect
:
"/404"
,
hidden
:
!
0
}],
f
=
new
s
.
a
({
routes
:
l
,
scrollBehavior
:
function
(){
return
{
y
:
0
}}}),
h
=
n
(
"zL8q"
),
v
=
n
.
n
(
h
),
g
=
n
(
"Rf8U"
),
w
=
n
.
n
(
g
),
y
=
n
(
"mtWM"
),
C
=
n
.
n
(
y
),
A
=
n
(
"bOdI"
),
I
=
n
.
n
(
A
),
x
=
n
(
"NYxO"
);
r
.
default
.
use
(
x
.
a
);
var
R
=
new
x
.
a
.
Store
({
state
:{
user
:{},
token
:
null
,
title
:
""
,
show
:
!
1
,
bgHeight
:
window
.
screen
.
availHeight
-
440
-
24
+
"px"
},
mutations
:(
u
=
{},
I
()(
u
,
"login"
,
function
(
e
,
t
){
sessionStorage
.
token
=
t
,
e
.
token
=
t
}),
I
()(
u
,
"logout"
,
function
(
e
){
sessionStorage
.
removeItem
(
"token"
),
e
.
token
=
null
}),
I
()(
u
,
"title"
,
function
(
e
,
t
){
e
.
title
=
t
}),
I
()(
u
,
"show"
,
function
(
e
,
t
){
e
.
show
=
t
}),
u
)}),
k
=
(
n
(
"4qCZ"
),
n
(
"uKUT"
),
n
(
"Xcu2"
),
n
(
"TUaa"
)),
P
=
n
.
n
(
k
),
S
=
n
(
"tyqE"
),
O
=
n
.
n
(
S
),
T
=
n
(
"pRVe"
),
b
=
n
.
n
(
T
),
D
=
n
(
"SE7k"
),
F
=
n
.
n
(
D
),
j
=
n
(
"XsK6"
),
z
=
n
.
n
(
j
),
E
=
n
(
"QRL9"
),
G
=
n
.
n
(
E
),
H
=
n
(
"2Pnh"
),
q
=
n
.
n
(
H
),
J
=
n
(
"l9mu"
),
X
=
n
.
n
(
J
),
N
=
{
install
:
function
(
e
,
t
){
e
.
prototype
.
getPdf
=
function
(){
var
e
=
this
.
htmlTitle
;
q
()(
document
.
querySelector
(
"#pdfDom"
),{
allowTaint
:
!
0
,
foreignObjectRendering
:
!
0
}).
then
(
function
(
t
){
var
n
=
t
.
width
,
o
=
t
.
height
,
a
=
n
/
592.28
*
841.89
,
r
=
o
,
c
=
0
,
i
=
592.28
/
n
*
o
,
s
=
t
.
toDataURL
(
"image/jpeg"
,
1
),
m
=
new
X
.
a
(
""
,
"pt"
,
"a4"
);
if
(
r
<
a
)
m
.
addImage
(
s
,
"JPEG"
,
0
,
0
,
595.28
,
i
);
else
for
(;
r
>
0
;)
m
.
addImage
(
s
,
"JPEG"
,
0
,
c
,
595.28
,
i
),
c
-=
841.89
,(
r
-=
a
)
>
0
&&
m
.
addPage
();
m
.
save
(
e
+
".pdf"
)})}}};
r
.
default
.
use
(
N
),
r
.
default
.
use
(
z
.
a
),
r
.
default
.
use
(
G
.
a
),
r
.
default
.
use
(
F
.
a
),
r
.
default
.
use
(
b
.
a
),
r
.
default
.
use
(
O
.
a
),
r
.
default
.
use
(
P
.
a
),
r
.
default
.
config
.
productionTip
=!
1
,
r
.
default
.
use
(
v
.
a
,{
size
:
"large"
}),
r
.
default
.
use
(
w
.
a
,
C
.
a
),
r
.
default
.
axios
.
defaults
.
withCredentials
=!
0
,
f
.
beforeEach
(
function
(
e
,
t
,
n
){
var
o
=
void
0
,
r
=
window
.
location
.
origin
;
o
=
"-1"
!=
r
.
indexOf
(
"localhost"
)?
"http://www.gicdev.com"
:
r
,
localStorage
.
getItem
(
"userInfo"
)
||
C
.
a
.
get
(
o
+
"/haoban-manage-web/emp/get-user-info"
,{}).
then
(
function
(
e
){
var
t
=
e
.
data
;
1
!=
t
.
errorCode
||
localStorage
.
setItem
(
"userInfo"
,
a
()(
t
.
result
))}).
catch
(
function
(
e
){
h
.
Message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})}),
"/"
==
e
.
path
?
n
({
path
:
"/login"
}):
n
()}),
new
r
.
default
({
el
:
"#app"
,
router
:
f
,
store
:
R
,
components
:{
App
:
i
},
template
:
"<App/>"
})},
Opzk
:
function
(
e
,
t
,
n
){
var
o
=
{
"./contacts/addClerk.vue"
:[
"27o1"
,
0
,
17
],
"./contacts/addDepartment.vue"
:[
"HHRu"
,
0
,
16
],
"./contacts/addEmployee.vue"
:[
"00Sv"
,
33
],
"./contacts/addGroup.vue"
:[
"mPjx"
,
0
,
31
],
"./contacts/administrativeFrame.vue"
:[
"kLcy"
,
0
,
3
],
"./contacts/employee.vue"
:[
"AdJp"
,
0
,
37
],
"./contacts/employeeIo.vue"
:[
"Rwbg"
,
0
,
27
],
"./contacts/employeeRecord.vue"
:[
"zGJY"
,
0
,
5
],
"./contacts/fileSet.vue"
:[
"CSjr"
,
0
,
6
],
"./contacts/index.vue"
:[
"41Rh"
,
0
,
29
],
"./contacts/recordInfo.vue"
:[
"67iC"
,
0
,
10
],
"./contacts/recordIo.vue"
:[
"738z"
,
0
,
18
],
"./contacts/recycle.vue"
:[
"HkK0"
,
0
,
26
],
"./contacts/shareAddDepartment.vue"
:[
"q5Ri"
,
0
,
15
],
"./contacts/shareCode.vue"
:[
"JsWW"
,
0
,
38
],
"./contacts/shareContact.vue"
:[
"Gfms"
,
0
,
2
],
"./contacts/staffRecordsTemplate.vue"
:[
"lFAe"
,
0
,
12
],
"./contacts/storeFrame.vue"
:[
"7SJI"
,
0
,
4
],
"./contacts/storeInfo.vue"
:[
"h/6A"
,
0
,
8
],
"./contacts/storeIo.vue"
:[
"RHxA"
,
0
,
40
],
"./contacts/unemployee.vue"
:[
"TGrv"
,
0
,
14
],
"./enterpriseApp/index.vue"
:[
"da9f"
,
34
],
"./errorPage/403.vue"
:[
"6XGN"
,
23
],
"./errorPage/404.vue"
:[
"AejC"
,
21
],
"./errorPage/500.vue"
:[
"FskK"
,
20
],
"./errorPage/index.vue"
:[
"ODjX"
,
1
],
"./index/index.vue"
:[
"JXTs"
,
0
,
25
],
"./login/index.vue"
:[
"T+/8"
,
0
,
7
],
"./reviewCenter/index.vue"
:[
"+lem"
,
35
],
"./reviewCenter/reviewed.vue"
:[
"CLYF"
,
0
,
13
],
"./reviewCenter/unreview.vue"
:[
"xCEU"
,
0
,
11
],
"./setting/addAdmin.vue"
:[
"rs/A"
,
0
,
36
],
"./setting/addAdminRole.vue"
:[
"fZsz"
,
0
,
22
],
"./setting/companyAddress.vue"
:[
"SKyE"
,
0
,
39
],
"./setting/companyCertify.vue"
:[
"3zYh"
,
0
,
9
],
"./setting/index.vue"
:[
"VlR1"
,
28
],
"./setting/replaceAdmin.vue"
:[
"ys9I"
,
0
,
30
],
"./setting/setChildAdmin.vue"
:[
"VqB7"
,
0
,
32
],
"./setting/staffDetails.vue"
:[
"Zyzf"
,
0
,
24
],
"./setting/storePermission.vue"
:[
"Xwfy"
,
0
,
19
]};
function
a
(
e
){
var
t
=
o
[
e
];
return
t
?
Promise
.
all
(
t
.
slice
(
1
).
map
(
n
.
e
)).
then
(
function
(){
return
n
(
t
[
0
])}):
Promise
.
reject
(
new
Error
(
"Cannot find module '"
+
e
+
"'."
))}
a
.
keys
=
function
(){
return
Object
.
keys
(
o
)},
a
.
id
=
"Opzk"
,
e
.
exports
=
a
},
Xcu2
:
function
(
e
,
t
){},
uKUT
:
function
(
e
,
t
){}},[
"NHnr"
]);
\ No newline at end of file
\ No newline at end of file
dist/static/js/manifest.
ac6d4234455f219f7a29
.js
→
dist/static/js/manifest.
2ec030fbc268a9bc85c4
.js
View file @
1d1b13ed
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
f
,
r
,
d
){
for
(
var
t
,
o
,
b
,
i
=
0
,
u
=
[];
i
<
f
.
length
;
i
++
)
o
=
f
[
i
],
a
[
o
]
&&
u
.
push
(
a
[
o
][
0
]),
a
[
o
]
=
0
;
for
(
t
in
r
)
Object
.
prototype
.
hasOwnProperty
.
call
(
r
,
t
)
&&
(
e
[
t
]
=
r
[
t
]);
for
(
c
&&
c
(
f
,
r
,
d
);
u
.
length
;)
u
.
shift
()();
if
(
d
)
for
(
i
=
0
;
i
<
d
.
length
;
i
++
)
b
=
n
(
n
.
s
=
d
[
i
]);
return
b
};
var
f
=
{},
a
=
{
44
:
0
};
function
n
(
c
){
if
(
f
[
c
])
return
f
[
c
].
exports
;
var
a
=
f
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
a
.
exports
,
a
,
a
.
exports
,
n
),
a
.
l
=!
0
,
a
.
exports
}
n
.
e
=
function
(
e
){
var
c
=
a
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
f
=
new
Promise
(
function
(
f
,
n
){
c
=
a
[
e
]
=
[
f
,
n
]});
c
[
2
]
=
f
;
var
r
=
document
.
getElementsByTagName
(
"head"
)[
0
],
d
=
document
.
createElement
(
"script"
);
d
.
type
=
"text/javascript"
,
d
.
charset
=
"utf-8"
,
d
.
async
=!
0
,
d
.
timeout
=
12
e4
,
n
.
nc
&&
d
.
setAttribute
(
"nonce"
,
n
.
nc
),
d
.
src
=
n
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"eb0a4246ba12b2f19e2a"
,
1
:
"0ebe3ead93207dc78a78"
,
2
:
"a3034ac019ab3b076959"
,
3
:
"7f87f1f60c09bb6ad371"
,
4
:
"7dd9b3bb0689b9db1cf3"
,
5
:
"3417bcae84d670c66db1"
,
6
:
"fbd06ea78358b8144d70"
,
7
:
"fb9879c0177f64d093fb"
,
8
:
"1a34bcb6afc2f082ef3a"
,
9
:
"325d932bbdd43400378c"
,
10
:
"4e361f7d71dc54b505c7"
,
11
:
"c1dd3379bc3efff4388d"
,
12
:
"083c2dea91ab829164ab"
,
13
:
"cd7e52c325cdc13a2368"
,
14
:
"c7093604e27c367303cf"
,
15
:
"bd12670087ac2b78bcd8"
,
16
:
"1524360dd522553f9835"
,
17
:
"0df740b440fad8662864"
,
18
:
"07d5abcfefbcf450eccc"
,
19
:
"2af2961d7f000936faf5"
,
20
:
"81f6c674a6461ef85896"
,
21
:
"68212dc5cb8b4a50f4fc"
,
22
:
"e803b89b6f90efd65a43"
,
23
:
"5ed1b5fd3abff19ce342"
,
24
:
"8018e4156e92e8875b3f"
,
25
:
"31f913b9e9e07552cc40"
,
26
:
"b1c31f6d9d345d8c509f"
,
27
:
"e85ffa7929197dc4609a"
,
28
:
"c75ca2dc62974c43903c"
,
29
:
"25c23e727c71fda1821b"
,
30
:
"5546948c939232668fc6"
,
31
:
"16358ad3a9085c551664"
,
32
:
"20338d6b658d38bf70dc"
,
33
:
"375e96e88f2f82b30e3c"
,
34
:
"57d4132e0ff6a5a8ac00"
,
35
:
"aed8a28b82487ff5f295"
,
36
:
"158063a49dabc462fe14"
,
37
:
"f30f4e653b1f9e708aaa"
,
38
:
"ac5ef7410309c861198f"
,
39
:
"3e612f993ddd107c14dd"
,
40
:
"f965564e0c6bf413d47f"
,
43
:
"13848f214bb993c20004"
}[
e
]
+
".js"
;
var
t
=
setTimeout
(
o
,
12
e4
);
function
o
(){
d
.
onerror
=
d
.
onload
=
null
,
clearTimeout
(
t
);
var
c
=
a
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
a
[
e
]
=
void
0
)}
return
d
.
onerror
=
d
.
onload
=
o
,
r
.
appendChild
(
d
),
f
},
n
.
m
=
e
,
n
.
c
=
f
,
n
.
d
=
function
(
e
,
c
,
f
){
n
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
f
})},
n
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
n
.
d
(
c
,
"a"
,
c
),
c
},
n
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
n
.
p
=
"./"
,
n
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
f
,
r
,
t
){
for
(
var
b
,
d
,
o
,
i
=
0
,
u
=
[];
i
<
f
.
length
;
i
++
)
d
=
f
[
i
],
a
[
d
]
&&
u
.
push
(
a
[
d
][
0
]),
a
[
d
]
=
0
;
for
(
b
in
r
)
Object
.
prototype
.
hasOwnProperty
.
call
(
r
,
b
)
&&
(
e
[
b
]
=
r
[
b
]);
for
(
c
&&
c
(
f
,
r
,
t
);
u
.
length
;)
u
.
shift
()();
if
(
t
)
for
(
i
=
0
;
i
<
t
.
length
;
i
++
)
o
=
n
(
n
.
s
=
t
[
i
]);
return
o
};
var
f
=
{},
a
=
{
44
:
0
};
function
n
(
c
){
if
(
f
[
c
])
return
f
[
c
].
exports
;
var
a
=
f
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
a
.
exports
,
a
,
a
.
exports
,
n
),
a
.
l
=!
0
,
a
.
exports
}
n
.
e
=
function
(
e
){
var
c
=
a
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
f
=
new
Promise
(
function
(
f
,
n
){
c
=
a
[
e
]
=
[
f
,
n
]});
c
[
2
]
=
f
;
var
r
=
document
.
getElementsByTagName
(
"head"
)[
0
],
t
=
document
.
createElement
(
"script"
);
t
.
type
=
"text/javascript"
,
t
.
charset
=
"utf-8"
,
t
.
async
=!
0
,
t
.
timeout
=
12
e4
,
n
.
nc
&&
t
.
setAttribute
(
"nonce"
,
n
.
nc
),
t
.
src
=
n
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"eb0a4246ba12b2f19e2a"
,
1
:
"0ebe3ead93207dc78a78"
,
2
:
"a3034ac019ab3b076959"
,
3
:
"7f87f1f60c09bb6ad371"
,
4
:
"7dd9b3bb0689b9db1cf3"
,
5
:
"3417bcae84d670c66db1"
,
6
:
"fbd06ea78358b8144d70"
,
7
:
"fb9879c0177f64d093fb"
,
8
:
"1a34bcb6afc2f082ef3a"
,
9
:
"325d932bbdd43400378c"
,
10
:
"0c1df4b546ec5e6a614b"
,
11
:
"e520fec57c7e2a952a8e"
,
12
:
"c25271c62951b988f342"
,
13
:
"60a490fd5d0e6fe747e1"
,
14
:
"74cc9b3a9d7e1bbdf26c"
,
15
:
"b13b0c9736e097a6fc38"
,
16
:
"595627f80b382a73a092"
,
17
:
"fc675433297f48540fa4"
,
18
:
"0ddca03b14efa60e12ca"
,
19
:
"5094b323ee4cf1f50bf5"
,
20
:
"81f6c674a6461ef85896"
,
21
:
"68212dc5cb8b4a50f4fc"
,
22
:
"e803b89b6f90efd65a43"
,
23
:
"5ed1b5fd3abff19ce342"
,
24
:
"8018e4156e92e8875b3f"
,
25
:
"31f913b9e9e07552cc40"
,
26
:
"b1c31f6d9d345d8c509f"
,
27
:
"e85ffa7929197dc4609a"
,
28
:
"c75ca2dc62974c43903c"
,
29
:
"25c23e727c71fda1821b"
,
30
:
"5546948c939232668fc6"
,
31
:
"16358ad3a9085c551664"
,
32
:
"20338d6b658d38bf70dc"
,
33
:
"375e96e88f2f82b30e3c"
,
34
:
"57d4132e0ff6a5a8ac00"
,
35
:
"aed8a28b82487ff5f295"
,
36
:
"158063a49dabc462fe14"
,
37
:
"f30f4e653b1f9e708aaa"
,
38
:
"ac5ef7410309c861198f"
,
39
:
"3e612f993ddd107c14dd"
,
40
:
"f965564e0c6bf413d47f"
,
43
:
"13848f214bb993c20004"
}[
e
]
+
".js"
;
var
b
=
setTimeout
(
d
,
12
e4
);
function
d
(){
t
.
onerror
=
t
.
onload
=
null
,
clearTimeout
(
b
);
var
c
=
a
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
a
[
e
]
=
void
0
)}
return
t
.
onerror
=
t
.
onload
=
d
,
r
.
appendChild
(
t
),
f
},
n
.
m
=
e
,
n
.
c
=
f
,
n
.
d
=
function
(
e
,
c
,
f
){
n
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
f
})},
n
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
n
.
d
(
c
,
"a"
,
c
),
c
},
n
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
n
.
p
=
"./"
,
n
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
\ No newline at end of file
src/components/employeeRecord/editableCell.vue
View file @
1d1b13ed
...
@@ -121,6 +121,7 @@ export default {
...
@@ -121,6 +121,7 @@ export default {
if
(
valid
)
{
if
(
valid
)
{
let
newInfo
=
deepClone
(
that
.
info
);
let
newInfo
=
deepClone
(
that
.
info
);
let
params
=
{};
let
params
=
{};
let
regFlag
=
[];
let
fieldList
=
that
.
fieldList
;
let
fieldList
=
that
.
fieldList
;
// let defineObj = JSON.parse(that.staticInfo.defineString);
// let defineObj = JSON.parse(that.staticInfo.defineString);
let
objToString
=
[];
let
objToString
=
[];
...
@@ -155,7 +156,17 @@ export default {
...
@@ -155,7 +156,17 @@ export default {
}
}
delete
params
[
field
.
fieldCode
];
delete
params
[
field
.
fieldCode
];
}
}
// 校验规则
if
(
!!
field
.
regular
&&
!!
newInfo
[
field
.
fieldCode
])
{
// console.log(field.regular.replace(/d/g,'0-9').replace(/\\0-9/g,'[0-9]'));
regFlag
.
push
(
eval
(
field
.
regular
.
replace
(
/d/g
,
'0-9'
).
replace
(
/
\\
0-9/g
,
'[0-9]'
)).
test
(
newInfo
[
field
.
fieldCode
]));
}
});
});
if
(
!!
regFlag
.
length
&&
regFlag
.
includes
(
false
))
{
that
.
$message
.
error
(
'请输入正确格式的字段值!'
);
return
false
;
}
params
[
'jsonString'
]
=
JSON
.
stringify
(
objToString
)
==
'[]'
?
''
:
JSON
.
stringify
(
objToString
);
params
[
'jsonString'
]
=
JSON
.
stringify
(
objToString
)
==
'[]'
?
''
:
JSON
.
stringify
(
objToString
);
params
[
'recordId'
]
=
that
.
$route
.
query
.
recordId
;
params
[
'recordId'
]
=
that
.
$route
.
query
.
recordId
;
that
.
submitEdit
(
params
);
that
.
submitEdit
(
params
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment