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
4f8665cd
Commit
4f8665cd
authored
Jul 01, 2019
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改员工档案打印
parent
51add6c6
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
13 additions
and
10 deletions
+13
-10
index.html
dist/index.html
+2
-2
20.b4a5dc620a54a98b319b.js
dist/static/js/20.b4a5dc620a54a98b319b.js
+2
-0
21.5a4810e8b7afc6abfb0c.js
dist/static/js/21.5a4810e8b7afc6abfb0c.js
+0
-2
21.b0e7348ff74371924c3b.js
dist/static/js/21.b0e7348ff74371924c3b.js
+2
-2
app.b03b6fcc40e15b116554.js
dist/static/js/app.b03b6fcc40e15b116554.js
+2
-2
manifest.3a9f1e5580c03ed5eee6.js
dist/static/js/manifest.3a9f1e5580c03ed5eee6.js
+2
-2
recordIo.vue
src/views/contacts/recordIo.vue
+3
-0
No files found.
dist/index.html
View file @
4f8665cd
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
好办管理平台
</title><link
href=
./static/css/app.8d3159da279c0afa9fdcce6aba142157.css
rel=
stylesheet
></head><body
style=
"min-width: 1400px;"
><div
id=
app
></div><script
src=
//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js
></script><script>
// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();
</script><script
type=
text/javascript
src=
./static/js/manifest.6ca72a097fb6f0633d5f.js
></script><script
type=
text/javascript
src=
./static/js/vendor.ccdd3a2984b37616bc62.js
></script><script
type=
text/javascript
src=
./static/js/app.3524fa940f13b0cb3bac.js
></script></body></html>
\ No newline at end of file
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
好办管理平台
</title><link
href=
./static/css/app.8d3159da279c0afa9fdcce6aba142157.css
rel=
stylesheet
></head><body
style=
"min-width: 1400px;"
><div
id=
app
></div><script
src=
//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js
></script><script>
// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();
</script><script
type=
text/javascript
src=
./static/js/manifest.3a9f1e5580c03ed5eee6.js
></script><script
type=
text/javascript
src=
./static/js/vendor.ccdd3a2984b37616bc62.js
></script><script
type=
text/javascript
src=
./static/js/app.b03b6fcc40e15b116554.js
></script></body></html>
\ No newline at end of file
dist/static/js/20.b4a5dc620a54a98b319b.js
0 → 100644
View file @
4f8665cd
webpackJsonp
([
20
],{
"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
:
"/fileSet"
},{
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
.
name
.
lastIndexOf
(
"."
);
if
(
e
<
0
)
return
this
.
$message
.
error
(
"文件格式不正确!"
),
!
1
;
console
.
log
(
t
,
e
);
var
i
=
t
.
name
.
substring
(
e
+
1
,
t
.
name
.
length
),
a
=
i
.
includes
(
"xls"
)
||
i
.
includes
(
"xlsx"
);
return
console
.
log
(
i
,
a
),
a
||
this
.
$message
.
error
(
"文件格式必须为 xls 或 xlsx 格式!"
),
a
},
uploadSuccess
:
function
(
t
,
e
){
this
.
fileList
=
[],
1
==
t
.
errorCode
?
this
.
$message
({
message
:
t
.
message
,
type
:
"success"
}):
this
.
$message
.
error
(
t
.
message
)},
submitUpload
:
function
(
t
){
this
.
$refs
[
t
].
submit
()},
getChange
:
function
(
t
,
e
){
var
i
=
e
.
length
-
1
<
0
?
0
:
e
.
length
-
1
,
a
=
t
.
type
?
t
.
type
:
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"
}},
r
=
{
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
:
"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"
},[
t
.
_m
(
1
),
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 "
)])])},
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"tip"
},[
this
.
_v
(
"导入总条数:0条,成功导入0条,"
),
e
(
"span"
,{
staticClass
:
"red"
},[
this
.
_v
(
"错误导入0条"
)])])}]};
var
c
=
i
(
"VU/8"
)(
l
,
r
,
!
1
,
function
(
t
){
i
(
"8E45"
)},
null
,
null
);
e
.
default
=
c
.
exports
},
"8E45"
:
function
(
t
,
e
){},
J8vX
:
function
(
t
,
e
){},
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
()}},
r
=
{
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
}},[
i
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai p-r-6"
}),
t
.
_v
(
"导出"
)]),
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
c
=
i
(
"VU/8"
)(
l
,
r
,
!
1
,
function
(
t
){
i
(
"J8vX"
)},
null
,
null
);
e
.
a
=
c
.
exports
}});
\ No newline at end of file
dist/static/js/21.5a4810e8b7afc6abfb0c.js
deleted
100644 → 0
View file @
51add6c6
webpackJsonp
([
21
],{
"738z"
:
function
(
t
,
e
,
i
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
i
(
"3Xzz"
),
s
=
i
(
"elmV"
),
n
=
i
(
"P9l9"
),
o
=
i
(
"O3H5"
),
l
=
{
name
:
"employee-io"
,
components
:{
navCrumb
:
a
.
a
,
uploadExcelComponent
:
s
.
a
,
exportSet
:
o
.
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
:
"/fileSet"
},{
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
(
n
.
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
.
name
.
lastIndexOf
(
"."
);
if
(
e
<
0
)
return
this
.
$message
.
error
(
"文件格式不正确!"
),
!
1
;
var
i
=
t
.
name
.
substring
(
e
+
1
,
t
.
name
.
length
),
a
=
i
.
includes
(
"xls"
)
||
i
.
includes
(
"xlsx"
);
return
a
||
this
.
$message
.
error
(
"文件格式必须为 xls 或 xlsx 格式!"
),
a
},
uploadSuccess
:
function
(
t
,
e
){
this
.
fileList
=
[],
1
==
t
.
errorCode
?
this
.
$message
({
message
:
t
.
message
,
type
:
"success"
}):
this
.
$message
.
error
(
t
.
message
)},
submitUpload
:
function
(
t
){
this
.
$refs
[
t
].
submit
()},
getChange
:
function
(
t
,
e
){
var
i
=
e
.
length
-
1
<
0
?
0
:
e
.
length
-
1
,
a
=
t
.
type
?
t
.
type
:
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"
}},
r
=
{
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
:
"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"
},[
t
.
_m
(
1
),
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 "
)])])},
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"tip"
},[
this
.
_v
(
"导入总条数:0条,成功导入0条,"
),
e
(
"span"
,{
staticClass
:
"red"
},[
this
.
_v
(
"错误导入0条"
)])])}]};
var
c
=
i
(
"VU/8"
)(
l
,
r
,
!
1
,
function
(
t
){
i
(
"9++b"
)},
null
,
null
);
e
.
default
=
c
.
exports
},
"9++b"
:
function
(
t
,
e
){},
J8vX
:
function
(
t
,
e
){},
O3H5
:
function
(
t
,
e
,
i
){
"use strict"
;
var
a
=
i
(
"mvHQ"
),
s
=
i
.
n
(
a
),
n
=
i
(
"P9l9"
),
o
=
i
(
"DAYN"
),
l
=
{
name
:
"export-set"
,
components
:{
draggable
:
i
.
n
(
o
).
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
(
n
.
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
()}},
r
=
{
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
}},[
i
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai p-r-6"
}),
t
.
_v
(
"导出"
)]),
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
c
=
i
(
"VU/8"
)(
l
,
r
,
!
1
,
function
(
t
){
i
(
"J8vX"
)},
null
,
null
);
e
.
a
=
c
.
exports
}});
\ No newline at end of file
dist/static/js/2
0.d5bc42e9568015f2689e
.js
→
dist/static/js/2
1.b0e7348ff74371924c3b
.js
View file @
4f8665cd
webpackJsonp
([
20
],{
SxZy
:
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
?
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
?
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
(
"gvjp"
)},
null
,
null
).
exports
,
f
=
r
(
"c4uw"
),
v
=
r
(
"Ie7z"
),
g
=
r
(
"3E4D"
),
b
=
r
(
"Ch4/"
),
S
=
r
(
"PI0u"
),
C
=
r
(
"P9l9"
),
k
=
{
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
(
S
.
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
:
"请选择指定部门/人员"
})})},
400
),
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
.
e
)(
"/haoban-manage-web/brand/saveStoreAuth"
,
a
).
then
(
function
(
e
){
var
r
=
e
.
data
;
if
(
1
==
r
.
errorCode
)
return
2
==
t
&&
g
.
a
.
showmsg
(
"保存成功"
,
"success"
),
!
1
;
b
.
a
.
errorMsg
(
r
)}).
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
.
e
)(
"/haoban-manage-web/dept/deptListForCompany"
,{}).
then
(
function
(
e
){
var
r
=
e
.
data
;
if
(
1
!=
r
.
errorCode
)
b
.
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
}},
w
=
{
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
)],
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
y
=
r
(
"VU/8"
)(
k
,
w
,
!
1
,
function
(
e
){
r
(
"SxZy"
)},
"data-v-194844d0"
,
null
).
exports
,
A
=
{
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
:{
toStoreAdd
:
function
(){
this
.
$router
.
push
(
"/storeFrame"
)},
handleClick
:
function
(
e
,
t
){
this
.
getStoreAuth
(
e
.
name
,
n
()(
e
.
index
)),
this
.
activeName
=
e
.
name
},
saveSwitch
:
Object
(
S
.
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
),
saveAll
:
Object
(
S
.
a
)(
function
(){
var
e
=
this
;
if
(
3
==
e
.
$refs
.
clerkPermiss
.
ruleForm
.
radio
&&!
e
.
$refs
.
clerkPermiss
.
ruleForm
.
visibleAll
.
length
&&!
e
.
$refs
.
clerkPermiss
.
ruleForm
.
visibleStoreAll
.
length
)
return
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择指定部门/人员"
}),
!
1
;
if
(
3
==
e
.
$refs
.
clerkManagePermiss
.
ruleForm
.
radio
&&!
e
.
$refs
.
clerkManagePermiss
.
ruleForm
.
visibleAll
.
length
&&!
e
.
$refs
.
clerkManagePermiss
.
ruleForm
.
visibleStoreAll
.
length
)
return
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择指定部门/人员"
}),
!
1
;
e
.
$refs
.
clerkPermiss
.
submitForm
(
"ruleForm"
);
var
t
=
setTimeout
(
function
(){
e
.
$refs
.
clerkManagePermiss
.
submitForm
(
"ruleForm"
),
clearTimeout
(
t
)},
500
)},
500
),
setStoreAuth
:
function
(
e
){
var
t
=
this
,
r
=
{
brandId
:
e
.
brandId
,
groupId
:
t
.
activeName
,
addStoreClerkCheck
:
e
.
addStoreClerkCheck
,
deleteStoreClerkCheck
:
e
.
deleteStoreClerkCheck
,
storeInformationChangeCheck
:
e
.
storeInformationChangeCheck
};
Object
(
C
.
e
)(
"/haoban-manage-web/brand/saveStoreAuth"
,
r
).
then
(
function
(
e
){
var
t
=
e
.
data
;
1
!=
t
.
errorCode
?
b
.
a
.
errorMsg
(
t
):
g
.
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
.
e
)(
"/haoban-manage-web/brand/storeAuth"
,
a
).
then
(
function
(
e
){
var
t
=
e
.
data
;
if
(
1
!=
t
.
errorCode
)
b
.
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
.
e
)(
"/haoban-manage-web/brand/list"
,{}).
then
(
function
(
t
){
var
r
=
t
.
data
;
1
!=
r
.
errorCode
?
b
.
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
:
y
}},
I
=
{
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
(
" "
),
e
.
brandList
.
length
?
r
(
"div"
,{
staticClass
:
"bg-fff permiss-contain"
},[
r
(
"set-permiss"
,{
ref
:
"clerkPermiss"
,
attrs
:{
permType
:
1
,
authData
:
e
.
brandList
.
clerkData
}}),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"b-l"
}),
e
.
_v
(
" "
),
r
(
"set-permiss"
,{
ref
:
"clerkManagePermiss"
,
attrs
:{
permType
:
2
,
authData
:
e
.
brandList
.
managerData
}}),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"switch-cell p-l-110 m-t-15"
},[
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
saveAll
}},[
e
.
_v
(
"保 存"
)])],
1
)],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
brandList
.
length
?
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"
},[
r
(
"el-switch"
,{
attrs
:{
"inactive-text"
:
e
.
switchList
.
modName
},
model
:{
value
:
e
.
switchList
.
storeInformationChangeCheck
,
callback
:
function
(
t
){
e
.
$set
(
e
.
switchList
,
"storeInformationChangeCheck"
,
t
)},
expression
:
"switchList.storeInformationChangeCheck"
}})],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"switch-cell p-l-94"
},[
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
saveSwitch
}},[
e
.
_v
(
"保 存"
)])],
1
)])]):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
brandList
.
length
?
e
.
_e
():
r
(
"div"
,{
staticClass
:
"no-brand-content p-20 bg-fff text-center p-t-185"
},[
r
(
"p"
,{
staticClass
:
"font-14 color-909399 m-b-10"
},[
e
.
_v
(
"请创建品牌后进行门店权限设置"
)]),
e
.
_v
(
" "
),
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
toStoreAdd
}},[
e
.
_v
(
"马上新建品牌"
)])],
1
)],
1
)]),
e
.
_v
(
" "
),
r
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
F
=
r
(
"VU/8"
)(
A
,
I
,
!
1
,
function
(
e
){
r
(
"y3Ol"
)},
"data-v-5775d876"
,
null
);
t
.
default
=
F
.
exports
},
gvjp
:
function
(
e
,
t
){},
y3Ol
:
function
(
e
,
t
){}});
\ No newline at end of file
webpackJsonp
([
21
],{
SxZy
:
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
?
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
?
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
(
"gvjp"
)},
null
,
null
).
exports
,
f
=
r
(
"c4uw"
),
v
=
r
(
"Ie7z"
),
g
=
r
(
"3E4D"
),
b
=
r
(
"Ch4/"
),
S
=
r
(
"PI0u"
),
C
=
r
(
"P9l9"
),
k
=
{
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
(
S
.
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
:
"请选择指定部门/人员"
})})},
400
),
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
.
e
)(
"/haoban-manage-web/brand/saveStoreAuth"
,
a
).
then
(
function
(
e
){
var
r
=
e
.
data
;
if
(
1
==
r
.
errorCode
)
return
2
==
t
&&
g
.
a
.
showmsg
(
"保存成功"
,
"success"
),
!
1
;
b
.
a
.
errorMsg
(
r
)}).
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
.
e
)(
"/haoban-manage-web/dept/deptListForCompany"
,{}).
then
(
function
(
e
){
var
r
=
e
.
data
;
if
(
1
!=
r
.
errorCode
)
b
.
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
}},
w
=
{
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
)],
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
y
=
r
(
"VU/8"
)(
k
,
w
,
!
1
,
function
(
e
){
r
(
"SxZy"
)},
"data-v-194844d0"
,
null
).
exports
,
A
=
{
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
:{
toStoreAdd
:
function
(){
this
.
$router
.
push
(
"/storeFrame"
)},
handleClick
:
function
(
e
,
t
){
this
.
getStoreAuth
(
e
.
name
,
n
()(
e
.
index
)),
this
.
activeName
=
e
.
name
},
saveSwitch
:
Object
(
S
.
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
),
saveAll
:
Object
(
S
.
a
)(
function
(){
var
e
=
this
;
if
(
3
==
e
.
$refs
.
clerkPermiss
.
ruleForm
.
radio
&&!
e
.
$refs
.
clerkPermiss
.
ruleForm
.
visibleAll
.
length
&&!
e
.
$refs
.
clerkPermiss
.
ruleForm
.
visibleStoreAll
.
length
)
return
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择指定部门/人员"
}),
!
1
;
if
(
3
==
e
.
$refs
.
clerkManagePermiss
.
ruleForm
.
radio
&&!
e
.
$refs
.
clerkManagePermiss
.
ruleForm
.
visibleAll
.
length
&&!
e
.
$refs
.
clerkManagePermiss
.
ruleForm
.
visibleStoreAll
.
length
)
return
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择指定部门/人员"
}),
!
1
;
e
.
$refs
.
clerkPermiss
.
submitForm
(
"ruleForm"
);
var
t
=
setTimeout
(
function
(){
e
.
$refs
.
clerkManagePermiss
.
submitForm
(
"ruleForm"
),
clearTimeout
(
t
)},
500
)},
500
),
setStoreAuth
:
function
(
e
){
var
t
=
this
,
r
=
{
brandId
:
e
.
brandId
,
groupId
:
t
.
activeName
,
addStoreClerkCheck
:
e
.
addStoreClerkCheck
,
deleteStoreClerkCheck
:
e
.
deleteStoreClerkCheck
,
storeInformationChangeCheck
:
e
.
storeInformationChangeCheck
};
Object
(
C
.
e
)(
"/haoban-manage-web/brand/saveStoreAuth"
,
r
).
then
(
function
(
e
){
var
t
=
e
.
data
;
1
!=
t
.
errorCode
?
b
.
a
.
errorMsg
(
t
):
g
.
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
.
e
)(
"/haoban-manage-web/brand/storeAuth"
,
a
).
then
(
function
(
e
){
var
t
=
e
.
data
;
if
(
1
!=
t
.
errorCode
)
b
.
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
.
e
)(
"/haoban-manage-web/brand/list"
,{}).
then
(
function
(
t
){
var
r
=
t
.
data
;
1
!=
r
.
errorCode
?
b
.
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
:
y
}},
I
=
{
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
(
" "
),
e
.
brandList
.
length
?
r
(
"div"
,{
staticClass
:
"bg-fff permiss-contain"
},[
r
(
"set-permiss"
,{
ref
:
"clerkPermiss"
,
attrs
:{
permType
:
1
,
authData
:
e
.
brandList
.
clerkData
}}),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"b-l"
}),
e
.
_v
(
" "
),
r
(
"set-permiss"
,{
ref
:
"clerkManagePermiss"
,
attrs
:{
permType
:
2
,
authData
:
e
.
brandList
.
managerData
}}),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"switch-cell p-l-110 m-t-15"
},[
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
saveAll
}},[
e
.
_v
(
"保 存"
)])],
1
)],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
brandList
.
length
?
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"
},[
r
(
"el-switch"
,{
attrs
:{
"inactive-text"
:
e
.
switchList
.
modName
},
model
:{
value
:
e
.
switchList
.
storeInformationChangeCheck
,
callback
:
function
(
t
){
e
.
$set
(
e
.
switchList
,
"storeInformationChangeCheck"
,
t
)},
expression
:
"switchList.storeInformationChangeCheck"
}})],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"switch-cell p-l-94"
},[
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
saveSwitch
}},[
e
.
_v
(
"保 存"
)])],
1
)])]):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
brandList
.
length
?
e
.
_e
():
r
(
"div"
,{
staticClass
:
"no-brand-content p-20 bg-fff text-center p-t-185"
},[
r
(
"p"
,{
staticClass
:
"font-14 color-909399 m-b-10"
},[
e
.
_v
(
"请创建品牌后进行门店权限设置"
)]),
e
.
_v
(
" "
),
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
toStoreAdd
}},[
e
.
_v
(
"马上新建品牌"
)])],
1
)],
1
)]),
e
.
_v
(
" "
),
r
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
F
=
r
(
"VU/8"
)(
A
,
I
,
!
1
,
function
(
e
){
r
(
"y3Ol"
)},
"data-v-5775d876"
,
null
);
t
.
default
=
F
.
exports
},
gvjp
:
function
(
e
,
t
){},
y3Ol
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/app.
3524fa940f13b0cb3bac
.js
→
dist/static/js/app.
b03b6fcc40e15b116554
.js
View file @
4f8665cd
webpackJsonp
([
79
],{
"/NA0"
:
function
(
e
,
t
){},
0
:
function
(
e
,
t
,
n
){
n
(
"j1ja"
),
e
.
exports
=
n
(
"NHnr"
)},
"4qCZ"
:
function
(
e
,
t
){},
"5tgt"
:
function
(
e
,
t
,
n
){
e
.
exports
=
function
(
e
,
t
){
return
function
(
a
){
n
(
"Opzk"
)(
"./"
+
e
+
"/"
+
t
+
".vue"
).
then
(
function
(
e
){
a
(
e
)})}}},
NHnr
:
function
(
e
,
t
,
n
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
n
(
"mvHQ"
),
o
=
n
.
n
(
a
),
p
=
(
n
(
"j1ja"
),
n
(
"hKoQ"
)),
r
=
n
.
n
(
p
),
i
=
{
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
s
=
n
(
"VU/8"
)({
name
:
"App"
,
data
:
function
(){
return
{}}},
i
,
!
1
,
function
(
e
){
n
(
"/NA0"
)},
null
,
null
).
exports
,
c
=
n
(
"lRwf"
),
m
=
n
.
n
(
c
),
d
=
n
(
"pRNm"
),
u
=
n
.
n
(
d
),
l
=
n
(
"5tgt"
),
v
=
n
.
n
(
l
);
m
.
a
.
use
(
u
.
a
);
var
h
=
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
A
,
f
=
[{
path
:
"/"
,
name
:
"/"
,
redirect
:
"login"
},{
path
:
"/login"
,
name
:
"登录"
,
component
:
v
()(
"login"
,
"index"
)},{
path
:
"/download"
,
name
:
"下载"
,
component
:
v
()(
"download"
,
"index"
)},{
path
:
"/index"
,
name
:
"index"
,
component
:
v
()(
"index"
,
"index"
)},{
path
:
"/sign"
,
name
:
"index"
,
component
:
v
()(
"sign"
,
"index"
)},{
path
:
"/contacts"
,
name
:
"通讯录"
,
redirect
:
"administrativeFrame"
,
component
:
v
()(
"contacts"
,
"index"
),
children
:[{
path
:
"/administrativeFrame"
,
name
:
"行政架构"
,
component
:
v
()(
"contacts"
,
"administrativeFrame"
)},{
path
:
"/employeeIo"
,
name
:
"批量导入/导出"
,
component
:
v
()(
"contacts"
,
"employeeIo"
)},{
path
:
"/addDepartment"
,
name
:
"添加部门"
,
component
:
v
()(
"contacts"
,
"addDepartment"
)},{
path
:
"/addClerk"
,
name
:
"添加店员"
,
component
:
v
()(
"contacts"
,
"addClerk"
)},{
path
:
"/storeFrame"
,
name
:
"门店架构"
,
component
:
v
()(
"contacts"
,
"storeFrame"
)},{
path
:
"/addGroup"
,
name
:
"添加子分组"
,
component
:
v
()(
"contacts"
,
"addGroup"
)},{
path
:
"/storeIo"
,
name
:
"门店导入/导出"
,
component
:
v
()(
"contacts"
,
"storeIo"
)},{
path
:
"/storeInfo"
,
name
:
"编辑门店"
,
component
:
v
()(
"contacts"
,
"storeInfo"
)},{
path
:
"/recycle"
,
name
:
"门店回收站"
,
component
:
v
()(
"contacts"
,
"recycle"
)},{
path
:
"/employee"
,
name
:
"编辑员工"
,
component
:
v
()(
"contacts"
,
"employee"
)},{
path
:
"/unemployee"
,
name
:
"离职员工"
,
component
:
v
()(
"contacts"
,
"unemployee"
)},{
path
:
"/fileSet"
,
name
:
"档案设置"
,
component
:
v
()(
"contacts"
,
"fileSet"
)},{
path
:
"/recordInfo"
,
name
:
"编辑员工信息"
,
component
:
v
()(
"contacts"
,
"recordInfo"
)},{
path
:
"/recordIo"
,
name
:
"导入导出员工档案"
,
component
:
v
()(
"contacts"
,
"recordIo"
)},{
path
:
"/shareContact"
,
name
:
"共享通讯录"
,
component
:
v
()(
"contacts"
,
"shareContact"
)},{
path
:
"/shareCode"
,
name
:
"共享通讯录二维码"
,
component
:
v
()(
"contacts"
,
"shareCode"
)},{
path
:
"/employeeRecord"
,
name
:
"在职员工"
,
component
:
v
()(
"contacts"
,
"employeeRecord"
)}]},{
path
:
"/enterpriseApp"
,
name
:
"企业应用"
,
redirect
:
"appcenter"
,
component
:
v
()(
"enterpriseApp"
,
"index"
),
children
:[{
path
:
"/appcenter"
,
name
:
"企业应用中心"
,
component
:
v
()(
"enterpriseApp"
,
"appcenter"
)},{
path
:
"/mycustomer"
,
name
:
"我的顾客"
,
component
:
v
()(
"enterpriseApp"
,
"mycustomer"
)},{
path
:
"/cloudDaily"
,
name
:
"云日报"
,
redirect
:
"/dailyRecord"
,
component
:
v
()(
"enterpriseApp/cloudDaily"
,
"index"
),
children
:[{
path
:
"/dailyRecord"
,
name
:
"云日报记录"
,
component
:
v
()(
"enterpriseApp/cloudDaily"
,
"dailyRecord"
)},{
path
:
"/dailyDetail"
,
name
:
"日报详情"
,
component
:
v
()(
"enterpriseApp/cloudDaily"
,
"dailyDetail"
)},{
path
:
"/taskAssign"
,
name
:
"任务下发设置"
,
component
:
v
()(
"enterpriseApp/cloudDaily"
,
"taskAssign"
)},{
path
:
"/systemReport"
,
name
:
"系统报表"
,
component
:
v
()(
"enterpriseApp/cloudDaily"
,
"systemReport"
)},{
path
:
"/customReport"
,
name
:
"自定义报表"
,
component
:
v
()(
"enterpriseApp/cloudDaily"
,
"customReport"
)}]},{
path
:
"/trafficTask"
,
name
:
"话务任务"
,
redirect
:
"/taskRecord"
,
component
:
v
()(
"enterpriseApp/trafficTask"
,
"index"
),
children
:[{
path
:
"/taskRecord"
,
name
:
"话务任务记录"
,
component
:
v
()(
"enterpriseApp/trafficTask"
,
"taskRecord"
)},{
path
:
"/taskDetail"
,
name
:
"话务任务详情"
,
component
:
v
()(
"enterpriseApp/trafficTask"
,
"taskDetail"
)},{
path
:
"/trafficTaskSet"
,
name
:
"话务任务设置"
,
component
:
v
()(
"enterpriseApp/trafficTask"
,
"trafficTaskSet"
)},{
path
:
"/badEvaluateSet"
,
name
:
"不良评价设置"
,
component
:
v
()(
"enterpriseApp/badEvaluate"
,
"badEvaluateSet"
)}]},{
path
:
"/noticeList"
,
name
:
"企业公告"
,
redirect
:
"/noticeList"
,
component
:
v
()(
"enterpriseApp/notice"
,
"index"
),
children
:[{
path
:
"/noticeList"
,
name
:
"企业公告列表"
,
component
:
v
()(
"enterpriseApp/notice"
,
"noticeList"
)},{
path
:
"/addNotice"
,
name
:
"新建公告"
,
component
:
v
()(
"enterpriseApp/notice"
,
"addNotice"
)}]},{
path
:
"/badEvaluate"
,
name
:
"不良评价"
,
redirect
:
"/badEvaluateRecord"
,
component
:
v
()(
"enterpriseApp/badEvaluate"
,
"index"
),
children
:[{
path
:
"/badEvaluateRecord"
,
name
:
"不良评价记录"
,
component
:
v
()(
"enterpriseApp/badEvaluate"
,
"badEvaluateRecord"
)},{
path
:
"/badEvaluateDetail"
,
name
:
"不良评价详情"
,
component
:
v
()(
"enterpriseApp/badEvaluate"
,
"badEvaluateDetail"
)}]},{
path
:
"/quota"
,
name
:
"指标管理"
,
redirect
:
"/monthList"
,
component
:
v
()(
"enterpriseApp/quota"
,
"index"
),
children
:[{
path
:
"/monthList"
,
name
:
"月指标列表"
,
component
:
v
()(
"enterpriseApp/quota"
,
"monthList"
)},{
path
:
"/storeMonthTask"
,
name
:
"门店月指标"
,
component
:
v
()(
"enterpriseApp/quota"
,
"storeMonthTask"
)},{
path
:
"/salerMonthDetail"
,
name
:
"导购月指标详情"
,
component
:
v
()(
"enterpriseApp/quota"
,
"salerMonthDetail"
)},{
path
:
"/companyDaySet"
,
name
:
"商户日权重"
,
component
:
v
()(
"enterpriseApp/quota"
,
"companyDaySet"
)},{
path
:
"/monthTask"
,
name
:
"月指标任务"
,
component
:
v
()(
"enterpriseApp/quota"
,
"monthTask"
),
meta
:{
keepAlive
:
!
0
}},{
path
:
"/monthTaskDetail"
,
name
:
"月指标任务详情"
,
component
:
v
()(
"enterpriseApp/quota"
,
"monthTaskDetail"
),
meta
:{
keepAlive
:
!
0
}}]},{
path
:
"/signList"
,
name
:
"企业公告"
,
redirect
:
"/signList"
,
component
:
v
()(
"enterpriseApp/signApp"
,
"index"
),
children
:[{
path
:
"/signList"
,
name
:
"企业公告列表"
,
component
:
v
()(
"enterpriseApp/signApp"
,
"signList"
)}]}]},{
path
:
"/reviewCenter"
,
name
:
"审核中心"
,
redirect
:
"unreview"
,
component
:
v
()(
"reviewCenter"
,
"index"
),
children
:[{
path
:
"/reviewed"
,
name
:
"已审核"
,
component
:
v
()(
"reviewCenter"
,
"reviewed"
)},{
path
:
"/unreview"
,
name
:
"未审核"
,
component
:
v
()(
"reviewCenter"
,
"unreview"
)}]},{
path
:
"/setCenter"
,
name
:
"设置"
,
redirect
:
"companyAddress"
,
component
:
v
()(
"setting"
,
"index"
),
children
:[{
path
:
"/companyAddress"
,
name
:
"企业地址"
,
component
:
v
()(
"setting"
,
"companyAddress"
)},{
path
:
"/companyCertify"
,
name
:
"企业认证"
,
component
:
v
()(
"setting"
,
"companyCertify"
)},{
path
:
"/staffDetails"
,
name
:
"员工详情字段"
,
component
:
v
()(
"setting"
,
"staffDetails"
)},{
path
:
"/storePermission"
,
name
:
"门店权限设置"
,
component
:
v
()(
"setting"
,
"storePermission"
)},{
path
:
"/replaceAdmin"
,
name
:
"更换超级管理员"
,
component
:
v
()(
"setting"
,
"replaceAdmin"
)},{
path
:
"/setChildAdmin"
,
name
:
"设置子管理员"
,
component
:
v
()(
"setting"
,
"setChildAdmin"
)},{
path
:
"/addAdmin"
,
name
:
"添加管理员"
,
component
:
v
()(
"setting"
,
"addAdmin"
)},{
path
:
"/addAdminRole"
,
name
:
"添加管理员角色"
,
component
:
v
()(
"setting"
,
"addAdminRole"
)}]},{
path
:
"/staffRecordsTemplate"
,
name
:
"员工档案设置"
,
component
:
v
()(
"contacts"
,
"staffRecordsTemplate"
)},{
path
:
"/systemReportSet"
,
name
:
"系统报表设置"
,
component
:
v
()(
"enterpriseApp/cloudDaily"
,
"systemReportSet"
)},{
path
:
"/template"
,
name
:
"模板设置"
,
component
:
v
()(
"enterpriseApp/cloudDaily"
,
"template"
)},{
path
:
"/403"
,
name
:
"无权访问"
,
component
:
h
},{
path
:
"/404"
,
name
:
"error404"
,
component
:
h
},{
path
:
"/500"
,
name
:
"error500"
,
component
:
h
},{
path
:
"*"
,
redirect
:
"/404"
,
hidden
:
!
0
}],
y
=
new
u
.
a
({
routes
:
f
,
scrollBehavior
:
function
(){
return
{
y
:
0
}}}),
g
=
n
(
"zL8q"
),
k
=
n
.
n
(
g
),
D
=
n
(
"Rf8U"
),
x
=
n
.
n
(
D
),
R
=
n
(
"mtWM"
),
w
=
n
.
n
(
R
),
C
=
n
(
"bOdI"
),
b
=
n
.
n
(
C
),
I
=
n
(
"SJI6"
),
T
=
n
.
n
(
I
);
m
.
a
.
use
(
T
.
a
);
var
E
=
new
T
.
a
.
Store
({
state
:{
user
:{},
token
:
null
,
title
:
""
,
show
:
!
1
,
bgHeight
:
window
.
screen
.
availHeight
-
440
-
24
+
"px"
},
mutations
:(
A
=
{},
b
()(
A
,
"login"
,
function
(
e
,
t
){
sessionStorage
.
token
=
t
,
e
.
token
=
t
}),
b
()(
A
,
"logout"
,
function
(
e
){
sessionStorage
.
removeItem
(
"token"
),
e
.
token
=
null
}),
b
()(
A
,
"title"
,
function
(
e
,
t
){
e
.
title
=
t
}),
b
()(
A
,
"show"
,
function
(
e
,
t
){
e
.
show
=
t
}),
A
)}),
S
=
(
n
(
"4qCZ"
),
n
(
"uKUT"
),
n
(
"Xcu2"
),
n
(
"TUaa"
)),
q
=
n
.
n
(
S
),
V
=
n
(
"tyqE"
),
L
=
n
.
n
(
V
),
P
=
n
(
"pRVe"
),
j
=
n
.
n
(
P
),
F
=
n
(
"SE7k"
),
G
=
n
.
n
(
F
),
N
=
n
(
"XsK6"
),
O
=
n
.
n
(
N
),
K
=
n
(
"QRL9"
),
z
=
n
.
n
(
K
),
H
=
n
(
"2Pnh"
),
J
=
n
.
n
(
H
),
M
=
n
(
"l9mu"
),
U
=
n
.
n
(
M
),
X
=
{
install
:
function
(
e
,
t
){
e
.
prototype
.
getPdf
=
function
(){
var
e
=
this
.
htmlTitle
;
J
()(
document
.
querySelector
(
"#pdfDom"
),{
allowTaint
:
!
0
,
foreignObjectRendering
:
!
0
}).
then
(
function
(
t
){
var
n
=
t
.
width
,
a
=
t
.
height
,
o
=
n
/
592.28
*
841.89
,
p
=
a
,
r
=
0
,
i
=
592.28
/
n
*
a
,
s
=
t
.
toDataURL
(
"image/jpeg"
,
1
),
c
=
new
U
.
a
(
""
,
"pt"
,
"a4"
);
if
(
p
<
o
)
c
.
addImage
(
s
,
"JPEG"
,
0
,
0
,
595.28
,
i
);
else
for
(;
p
>
0
;)
c
.
addImage
(
s
,
"JPEG"
,
0
,
r
,
595.28
,
i
),
r
-=
841.89
,(
p
-=
o
)
>
0
&&
c
.
addPage
();
c
.
save
(
e
+
".pdf"
)})}}};
r
.
a
.
polyfill
(),
Vue
.
use
(
X
),
Vue
.
use
(
O
.
a
),
Vue
.
use
(
z
.
a
),
Vue
.
use
(
G
.
a
),
Vue
.
use
(
j
.
a
),
Vue
.
use
(
L
.
a
),
Vue
.
use
(
q
.
a
),
Vue
.
config
.
productionTip
=!
1
,
Vue
.
use
(
k
.
a
,{
size
:
"large"
}),
Vue
.
use
(
x
.
a
,
w
.
a
),
Vue
.
axios
.
defaults
.
withCredentials
=!
0
,
y
.
beforeEach
(
function
(
e
,
t
,
n
){
var
a
=
void
0
,
p
=
window
.
location
.
origin
;
a
=-
1
!=
p
.
indexOf
(
"localhost"
)?
"http://www.gicdev.com"
:
p
,
localStorage
.
getItem
(
"userInfo"
)
||
w
.
a
.
get
(
a
+
"/haoban-manage-web/emp/get-user-info"
,{}).
then
(
function
(
e
){
var
t
=
e
.
data
;
1
!=
t
.
errorCode
||
localStorage
.
setItem
(
"userInfo"
,
o
()(
t
.
result
))}).
catch
(
function
(
e
){
g
.
Message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})}),
"/"
==
e
.
path
?
n
({
path
:
"/login"
}):
n
()}),
new
Vue
({
el
:
"#app"
,
router
:
y
,
store
:
E
,
components
:{
App
:
s
},
template
:
"<App/>"
})},
Opzk
:
function
(
e
,
t
,
n
){
var
a
=
{
"./contacts/addClerk.vue"
:[
"27o1"
,
0
,
18
],
"./contacts/addDepartment.vue"
:[
"HHRu"
,
0
,
16
],
"./contacts/addEmployee.vue"
:[
"00Sv"
,
48
],
"./contacts/addGroup.vue"
:[
"mPjx"
,
0
,
77
],
"./contacts/administrativeFrame.vue"
:[
"kLcy"
,
0
,
4
],
"./contacts/employee.vue"
:[
"AdJp"
,
0
,
40
],
"./contacts/employeeIo.vue"
:[
"Rwbg"
,
0
,
50
],
"./contacts/employeeRecord.vue"
:[
"zGJY"
,
0
,
8
],
"./contacts/fileSet.vue"
:[
"CSjr"
,
0
,
11
],
"./contacts/index.vue"
:[
"41Rh"
,
0
,
75
],
"./contacts/recordInfo.vue"
:[
"67iC"
,
0
,
13
],
"./contacts/recordIo.vue"
:[
"738z"
,
0
,
21
],
"./contacts/recycle.vue"
:[
"HkK0"
,
0
,
26
],
"./contacts/shareAddDepartment.vue"
:[
"q5Ri"
,
0
,
15
],
"./contacts/shareCode.vue"
:[
"JsWW"
,
0
,
66
],
"./contacts/shareContact.vue"
:[
"Gfms"
,
0
,
2
],
"./contacts/staffRecordsTemplate.vue"
:[
"lFAe"
,
0
,
76
],
"./contacts/storeFrame.vue"
:[
"7SJI"
,
0
,
6
],
"./contacts/storeInfo.vue"
:[
"h/6A"
,
0
,
34
],
"./contacts/storeIo.vue"
:[
"RHxA"
,
0
,
49
],
"./contacts/unemployee.vue"
:[
"TGrv"
,
0
,
14
],
"./download/index.vue"
:[
"ASGJ"
,
0
,
9
],
"./enterpriseApp/appcenter.vue"
:[
"yuVF"
,
0
,
29
],
"./enterpriseApp/badEvaluate/badEvaluateDetail.vue"
:[
"4m/B"
,
0
,
32
],
"./enterpriseApp/badEvaluate/badEvaluateRecord.vue"
:[
"r//C"
,
0
,
60
],
"./enterpriseApp/badEvaluate/badEvaluateSet.vue"
:[
"XzAK"
,
0
,
70
],
"./enterpriseApp/badEvaluate/index.vue"
:[
"W0k8"
,
0
,
37
],
"./enterpriseApp/cloudDaily/customReport.vue"
:[
"DxdI"
,
0
,
38
],
"./enterpriseApp/cloudDaily/dailyDetail.vue"
:[
"5nNU"
,
0
,
30
],
"./enterpriseApp/cloudDaily/dailyRecord.vue"
:[
"Ujni"
,
0
,
31
],
"./enterpriseApp/cloudDaily/index.vue"
:[
"Knd1"
,
0
,
74
],
"./enterpriseApp/cloudDaily/systemReport.vue"
:[
"Y8F9"
,
0
,
56
],
"./enterpriseApp/cloudDaily/systemReportSet.vue"
:[
"VE2c"
,
0
,
7
],
"./enterpriseApp/cloudDaily/taskAssign.vue"
:[
"5x7s"
,
0
,
46
],
"./enterpriseApp/cloudDaily/template.vue"
:[
"IA9l"
,
0
,
5
],
"./enterpriseApp/cloudDaily/template/block.vue"
:[
"PAYw"
,
73
],
"./enterpriseApp/cloudDaily/template/date-range.vue"
:[
"79Bk"
,
61
],
"./enterpriseApp/cloudDaily/template/image.vue"
:[
"H8Kg"
,
57
],
"./enterpriseApp/cloudDaily/template/input.vue"
:[
"s4D+"
,
59
],
"./enterpriseApp/cloudDaily/template/select.vue"
:[
"t0b0"
,
36
],
"./enterpriseApp/index.vue"
:[
"da9f"
,
51
],
"./enterpriseApp/mycustomer.vue"
:[
"cuIN"
,
0
,
44
],
"./enterpriseApp/notice/addNotice.vue"
:[
"G5PL"
,
0
,
3
],
"./enterpriseApp/notice/index.vue"
:[
"av/3"
,
0
,
47
],
"./enterpriseApp/notice/noticeList.vue"
:[
"OVYO"
,
0
,
22
],
"./enterpriseApp/quota/companyDaySet.vue"
:[
"xk7v"
,
0
,
72
],
"./enterpriseApp/quota/index.vue"
:[
"FB5x"
,
0
,
69
],
"./enterpriseApp/quota/monthList.vue"
:[
"ZxDn"
,
0
,
39
],
"./enterpriseApp/quota/monthTask.vue"
:[
"cK0D"
,
0
,
35
],
"./enterpriseApp/quota/monthTaskDetail.vue"
:[
"jMbb"
,
0
,
58
],
"./enterpriseApp/quota/salerMonthDetail.vue"
:[
"IKv2"
,
0
,
41
],
"./enterpriseApp/quota/storeMonthTask.vue"
:[
"kF1j"
,
0
,
62
],
"./enterpriseApp/signApp/index.vue"
:[
"Gk4o"
,
0
,
42
],
"./enterpriseApp/signApp/signList.vue"
:[
"kCy7"
,
0
,
68
],
"./enterpriseApp/trafficTask/index.vue"
:[
"e88N"
,
0
,
45
],
"./enterpriseApp/trafficTask/taskDetail.vue"
:[
"A33E"
,
0
,
55
],
"./enterpriseApp/trafficTask/taskRecord.vue"
:[
"iG3v"
,
0
,
43
],
"./enterpriseApp/trafficTask/trafficTaskSet.vue"
:[
"4H54"
,
0
,
64
],
"./errorPage/403.vue"
:[
"6XGN"
,
25
],
"./errorPage/404.vue"
:[
"AejC"
,
27
],
"./errorPage/500.vue"
:[
"FskK"
,
23
],
"./errorPage/index.vue"
:[
"ODjX"
,
1
],
"./index/index.vue"
:[
"JXTs"
,
0
,
28
],
"./login/index.vue"
:[
"T+/8"
,
0
,
10
],
"./reviewCenter/index.vue"
:[
"+lem"
,
54
],
"./reviewCenter/reviewed.vue"
:[
"CLYF"
,
0
,
17
],
"./reviewCenter/unreview.vue"
:[
"xCEU"
,
0
,
19
],
"./setting/addAdmin.vue"
:[
"rs/A"
,
0
,
53
],
"./setting/addAdminRole.vue"
:[
"fZsz"
,
0
,
71
],
"./setting/companyAddress.vue"
:[
"SKyE"
,
0
,
65
],
"./setting/companyCertify.vue"
:[
"3zYh"
,
0
,
12
],
"./setting/index.vue"
:[
"VlR1"
,
33
],
"./setting/replaceAdmin.vue"
:[
"ys9I"
,
0
,
63
],
"./setting/setChildAdmin.vue"
:[
"VqB7"
,
0
,
52
],
"./setting/staffDetails.vue"
:[
"Zyzf"
,
0
,
24
],
"./setting/storePermission.vue"
:[
"Xwfy"
,
0
,
20
],
"./sign/index.vue"
:[
"RQuk"
,
0
,
67
]};
function
o
(
e
){
var
t
=
a
[
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
+
"'."
))}
o
.
keys
=
function
(){
return
Object
.
keys
(
a
)},
o
.
id
=
"Opzk"
,
e
.
exports
=
o
},
SJI6
:
function
(
e
,
t
){
e
.
exports
=
Vuex
},
Xcu2
:
function
(
e
,
t
){},
lRwf
:
function
(
e
,
t
){
e
.
exports
=
Vue
},
pRNm
:
function
(
e
,
t
){
e
.
exports
=
VueRouter
},
uKUT
:
function
(
e
,
t
){}},[
0
]);
\ No newline at end of file
webpackJsonp
([
79
],{
"/NA0"
:
function
(
e
,
t
){},
0
:
function
(
e
,
t
,
n
){
n
(
"j1ja"
),
e
.
exports
=
n
(
"NHnr"
)},
"4qCZ"
:
function
(
e
,
t
){},
"5tgt"
:
function
(
e
,
t
,
n
){
e
.
exports
=
function
(
e
,
t
){
return
function
(
a
){
n
(
"Opzk"
)(
"./"
+
e
+
"/"
+
t
+
".vue"
).
then
(
function
(
e
){
a
(
e
)})}}},
NHnr
:
function
(
e
,
t
,
n
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
n
(
"mvHQ"
),
o
=
n
.
n
(
a
),
p
=
(
n
(
"j1ja"
),
n
(
"hKoQ"
)),
r
=
n
.
n
(
p
),
i
=
{
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
s
=
n
(
"VU/8"
)({
name
:
"App"
,
data
:
function
(){
return
{}}},
i
,
!
1
,
function
(
e
){
n
(
"/NA0"
)},
null
,
null
).
exports
,
c
=
n
(
"lRwf"
),
m
=
n
.
n
(
c
),
d
=
n
(
"pRNm"
),
u
=
n
.
n
(
d
),
l
=
n
(
"5tgt"
),
v
=
n
.
n
(
l
);
m
.
a
.
use
(
u
.
a
);
var
h
=
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
A
,
f
=
[{
path
:
"/"
,
name
:
"/"
,
redirect
:
"login"
},{
path
:
"/login"
,
name
:
"登录"
,
component
:
v
()(
"login"
,
"index"
)},{
path
:
"/download"
,
name
:
"下载"
,
component
:
v
()(
"download"
,
"index"
)},{
path
:
"/index"
,
name
:
"index"
,
component
:
v
()(
"index"
,
"index"
)},{
path
:
"/sign"
,
name
:
"index"
,
component
:
v
()(
"sign"
,
"index"
)},{
path
:
"/contacts"
,
name
:
"通讯录"
,
redirect
:
"administrativeFrame"
,
component
:
v
()(
"contacts"
,
"index"
),
children
:[{
path
:
"/administrativeFrame"
,
name
:
"行政架构"
,
component
:
v
()(
"contacts"
,
"administrativeFrame"
)},{
path
:
"/employeeIo"
,
name
:
"批量导入/导出"
,
component
:
v
()(
"contacts"
,
"employeeIo"
)},{
path
:
"/addDepartment"
,
name
:
"添加部门"
,
component
:
v
()(
"contacts"
,
"addDepartment"
)},{
path
:
"/addClerk"
,
name
:
"添加店员"
,
component
:
v
()(
"contacts"
,
"addClerk"
)},{
path
:
"/storeFrame"
,
name
:
"门店架构"
,
component
:
v
()(
"contacts"
,
"storeFrame"
)},{
path
:
"/addGroup"
,
name
:
"添加子分组"
,
component
:
v
()(
"contacts"
,
"addGroup"
)},{
path
:
"/storeIo"
,
name
:
"门店导入/导出"
,
component
:
v
()(
"contacts"
,
"storeIo"
)},{
path
:
"/storeInfo"
,
name
:
"编辑门店"
,
component
:
v
()(
"contacts"
,
"storeInfo"
)},{
path
:
"/recycle"
,
name
:
"门店回收站"
,
component
:
v
()(
"contacts"
,
"recycle"
)},{
path
:
"/employee"
,
name
:
"编辑员工"
,
component
:
v
()(
"contacts"
,
"employee"
)},{
path
:
"/unemployee"
,
name
:
"离职员工"
,
component
:
v
()(
"contacts"
,
"unemployee"
)},{
path
:
"/fileSet"
,
name
:
"档案设置"
,
component
:
v
()(
"contacts"
,
"fileSet"
)},{
path
:
"/recordInfo"
,
name
:
"编辑员工信息"
,
component
:
v
()(
"contacts"
,
"recordInfo"
)},{
path
:
"/recordIo"
,
name
:
"导入导出员工档案"
,
component
:
v
()(
"contacts"
,
"recordIo"
)},{
path
:
"/shareContact"
,
name
:
"共享通讯录"
,
component
:
v
()(
"contacts"
,
"shareContact"
)},{
path
:
"/shareCode"
,
name
:
"共享通讯录二维码"
,
component
:
v
()(
"contacts"
,
"shareCode"
)},{
path
:
"/employeeRecord"
,
name
:
"在职员工"
,
component
:
v
()(
"contacts"
,
"employeeRecord"
)}]},{
path
:
"/enterpriseApp"
,
name
:
"企业应用"
,
redirect
:
"appcenter"
,
component
:
v
()(
"enterpriseApp"
,
"index"
),
children
:[{
path
:
"/appcenter"
,
name
:
"企业应用中心"
,
component
:
v
()(
"enterpriseApp"
,
"appcenter"
)},{
path
:
"/mycustomer"
,
name
:
"我的顾客"
,
component
:
v
()(
"enterpriseApp"
,
"mycustomer"
)},{
path
:
"/cloudDaily"
,
name
:
"云日报"
,
redirect
:
"/dailyRecord"
,
component
:
v
()(
"enterpriseApp/cloudDaily"
,
"index"
),
children
:[{
path
:
"/dailyRecord"
,
name
:
"云日报记录"
,
component
:
v
()(
"enterpriseApp/cloudDaily"
,
"dailyRecord"
)},{
path
:
"/dailyDetail"
,
name
:
"日报详情"
,
component
:
v
()(
"enterpriseApp/cloudDaily"
,
"dailyDetail"
)},{
path
:
"/taskAssign"
,
name
:
"任务下发设置"
,
component
:
v
()(
"enterpriseApp/cloudDaily"
,
"taskAssign"
)},{
path
:
"/systemReport"
,
name
:
"系统报表"
,
component
:
v
()(
"enterpriseApp/cloudDaily"
,
"systemReport"
)},{
path
:
"/customReport"
,
name
:
"自定义报表"
,
component
:
v
()(
"enterpriseApp/cloudDaily"
,
"customReport"
)}]},{
path
:
"/trafficTask"
,
name
:
"话务任务"
,
redirect
:
"/taskRecord"
,
component
:
v
()(
"enterpriseApp/trafficTask"
,
"index"
),
children
:[{
path
:
"/taskRecord"
,
name
:
"话务任务记录"
,
component
:
v
()(
"enterpriseApp/trafficTask"
,
"taskRecord"
)},{
path
:
"/taskDetail"
,
name
:
"话务任务详情"
,
component
:
v
()(
"enterpriseApp/trafficTask"
,
"taskDetail"
)},{
path
:
"/trafficTaskSet"
,
name
:
"话务任务设置"
,
component
:
v
()(
"enterpriseApp/trafficTask"
,
"trafficTaskSet"
)},{
path
:
"/badEvaluateSet"
,
name
:
"不良评价设置"
,
component
:
v
()(
"enterpriseApp/badEvaluate"
,
"badEvaluateSet"
)}]},{
path
:
"/noticeList"
,
name
:
"企业公告"
,
redirect
:
"/noticeList"
,
component
:
v
()(
"enterpriseApp/notice"
,
"index"
),
children
:[{
path
:
"/noticeList"
,
name
:
"企业公告列表"
,
component
:
v
()(
"enterpriseApp/notice"
,
"noticeList"
)},{
path
:
"/addNotice"
,
name
:
"新建公告"
,
component
:
v
()(
"enterpriseApp/notice"
,
"addNotice"
)}]},{
path
:
"/badEvaluate"
,
name
:
"不良评价"
,
redirect
:
"/badEvaluateRecord"
,
component
:
v
()(
"enterpriseApp/badEvaluate"
,
"index"
),
children
:[{
path
:
"/badEvaluateRecord"
,
name
:
"不良评价记录"
,
component
:
v
()(
"enterpriseApp/badEvaluate"
,
"badEvaluateRecord"
)},{
path
:
"/badEvaluateDetail"
,
name
:
"不良评价详情"
,
component
:
v
()(
"enterpriseApp/badEvaluate"
,
"badEvaluateDetail"
)}]},{
path
:
"/quota"
,
name
:
"指标管理"
,
redirect
:
"/monthList"
,
component
:
v
()(
"enterpriseApp/quota"
,
"index"
),
children
:[{
path
:
"/monthList"
,
name
:
"月指标列表"
,
component
:
v
()(
"enterpriseApp/quota"
,
"monthList"
)},{
path
:
"/storeMonthTask"
,
name
:
"门店月指标"
,
component
:
v
()(
"enterpriseApp/quota"
,
"storeMonthTask"
)},{
path
:
"/salerMonthDetail"
,
name
:
"导购月指标详情"
,
component
:
v
()(
"enterpriseApp/quota"
,
"salerMonthDetail"
)},{
path
:
"/companyDaySet"
,
name
:
"商户日权重"
,
component
:
v
()(
"enterpriseApp/quota"
,
"companyDaySet"
)},{
path
:
"/monthTask"
,
name
:
"月指标任务"
,
component
:
v
()(
"enterpriseApp/quota"
,
"monthTask"
),
meta
:{
keepAlive
:
!
0
}},{
path
:
"/monthTaskDetail"
,
name
:
"月指标任务详情"
,
component
:
v
()(
"enterpriseApp/quota"
,
"monthTaskDetail"
),
meta
:{
keepAlive
:
!
0
}}]},{
path
:
"/signList"
,
name
:
"企业公告"
,
redirect
:
"/signList"
,
component
:
v
()(
"enterpriseApp/signApp"
,
"index"
),
children
:[{
path
:
"/signList"
,
name
:
"企业公告列表"
,
component
:
v
()(
"enterpriseApp/signApp"
,
"signList"
)}]}]},{
path
:
"/reviewCenter"
,
name
:
"审核中心"
,
redirect
:
"unreview"
,
component
:
v
()(
"reviewCenter"
,
"index"
),
children
:[{
path
:
"/reviewed"
,
name
:
"已审核"
,
component
:
v
()(
"reviewCenter"
,
"reviewed"
)},{
path
:
"/unreview"
,
name
:
"未审核"
,
component
:
v
()(
"reviewCenter"
,
"unreview"
)}]},{
path
:
"/setCenter"
,
name
:
"设置"
,
redirect
:
"companyAddress"
,
component
:
v
()(
"setting"
,
"index"
),
children
:[{
path
:
"/companyAddress"
,
name
:
"企业地址"
,
component
:
v
()(
"setting"
,
"companyAddress"
)},{
path
:
"/companyCertify"
,
name
:
"企业认证"
,
component
:
v
()(
"setting"
,
"companyCertify"
)},{
path
:
"/staffDetails"
,
name
:
"员工详情字段"
,
component
:
v
()(
"setting"
,
"staffDetails"
)},{
path
:
"/storePermission"
,
name
:
"门店权限设置"
,
component
:
v
()(
"setting"
,
"storePermission"
)},{
path
:
"/replaceAdmin"
,
name
:
"更换超级管理员"
,
component
:
v
()(
"setting"
,
"replaceAdmin"
)},{
path
:
"/setChildAdmin"
,
name
:
"设置子管理员"
,
component
:
v
()(
"setting"
,
"setChildAdmin"
)},{
path
:
"/addAdmin"
,
name
:
"添加管理员"
,
component
:
v
()(
"setting"
,
"addAdmin"
)},{
path
:
"/addAdminRole"
,
name
:
"添加管理员角色"
,
component
:
v
()(
"setting"
,
"addAdminRole"
)}]},{
path
:
"/staffRecordsTemplate"
,
name
:
"员工档案设置"
,
component
:
v
()(
"contacts"
,
"staffRecordsTemplate"
)},{
path
:
"/systemReportSet"
,
name
:
"系统报表设置"
,
component
:
v
()(
"enterpriseApp/cloudDaily"
,
"systemReportSet"
)},{
path
:
"/template"
,
name
:
"模板设置"
,
component
:
v
()(
"enterpriseApp/cloudDaily"
,
"template"
)},{
path
:
"/403"
,
name
:
"无权访问"
,
component
:
h
},{
path
:
"/404"
,
name
:
"error404"
,
component
:
h
},{
path
:
"/500"
,
name
:
"error500"
,
component
:
h
},{
path
:
"*"
,
redirect
:
"/404"
,
hidden
:
!
0
}],
y
=
new
u
.
a
({
routes
:
f
,
scrollBehavior
:
function
(){
return
{
y
:
0
}}}),
g
=
n
(
"zL8q"
),
k
=
n
.
n
(
g
),
D
=
n
(
"Rf8U"
),
x
=
n
.
n
(
D
),
R
=
n
(
"mtWM"
),
w
=
n
.
n
(
R
),
C
=
n
(
"bOdI"
),
b
=
n
.
n
(
C
),
I
=
n
(
"SJI6"
),
T
=
n
.
n
(
I
);
m
.
a
.
use
(
T
.
a
);
var
E
=
new
T
.
a
.
Store
({
state
:{
user
:{},
token
:
null
,
title
:
""
,
show
:
!
1
,
bgHeight
:
window
.
screen
.
availHeight
-
440
-
24
+
"px"
},
mutations
:(
A
=
{},
b
()(
A
,
"login"
,
function
(
e
,
t
){
sessionStorage
.
token
=
t
,
e
.
token
=
t
}),
b
()(
A
,
"logout"
,
function
(
e
){
sessionStorage
.
removeItem
(
"token"
),
e
.
token
=
null
}),
b
()(
A
,
"title"
,
function
(
e
,
t
){
e
.
title
=
t
}),
b
()(
A
,
"show"
,
function
(
e
,
t
){
e
.
show
=
t
}),
A
)}),
S
=
(
n
(
"4qCZ"
),
n
(
"uKUT"
),
n
(
"Xcu2"
),
n
(
"TUaa"
)),
q
=
n
.
n
(
S
),
V
=
n
(
"tyqE"
),
L
=
n
.
n
(
V
),
P
=
n
(
"pRVe"
),
j
=
n
.
n
(
P
),
F
=
n
(
"SE7k"
),
G
=
n
.
n
(
F
),
N
=
n
(
"XsK6"
),
O
=
n
.
n
(
N
),
K
=
n
(
"QRL9"
),
z
=
n
.
n
(
K
),
H
=
n
(
"2Pnh"
),
J
=
n
.
n
(
H
),
M
=
n
(
"l9mu"
),
U
=
n
.
n
(
M
),
X
=
{
install
:
function
(
e
,
t
){
e
.
prototype
.
getPdf
=
function
(){
var
e
=
this
.
htmlTitle
;
J
()(
document
.
querySelector
(
"#pdfDom"
),{
allowTaint
:
!
0
,
foreignObjectRendering
:
!
0
}).
then
(
function
(
t
){
var
n
=
t
.
width
,
a
=
t
.
height
,
o
=
n
/
592.28
*
841.89
,
p
=
a
,
r
=
0
,
i
=
592.28
/
n
*
a
,
s
=
t
.
toDataURL
(
"image/jpeg"
,
1
),
c
=
new
U
.
a
(
""
,
"pt"
,
"a4"
);
if
(
p
<
o
)
c
.
addImage
(
s
,
"JPEG"
,
0
,
0
,
595.28
,
i
);
else
for
(;
p
>
0
;)
c
.
addImage
(
s
,
"JPEG"
,
0
,
r
,
595.28
,
i
),
r
-=
841.89
,(
p
-=
o
)
>
0
&&
c
.
addPage
();
c
.
save
(
e
+
".pdf"
)})}}};
r
.
a
.
polyfill
(),
Vue
.
use
(
X
),
Vue
.
use
(
O
.
a
),
Vue
.
use
(
z
.
a
),
Vue
.
use
(
G
.
a
),
Vue
.
use
(
j
.
a
),
Vue
.
use
(
L
.
a
),
Vue
.
use
(
q
.
a
),
Vue
.
config
.
productionTip
=!
1
,
Vue
.
use
(
k
.
a
,{
size
:
"large"
}),
Vue
.
use
(
x
.
a
,
w
.
a
),
Vue
.
axios
.
defaults
.
withCredentials
=!
0
,
y
.
beforeEach
(
function
(
e
,
t
,
n
){
var
a
=
void
0
,
p
=
window
.
location
.
origin
;
a
=-
1
!=
p
.
indexOf
(
"localhost"
)?
"http://www.gicdev.com"
:
p
,
localStorage
.
getItem
(
"userInfo"
)
||
w
.
a
.
get
(
a
+
"/haoban-manage-web/emp/get-user-info"
,{}).
then
(
function
(
e
){
var
t
=
e
.
data
;
1
!=
t
.
errorCode
||
localStorage
.
setItem
(
"userInfo"
,
o
()(
t
.
result
))}).
catch
(
function
(
e
){
g
.
Message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})}),
"/"
==
e
.
path
?
n
({
path
:
"/login"
}):
n
()}),
new
Vue
({
el
:
"#app"
,
router
:
y
,
store
:
E
,
components
:{
App
:
s
},
template
:
"<App/>"
})},
Opzk
:
function
(
e
,
t
,
n
){
var
a
=
{
"./contacts/addClerk.vue"
:[
"27o1"
,
0
,
18
],
"./contacts/addDepartment.vue"
:[
"HHRu"
,
0
,
16
],
"./contacts/addEmployee.vue"
:[
"00Sv"
,
48
],
"./contacts/addGroup.vue"
:[
"mPjx"
,
0
,
77
],
"./contacts/administrativeFrame.vue"
:[
"kLcy"
,
0
,
4
],
"./contacts/employee.vue"
:[
"AdJp"
,
0
,
40
],
"./contacts/employeeIo.vue"
:[
"Rwbg"
,
0
,
50
],
"./contacts/employeeRecord.vue"
:[
"zGJY"
,
0
,
8
],
"./contacts/fileSet.vue"
:[
"CSjr"
,
0
,
11
],
"./contacts/index.vue"
:[
"41Rh"
,
0
,
75
],
"./contacts/recordInfo.vue"
:[
"67iC"
,
0
,
13
],
"./contacts/recordIo.vue"
:[
"738z"
,
0
,
20
],
"./contacts/recycle.vue"
:[
"HkK0"
,
0
,
26
],
"./contacts/shareAddDepartment.vue"
:[
"q5Ri"
,
0
,
15
],
"./contacts/shareCode.vue"
:[
"JsWW"
,
0
,
66
],
"./contacts/shareContact.vue"
:[
"Gfms"
,
0
,
2
],
"./contacts/staffRecordsTemplate.vue"
:[
"lFAe"
,
0
,
76
],
"./contacts/storeFrame.vue"
:[
"7SJI"
,
0
,
6
],
"./contacts/storeInfo.vue"
:[
"h/6A"
,
0
,
34
],
"./contacts/storeIo.vue"
:[
"RHxA"
,
0
,
49
],
"./contacts/unemployee.vue"
:[
"TGrv"
,
0
,
14
],
"./download/index.vue"
:[
"ASGJ"
,
0
,
9
],
"./enterpriseApp/appcenter.vue"
:[
"yuVF"
,
0
,
29
],
"./enterpriseApp/badEvaluate/badEvaluateDetail.vue"
:[
"4m/B"
,
0
,
32
],
"./enterpriseApp/badEvaluate/badEvaluateRecord.vue"
:[
"r//C"
,
0
,
60
],
"./enterpriseApp/badEvaluate/badEvaluateSet.vue"
:[
"XzAK"
,
0
,
70
],
"./enterpriseApp/badEvaluate/index.vue"
:[
"W0k8"
,
0
,
37
],
"./enterpriseApp/cloudDaily/customReport.vue"
:[
"DxdI"
,
0
,
38
],
"./enterpriseApp/cloudDaily/dailyDetail.vue"
:[
"5nNU"
,
0
,
30
],
"./enterpriseApp/cloudDaily/dailyRecord.vue"
:[
"Ujni"
,
0
,
31
],
"./enterpriseApp/cloudDaily/index.vue"
:[
"Knd1"
,
0
,
74
],
"./enterpriseApp/cloudDaily/systemReport.vue"
:[
"Y8F9"
,
0
,
56
],
"./enterpriseApp/cloudDaily/systemReportSet.vue"
:[
"VE2c"
,
0
,
7
],
"./enterpriseApp/cloudDaily/taskAssign.vue"
:[
"5x7s"
,
0
,
46
],
"./enterpriseApp/cloudDaily/template.vue"
:[
"IA9l"
,
0
,
5
],
"./enterpriseApp/cloudDaily/template/block.vue"
:[
"PAYw"
,
73
],
"./enterpriseApp/cloudDaily/template/date-range.vue"
:[
"79Bk"
,
61
],
"./enterpriseApp/cloudDaily/template/image.vue"
:[
"H8Kg"
,
57
],
"./enterpriseApp/cloudDaily/template/input.vue"
:[
"s4D+"
,
59
],
"./enterpriseApp/cloudDaily/template/select.vue"
:[
"t0b0"
,
36
],
"./enterpriseApp/index.vue"
:[
"da9f"
,
51
],
"./enterpriseApp/mycustomer.vue"
:[
"cuIN"
,
0
,
44
],
"./enterpriseApp/notice/addNotice.vue"
:[
"G5PL"
,
0
,
3
],
"./enterpriseApp/notice/index.vue"
:[
"av/3"
,
0
,
47
],
"./enterpriseApp/notice/noticeList.vue"
:[
"OVYO"
,
0
,
22
],
"./enterpriseApp/quota/companyDaySet.vue"
:[
"xk7v"
,
0
,
72
],
"./enterpriseApp/quota/index.vue"
:[
"FB5x"
,
0
,
69
],
"./enterpriseApp/quota/monthList.vue"
:[
"ZxDn"
,
0
,
39
],
"./enterpriseApp/quota/monthTask.vue"
:[
"cK0D"
,
0
,
35
],
"./enterpriseApp/quota/monthTaskDetail.vue"
:[
"jMbb"
,
0
,
58
],
"./enterpriseApp/quota/salerMonthDetail.vue"
:[
"IKv2"
,
0
,
41
],
"./enterpriseApp/quota/storeMonthTask.vue"
:[
"kF1j"
,
0
,
62
],
"./enterpriseApp/signApp/index.vue"
:[
"Gk4o"
,
0
,
42
],
"./enterpriseApp/signApp/signList.vue"
:[
"kCy7"
,
0
,
68
],
"./enterpriseApp/trafficTask/index.vue"
:[
"e88N"
,
0
,
45
],
"./enterpriseApp/trafficTask/taskDetail.vue"
:[
"A33E"
,
0
,
55
],
"./enterpriseApp/trafficTask/taskRecord.vue"
:[
"iG3v"
,
0
,
43
],
"./enterpriseApp/trafficTask/trafficTaskSet.vue"
:[
"4H54"
,
0
,
64
],
"./errorPage/403.vue"
:[
"6XGN"
,
25
],
"./errorPage/404.vue"
:[
"AejC"
,
27
],
"./errorPage/500.vue"
:[
"FskK"
,
23
],
"./errorPage/index.vue"
:[
"ODjX"
,
1
],
"./index/index.vue"
:[
"JXTs"
,
0
,
28
],
"./login/index.vue"
:[
"T+/8"
,
0
,
10
],
"./reviewCenter/index.vue"
:[
"+lem"
,
54
],
"./reviewCenter/reviewed.vue"
:[
"CLYF"
,
0
,
17
],
"./reviewCenter/unreview.vue"
:[
"xCEU"
,
0
,
19
],
"./setting/addAdmin.vue"
:[
"rs/A"
,
0
,
53
],
"./setting/addAdminRole.vue"
:[
"fZsz"
,
0
,
71
],
"./setting/companyAddress.vue"
:[
"SKyE"
,
0
,
65
],
"./setting/companyCertify.vue"
:[
"3zYh"
,
0
,
12
],
"./setting/index.vue"
:[
"VlR1"
,
33
],
"./setting/replaceAdmin.vue"
:[
"ys9I"
,
0
,
63
],
"./setting/setChildAdmin.vue"
:[
"VqB7"
,
0
,
52
],
"./setting/staffDetails.vue"
:[
"Zyzf"
,
0
,
24
],
"./setting/storePermission.vue"
:[
"Xwfy"
,
0
,
21
],
"./sign/index.vue"
:[
"RQuk"
,
0
,
67
]};
function
o
(
e
){
var
t
=
a
[
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
+
"'."
))}
o
.
keys
=
function
(){
return
Object
.
keys
(
a
)},
o
.
id
=
"Opzk"
,
e
.
exports
=
o
},
SJI6
:
function
(
e
,
t
){
e
.
exports
=
Vuex
},
Xcu2
:
function
(
e
,
t
){},
lRwf
:
function
(
e
,
t
){
e
.
exports
=
Vue
},
pRNm
:
function
(
e
,
t
){
e
.
exports
=
VueRouter
},
uKUT
:
function
(
e
,
t
){}},[
0
]);
\ No newline at end of file
dist/static/js/manifest.
6ca72a097fb6f0633d5f
.js
→
dist/static/js/manifest.
3a9f1e5580c03ed5eee6
.js
View file @
4f8665cd
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
a
,
b
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
a
.
length
;
i
++
)
t
=
a
[
i
],
d
[
t
]
&&
u
.
push
(
d
[
t
][
0
]),
d
[
t
]
=
0
;
for
(
r
in
b
)
Object
.
prototype
.
hasOwnProperty
.
call
(
b
,
r
)
&&
(
e
[
r
]
=
b
[
r
]);
for
(
c
&&
c
(
a
,
b
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
f
(
f
.
s
=
n
[
i
]);
return
o
};
var
a
=
{},
d
=
{
81
:
0
};
function
f
(
c
){
if
(
a
[
c
])
return
a
[
c
].
exports
;
var
d
=
a
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
d
.
exports
,
d
,
d
.
exports
,
f
),
d
.
l
=!
0
,
d
.
exports
}
f
.
e
=
function
(
e
){
var
c
=
d
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
a
=
new
Promise
(
function
(
a
,
f
){
c
=
d
[
e
]
=
[
a
,
f
]});
c
[
2
]
=
a
;
var
b
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
f
.
nc
&&
n
.
setAttribute
(
"nonce"
,
f
.
nc
),
n
.
src
=
f
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"af175d6abf03f8f2bb2c"
,
1
:
"0ebe3ead93207dc78a78"
,
2
:
"6a28eea0219819a35f5d"
,
3
:
"3282d88c1532d0ca9c9e"
,
4
:
"01be0f85b0acd6f1d6df"
,
5
:
"a380a44ef66342a0dcb5"
,
6
:
"25f6d980e72a7ffd0c11"
,
7
:
"57af0bc90206c6098149"
,
8
:
"9bd56928cea92db3c119"
,
9
:
"860dbe8cf83334f9e3c0"
,
10
:
"16767ca611d2bc93e32e"
,
11
:
"2d0a192288361dd95250"
,
12
:
"3d3797e96dc9e8cc5bd4"
,
13
:
"c01b6415e93d21d1c19f"
,
14
:
"d9f8f7e5598d599d6b6a"
,
15
:
"360a92075d219ac84088"
,
16
:
"bdc37aea4c14db4484c6"
,
17
:
"18d7b200f29fbb0cc9c8"
,
18
:
"6f195daef270092631b5"
,
19
:
"2b9b49e18e64eeb57067"
,
20
:
"d5bc42e9568015f2689e"
,
21
:
"5a4810e8b7afc6abfb0c"
,
22
:
"ae3ca1d035af160b7832"
,
23
:
"9efbbc6dd315a676ce09"
,
24
:
"4637a4566383d6e864cf"
,
25
:
"4f9db49437ea94436d03"
,
26
:
"e0b684b65d0dbf5d032b"
,
27
:
"acda88d3c2aa77c9f51c"
,
28
:
"e1b3c97634b8203082e4"
,
29
:
"a00a8b4033e1feddfe67"
,
30
:
"07a39afe8e9361ef44b8"
,
31
:
"8e77909f1af264b00346"
,
32
:
"ec0bbd85e6d55909453d"
,
33
:
"d649a5e4d061985d1c3a"
,
34
:
"6f7785aa178b8a372944"
,
35
:
"80267d39d723d4d02341"
,
36
:
"706cf2b1fed575cc2e7b"
,
37
:
"8016d3ac07df8acaf73d"
,
38
:
"401ecfbced781ca109ff"
,
39
:
"45d0c177c91108351c01"
,
40
:
"1fb27e8293a434b3d04d"
,
41
:
"9fcb9feb2cab7a8a2cbe"
,
42
:
"47c4c30ceefa4af03de5"
,
43
:
"1a91709ef6c1a7d304ba"
,
44
:
"12f6d6e11d29fce5030d"
,
45
:
"bfad77aa2ad556a32c7c"
,
46
:
"5e58d02bfb5d53a3e1b5"
,
47
:
"de0e290ed4c878d0c8c3"
,
48
:
"6d564387f233c08c800d"
,
49
:
"aadad9540975c8930c5b"
,
50
:
"9b4a04b4fe85bb222d5e"
,
51
:
"3af7210dfb262608914c"
,
52
:
"172810668e9fdae29993"
,
53
:
"0037bfc235d4cff7e839"
,
54
:
"1503b643475934e2b5e1"
,
55
:
"8d3253cd2f581e7ce20b"
,
56
:
"bf6ca3213cca34608387"
,
57
:
"38ec53bb17e31c729773"
,
58
:
"396c075bf2e02574d826"
,
59
:
"8669556909924307dc86"
,
60
:
"0ec53183da96964b8e4c"
,
61
:
"39a85469e87be40566f6"
,
62
:
"44d1241f8d57451d0c10"
,
63
:
"3a6cf98b96351ac2fc15"
,
64
:
"b2ac6373d925f6a49209"
,
65
:
"f4f7e3f4ecb0250e9119"
,
66
:
"d8e2dce37c7df6e611a6"
,
67
:
"dd430b5802c68f5ac5d2"
,
68
:
"35865c6a89a06bb244fb"
,
69
:
"518fa345263ef1bb9abc"
,
70
:
"5d2e33dad1088489e653"
,
71
:
"e51a1b885d499897baff"
,
72
:
"bfd2694c02bae17c273e"
,
73
:
"7751e4d66fee99c15a39"
,
74
:
"317ccff353170ac7c01f"
,
75
:
"44714b271d06e1e87012"
,
76
:
"7eaab216a287b1ffca0e"
,
77
:
"01b9dbf75e1040e81146"
,
80
:
"c4a24f0beb29dbd2892a"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
c
=
d
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
d
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
b
.
appendChild
(
n
),
a
},
f
.
m
=
e
,
f
.
c
=
a
,
f
.
d
=
function
(
e
,
c
,
a
){
f
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
a
})},
f
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
f
.
d
(
c
,
"a"
,
c
),
c
},
f
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
f
.
p
=
"./"
,
f
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
a
,
b
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
a
.
length
;
i
++
)
t
=
a
[
i
],
d
[
t
]
&&
u
.
push
(
d
[
t
][
0
]),
d
[
t
]
=
0
;
for
(
r
in
b
)
Object
.
prototype
.
hasOwnProperty
.
call
(
b
,
r
)
&&
(
e
[
r
]
=
b
[
r
]);
for
(
c
&&
c
(
a
,
b
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
f
(
f
.
s
=
n
[
i
]);
return
o
};
var
a
=
{},
d
=
{
81
:
0
};
function
f
(
c
){
if
(
a
[
c
])
return
a
[
c
].
exports
;
var
d
=
a
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
d
.
exports
,
d
,
d
.
exports
,
f
),
d
.
l
=!
0
,
d
.
exports
}
f
.
e
=
function
(
e
){
var
c
=
d
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
a
=
new
Promise
(
function
(
a
,
f
){
c
=
d
[
e
]
=
[
a
,
f
]});
c
[
2
]
=
a
;
var
b
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
f
.
nc
&&
n
.
setAttribute
(
"nonce"
,
f
.
nc
),
n
.
src
=
f
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"af175d6abf03f8f2bb2c"
,
1
:
"0ebe3ead93207dc78a78"
,
2
:
"6a28eea0219819a35f5d"
,
3
:
"3282d88c1532d0ca9c9e"
,
4
:
"01be0f85b0acd6f1d6df"
,
5
:
"a380a44ef66342a0dcb5"
,
6
:
"25f6d980e72a7ffd0c11"
,
7
:
"57af0bc90206c6098149"
,
8
:
"9bd56928cea92db3c119"
,
9
:
"860dbe8cf83334f9e3c0"
,
10
:
"16767ca611d2bc93e32e"
,
11
:
"2d0a192288361dd95250"
,
12
:
"3d3797e96dc9e8cc5bd4"
,
13
:
"c01b6415e93d21d1c19f"
,
14
:
"d9f8f7e5598d599d6b6a"
,
15
:
"360a92075d219ac84088"
,
16
:
"bdc37aea4c14db4484c6"
,
17
:
"18d7b200f29fbb0cc9c8"
,
18
:
"6f195daef270092631b5"
,
19
:
"2b9b49e18e64eeb57067"
,
20
:
"b4a5dc620a54a98b319b"
,
21
:
"b0e7348ff74371924c3b"
,
22
:
"ae3ca1d035af160b7832"
,
23
:
"9efbbc6dd315a676ce09"
,
24
:
"4637a4566383d6e864cf"
,
25
:
"4f9db49437ea94436d03"
,
26
:
"e0b684b65d0dbf5d032b"
,
27
:
"acda88d3c2aa77c9f51c"
,
28
:
"e1b3c97634b8203082e4"
,
29
:
"a00a8b4033e1feddfe67"
,
30
:
"07a39afe8e9361ef44b8"
,
31
:
"8e77909f1af264b00346"
,
32
:
"ec0bbd85e6d55909453d"
,
33
:
"d649a5e4d061985d1c3a"
,
34
:
"6f7785aa178b8a372944"
,
35
:
"80267d39d723d4d02341"
,
36
:
"706cf2b1fed575cc2e7b"
,
37
:
"8016d3ac07df8acaf73d"
,
38
:
"401ecfbced781ca109ff"
,
39
:
"45d0c177c91108351c01"
,
40
:
"1fb27e8293a434b3d04d"
,
41
:
"9fcb9feb2cab7a8a2cbe"
,
42
:
"47c4c30ceefa4af03de5"
,
43
:
"1a91709ef6c1a7d304ba"
,
44
:
"12f6d6e11d29fce5030d"
,
45
:
"bfad77aa2ad556a32c7c"
,
46
:
"5e58d02bfb5d53a3e1b5"
,
47
:
"de0e290ed4c878d0c8c3"
,
48
:
"6d564387f233c08c800d"
,
49
:
"aadad9540975c8930c5b"
,
50
:
"9b4a04b4fe85bb222d5e"
,
51
:
"3af7210dfb262608914c"
,
52
:
"172810668e9fdae29993"
,
53
:
"0037bfc235d4cff7e839"
,
54
:
"1503b643475934e2b5e1"
,
55
:
"8d3253cd2f581e7ce20b"
,
56
:
"bf6ca3213cca34608387"
,
57
:
"38ec53bb17e31c729773"
,
58
:
"396c075bf2e02574d826"
,
59
:
"8669556909924307dc86"
,
60
:
"0ec53183da96964b8e4c"
,
61
:
"39a85469e87be40566f6"
,
62
:
"44d1241f8d57451d0c10"
,
63
:
"3a6cf98b96351ac2fc15"
,
64
:
"b2ac6373d925f6a49209"
,
65
:
"f4f7e3f4ecb0250e9119"
,
66
:
"d8e2dce37c7df6e611a6"
,
67
:
"dd430b5802c68f5ac5d2"
,
68
:
"35865c6a89a06bb244fb"
,
69
:
"518fa345263ef1bb9abc"
,
70
:
"5d2e33dad1088489e653"
,
71
:
"e51a1b885d499897baff"
,
72
:
"bfd2694c02bae17c273e"
,
73
:
"7751e4d66fee99c15a39"
,
74
:
"317ccff353170ac7c01f"
,
75
:
"44714b271d06e1e87012"
,
76
:
"7eaab216a287b1ffca0e"
,
77
:
"01b9dbf75e1040e81146"
,
80
:
"c4a24f0beb29dbd2892a"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
c
=
d
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
d
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
b
.
appendChild
(
n
),
a
},
f
.
m
=
e
,
f
.
c
=
a
,
f
.
d
=
function
(
e
,
c
,
a
){
f
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
a
})},
f
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
f
.
d
(
c
,
"a"
,
c
),
c
},
f
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
f
.
p
=
"./"
,
f
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
src/views/contacts/recordIo.vue
View file @
4f8665cd
...
...
@@ -211,8 +211,11 @@ export default {
this
.
$message
.
error
(
'文件格式不正确!'
);
return
false
;
}
/* eslint-disable */
console
.
log
(
file
,
xlsIndex
)
let
ext
=
file
.
name
.
substring
(
xlsIndex
+
1
,
file
.
name
.
length
);
let
isExcel
=
ext
.
includes
(
'xls'
)
||
ext
.
includes
(
'xlsx'
);
console
.
log
(
ext
,
isExcel
)
if
(
!
isExcel
)
{
this
.
$message
.
error
(
'文件格式必须为 xls 或 xlsx 格式!'
);
}
...
...
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