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
35fc15c1
Commit
35fc15c1
authored
Jul 04, 2019
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改导入导出excel
parent
5f2b7119
Show whitespace changes
Inline
Side-by-side
Showing
52 changed files
with
123 additions
and
113 deletions
+123
-113
index.html
dist/index.html
+2
-2
18.4adc5cab6683f7eb6d86.js
dist/static/js/18.4adc5cab6683f7eb6d86.js
+0
-2
18.b449ba7c70672ea4973e.js
dist/static/js/18.b449ba7c70672ea4973e.js
+2
-2
19.ed7c8c2a7a2a9998f36c.js
dist/static/js/19.ed7c8c2a7a2a9998f36c.js
+2
-2
20.d5bc42e9568015f2689e.js
dist/static/js/20.d5bc42e9568015f2689e.js
+2
-2
21.f03b903110d532587e48.js
dist/static/js/21.f03b903110d532587e48.js
+2
-0
35.80267d39d723d4d02341.js
dist/static/js/35.80267d39d723d4d02341.js
+2
-2
36.706cf2b1fed575cc2e7b.js
dist/static/js/36.706cf2b1fed575cc2e7b.js
+2
-2
37.8016d3ac07df8acaf73d.js
dist/static/js/37.8016d3ac07df8acaf73d.js
+2
-2
38.401ecfbced781ca109ff.js
dist/static/js/38.401ecfbced781ca109ff.js
+2
-2
39.45d0c177c91108351c01.js
dist/static/js/39.45d0c177c91108351c01.js
+2
-2
40.18605687ea6ee1539453.js
dist/static/js/40.18605687ea6ee1539453.js
+2
-2
41.78d64ae1581e8ea232cc.js
dist/static/js/41.78d64ae1581e8ea232cc.js
+2
-2
42.56b8d3d551364d7fcf73.js
dist/static/js/42.56b8d3d551364d7fcf73.js
+2
-2
43.dd9e90d8053228b68228.js
dist/static/js/43.dd9e90d8053228b68228.js
+2
-2
44.deb9f07fde1e218414cf.js
dist/static/js/44.deb9f07fde1e218414cf.js
+2
-2
45.feeb9dd78b7b12f700d2.js
dist/static/js/45.feeb9dd78b7b12f700d2.js
+2
-2
46.98fb716c1e5a99ebdcf8.js
dist/static/js/46.98fb716c1e5a99ebdcf8.js
+2
-2
47.de0e290ed4c878d0c8c3.js
dist/static/js/47.de0e290ed4c878d0c8c3.js
+2
-2
48.6d564387f233c08c800d.js
dist/static/js/48.6d564387f233c08c800d.js
+2
-2
49.197cde68ad771fae4c5c.js
dist/static/js/49.197cde68ad771fae4c5c.js
+2
-2
5.1ccd7ab8c06c5a275269.js
dist/static/js/5.1ccd7ab8c06c5a275269.js
+2
-2
50.331006123edd2049b7d9.js
dist/static/js/50.331006123edd2049b7d9.js
+2
-2
51.244dc6f576a64b7c174b.js
dist/static/js/51.244dc6f576a64b7c174b.js
+2
-2
52.3ee35b29a67a32a31d1d.js
dist/static/js/52.3ee35b29a67a32a31d1d.js
+2
-2
53.8ea56d269da04331dd65.js
dist/static/js/53.8ea56d269da04331dd65.js
+2
-2
54.4b3de5b9c967cbdcb803.js
dist/static/js/54.4b3de5b9c967cbdcb803.js
+2
-2
55.c423570fcbf037d349d9.js
dist/static/js/55.c423570fcbf037d349d9.js
+2
-2
56.03f9fa2efa7f832146f1.js
dist/static/js/56.03f9fa2efa7f832146f1.js
+2
-2
57.ec64d57876772f26c560.js
dist/static/js/57.ec64d57876772f26c560.js
+2
-2
58.f8f6469b19558b91d2af.js
dist/static/js/58.f8f6469b19558b91d2af.js
+2
-2
59.014ae5d12d19afa067f5.js
dist/static/js/59.014ae5d12d19afa067f5.js
+2
-2
60.633307c153fec68e7774.js
dist/static/js/60.633307c153fec68e7774.js
+2
-2
61.a6c4d42ed111c8f08d58.js
dist/static/js/61.a6c4d42ed111c8f08d58.js
+2
-2
62.7cdd22971a00bea17b94.js
dist/static/js/62.7cdd22971a00bea17b94.js
+2
-2
63.02272fe3caa4b8c63c2a.js
dist/static/js/63.02272fe3caa4b8c63c2a.js
+2
-2
64.ebc341a9017c4b2c1112.js
dist/static/js/64.ebc341a9017c4b2c1112.js
+2
-2
65.afcb60484e7a9ec39f28.js
dist/static/js/65.afcb60484e7a9ec39f28.js
+2
-2
66.0c2656f4decfecb59972.js
dist/static/js/66.0c2656f4decfecb59972.js
+2
-2
67.57f329b5a1c3658845e9.js
dist/static/js/67.57f329b5a1c3658845e9.js
+2
-2
68.ba49712f562eff6edbc3.js
dist/static/js/68.ba49712f562eff6edbc3.js
+2
-2
69.6262c1a9179f86d6e8cc.js
dist/static/js/69.6262c1a9179f86d6e8cc.js
+2
-2
70.d5759f121e5783b4c558.js
dist/static/js/70.d5759f121e5783b4c558.js
+2
-2
71.95b66215f468ac6aa391.js
dist/static/js/71.95b66215f468ac6aa391.js
+2
-2
72.b9aea07ebd1f712eee71.js
dist/static/js/72.b9aea07ebd1f712eee71.js
+2
-2
73.820fe71d89d973ff8cf7.js
dist/static/js/73.820fe71d89d973ff8cf7.js
+2
-2
app.cdf52f35671a8805ed92.js
dist/static/js/app.cdf52f35671a8805ed92.js
+2
-2
manifest.2428bd546092f118aa0e.js
dist/static/js/manifest.2428bd546092f118aa0e.js
+0
-2
manifest.da49be389a65fc5e764c.js
dist/static/js/manifest.da49be389a65fc5e764c.js
+2
-0
employeeIo.vue
src/views/contacts/employeeIo.vue
+11
-8
recordIo.vue
src/views/contacts/recordIo.vue
+8
-4
storeIo.vue
src/views/contacts/storeIo.vue
+10
-7
No files found.
dist/index.html
View file @
35fc15c1
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
好办管理平台
</title><link
href=
./static/css/app.71bf187ed4261e06796b527652725708.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.2428bd546092f118aa0e.js
></script><script
type=
text/javascript
src=
./static/js/vendor.ccdd3a2984b37616bc62.js
></script><script
type=
text/javascript
src=
./static/js/app.632d493c645e99d405b3.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.71bf187ed4261e06796b527652725708.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.da49be389a65fc5e764c.js
></script><script
type=
text/javascript
src=
./static/js/vendor.ccdd3a2984b37616bc62.js
></script><script
type=
text/javascript
src=
./static/js/app.cdf52f35671a8805ed92.js
></script></body></html>
\ No newline at end of file
dist/static/js/18.4adc5cab6683f7eb6d86.js
deleted
100644 → 0
View file @
5f2b7119
webpackJsonp
([
18
],{
"738z"
:
function
(
t
,
e
,
i
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
i
(
"3Xzz"
),
s
=
i
(
"elmV"
),
n
=
i
(
"P9l9"
),
l
=
i
(
"O3H5"
),
o
=
{
name
:
"employee-io"
,
components
:{
navCrumb
:
a
.
a
,
uploadExcelComponent
:
s
.
a
,
exportSet
:
l
.
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
){
1
==
t
.
errorCode
?(
this
.
fileList
=
[],
this
.
$forceUpdate
(),
this
.
$message
({
message
:
t
.
message
,
type
:
"success"
})):
this
.
$message
.
error
(
t
.
message
)},
submitUpload
:
function
(
t
){
this
.
$refs
[
t
].
submit
()},
handleRemove
:
function
(
t
,
e
){
this
.
fileList
=
[]},
getChange
:
function
(
t
,
e
){
var
i
=
e
.
length
-
1
<
0
?
0
:
e
.
length
-
1
,
a
=
t
.
name
.
lastIndexOf
(
"."
),
s
=
t
.
name
.
substring
(
a
+
1
,
t
.
name
.
length
);
if
(
!
(
s
.
includes
(
"xls"
)
||
s
.
includes
(
"xlsx"
)))
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
,
"on-remove"
:
t
.
handleRemove
}},[
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"
)(
o
,
r
,
!
1
,
function
(
t
){
i
(
"Mx88"
)},
null
,
null
);
e
.
default
=
c
.
exports
},
J8vX
:
function
(
t
,
e
){},
Mx88
:
function
(
t
,
e
){},
O3H5
:
function
(
t
,
e
,
i
){
"use strict"
;
var
a
=
i
(
"mvHQ"
),
s
=
i
.
n
(
a
),
n
=
i
(
"P9l9"
),
l
=
i
(
"DAYN"
),
o
=
{
name
:
"export-set"
,
components
:{
draggable
:
i
.
n
(
l
).
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"
)(
o
,
r
,
!
1
,
function
(
t
){
i
(
"J8vX"
)},
null
,
null
);
e
.
a
=
c
.
exports
}});
\ No newline at end of file
dist/static/js/1
9.0e7d5bb6c1dc4b40bc33
.js
→
dist/static/js/1
8.b449ba7c70672ea4973e
.js
View file @
35fc15c1
webpackJsonp
([
19
],{
"71JE"
:
function
(
t
,
e
){},
CLYF
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"3Xzz"
),
i
=
a
(
"Zx22"
),
s
=
a
(
"Ch4/"
),
o
=
a
(
"PI0u"
),
l
=
a
(
"P9l9"
),
r
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
tableH
:
window
.
screen
.
availHeight
-
464
-
126
+
"px"
,
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"审核中心"
,
path
:
"/unreview"
},{
name
:
"已审核"
,
path
:
""
}],
filterValue
:
"99"
,
filterOptions
:[{
label
:
"已同意"
,
value
:
"1"
},{
label
:
"已拒绝"
,
value
:
"2"
},{
label
:
"已审核"
,
value
:
"99"
}],
searchValue
:
""
,
tableData
:[],
multipleSelection
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
applyInfo
:{},
showStoreDialog
:
!
1
,
storeChangeData
:{}}},
filters
:{
formatTimeYMD
:
function
(
t
){
return
"--"
!=
t
?
t
.
split
(
" "
)[
0
]:
"--"
},
formatTimeHMS
:
function
(
t
){
return
"--"
!=
t
?
t
.
split
(
" "
)[
1
]:
"--"
},
formatNum
:
function
(
t
){
return
(
t
+
""
).
replace
(
/
\d{1,3}(?=(\d{3})
+$
)
/g
,
"$&,"
)}},
computed
:{},
methods
:{
clearSearch
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
searchEnterFun
:
function
(
t
){
if
(
!
String
(
t
.
target
.
value
).
trim
())
return
!
1
;
this
.
currentPage
=
1
,
this
.
getTableList
()},
toggleReason
:
function
(
t
){
t
.
visible
=!
0
,
this
.
tableData
.
forEach
(
function
(
e
,
a
){
e
.
enterpriseAuditingId
!=
t
.
enterpriseAuditingId
&&
(
e
.
visible
=!
1
)})},
handleSelectionChange
:
function
(
t
){
this
.
multipleSelection
=
t
},
handleSizeChange
:
function
(
t
){
this
.
pageSize
=
t
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
t
){
this
.
currentPage
=
t
,
this
.
getTableList
()},
showSingleInfo
:
function
(
t
){},
showStoreChange
:
function
(
t
){
this
.
storeChangeData
=
{
beforeContent
:[],
afterContent
:[]},
this
.
showStoreDialog
=!
0
,
this
.
storeChangeData
=
{
beforeContent
:
""
!=
t
.
beforeContent
?
JSON
.
parse
(
t
.
beforeContent
):[],
afterContent
:
""
!=
t
.
afterContent
?
JSON
.
parse
(
t
.
afterContent
):[]}},
getTableList
:
function
(
t
){
var
e
=
this
;
t
&&
(
e
.
currentPage
=
1
);
var
a
=
{
auditingType
:
""
,
auditingStatus
:
e
.
filterValue
,
search
:
e
.
searchValue
||
""
,
pageNum
:
e
.
currentPage
,
pageSize
:
e
.
pageSize
};
Object
(
l
.
a
)(
"/haoban-manage-web/audit/auditing-list.json"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
a
.
result
&&
a
.
result
.
list
&&
a
.
result
.
list
.
forEach
(
function
(
t
,
e
){
t
.
createTime
&&
(
t
.
createTime
=
Object
(
o
.
c
)(
t
.
createTime
))}),
e
.
tableData
=
a
.
result
.
list
,
void
(
e
.
total
=
a
.
result
.
total
);
s
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
mounted
:
function
(){
this
.
getTableList
()},
components
:{
navCrumb
:
n
.
a
,
storeChange
:
i
.
a
}},
c
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"reviewed-wrap common-set-wrap"
},[
a
(
"nav-crumb"
,{
attrs
:{
navpath
:
t
.
navpath
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"div"
,{
staticClass
:
"right-box"
,
style
:{
"min-height"
:
t
.
$store
.
state
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"reviewed-body-head"
},[
a
(
"el-select"
,{
staticClass
:
"w-130"
,
attrs
:{
placeholder
:
"全部状态"
},
on
:{
change
:
t
.
getTableList
},
model
:{
value
:
t
.
filterValue
,
callback
:
function
(
e
){
t
.
filterValue
=
e
},
expression
:
"filterValue"
}},
t
.
_l
(
t
.
filterOptions
,
function
(
t
){
return
a
(
"el-option"
,{
key
:
t
.
value
,
attrs
:{
label
:
t
.
label
,
value
:
t
.
value
}})})),
a
(
"el-input"
,{
staticClass
:
"w-250 m-l-10"
,
attrs
:{
placeholder
:
"请输入提交人姓名或门店名称"
,
"prefix-icon"
:
"el-icon-search"
,
clearable
:
""
},
on
:{
clear
:
t
.
clearSearch
},
nativeOn
:{
keyup
:
function
(
e
){
return
"button"
in
e
||!
t
.
_k
(
e
.
keyCode
,
"enter"
,
13
,
e
.
key
,
"Enter"
)?
t
.
searchEnterFun
(
e
):
null
}},
model
:{
value
:
t
.
searchValue
,
callback
:
function
(
e
){
t
.
searchValue
=
e
},
expression
:
"searchValue"
}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"reviewed-body-content"
},[
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"审核事项"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
0
==
e
.
row
.
auditingType
?
"门店信息变更"
:
1
==
e
.
row
.
auditingType
?
"新增成员"
:
"成员离职"
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"提交人"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,{
staticClass
:
"flex"
},[
a
(
"el-popover"
,{
attrs
:{
placement
:
"top-start"
,
width
:
"400"
,
trigger
:
"hover"
},
on
:{
show
:
function
(
a
){
t
.
showSingleInfo
(
e
.
row
.
applyId
)}}},[
a
(
"div"
,{
staticClass
:
"apply-info-detail"
},[
a
(
"div"
,{
staticClass
:
"flex"
},[
a
(
"div"
,{
staticClass
:
"apply-info-img flex-align-center flex-pack-center bg-82C5FF "
},[
e
.
row
.
headPic
?
a
(
"img"
,{
attrs
:{
src
:
e
.
row
.
headPic
,
alt
:
"img"
}}):
a
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex flex-column apply-info-right flex-space-between"
},[
a
(
"div"
,{
staticClass
:
"apply-info-name"
},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
applyName
)
+
"
\
n "
),
a
(
"i"
,{
class
:[
2
==
e
.
row
.
sex
?
"icon-xingbienv color-FF585C"
:
"icon-xingbienan color-508CEE"
,
"iconfont"
]})]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apply-info-code"
},[
a
(
"span"
,{
staticClass
:
"w-80"
},[
t
.
_v
(
"员工代码:"
)]),
a
(
"span"
,{
staticClass
:
"w-130"
},[
t
.
_v
(
t
.
_s
(
e
.
row
.
code
))])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apply-info-phone"
},[
a
(
"span"
,{
staticClass
:
"w-80"
},[
t
.
_v
(
"手机号:"
)]),
a
(
"span"
,{
staticClass
:
"w-130"
},[
t
.
_v
(
t
.
_s
(
"86"
==
e
.
row
.
nationcode
?
e
.
row
.
phoneNumber
:
"+"
+
e
.
row
.
nationcode
+
"-"
+
e
.
row
.
phoneNumber
))])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apply-info-job"
},[
a
(
"span"
,{
staticClass
:
"w-80"
},[
t
.
_v
(
"职位:"
)]),
a
(
"span"
,{
staticClass
:
"w-130"
},[
t
.
_v
(
t
.
_s
(
e
.
row
.
positionName
))])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apply-info-store"
},[
a
(
"span"
,{
staticClass
:
"w-80"
},[
t
.
_v
(
"所属门店:"
)]),
a
(
"span"
,{
staticClass
:
"w-130"
},[
t
.
_v
(
t
.
_s
(
e
.
row
.
storeName
))])])])])]),
t
.
_v
(
" "
),
a
(
"div"
,{
attrs
:{
slot
:
"reference"
},
slot
:
"reference"
},[
a
(
"div"
,{
staticClass
:
"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic"
},[
e
.
row
.
headPic
?
a
(
"img"
,{
attrs
:{
src
:
e
.
row
.
headPic
,
alt
:
"img"
}}):
a
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})])])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex flex-column apply-info"
},[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
row
.
applyName
))]),
t
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-13"
},[
t
.
_v
(
t
.
_s
(
e
.
row
.
storeName
))])])],
1
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"详情"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
0
!=
e
.
row
.
auditingType
||
0
==
e
.
row
.
auditingType
&&
1
!=
e
.
row
.
auditingUpdateType
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
row
.
detail
))]):
t
.
_e
(),
t
.
_v
(
" "
),
1
==
e
.
row
.
auditingUpdateType
?
a
(
"div"
,{
staticClass
:
"line-hidden-2"
},[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
row
.
detail
))]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
showStoreChange
(
e
.
row
)}}},[
t
.
_v
(
"查看详情"
)])],
1
):
t
.
_e
()]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"提交时间"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,{
staticClass
:
"line-h-18"
},[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"formatTimeYMD"
)(
e
.
row
.
createTime
)))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"line-h-18"
},[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"formatTimeHMS"
)(
e
.
row
.
createTime
)))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"状态"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,{
class
:[
2
==
e
.
row
.
auditingStatus
?
"color-FF585C"
:
""
]},[
t
.
_v
(
t
.
_s
(
1
==
e
.
row
.
auditingStatus
?
"超级管理员已同意"
:
"超级管理员已拒绝"
))]),
t
.
_v
(
" "
),
a
(
"el-popover"
,{
staticClass
:
"inline-block"
,
attrs
:{
placement
:
"top"
,
width
:
"150"
,
trigger
:
"hover"
}},[
a
(
"div"
,{
staticClass
:
"tooltip-text"
},[
t
.
_v
(
t
.
_s
(
e
.
row
.
refuseReason
))]),
t
.
_v
(
" "
),
a
(
"div"
,{
attrs
:{
slot
:
"reference"
},
slot
:
"reference"
},[
2
==
e
.
row
.
auditingStatus
?
a
(
"i"
,{
staticClass
:
"el-icon-question"
,
on
:{
click
:
function
(
a
){
t
.
toggleReason
(
e
.
row
)}}}):
t
.
_e
()])])]}}])})],
1
),
t
.
_v
(
" "
),
0
!=
t
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
t
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
t
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
t
.
total
},
on
:{
"size-change"
:
t
.
handleSizeChange
,
"current-change"
:
t
.
handleCurrentChange
}})],
1
):
t
.
_e
()],
1
)])]),
t
.
_v
(
" "
),
a
(
"vue-gic-footer"
),
t
.
_v
(
" "
),
a
(
"storeChange"
,{
attrs
:{
storeChangeData
:
t
.
storeChangeData
},
model
:{
value
:
t
.
showStoreDialog
,
callback
:
function
(
e
){
t
.
showStoreDialog
=
e
},
expression
:
"showStoreDialog"
}})],
1
)},
staticRenderFns
:[]};
var
u
=
a
(
"VU/8"
)(
r
,
c
,
!
1
,
function
(
t
){
a
(
"aayb"
)},
"data-v-44a1979f"
,
null
);
e
.
default
=
u
.
exports
},
Zx22
:
function
(
t
,
e
,
a
){
"use strict"
;
var
n
=
{
name
:
"custom-dialog"
,
props
:{
value
:{
type
:
Boolean
,
default
:
!
1
},
storeChangeData
:{
type
:[
Object
,
Array
]}},
data
:
function
(){
return
{
repProjectName
:
"gic-web"
,
customDialog
:
this
.
value
,
leftData
:[],
rightData
:[]}},
methods
:{
handleCardClose
:
function
(){
this
.
customCancel
()},
customCancel
:
function
(){
this
.
customDialog
=!
1
,
this
.
$emit
(
"input"
,
this
.
customDialog
)},
formatDate
:
function
(
t
,
e
){
function
a
(
t
){
return
t
>
9
?
""
+
t
:
"0"
+
t
}
var
n
=
new
Date
(
t
),
i
=
n
.
getFullYear
(),
s
=
n
.
getMonth
()
+
1
,
o
=
n
.
getDate
();
return
i
+
e
+
a
(
s
)
+
e
+
a
(
o
)
+
e
},
handleData
:
function
(){}},
watch
:{
value
:
function
(
t
,
e
){
this
.
customDialog
=
t
},
storeChangeData
:
function
(
t
,
e
){
this
.
leftData
=
t
.
beforeContent
,
this
.
rightData
=
t
.
afterContent
}},
mounted
:
function
(){
this
.
leftData
=
this
.
storeChangeData
.
beforeContent
,
this
.
rightData
=
this
.
storeChangeData
.
afterContent
}},
i
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"custom-dialog-wrap"
},[
a
(
"el-dialog"
,{
attrs
:{
title
:
"门店图片变更"
,
visible
:
t
.
customDialog
,
width
:
"600px"
,
"before-close"
:
t
.
handleCardClose
},
on
:{
"update:visible"
:
function
(
e
){
t
.
customDialog
=
e
}}},[
a
(
"div"
,{
staticClass
:
"dialog-content"
},[
a
(
"el-row"
,[
a
(
"el-col"
,{
attrs
:{
span
:
11
}},[
a
(
"div"
,{
staticClass
:
"grid-content bg-purple-dark"
},[
t
.
_v
(
"
\
n 变更前
\
n "
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"data-body"
},[
a
(
"div"
,{
staticClass
:
"data-body-content flex flex-column"
},[
t
.
_l
(
t
.
leftData
,
function
(
t
,
e
){
return
[
a
(
"img"
,{
key
:
"img"
+
e
,
attrs
:{
src
:
t
,
alt
:
""
}})]})],
2
)])]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
11
}},[
a
(
"div"
,{
staticClass
:
"grid-content bg-purple-dark"
},[
t
.
_v
(
"
\
n 变更后
\
n "
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"data-body"
},[
a
(
"div"
,{
staticClass
:
"data-body-content flex flex-column"
},[
t
.
_l
(
t
.
rightData
,
function
(
t
,
e
){
return
[
a
(
"img"
,{
key
:
"img0"
+
e
,
attrs
:{
src
:
t
,
alt
:
""
}})]})],
2
)])])],
1
)],
1
)])],
1
)},
staticRenderFns
:[]};
var
s
=
a
(
"VU/8"
)(
n
,
i
,
!
1
,
function
(
t
){
a
(
"71JE"
)},
"data-v-709a6f08"
,
null
);
e
.
a
=
s
.
exports
},
aayb
:
function
(
t
,
e
){}});
\ No newline at end of file
webpackJsonp
([
18
],{
"71JE"
:
function
(
t
,
e
){},
CLYF
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"3Xzz"
),
i
=
a
(
"Zx22"
),
s
=
a
(
"Ch4/"
),
o
=
a
(
"PI0u"
),
l
=
a
(
"P9l9"
),
r
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
tableH
:
window
.
screen
.
availHeight
-
464
-
126
+
"px"
,
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"审核中心"
,
path
:
"/unreview"
},{
name
:
"已审核"
,
path
:
""
}],
filterValue
:
"99"
,
filterOptions
:[{
label
:
"已同意"
,
value
:
"1"
},{
label
:
"已拒绝"
,
value
:
"2"
},{
label
:
"已审核"
,
value
:
"99"
}],
searchValue
:
""
,
tableData
:[],
multipleSelection
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
applyInfo
:{},
showStoreDialog
:
!
1
,
storeChangeData
:{}}},
filters
:{
formatTimeYMD
:
function
(
t
){
return
"--"
!=
t
?
t
.
split
(
" "
)[
0
]:
"--"
},
formatTimeHMS
:
function
(
t
){
return
"--"
!=
t
?
t
.
split
(
" "
)[
1
]:
"--"
},
formatNum
:
function
(
t
){
return
(
t
+
""
).
replace
(
/
\d{1,3}(?=(\d{3})
+$
)
/g
,
"$&,"
)}},
computed
:{},
methods
:{
clearSearch
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
searchEnterFun
:
function
(
t
){
if
(
!
String
(
t
.
target
.
value
).
trim
())
return
!
1
;
this
.
currentPage
=
1
,
this
.
getTableList
()},
toggleReason
:
function
(
t
){
t
.
visible
=!
0
,
this
.
tableData
.
forEach
(
function
(
e
,
a
){
e
.
enterpriseAuditingId
!=
t
.
enterpriseAuditingId
&&
(
e
.
visible
=!
1
)})},
handleSelectionChange
:
function
(
t
){
this
.
multipleSelection
=
t
},
handleSizeChange
:
function
(
t
){
this
.
pageSize
=
t
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
t
){
this
.
currentPage
=
t
,
this
.
getTableList
()},
showSingleInfo
:
function
(
t
){},
showStoreChange
:
function
(
t
){
this
.
storeChangeData
=
{
beforeContent
:[],
afterContent
:[]},
this
.
showStoreDialog
=!
0
,
this
.
storeChangeData
=
{
beforeContent
:
""
!=
t
.
beforeContent
?
JSON
.
parse
(
t
.
beforeContent
):[],
afterContent
:
""
!=
t
.
afterContent
?
JSON
.
parse
(
t
.
afterContent
):[]}},
getTableList
:
function
(
t
){
var
e
=
this
;
t
&&
(
e
.
currentPage
=
1
);
var
a
=
{
auditingType
:
""
,
auditingStatus
:
e
.
filterValue
,
search
:
e
.
searchValue
||
""
,
pageNum
:
e
.
currentPage
,
pageSize
:
e
.
pageSize
};
Object
(
l
.
a
)(
"/haoban-manage-web/audit/auditing-list.json"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
a
.
result
&&
a
.
result
.
list
&&
a
.
result
.
list
.
forEach
(
function
(
t
,
e
){
t
.
createTime
&&
(
t
.
createTime
=
Object
(
o
.
c
)(
t
.
createTime
))}),
e
.
tableData
=
a
.
result
.
list
,
void
(
e
.
total
=
a
.
result
.
total
);
s
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
mounted
:
function
(){
this
.
getTableList
()},
components
:{
navCrumb
:
n
.
a
,
storeChange
:
i
.
a
}},
c
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"reviewed-wrap common-set-wrap"
},[
a
(
"nav-crumb"
,{
attrs
:{
navpath
:
t
.
navpath
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"div"
,{
staticClass
:
"right-box"
,
style
:{
"min-height"
:
t
.
$store
.
state
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"reviewed-body-head"
},[
a
(
"el-select"
,{
staticClass
:
"w-130"
,
attrs
:{
placeholder
:
"全部状态"
},
on
:{
change
:
t
.
getTableList
},
model
:{
value
:
t
.
filterValue
,
callback
:
function
(
e
){
t
.
filterValue
=
e
},
expression
:
"filterValue"
}},
t
.
_l
(
t
.
filterOptions
,
function
(
t
){
return
a
(
"el-option"
,{
key
:
t
.
value
,
attrs
:{
label
:
t
.
label
,
value
:
t
.
value
}})})),
a
(
"el-input"
,{
staticClass
:
"w-250 m-l-10"
,
attrs
:{
placeholder
:
"请输入提交人姓名或门店名称"
,
"prefix-icon"
:
"el-icon-search"
,
clearable
:
""
},
on
:{
clear
:
t
.
clearSearch
},
nativeOn
:{
keyup
:
function
(
e
){
return
"button"
in
e
||!
t
.
_k
(
e
.
keyCode
,
"enter"
,
13
,
e
.
key
,
"Enter"
)?
t
.
searchEnterFun
(
e
):
null
}},
model
:{
value
:
t
.
searchValue
,
callback
:
function
(
e
){
t
.
searchValue
=
e
},
expression
:
"searchValue"
}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"reviewed-body-content"
},[
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"审核事项"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
0
==
e
.
row
.
auditingType
?
"门店信息变更"
:
1
==
e
.
row
.
auditingType
?
"新增成员"
:
"成员离职"
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"提交人"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,{
staticClass
:
"flex"
},[
a
(
"el-popover"
,{
attrs
:{
placement
:
"top-start"
,
width
:
"400"
,
trigger
:
"hover"
},
on
:{
show
:
function
(
a
){
t
.
showSingleInfo
(
e
.
row
.
applyId
)}}},[
a
(
"div"
,{
staticClass
:
"apply-info-detail"
},[
a
(
"div"
,{
staticClass
:
"flex"
},[
a
(
"div"
,{
staticClass
:
"apply-info-img flex-align-center flex-pack-center bg-82C5FF "
},[
e
.
row
.
headPic
?
a
(
"img"
,{
attrs
:{
src
:
e
.
row
.
headPic
,
alt
:
"img"
}}):
a
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex flex-column apply-info-right flex-space-between"
},[
a
(
"div"
,{
staticClass
:
"apply-info-name"
},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
applyName
)
+
"
\
n "
),
a
(
"i"
,{
class
:[
2
==
e
.
row
.
sex
?
"icon-xingbienv color-FF585C"
:
"icon-xingbienan color-508CEE"
,
"iconfont"
]})]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apply-info-code"
},[
a
(
"span"
,{
staticClass
:
"w-80"
},[
t
.
_v
(
"员工代码:"
)]),
a
(
"span"
,{
staticClass
:
"w-130"
},[
t
.
_v
(
t
.
_s
(
e
.
row
.
code
))])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apply-info-phone"
},[
a
(
"span"
,{
staticClass
:
"w-80"
},[
t
.
_v
(
"手机号:"
)]),
a
(
"span"
,{
staticClass
:
"w-130"
},[
t
.
_v
(
t
.
_s
(
"86"
==
e
.
row
.
nationcode
?
e
.
row
.
phoneNumber
:
"+"
+
e
.
row
.
nationcode
+
"-"
+
e
.
row
.
phoneNumber
))])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apply-info-job"
},[
a
(
"span"
,{
staticClass
:
"w-80"
},[
t
.
_v
(
"职位:"
)]),
a
(
"span"
,{
staticClass
:
"w-130"
},[
t
.
_v
(
t
.
_s
(
e
.
row
.
positionName
))])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apply-info-store"
},[
a
(
"span"
,{
staticClass
:
"w-80"
},[
t
.
_v
(
"所属门店:"
)]),
a
(
"span"
,{
staticClass
:
"w-130"
},[
t
.
_v
(
t
.
_s
(
e
.
row
.
storeName
))])])])])]),
t
.
_v
(
" "
),
a
(
"div"
,{
attrs
:{
slot
:
"reference"
},
slot
:
"reference"
},[
a
(
"div"
,{
staticClass
:
"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic"
},[
e
.
row
.
headPic
?
a
(
"img"
,{
attrs
:{
src
:
e
.
row
.
headPic
,
alt
:
"img"
}}):
a
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})])])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex flex-column apply-info"
},[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
row
.
applyName
))]),
t
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-13"
},[
t
.
_v
(
t
.
_s
(
e
.
row
.
storeName
))])])],
1
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"详情"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
0
!=
e
.
row
.
auditingType
||
0
==
e
.
row
.
auditingType
&&
1
!=
e
.
row
.
auditingUpdateType
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
row
.
detail
))]):
t
.
_e
(),
t
.
_v
(
" "
),
1
==
e
.
row
.
auditingUpdateType
?
a
(
"div"
,{
staticClass
:
"line-hidden-2"
},[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
row
.
detail
))]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
showStoreChange
(
e
.
row
)}}},[
t
.
_v
(
"查看详情"
)])],
1
):
t
.
_e
()]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"提交时间"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,{
staticClass
:
"line-h-18"
},[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"formatTimeYMD"
)(
e
.
row
.
createTime
)))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"line-h-18"
},[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"formatTimeHMS"
)(
e
.
row
.
createTime
)))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"状态"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,{
class
:[
2
==
e
.
row
.
auditingStatus
?
"color-FF585C"
:
""
]},[
t
.
_v
(
t
.
_s
(
1
==
e
.
row
.
auditingStatus
?
"超级管理员已同意"
:
"超级管理员已拒绝"
))]),
t
.
_v
(
" "
),
a
(
"el-popover"
,{
staticClass
:
"inline-block"
,
attrs
:{
placement
:
"top"
,
width
:
"150"
,
trigger
:
"hover"
}},[
a
(
"div"
,{
staticClass
:
"tooltip-text"
},[
t
.
_v
(
t
.
_s
(
e
.
row
.
refuseReason
))]),
t
.
_v
(
" "
),
a
(
"div"
,{
attrs
:{
slot
:
"reference"
},
slot
:
"reference"
},[
2
==
e
.
row
.
auditingStatus
?
a
(
"i"
,{
staticClass
:
"el-icon-question"
,
on
:{
click
:
function
(
a
){
t
.
toggleReason
(
e
.
row
)}}}):
t
.
_e
()])])]}}])})],
1
),
t
.
_v
(
" "
),
0
!=
t
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
t
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
t
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
t
.
total
},
on
:{
"size-change"
:
t
.
handleSizeChange
,
"current-change"
:
t
.
handleCurrentChange
}})],
1
):
t
.
_e
()],
1
)])]),
t
.
_v
(
" "
),
a
(
"vue-gic-footer"
),
t
.
_v
(
" "
),
a
(
"storeChange"
,{
attrs
:{
storeChangeData
:
t
.
storeChangeData
},
model
:{
value
:
t
.
showStoreDialog
,
callback
:
function
(
e
){
t
.
showStoreDialog
=
e
},
expression
:
"showStoreDialog"
}})],
1
)},
staticRenderFns
:[]};
var
u
=
a
(
"VU/8"
)(
r
,
c
,
!
1
,
function
(
t
){
a
(
"aayb"
)},
"data-v-44a1979f"
,
null
);
e
.
default
=
u
.
exports
},
Zx22
:
function
(
t
,
e
,
a
){
"use strict"
;
var
n
=
{
name
:
"custom-dialog"
,
props
:{
value
:{
type
:
Boolean
,
default
:
!
1
},
storeChangeData
:{
type
:[
Object
,
Array
]}},
data
:
function
(){
return
{
repProjectName
:
"gic-web"
,
customDialog
:
this
.
value
,
leftData
:[],
rightData
:[]}},
methods
:{
handleCardClose
:
function
(){
this
.
customCancel
()},
customCancel
:
function
(){
this
.
customDialog
=!
1
,
this
.
$emit
(
"input"
,
this
.
customDialog
)},
formatDate
:
function
(
t
,
e
){
function
a
(
t
){
return
t
>
9
?
""
+
t
:
"0"
+
t
}
var
n
=
new
Date
(
t
),
i
=
n
.
getFullYear
(),
s
=
n
.
getMonth
()
+
1
,
o
=
n
.
getDate
();
return
i
+
e
+
a
(
s
)
+
e
+
a
(
o
)
+
e
},
handleData
:
function
(){}},
watch
:{
value
:
function
(
t
,
e
){
this
.
customDialog
=
t
},
storeChangeData
:
function
(
t
,
e
){
this
.
leftData
=
t
.
beforeContent
,
this
.
rightData
=
t
.
afterContent
}},
mounted
:
function
(){
this
.
leftData
=
this
.
storeChangeData
.
beforeContent
,
this
.
rightData
=
this
.
storeChangeData
.
afterContent
}},
i
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"custom-dialog-wrap"
},[
a
(
"el-dialog"
,{
attrs
:{
title
:
"门店图片变更"
,
visible
:
t
.
customDialog
,
width
:
"600px"
,
"before-close"
:
t
.
handleCardClose
},
on
:{
"update:visible"
:
function
(
e
){
t
.
customDialog
=
e
}}},[
a
(
"div"
,{
staticClass
:
"dialog-content"
},[
a
(
"el-row"
,[
a
(
"el-col"
,{
attrs
:{
span
:
11
}},[
a
(
"div"
,{
staticClass
:
"grid-content bg-purple-dark"
},[
t
.
_v
(
"
\
n 变更前
\
n "
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"data-body"
},[
a
(
"div"
,{
staticClass
:
"data-body-content flex flex-column"
},[
t
.
_l
(
t
.
leftData
,
function
(
t
,
e
){
return
[
a
(
"img"
,{
key
:
"img"
+
e
,
attrs
:{
src
:
t
,
alt
:
""
}})]})],
2
)])]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
11
}},[
a
(
"div"
,{
staticClass
:
"grid-content bg-purple-dark"
},[
t
.
_v
(
"
\
n 变更后
\
n "
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"data-body"
},[
a
(
"div"
,{
staticClass
:
"data-body-content flex flex-column"
},[
t
.
_l
(
t
.
rightData
,
function
(
t
,
e
){
return
[
a
(
"img"
,{
key
:
"img0"
+
e
,
attrs
:{
src
:
t
,
alt
:
""
}})]})],
2
)])])],
1
)],
1
)])],
1
)},
staticRenderFns
:[]};
var
s
=
a
(
"VU/8"
)(
n
,
i
,
!
1
,
function
(
t
){
a
(
"71JE"
)},
"data-v-709a6f08"
,
null
);
e
.
a
=
s
.
exports
},
aayb
:
function
(
t
,
e
){}});
\ No newline at end of file
dist/static/js/
20.6be27d5ec89f8a1c293b
.js
→
dist/static/js/
19.ed7c8c2a7a2a9998f36c
.js
View file @
35fc15c1
webpackJsonp
([
20
],{
"27o1"
:
function
(
e
,
t
,
r
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
n
=
r
(
"3Xzz"
),
o
=
{
name
:
"add-clerk-page"
,
components
:{
clerkInfo
:
r
(
"oncj"
).
a
,
navCrumb
:
n
.
a
},
data
:
function
(){
return
{
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"企业通讯录"
,
path
:
"/administrativeFrame"
},{
name
:
"门店架构"
,
path
:
"/storeFrame"
},{
name
:
"新增店员"
,
path
:
""
}],
isAddnew
:
!
1
,
firstLevelId
:
""
,
storeType
:
""
,
gicFlag
:
!
(
!
this
.
$route
.
query
.
gicFlag
||
"false"
==
this
.
$route
.
query
.
gicFlag
)}},
beforeMount
:
function
(){
this
.
firstLevelId
=
this
.
$route
.
query
.
firstLevelId
,
this
.
storeType
=
this
.
$route
.
query
.
type
,
this
.
$route
.
query
.
clerkId
?(
this
.
isAddnew
=!
1
,
this
.
navpath
[
3
].
name
=
"编辑店员"
):
this
.
isAddnew
=!
0
}},
a
=
{
render
:
function
(){
var
e
=
this
.
$createElement
,
t
=
this
.
_self
.
_c
||
e
;
return
t
(
"div"
,{
staticClass
:
"common-set-wrap add-clerk-wrap"
},[
t
(
"nav-crumb"
,{
attrs
:{
navpath
:
this
.
navpath
}}),
this
.
_v
(
" "
),
t
(
"div"
,{
staticClass
:
"right-content"
},[
t
(
"div"
,{
staticClass
:
"right-box"
},[
t
(
"div"
,{
staticClass
:
"add-clerk-page"
},[
t
(
"clerk-info"
,{
attrs
:{
storeType
:
this
.
storeType
,
firstLevelId
:
this
.
firstLevelId
,
isAddnew
:
this
.
isAddnew
,
gicFlag
:
this
.
gicFlag
}})],
1
)])]),
this
.
_v
(
" "
),
t
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
s
=
r
(
"VU/8"
)(
o
,
a
,
!
1
,
function
(
e
){
r
(
"Tb0k"
)},
null
,
null
);
t
.
default
=
s
.
exports
},
Tb0k
:
function
(
e
,
t
){},
oncj
:
function
(
e
,
t
,
r
){
"use strict"
;
var
n
=
r
(
"Ie7z"
),
o
=
r
(
"P9l9"
),
a
=
r
(
"XDyb"
),
s
=
r
(
"T+u5"
),
i
=
r
.
n
(
s
),
l
=
{
name
:
"clerk-info-form"
,
props
:{
isAddnew
:{
type
:
Boolean
,
default
:
!
1
},
perId
:{
type
:[
String
,
Number
],
default
:
""
},
firstLevelId
:{
type
:[
String
,
Number
],
default
:
""
},
storeType
:{
type
:[
String
,
Number
],
default
:
""
},
gicFlag
:{
type
:
Boolean
,
default
:
!
1
}},
components
:{
vueSelectStore
:
n
.
a
,
countryMobile
:
a
.
a
},
data
:
function
(){
var
e
=
this
;
return
{
rules
:{
name
:[{
required
:
!
0
,
message
:
"请输入店员姓名"
,
trigger
:
"blur"
},{
min
:
2
,
max
:
10
,
message
:
"长度在 2 到 10 个字符"
,
trigger
:
"blur"
}],
phoneNumber
:[{
required
:
!
0
,
validator
:
function
(
t
,
r
,
n
){
if
(
!
r
)
return
n
(
new
Error
(
"请输入手机号"
));
var
o
=
new
i
.
a
(
"+"
+
e
.
clerkInfo
.
nationcode
+
r
);
o
.
isValid
()
&&
o
.
isMobile
()?
n
():
n
(
new
Error
(
"手机号格式不正确"
))},
trigger
:
"blur"
}],
storeName
:[{
required
:
!
0
,
message
:
"请选择门店"
,
trigger
:
"change"
}],
code
:[{
required
:
!
0
,
message
:
"请输入code"
,
trigger
:
"blur"
},{
min
:
2
,
max
:
20
,
message
:
"长度在 2 到 20 个字符"
,
trigger
:
"blur"
}],
positionName
:[{
required
:
!
0
,
message
:
"请输入店员职位"
,
trigger
:
"blur"
}]},
clerkInfo
:{
storeName
:
""
,
storeId
:
""
,
managerMode
:
!
1
,
positionName
:
"职员"
,
nationcode
:
"86"
},
treeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
0
,
groupId
:
""
,
storeType
:
""
,
openNextBool
:
!
0
},
defaultList
:[]}},
methods
:{
toInputCode
:
function
(
e
){
var
t
=
this
.
clerkInfo
.
code
;
""
!==
t
&&
(
this
.
clerkInfo
.
code
=
t
.
replace
(
/
[^
A-Za-z0-9
]
+/g
,
""
))},
saveFn
:
function
(
e
){
var
t
=!
0
;
this
.
$refs
.
clerk_info
.
validate
(
function
(
e
){
e
||
(
t
=!
1
)}),
t
&&
this
.
addEmployee
(
this
.
clerkInfo
,
e
)},
callSelector
:
function
(){
this
.
treeSet
.
dialogVisible
=!
0
},
handleSelectedList
:
function
(
e
){
this
.
clerkInfo
.
storeName
=
e
&&
e
.
length
?
e
[
0
].
label
:
""
,
this
.
clerkInfo
.
storeId
=
e
&&
e
.
length
?
e
[
0
].
id
:
""
,
this
.
$forceUpdate
()},
addEmployee
:
function
(
e
,
t
){
var
r
=
this
,
n
=
{
name
:
e
.
name
,
isClerk
:
1
,
phoneNumber
:
e
.
phoneNumber
,
positionName
:
e
.
positionName
,
storeId
:
e
.
storeId
,
managerMode
:
1
*
e
.
managerMode
,
code
:
e
.
code
,
employeeClerkId
:
e
.
employeeClerkId
||
""
,
nationcode
:
e
.
nationcode
},
a
=
r
.
isAddnew
?
"/haoban-manage-web/emp/add"
:
"/haoban-manage-web/emp/update"
;
Object
(
o
.
a
)(
a
,
n
).
then
(
function
(
e
){
1
==
e
.
data
.
errorCode
?(
r
.
$message
.
success
({
message
:
"操作成功"
}),
1
==
t
?(
r
.
clerkInfo
=
{
name
:
""
,
isClerk
:
1
,
phoneNumber
:
""
,
positionName
:
"职员"
,
storeId
:
""
,
managerMode
:
!
1
,
code
:
""
,
nationcode
:
"86"
},
r
.
defaultList
=
[],
r
.
$refs
.
clerk_info
.
resetFields
()):
r
.
$router
.
push
(
"/storeFrame"
)):
r
.
$message
.
error
({
message
:
e
.
data
.
message
})}).
catch
(
function
(
e
){
r
.
$message
.
error
({
message
:
e
.
message
})})},
cancel
:
function
(){
var
e
=
this
;
this
.
$confirm
(
" 是否确认取消,取消后当前页面信息将丢失 ?"
,
"提示"
,{
type
:
"warning"
}).
then
(
function
(){
e
.
$router
.
go
(
-
1
)}).
catch
(
function
(
e
){})},
getClerkInfo
:
function
(){
var
e
=
this
,
t
=
{
id
:
e
.
$route
.
query
.
clerkId
?
e
.
$route
.
query
.
clerkId
:
e
.
perId
};
Object
(
o
.
a
)(
"/haoban-manage-web/emp/findOne"
,
t
).
then
(
function
(
t
){
1
==
t
.
data
.
errorCode
?(
e
.
clerkInfo
=
t
.
data
.
result
,
e
.
defaultList
=
[{
id
:
t
.
data
.
result
.
storeId
,
label
:
t
.
data
.
result
.
storeName
}]):
e
.
$message
.
error
({
message
:
t
.
data
.
message
})}).
catch
(
function
(
t
){
e
.
$message
.
error
({
message
:
t
})})}},
beforeMount
:
function
(){
this
.
treeSet
.
storeType
=
this
.
storeType
,
this
.
treeSet
.
groupId
=
this
.
firstLevelId
,
this
.
isAddnew
||
this
.
getClerkInfo
()},
watch
:{
perId
:
function
(
e
,
t
){
this
.
getClerkInfo
(
e
)}}},
c
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
r
=
e
.
_self
.
_c
||
t
;
return
r
(
"div"
,{
staticClass
:
"form-container bdr-box"
},[
r
(
"el-form"
,{
ref
:
"clerk_info"
,
staticClass
:
"add-clerk-form"
,
attrs
:{
model
:
e
.
clerkInfo
,
rules
:
e
.
rules
,
"label-width"
:
"80px"
}},[
r
(
"el-form-item"
,{
attrs
:{
label
:
"姓名"
,
prop
:
"name"
}},[
r
(
"el-input"
,{
staticClass
:
"clerk-info-input"
,
model
:{
value
:
e
.
clerkInfo
.
name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
clerkInfo
,
"name"
,
t
)},
expression
:
"clerkInfo.name"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"手机号"
,
prop
:
"phoneNumber"
}},[
r
(
"countryMobile"
,{
attrs
:{
inputWidth
:
380
,
nationCode
:
e
.
clerkInfo
.
nationcode
,
holder
:
"请输入手机号"
,
disflag
:
!
e
.
isAddnew
},
on
:{
"update:nationCode"
:
function
(
t
){
e
.
$set
(
e
.
clerkInfo
,
"nationcode"
,
t
)}},
model
:{
value
:
e
.
clerkInfo
.
phoneNumber
,
callback
:
function
(
t
){
e
.
$set
(
e
.
clerkInfo
,
"phoneNumber"
,
t
)},
expression
:
"clerkInfo.phoneNumber"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"门店"
,
prop
:
"storeName"
}},[
r
(
"el-input"
,{
staticClass
:
"clerk-info-input"
,
attrs
:{
disabled
:
!
e
.
isAddnew
},
on
:{
focus
:
e
.
callSelector
},
model
:{
value
:
e
.
clerkInfo
.
storeName
,
callback
:
function
(
t
){
e
.
$set
(
e
.
clerkInfo
,
"storeName"
,
t
)},
expression
:
"clerkInfo.storeName"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"code"
,
prop
:
"code"
}},[
r
(
"el-input"
,{
staticClass
:
"clerk-info-input"
,
attrs
:{
disabled
:
e
.
gicFlag
&&!
e
.
isAddnew
},
on
:{
blur
:
function
(
t
){
return
e
.
toInputCode
(
t
)}},
model
:{
value
:
e
.
clerkInfo
.
code
,
callback
:
function
(
t
){
e
.
$set
(
e
.
clerkInfo
,
"code"
,
t
)},
expression
:
"clerkInfo.code"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"职位"
,
prop
:
"positionName"
}},[
r
(
"el-input"
,{
staticClass
:
"clerk-info-input"
,
model
:{
value
:
e
.
clerkInfo
.
positionName
,
callback
:
function
(
t
){
e
.
$set
(
e
.
clerkInfo
,
"positionName"
,
t
)},
expression
:
"clerkInfo.positionName"
}})],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"btn-box"
},[
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
saveFn
}},[
e
.
_v
(
"保 存"
)]),
e
.
_v
(
" "
),
!
e
.
gicFlag
&&
e
.
isAddnew
?
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
saveFn
(
1
)}}},[
e
.
_v
(
"保存并继续添加"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
gicFlag
?
e
.
_e
():
r
(
"el-button"
,{
on
:{
click
:
e
.
cancel
}},[
e
.
_v
(
"取 消"
)])],
1
),
e
.
_v
(
" "
),
r
(
"vue-select-store"
,{
ref
:
"storeSelector"
,
attrs
:{
selectType
:
"store"
,
defaultList
:
e
.
defaultList
,
treeSet
:
e
.
treeSet
},
on
:{
handleSelectedList
:
e
.
handleSelectedList
}})],
1
)},
staticRenderFns
:[]};
var
d
=
r
(
"VU/8"
)(
l
,
c
,
!
1
,
function
(
e
){
r
(
"sqQd"
)},
null
,
null
);
t
.
a
=
d
.
exports
},
sqQd
:
function
(
e
,
t
){}});
\ No newline at end of file
webpackJsonp
([
19
],{
"27o1"
:
function
(
e
,
t
,
r
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
n
=
r
(
"3Xzz"
),
o
=
{
name
:
"add-clerk-page"
,
components
:{
clerkInfo
:
r
(
"oncj"
).
a
,
navCrumb
:
n
.
a
},
data
:
function
(){
return
{
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"企业通讯录"
,
path
:
"/administrativeFrame"
},{
name
:
"门店架构"
,
path
:
"/storeFrame"
},{
name
:
"新增店员"
,
path
:
""
}],
isAddnew
:
!
1
,
firstLevelId
:
""
,
storeType
:
""
,
gicFlag
:
!
(
!
this
.
$route
.
query
.
gicFlag
||
"false"
==
this
.
$route
.
query
.
gicFlag
)}},
beforeMount
:
function
(){
this
.
firstLevelId
=
this
.
$route
.
query
.
firstLevelId
,
this
.
storeType
=
this
.
$route
.
query
.
type
,
this
.
$route
.
query
.
clerkId
?(
this
.
isAddnew
=!
1
,
this
.
navpath
[
3
].
name
=
"编辑店员"
):
this
.
isAddnew
=!
0
}},
a
=
{
render
:
function
(){
var
e
=
this
.
$createElement
,
t
=
this
.
_self
.
_c
||
e
;
return
t
(
"div"
,{
staticClass
:
"common-set-wrap add-clerk-wrap"
},[
t
(
"nav-crumb"
,{
attrs
:{
navpath
:
this
.
navpath
}}),
this
.
_v
(
" "
),
t
(
"div"
,{
staticClass
:
"right-content"
},[
t
(
"div"
,{
staticClass
:
"right-box"
},[
t
(
"div"
,{
staticClass
:
"add-clerk-page"
},[
t
(
"clerk-info"
,{
attrs
:{
storeType
:
this
.
storeType
,
firstLevelId
:
this
.
firstLevelId
,
isAddnew
:
this
.
isAddnew
,
gicFlag
:
this
.
gicFlag
}})],
1
)])]),
this
.
_v
(
" "
),
t
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
s
=
r
(
"VU/8"
)(
o
,
a
,
!
1
,
function
(
e
){
r
(
"Tb0k"
)},
null
,
null
);
t
.
default
=
s
.
exports
},
Tb0k
:
function
(
e
,
t
){},
oncj
:
function
(
e
,
t
,
r
){
"use strict"
;
var
n
=
r
(
"Ie7z"
),
o
=
r
(
"P9l9"
),
a
=
r
(
"XDyb"
),
s
=
r
(
"T+u5"
),
i
=
r
.
n
(
s
),
l
=
{
name
:
"clerk-info-form"
,
props
:{
isAddnew
:{
type
:
Boolean
,
default
:
!
1
},
perId
:{
type
:[
String
,
Number
],
default
:
""
},
firstLevelId
:{
type
:[
String
,
Number
],
default
:
""
},
storeType
:{
type
:[
String
,
Number
],
default
:
""
},
gicFlag
:{
type
:
Boolean
,
default
:
!
1
}},
components
:{
vueSelectStore
:
n
.
a
,
countryMobile
:
a
.
a
},
data
:
function
(){
var
e
=
this
;
return
{
rules
:{
name
:[{
required
:
!
0
,
message
:
"请输入店员姓名"
,
trigger
:
"blur"
},{
min
:
2
,
max
:
10
,
message
:
"长度在 2 到 10 个字符"
,
trigger
:
"blur"
}],
phoneNumber
:[{
required
:
!
0
,
validator
:
function
(
t
,
r
,
n
){
if
(
!
r
)
return
n
(
new
Error
(
"请输入手机号"
));
var
o
=
new
i
.
a
(
"+"
+
e
.
clerkInfo
.
nationcode
+
r
);
o
.
isValid
()
&&
o
.
isMobile
()?
n
():
n
(
new
Error
(
"手机号格式不正确"
))},
trigger
:
"blur"
}],
storeName
:[{
required
:
!
0
,
message
:
"请选择门店"
,
trigger
:
"change"
}],
code
:[{
required
:
!
0
,
message
:
"请输入code"
,
trigger
:
"blur"
},{
min
:
2
,
max
:
20
,
message
:
"长度在 2 到 20 个字符"
,
trigger
:
"blur"
}],
positionName
:[{
required
:
!
0
,
message
:
"请输入店员职位"
,
trigger
:
"blur"
}]},
clerkInfo
:{
storeName
:
""
,
storeId
:
""
,
managerMode
:
!
1
,
positionName
:
"职员"
,
nationcode
:
"86"
},
treeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
0
,
groupId
:
""
,
storeType
:
""
,
openNextBool
:
!
0
},
defaultList
:[]}},
methods
:{
toInputCode
:
function
(
e
){
var
t
=
this
.
clerkInfo
.
code
;
""
!==
t
&&
(
this
.
clerkInfo
.
code
=
t
.
replace
(
/
[^
A-Za-z0-9
]
+/g
,
""
))},
saveFn
:
function
(
e
){
var
t
=!
0
;
this
.
$refs
.
clerk_info
.
validate
(
function
(
e
){
e
||
(
t
=!
1
)}),
t
&&
this
.
addEmployee
(
this
.
clerkInfo
,
e
)},
callSelector
:
function
(){
this
.
treeSet
.
dialogVisible
=!
0
},
handleSelectedList
:
function
(
e
){
this
.
clerkInfo
.
storeName
=
e
&&
e
.
length
?
e
[
0
].
label
:
""
,
this
.
clerkInfo
.
storeId
=
e
&&
e
.
length
?
e
[
0
].
id
:
""
,
this
.
$forceUpdate
()},
addEmployee
:
function
(
e
,
t
){
var
r
=
this
,
n
=
{
name
:
e
.
name
,
isClerk
:
1
,
phoneNumber
:
e
.
phoneNumber
,
positionName
:
e
.
positionName
,
storeId
:
e
.
storeId
,
managerMode
:
1
*
e
.
managerMode
,
code
:
e
.
code
,
employeeClerkId
:
e
.
employeeClerkId
||
""
,
nationcode
:
e
.
nationcode
},
a
=
r
.
isAddnew
?
"/haoban-manage-web/emp/add"
:
"/haoban-manage-web/emp/update"
;
Object
(
o
.
a
)(
a
,
n
).
then
(
function
(
e
){
1
==
e
.
data
.
errorCode
?(
r
.
$message
.
success
({
message
:
"操作成功"
}),
1
==
t
?(
r
.
clerkInfo
=
{
name
:
""
,
isClerk
:
1
,
phoneNumber
:
""
,
positionName
:
"职员"
,
storeId
:
""
,
managerMode
:
!
1
,
code
:
""
,
nationcode
:
"86"
},
r
.
defaultList
=
[],
r
.
$refs
.
clerk_info
.
resetFields
()):
r
.
$router
.
push
(
"/storeFrame"
)):
r
.
$message
.
error
({
message
:
e
.
data
.
message
})}).
catch
(
function
(
e
){
r
.
$message
.
error
({
message
:
e
.
message
})})},
cancel
:
function
(){
var
e
=
this
;
this
.
$confirm
(
" 是否确认取消,取消后当前页面信息将丢失 ?"
,
"提示"
,{
type
:
"warning"
}).
then
(
function
(){
e
.
$router
.
go
(
-
1
)}).
catch
(
function
(
e
){})},
getClerkInfo
:
function
(){
var
e
=
this
,
t
=
{
id
:
e
.
$route
.
query
.
clerkId
?
e
.
$route
.
query
.
clerkId
:
e
.
perId
};
Object
(
o
.
a
)(
"/haoban-manage-web/emp/findOne"
,
t
).
then
(
function
(
t
){
1
==
t
.
data
.
errorCode
?(
e
.
clerkInfo
=
t
.
data
.
result
,
e
.
defaultList
=
[{
id
:
t
.
data
.
result
.
storeId
,
label
:
t
.
data
.
result
.
storeName
}]):
e
.
$message
.
error
({
message
:
t
.
data
.
message
})}).
catch
(
function
(
t
){
e
.
$message
.
error
({
message
:
t
})})}},
beforeMount
:
function
(){
this
.
treeSet
.
storeType
=
this
.
storeType
,
this
.
treeSet
.
groupId
=
this
.
firstLevelId
,
this
.
isAddnew
||
this
.
getClerkInfo
()},
watch
:{
perId
:
function
(
e
,
t
){
this
.
getClerkInfo
(
e
)}}},
c
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
r
=
e
.
_self
.
_c
||
t
;
return
r
(
"div"
,{
staticClass
:
"form-container bdr-box"
},[
r
(
"el-form"
,{
ref
:
"clerk_info"
,
staticClass
:
"add-clerk-form"
,
attrs
:{
model
:
e
.
clerkInfo
,
rules
:
e
.
rules
,
"label-width"
:
"80px"
}},[
r
(
"el-form-item"
,{
attrs
:{
label
:
"姓名"
,
prop
:
"name"
}},[
r
(
"el-input"
,{
staticClass
:
"clerk-info-input"
,
model
:{
value
:
e
.
clerkInfo
.
name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
clerkInfo
,
"name"
,
t
)},
expression
:
"clerkInfo.name"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"手机号"
,
prop
:
"phoneNumber"
}},[
r
(
"countryMobile"
,{
attrs
:{
inputWidth
:
380
,
nationCode
:
e
.
clerkInfo
.
nationcode
,
holder
:
"请输入手机号"
,
disflag
:
!
e
.
isAddnew
},
on
:{
"update:nationCode"
:
function
(
t
){
e
.
$set
(
e
.
clerkInfo
,
"nationcode"
,
t
)}},
model
:{
value
:
e
.
clerkInfo
.
phoneNumber
,
callback
:
function
(
t
){
e
.
$set
(
e
.
clerkInfo
,
"phoneNumber"
,
t
)},
expression
:
"clerkInfo.phoneNumber"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"门店"
,
prop
:
"storeName"
}},[
r
(
"el-input"
,{
staticClass
:
"clerk-info-input"
,
attrs
:{
disabled
:
!
e
.
isAddnew
},
on
:{
focus
:
e
.
callSelector
},
model
:{
value
:
e
.
clerkInfo
.
storeName
,
callback
:
function
(
t
){
e
.
$set
(
e
.
clerkInfo
,
"storeName"
,
t
)},
expression
:
"clerkInfo.storeName"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"code"
,
prop
:
"code"
}},[
r
(
"el-input"
,{
staticClass
:
"clerk-info-input"
,
attrs
:{
disabled
:
e
.
gicFlag
&&!
e
.
isAddnew
},
on
:{
blur
:
function
(
t
){
return
e
.
toInputCode
(
t
)}},
model
:{
value
:
e
.
clerkInfo
.
code
,
callback
:
function
(
t
){
e
.
$set
(
e
.
clerkInfo
,
"code"
,
t
)},
expression
:
"clerkInfo.code"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"职位"
,
prop
:
"positionName"
}},[
r
(
"el-input"
,{
staticClass
:
"clerk-info-input"
,
model
:{
value
:
e
.
clerkInfo
.
positionName
,
callback
:
function
(
t
){
e
.
$set
(
e
.
clerkInfo
,
"positionName"
,
t
)},
expression
:
"clerkInfo.positionName"
}})],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"btn-box"
},[
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
saveFn
}},[
e
.
_v
(
"保 存"
)]),
e
.
_v
(
" "
),
!
e
.
gicFlag
&&
e
.
isAddnew
?
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
saveFn
(
1
)}}},[
e
.
_v
(
"保存并继续添加"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
gicFlag
?
e
.
_e
():
r
(
"el-button"
,{
on
:{
click
:
e
.
cancel
}},[
e
.
_v
(
"取 消"
)])],
1
),
e
.
_v
(
" "
),
r
(
"vue-select-store"
,{
ref
:
"storeSelector"
,
attrs
:{
selectType
:
"store"
,
defaultList
:
e
.
defaultList
,
treeSet
:
e
.
treeSet
},
on
:{
handleSelectedList
:
e
.
handleSelectedList
}})],
1
)},
staticRenderFns
:[]};
var
d
=
r
(
"VU/8"
)(
l
,
c
,
!
1
,
function
(
e
){
r
(
"sqQd"
)},
null
,
null
);
t
.
a
=
d
.
exports
},
sqQd
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/2
1.b0e7348ff74371924c3b
.js
→
dist/static/js/2
0.d5bc42e9568015f2689e
.js
View file @
35fc15c1
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
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
dist/static/js/21.f03b903110d532587e48.js
0 → 100644
View file @
35fc15c1
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"
),
l
=
i
(
"O3H5"
),
o
=
{
name
:
"employee-io"
,
components
:{
navCrumb
:
a
.
a
,
uploadExcelComponent
:
s
.
a
,
exportSet
:
l
.
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
){
var
i
=
this
;
1
==
t
.
errorCode
?(
i
.
fileList
=
[],
i
.
$forceUpdate
(),
i
.
$message
({
message
:
t
.
message
,
type
:
"success"
}),
i
.
$nextTick
(
function
(){
i
.
fileList
=
[]})):
i
.
$message
.
error
(
t
.
message
)},
submitUpload
:
function
(
t
){
this
.
$refs
[
t
].
submit
()},
handleRemove
:
function
(
t
,
e
){
this
.
fileList
=
[]},
getChange
:
function
(
t
,
e
){
var
i
=
e
.
length
-
1
<
0
?
0
:
e
.
length
-
1
,
a
=
t
.
name
.
lastIndexOf
(
"."
),
s
=
t
.
name
.
substring
(
a
+
1
,
t
.
name
.
length
);
if
(
!
(
s
.
includes
(
"xls"
)
||
s
.
includes
(
"xlsx"
)))
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
,
"on-remove"
:
t
.
handleRemove
}},[
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"
)(
o
,
r
,
!
1
,
function
(
t
){
i
(
"HbFI"
)},
null
,
null
);
e
.
default
=
c
.
exports
},
HbFI
:
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"
),
l
=
i
(
"DAYN"
),
o
=
{
name
:
"export-set"
,
components
:{
draggable
:
i
.
n
(
l
).
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"
)(
o
,
r
,
!
1
,
function
(
t
){
i
(
"J8vX"
)},
null
,
null
);
e
.
a
=
c
.
exports
}});
\ No newline at end of file
dist/static/js/3
6.99a1c3137ade1b2b1a2d
.js
→
dist/static/js/3
5.80267d39d723d4d02341
.js
View file @
35fc15c1
webpackJsonp
([
36
],{
AKQg
:
function
(
t
,
e
){},
cK0D
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
o
=
a
(
"2eFk"
),
n
=
a
(
"Ke24"
),
i
=
a
(
"nsZK"
),
r
=
a
(
"P9l9"
),
s
=
a
(
"PI0u"
),
l
=
a
(
"Ch4/"
),
c
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
activeGroupId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
tableH
:
window
.
screen
.
availHeight
-
464
-
126
,
activeTab
:
"1"
,
activeBrand
:
this
.
brandId
,
activeGroup
:
this
.
activeGroupId
,
activeId
:
"2"
,
topMenuData
:[{
id
:
"1"
,
name
:
"指标管理"
,
path
:
"/monthList?appIcon="
+
this
.
$route
.
query
.
appIcon
},{
id
:
"2"
,
name
:
"月指标任务"
,
path
:
""
}],
showDialog
:
!
1
,
conditionObj
:{
searchInput
:
""
,
storeGroupIds
:[],
storeStatus
:
""
,
dateRange
:[]},
storeStatusOptions
:[{
value
:
""
,
label
:
"所有门店状态"
},{
value
:
"0"
,
label
:
"待审核"
},{
value
:
"1"
,
label
:
"正常"
},{
value
:
"2"
,
label
:
"审核失败"
},{
value
:
"3"
,
label
:
"停业整顿"
},{
value
:
"4"
,
label
:
"回收站"
},{
value
:
"5"
,
label
:
"删除"
}],
selectRadio
:
0
,
tableData
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
appScene
:
2
,
defaultStoreList
:[],
storeTreeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
1
},
loading
:
!
1
}},
computed
:{},
methods
:{
handleCommand
:
function
(
t
){
this
.
selectRadio
=
t
},
setSelectTab
:
function
(
t
){
this
.
activeTab
=
t
.
tabId
},
toInput
:
Object
(
s
.
a
)(
function
(
t
,
e
){
this
.
currentPage
=
1
,
this
.
getTableList
()},
500
),
checkStoreGroupIds
:
function
(
t
){
this
.
currentPage
=
1
,
this
.
conditionObj
.
storeGroupIds
=
t
,
this
.
getTableList
()},
changeStoreStatus
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
changeDate
:
function
(
t
){
t
||
(
this
.
conditionObj
.
dateRange
=
[]),
this
.
currentPage
=
1
,
this
.
getTableList
()},
exportExcel
:
function
(){
var
t
=
this
,
e
=
{
keyword
:
t
.
conditionObj
.
searchInput
,
storeGroupIds
:
t
.
conditionObj
.
storeGroupIds
.
map
(
function
(
t
){
return
t
.
groupId
}).
join
(
","
)
||
""
,
storeStatus
:
t
.
conditionObj
.
storeStatus
,
startDate
:
t
.
conditionObj
.
dateRange
?
t
.
conditionObj
.
dateRange
[
0
]:
""
,
endDate
:
t
.
conditionObj
.
dateRange
?
t
.
conditionObj
.
dateRange
[
1
]:
""
,
brandId
:
t
.
activeBrand
};
Object
(
r
.
b
)(
"/haoban-app-performance-web/performance/export-store-month-performance-task"
,
e
).
then
(
function
(
t
){
if
(
!
t
.
data
)
return
l
.
a
.
errorMsg
(
"暂无数据"
),
!
1
;
var
e
=
new
Blob
([
t
.
data
],{
type
:
"application/vnd.ms-excel"
}),
a
=
document
.
createElement
(
"a"
);
a
.
download
=
"store-month-performance-task.xls"
,
a
.
style
.
display
=
"none"
,
a
.
href
=
URL
.
createObjectURL
(
e
),
document
.
body
.
appendChild
(
a
),
a
.
click
(),
URL
.
revokeObjectURL
(
a
.
href
),
document
.
body
.
removeChild
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handleSizeChange
:
function
(
t
){
this
.
pageSize
=
t
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
t
){
this
.
currentPage
=
t
,
this
.
getTableList
()},
toDetail
:
function
(
t
,
e
){
var
a
=
""
,
o
=
""
;
this
.
conditionObj
.
dateRange
.
length
>
0
&&
(
a
=
this
.
conditionObj
.
dateRange
[
0
],
o
=
this
.
conditionObj
.
dateRange
[
1
]),
this
.
$router
.
push
(
"monthTaskDetail?storeId="
+
e
.
storeId
+
"&startDate="
+
a
+
"&endDate="
+
o
+
"&appIcon="
+
this
.
$route
.
query
.
appIcon
)},
getTableList
:
function
(
t
){
var
e
=
this
;
e
.
loading
=!
0
;
var
a
=
{
keyword
:
e
.
conditionObj
.
searchInput
||
""
,
storeGroupIds
:
e
.
conditionObj
.
storeGroupIds
.
map
(
function
(
t
){
return
t
.
groupId
}).
join
(
","
)
||
""
,
storeStatus
:
e
.
conditionObj
.
storeStatus
||
""
,
startDate
:
e
.
conditionObj
.
dateRange
[
0
]
||
""
,
endDate
:
e
.
conditionObj
.
dateRange
[
1
]
||
""
,
pageNum
:
e
.
currentPage
,
pageSize
:
e
.
pageSize
,
brandId
:
e
.
activeBrand
};
Object
(
r
.
a
)(
"/haoban-app-performance-web/performance/query-store-month-performance-task"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
e
.
loading
=!
1
,
1
==
a
.
errorCode
)
return
e
.
tableData
=
a
.
result
.
list
||
[],
e
.
total
=
a
.
result
.
pageInfo
.
total
,
!
1
;
l
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
brandId
:
function
(
t
,
e
){
t
&&
(
this
.
activeBrand
=
t
,
this
.
getTableList
())},
activeGroupId
:
function
(
t
,
e
){
t
&&
(
this
.
activeGroup
=
t
)}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
$emit
(
"showTab"
,
"13"
),
this
.
activeBrand
=
this
.
brandId
,
this
.
activeGroup
=
this
.
activeGroupId
,
this
.
brandId
&&
this
.
getTableList
()},
destroyed
:
function
(){
this
.
activeGroup
=
""
,
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
o
.
a
,
commonDetailTop
:
n
.
a
,
storeTreeSelect
:
i
.
a
}},
d
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"daily-set-wrap common-right-wrap"
},[
a
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
t
.
topMenuData
,
activeId
:
t
.
activeId
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"daily-set-content boder-box"
},[
a
(
"div"
,{
staticClass
:
"table-condition flex flex-space-between m-b-23"
},[
a
(
"div"
,{
staticClass
:
"table-condition-left"
},[
a
(
"el-input"
,{
staticClass
:
"w-264"
,
staticStyle
:{
width
:
"264px"
},
attrs
:{
placeholder
:
"请输入门店名称/code"
},
nativeOn
:{
keyup
:
function
(
e
){
return
a
=
e
,
t
.
toInput
(
a
,
t
.
conditionObj
.
searchInput
);
var
a
}},
model
:{
value
:
t
.
conditionObj
.
searchInput
,
callback
:
function
(
e
){
t
.
$set
(
t
.
conditionObj
,
"searchInput"
,
e
)},
expression
:
"conditionObj.searchInput"
}},[
a
(
"i"
,{
staticClass
:
"el-input__icon el-icon-search"
,
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
})]),
t
.
_v
(
" "
),
a
(
"el-select"
,{
staticClass
:
"w-130 m-l-10"
,
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
t
.
changeStoreStatus
},
model
:{
value
:
t
.
conditionObj
.
storeStatus
,
callback
:
function
(
e
){
t
.
$set
(
t
.
conditionObj
,
"storeStatus"
,
e
)},
expression
:
"conditionObj.storeStatus"
}},
t
.
_l
(
t
.
storeStatusOptions
,
function
(
t
){
return
a
(
"el-option"
,{
key
:
t
.
value
,
attrs
:{
label
:
t
.
label
,
value
:
t
.
value
}})})),
t
.
_v
(
" "
),
a
(
"store-tree-select"
,{
attrs
:{
brandId
:
t
.
brandId
,
activeGroupId
:
t
.
activeGroupId
},
on
:{
checkStoreGroupIds
:
t
.
checkStoreGroupIds
}}),
t
.
_v
(
" "
),
a
(
"el-date-picker"
,{
staticClass
:
"m-l-10"
,
staticStyle
:{
width
:
"310px"
},
attrs
:{
editable
:
!
1
,
"value-format"
:
"yyyy-MM"
,
type
:
"monthrange"
,
align
:
"right"
,
"unlink-panels"
:
""
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始月份"
,
"end-placeholder"
:
"结束月份"
},
on
:{
change
:
t
.
changeDate
},
model
:{
value
:
t
.
conditionObj
.
dateRange
,
callback
:
function
(
e
){
t
.
$set
(
t
.
conditionObj
,
"dateRange"
,
e
)},
expression
:
"conditionObj.dateRange"
}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"table-condition-right"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
exportExcel
}},[
a
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai p-r-6"
}),
t
.
_v
(
"导出"
)])],
1
)]),
t
.
_v
(
" "
),
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
t
.
loading
,
expression
:
"loading"
}],
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
,
minHeight
:
t
.
tableH
},
attrs
:{
data
:
t
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"storeName"
,
label
:
"门店名称"
,
"show-overflow-tooltip"
:
""
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"taskCount"
,
label
:
"任务总数"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"completedCount"
,
label
:
"已完成(含放弃)"
,
"show-overflow-tooltip"
:
""
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"completedRate"
,
label
:
"完成率(含放弃)"
,
"show-overflow-tooltip"
:
""
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"noCompletedCount"
,
label
:
"待完成"
,
"show-overflow-tooltip"
:
""
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"overdueCount"
,
label
:
"逾期中"
,
"show-overflow-tooltip"
:
""
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
width
:
"100"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
t
.
toDetail
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"查看详情"
)])]}}])})],
1
),
t
.
_v
(
" "
),
0
!=
t
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
t
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
t
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
t
.
total
},
on
:{
"size-change"
:
t
.
handleSizeChange
,
"current-change"
:
t
.
handleCurrentChange
}})],
1
):
t
.
_e
()],
1
)],
1
)},
staticRenderFns
:[]};
var
u
=
a
(
"VU/8"
)(
c
,
d
,
!
1
,
function
(
t
){
a
(
"AKQg"
)},
"data-v-cbdb6fc6"
,
null
);
e
.
default
=
u
.
exports
}});
\ No newline at end of file
webpackJsonp
([
35
],{
AKQg
:
function
(
t
,
e
){},
cK0D
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
o
=
a
(
"2eFk"
),
n
=
a
(
"Ke24"
),
i
=
a
(
"nsZK"
),
r
=
a
(
"P9l9"
),
s
=
a
(
"PI0u"
),
l
=
a
(
"Ch4/"
),
c
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
activeGroupId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
tableH
:
window
.
screen
.
availHeight
-
464
-
126
,
activeTab
:
"1"
,
activeBrand
:
this
.
brandId
,
activeGroup
:
this
.
activeGroupId
,
activeId
:
"2"
,
topMenuData
:[{
id
:
"1"
,
name
:
"指标管理"
,
path
:
"/monthList?appIcon="
+
this
.
$route
.
query
.
appIcon
},{
id
:
"2"
,
name
:
"月指标任务"
,
path
:
""
}],
showDialog
:
!
1
,
conditionObj
:{
searchInput
:
""
,
storeGroupIds
:[],
storeStatus
:
""
,
dateRange
:[]},
storeStatusOptions
:[{
value
:
""
,
label
:
"所有门店状态"
},{
value
:
"0"
,
label
:
"待审核"
},{
value
:
"1"
,
label
:
"正常"
},{
value
:
"2"
,
label
:
"审核失败"
},{
value
:
"3"
,
label
:
"停业整顿"
},{
value
:
"4"
,
label
:
"回收站"
},{
value
:
"5"
,
label
:
"删除"
}],
selectRadio
:
0
,
tableData
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
appScene
:
2
,
defaultStoreList
:[],
storeTreeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
1
},
loading
:
!
1
}},
computed
:{},
methods
:{
handleCommand
:
function
(
t
){
this
.
selectRadio
=
t
},
setSelectTab
:
function
(
t
){
this
.
activeTab
=
t
.
tabId
},
toInput
:
Object
(
s
.
a
)(
function
(
t
,
e
){
this
.
currentPage
=
1
,
this
.
getTableList
()},
500
),
checkStoreGroupIds
:
function
(
t
){
this
.
currentPage
=
1
,
this
.
conditionObj
.
storeGroupIds
=
t
,
this
.
getTableList
()},
changeStoreStatus
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
changeDate
:
function
(
t
){
t
||
(
this
.
conditionObj
.
dateRange
=
[]),
this
.
currentPage
=
1
,
this
.
getTableList
()},
exportExcel
:
function
(){
var
t
=
this
,
e
=
{
keyword
:
t
.
conditionObj
.
searchInput
,
storeGroupIds
:
t
.
conditionObj
.
storeGroupIds
.
map
(
function
(
t
){
return
t
.
groupId
}).
join
(
","
)
||
""
,
storeStatus
:
t
.
conditionObj
.
storeStatus
,
startDate
:
t
.
conditionObj
.
dateRange
?
t
.
conditionObj
.
dateRange
[
0
]:
""
,
endDate
:
t
.
conditionObj
.
dateRange
?
t
.
conditionObj
.
dateRange
[
1
]:
""
,
brandId
:
t
.
activeBrand
};
Object
(
r
.
b
)(
"/haoban-app-performance-web/performance/export-store-month-performance-task"
,
e
).
then
(
function
(
t
){
if
(
!
t
.
data
)
return
l
.
a
.
errorMsg
(
"暂无数据"
),
!
1
;
var
e
=
new
Blob
([
t
.
data
],{
type
:
"application/vnd.ms-excel"
}),
a
=
document
.
createElement
(
"a"
);
a
.
download
=
"store-month-performance-task.xls"
,
a
.
style
.
display
=
"none"
,
a
.
href
=
URL
.
createObjectURL
(
e
),
document
.
body
.
appendChild
(
a
),
a
.
click
(),
URL
.
revokeObjectURL
(
a
.
href
),
document
.
body
.
removeChild
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handleSizeChange
:
function
(
t
){
this
.
pageSize
=
t
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
t
){
this
.
currentPage
=
t
,
this
.
getTableList
()},
toDetail
:
function
(
t
,
e
){
var
a
=
""
,
o
=
""
;
this
.
conditionObj
.
dateRange
.
length
>
0
&&
(
a
=
this
.
conditionObj
.
dateRange
[
0
],
o
=
this
.
conditionObj
.
dateRange
[
1
]),
this
.
$router
.
push
(
"monthTaskDetail?storeId="
+
e
.
storeId
+
"&startDate="
+
a
+
"&endDate="
+
o
+
"&appIcon="
+
this
.
$route
.
query
.
appIcon
)},
getTableList
:
function
(
t
){
var
e
=
this
;
e
.
loading
=!
0
;
var
a
=
{
keyword
:
e
.
conditionObj
.
searchInput
||
""
,
storeGroupIds
:
e
.
conditionObj
.
storeGroupIds
.
map
(
function
(
t
){
return
t
.
groupId
}).
join
(
","
)
||
""
,
storeStatus
:
e
.
conditionObj
.
storeStatus
||
""
,
startDate
:
e
.
conditionObj
.
dateRange
[
0
]
||
""
,
endDate
:
e
.
conditionObj
.
dateRange
[
1
]
||
""
,
pageNum
:
e
.
currentPage
,
pageSize
:
e
.
pageSize
,
brandId
:
e
.
activeBrand
};
Object
(
r
.
a
)(
"/haoban-app-performance-web/performance/query-store-month-performance-task"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
e
.
loading
=!
1
,
1
==
a
.
errorCode
)
return
e
.
tableData
=
a
.
result
.
list
||
[],
e
.
total
=
a
.
result
.
pageInfo
.
total
,
!
1
;
l
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
brandId
:
function
(
t
,
e
){
t
&&
(
this
.
activeBrand
=
t
,
this
.
getTableList
())},
activeGroupId
:
function
(
t
,
e
){
t
&&
(
this
.
activeGroup
=
t
)}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
$emit
(
"showTab"
,
"13"
),
this
.
activeBrand
=
this
.
brandId
,
this
.
activeGroup
=
this
.
activeGroupId
,
this
.
brandId
&&
this
.
getTableList
()},
destroyed
:
function
(){
this
.
activeGroup
=
""
,
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
o
.
a
,
commonDetailTop
:
n
.
a
,
storeTreeSelect
:
i
.
a
}},
d
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"daily-set-wrap common-right-wrap"
},[
a
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
t
.
topMenuData
,
activeId
:
t
.
activeId
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"daily-set-content boder-box"
},[
a
(
"div"
,{
staticClass
:
"table-condition flex flex-space-between m-b-23"
},[
a
(
"div"
,{
staticClass
:
"table-condition-left"
},[
a
(
"el-input"
,{
staticClass
:
"w-264"
,
staticStyle
:{
width
:
"264px"
},
attrs
:{
placeholder
:
"请输入门店名称/code"
},
nativeOn
:{
keyup
:
function
(
e
){
return
a
=
e
,
t
.
toInput
(
a
,
t
.
conditionObj
.
searchInput
);
var
a
}},
model
:{
value
:
t
.
conditionObj
.
searchInput
,
callback
:
function
(
e
){
t
.
$set
(
t
.
conditionObj
,
"searchInput"
,
e
)},
expression
:
"conditionObj.searchInput"
}},[
a
(
"i"
,{
staticClass
:
"el-input__icon el-icon-search"
,
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
})]),
t
.
_v
(
" "
),
a
(
"el-select"
,{
staticClass
:
"w-130 m-l-10"
,
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
t
.
changeStoreStatus
},
model
:{
value
:
t
.
conditionObj
.
storeStatus
,
callback
:
function
(
e
){
t
.
$set
(
t
.
conditionObj
,
"storeStatus"
,
e
)},
expression
:
"conditionObj.storeStatus"
}},
t
.
_l
(
t
.
storeStatusOptions
,
function
(
t
){
return
a
(
"el-option"
,{
key
:
t
.
value
,
attrs
:{
label
:
t
.
label
,
value
:
t
.
value
}})})),
t
.
_v
(
" "
),
a
(
"store-tree-select"
,{
attrs
:{
brandId
:
t
.
brandId
,
activeGroupId
:
t
.
activeGroupId
},
on
:{
checkStoreGroupIds
:
t
.
checkStoreGroupIds
}}),
t
.
_v
(
" "
),
a
(
"el-date-picker"
,{
staticClass
:
"m-l-10"
,
staticStyle
:{
width
:
"310px"
},
attrs
:{
editable
:
!
1
,
"value-format"
:
"yyyy-MM"
,
type
:
"monthrange"
,
align
:
"right"
,
"unlink-panels"
:
""
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始月份"
,
"end-placeholder"
:
"结束月份"
},
on
:{
change
:
t
.
changeDate
},
model
:{
value
:
t
.
conditionObj
.
dateRange
,
callback
:
function
(
e
){
t
.
$set
(
t
.
conditionObj
,
"dateRange"
,
e
)},
expression
:
"conditionObj.dateRange"
}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"table-condition-right"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
exportExcel
}},[
a
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai p-r-6"
}),
t
.
_v
(
"导出"
)])],
1
)]),
t
.
_v
(
" "
),
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
t
.
loading
,
expression
:
"loading"
}],
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
,
minHeight
:
t
.
tableH
},
attrs
:{
data
:
t
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"storeName"
,
label
:
"门店名称"
,
"show-overflow-tooltip"
:
""
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"taskCount"
,
label
:
"任务总数"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"completedCount"
,
label
:
"已完成(含放弃)"
,
"show-overflow-tooltip"
:
""
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"completedRate"
,
label
:
"完成率(含放弃)"
,
"show-overflow-tooltip"
:
""
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"noCompletedCount"
,
label
:
"待完成"
,
"show-overflow-tooltip"
:
""
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"overdueCount"
,
label
:
"逾期中"
,
"show-overflow-tooltip"
:
""
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
width
:
"100"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
t
.
toDetail
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"查看详情"
)])]}}])})],
1
),
t
.
_v
(
" "
),
0
!=
t
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
t
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
t
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
t
.
total
},
on
:{
"size-change"
:
t
.
handleSizeChange
,
"current-change"
:
t
.
handleCurrentChange
}})],
1
):
t
.
_e
()],
1
)],
1
)},
staticRenderFns
:[]};
var
u
=
a
(
"VU/8"
)(
c
,
d
,
!
1
,
function
(
t
){
a
(
"AKQg"
)},
"data-v-cbdb6fc6"
,
null
);
e
.
default
=
u
.
exports
}});
\ No newline at end of file
dist/static/js/3
7.9e050e6e5ae12e825639
.js
→
dist/static/js/3
6.706cf2b1fed575cc2e7b
.js
View file @
35fc15c1
webpackJsonp
([
37
],{
Thti
:
function
(
t
,
e
){},
t0b0
:
function
(
t
,
e
,
i
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
{
name
:
"select-com"
,
props
:{
childItem
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}},
methods
:{
getZhLen
:
function
(
t
){
for
(
var
e
=
0
,
i
=
0
;
i
<
t
.
length
;
i
++
){
null
!=
t
.
charAt
(
i
).
match
(
/
[^\x
00-
\x
ff
]
/gi
)?
e
+=
1
:
e
+=
.
5
}
return
Math
.
ceil
(
e
)}}},
r
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"div"
,[
i
(
"div"
,{
class
:[
"opencard-item-title"
,
t
.
getZhLen
(
t
.
childItem
.
title
)
>=
6
?
"title-pre-wrap"
:
""
]},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
title
))]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"draged-item-show"
},[
i
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag select-flag"
},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
placeholder
)
+
" "
+
t
.
_s
(
t
.
childItem
.
isMust
?
"(必填)"
:
""
)
+
" "
),
i
(
"i"
,{
staticClass
:
"el-icon-arrow-right"
})])])])},
staticRenderFns
:[]};
var
s
=
i
(
"VU/8"
)(
a
,
r
,
!
1
,
function
(
t
){
i
(
"Thti"
)},
"data-v-bb9f953c"
,
null
);
e
.
default
=
s
.
exports
}});
\ No newline at end of file
webpackJsonp
([
36
],{
Thti
:
function
(
t
,
e
){},
t0b0
:
function
(
t
,
e
,
i
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
{
name
:
"select-com"
,
props
:{
childItem
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}},
methods
:{
getZhLen
:
function
(
t
){
for
(
var
e
=
0
,
i
=
0
;
i
<
t
.
length
;
i
++
){
null
!=
t
.
charAt
(
i
).
match
(
/
[^\x
00-
\x
ff
]
/gi
)?
e
+=
1
:
e
+=
.
5
}
return
Math
.
ceil
(
e
)}}},
r
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"div"
,[
i
(
"div"
,{
class
:[
"opencard-item-title"
,
t
.
getZhLen
(
t
.
childItem
.
title
)
>=
6
?
"title-pre-wrap"
:
""
]},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
title
))]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"draged-item-show"
},[
i
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag select-flag"
},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
placeholder
)
+
" "
+
t
.
_s
(
t
.
childItem
.
isMust
?
"(必填)"
:
""
)
+
" "
),
i
(
"i"
,{
staticClass
:
"el-icon-arrow-right"
})])])])},
staticRenderFns
:[]};
var
s
=
i
(
"VU/8"
)(
a
,
r
,
!
1
,
function
(
t
){
i
(
"Thti"
)},
"data-v-bb9f953c"
,
null
);
e
.
default
=
s
.
exports
}});
\ No newline at end of file
dist/static/js/3
8.7da020455236ec9cc0e6
.js
→
dist/static/js/3
7.8016d3ac07df8acaf73d
.js
View file @
35fc15c1
webpackJsonp
([
38
],{
CqVe
:
function
(
t
,
e
){},
W0k8
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"2eFk"
),
i
=
a
(
"fvdr"
),
c
=
a
(
"Qie6"
),
o
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
380
+
"px"
,
appName
:
"不良评价"
,
appIcon
:
"icon-ribao"
,
activeSelTab
:
"1"
,
activeTab
:
"1"
,
tabListData
:[{
tabId
:
"1"
,
tabName
:
"不良评价回访记录"
,
icon
:
"icon-badreviewstatistics"
,
onlyIconActive
:
!
1
}],
activeBrand
:
""
,
activeGroup
:
""
}},
computed
:{},
methods
:{
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
selectBrandId
:
function
(
t
,
e
){
this
.
activeBrand
=
t
,
this
.
activeGroup
=
e
},
setSelectTab
:
function
(
t
){
switch
(
this
.
activeTab
=
t
.
tabId
,
t
.
tabId
){
case
"1"
:
this
.
changeRoute
(
"badEvaluateRecord"
);
break
;
case
"2"
:
this
.
changeRoute
(
"badEvaluateSet"
)}},
showTab
:
function
(
t
){
this
.
activeTab
=
t
,
this
.
activeSelTab
=
t
,
this
.
tabListData
.
forEach
(
function
(
e
){
e
.
tabId
==
t
&&
(
e
.
onlyIconActive
=!
1
),
e
.
children
&&
e
.
children
.
forEach
(
function
(
a
){
a
.
tabId
==
t
&&
(
e
.
onlyIconActive
=!
0
),
a
.
children
&&
a
.
children
.
forEach
(
function
(
a
){
a
.
tabId
==
t
&&
(
e
.
onlyIconActive
=!
0
)})})})}},
watch
:{
activeBrand
:
function
(
t
,
e
){
this
.
activeBrand
=
t
},
activeGroup
:
function
(
t
,
e
){
this
.
activeGroup
=
t
}},
mounted
:
function
(){
var
t
=
this
.
$route
.
query
.
appIcon
;
t
&&
(
this
.
appIcon
=
window
.
unescape
(
t
)),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
n
.
a
,
commonAppTop
:
i
.
a
,
commonDetailLeft
:
c
.
a
}},
s
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"common-app-top"
,{
attrs
:{
appName
:
t
.
appName
,
appIcon
:
t
.
appIcon
},
on
:{
selectBrandId
:
t
.
selectBrandId
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-box"
,
style
:{
"min-height"
:
t
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content flex"
,
style
:{
height
:
t
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content-left w-157"
},[
a
(
"common-detail-left"
,{
attrs
:{
tabListData
:
t
.
tabListData
,
activeSelTab
:
t
.
activeSelTab
},
on
:{
setSelectTab
:
t
.
setSelectTab
}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apps-content-right"
},[
a
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
a
(
"router-view"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
activeGroupId
:
t
.
activeGroup
,
tabType
:
t
.
activeTab
},
on
:{
showTab
:
t
.
showTab
}})],
1
)],
1
)])])],
1
),
t
.
_v
(
" "
),
a
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
r
=
a
(
"VU/8"
)(
o
,
s
,
!
1
,
function
(
t
){
a
(
"CqVe"
)},
"data-v-b841b8f6"
,
null
);
e
.
default
=
r
.
exports
}});
\ No newline at end of file
webpackJsonp
([
37
],{
CqVe
:
function
(
t
,
e
){},
W0k8
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"2eFk"
),
i
=
a
(
"fvdr"
),
c
=
a
(
"Qie6"
),
o
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
380
+
"px"
,
appName
:
"不良评价"
,
appIcon
:
"icon-ribao"
,
activeSelTab
:
"1"
,
activeTab
:
"1"
,
tabListData
:[{
tabId
:
"1"
,
tabName
:
"不良评价回访记录"
,
icon
:
"icon-badreviewstatistics"
,
onlyIconActive
:
!
1
}],
activeBrand
:
""
,
activeGroup
:
""
}},
computed
:{},
methods
:{
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
selectBrandId
:
function
(
t
,
e
){
this
.
activeBrand
=
t
,
this
.
activeGroup
=
e
},
setSelectTab
:
function
(
t
){
switch
(
this
.
activeTab
=
t
.
tabId
,
t
.
tabId
){
case
"1"
:
this
.
changeRoute
(
"badEvaluateRecord"
);
break
;
case
"2"
:
this
.
changeRoute
(
"badEvaluateSet"
)}},
showTab
:
function
(
t
){
this
.
activeTab
=
t
,
this
.
activeSelTab
=
t
,
this
.
tabListData
.
forEach
(
function
(
e
){
e
.
tabId
==
t
&&
(
e
.
onlyIconActive
=!
1
),
e
.
children
&&
e
.
children
.
forEach
(
function
(
a
){
a
.
tabId
==
t
&&
(
e
.
onlyIconActive
=!
0
),
a
.
children
&&
a
.
children
.
forEach
(
function
(
a
){
a
.
tabId
==
t
&&
(
e
.
onlyIconActive
=!
0
)})})})}},
watch
:{
activeBrand
:
function
(
t
,
e
){
this
.
activeBrand
=
t
},
activeGroup
:
function
(
t
,
e
){
this
.
activeGroup
=
t
}},
mounted
:
function
(){
var
t
=
this
.
$route
.
query
.
appIcon
;
t
&&
(
this
.
appIcon
=
window
.
unescape
(
t
)),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
n
.
a
,
commonAppTop
:
i
.
a
,
commonDetailLeft
:
c
.
a
}},
s
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"common-app-top"
,{
attrs
:{
appName
:
t
.
appName
,
appIcon
:
t
.
appIcon
},
on
:{
selectBrandId
:
t
.
selectBrandId
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-box"
,
style
:{
"min-height"
:
t
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content flex"
,
style
:{
height
:
t
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content-left w-157"
},[
a
(
"common-detail-left"
,{
attrs
:{
tabListData
:
t
.
tabListData
,
activeSelTab
:
t
.
activeSelTab
},
on
:{
setSelectTab
:
t
.
setSelectTab
}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apps-content-right"
},[
a
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
a
(
"router-view"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
activeGroupId
:
t
.
activeGroup
,
tabType
:
t
.
activeTab
},
on
:{
showTab
:
t
.
showTab
}})],
1
)],
1
)])])],
1
),
t
.
_v
(
" "
),
a
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
r
=
a
(
"VU/8"
)(
o
,
s
,
!
1
,
function
(
t
){
a
(
"CqVe"
)},
"data-v-b841b8f6"
,
null
);
e
.
default
=
r
.
exports
}});
\ No newline at end of file
dist/static/js/3
9.8d8a3b88d85b3220e296
.js
→
dist/static/js/3
8.401ecfbced781ca109ff
.js
View file @
35fc15c1
webpackJsonp
([
39
],{
DxdI
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
o
=
a
(
"2eFk"
),
n
=
a
(
"Ke24"
),
i
=
a
(
"fPyK"
),
l
=
a
(
"P9l9"
),
r
=
a
(
"Ch4/"
),
s
=
a
(
"3E4D"
),
c
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
dialogVisible
:
!
1
,
tableH
:
window
.
screen
.
availHeight
-
464
-
126
+
"px"
,
topMenuData
:[{
id
:
"1"
,
name
:
"自定义报表"
}],
activeId
:
"1"
,
activeTab
:
"1"
,
activeBrand
:
"1"
,
tableData
:[],
multipleSelection
:[]}},
computed
:{},
methods
:{
changeRouter
:
function
(
e
){
this
.
$router
.
push
(
e
)},
setSelectTab
:
function
(
e
){
this
.
activeTab
=
e
.
tabId
},
handlePreview
:
function
(
e
,
t
){
var
a
=
window
.
location
.
origin
+
"/office-mobile/#/defineTemplate?templateId="
+
t
.
dailyReportTemplateId
;
this
.
$refs
.
qrcodePreview
.
qrcode
(
a
,
"daily-preview"
),
this
.
dialogVisible
=!
0
},
toCustomSet
:
function
(){
this
.
changeRouter
(
"/template?brandId="
+
this
.
brandId
+
"&appIcon="
+
this
.
$route
.
query
.
appIcon
)},
handleCopy
:
function
(
e
,
t
){
this
.
changeRouter
(
"/template?brandId="
+
this
.
brandId
+
"&templateId="
+
t
.
dailyReportTemplateId
+
"&type=copy&appIcon="
+
this
.
$route
.
query
.
appIcon
)},
handleEdit
:
function
(
e
,
t
){
this
.
changeRouter
(
"/template?brandId="
+
this
.
brandId
+
"&templateId="
+
t
.
dailyReportTemplateId
+
"&type=edit&appIcon="
+
this
.
$route
.
query
.
appIcon
)},
handleDelete
:
function
(
e
,
t
){
var
a
=
this
;
a
.
$confirm
(
"一旦删除之后,该范围的门店将无法接收该日报,是否确定删除?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
deleteTemplate
(
e
,
t
)}).
catch
(
function
(){})},
deleteTemplate
:
function
(
e
,
t
){
var
a
=
this
;
Object
(
l
.
e
)(
"/haoban-app-daily-web/daily/del-define-template"
,{
templateId
:
t
.
dailyReportTemplateId
}).
then
(
function
(
t
){
var
o
=
t
.
data
;
if
(
1
==
o
.
errorCode
)
return
s
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
a
.
tableData
.
splice
(
e
,
1
);
r
.
a
.
errorMsg
(
o
)}).
catch
(
function
(
e
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getData
:
function
(){
var
e
=
this
;
Object
(
l
.
e
)(
"/haoban-app-daily-web/daily/list-define-template"
,{
brandId
:
e
.
brandId
}).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
tableData
=
[],
void
(
a
.
result
&&
a
.
result
.
length
&&
(
e
.
tableData
=
a
.
result
));
r
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
brandId
:
function
(
e
,
t
){
e
&&
(
this
.
activeBrand
=
e
,
this
.
getData
())}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
$emit
(
"showTab"
,
"212"
),
this
.
brandId
&&
this
.
getData
()},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
o
.
a
,
commonDetailTop
:
n
.
a
,
qrcodeDialog
:
i
.
a
}},
d
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"custom-set-wrap"
},[
a
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
e
.
topMenuData
,
activeId
:
e
.
activeId
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"custom-set-content boder-box"
},[
a
(
"div"
,{
staticClass
:
"flex flex-space-between flex-pack-center m-b-23 m-t-30"
},[
a
(
"div"
,{
staticClass
:
"custom-set-title flex flex-pack-center"
},[
e
.
_v
(
"模板列表("
+
e
.
_s
(
e
.
tableData
.
length
)
+
")"
)]),
e
.
_v
(
" "
),
a
(
"div"
,[
a
(
"el-button"
,{
attrs
:{
type
:
"button"
},
on
:{
click
:
function
(
t
){
e
.
toCustomSet
(
""
)}}},[
e
.
_v
(
"新建模板"
)])],
1
)]),
e
.
_v
(
" "
),
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"模板名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
title
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"模板描述"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
description
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"address"
,
label
:
"门店类型"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
0
==
t
.
row
.
storeType
?
a
(
"span"
,[
e
.
_v
(
"自营门店"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
1
==
t
.
row
.
storeType
?
a
(
"span"
,[
e
.
_v
(
"联营门店"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
2
==
t
.
row
.
storeType
?
a
(
"span"
,[
e
.
_v
(
"代理门店"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
3
==
t
.
row
.
storeType
?
a
(
"span"
,[
e
.
_v
(
"代销门店"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
4
==
t
.
row
.
storeType
?
a
(
"span"
,[
e
.
_v
(
"托管门店"
)]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
e
.
handlePreview
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"预览"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
e
.
handleCopy
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"复制"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
e
.
handleEdit
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"编辑"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
e
.
handleDelete
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"删除"
)])]}}])})],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"qrcode-dialog"
,{
ref
:
"qrcodePreview"
,
model
:{
value
:
e
.
dialogVisible
,
callback
:
function
(
t
){
e
.
dialogVisible
=
t
},
expression
:
"dialogVisible"
}})],
1
)},
staticRenderFns
:[]};
var
u
=
a
(
"VU/8"
)(
c
,
d
,
!
1
,
function
(
e
){
a
(
"egY4"
)},
"data-v-a622ac3c"
,
null
);
t
.
default
=
u
.
exports
},
egY4
:
function
(
e
,
t
){}});
\ No newline at end of file
webpackJsonp
([
38
],{
DxdI
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
o
=
a
(
"2eFk"
),
n
=
a
(
"Ke24"
),
i
=
a
(
"fPyK"
),
l
=
a
(
"P9l9"
),
r
=
a
(
"Ch4/"
),
s
=
a
(
"3E4D"
),
c
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
dialogVisible
:
!
1
,
tableH
:
window
.
screen
.
availHeight
-
464
-
126
+
"px"
,
topMenuData
:[{
id
:
"1"
,
name
:
"自定义报表"
}],
activeId
:
"1"
,
activeTab
:
"1"
,
activeBrand
:
"1"
,
tableData
:[],
multipleSelection
:[]}},
computed
:{},
methods
:{
changeRouter
:
function
(
e
){
this
.
$router
.
push
(
e
)},
setSelectTab
:
function
(
e
){
this
.
activeTab
=
e
.
tabId
},
handlePreview
:
function
(
e
,
t
){
var
a
=
window
.
location
.
origin
+
"/office-mobile/#/defineTemplate?templateId="
+
t
.
dailyReportTemplateId
;
this
.
$refs
.
qrcodePreview
.
qrcode
(
a
,
"daily-preview"
),
this
.
dialogVisible
=!
0
},
toCustomSet
:
function
(){
this
.
changeRouter
(
"/template?brandId="
+
this
.
brandId
+
"&appIcon="
+
this
.
$route
.
query
.
appIcon
)},
handleCopy
:
function
(
e
,
t
){
this
.
changeRouter
(
"/template?brandId="
+
this
.
brandId
+
"&templateId="
+
t
.
dailyReportTemplateId
+
"&type=copy&appIcon="
+
this
.
$route
.
query
.
appIcon
)},
handleEdit
:
function
(
e
,
t
){
this
.
changeRouter
(
"/template?brandId="
+
this
.
brandId
+
"&templateId="
+
t
.
dailyReportTemplateId
+
"&type=edit&appIcon="
+
this
.
$route
.
query
.
appIcon
)},
handleDelete
:
function
(
e
,
t
){
var
a
=
this
;
a
.
$confirm
(
"一旦删除之后,该范围的门店将无法接收该日报,是否确定删除?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
deleteTemplate
(
e
,
t
)}).
catch
(
function
(){})},
deleteTemplate
:
function
(
e
,
t
){
var
a
=
this
;
Object
(
l
.
e
)(
"/haoban-app-daily-web/daily/del-define-template"
,{
templateId
:
t
.
dailyReportTemplateId
}).
then
(
function
(
t
){
var
o
=
t
.
data
;
if
(
1
==
o
.
errorCode
)
return
s
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
a
.
tableData
.
splice
(
e
,
1
);
r
.
a
.
errorMsg
(
o
)}).
catch
(
function
(
e
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getData
:
function
(){
var
e
=
this
;
Object
(
l
.
e
)(
"/haoban-app-daily-web/daily/list-define-template"
,{
brandId
:
e
.
brandId
}).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
tableData
=
[],
void
(
a
.
result
&&
a
.
result
.
length
&&
(
e
.
tableData
=
a
.
result
));
r
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
brandId
:
function
(
e
,
t
){
e
&&
(
this
.
activeBrand
=
e
,
this
.
getData
())}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
$emit
(
"showTab"
,
"212"
),
this
.
brandId
&&
this
.
getData
()},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
o
.
a
,
commonDetailTop
:
n
.
a
,
qrcodeDialog
:
i
.
a
}},
d
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"custom-set-wrap"
},[
a
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
e
.
topMenuData
,
activeId
:
e
.
activeId
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"custom-set-content boder-box"
},[
a
(
"div"
,{
staticClass
:
"flex flex-space-between flex-pack-center m-b-23 m-t-30"
},[
a
(
"div"
,{
staticClass
:
"custom-set-title flex flex-pack-center"
},[
e
.
_v
(
"模板列表("
+
e
.
_s
(
e
.
tableData
.
length
)
+
")"
)]),
e
.
_v
(
" "
),
a
(
"div"
,[
a
(
"el-button"
,{
attrs
:{
type
:
"button"
},
on
:{
click
:
function
(
t
){
e
.
toCustomSet
(
""
)}}},[
e
.
_v
(
"新建模板"
)])],
1
)]),
e
.
_v
(
" "
),
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"模板名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
title
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"模板描述"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
description
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"address"
,
label
:
"门店类型"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
0
==
t
.
row
.
storeType
?
a
(
"span"
,[
e
.
_v
(
"自营门店"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
1
==
t
.
row
.
storeType
?
a
(
"span"
,[
e
.
_v
(
"联营门店"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
2
==
t
.
row
.
storeType
?
a
(
"span"
,[
e
.
_v
(
"代理门店"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
3
==
t
.
row
.
storeType
?
a
(
"span"
,[
e
.
_v
(
"代销门店"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
4
==
t
.
row
.
storeType
?
a
(
"span"
,[
e
.
_v
(
"托管门店"
)]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
e
.
handlePreview
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"预览"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
e
.
handleCopy
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"复制"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
e
.
handleEdit
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"编辑"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
e
.
handleDelete
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"删除"
)])]}}])})],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"qrcode-dialog"
,{
ref
:
"qrcodePreview"
,
model
:{
value
:
e
.
dialogVisible
,
callback
:
function
(
t
){
e
.
dialogVisible
=
t
},
expression
:
"dialogVisible"
}})],
1
)},
staticRenderFns
:[]};
var
u
=
a
(
"VU/8"
)(
c
,
d
,
!
1
,
function
(
e
){
a
(
"egY4"
)},
"data-v-a622ac3c"
,
null
);
t
.
default
=
u
.
exports
},
egY4
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/
40.f4fd9d68a9e906649040
.js
→
dist/static/js/
39.45d0c177c91108351c01
.js
View file @
35fc15c1
webpackJsonp
([
40
],{
ZxDn
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
r
=
a
(
"Xxa5"
),
n
=
a
.
n
(
r
),
o
=
a
(
"exGp"
),
s
=
a
.
n
(
o
),
i
=
a
(
"Ke24"
),
c
=
a
(
"Ch4/"
),
l
=
a
(
"PI0u"
),
u
=
a
(
"P9l9"
),
p
=
{
components
:{
commonDetailTop
:
i
.
a
},
props
:{
brandId
:{
type
:
String
,
default
:
""
}},
data
:
function
(){
return
{
activeId
:
"2"
,
topMenuData
:[{
id
:
"1"
,
name
:
"指标管理"
,
path
:
"/quota?appIcon="
+
this
.
$route
.
query
.
appIcon
},{
id
:
"2"
,
name
:
"月指标"
,
path
:
""
}],
yearList
:[],
year
:
""
,
tableList
:[],
tabelHeader
:[{
prop
:
"yearMonth"
,
label
:
"月份"
},{
prop
:
"totalPerformance"
,
label
:
"月指标累计"
},{
prop
:
"totalStore"
,
label
:
"门店总数"
},{
prop
:
"totalComplete"
,
label
:
"门店指标完善数"
}],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
}},
watch
:{
brandId
:
function
(
e
){
e
&&
this
.
getYearList
()}},
methods
:{
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
apiMonthPerformanceList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
apiMonthPerformanceList
()},
changeYear
:
function
(){
this
.
currentPage
=
1
,
this
.
apiMonthPerformanceList
()},
getYearList
:
function
(){
var
e
=
this
;
return
s
()(
n
.
a
.
mark
(
function
t
(){
var
a
,
r
,
o
;
return
n
.
a
.
wrap
(
function
(
t
){
for
(;;)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
a
=
e
,
t
.
next
=
3
,
n
=
{
brandId
:
a
.
brandId
},
Object
(
u
.
a
)(
"/haoban-app-performance-web/performance/get-years"
,
n
);
case
3
:
r
=
t
.
sent
,
1
==
(
o
=
r
.
data
).
errorCode
?(
a
.
yearList
=
[],
o
.
result
&&
o
.
result
.
length
&&
(
o
.
result
.
forEach
(
function
(
e
){
a
.
yearList
.
push
({
id
:
e
,
label
:
e
+
"年"
})}),
a
.
year
=
o
.
result
[
0
],
a
.
apiMonthPerformanceList
())):
c
.
a
.
errorMsg
(
o
);
case
6
:
case
"end"
:
return
t
.
stop
()}
var
n
},
t
,
e
)}))()},
apiMonthPerformanceList
:
function
(){
var
e
=
this
;
return
s
()(
n
.
a
.
mark
(
function
t
(){
var
a
,
r
,
o
;
return
n
.
a
.
wrap
(
function
(
t
){
for
(;;)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
a
=
e
,
t
.
next
=
3
,
n
=
{
brandId
:
e
.
brandId
,
year
:
e
.
year
},
Object
(
u
.
a
)(
"/haoban-app-performance-web/performance/query-month-performance"
,
n
);
case
3
:
r
=
t
.
sent
,
1
==
(
o
=
r
.
data
).
errorCode
&&
(
o
.
result
.
length
&&
o
.
result
.
forEach
(
function
(
e
){
e
.
totalPerformance
=
Object
(
l
.
d
)(
Number
(
e
.
totalPerformance
).
toFixed
(
2
))}),
a
.
tableList
=
o
.
result
||
[]);
case
6
:
case
"end"
:
return
t
.
stop
()}
var
n
},
t
,
e
)}))()}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
"11"
),
this
.
brandId
&&
this
.
getYearList
()}},
h
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"section"
,{
staticClass
:
"common-right-wrap"
},[
a
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
e
.
topMenuData
,
activeId
:
e
.
activeId
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-20"
},[
a
(
"el-select"
,{
staticClass
:
"m-b-23 w-123"
,
on
:{
change
:
e
.
changeYear
},
model
:{
value
:
e
.
year
,
callback
:
function
(
t
){
e
.
year
=
t
},
expression
:
"year"
}},[
a
(
"i"
,{
staticClass
:
"el-input__icon el-icon-date"
,
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
}),
e
.
_v
(
" "
),
e
.
_l
(
e
.
yearList
,
function
(
e
,
t
){
return
a
(
"el-option"
,{
key
:
t
,
attrs
:{
value
:
e
.
id
,
label
:
e
.
label
}})})],
2
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableList
}},[
e
.
_l
(
e
.
tabelHeader
,
function
(
e
,
t
){
return
a
(
"el-table-column"
,{
key
:
t
,
attrs
:{
label
:
e
.
label
,
prop
:
e
.
prop
}})}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
1
==
t
.
row
.
settingStatus
?
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
$router
.
push
(
"/storeMonthTask?yearMonth="
+
t
.
row
.
yearMonth
+
"&appIcon="
+
e
.
$route
.
query
.
appIcon
+
" "
)}}},[
e
.
_v
(
"门店月指标"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
$router
.
push
(
"/companyDaySet?yearMonth="
+
t
.
row
.
yearMonth
+
"&appIcon="
+
e
.
$route
.
query
.
appIcon
)}}},[
e
.
_v
(
"商户日权重"
)])]}}])})],
2
),
e
.
_v
(
" "
),
0
!=
e
.
tableList
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
e
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()],
1
)],
1
)},
staticRenderFns
:[]};
var
d
=
a
(
"VU/8"
)(
p
,
h
,
!
1
,
function
(
e
){
a
(
"kT9X"
)},
"data-v-9dd05db2"
,
null
);
t
.
default
=
d
.
exports
},
kT9X
:
function
(
e
,
t
){}});
\ No newline at end of file
webpackJsonp
([
39
],{
ZxDn
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
r
=
a
(
"Xxa5"
),
n
=
a
.
n
(
r
),
o
=
a
(
"exGp"
),
s
=
a
.
n
(
o
),
i
=
a
(
"Ke24"
),
c
=
a
(
"Ch4/"
),
l
=
a
(
"PI0u"
),
u
=
a
(
"P9l9"
),
p
=
{
components
:{
commonDetailTop
:
i
.
a
},
props
:{
brandId
:{
type
:
String
,
default
:
""
}},
data
:
function
(){
return
{
activeId
:
"2"
,
topMenuData
:[{
id
:
"1"
,
name
:
"指标管理"
,
path
:
"/quota?appIcon="
+
this
.
$route
.
query
.
appIcon
},{
id
:
"2"
,
name
:
"月指标"
,
path
:
""
}],
yearList
:[],
year
:
""
,
tableList
:[],
tabelHeader
:[{
prop
:
"yearMonth"
,
label
:
"月份"
},{
prop
:
"totalPerformance"
,
label
:
"月指标累计"
},{
prop
:
"totalStore"
,
label
:
"门店总数"
},{
prop
:
"totalComplete"
,
label
:
"门店指标完善数"
}],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
}},
watch
:{
brandId
:
function
(
e
){
e
&&
this
.
getYearList
()}},
methods
:{
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
apiMonthPerformanceList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
apiMonthPerformanceList
()},
changeYear
:
function
(){
this
.
currentPage
=
1
,
this
.
apiMonthPerformanceList
()},
getYearList
:
function
(){
var
e
=
this
;
return
s
()(
n
.
a
.
mark
(
function
t
(){
var
a
,
r
,
o
;
return
n
.
a
.
wrap
(
function
(
t
){
for
(;;)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
a
=
e
,
t
.
next
=
3
,
n
=
{
brandId
:
a
.
brandId
},
Object
(
u
.
a
)(
"/haoban-app-performance-web/performance/get-years"
,
n
);
case
3
:
r
=
t
.
sent
,
1
==
(
o
=
r
.
data
).
errorCode
?(
a
.
yearList
=
[],
o
.
result
&&
o
.
result
.
length
&&
(
o
.
result
.
forEach
(
function
(
e
){
a
.
yearList
.
push
({
id
:
e
,
label
:
e
+
"年"
})}),
a
.
year
=
o
.
result
[
0
],
a
.
apiMonthPerformanceList
())):
c
.
a
.
errorMsg
(
o
);
case
6
:
case
"end"
:
return
t
.
stop
()}
var
n
},
t
,
e
)}))()},
apiMonthPerformanceList
:
function
(){
var
e
=
this
;
return
s
()(
n
.
a
.
mark
(
function
t
(){
var
a
,
r
,
o
;
return
n
.
a
.
wrap
(
function
(
t
){
for
(;;)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
a
=
e
,
t
.
next
=
3
,
n
=
{
brandId
:
e
.
brandId
,
year
:
e
.
year
},
Object
(
u
.
a
)(
"/haoban-app-performance-web/performance/query-month-performance"
,
n
);
case
3
:
r
=
t
.
sent
,
1
==
(
o
=
r
.
data
).
errorCode
&&
(
o
.
result
.
length
&&
o
.
result
.
forEach
(
function
(
e
){
e
.
totalPerformance
=
Object
(
l
.
d
)(
Number
(
e
.
totalPerformance
).
toFixed
(
2
))}),
a
.
tableList
=
o
.
result
||
[]);
case
6
:
case
"end"
:
return
t
.
stop
()}
var
n
},
t
,
e
)}))()}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
"11"
),
this
.
brandId
&&
this
.
getYearList
()}},
h
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"section"
,{
staticClass
:
"common-right-wrap"
},[
a
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
e
.
topMenuData
,
activeId
:
e
.
activeId
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-20"
},[
a
(
"el-select"
,{
staticClass
:
"m-b-23 w-123"
,
on
:{
change
:
e
.
changeYear
},
model
:{
value
:
e
.
year
,
callback
:
function
(
t
){
e
.
year
=
t
},
expression
:
"year"
}},[
a
(
"i"
,{
staticClass
:
"el-input__icon el-icon-date"
,
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
}),
e
.
_v
(
" "
),
e
.
_l
(
e
.
yearList
,
function
(
e
,
t
){
return
a
(
"el-option"
,{
key
:
t
,
attrs
:{
value
:
e
.
id
,
label
:
e
.
label
}})})],
2
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableList
}},[
e
.
_l
(
e
.
tabelHeader
,
function
(
e
,
t
){
return
a
(
"el-table-column"
,{
key
:
t
,
attrs
:{
label
:
e
.
label
,
prop
:
e
.
prop
}})}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
1
==
t
.
row
.
settingStatus
?
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
$router
.
push
(
"/storeMonthTask?yearMonth="
+
t
.
row
.
yearMonth
+
"&appIcon="
+
e
.
$route
.
query
.
appIcon
+
" "
)}}},[
e
.
_v
(
"门店月指标"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
$router
.
push
(
"/companyDaySet?yearMonth="
+
t
.
row
.
yearMonth
+
"&appIcon="
+
e
.
$route
.
query
.
appIcon
)}}},[
e
.
_v
(
"商户日权重"
)])]}}])})],
2
),
e
.
_v
(
" "
),
0
!=
e
.
tableList
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
e
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()],
1
)],
1
)},
staticRenderFns
:[]};
var
d
=
a
(
"VU/8"
)(
p
,
h
,
!
1
,
function
(
e
){
a
(
"kT9X"
)},
"data-v-9dd05db2"
,
null
);
t
.
default
=
d
.
exports
},
kT9X
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/4
1.9fcb9feb2cab7a8a2cbe
.js
→
dist/static/js/4
0.18605687ea6ee1539453
.js
View file @
35fc15c1
webpackJsonp
([
41
],{
IKv2
:
function
(
e
,
t
,
r
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
r
(
"mvHQ"
),
o
=
r
.
n
(
a
),
n
=
r
(
"2eFk"
),
s
=
r
(
"Ke24"
),
c
=
r
(
"PI0u"
),
l
=
r
(
"Ch4/"
),
i
=
r
(
"3E4D"
),
u
=
r
(
"P9l9"
),
f
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
tableH
:
window
.
screen
.
availHeight
-
464
-
126
,
activeTab
:
"1"
,
activeBrand
:
this
.
brandId
,
topMenuData
:[{
id
:
"1"
,
name
:
"指标管理"
,
path
:
"/monthList?appIcon="
+
this
.
$route
.
query
.
appIcon
},{
id
:
"2"
,
name
:
"月指标"
,
path
:
"/monthList?appIcon="
+
this
.
$route
.
query
.
appIcon
},{
id
:
"3"
,
name
:
"门店月指标"
,
path
:
"storeMonthTask?yearMonth="
+
this
.
$route
.
query
.
yearMonth
+
"&appIcon="
+
this
.
$route
.
query
.
appIcon
},{
id
:
"4"
,
name
:
"导购月指标详情"
,
path
:
""
}],
activeId
:
"4"
,
tableData
:[],
performanceSum
:
""
,
clerkObj
:{
storeId
:
""
,
storeName
:
""
,
yearMonth
:
""
,
settingAble
:
1
,
storePerformance
:
""
},
equalFlag
:
!
0
}},
computed
:{},
methods
:{
inputPerformance
:
function
(
e
,
t
,
r
){
r
.
clerkPerformance
=
Number
(
r
.
clerkPerformance
.
replace
(
/
[^\d
.
]
/g
,
""
))?
r
.
clerkPerformance
.
replace
(
/
[^\d
+(.
\d
+)
]
/g
,
""
):
""
,
r
.
clerkPerformance
=
Number
(
r
.
clerkPerformance
).
toFixed
(
2
);
var
a
=
0
;
this
.
tableData
.
forEach
(
function
(
e
){
a
+=
Number
(
e
.
clerkPerformance
)}),
this
.
performanceSum
=
Number
(
a
).
toFixed
(
2
),
this
.
diffData
()},
inputMonthPerformance
:
function
(
e
){
this
.
clerkObj
.
storePerformance
=
Number
(
this
.
clerkObj
.
storePerformance
.
replace
(
/
[^\d
.
]
/g
,
""
))?
this
.
clerkObj
.
storePerformance
.
replace
(
/
[^\d
+(.
\d
+)
]
/g
,
""
):
""
,
this
.
clerkObj
.
storePerformance
=
Number
(
this
.
clerkObj
.
storePerformance
).
toFixed
(
2
),
this
.
diffData
()},
diffData
:
function
(){
var
e
=
Number
(
this
.
performanceSum
)
==
Number
(
this
.
clerkObj
.
storePerformance
);
return
this
.
equalFlag
=!!
e
,
e
},
saveSet
:
Object
(
c
.
a
)(
function
(){
if
(
!
this
.
diffData
())
return
!
1
;
if
(
""
==
this
.
clerkObj
.
storePerformance
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请输入门店月指标"
}),
!
1
;
var
e
=
{
clerkPerformanceList
:
this
.
tableData
,
storePerformance
:
this
.
clerkObj
.
storePerformance
};
this
.
postSave
(
e
)},
500
),
postSave
:
function
(
e
){
var
t
=
this
,
r
=
{
brandId
:
t
.
activeBrand
,
storeId
:
t
.
clerkObj
.
storeId
,
yearMonth
:
t
.
clerkObj
.
yearMonth
,
performance
:
o
()(
e
)};
Object
(
u
.
e
)(
"/haoban-app-performance-web/performance/save-clerk-month-performance"
,
r
).
then
(
function
(
e
){
var
t
=
e
.
data
;
1
!=
t
.
errorCode
?
l
.
a
.
errorMsg
(
t
):
i
.
a
.
showmsg
(
"保存成功"
,
"success"
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getData
:
function
(){
var
e
=
this
,
t
=
{
brandId
:
e
.
activeBrand
,
storeId
:
e
.
clerkObj
.
storeId
,
yearMonth
:
e
.
clerkObj
.
yearMonth
};
Object
(
u
.
e
)(
"/haoban-app-performance-web/performance/query-clerk-month-performance"
,
t
).
then
(
function
(
t
){
var
r
=
t
.
data
;
if
(
1
==
r
.
errorCode
){
r
.
result
.
clerkPerformanceList
&&
r
.
result
.
clerkPerformanceList
.
length
&&
(
r
.
result
.
clerkPerformanceList
.
forEach
(
function
(
e
){
e
.
clerkPerformance
=
Number
(
e
.
clerkPerformance
).
toFixed
(
2
)}),
e
.
tableData
=
r
.
result
.
clerkPerformanceList
||
[]),
r
.
result
.
storePerformance
=
Number
(
r
.
result
.
storePerformance
).
toFixed
(
2
),
e
.
clerkObj
=
r
.
result
;
var
a
=
0
;
return
e
.
tableData
.
forEach
(
function
(
e
){
a
+=
Number
(
e
.
clerkPerformance
)}),
void
(
e
.
performanceSum
=
Number
(
a
).
toFixed
(
2
))}
l
.
a
.
errorMsg
(
r
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
brandId
:
function
(
e
,
t
){
e
&&
(
this
.
activeBrand
=
e
,
this
.
clerkObj
.
yearMonth
=
this
.
$route
.
query
.
yearMonth
,
this
.
clerkObj
.
storeId
=
this
.
$route
.
query
.
storeId
,
this
.
getData
())}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
$emit
(
"showTab"
,
"11"
),
this
.
brandId
&&
(
this
.
clerkObj
.
yearMonth
=
this
.
$route
.
query
.
yearMonth
,
this
.
clerkObj
.
storeId
=
this
.
$route
.
query
.
storeId
,
this
.
getData
())},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
n
.
a
,
commonDetailTop
:
s
.
a
}},
m
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
r
=
e
.
_self
.
_c
||
t
;
return
r
(
"div"
,{
staticClass
:
"app-detail-wrap common-right-wrap"
},[
r
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
e
.
topMenuData
,
activeId
:
e
.
activeId
}}),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"task-set-content boder-box"
},[
r
(
"div"
,{
staticClass
:
"saler-set-title flex flex-space-between m-b-15"
},[
r
(
"div"
,{
staticClass
:
"saler-set-title_left"
},[
r
(
"span"
,[
e
.
_v
(
e
.
_s
(
e
.
clerkObj
.
yearMonth
))]),
r
(
"span"
,{
staticClass
:
"p-l-18"
},[
e
.
_v
(
e
.
_s
(
e
.
clerkObj
.
storeName
)
+
"门店导购月指标详情"
)])]),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"saler-set-title_right"
},[
r
(
"span"
,[
e
.
_v
(
"门店月指标:"
)]),
r
(
"el-input"
,{
staticClass
:
"w-105 p-l-8"
,
attrs
:{
placeholder
:
"请输入指标值"
,
disabled
:
0
==
e
.
clerkObj
.
settingAble
},
on
:{
blur
:
function
(
t
){
return
e
.
inputMonthPerformance
(
t
)}},
model
:{
value
:
e
.
clerkObj
.
storePerformance
,
callback
:
function
(
t
){
e
.
$set
(
e
.
clerkObj
,
"storePerformance"
,
t
)},
expression
:
"clerkObj.storePerformance"
}})],
1
)]),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"saler-set-table"
},[
r
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
,
minHeight
:
e
.
tableH
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
r
(
"el-table-column"
,{
attrs
:{
label
:
"导购"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
r
(
"div"
,[
e
.
_v
(
e
.
_s
(
t
.
row
.
clerkName
))])]}}])}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
label
:
"月指标"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
r
(
"div"
,[
r
(
"el-input"
,{
staticClass
:
"w-105 p-l-8"
,
attrs
:{
placeholder
:
"请输入指标值"
,
disabled
:
0
==
e
.
clerkObj
.
settingAble
},
on
:{
blur
:
function
(
r
){
return
e
.
inputPerformance
(
r
,
t
.
$index
,
t
.
row
)}},
model
:{
value
:
t
.
row
.
clerkPerformance
,
callback
:
function
(
r
){
e
.
$set
(
t
.
row
,
"clerkPerformance"
,
r
)},
expression
:
"scope.row.clerkPerformance"
}})],
1
)]}}])})],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"task-set-save text-center m-t-30"
},[
r
(
"span"
,{
staticClass
:
"saler-set-sum"
},[
e
.
_v
(
"导购总计:"
),
r
(
"span"
,{
class
:[
"font-20"
,
e
.
equalFlag
?
"color-1890ff"
:
"color-f5222d"
]},[
e
.
_v
(
e
.
_s
(
e
.
performanceSum
))])]),
e
.
_v
(
" "
),
1
==
e
.
clerkObj
.
settingAble
?
r
(
"el-button"
,{
attrs
:{
disabled
:
!
e
.
equalFlag
,
type
:
"primary"
},
on
:{
click
:
e
.
saveSet
}},[
e
.
_v
(
"确 认"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
equalFlag
?
e
.
_e
():
r
(
"span"
,{
staticClass
:
"font-14 color-f5222d p-l-24"
},[
e
.
_v
(
"请确保导购月指标总计 = 门店月指标"
)])],
1
)])],
1
)},
staticRenderFns
:[]};
var
d
=
r
(
"VU/8"
)(
f
,
m
,
!
1
,
function
(
e
){
r
(
"kVwA"
)},
"data-v-8bdd44ec"
,
null
);
t
.
default
=
d
.
exports
},
kVwA
:
function
(
e
,
t
){}});
\ No newline at end of file
webpackJsonp
([
40
],{
IKv2
:
function
(
e
,
t
,
r
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
r
(
"mvHQ"
),
o
=
r
.
n
(
a
),
n
=
r
(
"2eFk"
),
s
=
r
(
"Ke24"
),
c
=
r
(
"PI0u"
),
l
=
r
(
"Ch4/"
),
i
=
r
(
"3E4D"
),
u
=
r
(
"P9l9"
),
f
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
tableH
:
window
.
screen
.
availHeight
-
464
-
126
,
activeTab
:
"1"
,
activeBrand
:
this
.
brandId
,
topMenuData
:[{
id
:
"1"
,
name
:
"指标管理"
,
path
:
"/monthList?appIcon="
+
this
.
$route
.
query
.
appIcon
},{
id
:
"2"
,
name
:
"月指标"
,
path
:
"/monthList?appIcon="
+
this
.
$route
.
query
.
appIcon
},{
id
:
"3"
,
name
:
"门店月指标"
,
path
:
"storeMonthTask?yearMonth="
+
this
.
$route
.
query
.
yearMonth
+
"&appIcon="
+
this
.
$route
.
query
.
appIcon
},{
id
:
"4"
,
name
:
"导购月指标详情"
,
path
:
""
}],
activeId
:
"4"
,
tableData
:[],
performanceSum
:
""
,
clerkObj
:{
storeId
:
""
,
storeName
:
""
,
yearMonth
:
""
,
settingAble
:
1
,
storePerformance
:
""
},
equalFlag
:
!
0
}},
computed
:{},
methods
:{
inputPerformance
:
function
(
e
,
t
,
r
){
r
.
clerkPerformance
=
Number
(
r
.
clerkPerformance
.
replace
(
/
[^\d
.
]
/g
,
""
))?
r
.
clerkPerformance
.
replace
(
/
[^\d
+(.
\d
+)
]
/g
,
""
):
""
,
r
.
clerkPerformance
=
Number
(
r
.
clerkPerformance
).
toFixed
(
2
);
var
a
=
0
;
this
.
tableData
.
forEach
(
function
(
e
){
a
+=
Number
(
e
.
clerkPerformance
)}),
this
.
performanceSum
=
Number
(
a
).
toFixed
(
2
),
this
.
diffData
()},
inputMonthPerformance
:
function
(
e
){
this
.
clerkObj
.
storePerformance
=
Number
(
this
.
clerkObj
.
storePerformance
.
replace
(
/
[^\d
.
]
/g
,
""
))?
this
.
clerkObj
.
storePerformance
.
replace
(
/
[^\d
+(.
\d
+)
]
/g
,
""
):
""
,
this
.
clerkObj
.
storePerformance
=
Number
(
this
.
clerkObj
.
storePerformance
).
toFixed
(
2
),
this
.
diffData
()},
diffData
:
function
(){
var
e
=
Number
(
this
.
performanceSum
)
==
Number
(
this
.
clerkObj
.
storePerformance
);
return
this
.
equalFlag
=!!
e
,
e
},
saveSet
:
Object
(
c
.
a
)(
function
(){
if
(
!
this
.
diffData
())
return
!
1
;
if
(
""
==
this
.
clerkObj
.
storePerformance
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请输入门店月指标"
}),
!
1
;
var
e
=
{
clerkPerformanceList
:
this
.
tableData
,
storePerformance
:
this
.
clerkObj
.
storePerformance
};
this
.
postSave
(
e
)},
500
),
postSave
:
function
(
e
){
var
t
=
this
,
r
=
{
brandId
:
t
.
activeBrand
,
storeId
:
t
.
clerkObj
.
storeId
,
yearMonth
:
t
.
clerkObj
.
yearMonth
,
performance
:
o
()(
e
)};
Object
(
u
.
e
)(
"/haoban-app-performance-web/performance/save-clerk-month-performance"
,
r
).
then
(
function
(
e
){
var
t
=
e
.
data
;
1
!=
t
.
errorCode
?
l
.
a
.
errorMsg
(
t
):
i
.
a
.
showmsg
(
"保存成功"
,
"success"
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getData
:
function
(){
var
e
=
this
,
t
=
{
brandId
:
e
.
activeBrand
,
storeId
:
e
.
clerkObj
.
storeId
,
yearMonth
:
e
.
clerkObj
.
yearMonth
};
Object
(
u
.
e
)(
"/haoban-app-performance-web/performance/query-clerk-month-performance"
,
t
).
then
(
function
(
t
){
var
r
=
t
.
data
;
if
(
1
==
r
.
errorCode
){
r
.
result
.
clerkPerformanceList
&&
r
.
result
.
clerkPerformanceList
.
length
&&
(
r
.
result
.
clerkPerformanceList
.
forEach
(
function
(
e
){
e
.
clerkPerformance
=
Number
(
e
.
clerkPerformance
).
toFixed
(
2
)}),
e
.
tableData
=
r
.
result
.
clerkPerformanceList
||
[]),
r
.
result
.
storePerformance
=
Number
(
r
.
result
.
storePerformance
).
toFixed
(
2
),
e
.
clerkObj
=
r
.
result
;
var
a
=
0
;
return
e
.
tableData
.
forEach
(
function
(
e
){
a
+=
Number
(
e
.
clerkPerformance
)}),
void
(
e
.
performanceSum
=
Number
(
a
).
toFixed
(
2
))}
l
.
a
.
errorMsg
(
r
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
brandId
:
function
(
e
,
t
){
e
&&
(
this
.
activeBrand
=
e
,
this
.
clerkObj
.
yearMonth
=
this
.
$route
.
query
.
yearMonth
,
this
.
clerkObj
.
storeId
=
this
.
$route
.
query
.
storeId
,
this
.
getData
())}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
$emit
(
"showTab"
,
"11"
),
this
.
brandId
&&
(
this
.
clerkObj
.
yearMonth
=
this
.
$route
.
query
.
yearMonth
,
this
.
clerkObj
.
storeId
=
this
.
$route
.
query
.
storeId
,
this
.
getData
())},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
n
.
a
,
commonDetailTop
:
s
.
a
}},
m
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
r
=
e
.
_self
.
_c
||
t
;
return
r
(
"div"
,{
staticClass
:
"app-detail-wrap common-right-wrap"
},[
r
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
e
.
topMenuData
,
activeId
:
e
.
activeId
}}),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"task-set-content boder-box"
},[
r
(
"div"
,{
staticClass
:
"saler-set-title flex flex-space-between m-b-15"
},[
r
(
"div"
,{
staticClass
:
"saler-set-title_left"
},[
r
(
"span"
,[
e
.
_v
(
e
.
_s
(
e
.
clerkObj
.
yearMonth
))]),
r
(
"span"
,{
staticClass
:
"p-l-18"
},[
e
.
_v
(
e
.
_s
(
e
.
clerkObj
.
storeName
)
+
"门店导购月指标详情"
)])]),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"saler-set-title_right"
},[
r
(
"span"
,[
e
.
_v
(
"门店月指标:"
)]),
r
(
"el-input"
,{
staticClass
:
"w-105 p-l-8"
,
attrs
:{
placeholder
:
"请输入指标值"
,
disabled
:
0
==
e
.
clerkObj
.
settingAble
},
on
:{
blur
:
function
(
t
){
return
e
.
inputMonthPerformance
(
t
)}},
model
:{
value
:
e
.
clerkObj
.
storePerformance
,
callback
:
function
(
t
){
e
.
$set
(
e
.
clerkObj
,
"storePerformance"
,
t
)},
expression
:
"clerkObj.storePerformance"
}})],
1
)]),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"saler-set-table"
},[
r
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
,
minHeight
:
e
.
tableH
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
r
(
"el-table-column"
,{
attrs
:{
label
:
"导购"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
r
(
"div"
,[
e
.
_v
(
e
.
_s
(
t
.
row
.
clerkName
))])]}}])}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
label
:
"月指标"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
r
(
"div"
,[
r
(
"el-input"
,{
staticClass
:
"w-105 p-l-8"
,
attrs
:{
placeholder
:
"请输入指标值"
,
disabled
:
0
==
e
.
clerkObj
.
settingAble
},
on
:{
blur
:
function
(
r
){
return
e
.
inputPerformance
(
r
,
t
.
$index
,
t
.
row
)}},
model
:{
value
:
t
.
row
.
clerkPerformance
,
callback
:
function
(
r
){
e
.
$set
(
t
.
row
,
"clerkPerformance"
,
r
)},
expression
:
"scope.row.clerkPerformance"
}})],
1
)]}}])})],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"task-set-save text-center m-t-30"
},[
r
(
"span"
,{
staticClass
:
"saler-set-sum"
},[
e
.
_v
(
"导购总计:"
),
r
(
"span"
,{
class
:[
"font-20"
,
e
.
equalFlag
?
"color-1890ff"
:
"color-f5222d"
]},[
e
.
_v
(
e
.
_s
(
e
.
performanceSum
))])]),
e
.
_v
(
" "
),
1
==
e
.
clerkObj
.
settingAble
?
r
(
"el-button"
,{
attrs
:{
disabled
:
!
e
.
equalFlag
,
type
:
"primary"
},
on
:{
click
:
e
.
saveSet
}},[
e
.
_v
(
"确 认"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
equalFlag
?
e
.
_e
():
r
(
"span"
,{
staticClass
:
"font-14 color-f5222d p-l-24"
},[
e
.
_v
(
"请确保导购月指标总计 = 门店月指标"
)])],
1
)])],
1
)},
staticRenderFns
:[]};
var
d
=
r
(
"VU/8"
)(
f
,
m
,
!
1
,
function
(
e
){
r
(
"kVwA"
)},
"data-v-8bdd44ec"
,
null
);
t
.
default
=
d
.
exports
},
kVwA
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/4
2.47c4c30ceefa4af03de5
.js
→
dist/static/js/4
1.78d64ae1581e8ea232cc
.js
View file @
35fc15c1
webpackJsonp
([
42
],{
Gk4o
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"2eFk"
),
o
=
a
(
"fvdr"
),
i
=
a
(
"Qie6"
),
c
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
380
+
"px"
,
appName
:
"签到"
,
appIcon
:
""
,
activeBrand
:
""
,
activeGroup
:
""
}},
computed
:{},
methods
:{
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
selectBrandId
:
function
(
t
,
e
){
this
.
activeBrand
=
t
,
this
.
activeGroup
=
e
}},
watch
:{
activeBrand
:
function
(
t
,
e
){
this
.
activeBrand
=
t
},
activeGroup
:
function
(
t
,
e
){
this
.
activeGroup
=
t
}},
mounted
:
function
(){
var
t
=
this
.
$route
.
query
.
appIcon
;
t
&&
(
this
.
appIcon
=
window
.
unescape
(
t
)),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
n
.
a
,
commonAppTop
:
o
.
a
,
commonDetailLeft
:
i
.
a
}},
r
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"common-app-top"
,{
attrs
:{
appName
:
t
.
appName
,
appIcon
:
t
.
appIcon
},
on
:{
selectBrandId
:
t
.
selectBrandId
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-box"
,
style
:{
"min-height"
:
t
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content flex"
,
style
:{
"min-height"
:
t
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content-right"
},[
a
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
a
(
"router-view"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
activeGroupId
:
t
.
activeGroup
}})],
1
)],
1
)])])],
1
),
t
.
_v
(
" "
),
a
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
s
=
a
(
"VU/8"
)(
c
,
r
,
!
1
,
function
(
t
){
a
(
"ONCu"
)},
"data-v-8aca666c"
,
null
);
e
.
default
=
s
.
exports
},
ONCu
:
function
(
t
,
e
){}});
\ No newline at end of file
webpackJsonp
([
41
],{
Gk4o
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"2eFk"
),
o
=
a
(
"fvdr"
),
i
=
a
(
"Qie6"
),
c
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
380
+
"px"
,
appName
:
"签到"
,
appIcon
:
""
,
activeBrand
:
""
,
activeGroup
:
""
}},
computed
:{},
methods
:{
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
selectBrandId
:
function
(
t
,
e
){
this
.
activeBrand
=
t
,
this
.
activeGroup
=
e
}},
watch
:{
activeBrand
:
function
(
t
,
e
){
this
.
activeBrand
=
t
},
activeGroup
:
function
(
t
,
e
){
this
.
activeGroup
=
t
}},
mounted
:
function
(){
var
t
=
this
.
$route
.
query
.
appIcon
;
t
&&
(
this
.
appIcon
=
window
.
unescape
(
t
)),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
n
.
a
,
commonAppTop
:
o
.
a
,
commonDetailLeft
:
i
.
a
}},
r
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"common-app-top"
,{
attrs
:{
appName
:
t
.
appName
,
appIcon
:
t
.
appIcon
},
on
:{
selectBrandId
:
t
.
selectBrandId
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-box"
,
style
:{
"min-height"
:
t
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content flex"
,
style
:{
"min-height"
:
t
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content-right"
},[
a
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
a
(
"router-view"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
activeGroupId
:
t
.
activeGroup
}})],
1
)],
1
)])])],
1
),
t
.
_v
(
" "
),
a
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
s
=
a
(
"VU/8"
)(
c
,
r
,
!
1
,
function
(
t
){
a
(
"ONCu"
)},
"data-v-8aca666c"
,
null
);
e
.
default
=
s
.
exports
},
ONCu
:
function
(
t
,
e
){}});
\ No newline at end of file
dist/static/js/4
3.1a91709ef6c1a7d304ba
.js
→
dist/static/js/4
2.56b8d3d551364d7fcf73
.js
View file @
35fc15c1
webpackJsonp
([
43
],{
iG3v
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
o
=
a
(
"fZjL"
),
n
=
a
.
n
(
o
),
i
=
a
(
"2eFk"
),
s
=
a
(
"Ie7z"
),
l
=
a
(
"Ke24"
),
r
=
a
(
"LRn8"
),
c
=
a
(
"P9l9"
),
d
=
a
(
"PI0u"
),
u
=
a
(
"3E4D"
),
p
=
a
(
"Ch4/"
),
h
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
activeGroupId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
tableH
:
window
.
screen
.
availHeight
-
464
-
126
,
activeTab
:
"1"
,
activeBrand
:
this
.
brandId
,
activeGroup
:
this
.
activeGroupId
,
topMenuData
:[{
id
:
"1"
,
name
:
"话务任务记录"
}],
activeId
:
"1"
,
showDialog
:
!
1
,
conditionObj
:{
searchInput
:
""
,
storeGroup
:[],
storeType
:
""
,
dateRange
:[]},
storeTypeOptions
:[{
value
:
""
,
label
:
"所有"
},{
value
:
"0"
,
label
:
"自营"
},{
value
:
"1"
,
label
:
"联营"
},{
value
:
"2"
,
label
:
"代理"
},{
value
:
"3"
,
label
:
"代销"
},{
value
:
"4"
,
label
:
"托管"
}],
selectRadio
:
0
,
tableData
:[],
multipleSelection
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
appScene
:
2
,
defaultStoreList
:[],
storeTreeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
1
}}},
computed
:{},
methods
:{
handleCommand
:
function
(
t
){
this
.
selectRadio
=
t
},
setSelectTab
:
function
(
t
){
this
.
activeTab
=
t
.
tabId
},
toInput
:
Object
(
d
.
a
)(
function
(
t
,
e
){
this
.
currentPage
=
1
,
this
.
getTableList
()},
500
),
changeStoreType
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
changeDate
:
function
(
t
){
t
||
(
this
.
conditionObj
.
dateRange
=
[]),
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleSelectionChange
:
function
(
t
){
this
.
multipleSelection
=
t
},
delDepart
:
function
(
t
,
e
){
e
.
splice
(
t
,
1
),
this
.
currentPage
=
1
,
this
.
getTableList
()},
multDel
:
function
(){
if
(
!
this
.
multipleSelection
.
length
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择删除项"
}),
!
1
;
this
.
showDialog
=!
0
},
hideDialog
:
function
(
t
){
if
(
this
.
showDialog
=!
1
,
!
n
()(
t
).
length
)
return
!
1
;
this
.
postMultDel
(
t
)},
postMultDel
:
function
(
t
){
var
e
=
this
,
a
=
[],
o
=
[];
e
.
conditionObj
.
storeGroup
.
forEach
(
function
(
t
){
2
==
t
.
type
&&
a
.
push
(
t
.
groupId
),
3
==
t
.
type
&&
o
.
push
(
t
.
storeId
)});
var
n
=
{
search
:
e
.
conditionObj
.
searchInput
||
""
,
filterStoreIds
:
o
.
join
(
","
)
||
""
,
storeGroupIds
:
a
.
join
(
","
)
||
""
,
storeIds
:
e
.
multipleSelection
.
map
(
function
(
t
){
return
t
.
storeId
}).
join
(
","
)
||
""
,
storeType
:
e
.
conditionObj
.
storeType
||
""
,
startDate
:
e
.
conditionObj
.
dateRange
[
0
]
||
""
,
endDate
:
e
.
conditionObj
.
dateRange
[
1
]
||
""
,
brandId
:
e
.
activeBrand
,
delTaskStatus
:
t
.
delOptFlag
,
reason
:
t
.
reason
,
isAll
:
e
.
selectRadio
};
Object
(
c
.
e
)(
"/haoban-app-tel-task-web/task/batch-del-store-task-list"
,
n
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
u
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
e
.
getTableList
();
p
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
exportExcel
:
function
(){
var
t
=
this
,
e
=
[],
a
=
[];
t
.
conditionObj
.
storeGroup
.
forEach
(
function
(
t
){
2
==
t
.
type
&&
e
.
push
(
t
.
groupId
),
3
==
t
.
type
&&
a
.
push
(
t
.
storeId
)});
var
o
=
{
search
:
t
.
conditionObj
.
searchInput
||
""
,
filterStoreIds
:
a
.
join
(
","
)
||
""
,
storeGroupIds
:
e
.
join
(
","
)
||
""
,
storeType
:
t
.
conditionObj
.
storeType
||
""
,
startDate
:
t
.
conditionObj
.
dateRange
?
t
.
conditionObj
.
dateRange
[
0
]:
""
,
endDate
:
t
.
conditionObj
.
dateRange
?
t
.
conditionObj
.
dateRange
[
1
]:
""
,
brandId
:
t
.
activeBrand
};
Object
(
c
.
b
)(
"/haoban-app-tel-task-web/task/export-store-task-list"
,
o
).
then
(
function
(
e
){
if
(
!
e
.
data
)
return
p
.
a
.
errorMsg
(
"暂无数据"
),
!
1
;
var
a
=
new
Blob
([
e
.
data
],{
type
:
"application/vnd.ms-excel"
}),
o
=
(
t
.
tableData
[
0
]?
t
.
tableData
[
0
].
storeName
:
""
)
+
"门店任务报表.csv"
,
n
=
document
.
createElement
(
"a"
);
n
.
download
=
o
,
n
.
style
.
display
=
"none"
,
n
.
href
=
URL
.
createObjectURL
(
a
),
document
.
body
.
appendChild
(
n
),
n
.
click
(),
URL
.
revokeObjectURL
(
n
.
href
),
document
.
body
.
removeChild
(
n
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handleSizeChange
:
function
(
t
){
this
.
pageSize
=
t
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
t
){
this
.
currentPage
=
t
,
this
.
getTableList
()},
showDialogLayer
:
function
(
t
,
e
){
this
.
selectType
=
t
,
this
.
changed
=
t
,
this
.
defaultStoreList
=
e
,
this
.
storeTreeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
1
,
isSelectPerson
:
!
1
}},
handleSelectedList
:
function
(
t
){
this
.
conditionObj
.
storeGroup
=
t
,
this
.
getTableList
()},
toDetail
:
function
(
t
,
e
){
this
.
$router
.
push
(
"taskDetail?storeId="
+
e
.
storeId
+
"&appIcon="
+
this
.
$route
.
query
.
appIcon
)},
getTableList
:
function
(
t
){
var
e
=
this
,
a
=
[],
o
=
[];
e
.
conditionObj
.
storeGroup
.
forEach
(
function
(
t
){
2
==
t
.
type
&&
a
.
push
(
t
.
groupId
),
3
==
t
.
type
&&
o
.
push
(
t
.
storeId
)});
var
n
=
{
search
:
e
.
conditionObj
.
searchInput
||
""
,
filterStoreIds
:
o
.
join
(
","
)
||
""
,
storeGroupIds
:
a
.
join
(
","
)
||
""
,
storeType
:
e
.
conditionObj
.
storeType
||
""
,
startDate
:
e
.
conditionObj
.
dateRange
[
0
]
||
""
,
endDate
:
e
.
conditionObj
.
dateRange
[
1
]
||
""
,
pageNum
:
e
.
currentPage
,
pageSize
:
e
.
pageSize
,
brandId
:
e
.
activeBrand
};
Object
(
c
.
a
)(
"/haoban-app-tel-task-web/task/store-task-list"
,
n
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
tableData
=
a
.
result
.
list
||
[],
e
.
total
=
a
.
result
.
pageInfo
.
total
,
!
1
;
p
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
brandId
:
function
(
t
,
e
){
t
&&
(
this
.
activeBrand
=
t
,
this
.
getTableList
())},
activeGroupId
:
function
(
t
,
e
){
t
&&
(
this
.
activeGroup
=
t
)}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
activeBrand
=
this
.
brandId
,
this
.
brandId
&&
this
.
getTableList
()},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
i
.
a
,
commonDetailTop
:
l
.
a
,
vueSelectStore
:
s
.
a
,
multipleDel
:
r
.
a
}},
b
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"daily-set-wrap "
},[
a
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
t
.
topMenuData
,
activeId
:
t
.
activeId
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"daily-set-content boder-box"
},[
a
(
"div"
,{
staticClass
:
"table-condition flex flex-space-between m-b-23"
},[
a
(
"div"
,{
staticClass
:
"table-condition-left"
},[
a
(
"el-input"
,{
staticClass
:
"w-264 m-l-10"
,
staticStyle
:{
width
:
"264px"
},
attrs
:{
placeholder
:
"请输入门店名称"
},
nativeOn
:{
keyup
:
function
(
e
){
return
a
=
e
,
t
.
toInput
(
a
,
t
.
conditionObj
.
searchInput
);
var
a
}},
model
:{
value
:
t
.
conditionObj
.
searchInput
,
callback
:
function
(
e
){
t
.
$set
(
t
.
conditionObj
,
"searchInput"
,
e
)},
expression
:
"conditionObj.searchInput"
}},[
a
(
"i"
,{
staticClass
:
"el-input__icon el-icon-search"
,
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
})]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex-column item-cell-select inline-block m-l-10"
},[
a
(
"div"
,{
staticClass
:
"depart-item-wrap"
},[
a
(
"div"
,{
staticClass
:
"el-select el-select--large depart-item-content"
,
staticStyle
:{
width
:
"213px"
},
on
:{
click
:
function
(
e
){
t
.
showDialogLayer
(
"store"
,
t
.
conditionObj
.
storeGroup
)}}},[
t
.
conditionObj
.
storeGroup
.
length
?
t
.
_e
():
a
(
"span"
,{
staticClass
:
"font-14 color-c0c4cc"
},[
t
.
_v
(
"请选择门店分组"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-select__tags"
,
staticStyle
:{
"max-width"
:
"181px"
}},[
a
(
"span"
,[
t
.
_l
(
t
.
conditionObj
.
storeGroup
,
function
(
e
,
o
){
return
[
a
(
"span"
,{
key
:
o
,
staticClass
:
"el-tag el-tag--info el-tag--small"
},[
a
(
"span"
,{
staticClass
:
"el-select__tags-text"
},[
t
.
_v
(
t
.
_s
(
e
.
name
||
e
.
storeName
))]),
a
(
"i"
,{
staticClass
:
"el-tag__close el-icon-close"
,
on
:{
click
:
function
(
e
){
e
.
stopPropagation
(),
t
.
delDepart
(
o
,
t
.
conditionObj
.
storeGroup
)}}})])]})],
2
)])])])]),
t
.
_v
(
" "
),
a
(
"el-select"
,{
staticClass
:
"w-105 m-l-10"
,
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
t
.
changeStoreType
},
model
:{
value
:
t
.
conditionObj
.
storeType
,
callback
:
function
(
e
){
t
.
$set
(
t
.
conditionObj
,
"storeType"
,
e
)},
expression
:
"conditionObj.storeType"
}},
t
.
_l
(
t
.
storeTypeOptions
,
function
(
t
){
return
a
(
"el-option"
,{
key
:
t
.
value
,
attrs
:{
label
:
t
.
label
,
value
:
t
.
value
}})})),
t
.
_v
(
" "
),
a
(
"el-date-picker"
,{
staticClass
:
"m-l-10"
,
attrs
:{
editable
:
!
1
,
"value-format"
:
"yyyy-MM-dd"
,
type
:
"daterange"
,
align
:
"right"
,
"unlink-panels"
:
""
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
},
on
:{
change
:
t
.
changeDate
},
model
:{
value
:
t
.
conditionObj
.
dateRange
,
callback
:
function
(
e
){
t
.
$set
(
t
.
conditionObj
,
"dateRange"
,
e
)},
expression
:
"conditionObj.dateRange"
}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"table-condition-right"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"danger"
},
on
:{
click
:
t
.
multDel
}},[
t
.
_v
(
"批量删除"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
exportExcel
}},[
a
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai p-r-6"
}),
t
.
_v
(
"导出"
)])],
1
)]),
t
.
_v
(
" "
),
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
,
minHeight
:
t
.
tableH
},
attrs
:{
data
:
t
.
tableData
,
"tooltip-effect"
:
"dark"
},
on
:{
"selection-change"
:
t
.
handleSelectionChange
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
width
:
"35"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
width
:
"25"
},
scopedSlots
:
t
.
_u
([{
key
:
"header"
,
fn
:
function
(
e
){
return
[
a
(
"el-dropdown"
,{
staticStyle
:{
"line-height"
:
"10px"
,
padding
:
"0"
,
"margin-left"
:
"-15px"
,
transform
:
"translateY(4px)"
,
"-webkit-transform"
:
"translateY(4px)"
},
attrs
:{
placement
:
"bottom-start"
},
on
:{
command
:
t
.
handleCommand
}},[
a
(
"span"
,{
staticClass
:
"el-dropdown-link"
},[
a
(
"i"
,{
staticClass
:
"el-icon-arrow-down el-icon--right"
})]),
t
.
_v
(
" "
),
a
(
"el-dropdown-menu"
,{
attrs
:{
slot
:
"dropdown"
},
slot
:
"dropdown"
},[
a
(
"el-dropdown-item"
,{
attrs
:{
command
:
"0"
}},[
a
(
"span"
,{
style
:{
color
:
0
==
t
.
selectRadio
?
"#1890ff"
:
"#606266"
}},[
t
.
_v
(
"选择当页"
)])]),
t
.
_v
(
" "
),
a
(
"el-dropdown-item"
,{
attrs
:{
command
:
"1"
}},[
a
(
"span"
,{
style
:{
color
:
1
==
t
.
selectRadio
?
"#1890ff"
:
"#606266"
}},[
t
.
_v
(
"选择全部"
)])])],
1
)],
1
)]}},{
key
:
"default"
,
fn
:
function
(
t
){}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"门店名称"
,
width
:
"120"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
storeName
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"任务总数"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
taskCount
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"已完成(含放弃)"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
completedCount
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"完成率(含放弃)"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
completedRate
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"待完成"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
noCompletedCount
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"逾期中"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
overdueCount
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
t
.
toDetail
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"查看详情"
)])]}}])})],
1
),
t
.
_v
(
" "
),
0
!=
t
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
t
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
t
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
t
.
total
},
on
:{
"size-change"
:
t
.
handleSizeChange
,
"current-change"
:
t
.
handleCurrentChange
}})],
1
):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"multiple-del"
,{
attrs
:{
showDialog
:
t
.
showDialog
,
detailFlag
:
!
1
},
on
:{
hideDialog
:
t
.
hideDialog
}}),
t
.
_v
(
" "
),
a
(
"vue-select-store"
,{
ref
:
"storeSelector"
,
attrs
:{
currentBrand
:
t
.
activeGroup
,
appScene
:
t
.
appScene
,
treeSet
:
t
.
storeTreeSet
,
selectType
:
"group"
,
defaultList
:
t
.
defaultStoreList
},
on
:{
handleSelectedList
:
t
.
handleSelectedList
}})],
1
)},
staticRenderFns
:[]};
var
f
=
a
(
"VU/8"
)(
h
,
b
,
!
1
,
function
(
t
){
a
(
"qsQp"
)},
"data-v-850469a0"
,
null
);
e
.
default
=
f
.
exports
},
qsQp
:
function
(
t
,
e
){}});
\ No newline at end of file
webpackJsonp
([
42
],{
iG3v
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
o
=
a
(
"fZjL"
),
n
=
a
.
n
(
o
),
i
=
a
(
"2eFk"
),
s
=
a
(
"Ie7z"
),
l
=
a
(
"Ke24"
),
r
=
a
(
"LRn8"
),
c
=
a
(
"P9l9"
),
d
=
a
(
"PI0u"
),
u
=
a
(
"3E4D"
),
p
=
a
(
"Ch4/"
),
h
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
activeGroupId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
tableH
:
window
.
screen
.
availHeight
-
464
-
126
,
activeTab
:
"1"
,
activeBrand
:
this
.
brandId
,
activeGroup
:
this
.
activeGroupId
,
topMenuData
:[{
id
:
"1"
,
name
:
"话务任务记录"
}],
activeId
:
"1"
,
showDialog
:
!
1
,
conditionObj
:{
searchInput
:
""
,
storeGroup
:[],
storeType
:
""
,
dateRange
:[]},
storeTypeOptions
:[{
value
:
""
,
label
:
"所有"
},{
value
:
"0"
,
label
:
"自营"
},{
value
:
"1"
,
label
:
"联营"
},{
value
:
"2"
,
label
:
"代理"
},{
value
:
"3"
,
label
:
"代销"
},{
value
:
"4"
,
label
:
"托管"
}],
selectRadio
:
0
,
tableData
:[],
multipleSelection
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
appScene
:
2
,
defaultStoreList
:[],
storeTreeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
1
}}},
computed
:{},
methods
:{
handleCommand
:
function
(
t
){
this
.
selectRadio
=
t
},
setSelectTab
:
function
(
t
){
this
.
activeTab
=
t
.
tabId
},
toInput
:
Object
(
d
.
a
)(
function
(
t
,
e
){
this
.
currentPage
=
1
,
this
.
getTableList
()},
500
),
changeStoreType
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
changeDate
:
function
(
t
){
t
||
(
this
.
conditionObj
.
dateRange
=
[]),
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleSelectionChange
:
function
(
t
){
this
.
multipleSelection
=
t
},
delDepart
:
function
(
t
,
e
){
e
.
splice
(
t
,
1
),
this
.
currentPage
=
1
,
this
.
getTableList
()},
multDel
:
function
(){
if
(
!
this
.
multipleSelection
.
length
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择删除项"
}),
!
1
;
this
.
showDialog
=!
0
},
hideDialog
:
function
(
t
){
if
(
this
.
showDialog
=!
1
,
!
n
()(
t
).
length
)
return
!
1
;
this
.
postMultDel
(
t
)},
postMultDel
:
function
(
t
){
var
e
=
this
,
a
=
[],
o
=
[];
e
.
conditionObj
.
storeGroup
.
forEach
(
function
(
t
){
2
==
t
.
type
&&
a
.
push
(
t
.
groupId
),
3
==
t
.
type
&&
o
.
push
(
t
.
storeId
)});
var
n
=
{
search
:
e
.
conditionObj
.
searchInput
||
""
,
filterStoreIds
:
o
.
join
(
","
)
||
""
,
storeGroupIds
:
a
.
join
(
","
)
||
""
,
storeIds
:
e
.
multipleSelection
.
map
(
function
(
t
){
return
t
.
storeId
}).
join
(
","
)
||
""
,
storeType
:
e
.
conditionObj
.
storeType
||
""
,
startDate
:
e
.
conditionObj
.
dateRange
[
0
]
||
""
,
endDate
:
e
.
conditionObj
.
dateRange
[
1
]
||
""
,
brandId
:
e
.
activeBrand
,
delTaskStatus
:
t
.
delOptFlag
,
reason
:
t
.
reason
,
isAll
:
e
.
selectRadio
};
Object
(
c
.
e
)(
"/haoban-app-tel-task-web/task/batch-del-store-task-list"
,
n
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
u
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
e
.
getTableList
();
p
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
exportExcel
:
function
(){
var
t
=
this
,
e
=
[],
a
=
[];
t
.
conditionObj
.
storeGroup
.
forEach
(
function
(
t
){
2
==
t
.
type
&&
e
.
push
(
t
.
groupId
),
3
==
t
.
type
&&
a
.
push
(
t
.
storeId
)});
var
o
=
{
search
:
t
.
conditionObj
.
searchInput
||
""
,
filterStoreIds
:
a
.
join
(
","
)
||
""
,
storeGroupIds
:
e
.
join
(
","
)
||
""
,
storeType
:
t
.
conditionObj
.
storeType
||
""
,
startDate
:
t
.
conditionObj
.
dateRange
?
t
.
conditionObj
.
dateRange
[
0
]:
""
,
endDate
:
t
.
conditionObj
.
dateRange
?
t
.
conditionObj
.
dateRange
[
1
]:
""
,
brandId
:
t
.
activeBrand
};
Object
(
c
.
b
)(
"/haoban-app-tel-task-web/task/export-store-task-list"
,
o
).
then
(
function
(
e
){
if
(
!
e
.
data
)
return
p
.
a
.
errorMsg
(
"暂无数据"
),
!
1
;
var
a
=
new
Blob
([
e
.
data
],{
type
:
"application/vnd.ms-excel"
}),
o
=
(
t
.
tableData
[
0
]?
t
.
tableData
[
0
].
storeName
:
""
)
+
"门店任务报表.csv"
,
n
=
document
.
createElement
(
"a"
);
n
.
download
=
o
,
n
.
style
.
display
=
"none"
,
n
.
href
=
URL
.
createObjectURL
(
a
),
document
.
body
.
appendChild
(
n
),
n
.
click
(),
URL
.
revokeObjectURL
(
n
.
href
),
document
.
body
.
removeChild
(
n
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handleSizeChange
:
function
(
t
){
this
.
pageSize
=
t
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
t
){
this
.
currentPage
=
t
,
this
.
getTableList
()},
showDialogLayer
:
function
(
t
,
e
){
this
.
selectType
=
t
,
this
.
changed
=
t
,
this
.
defaultStoreList
=
e
,
this
.
storeTreeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
1
,
isSelectPerson
:
!
1
}},
handleSelectedList
:
function
(
t
){
this
.
conditionObj
.
storeGroup
=
t
,
this
.
getTableList
()},
toDetail
:
function
(
t
,
e
){
this
.
$router
.
push
(
"taskDetail?storeId="
+
e
.
storeId
+
"&appIcon="
+
this
.
$route
.
query
.
appIcon
)},
getTableList
:
function
(
t
){
var
e
=
this
,
a
=
[],
o
=
[];
e
.
conditionObj
.
storeGroup
.
forEach
(
function
(
t
){
2
==
t
.
type
&&
a
.
push
(
t
.
groupId
),
3
==
t
.
type
&&
o
.
push
(
t
.
storeId
)});
var
n
=
{
search
:
e
.
conditionObj
.
searchInput
||
""
,
filterStoreIds
:
o
.
join
(
","
)
||
""
,
storeGroupIds
:
a
.
join
(
","
)
||
""
,
storeType
:
e
.
conditionObj
.
storeType
||
""
,
startDate
:
e
.
conditionObj
.
dateRange
[
0
]
||
""
,
endDate
:
e
.
conditionObj
.
dateRange
[
1
]
||
""
,
pageNum
:
e
.
currentPage
,
pageSize
:
e
.
pageSize
,
brandId
:
e
.
activeBrand
};
Object
(
c
.
a
)(
"/haoban-app-tel-task-web/task/store-task-list"
,
n
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
tableData
=
a
.
result
.
list
||
[],
e
.
total
=
a
.
result
.
pageInfo
.
total
,
!
1
;
p
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
brandId
:
function
(
t
,
e
){
t
&&
(
this
.
activeBrand
=
t
,
this
.
getTableList
())},
activeGroupId
:
function
(
t
,
e
){
t
&&
(
this
.
activeGroup
=
t
)}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
activeBrand
=
this
.
brandId
,
this
.
brandId
&&
this
.
getTableList
()},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
i
.
a
,
commonDetailTop
:
l
.
a
,
vueSelectStore
:
s
.
a
,
multipleDel
:
r
.
a
}},
b
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"daily-set-wrap "
},[
a
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
t
.
topMenuData
,
activeId
:
t
.
activeId
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"daily-set-content boder-box"
},[
a
(
"div"
,{
staticClass
:
"table-condition flex flex-space-between m-b-23"
},[
a
(
"div"
,{
staticClass
:
"table-condition-left"
},[
a
(
"el-input"
,{
staticClass
:
"w-264 m-l-10"
,
staticStyle
:{
width
:
"264px"
},
attrs
:{
placeholder
:
"请输入门店名称"
},
nativeOn
:{
keyup
:
function
(
e
){
return
a
=
e
,
t
.
toInput
(
a
,
t
.
conditionObj
.
searchInput
);
var
a
}},
model
:{
value
:
t
.
conditionObj
.
searchInput
,
callback
:
function
(
e
){
t
.
$set
(
t
.
conditionObj
,
"searchInput"
,
e
)},
expression
:
"conditionObj.searchInput"
}},[
a
(
"i"
,{
staticClass
:
"el-input__icon el-icon-search"
,
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
})]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex-column item-cell-select inline-block m-l-10"
},[
a
(
"div"
,{
staticClass
:
"depart-item-wrap"
},[
a
(
"div"
,{
staticClass
:
"el-select el-select--large depart-item-content"
,
staticStyle
:{
width
:
"213px"
},
on
:{
click
:
function
(
e
){
t
.
showDialogLayer
(
"store"
,
t
.
conditionObj
.
storeGroup
)}}},[
t
.
conditionObj
.
storeGroup
.
length
?
t
.
_e
():
a
(
"span"
,{
staticClass
:
"font-14 color-c0c4cc"
},[
t
.
_v
(
"请选择门店分组"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-select__tags"
,
staticStyle
:{
"max-width"
:
"181px"
}},[
a
(
"span"
,[
t
.
_l
(
t
.
conditionObj
.
storeGroup
,
function
(
e
,
o
){
return
[
a
(
"span"
,{
key
:
o
,
staticClass
:
"el-tag el-tag--info el-tag--small"
},[
a
(
"span"
,{
staticClass
:
"el-select__tags-text"
},[
t
.
_v
(
t
.
_s
(
e
.
name
||
e
.
storeName
))]),
a
(
"i"
,{
staticClass
:
"el-tag__close el-icon-close"
,
on
:{
click
:
function
(
e
){
e
.
stopPropagation
(),
t
.
delDepart
(
o
,
t
.
conditionObj
.
storeGroup
)}}})])]})],
2
)])])])]),
t
.
_v
(
" "
),
a
(
"el-select"
,{
staticClass
:
"w-105 m-l-10"
,
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
t
.
changeStoreType
},
model
:{
value
:
t
.
conditionObj
.
storeType
,
callback
:
function
(
e
){
t
.
$set
(
t
.
conditionObj
,
"storeType"
,
e
)},
expression
:
"conditionObj.storeType"
}},
t
.
_l
(
t
.
storeTypeOptions
,
function
(
t
){
return
a
(
"el-option"
,{
key
:
t
.
value
,
attrs
:{
label
:
t
.
label
,
value
:
t
.
value
}})})),
t
.
_v
(
" "
),
a
(
"el-date-picker"
,{
staticClass
:
"m-l-10"
,
attrs
:{
editable
:
!
1
,
"value-format"
:
"yyyy-MM-dd"
,
type
:
"daterange"
,
align
:
"right"
,
"unlink-panels"
:
""
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
},
on
:{
change
:
t
.
changeDate
},
model
:{
value
:
t
.
conditionObj
.
dateRange
,
callback
:
function
(
e
){
t
.
$set
(
t
.
conditionObj
,
"dateRange"
,
e
)},
expression
:
"conditionObj.dateRange"
}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"table-condition-right"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"danger"
},
on
:{
click
:
t
.
multDel
}},[
t
.
_v
(
"批量删除"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
exportExcel
}},[
a
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai p-r-6"
}),
t
.
_v
(
"导出"
)])],
1
)]),
t
.
_v
(
" "
),
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
,
minHeight
:
t
.
tableH
},
attrs
:{
data
:
t
.
tableData
,
"tooltip-effect"
:
"dark"
},
on
:{
"selection-change"
:
t
.
handleSelectionChange
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
width
:
"35"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
width
:
"25"
},
scopedSlots
:
t
.
_u
([{
key
:
"header"
,
fn
:
function
(
e
){
return
[
a
(
"el-dropdown"
,{
staticStyle
:{
"line-height"
:
"10px"
,
padding
:
"0"
,
"margin-left"
:
"-15px"
,
transform
:
"translateY(4px)"
,
"-webkit-transform"
:
"translateY(4px)"
},
attrs
:{
placement
:
"bottom-start"
},
on
:{
command
:
t
.
handleCommand
}},[
a
(
"span"
,{
staticClass
:
"el-dropdown-link"
},[
a
(
"i"
,{
staticClass
:
"el-icon-arrow-down el-icon--right"
})]),
t
.
_v
(
" "
),
a
(
"el-dropdown-menu"
,{
attrs
:{
slot
:
"dropdown"
},
slot
:
"dropdown"
},[
a
(
"el-dropdown-item"
,{
attrs
:{
command
:
"0"
}},[
a
(
"span"
,{
style
:{
color
:
0
==
t
.
selectRadio
?
"#1890ff"
:
"#606266"
}},[
t
.
_v
(
"选择当页"
)])]),
t
.
_v
(
" "
),
a
(
"el-dropdown-item"
,{
attrs
:{
command
:
"1"
}},[
a
(
"span"
,{
style
:{
color
:
1
==
t
.
selectRadio
?
"#1890ff"
:
"#606266"
}},[
t
.
_v
(
"选择全部"
)])])],
1
)],
1
)]}},{
key
:
"default"
,
fn
:
function
(
t
){}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"门店名称"
,
width
:
"120"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
storeName
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"任务总数"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
taskCount
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"已完成(含放弃)"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
completedCount
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"完成率(含放弃)"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
completedRate
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"待完成"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
noCompletedCount
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"逾期中"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
overdueCount
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
t
.
toDetail
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"查看详情"
)])]}}])})],
1
),
t
.
_v
(
" "
),
0
!=
t
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
t
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
t
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
t
.
total
},
on
:{
"size-change"
:
t
.
handleSizeChange
,
"current-change"
:
t
.
handleCurrentChange
}})],
1
):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"multiple-del"
,{
attrs
:{
showDialog
:
t
.
showDialog
,
detailFlag
:
!
1
},
on
:{
hideDialog
:
t
.
hideDialog
}}),
t
.
_v
(
" "
),
a
(
"vue-select-store"
,{
ref
:
"storeSelector"
,
attrs
:{
currentBrand
:
t
.
activeGroup
,
appScene
:
t
.
appScene
,
treeSet
:
t
.
storeTreeSet
,
selectType
:
"group"
,
defaultList
:
t
.
defaultStoreList
},
on
:{
handleSelectedList
:
t
.
handleSelectedList
}})],
1
)},
staticRenderFns
:[]};
var
f
=
a
(
"VU/8"
)(
h
,
b
,
!
1
,
function
(
t
){
a
(
"qsQp"
)},
"data-v-850469a0"
,
null
);
e
.
default
=
f
.
exports
},
qsQp
:
function
(
t
,
e
){}});
\ No newline at end of file
dist/static/js/4
4.12f6d6e11d29fce5030d
.js
→
dist/static/js/4
3.dd9e90d8053228b68228
.js
View file @
35fc15c1
webpackJsonp
([
44
],{
"3sUs"
:
function
(
t
,
a
){},
cuIN
:
function
(
t
,
a
,
e
){
"use strict"
;
Object
.
defineProperty
(
a
,
"__esModule"
,{
value
:
!
0
});
var
n
=
e
(
"2eFk"
),
c
=
e
(
"fvdr"
),
o
=
e
(
"Qie6"
),
s
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
appName
:
"我的顾客"
,
appIcon
:
""
,
activeTab
:
"1"
,
tabListData
:[{
tabId
:
"1"
,
tabName
:
"会员搜索设置"
,
icon
:
"icon-sousuoshezhi"
},{
tabId
:
"2"
,
tabName
:
"在线沟通设置"
,
icon
:
"icon-zaixiangoutong"
}],
activeBrand
:
"1"
}},
computed
:{},
methods
:{
selectBrandId
:
function
(
t
){
this
.
activeBrand
=
t
},
setSelectTab
:
function
(
t
){
this
.
activeTab
=
t
.
tabId
}},
watch
:{
activeBrand
:
function
(
t
,
a
){
this
.
activeBrand
=
t
}},
mounted
:
function
(){
var
t
=
this
.
$route
.
query
.
appIcon
;
t
&&
(
this
.
appIcon
=
window
.
unescape
(
t
)),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
n
.
a
,
commonAppTop
:
c
.
a
,
commonDetailLeft
:
o
.
a
}},
i
=
{
render
:
function
(){
var
t
=
this
,
a
=
t
.
$createElement
,
e
=
t
.
_self
.
_c
||
a
;
return
e
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
e
(
"div"
,{
staticClass
:
"right-content"
},[
e
(
"common-app-top"
,{
attrs
:{
appName
:
t
.
appName
,
appIcon
:
t
.
appIcon
},
on
:{
selectBrandId
:
t
.
selectBrandId
}}),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"right-box"
},[
e
(
"div"
,{
staticClass
:
"apps-content flex"
},[
e
(
"div"
,{
staticClass
:
"apps-content-left w-157"
},[
e
(
"common-detail-left"
,{
attrs
:{
tabListData
:
t
.
tabListData
},
on
:{
setSelectTab
:
t
.
setSelectTab
}})],
1
),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"apps-content-right"
},[
e
(
"app-detail"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
tabType
:
t
.
activeTab
}})],
1
)])])],
1
),
t
.
_v
(
" "
),
e
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
d
=
e
(
"VU/8"
)(
s
,
i
,
!
1
,
function
(
t
){
e
(
"3sUs"
)},
"data-v-84a5f074"
,
null
);
a
.
default
=
d
.
exports
}});
\ No newline at end of file
webpackJsonp
([
43
],{
"3sUs"
:
function
(
t
,
a
){},
cuIN
:
function
(
t
,
a
,
e
){
"use strict"
;
Object
.
defineProperty
(
a
,
"__esModule"
,{
value
:
!
0
});
var
n
=
e
(
"2eFk"
),
c
=
e
(
"fvdr"
),
o
=
e
(
"Qie6"
),
s
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
appName
:
"我的顾客"
,
appIcon
:
""
,
activeTab
:
"1"
,
tabListData
:[{
tabId
:
"1"
,
tabName
:
"会员搜索设置"
,
icon
:
"icon-sousuoshezhi"
},{
tabId
:
"2"
,
tabName
:
"在线沟通设置"
,
icon
:
"icon-zaixiangoutong"
}],
activeBrand
:
"1"
}},
computed
:{},
methods
:{
selectBrandId
:
function
(
t
){
this
.
activeBrand
=
t
},
setSelectTab
:
function
(
t
){
this
.
activeTab
=
t
.
tabId
}},
watch
:{
activeBrand
:
function
(
t
,
a
){
this
.
activeBrand
=
t
}},
mounted
:
function
(){
var
t
=
this
.
$route
.
query
.
appIcon
;
t
&&
(
this
.
appIcon
=
window
.
unescape
(
t
)),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
n
.
a
,
commonAppTop
:
c
.
a
,
commonDetailLeft
:
o
.
a
}},
i
=
{
render
:
function
(){
var
t
=
this
,
a
=
t
.
$createElement
,
e
=
t
.
_self
.
_c
||
a
;
return
e
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
e
(
"div"
,{
staticClass
:
"right-content"
},[
e
(
"common-app-top"
,{
attrs
:{
appName
:
t
.
appName
,
appIcon
:
t
.
appIcon
},
on
:{
selectBrandId
:
t
.
selectBrandId
}}),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"right-box"
},[
e
(
"div"
,{
staticClass
:
"apps-content flex"
},[
e
(
"div"
,{
staticClass
:
"apps-content-left w-157"
},[
e
(
"common-detail-left"
,{
attrs
:{
tabListData
:
t
.
tabListData
},
on
:{
setSelectTab
:
t
.
setSelectTab
}})],
1
),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"apps-content-right"
},[
e
(
"app-detail"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
tabType
:
t
.
activeTab
}})],
1
)])])],
1
),
t
.
_v
(
" "
),
e
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
d
=
e
(
"VU/8"
)(
s
,
i
,
!
1
,
function
(
t
){
e
(
"3sUs"
)},
"data-v-84a5f074"
,
null
);
a
.
default
=
d
.
exports
}});
\ No newline at end of file
dist/static/js/4
5.bfad77aa2ad556a32c7c
.js
→
dist/static/js/4
4.deb9f07fde1e218414cf
.js
View file @
35fc15c1
webpackJsonp
([
45
],{
Mh6D
:
function
(
t
,
e
){},
e88N
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"2eFk"
),
i
=
a
(
"fvdr"
),
c
=
a
(
"Qie6"
),
o
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
380
+
"px"
,
appName
:
"话务任务"
,
appIcon
:
"icon-ribao"
,
activeSelTab
:
"1"
,
activeTab
:
"1"
,
tabListData
:[{
tabId
:
"1"
,
tabName
:
"话务任务记录"
,
icon
:
"icon-tonghuahuawuliang"
,
onlyIconActive
:
!
1
},{
tabId
:
"2"
,
tabName
:
"话务任务设置"
,
icon
:
"icon-huawujinengzupeizhi"
,
onlyIconActive
:
!
1
},{
tabId
:
"3"
,
tabName
:
"不良评价回访设置"
,
icon
:
"icon-ribaoshezhi"
,
onlyIconActive
:
!
1
}],
activeBrand
:
""
,
activeGroup
:
""
}},
computed
:{},
methods
:{
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
selectBrandId
:
function
(
t
,
e
){
this
.
activeBrand
=
t
,
this
.
activeGroup
=
e
},
setSelectTab
:
function
(
t
){
switch
(
this
.
activeTab
=
t
.
tabId
,
t
.
tabId
){
case
"1"
:
this
.
changeRoute
(
"taskRecord?appIcon="
+
this
.
$route
.
query
.
appIcon
);
break
;
case
"2"
:
this
.
changeRoute
(
"trafficTaskSet?appIcon="
+
this
.
$route
.
query
.
appIcon
);
break
;
case
"3"
:
this
.
changeRoute
(
"badEvaluateSet?appIcon="
+
this
.
$route
.
query
.
appIcon
)}},
showTab
:
function
(
t
){
this
.
activeTab
=
t
,
this
.
activeSelTab
=
t
,
this
.
tabListData
.
forEach
(
function
(
e
){
e
.
tabId
==
t
&&
(
e
.
onlyIconActive
=!
1
),
e
.
children
&&
e
.
children
.
forEach
(
function
(
a
){
a
.
tabId
==
t
&&
(
e
.
onlyIconActive
=!
0
),
a
.
children
&&
a
.
children
.
forEach
(
function
(
a
){
a
.
tabId
==
t
&&
(
e
.
onlyIconActive
=!
0
)})})})}},
watch
:{
activeBrand
:
function
(
t
,
e
){
this
.
activeBrand
=
t
},
activeGroup
:
function
(
t
,
e
){
this
.
activeGroup
=
t
}},
mounted
:
function
(){
var
t
=
this
.
$route
.
query
.
appIcon
;
t
&&
(
this
.
appIcon
=
window
.
unescape
(
t
)),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
n
.
a
,
commonAppTop
:
i
.
a
,
commonDetailLeft
:
c
.
a
}},
s
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"common-app-top"
,{
attrs
:{
appName
:
t
.
appName
,
appIcon
:
t
.
appIcon
},
on
:{
selectBrandId
:
t
.
selectBrandId
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-box"
,
style
:{
"min-height"
:
t
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content flex"
,
style
:{
"min-height"
:
t
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content-left w-157"
,
style
:{
"min-height"
:
t
.
bgHeight
}},[
a
(
"common-detail-left"
,{
attrs
:{
tabListData
:
t
.
tabListData
,
activeSelTab
:
t
.
activeSelTab
},
on
:{
setSelectTab
:
t
.
setSelectTab
}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apps-content-right"
},[
a
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
a
(
"router-view"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
activeGroupId
:
t
.
activeGroup
,
tabType
:
t
.
activeTab
},
on
:{
showTab
:
t
.
showTab
}})],
1
)],
1
)])])],
1
),
t
.
_v
(
" "
),
a
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
r
=
a
(
"VU/8"
)(
o
,
s
,
!
1
,
function
(
t
){
a
(
"Mh6D"
)},
"data-v-7f9fb16b"
,
null
);
e
.
default
=
r
.
exports
}});
\ No newline at end of file
webpackJsonp
([
44
],{
Mh6D
:
function
(
t
,
e
){},
e88N
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"2eFk"
),
i
=
a
(
"fvdr"
),
c
=
a
(
"Qie6"
),
o
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
380
+
"px"
,
appName
:
"话务任务"
,
appIcon
:
"icon-ribao"
,
activeSelTab
:
"1"
,
activeTab
:
"1"
,
tabListData
:[{
tabId
:
"1"
,
tabName
:
"话务任务记录"
,
icon
:
"icon-tonghuahuawuliang"
,
onlyIconActive
:
!
1
},{
tabId
:
"2"
,
tabName
:
"话务任务设置"
,
icon
:
"icon-huawujinengzupeizhi"
,
onlyIconActive
:
!
1
},{
tabId
:
"3"
,
tabName
:
"不良评价回访设置"
,
icon
:
"icon-ribaoshezhi"
,
onlyIconActive
:
!
1
}],
activeBrand
:
""
,
activeGroup
:
""
}},
computed
:{},
methods
:{
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
selectBrandId
:
function
(
t
,
e
){
this
.
activeBrand
=
t
,
this
.
activeGroup
=
e
},
setSelectTab
:
function
(
t
){
switch
(
this
.
activeTab
=
t
.
tabId
,
t
.
tabId
){
case
"1"
:
this
.
changeRoute
(
"taskRecord?appIcon="
+
this
.
$route
.
query
.
appIcon
);
break
;
case
"2"
:
this
.
changeRoute
(
"trafficTaskSet?appIcon="
+
this
.
$route
.
query
.
appIcon
);
break
;
case
"3"
:
this
.
changeRoute
(
"badEvaluateSet?appIcon="
+
this
.
$route
.
query
.
appIcon
)}},
showTab
:
function
(
t
){
this
.
activeTab
=
t
,
this
.
activeSelTab
=
t
,
this
.
tabListData
.
forEach
(
function
(
e
){
e
.
tabId
==
t
&&
(
e
.
onlyIconActive
=!
1
),
e
.
children
&&
e
.
children
.
forEach
(
function
(
a
){
a
.
tabId
==
t
&&
(
e
.
onlyIconActive
=!
0
),
a
.
children
&&
a
.
children
.
forEach
(
function
(
a
){
a
.
tabId
==
t
&&
(
e
.
onlyIconActive
=!
0
)})})})}},
watch
:{
activeBrand
:
function
(
t
,
e
){
this
.
activeBrand
=
t
},
activeGroup
:
function
(
t
,
e
){
this
.
activeGroup
=
t
}},
mounted
:
function
(){
var
t
=
this
.
$route
.
query
.
appIcon
;
t
&&
(
this
.
appIcon
=
window
.
unescape
(
t
)),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
n
.
a
,
commonAppTop
:
i
.
a
,
commonDetailLeft
:
c
.
a
}},
s
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"common-app-top"
,{
attrs
:{
appName
:
t
.
appName
,
appIcon
:
t
.
appIcon
},
on
:{
selectBrandId
:
t
.
selectBrandId
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-box"
,
style
:{
"min-height"
:
t
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content flex"
,
style
:{
"min-height"
:
t
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content-left w-157"
,
style
:{
"min-height"
:
t
.
bgHeight
}},[
a
(
"common-detail-left"
,{
attrs
:{
tabListData
:
t
.
tabListData
,
activeSelTab
:
t
.
activeSelTab
},
on
:{
setSelectTab
:
t
.
setSelectTab
}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apps-content-right"
},[
a
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
a
(
"router-view"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
activeGroupId
:
t
.
activeGroup
,
tabType
:
t
.
activeTab
},
on
:{
showTab
:
t
.
showTab
}})],
1
)],
1
)])])],
1
),
t
.
_v
(
" "
),
a
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
r
=
a
(
"VU/8"
)(
o
,
s
,
!
1
,
function
(
t
){
a
(
"Mh6D"
)},
"data-v-7f9fb16b"
,
null
);
e
.
default
=
r
.
exports
}});
\ No newline at end of file
dist/static/js/4
6.5e58d02bfb5d53a3e1b5
.js
→
dist/static/js/4
5.feeb9dd78b7b12f700d2
.js
View file @
35fc15c1
webpackJsonp
([
46
],{
"5x7s"
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"2eFk"
),
n
=
a
(
"Ke24"
),
i
=
a
(
"PI0u"
),
o
=
a
(
"Ch4/"
),
c
=
a
(
"3E4D"
),
r
=
a
(
"P9l9"
),
d
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
activeTab
:
"1"
,
activeBrand
:
this
.
brandId
,
topMenuData
:[{
id
:
"1"
,
name
:
"任务下发设置"
}],
activeId
:
"1"
,
setData
:{
status
:
!
1
,
time
:
"12:00"
}}},
computed
:{},
methods
:{
saveSet
:
Object
(
i
.
a
)(
function
(){
this
.
postSave
()},
500
),
postSave
:
function
(){
var
t
=
this
,
e
=
{
brandId
:
t
.
activeBrand
,
status
:
t
.
setData
.
status
?
"1"
:
"0"
,
time
:
t
.
setData
.
time
};
Object
(
r
.
e
)(
"/haoban-app-daily-web/daily/create-setting"
,
e
).
then
(
function
(
t
){
var
e
=
t
.
data
;
1
!=
e
.
errorCode
?
o
.
a
.
errorMsg
(
e
):
c
.
a
.
showmsg
(
"保存成功"
,
"success"
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getData
:
function
(){
var
t
=
this
,
e
=
{
brandId
:
t
.
activeBrand
};
Object
(
r
.
e
)(
"/haoban-app-daily-web/daily/get-setting"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
t
.
setData
.
status
=
1
==
a
.
result
.
status
,
void
(
t
.
setData
.
time
=
a
.
result
.
time
);
o
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
brandId
:
function
(
t
,
e
){
t
&&
(
this
.
activeBrand
=
t
,
this
.
getData
())}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
$emit
(
"showTab"
,
"22"
),
this
.
brandId
&&
this
.
getData
()},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
s
.
a
,
commonDetailTop
:
n
.
a
}},
l
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"app-detail-wrap"
},[
a
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
t
.
topMenuData
,
activeId
:
t
.
activeId
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"task-set-content boder-box"
},[
a
(
"div"
,{
staticClass
:
"task-set-cell"
},[
a
(
"div"
,{
staticClass
:
"font-16 color-606266 m-b-10 font-w-500"
},[
t
.
_v
(
"日报开关设置"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"font-14 color-606266 m-b-16"
},[
t
.
_v
(
"开启后,日报将定时发送"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{},[
a
(
"el-switch"
,{
attrs
:{
"active-text"
:
" "
,
"inactive-text"
:
" "
},
model
:{
value
:
t
.
setData
.
status
,
callback
:
function
(
e
){
t
.
$set
(
t
.
setData
,
"status"
,
e
)},
expression
:
"setData.status"
}})],
1
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"task-set-cell"
},[
a
(
"div"
,{
staticClass
:
"font-16 color-606266 m-b-10 font-w-500"
},[
t
.
_v
(
"日报每日下发时间设置"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"font-14 color-606266 m-b-16"
},[
t
.
_v
(
"该事件设置将在次日生效,为避免影响当日日报的发送,请在日报发送后设置"
)]),
t
.
_v
(
" "
),
a
(
"div"
,[
a
(
"el-time-select"
,{
staticClass
:
"w-118"
,
attrs
:{
editable
:
!
1
,
clearable
:
!
1
,
"picker-options"
:{
start
:
"00:00"
,
step
:
"00:15"
,
end
:
"23:45"
},
placeholder
:
"选择时间"
},
model
:{
value
:
t
.
setData
.
time
,
callback
:
function
(
e
){
t
.
$set
(
t
.
setData
,
"time"
,
e
)},
expression
:
"setData.time"
}})],
1
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"task-set-save m-t-30"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
saveSet
}},[
t
.
_v
(
"保 存"
)])],
1
)])],
1
)},
staticRenderFns
:[]};
var
u
=
a
(
"VU/8"
)(
d
,
l
,
!
1
,
function
(
t
){
a
(
"W7qN"
)},
"data-v-7f9ef9d2"
,
null
);
e
.
default
=
u
.
exports
},
W7qN
:
function
(
t
,
e
){}});
\ No newline at end of file
webpackJsonp
([
45
],{
"5x7s"
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"2eFk"
),
n
=
a
(
"Ke24"
),
i
=
a
(
"PI0u"
),
o
=
a
(
"Ch4/"
),
c
=
a
(
"3E4D"
),
r
=
a
(
"P9l9"
),
d
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
activeTab
:
"1"
,
activeBrand
:
this
.
brandId
,
topMenuData
:[{
id
:
"1"
,
name
:
"任务下发设置"
}],
activeId
:
"1"
,
setData
:{
status
:
!
1
,
time
:
"12:00"
}}},
computed
:{},
methods
:{
saveSet
:
Object
(
i
.
a
)(
function
(){
this
.
postSave
()},
500
),
postSave
:
function
(){
var
t
=
this
,
e
=
{
brandId
:
t
.
activeBrand
,
status
:
t
.
setData
.
status
?
"1"
:
"0"
,
time
:
t
.
setData
.
time
};
Object
(
r
.
e
)(
"/haoban-app-daily-web/daily/create-setting"
,
e
).
then
(
function
(
t
){
var
e
=
t
.
data
;
1
!=
e
.
errorCode
?
o
.
a
.
errorMsg
(
e
):
c
.
a
.
showmsg
(
"保存成功"
,
"success"
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getData
:
function
(){
var
t
=
this
,
e
=
{
brandId
:
t
.
activeBrand
};
Object
(
r
.
e
)(
"/haoban-app-daily-web/daily/get-setting"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
t
.
setData
.
status
=
1
==
a
.
result
.
status
,
void
(
t
.
setData
.
time
=
a
.
result
.
time
);
o
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
brandId
:
function
(
t
,
e
){
t
&&
(
this
.
activeBrand
=
t
,
this
.
getData
())}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
$emit
(
"showTab"
,
"22"
),
this
.
brandId
&&
this
.
getData
()},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
s
.
a
,
commonDetailTop
:
n
.
a
}},
l
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"app-detail-wrap"
},[
a
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
t
.
topMenuData
,
activeId
:
t
.
activeId
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"task-set-content boder-box"
},[
a
(
"div"
,{
staticClass
:
"task-set-cell"
},[
a
(
"div"
,{
staticClass
:
"font-16 color-606266 m-b-10 font-w-500"
},[
t
.
_v
(
"日报开关设置"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"font-14 color-606266 m-b-16"
},[
t
.
_v
(
"开启后,日报将定时发送"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{},[
a
(
"el-switch"
,{
attrs
:{
"active-text"
:
" "
,
"inactive-text"
:
" "
},
model
:{
value
:
t
.
setData
.
status
,
callback
:
function
(
e
){
t
.
$set
(
t
.
setData
,
"status"
,
e
)},
expression
:
"setData.status"
}})],
1
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"task-set-cell"
},[
a
(
"div"
,{
staticClass
:
"font-16 color-606266 m-b-10 font-w-500"
},[
t
.
_v
(
"日报每日下发时间设置"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"font-14 color-606266 m-b-16"
},[
t
.
_v
(
"该事件设置将在次日生效,为避免影响当日日报的发送,请在日报发送后设置"
)]),
t
.
_v
(
" "
),
a
(
"div"
,[
a
(
"el-time-select"
,{
staticClass
:
"w-118"
,
attrs
:{
editable
:
!
1
,
clearable
:
!
1
,
"picker-options"
:{
start
:
"00:00"
,
step
:
"00:15"
,
end
:
"23:45"
},
placeholder
:
"选择时间"
},
model
:{
value
:
t
.
setData
.
time
,
callback
:
function
(
e
){
t
.
$set
(
t
.
setData
,
"time"
,
e
)},
expression
:
"setData.time"
}})],
1
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"task-set-save m-t-30"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
saveSet
}},[
t
.
_v
(
"保 存"
)])],
1
)])],
1
)},
staticRenderFns
:[]};
var
u
=
a
(
"VU/8"
)(
d
,
l
,
!
1
,
function
(
t
){
a
(
"W7qN"
)},
"data-v-7f9ef9d2"
,
null
);
e
.
default
=
u
.
exports
},
W7qN
:
function
(
t
,
e
){}});
\ No newline at end of file
dist/static/js/4
7.c8b46666a5089512baa4
.js
→
dist/static/js/4
6.98fb716c1e5a99ebdcf8
.js
View file @
35fc15c1
webpackJsonp
([
47
],{
"8lts"
:
function
(
e
,
a
){},
AdJp
:
function
(
e
,
a
,
t
){
"use strict"
;
Object
.
defineProperty
(
a
,
"__esModule"
,{
value
:
!
0
});
var
n
=
t
(
"Xxa5"
),
o
=
t
.
n
(
n
),
r
=
t
(
"exGp"
),
s
=
t
.
n
(
r
),
m
=
t
(
"3Xzz"
),
i
=
t
(
"WSbm"
),
d
=
t
(
"P9l9"
),
c
=
{
name
:
"employeeDetail"
,
components
:{
navCrumb
:
m
.
a
,
employeeInfo
:
i
.
a
},
data
:
function
(){
return
{
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"企业通讯录"
,
path
:
"/administrativeFrame"
},{
name
:
"行政架构"
,
path
:
"/administrativeFrame"
},{
name
:
"添加员工"
,
path
:
""
}],
navpathEdit
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"企业通讯录"
,
path
:
"/administrativeFrame"
},{
name
:
"行政架构"
,
path
:
"/administrativeFrame"
},{
name
:
"编辑员工"
,
path
:
""
}],
managerMode
:
!
1
}},
methods
:{
save
:
function
(
e
){
var
a
=
this
;
return
s
()(
o
.
a
.
mark
(
function
t
(){
var
n
;
return
o
.
a
.
wrap
(
function
(
t
){
for
(;;)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
t
.
next
=
2
,
a
.
$refs
.
emmployInfo
.
submitForm
(
"employeeForm"
);
case
2
:
t
.
sent
&&
(
n
=
a
.
$refs
.
emmployInfo
.
info
,
a
.
isNew
?
a
.
addEmployee
(
n
,
e
):
a
.
saveEmployeeInfo
(
n
));
case
4
:
case
"end"
:
return
t
.
stop
()}},
t
,
a
)}))()},
addEmployee
:
function
(
e
,
a
){
var
t
=
this
,
n
=
{
name
:
e
.
name
,
isClerk
:
0
,
phoneNumber
:
e
.
phoneNumber
,
positionName
:
e
.
positionName
,
departmentId
:
e
.
departmentId
,
managerMode
:
1
*
e
.
managerMode
,
nationcode
:
e
.
nationcode
};
Object
(
d
.
a
)(
"/haoban-manage-web/emp/add"
,
n
).
then
(
function
(
e
){
1
==
e
.
data
.
errorCode
?(
t
.
$message
.
success
({
message
:
"操作成功"
}),
1
==
a
?(
t
.
$refs
.
emmployInfo
.
info
=
{
name
:
""
,
phoneNumber
:
""
,
departmentId
:
""
,
departmentName
:
""
,
managerMode
:
!
1
,
nationcode
:
"86"
},
t
.
$refs
.
emmployInfo
.
defaultSelection
=
[],
t
.
$refs
.
emmployInfo
.
resetForm
(
"employeeForm"
)):
window
.
history
.
go
(
-
1
)):
t
.
$message
.
error
({
message
:
e
.
data
.
message
})}).
catch
(
function
(
e
){})},
saveEmployeeInfo
:
function
(
e
){
var
a
=
this
,
t
=
{
name
:
e
.
name
,
phoneNumber
:
e
.
phoneNumber
,
positionName
:
e
.
positionName
,
departmentId
:
e
.
departmentId
,
employeeClerkId
:
a
.
$route
.
query
.
employeeClerkId
,
managerMode
:
1
*
e
.
managerMode
,
nationcode
:
e
.
nationcode
};
Object
(
d
.
a
)(
"/haoban-manage-web/emp/update"
,
t
).
then
(
function
(
e
){
1
==
e
.
data
.
errorCode
?(
a
.
$message
.
success
({
message
:
"操作成功"
}),
window
.
history
.
go
(
-
1
)):
a
.
$message
.
error
({
message
:
e
.
data
.
message
})}).
catch
(
function
(
e
){
a
.
$message
.
error
({
message
:
e
.
message
})})},
cancel
:
function
(){
this
.
$confirm
(
" 是否确认取消,取消后当前页面信息将丢失 ?"
,
"提示"
,{
type
:
"warning"
}).
then
(
function
(){
window
.
history
.
go
(
-
1
)}).
catch
(
function
(
e
){})}},
computed
:{
isNew
:
function
(){
return
1
==!!
this
.
$route
.
query
.
addnew
}},
mounted
:
function
(){
this
.
$route
.
query
.
addnew
||
(
this
.
navpath
=
this
.
navpathEdit
)}},
p
=
{
render
:
function
(){
var
e
=
this
,
a
=
e
.
$createElement
,
t
=
e
.
_self
.
_c
||
a
;
return
t
(
"div"
,{
staticClass
:
"common-set-wrap"
},[
t
(
"nav-crumb"
,{
attrs
:{
navpath
:
e
.
navpath
}}),
e
.
_v
(
" "
),
t
(
"div"
,{
staticClass
:
"right-content"
},[
t
(
"div"
,{
staticClass
:
"right-box"
},[
t
(
"div"
,{
staticClass
:
"employee-detail"
,
style
:{
height
:
e
.
$store
.
state
.
bgHeight
}},[
t
(
"employee-info"
,{
ref
:
"emmployInfo"
,
attrs
:{
isNew
:
e
.
isNew
}}),
e
.
_v
(
" "
),
e
.
$route
.
query
.
readOnly
?
e
.
_e
():
t
(
"div"
,{
staticClass
:
"btn-boxs"
},[
t
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
save
}},[
e
.
_v
(
"保 存"
)]),
e
.
_v
(
" "
),
e
.
isNew
?
t
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
a
){
e
.
save
(
1
)}}},[
e
.
_v
(
"保存并继续添加"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
t
(
"el-button"
,{
on
:{
click
:
e
.
cancel
}},[
e
.
_v
(
"取 消"
)])],
1
)],
1
)])])],
1
)},
staticRenderFns
:[]};
var
u
=
t
(
"VU/8"
)(
c
,
p
,
!
1
,
function
(
e
){
t
(
"8lts"
)},
null
,
null
);
a
.
default
=
u
.
exports
}});
\ No newline at end of file
webpackJsonp
([
46
],{
"8lts"
:
function
(
e
,
a
){},
AdJp
:
function
(
e
,
a
,
t
){
"use strict"
;
Object
.
defineProperty
(
a
,
"__esModule"
,{
value
:
!
0
});
var
n
=
t
(
"Xxa5"
),
o
=
t
.
n
(
n
),
r
=
t
(
"exGp"
),
s
=
t
.
n
(
r
),
m
=
t
(
"3Xzz"
),
i
=
t
(
"WSbm"
),
d
=
t
(
"P9l9"
),
c
=
{
name
:
"employeeDetail"
,
components
:{
navCrumb
:
m
.
a
,
employeeInfo
:
i
.
a
},
data
:
function
(){
return
{
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"企业通讯录"
,
path
:
"/administrativeFrame"
},{
name
:
"行政架构"
,
path
:
"/administrativeFrame"
},{
name
:
"添加员工"
,
path
:
""
}],
navpathEdit
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"企业通讯录"
,
path
:
"/administrativeFrame"
},{
name
:
"行政架构"
,
path
:
"/administrativeFrame"
},{
name
:
"编辑员工"
,
path
:
""
}],
managerMode
:
!
1
}},
methods
:{
save
:
function
(
e
){
var
a
=
this
;
return
s
()(
o
.
a
.
mark
(
function
t
(){
var
n
;
return
o
.
a
.
wrap
(
function
(
t
){
for
(;;)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
t
.
next
=
2
,
a
.
$refs
.
emmployInfo
.
submitForm
(
"employeeForm"
);
case
2
:
t
.
sent
&&
(
n
=
a
.
$refs
.
emmployInfo
.
info
,
a
.
isNew
?
a
.
addEmployee
(
n
,
e
):
a
.
saveEmployeeInfo
(
n
));
case
4
:
case
"end"
:
return
t
.
stop
()}},
t
,
a
)}))()},
addEmployee
:
function
(
e
,
a
){
var
t
=
this
,
n
=
{
name
:
e
.
name
,
isClerk
:
0
,
phoneNumber
:
e
.
phoneNumber
,
positionName
:
e
.
positionName
,
departmentId
:
e
.
departmentId
,
managerMode
:
1
*
e
.
managerMode
,
nationcode
:
e
.
nationcode
};
Object
(
d
.
a
)(
"/haoban-manage-web/emp/add"
,
n
).
then
(
function
(
e
){
1
==
e
.
data
.
errorCode
?(
t
.
$message
.
success
({
message
:
"操作成功"
}),
1
==
a
?(
t
.
$refs
.
emmployInfo
.
info
=
{
name
:
""
,
phoneNumber
:
""
,
departmentId
:
""
,
departmentName
:
""
,
managerMode
:
!
1
,
nationcode
:
"86"
},
t
.
$refs
.
emmployInfo
.
defaultSelection
=
[],
t
.
$refs
.
emmployInfo
.
resetForm
(
"employeeForm"
)):
window
.
history
.
go
(
-
1
)):
t
.
$message
.
error
({
message
:
e
.
data
.
message
})}).
catch
(
function
(
e
){})},
saveEmployeeInfo
:
function
(
e
){
var
a
=
this
,
t
=
{
name
:
e
.
name
,
phoneNumber
:
e
.
phoneNumber
,
positionName
:
e
.
positionName
,
departmentId
:
e
.
departmentId
,
employeeClerkId
:
a
.
$route
.
query
.
employeeClerkId
,
managerMode
:
1
*
e
.
managerMode
,
nationcode
:
e
.
nationcode
};
Object
(
d
.
a
)(
"/haoban-manage-web/emp/update"
,
t
).
then
(
function
(
e
){
1
==
e
.
data
.
errorCode
?(
a
.
$message
.
success
({
message
:
"操作成功"
}),
window
.
history
.
go
(
-
1
)):
a
.
$message
.
error
({
message
:
e
.
data
.
message
})}).
catch
(
function
(
e
){
a
.
$message
.
error
({
message
:
e
.
message
})})},
cancel
:
function
(){
this
.
$confirm
(
" 是否确认取消,取消后当前页面信息将丢失 ?"
,
"提示"
,{
type
:
"warning"
}).
then
(
function
(){
window
.
history
.
go
(
-
1
)}).
catch
(
function
(
e
){})}},
computed
:{
isNew
:
function
(){
return
1
==!!
this
.
$route
.
query
.
addnew
}},
mounted
:
function
(){
this
.
$route
.
query
.
addnew
||
(
this
.
navpath
=
this
.
navpathEdit
)}},
p
=
{
render
:
function
(){
var
e
=
this
,
a
=
e
.
$createElement
,
t
=
e
.
_self
.
_c
||
a
;
return
t
(
"div"
,{
staticClass
:
"common-set-wrap"
},[
t
(
"nav-crumb"
,{
attrs
:{
navpath
:
e
.
navpath
}}),
e
.
_v
(
" "
),
t
(
"div"
,{
staticClass
:
"right-content"
},[
t
(
"div"
,{
staticClass
:
"right-box"
},[
t
(
"div"
,{
staticClass
:
"employee-detail"
,
style
:{
height
:
e
.
$store
.
state
.
bgHeight
}},[
t
(
"employee-info"
,{
ref
:
"emmployInfo"
,
attrs
:{
isNew
:
e
.
isNew
}}),
e
.
_v
(
" "
),
e
.
$route
.
query
.
readOnly
?
e
.
_e
():
t
(
"div"
,{
staticClass
:
"btn-boxs"
},[
t
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
save
}},[
e
.
_v
(
"保 存"
)]),
e
.
_v
(
" "
),
e
.
isNew
?
t
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
a
){
e
.
save
(
1
)}}},[
e
.
_v
(
"保存并继续添加"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
t
(
"el-button"
,{
on
:{
click
:
e
.
cancel
}},[
e
.
_v
(
"取 消"
)])],
1
)],
1
)])])],
1
)},
staticRenderFns
:[]};
var
u
=
t
(
"VU/8"
)(
c
,
p
,
!
1
,
function
(
e
){
t
(
"8lts"
)},
null
,
null
);
a
.
default
=
u
.
exports
}});
\ No newline at end of file
dist/static/js/4
8.854c6c054adb5cba1f06
.js
→
dist/static/js/4
7.de0e290ed4c878d0c8c3
.js
View file @
35fc15c1
webpackJsonp
([
48
],{
"av/3"
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"2eFk"
),
o
=
a
(
"fvdr"
),
i
=
a
(
"Qie6"
),
c
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
380
+
"px"
,
appName
:
"企业公告"
,
appIcon
:
"icon-gonggao"
,
activeSelTab
:
"1"
,
activeTab
:
"1"
,
tabListData
:[{
id
:
"1"
,
name
:
"企业公告列表"
,
icon
:
""
,
onlyIconActive
:
!
1
},{
id
:
"2"
,
name
:
"新建公告"
,
icon
:
""
,
onlyIconActive
:
!
1
}],
activeBrand
:
""
,
activeGroup
:
""
}},
computed
:{},
methods
:{
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
selectBrandId
:
function
(
t
,
e
){
this
.
activeBrand
=
t
,
this
.
activeGroup
=
e
}},
watch
:{
activeBrand
:
function
(
t
,
e
){
this
.
activeBrand
=
t
},
activeGroup
:
function
(
t
,
e
){
this
.
activeGroup
=
t
}},
mounted
:
function
(){
var
t
=
this
.
$route
.
query
.
appIcon
;
t
&&
(
this
.
appIcon
=
window
.
unescape
(
t
)),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
n
.
a
,
commonAppTop
:
o
.
a
,
commonDetailLeft
:
i
.
a
}},
r
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"common-app-top"
,{
attrs
:{
appName
:
t
.
appName
,
appIcon
:
t
.
appIcon
},
on
:{
selectBrandId
:
t
.
selectBrandId
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-box"
,
style
:{
"min-height"
:
t
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content flex"
,
style
:{
"min-height"
:
t
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content-right"
},[
a
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
a
(
"router-view"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
activeGroupId
:
t
.
activeGroup
}})],
1
)],
1
)])])],
1
),
t
.
_v
(
" "
),
a
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
s
=
a
(
"VU/8"
)(
c
,
r
,
!
1
,
function
(
t
){
a
(
"ebGx"
)},
"data-v-7769b0e5"
,
null
);
e
.
default
=
s
.
exports
},
ebGx
:
function
(
t
,
e
){}});
\ No newline at end of file
webpackJsonp
([
47
],{
"av/3"
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"2eFk"
),
o
=
a
(
"fvdr"
),
i
=
a
(
"Qie6"
),
c
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
380
+
"px"
,
appName
:
"企业公告"
,
appIcon
:
"icon-gonggao"
,
activeSelTab
:
"1"
,
activeTab
:
"1"
,
tabListData
:[{
id
:
"1"
,
name
:
"企业公告列表"
,
icon
:
""
,
onlyIconActive
:
!
1
},{
id
:
"2"
,
name
:
"新建公告"
,
icon
:
""
,
onlyIconActive
:
!
1
}],
activeBrand
:
""
,
activeGroup
:
""
}},
computed
:{},
methods
:{
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
selectBrandId
:
function
(
t
,
e
){
this
.
activeBrand
=
t
,
this
.
activeGroup
=
e
}},
watch
:{
activeBrand
:
function
(
t
,
e
){
this
.
activeBrand
=
t
},
activeGroup
:
function
(
t
,
e
){
this
.
activeGroup
=
t
}},
mounted
:
function
(){
var
t
=
this
.
$route
.
query
.
appIcon
;
t
&&
(
this
.
appIcon
=
window
.
unescape
(
t
)),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
n
.
a
,
commonAppTop
:
o
.
a
,
commonDetailLeft
:
i
.
a
}},
r
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"common-app-top"
,{
attrs
:{
appName
:
t
.
appName
,
appIcon
:
t
.
appIcon
},
on
:{
selectBrandId
:
t
.
selectBrandId
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-box"
,
style
:{
"min-height"
:
t
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content flex"
,
style
:{
"min-height"
:
t
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content-right"
},[
a
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
a
(
"router-view"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
activeGroupId
:
t
.
activeGroup
}})],
1
)],
1
)])])],
1
),
t
.
_v
(
" "
),
a
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
s
=
a
(
"VU/8"
)(
c
,
r
,
!
1
,
function
(
t
){
a
(
"ebGx"
)},
"data-v-7769b0e5"
,
null
);
e
.
default
=
s
.
exports
},
ebGx
:
function
(
t
,
e
){}});
\ No newline at end of file
dist/static/js/4
9.33530ea069fc872b0d5f
.js
→
dist/static/js/4
8.6d564387f233c08c800d
.js
View file @
35fc15c1
webpackJsonp
([
49
],{
"00Sv"
:
function
(
e
,
n
,
t
){
"use strict"
;
Object
.
defineProperty
(
n
,
"__esModule"
,{
value
:
!
0
});
var
r
=
{
render
:
function
(){
var
e
=
this
.
$createElement
;
return
(
this
.
_self
.
_c
||
e
)(
"div"
)},
staticRenderFns
:[]};
var
u
=
t
(
"VU/8"
)({
name
:
"add-employee"
},
r
,
!
1
,
function
(
e
){
t
(
"yw/n"
)},
null
,
null
);
n
.
default
=
u
.
exports
},
"yw/n"
:
function
(
e
,
n
){}});
\ No newline at end of file
webpackJsonp
([
48
],{
"00Sv"
:
function
(
e
,
n
,
t
){
"use strict"
;
Object
.
defineProperty
(
n
,
"__esModule"
,{
value
:
!
0
});
var
r
=
{
render
:
function
(){
var
e
=
this
.
$createElement
;
return
(
this
.
_self
.
_c
||
e
)(
"div"
)},
staticRenderFns
:[]};
var
u
=
t
(
"VU/8"
)({
name
:
"add-employee"
},
r
,
!
1
,
function
(
e
){
t
(
"yw/n"
)},
null
,
null
);
n
.
default
=
u
.
exports
},
"yw/n"
:
function
(
e
,
n
){}});
\ No newline at end of file
dist/static/js/
50.9de9e5a6cb9501fc2542
.js
→
dist/static/js/
49.197cde68ad771fae4c5c
.js
View file @
35fc15c1
webpackJsonp
([
50
],{
"+puo"
:
function
(
e
,
t
){},
"h/6A"
:
function
(
e
,
t
,
r
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
o
=
r
(
"mvHQ"
),
a
=
r
.
n
(
o
),
s
=
r
(
"Xxa5"
),
n
=
r
.
n
(
s
),
i
=
r
(
"//Fk"
),
l
=
r
.
n
(
i
),
u
=
r
(
"exGp"
),
m
=
r
.
n
(
u
),
c
=
r
(
"3Xzz"
),
f
=
r
(
"l46T"
),
d
=
r
(
"XDyb"
),
p
=
r
(
"T+u5"
),
g
=
r
.
n
(
p
),
h
=
r
(
"P9l9"
),
I
=
r
(
"Ie7z"
),
v
=
{
name
:
"store-info"
,
components
:{
navCrumb
:
c
.
a
,
vueSelectStore
:
I
.
a
,
limitInput
:
f
.
a
,
countryMobile
:
d
.
a
},
data
:
function
(){
var
e
=
this
;
return
{
gicFlag
:
!
(
!
this
.
$route
.
query
.
gicFlag
||
"false"
==
this
.
$route
.
query
.
gicFlag
),
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"企业通讯录"
,
path
:
"/administrativeFrame"
},{
name
:
"门店架构"
,
path
:
"/storeFrame"
},{
name
:
"添加门店"
,
path
:
""
}],
editpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"企业通讯录"
,
path
:
"/administrativeFrame"
},{
name
:
"门店架构"
,
path
:
"/storeFrame"
},{
name
:
"编辑门店"
,
path
:
""
}],
treeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
0
,
groupId
:
""
,
openNextBool
:
!
0
},
disableFlag
:
!
1
,
defaultList
:[],
storeInfo
:{
storeName
:
""
,
storeGroupId
:
""
,
departmentName
:
""
,
imageUrls
:[],
phoneNumber
:
""
,
openTime
:
""
,
closeTime
:
""
,
shopHours
:
""
,
storeType
:
0
,
countryId
:
""
,
provinceId
:
""
,
cityId
:
""
,
areaId
:
""
,
postAddress
:
""
,
longitude
:
""
,
latitude
:
""
,
location
:
""
,
storeArea
:
""
,
mangerName
:
""
,
storeManagerId
:
""
,
managerNationcode
:
"86"
,
managerPhone
:
""
,
managerCode
:
""
,
maangerSex
:
""
,
storeCode
:
""
,
storeId
:
""
},
areaChainName
:
""
,
areaOptions
:{},
imgs
:[],
uploadUrl
:
"/haoban-manage-web/upload-img"
,
rules
:{
storeName
:[{
required
:
!
0
,
message
:
"请输入门店名称"
,
trigger
:
"blur"
}],
departmentName
:[{
required
:
!
0
,
message
:
"请选择所属分组"
,
trigger
:
"blur"
}],
groupChainName
:[{
required
:
!
0
,
message
:
"请选择部门"
,
trigger
:
"change"
}],
imageUrls
:[{
type
:
"array"
,
required
:
!
0
,
message
:
"请选择门店图片"
,
trigger
:
"change"
}],
areaId
:[{
required
:
!
0
,
message
:
"请选择门店地址"
,
trigger
:
"blur"
}],
storeType
:[{
required
:
!
0
,
message
:
"请选择门店类型"
,
trigger
:
"blur"
}],
openTime
:[{
required
:
!
0
,
validator
:
function
(
t
,
r
,
o
){
return
r
&&
e
.
storeInfo
.
closeTime
?
o
():
o
(
new
Error
(
"请选择营业时间"
))},
trigger
:
"blur"
}],
location
:[{
required
:
!
0
,
message
:
"请选择经纬度"
,
trigger
:
"blur"
}],
phoneNumber
:[{
required
:
!
0
,
validator
:
function
(
e
,
t
,
r
){
return
t
?
r
():
r
(
new
Error
(
"请输入联系电话"
))},
trigger
:
"blur"
}],
storeCode
:[{
required
:
!
0
,
validator
:
function
(
e
,
t
,
r
){
if
(
t
)
return
t
.
match
(
/
[^\x
00-
\x
ff
]
/gi
)?
r
(
new
Error
(
"门店代码不能是中文或表情"
)):
r
();
return
r
(
new
Error
(
"请输入门店代码"
))},
trigger
:
"blur"
}],
managerName
:[{
required
:
!
0
,
message
:
"请输入店长姓名"
,
trigger
:
"blur"
}],
managerPhone
:[{
required
:
!
0
,
validator
:
function
(
t
,
r
,
o
){
if
(
!
r
)
return
o
(
new
Error
(
"请输入手机号码"
));
var
a
=
new
g
.
a
(
"+"
+
e
.
storeInfo
.
managerNationcode
+
r
);
a
.
isValid
()
&&
a
.
isMobile
()?
o
():
o
(
new
Error
(
"手机号格式不正确"
))},
trigger
:
"blur"
}],
managerCode
:[{
required
:
!
0
,
validator
:
function
(
e
,
t
,
r
){
if
(
t
)
return
t
.
match
(
/
[^\x
00-
\x
ff
]
/gi
)?
r
(
new
Error
(
"店长代码不能是中文或表情"
)):
r
();
return
r
(
new
Error
(
"请输入店长代码"
))},
trigger
:
"blur"
}],
specialService
:[{
max
:
20
,
message
:
"长度在 20 个字符以内"
,
trigger
:
"blur"
}],
personCost
:[{
validator
:
function
(
e
,
t
,
r
){
if
(
t
)
return
/^
\d
+
(\.\d
+
)?
$/
.
test
(
1
*
t
)?
r
():
r
(
new
Error
(
"人均消费只能为非负整数或者小数"
));
return
r
()},
trigger
:
"blur"
}]}}},
methods
:{
inputBlur
:
function
(
e
){
this
.
storeInfo
.
storeArea
||
(
this
.
storeInfo
.
storeArea
=
""
),
this
.
storeInfo
.
storeArea
=
Number
(
this
.
storeInfo
.
storeArea
.
replace
(
/
[^\d
.
]
/g
,
""
))?
this
.
storeInfo
.
storeArea
.
replace
(
/
[^\d
+(.
\d
+)
]
/g
,
""
):
""
,
this
.
storeInfo
.
storeArea
=
Number
(
this
.
storeInfo
.
storeArea
).
toFixed
(
2
),
this
.
storeInfo
.
storeArea
>=
999999
&&
(
this
.
storeInfo
.
storeArea
=
Number
(
999999
).
toFixed
(
2
))},
callSelector
:
function
(){
this
.
treeSet
.
dialogVisible
=!
0
},
handleSelectedList
:
function
(
e
){
this
.
storeInfo
.
groupChainName
=
e
.
length
?
e
[
0
].
chainName
:
""
,
this
.
storeInfo
.
departmentName
=
e
.
length
?
e
[
0
].
label
:
""
,
this
.
storeInfo
.
storeGroupId
=
e
.
length
?
e
[
0
].
id
:
""
,
this
.
storeInfo
.
departmentName
&&
this
.
$refs
.
storeInfo
.
clearValidate
(
"departmentName"
)},
selected
:
function
(
e
){
this
.
storeInfo
.
provinceId
=
e
.
province
,
this
.
storeInfo
.
cityId
=
e
.
city
||
""
,
this
.
storeInfo
.
areaId
=
e
.
areaId
||
""
},
getStoreInfo
:
function
(){
var
e
=
this
,
t
=
{
storeId
:
e
.
$route
.
query
.
storeId
};
Object
(
h
.
a
)(
"/haoban-manage-web/store/findStoreById"
,
t
).
then
(
function
(
t
){
1
==
t
.
data
.
errorCode
?(
e
.
showEmployee
=
"store"
,
e
.
defaultList
=
[{
id
:
t
.
data
.
result
.
storeGroupId
,
label
:
t
.
data
.
result
.
departmentName
}],
e
.
formatStoreInfo
(
t
.
data
.
result
)):
e
.
$message
.
error
({
message
:
t
.
data
.
message
})})},
clickToSave
:
function
(){
var
e
=
this
;
return
m
()(
n
.
a
.
mark
(
function
t
(){
var
r
,
o
,
a
,
s
;
return
n
.
a
.
wrap
(
function
(
t
){
for
(;;)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
r
=
e
,
o
=
new
l
.
a
(
function
(
e
,
t
){
r
.
$refs
.
storeInfo
.
validate
(
function
(
t
){
t
&&
e
()})}),
a
=
new
l
.
a
(
function
(
e
,
t
){
r
.
$refs
.
storeManager
.
validate
(
function
(
t
){
t
&&
e
()})}),
s
=
new
l
.
a
(
function
(
e
,
t
){
r
.
$refs
.
storeOperate
.
validate
(
function
(
t
){
t
&&
e
()})}),
l
.
a
.
all
([
o
,
a
,
s
]).
then
(
function
(){
r
.
save
()});
case
5
:
case
"end"
:
return
t
.
stop
()}},
t
,
e
)}))()},
formatStoreInfo
:
function
(
e
){
var
t
=
this
;
return
m
()(
n
.
a
.
mark
(
function
r
(){
var
o
,
a
,
s
;
return
n
.
a
.
wrap
(
function
(
r
){
for
(;;)
switch
(
r
.
prev
=
r
.
next
){
case
0
:
o
=
t
,
a
=
(
e
.
areaChainName
||
""
).
split
(
"/"
),
o
.
areaOptions
=
{
provinceName
:
a
[
0
],
provinceId
:
e
.
provinceId
,
cityName
:
a
[
1
],
cityId
:
e
.
cityId
,
countryName
:
a
[
2
],
countyId
:
e
.
countryId
},
o
.
imgs
=
e
.
imageUrl
?
e
.
imageUrl
.
split
(
","
):[],
s
=
[],
o
.
imgs
.
forEach
(
function
(
e
){
s
.
push
({
url
:
e
})}),
e
.
managerNationcode
=
e
.
managerNationcode
||
"86"
,
e
.
imageUrls
=
s
,
e
.
location
=
e
.
longitude
?
e
.
latitude
+
","
+
e
.
longitude
:
""
,
o
.
storeInfo
=
e
,
o
.
disableFlag
=!
o
.
isNew
&&!!
o
.
storeInfo
.
managerPhone
;
case
11
:
case
"end"
:
return
r
.
stop
()}},
r
,
t
)}))()},
uploadOnSuccess
:
function
(
e
,
t
){
e
.
file
.
url
=
e
.
res
.
result
[
0
].
qcloudImageUrl
,
t
.
push
(
e
.
file
)},
sortImg
:
function
(
e
){
this
.
storeInfo
.
imageUrls
=
e
},
deleteImage
:
function
(
e
){
this
.
storeInfo
.
imageUrls
.
splice
(
e
,
1
)},
save
:
function
(){
var
e
=
this
,
t
=
e
.
storeInfo
.
location
.
split
(
","
);
e
.
storeInfo
.
longitude
=
t
[
1
],
e
.
storeInfo
.
latitude
=
2
!==
t
.
length
?
""
:
t
[
0
];
var
r
=
JSON
.
parse
(
a
()(
e
.
storeInfo
)),
o
=
[];
e
.
storeInfo
.
imageUrls
.
forEach
(
function
(
e
){
o
.
push
(
e
.
url
)}),
r
.
imageUrls
=
o
.
join
(
","
);
var
s
=
e
.
isNew
?
"/haoban-manage-web/store/insert"
:
"/haoban-manage-web/store/update"
;
Object
(
h
.
e
)(
s
,
r
).
then
(
function
(
t
){
1
==
t
.
data
.
errorCode
?(
e
.
$message
.
success
({
message
:
t
.
data
.
message
}),
window
.
history
.
go
(
-
1
)):
e
.
$message
.
error
({
message
:
t
.
data
.
message
})}).
catch
(
function
(
t
){
e
.
$message
.
error
({
message
:
t
.
message
})})}},
computed
:{
isNew
:
function
(){
return
!
this
.
$route
.
query
.
storeId
}},
beforeMount
:
function
(){
this
.
treeSet
.
groupId
=
this
.
$route
.
query
.
firstLevelId
,
this
.
isNew
||
this
.
getStoreInfo
()},
mounted
:
function
(){
this
.
$route
.
query
.
storeId
&&
(
this
.
navpath
=
this
.
editpath
)}},
b
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
r
=
e
.
_self
.
_c
||
t
;
return
r
(
"div"
,{
staticClass
:
"common-set-wrap"
},[
r
(
"nav-crumb"
,{
attrs
:{
navpath
:
e
.
navpath
}}),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"right-content"
},[
r
(
"div"
,{
staticClass
:
"right-box"
},[
r
(
"div"
,[
r
(
"div"
,{
staticClass
:
"store-info"
},[
r
(
"div"
,{
staticClass
:
"info-cell"
},[
r
(
"p"
,{
staticClass
:
"title font-w-500"
},[
e
.
_v
(
"门店信息"
)]),
e
.
_v
(
" "
),
r
(
"el-form"
,{
ref
:
"storeInfo"
,
staticClass
:
"store-info-form info-form"
,
attrs
:{
rules
:
e
.
rules
,
model
:
e
.
storeInfo
,
"label-width"
:
"100px"
}},[
r
(
"el-form-item"
,{
attrs
:{
label
:
"门店名称"
,
prop
:
"storeName"
}},[
r
(
"limitInput"
,{
attrs
:{
inputWidth
:
500
,
inputValue
:
e
.
storeInfo
.
storeName
,
holder
:
""
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"storeName"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"所属分组"
,
prop
:
"departmentName"
}},[
r
(
"el-input"
,{
staticClass
:
"w-500"
,
attrs
:{
disabled
:
e
.
gicFlag
},
on
:{
focus
:
e
.
callSelector
},
model
:{
value
:
e
.
storeInfo
.
groupChainName
,
callback
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"groupChainName"
,
t
)},
expression
:
"storeInfo.groupChainName"
}},[
r
(
"i"
,{
staticClass
:
"el-input__icon el-icon-arrow-down"
,
attrs
:{
slot
:
"suffix"
},
slot
:
"suffix"
})])],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"门店图片"
,
prop
:
"imageUrls"
}},[
r
(
"div"
,{
staticClass
:
"member-upload-image"
},[
r
(
"vue-office-upload-image"
,{
attrs
:{
projectName
:
"haoban-manage-web"
,
wxFlag
:
"0"
,
actionUrl
:
e
.
uploadUrl
,
imageList
:
e
.
storeInfo
.
imageUrls
,
limitW
:
640
,
limitH
:
340
,
maxImageLength
:
10
},
on
:{
uploadOnSuccess
:
e
.
uploadOnSuccess
,
sortImg
:
e
.
sortImg
,
deleteImage
:
e
.
deleteImage
}})],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"tip font-12 color-909399 m-t-8 line-h-1"
},[
e
.
_v
(
"门店图片(640*340),支持.jpg,.jepg,.png类型文件,最多添加10张图片"
)])]),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"联系电话"
,
prop
:
"phoneNumber"
}},[
r
(
"el-input"
,{
staticClass
:
"w-500"
,
model
:{
value
:
e
.
storeInfo
.
phoneNumber
,
callback
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"phoneNumber"
,
t
)},
expression
:
"storeInfo.phoneNumber"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"营业时间"
,
prop
:
"openTime"
}},[
r
(
"el-time-select"
,{
attrs
:{
editable
:
!
1
,
placeholder
:
"起始时间"
,
"picker-options"
:{
start
:
"00:00"
,
step
:
"00:05"
,
end
:
"24:00"
}},
model
:{
value
:
e
.
storeInfo
.
openTime
,
callback
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"openTime"
,
t
)},
expression
:
"storeInfo.openTime"
}}),
e
.
_v
(
"
\
n ~
\
n "
),
r
(
"el-time-select"
,{
attrs
:{
editable
:
!
1
,
placeholder
:
"结束时间"
,
"picker-options"
:{
start
:
"00:00"
,
step
:
"00:05"
,
end
:
"24:00"
,
minTime
:
e
.
storeInfo
.
openTime
}},
model
:{
value
:
e
.
storeInfo
.
closeTime
,
callback
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"closeTime"
,
t
)},
expression
:
"storeInfo.closeTime"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"门店类型"
,
prop
:
"storeType"
}},[
r
(
"el-radio-group"
,{
model
:{
value
:
e
.
storeInfo
.
storeType
,
callback
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"storeType"
,
t
)},
expression
:
"storeInfo.storeType"
}},[
r
(
"el-radio"
,{
attrs
:{
label
:
0
}},[
e
.
_v
(
"自营"
)]),
e
.
_v
(
" "
),
r
(
"el-radio"
,{
attrs
:{
label
:
1
}},[
e
.
_v
(
"联营"
)]),
e
.
_v
(
" "
),
r
(
"el-radio"
,{
attrs
:{
label
:
2
}},[
e
.
_v
(
"代理"
)]),
e
.
_v
(
" "
),
r
(
"el-radio"
,{
attrs
:{
label
:
3
}},[
e
.
_v
(
"代销"
)]),
e
.
_v
(
" "
),
r
(
"el-radio"
,{
attrs
:{
label
:
4
}},[
e
.
_v
(
"托管"
)])],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"门店地址"
,
prop
:
"areaId"
}},[
r
(
"vue-office-area"
,{
attrs
:{
areaOptions
:
e
.
areaOptions
,
projectName
:
"haoban-web"
,
postUrl
:
"/haoban-manage-web/dict-district-list"
},
on
:{
selected
:
e
.
selected
}}),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"m-t-15"
},[
r
(
"limitInput"
,{
attrs
:{
inputWidth
:
500
,
inputValue
:
e
.
storeInfo
.
postAddress
,
holder
:
""
,
maxLength
:
50
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"postAddress"
,
t
)}}})],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"GPS坐标"
,
prop
:
"location"
}},[
r
(
"el-input"
,{
staticClass
:
"w-500 m-r-10"
,
model
:{
value
:
e
.
storeInfo
.
location
,
callback
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"location"
,
t
)},
expression
:
"storeInfo.location"
}}),
e
.
_v
(
" "
),
r
(
"a"
,{
staticClass
:
"a-href"
,
attrs
:{
href
:
"http://m.gpsspg.com/maps.htm"
,
target
:
"_blank"
,
rel
:
"nofollow noopener noreferrer"
}},[
e
.
_v
(
"经纬度测试工具"
)])],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
prop
:
"storeCode"
}},[
r
(
"template"
,{
slot
:
"label"
},[
e
.
_v
(
"
\
n 门店代码
\
n "
)]),
e
.
_v
(
" "
),
r
(
"limitInput"
,{
attrs
:{
inputWidth
:
500
,
disflag
:
e
.
gicFlag
,
inputValue
:
e
.
storeInfo
.
storeCode
,
holder
:
""
,
maxLength
:
20
,
getByType
:
"char"
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"storeCode"
,
t
)}}})],
2
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"门店面积"
}},[
r
(
"el-input"
,{
staticClass
:
"w-500"
,
on
:{
blur
:
function
(
t
){
return
e
.
inputBlur
(
t
)}},
model
:{
value
:
e
.
storeInfo
.
storeArea
,
callback
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"storeArea"
,
t
)},
expression
:
"storeInfo.storeArea"
}}),
r
(
"span"
,{
staticClass
:
"font-14 p-l-10"
},[
e
.
_v
(
"平方米"
)])],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"info-cell"
},[
r
(
"p"
,{
staticClass
:
"title font-w-500"
},[
e
.
_v
(
"店长信息"
)]),
e
.
_v
(
" "
),
r
(
"el-form"
,{
ref
:
"storeManager"
,
staticClass
:
"store-manager-info-form info-form"
,
attrs
:{
rules
:
e
.
rules
,
model
:
e
.
storeInfo
,
"label-width"
:
"100px"
}},[
r
(
"el-form-item"
,{
attrs
:{
label
:
"店长姓名"
,
prop
:
"managerName"
}},[
r
(
"limitInput"
,{
attrs
:{
inputWidth
:
500
,
disflag
:
e
.
gicFlag
,
inputValue
:
e
.
storeInfo
.
managerName
,
holder
:
""
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"managerName"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"手机号码"
,
prop
:
"managerPhone"
}},[
r
(
"countryMobile"
,{
attrs
:{
inputWidth
:
500
,
nationCode
:
e
.
storeInfo
.
managerNationcode
,
holder
:
"请输入手机号"
,
disflag
:
e
.
disableFlag
||
e
.
gicFlag
},
on
:{
"update:nationCode"
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"managerNationcode"
,
t
)}},
model
:{
value
:
e
.
storeInfo
.
managerPhone
,
callback
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"managerPhone"
,
t
)},
expression
:
"storeInfo.managerPhone"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"店长性别"
}},[
r
(
"el-radio-group"
,{
attrs
:{
disabled
:
e
.
gicFlag
},
model
:{
value
:
e
.
storeInfo
.
managerSex
,
callback
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"managerSex"
,
t
)},
expression
:
"storeInfo.managerSex"
}},[
r
(
"el-radio"
,{
attrs
:{
label
:
1
}},[
e
.
_v
(
"男"
)]),
e
.
_v
(
" "
),
r
(
"el-radio"
,{
attrs
:{
label
:
2
}},[
e
.
_v
(
"女"
)])],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"店长代码"
,
prop
:
"managerCode"
}},[
r
(
"limitInput"
,{
attrs
:{
inputWidth
:
500
,
disflag
:
e
.
gicFlag
,
inputValue
:
e
.
storeInfo
.
managerCode
,
holder
:
""
,
maxLength
:
20
,
getByType
:
"char"
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"managerCode"
,
t
)}}})],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"info-cell"
},[
r
(
"p"
,{
staticClass
:
"title font-w-500"
},[
e
.
_v
(
"经营信息"
)]),
e
.
_v
(
" "
),
r
(
"el-form"
,{
ref
:
"storeOperate"
,
staticClass
:
"operate-info-form info-form"
,
attrs
:{
rules
:
e
.
rules
,
model
:
e
.
storeInfo
,
"label-width"
:
"90px"
}},[
r
(
"el-form-item"
,{
attrs
:{
label
:
"特色服务"
,
prop
:
"specialService"
}},[
r
(
"el-input"
,{
staticClass
:
"w-500"
,
attrs
:{
type
:
"textarea"
,
rows
:
2
},
model
:{
value
:
e
.
storeInfo
.
specialService
,
callback
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"specialService"
,
t
)},
expression
:
"storeInfo.specialService"
}}),
e
.
_v
(
" "
),
r
(
"p"
,{
staticClass
:
"counter t-rt c-909399 font-12"
},[
e
.
_v
(
e
.
_s
((
e
.
storeInfo
.
specialService
||
""
).
length
)
+
"/20"
)])],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"人均消费"
,
prop
:
"personCost"
}},[
r
(
"limitInput"
,{
attrs
:{
inputWidth
:
500
,
inputValue
:
e
.
storeInfo
.
personCost
,
holder
:
""
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"personCost"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"推荐商品"
}},[
r
(
"el-input"
,{
staticClass
:
"w-500"
,
attrs
:{
type
:
"textarea"
,
rows
:
2
},
model
:{
value
:
e
.
storeInfo
.
recommendGoods
,
callback
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"recommendGoods"
,
t
)},
expression
:
"storeInfo.recommendGoods"
}}),
e
.
_v
(
" "
),
r
(
"p"
,{
staticClass
:
"counter t-rt c-909399 font-12"
},[
e
.
_v
(
e
.
_s
((
e
.
storeInfo
.
recommendGoods
||
""
).
length
)
+
"/100"
)])],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"品牌介绍"
}},[
r
(
"el-input"
,{
staticClass
:
"w-500"
,
attrs
:{
type
:
"textarea"
,
rows
:
2
},
model
:{
value
:
e
.
storeInfo
.
brandDes
,
callback
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"brandDes"
,
t
)},
expression
:
"storeInfo.brandDes"
}}),
e
.
_v
(
" "
),
r
(
"p"
,{
staticClass
:
"counter t-rt c-909399 font-12"
},[
e
.
_v
(
e
.
_s
((
e
.
storeInfo
.
recommendGoods
||
""
).
length
)
+
"/200"
)])],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"handle-area"
},[
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
clickToSave
}},[
e
.
_v
(
"保 存"
)])],
1
)]),
e
.
_v
(
" "
),
r
(
"vue-select-store"
,{
ref
:
"storeSelector"
,
attrs
:{
defaultList
:
e
.
defaultList
,
treeSet
:
e
.
treeSet
,
selectType
:
"group"
,
forbidenList
:[
e
.
storeInfo
.
storeGroupId
]},
on
:{
handleSelectedList
:
e
.
handleSelectedList
}})],
1
)])])],
1
)},
staticRenderFns
:[]};
var
_
=
r
(
"VU/8"
)(
v
,
b
,
!
1
,
function
(
e
){
r
(
"+puo"
)},
null
,
null
);
t
.
default
=
_
.
exports
}});
\ No newline at end of file
webpackJsonp
([
49
],{
"+puo"
:
function
(
e
,
t
){},
"h/6A"
:
function
(
e
,
t
,
r
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
o
=
r
(
"mvHQ"
),
a
=
r
.
n
(
o
),
s
=
r
(
"Xxa5"
),
n
=
r
.
n
(
s
),
i
=
r
(
"//Fk"
),
l
=
r
.
n
(
i
),
u
=
r
(
"exGp"
),
m
=
r
.
n
(
u
),
c
=
r
(
"3Xzz"
),
f
=
r
(
"l46T"
),
d
=
r
(
"XDyb"
),
p
=
r
(
"T+u5"
),
g
=
r
.
n
(
p
),
h
=
r
(
"P9l9"
),
I
=
r
(
"Ie7z"
),
v
=
{
name
:
"store-info"
,
components
:{
navCrumb
:
c
.
a
,
vueSelectStore
:
I
.
a
,
limitInput
:
f
.
a
,
countryMobile
:
d
.
a
},
data
:
function
(){
var
e
=
this
;
return
{
gicFlag
:
!
(
!
this
.
$route
.
query
.
gicFlag
||
"false"
==
this
.
$route
.
query
.
gicFlag
),
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"企业通讯录"
,
path
:
"/administrativeFrame"
},{
name
:
"门店架构"
,
path
:
"/storeFrame"
},{
name
:
"添加门店"
,
path
:
""
}],
editpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"企业通讯录"
,
path
:
"/administrativeFrame"
},{
name
:
"门店架构"
,
path
:
"/storeFrame"
},{
name
:
"编辑门店"
,
path
:
""
}],
treeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
0
,
groupId
:
""
,
openNextBool
:
!
0
},
disableFlag
:
!
1
,
defaultList
:[],
storeInfo
:{
storeName
:
""
,
storeGroupId
:
""
,
departmentName
:
""
,
imageUrls
:[],
phoneNumber
:
""
,
openTime
:
""
,
closeTime
:
""
,
shopHours
:
""
,
storeType
:
0
,
countryId
:
""
,
provinceId
:
""
,
cityId
:
""
,
areaId
:
""
,
postAddress
:
""
,
longitude
:
""
,
latitude
:
""
,
location
:
""
,
storeArea
:
""
,
mangerName
:
""
,
storeManagerId
:
""
,
managerNationcode
:
"86"
,
managerPhone
:
""
,
managerCode
:
""
,
maangerSex
:
""
,
storeCode
:
""
,
storeId
:
""
},
areaChainName
:
""
,
areaOptions
:{},
imgs
:[],
uploadUrl
:
"/haoban-manage-web/upload-img"
,
rules
:{
storeName
:[{
required
:
!
0
,
message
:
"请输入门店名称"
,
trigger
:
"blur"
}],
departmentName
:[{
required
:
!
0
,
message
:
"请选择所属分组"
,
trigger
:
"blur"
}],
groupChainName
:[{
required
:
!
0
,
message
:
"请选择部门"
,
trigger
:
"change"
}],
imageUrls
:[{
type
:
"array"
,
required
:
!
0
,
message
:
"请选择门店图片"
,
trigger
:
"change"
}],
areaId
:[{
required
:
!
0
,
message
:
"请选择门店地址"
,
trigger
:
"blur"
}],
storeType
:[{
required
:
!
0
,
message
:
"请选择门店类型"
,
trigger
:
"blur"
}],
openTime
:[{
required
:
!
0
,
validator
:
function
(
t
,
r
,
o
){
return
r
&&
e
.
storeInfo
.
closeTime
?
o
():
o
(
new
Error
(
"请选择营业时间"
))},
trigger
:
"blur"
}],
location
:[{
required
:
!
0
,
message
:
"请选择经纬度"
,
trigger
:
"blur"
}],
phoneNumber
:[{
required
:
!
0
,
validator
:
function
(
e
,
t
,
r
){
return
t
?
r
():
r
(
new
Error
(
"请输入联系电话"
))},
trigger
:
"blur"
}],
storeCode
:[{
required
:
!
0
,
validator
:
function
(
e
,
t
,
r
){
if
(
t
)
return
t
.
match
(
/
[^\x
00-
\x
ff
]
/gi
)?
r
(
new
Error
(
"门店代码不能是中文或表情"
)):
r
();
return
r
(
new
Error
(
"请输入门店代码"
))},
trigger
:
"blur"
}],
managerName
:[{
required
:
!
0
,
message
:
"请输入店长姓名"
,
trigger
:
"blur"
}],
managerPhone
:[{
required
:
!
0
,
validator
:
function
(
t
,
r
,
o
){
if
(
!
r
)
return
o
(
new
Error
(
"请输入手机号码"
));
var
a
=
new
g
.
a
(
"+"
+
e
.
storeInfo
.
managerNationcode
+
r
);
a
.
isValid
()
&&
a
.
isMobile
()?
o
():
o
(
new
Error
(
"手机号格式不正确"
))},
trigger
:
"blur"
}],
managerCode
:[{
required
:
!
0
,
validator
:
function
(
e
,
t
,
r
){
if
(
t
)
return
t
.
match
(
/
[^\x
00-
\x
ff
]
/gi
)?
r
(
new
Error
(
"店长代码不能是中文或表情"
)):
r
();
return
r
(
new
Error
(
"请输入店长代码"
))},
trigger
:
"blur"
}],
specialService
:[{
max
:
20
,
message
:
"长度在 20 个字符以内"
,
trigger
:
"blur"
}],
personCost
:[{
validator
:
function
(
e
,
t
,
r
){
if
(
t
)
return
/^
\d
+
(\.\d
+
)?
$/
.
test
(
1
*
t
)?
r
():
r
(
new
Error
(
"人均消费只能为非负整数或者小数"
));
return
r
()},
trigger
:
"blur"
}]}}},
methods
:{
inputBlur
:
function
(
e
){
this
.
storeInfo
.
storeArea
||
(
this
.
storeInfo
.
storeArea
=
""
),
this
.
storeInfo
.
storeArea
=
Number
(
this
.
storeInfo
.
storeArea
.
replace
(
/
[^\d
.
]
/g
,
""
))?
this
.
storeInfo
.
storeArea
.
replace
(
/
[^\d
+(.
\d
+)
]
/g
,
""
):
""
,
this
.
storeInfo
.
storeArea
=
Number
(
this
.
storeInfo
.
storeArea
).
toFixed
(
2
),
this
.
storeInfo
.
storeArea
>=
999999
&&
(
this
.
storeInfo
.
storeArea
=
Number
(
999999
).
toFixed
(
2
))},
callSelector
:
function
(){
this
.
treeSet
.
dialogVisible
=!
0
},
handleSelectedList
:
function
(
e
){
this
.
storeInfo
.
groupChainName
=
e
.
length
?
e
[
0
].
chainName
:
""
,
this
.
storeInfo
.
departmentName
=
e
.
length
?
e
[
0
].
label
:
""
,
this
.
storeInfo
.
storeGroupId
=
e
.
length
?
e
[
0
].
id
:
""
,
this
.
storeInfo
.
departmentName
&&
this
.
$refs
.
storeInfo
.
clearValidate
(
"departmentName"
)},
selected
:
function
(
e
){
this
.
storeInfo
.
provinceId
=
e
.
province
,
this
.
storeInfo
.
cityId
=
e
.
city
||
""
,
this
.
storeInfo
.
areaId
=
e
.
areaId
||
""
},
getStoreInfo
:
function
(){
var
e
=
this
,
t
=
{
storeId
:
e
.
$route
.
query
.
storeId
};
Object
(
h
.
a
)(
"/haoban-manage-web/store/findStoreById"
,
t
).
then
(
function
(
t
){
1
==
t
.
data
.
errorCode
?(
e
.
showEmployee
=
"store"
,
e
.
defaultList
=
[{
id
:
t
.
data
.
result
.
storeGroupId
,
label
:
t
.
data
.
result
.
departmentName
}],
e
.
formatStoreInfo
(
t
.
data
.
result
)):
e
.
$message
.
error
({
message
:
t
.
data
.
message
})})},
clickToSave
:
function
(){
var
e
=
this
;
return
m
()(
n
.
a
.
mark
(
function
t
(){
var
r
,
o
,
a
,
s
;
return
n
.
a
.
wrap
(
function
(
t
){
for
(;;)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
r
=
e
,
o
=
new
l
.
a
(
function
(
e
,
t
){
r
.
$refs
.
storeInfo
.
validate
(
function
(
t
){
t
&&
e
()})}),
a
=
new
l
.
a
(
function
(
e
,
t
){
r
.
$refs
.
storeManager
.
validate
(
function
(
t
){
t
&&
e
()})}),
s
=
new
l
.
a
(
function
(
e
,
t
){
r
.
$refs
.
storeOperate
.
validate
(
function
(
t
){
t
&&
e
()})}),
l
.
a
.
all
([
o
,
a
,
s
]).
then
(
function
(){
r
.
save
()});
case
5
:
case
"end"
:
return
t
.
stop
()}},
t
,
e
)}))()},
formatStoreInfo
:
function
(
e
){
var
t
=
this
;
return
m
()(
n
.
a
.
mark
(
function
r
(){
var
o
,
a
,
s
;
return
n
.
a
.
wrap
(
function
(
r
){
for
(;;)
switch
(
r
.
prev
=
r
.
next
){
case
0
:
o
=
t
,
a
=
(
e
.
areaChainName
||
""
).
split
(
"/"
),
o
.
areaOptions
=
{
provinceName
:
a
[
0
],
provinceId
:
e
.
provinceId
,
cityName
:
a
[
1
],
cityId
:
e
.
cityId
,
countryName
:
a
[
2
],
countyId
:
e
.
countryId
},
o
.
imgs
=
e
.
imageUrl
?
e
.
imageUrl
.
split
(
","
):[],
s
=
[],
o
.
imgs
.
forEach
(
function
(
e
){
s
.
push
({
url
:
e
})}),
e
.
managerNationcode
=
e
.
managerNationcode
||
"86"
,
e
.
imageUrls
=
s
,
e
.
location
=
e
.
longitude
?
e
.
latitude
+
","
+
e
.
longitude
:
""
,
o
.
storeInfo
=
e
,
o
.
disableFlag
=!
o
.
isNew
&&!!
o
.
storeInfo
.
managerPhone
;
case
11
:
case
"end"
:
return
r
.
stop
()}},
r
,
t
)}))()},
uploadOnSuccess
:
function
(
e
,
t
){
e
.
file
.
url
=
e
.
res
.
result
[
0
].
qcloudImageUrl
,
t
.
push
(
e
.
file
)},
sortImg
:
function
(
e
){
this
.
storeInfo
.
imageUrls
=
e
},
deleteImage
:
function
(
e
){
this
.
storeInfo
.
imageUrls
.
splice
(
e
,
1
)},
save
:
function
(){
var
e
=
this
,
t
=
e
.
storeInfo
.
location
.
split
(
","
);
e
.
storeInfo
.
longitude
=
t
[
1
],
e
.
storeInfo
.
latitude
=
2
!==
t
.
length
?
""
:
t
[
0
];
var
r
=
JSON
.
parse
(
a
()(
e
.
storeInfo
)),
o
=
[];
e
.
storeInfo
.
imageUrls
.
forEach
(
function
(
e
){
o
.
push
(
e
.
url
)}),
r
.
imageUrls
=
o
.
join
(
","
);
var
s
=
e
.
isNew
?
"/haoban-manage-web/store/insert"
:
"/haoban-manage-web/store/update"
;
Object
(
h
.
e
)(
s
,
r
).
then
(
function
(
t
){
1
==
t
.
data
.
errorCode
?(
e
.
$message
.
success
({
message
:
t
.
data
.
message
}),
window
.
history
.
go
(
-
1
)):
e
.
$message
.
error
({
message
:
t
.
data
.
message
})}).
catch
(
function
(
t
){
e
.
$message
.
error
({
message
:
t
.
message
})})}},
computed
:{
isNew
:
function
(){
return
!
this
.
$route
.
query
.
storeId
}},
beforeMount
:
function
(){
this
.
treeSet
.
groupId
=
this
.
$route
.
query
.
firstLevelId
,
this
.
isNew
||
this
.
getStoreInfo
()},
mounted
:
function
(){
this
.
$route
.
query
.
storeId
&&
(
this
.
navpath
=
this
.
editpath
)}},
b
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
r
=
e
.
_self
.
_c
||
t
;
return
r
(
"div"
,{
staticClass
:
"common-set-wrap"
},[
r
(
"nav-crumb"
,{
attrs
:{
navpath
:
e
.
navpath
}}),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"right-content"
},[
r
(
"div"
,{
staticClass
:
"right-box"
},[
r
(
"div"
,[
r
(
"div"
,{
staticClass
:
"store-info"
},[
r
(
"div"
,{
staticClass
:
"info-cell"
},[
r
(
"p"
,{
staticClass
:
"title font-w-500"
},[
e
.
_v
(
"门店信息"
)]),
e
.
_v
(
" "
),
r
(
"el-form"
,{
ref
:
"storeInfo"
,
staticClass
:
"store-info-form info-form"
,
attrs
:{
rules
:
e
.
rules
,
model
:
e
.
storeInfo
,
"label-width"
:
"100px"
}},[
r
(
"el-form-item"
,{
attrs
:{
label
:
"门店名称"
,
prop
:
"storeName"
}},[
r
(
"limitInput"
,{
attrs
:{
inputWidth
:
500
,
inputValue
:
e
.
storeInfo
.
storeName
,
holder
:
""
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"storeName"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"所属分组"
,
prop
:
"departmentName"
}},[
r
(
"el-input"
,{
staticClass
:
"w-500"
,
attrs
:{
disabled
:
e
.
gicFlag
},
on
:{
focus
:
e
.
callSelector
},
model
:{
value
:
e
.
storeInfo
.
groupChainName
,
callback
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"groupChainName"
,
t
)},
expression
:
"storeInfo.groupChainName"
}},[
r
(
"i"
,{
staticClass
:
"el-input__icon el-icon-arrow-down"
,
attrs
:{
slot
:
"suffix"
},
slot
:
"suffix"
})])],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"门店图片"
,
prop
:
"imageUrls"
}},[
r
(
"div"
,{
staticClass
:
"member-upload-image"
},[
r
(
"vue-office-upload-image"
,{
attrs
:{
projectName
:
"haoban-manage-web"
,
wxFlag
:
"0"
,
actionUrl
:
e
.
uploadUrl
,
imageList
:
e
.
storeInfo
.
imageUrls
,
limitW
:
640
,
limitH
:
340
,
maxImageLength
:
10
},
on
:{
uploadOnSuccess
:
e
.
uploadOnSuccess
,
sortImg
:
e
.
sortImg
,
deleteImage
:
e
.
deleteImage
}})],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"tip font-12 color-909399 m-t-8 line-h-1"
},[
e
.
_v
(
"门店图片(640*340),支持.jpg,.jepg,.png类型文件,最多添加10张图片"
)])]),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"联系电话"
,
prop
:
"phoneNumber"
}},[
r
(
"el-input"
,{
staticClass
:
"w-500"
,
model
:{
value
:
e
.
storeInfo
.
phoneNumber
,
callback
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"phoneNumber"
,
t
)},
expression
:
"storeInfo.phoneNumber"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"营业时间"
,
prop
:
"openTime"
}},[
r
(
"el-time-select"
,{
attrs
:{
editable
:
!
1
,
placeholder
:
"起始时间"
,
"picker-options"
:{
start
:
"00:00"
,
step
:
"00:05"
,
end
:
"24:00"
}},
model
:{
value
:
e
.
storeInfo
.
openTime
,
callback
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"openTime"
,
t
)},
expression
:
"storeInfo.openTime"
}}),
e
.
_v
(
"
\
n ~
\
n "
),
r
(
"el-time-select"
,{
attrs
:{
editable
:
!
1
,
placeholder
:
"结束时间"
,
"picker-options"
:{
start
:
"00:00"
,
step
:
"00:05"
,
end
:
"24:00"
,
minTime
:
e
.
storeInfo
.
openTime
}},
model
:{
value
:
e
.
storeInfo
.
closeTime
,
callback
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"closeTime"
,
t
)},
expression
:
"storeInfo.closeTime"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"门店类型"
,
prop
:
"storeType"
}},[
r
(
"el-radio-group"
,{
model
:{
value
:
e
.
storeInfo
.
storeType
,
callback
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"storeType"
,
t
)},
expression
:
"storeInfo.storeType"
}},[
r
(
"el-radio"
,{
attrs
:{
label
:
0
}},[
e
.
_v
(
"自营"
)]),
e
.
_v
(
" "
),
r
(
"el-radio"
,{
attrs
:{
label
:
1
}},[
e
.
_v
(
"联营"
)]),
e
.
_v
(
" "
),
r
(
"el-radio"
,{
attrs
:{
label
:
2
}},[
e
.
_v
(
"代理"
)]),
e
.
_v
(
" "
),
r
(
"el-radio"
,{
attrs
:{
label
:
3
}},[
e
.
_v
(
"代销"
)]),
e
.
_v
(
" "
),
r
(
"el-radio"
,{
attrs
:{
label
:
4
}},[
e
.
_v
(
"托管"
)])],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"门店地址"
,
prop
:
"areaId"
}},[
r
(
"vue-office-area"
,{
attrs
:{
areaOptions
:
e
.
areaOptions
,
projectName
:
"haoban-web"
,
postUrl
:
"/haoban-manage-web/dict-district-list"
},
on
:{
selected
:
e
.
selected
}}),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"m-t-15"
},[
r
(
"limitInput"
,{
attrs
:{
inputWidth
:
500
,
inputValue
:
e
.
storeInfo
.
postAddress
,
holder
:
""
,
maxLength
:
50
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"postAddress"
,
t
)}}})],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"GPS坐标"
,
prop
:
"location"
}},[
r
(
"el-input"
,{
staticClass
:
"w-500 m-r-10"
,
model
:{
value
:
e
.
storeInfo
.
location
,
callback
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"location"
,
t
)},
expression
:
"storeInfo.location"
}}),
e
.
_v
(
" "
),
r
(
"a"
,{
staticClass
:
"a-href"
,
attrs
:{
href
:
"http://m.gpsspg.com/maps.htm"
,
target
:
"_blank"
,
rel
:
"nofollow noopener noreferrer"
}},[
e
.
_v
(
"经纬度测试工具"
)])],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
prop
:
"storeCode"
}},[
r
(
"template"
,{
slot
:
"label"
},[
e
.
_v
(
"
\
n 门店代码
\
n "
)]),
e
.
_v
(
" "
),
r
(
"limitInput"
,{
attrs
:{
inputWidth
:
500
,
disflag
:
e
.
gicFlag
,
inputValue
:
e
.
storeInfo
.
storeCode
,
holder
:
""
,
maxLength
:
20
,
getByType
:
"char"
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"storeCode"
,
t
)}}})],
2
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"门店面积"
}},[
r
(
"el-input"
,{
staticClass
:
"w-500"
,
on
:{
blur
:
function
(
t
){
return
e
.
inputBlur
(
t
)}},
model
:{
value
:
e
.
storeInfo
.
storeArea
,
callback
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"storeArea"
,
t
)},
expression
:
"storeInfo.storeArea"
}}),
r
(
"span"
,{
staticClass
:
"font-14 p-l-10"
},[
e
.
_v
(
"平方米"
)])],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"info-cell"
},[
r
(
"p"
,{
staticClass
:
"title font-w-500"
},[
e
.
_v
(
"店长信息"
)]),
e
.
_v
(
" "
),
r
(
"el-form"
,{
ref
:
"storeManager"
,
staticClass
:
"store-manager-info-form info-form"
,
attrs
:{
rules
:
e
.
rules
,
model
:
e
.
storeInfo
,
"label-width"
:
"100px"
}},[
r
(
"el-form-item"
,{
attrs
:{
label
:
"店长姓名"
,
prop
:
"managerName"
}},[
r
(
"limitInput"
,{
attrs
:{
inputWidth
:
500
,
disflag
:
e
.
gicFlag
,
inputValue
:
e
.
storeInfo
.
managerName
,
holder
:
""
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"managerName"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"手机号码"
,
prop
:
"managerPhone"
}},[
r
(
"countryMobile"
,{
attrs
:{
inputWidth
:
500
,
nationCode
:
e
.
storeInfo
.
managerNationcode
,
holder
:
"请输入手机号"
,
disflag
:
e
.
disableFlag
||
e
.
gicFlag
},
on
:{
"update:nationCode"
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"managerNationcode"
,
t
)}},
model
:{
value
:
e
.
storeInfo
.
managerPhone
,
callback
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"managerPhone"
,
t
)},
expression
:
"storeInfo.managerPhone"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"店长性别"
}},[
r
(
"el-radio-group"
,{
attrs
:{
disabled
:
e
.
gicFlag
},
model
:{
value
:
e
.
storeInfo
.
managerSex
,
callback
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"managerSex"
,
t
)},
expression
:
"storeInfo.managerSex"
}},[
r
(
"el-radio"
,{
attrs
:{
label
:
1
}},[
e
.
_v
(
"男"
)]),
e
.
_v
(
" "
),
r
(
"el-radio"
,{
attrs
:{
label
:
2
}},[
e
.
_v
(
"女"
)])],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"店长代码"
,
prop
:
"managerCode"
}},[
r
(
"limitInput"
,{
attrs
:{
inputWidth
:
500
,
disflag
:
e
.
gicFlag
,
inputValue
:
e
.
storeInfo
.
managerCode
,
holder
:
""
,
maxLength
:
20
,
getByType
:
"char"
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"managerCode"
,
t
)}}})],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"info-cell"
},[
r
(
"p"
,{
staticClass
:
"title font-w-500"
},[
e
.
_v
(
"经营信息"
)]),
e
.
_v
(
" "
),
r
(
"el-form"
,{
ref
:
"storeOperate"
,
staticClass
:
"operate-info-form info-form"
,
attrs
:{
rules
:
e
.
rules
,
model
:
e
.
storeInfo
,
"label-width"
:
"90px"
}},[
r
(
"el-form-item"
,{
attrs
:{
label
:
"特色服务"
,
prop
:
"specialService"
}},[
r
(
"el-input"
,{
staticClass
:
"w-500"
,
attrs
:{
type
:
"textarea"
,
rows
:
2
},
model
:{
value
:
e
.
storeInfo
.
specialService
,
callback
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"specialService"
,
t
)},
expression
:
"storeInfo.specialService"
}}),
e
.
_v
(
" "
),
r
(
"p"
,{
staticClass
:
"counter t-rt c-909399 font-12"
},[
e
.
_v
(
e
.
_s
((
e
.
storeInfo
.
specialService
||
""
).
length
)
+
"/20"
)])],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"人均消费"
,
prop
:
"personCost"
}},[
r
(
"limitInput"
,{
attrs
:{
inputWidth
:
500
,
inputValue
:
e
.
storeInfo
.
personCost
,
holder
:
""
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"personCost"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"推荐商品"
}},[
r
(
"el-input"
,{
staticClass
:
"w-500"
,
attrs
:{
type
:
"textarea"
,
rows
:
2
},
model
:{
value
:
e
.
storeInfo
.
recommendGoods
,
callback
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"recommendGoods"
,
t
)},
expression
:
"storeInfo.recommendGoods"
}}),
e
.
_v
(
" "
),
r
(
"p"
,{
staticClass
:
"counter t-rt c-909399 font-12"
},[
e
.
_v
(
e
.
_s
((
e
.
storeInfo
.
recommendGoods
||
""
).
length
)
+
"/100"
)])],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"品牌介绍"
}},[
r
(
"el-input"
,{
staticClass
:
"w-500"
,
attrs
:{
type
:
"textarea"
,
rows
:
2
},
model
:{
value
:
e
.
storeInfo
.
brandDes
,
callback
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"brandDes"
,
t
)},
expression
:
"storeInfo.brandDes"
}}),
e
.
_v
(
" "
),
r
(
"p"
,{
staticClass
:
"counter t-rt c-909399 font-12"
},[
e
.
_v
(
e
.
_s
((
e
.
storeInfo
.
recommendGoods
||
""
).
length
)
+
"/200"
)])],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"handle-area"
},[
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
clickToSave
}},[
e
.
_v
(
"保 存"
)])],
1
)]),
e
.
_v
(
" "
),
r
(
"vue-select-store"
,{
ref
:
"storeSelector"
,
attrs
:{
defaultList
:
e
.
defaultList
,
treeSet
:
e
.
treeSet
,
selectType
:
"group"
,
forbidenList
:[
e
.
storeInfo
.
storeGroupId
]},
on
:{
handleSelectedList
:
e
.
handleSelectedList
}})],
1
)])])],
1
)},
staticRenderFns
:[]};
var
_
=
r
(
"VU/8"
)(
v
,
b
,
!
1
,
function
(
e
){
r
(
"+puo"
)},
null
,
null
);
t
.
default
=
_
.
exports
}});
\ No newline at end of file
dist/static/js/5.
46d57317b4555f3e420d
.js
→
dist/static/js/5.
1ccd7ab8c06c5a275269
.js
View file @
35fc15c1
webpackJsonp
([
5
,
37
,
58
,
60
,
62
,
73
],{
"79Bk"
:
function
(
t
,
e
,
i
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
{
name
:
"date-range-com"
,
props
:{
childItem
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}},
methods
:{
getZhLen
:
function
(
t
){
for
(
var
e
=
0
,
i
=
0
;
i
<
t
.
length
;
i
++
){
null
!=
t
.
charAt
(
i
).
match
(
/
[^\x
00-
\x
ff
]
/gi
)?
e
+=
1
:
e
+=
.
5
}
return
Math
.
ceil
(
e
)}}},
s
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"div"
,[
i
(
"div"
,[
i
(
"div"
,{
class
:[
"opencard-item-title"
,
t
.
getZhLen
(
t
.
childItem
.
startTitle
)
>=
6
?
"title-pre-wrap"
:
""
]},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
startTitle
))]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"draged-item-show"
},[
i
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag select-flag"
},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
placeholder
)
+
" "
+
t
.
_s
(
t
.
childItem
.
isMust
?
"(必填)"
:
""
)),
i
(
"i"
,{
staticClass
:
"el-icon-arrow-right"
})])])]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"b-t-1"
},[
i
(
"div"
,{
class
:[
"opencard-item-title"
,
t
.
getZhLen
(
t
.
childItem
.
endTitle
)
>=
6
?
"title-pre-wrap"
:
""
]},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
endTitle
))]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"draged-item-show"
},[
i
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag select-flag"
},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
placeholder
)
+
" "
+
t
.
_s
(
t
.
childItem
.
isMust
?
"(必填)"
:
""
)
+
" "
),
i
(
"i"
,{
staticClass
:
"el-icon-arrow-right"
})])])])])},
staticRenderFns
:[]};
var
l
=
i
(
"VU/8"
)(
a
,
s
,
!
1
,
function
(
t
){
i
(
"uaqi"
)},
"data-v-35e4159a"
,
null
);
e
.
default
=
l
.
exports
},
C8Hy
:
function
(
t
,
e
){},
H8Kg
:
function
(
t
,
e
,
i
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
{
name
:
"image-com"
,
props
:{
childItem
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}},
methods
:{
getZhLen
:
function
(
t
){
for
(
var
e
=
0
,
i
=
0
;
i
<
t
.
length
;
i
++
){
null
!=
t
.
charAt
(
i
).
match
(
/
[^\x
00-
\x
ff
]
/gi
)?
e
+=
1
:
e
+=
.
5
}
return
Math
.
ceil
(
e
)}}},
s
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"div"
,{
staticClass
:
"image-com"
},[
i
(
"div"
,{
class
:[
"opencard-item-title"
,
t
.
getZhLen
(
t
.
childItem
.
title
)
>=
6
?
"title-pre-wrap"
:
""
]},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
title
))]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"must"
},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
isMust
?
"(必填)"
:
""
))]),
t
.
_v
(
" "
),
t
.
_m
(
0
)])},
staticRenderFns
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"draged-item-show"
},[
e
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag select-flag"
},[
e
(
"i"
,{
staticClass
:
"iconfont icon-icon"
})])])}]};
var
l
=
i
(
"VU/8"
)(
a
,
s
,
!
1
,
function
(
t
){
i
(
"SvI+"
)},
"data-v-3f076bb1"
,
null
);
e
.
default
=
l
.
exports
},
IA9l
:
function
(
t
,
e
,
i
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
i
(
"//Fk"
),
s
=
i
.
n
(
a
),
l
=
i
(
"Gu7T"
),
n
=
i
.
n
(
l
),
c
=
i
(
"gBtx"
),
o
=
i
.
n
(
c
),
r
=
i
(
"mvHQ"
),
d
=
i
.
n
(
r
),
m
=
i
(
"DAYN"
),
p
=
i
.
n
(
m
),
u
=
i
(
"Isrn"
),
h
=
i
(
"l46T"
),
v
=
i
(
"H8Kg"
),
f
=
i
(
"t0b0"
),
_
=
i
(
"79Bk"
),
g
=
i
(
"s4D+"
),
y
=
i
(
"PAYw"
),
C
=
i
(
"fPyK"
),
b
=
i
(
"3E4D"
),
I
=
i
(
"Ch4/"
),
x
=
i
(
"PI0u"
),
k
=
i
(
"P9l9"
),
w
=
{
name
:
"customSetTemplate"
,
data
:
function
(){
return
{
activeName
:
"first"
,
rightName
:
"second"
,
dialogVisible
:
!
1
,
bodyHeight
:(
document
.
documentElement
.
clientHeight
||
document
.
body
.
clientHeight
)
+
"px"
,
isDragging
:
!
1
,
delayedDragging
:
!
1
,
leftOption
:{
group
:{
name
:
"people"
,
pull
:
"clone"
,
put
:
!
1
},
sort
:
!
1
,
disabled
:
!
1
},
leftDefineOption
:{
group
:{
name
:
"people"
,
pull
:
"clone"
,
put
:
!
1
},
sort
:
!
1
,
disabled
:
!
1
},
templateId
:
""
,
oparateType
:
""
,
counter
:
1
,
selectKey
:
""
,
tradeInfo
:[],
personInfo
:[],
goodsInfo
:[],
competeInfo
:[],
defineInfo
:[],
currentIndex
:
0
,
currentChildKey
:
null
,
currentChildIndex
:
null
,
childIndex
:
0
,
tempaletDataList
:[],
setList
:[],
templateObj
:{
title
:
""
,
description
:
""
,
storeType
:
""
,
momory
:[]},
storeList
:[{
id
:
"0"
,
name
:
"自营门店"
,
disabled
:
!
1
},{
id
:
"1"
,
name
:
"联营门店"
,
disabled
:
!
1
},{
id
:
"2"
,
name
:
"代理门店"
,
disabled
:
!
1
},{
id
:
"3"
,
name
:
"代销门店"
,
disabled
:
!
1
},{
id
:
"4"
,
name
:
"托管门店"
,
disabled
:
!
1
}]}},
methods
:{
getZhLen
:
function
(
t
){
for
(
var
e
=
0
,
i
=
0
;
i
<
t
.
length
;
i
++
){
null
!=
t
.
charAt
(
i
).
match
(
/
[^\x
00-
\x
ff
]
/gi
)?
e
+=
1
:
e
+=
.
5
}
return
Math
.
ceil
(
e
)},
returnBack
:
function
(){
this
.
changeRoute
(
"/customReport?brandId="
+
this
.
brandId
+
"&appIcon="
+
this
.
$route
.
query
.
appIcon
)},
cloneItem
:
function
(
t
){
var
e
=
JSON
.
parse
(
d
()(
t
));
return
e
.
cid
=
"c"
+
this
.
counter
,
e
.
systemFlag
||
(
e
.
name
.
includes
(
"textc"
)
&&
(
e
.
name
=
"textc"
+
this
.
counter
),
e
.
name
.
includes
(
"paragraphc"
)
&&
(
e
.
name
=
"paragraphc"
+
this
.
counter
),
e
.
name
.
includes
(
"numberc"
)
&&
(
e
.
name
=
"numberc"
+
this
.
counter
),
e
.
name
.
includes
(
"checkboxesOrRadioc"
)
&&
(
e
.
name
=
"checkboxesOrRadioc"
+
this
.
counter
),
e
.
name
.
includes
(
"datec"
)
&&
(
e
.
name
=
"datec"
+
this
.
counter
),
e
.
name
.
includes
(
"dateareac"
)
&&
(
e
.
name
=
"dateareac"
+
this
.
counter
),
e
.
name
.
includes
(
"picc"
)
&&
(
e
.
name
=
"picc"
+
this
.
counter
),
e
.
name
.
includes
(
"introductionc"
)
&&
(
e
.
name
=
"introductionc"
+
this
.
counter
),
e
.
name
.
includes
(
"pricec"
)
&&
(
e
.
name
=
"pricec"
+
this
.
counter
),
e
.
name
.
includes
(
"groupc"
)
&&
(
e
.
name
=
"groupc"
+
this
.
counter
,
e
.
title
=
""
+
e
.
title
+
this
.
counter
)),
e
},
onMove
:
function
(
t
){
var
e
=
t
.
draggedContext
.
element
;
return
!
this
.
tempaletDataList
.
map
(
function
(
t
){
return
t
.
name
}).
includes
(
e
.
name
)
&&!
e
.
fixed
},
onChildMove
:
function
(
t
){
var
e
=!
0
;
return
-
1
!=
t
.
dragged
.
className
.
indexOf
(
"block-class"
)
&&-
1
!=
t
.
to
.
className
.
indexOf
(
"block-wrap"
)
&&
(
e
=!
1
),
e
},
itemMoveEnd
:
function
(
t
){
var
e
=
this
;
function
i
(
t
){
e
[
t
].
forEach
(
function
(
t
,
i
){
t
.
name
==
e
.
selectKey
&&
(
t
.
fixed
=!
0
)})}
e
.
isDragging
=!
1
,
e
.
selectKey
=
""
,
e
.
selectKey
=
t
.
clone
.
dataset
.
name
,
e
.
tempaletDataList
.
forEach
(
function
(
t
,
a
){
t
.
name
==
e
.
selectKey
&&
i
(
t
.
parentCode
),
t
.
children
&&
t
.
children
.
forEach
(
function
(
t
,
a
){
t
.
name
==
e
.
selectKey
&&
i
(
t
.
parentCode
)})}),
e
.
selectKey
=
""
,
e
.
tempaletDataList
=
JSON
.
parse
(
d
()(
e
.
tempaletDataList
)),
e
.
$forceUpdate
(),
e
.
counter
=
e
.
counter
+
1
},
selectItem
:
function
(
t
,
e
){
this
.
currentIndex
=
e
,
this
.
currentChildIndex
=
null
},
deleteItem
:
function
(
t
,
e
,
i
,
a
){
var
s
=
this
;
if
(
s
.
tempaletDataList
.
splice
(
i
,
1
),
s
.
currentIndex
--
,
s
.
currentIndex
<=
0
&&
(
s
.
currentIndex
=
0
),
!
a
.
systemFlag
)
return
a
.
name
.
includes
(
"groupc"
)
&&
a
.
children
.
length
&&
a
.
children
.
forEach
(
function
(
t
){
t
.
systemFlag
&&
s
[
t
.
parentCode
].
forEach
(
function
(
e
){
e
.
name
==
t
.
name
&&
(
e
.
fixed
=!
1
)})}),
!
1
;
s
[
e
].
forEach
(
function
(
e
,
i
){
e
.
name
==
t
&&
(
e
.
fixed
=!
1
)})},
addDragItem
:
function
(
t
){
return
!
1
},
selectChildItem
:
function
(
t
,
e
,
i
,
a
){
this
.
currentIndex
=
null
,
this
.
currentChildKey
=
t
,
this
.
childIndex
=
e
,
this
.
currentChildIndex
=
i
},
deleteChildItem
:
function
(
t
,
e
,
i
,
a
,
s
){
if
(
this
.
childIndex
=
e
,
this
.
currentIndex
=
null
,
this
.
currentChildKey
=
this
.
tempaletDataList
[
e
].
children
[
i
].
name
,
this
.
currentChildIndex
--
,
this
.
currentChildIndex
<=
0
&&
(
this
.
currentChildIndex
=
0
),
this
.
tempaletDataList
=
JSON
.
parse
(
d
()(
this
.
tempaletDataList
)),
this
.
tempaletDataList
[
e
].
children
.
splice
(
i
,
1
),
!
s
.
systemFlag
)
return
!
1
;
this
[
s
.
parentCode
].
forEach
(
function
(
e
,
i
){
e
.
name
===
t
&&
(
e
.
fixed
=!
1
)})},
delChildItem
:
function
(
t
,
e
,
i
){
i
.
list
.
splice
(
e
,
1
)},
addChildItem
:
function
(
t
,
e
,
i
){
if
(
19
!=
e
){
i
.
list
.
push
({
value
:
"选项"
+
(
e
+
2
),
key
:
e
+
2
});
var
a
=
i
.
list
.
map
(
function
(
t
){
return
t
.
value
});
this
.
isRepeat
(
a
)
&&
(
i
.
list
.
splice
(
i
.
list
.
length
-
1
,
1
),
a
.
splice
(
i
.
list
.
length
-
1
,
1
),
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"选项不能重复"
}))}
else
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"最多可添加 20 项"
})},
changeMust
:
function
(
t
,
e
,
i
){
e
&&
i
.
list
.
forEach
(
function
(
e
){
e
.
isMust
=!!
t
})},
isRepeat
:
function
(
t
){
var
e
=
{};
for
(
var
i
in
t
){
if
(
e
[
t
[
i
]])
return
!
0
;
e
[
t
[
i
]]
=!
0
}
return
!
1
},
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
checkTag
:
function
(
t
){
var
e
=
{
filedFlag
:
!
0
,
filedRepeat
:
!
1
},
i
=
[];
return
t
.
forEach
(
function
(
t
){
if
(
""
==
t
.
title
)
return
e
.
filedFlag
=!
1
,
e
.
name
=
t
.
title
||
""
,
!
1
;
i
.
push
(
t
.
title
),
t
.
hasOwnProperty
(
"children"
)
&&
t
.
children
.
length
&&
t
.
children
.
forEach
(
function
(
t
){
if
(
t
.
systemFlag
&&
""
==
t
.
title
)
return
e
.
filedFlag
=!
1
,
e
.
name
=
t
.
title
||
""
,
!
1
;
i
.
push
(
t
.
title
)})}),
this
.
isRepeat
(
i
)
&&
(
e
.
filedRepeat
=!
0
),
e
},
checkTemplateObj
:
function
(){
var
t
=!
0
;
return
this
.
templateObj
.
title
&&
this
.
templateObj
.
description
&&
this
.
templateObj
.
storeType
||
(
t
=!
1
),
t
},
getUuid
:
function
(){
return
"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx"
.
replace
(
/
[
xy
]
/g
,
function
(
t
){
var
e
=
16
*
Math
.
random
()
|
0
;
return
(
"x"
==
t
?
e
:
3
&
e
|
8
).
toString
(
16
)})},
saveAndBack
:
Object
(
x
.
a
)(
function
(
t
){
if
(
!
this
.
checkTemplateObj
())
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请完善模板设置内容"
}),
!
1
;
var
e
=
JSON
.
parse
(
d
()(
this
.
tempaletDataList
)),
i
=
this
.
checkTag
(
e
);
if
(
!
i
.
filedFlag
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
i
.
name
+
"字段标题不能为空"
}),
!
1
;
if
(
i
.
filedRepeat
)
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"字段标题不能重复"
});
else
{
if
(
e
.
forEach
(
function
(
t
,
e
){
t
.
sort
=
e
,
t
.
isMust
=
t
.
isMust
?
1
:
0
,
t
.
memory
=
t
.
memory
?
1
:
0
,
t
.
hasOwnProperty
(
"openCapitalize"
)
&&
(
t
.
openCapitalize
=
t
.
openCapitalize
?
1
:
0
),
t
.
hasOwnProperty
(
"list"
)
&&
t
.
list
.
forEach
(
function
(
t
){
t
.
isMust
=
t
.
isMust
?
1
:
0
}),
t
.
hasOwnProperty
(
"children"
)
&&
(
t
.
children
.
forEach
(
function
(
t
,
e
){
t
.
sort
=
e
,
t
.
isMust
=
t
.
isMust
?
1
:
0
,
t
.
memory
=
t
.
memory
?
1
:
0
,
t
.
hasOwnProperty
(
"list"
)
&&
t
.
list
.
forEach
(
function
(
t
){
t
.
isMust
=
t
.
isMust
?
1
:
0
}),
t
.
hasOwnProperty
(
"openCapitalize"
)
&&
(
t
.
openCapitalize
=
t
.
openCapitalize
?
1
:
0
)}),
t
.
list
=
t
.
children
)}),
!
e
.
length
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请先配置字段"
}),
!
1
;
"save"
===
t
?
this
.
saveAllData
(
e
):
this
.
postPreview
(
e
)}},
500
),
saveAllData
:
function
(
t
){
var
e
=
this
,
i
=
{
status
:
1
,
brandId
:
e
.
brandId
,
templateContent
:
d
()(
t
),
title
:
e
.
templateObj
.
title
,
description
:
e
.
templateObj
.
description
,
storeType
:
e
.
templateObj
.
storeType
,
memory
:[]};
Object
(
k
.
e
)(
"/haoban-app-daily-web/daily/save-define-template"
,
i
).
then
(
function
(
t
){
var
i
=
t
.
data
;
if
(
1
==
i
.
errorCode
)
return
b
.
a
.
showmsg
(
"保存成功"
,
"success"
),
void
e
.
changeRoute
(
"/customReport?brandId="
+
e
.
brandId
+
"&appIcon="
+
e
.
$route
.
query
.
appIcon
);
I
.
a
.
errorMsg
(
i
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
postPreview
:
function
(
t
){
var
e
=
this
,
i
=
{
templateType
:
1
,
brandId
:
e
.
brandId
,
templateContent
:
d
()(
t
)};
Object
(
k
.
e
)(
"/haoban-app-daily-web/daily/preview-template"
,
i
).
then
(
function
(
t
){
var
i
=
t
.
data
;
if
(
1
==
i
.
errorCode
){
var
a
=
JSON
.
parse
(
localStorage
.
getItem
(
"userInfo"
)).
enterpriseId
,
s
=
window
.
location
.
origin
+
"/office-mobile/#/defineTemplate?enterpriseId="
+
a
+
"&templateId="
+
i
.
result
+
"&brandId="
+
e
.
brandId
;
return
e
.
$refs
.
qrcodePreview
.
qrcode
(
s
,
"daily-preview"
),
void
(
e
.
dialogVisible
=!
0
)}
I
.
a
.
errorMsg
(
i
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
closeDialog
:
function
(){
this
.
dialogVisible
=!
1
},
getHasStores
:
function
(){
var
t
=
this
;
Object
(
k
.
e
)(
"/haoban-app-daily-web/daily/has-defined-template-store-type"
,{
brandId
:
t
.
brandId
}).
then
(
function
(
e
){
var
i
=
e
.
data
;
1
!=
i
.
errorCode
?
I
.
a
.
errorMsg
(
i
):
t
.
storeList
.
forEach
(
function
(
e
){
i
.
result
&&
i
.
result
.
length
&&
i
.
result
.
includes
(
o
()(
e
.
id
))
&&
(
e
.
disabled
=!
0
),
"edit"
==
t
.
oparateType
&&
t
.
storeType
==
e
.
id
&&
(
e
.
disabled
=!
1
)})}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getAllFields
:
function
(
t
){
var
e
=
this
;
Object
(
k
.
e
)(
"/haoban-app-daily-web/daily/get-template-items"
,{
brandId
:
e
.
brandId
,
type
:
t
}).
then
(
function
(
i
){
var
a
=
i
.
data
;
if
(
1
==
a
.
errorCode
)
return
a
.
result
.
forEach
(
function
(
e
){
e
.
isMust
=!!
e
.
isMust
,
e
.
memory
=!!
e
.
memory
,
e
.
title
=
e
.
title
.
trim
(),
e
.
hasOwnProperty
(
"openCapitalize"
)
&&
(
e
.
openCapitalize
=!!
e
.
openCapitalize
),
e
.
hasOwnProperty
(
"list"
)
&&
e
.
list
&&
e
.
list
.
length
&&
e
.
list
.
forEach
(
function
(
t
){
t
.
isMust
=!!
t
.
isMust
}),
e
.
systemFlag
=
3
!=
t
,
e
.
name
.
includes
(
"groupc"
)
&&
(
e
.
children
=
[])}),
void
(
3
==
t
?
e
.
defineInfo
=
a
.
result
:
e
.
handleAllFields
(
a
.
result
));
I
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
handleAllFields
:
function
(
t
){
var
e
=
this
;
t
.
forEach
(
function
(
t
){
t
.
fixed
=!
1
,
1
==
t
.
classify
&&
(
t
.
parentCode
=
"tradeInfo"
,
e
.
tradeInfo
.
push
(
t
)),
2
==
t
.
classify
&&
(
t
.
parentCode
=
"personInfo"
,
e
.
personInfo
.
push
(
t
)),
3
==
t
.
classify
&&
(
t
.
parentCode
=
"goodsInfo"
,
e
.
goodsInfo
.
push
(
t
)),
4
==
t
.
classify
&&
(
t
.
parentCode
=
"competeInfo"
,
e
.
competeInfo
.
push
(
t
))})},
getInfo
:
function
(){
var
t
=
this
;
Object
(
k
.
e
)(
"/haoban-app-daily-web/daily/get-define-template"
,{
templateId
:
t
.
templateId
}).
then
(
function
(
e
){
var
i
=
e
.
data
;
if
(
1
==
i
.
errorCode
)
return
t
.
setList
=
[],
i
.
result
&&
(
t
.
templateObj
.
title
=
i
.
result
.
title
,
t
.
templateObj
.
description
=
i
.
result
.
description
,
t
.
storeType
=
"edit"
==
t
.
oparateType
?
String
(
i
.
result
.
storeType
):
""
,
t
.
templateObj
.
storeType
=
"edit"
==
t
.
oparateType
?
String
(
i
.
result
.
storeType
):
""
,
i
.
result
.
templateContent
&&
i
.
result
.
templateContent
.
length
&&
t
.
handleGetInfo
(
i
.
result
.
templateContent
)),
void
t
.
getHasStores
();
I
.
a
.
errorMsg
(
i
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
treeData
:
function
(
t
){
var
e
=
t
.
filter
(
function
(
e
){
var
i
=
t
.
filter
(
function
(
t
){
return
e
.
fieldCode
==
t
.
parentCode
});
return
i
.
length
>
0
&&
(
e
.
children
=
i
),
0
==
e
.
parentCode
});
return
e
.
sort
(
function
(
t
,
e
){
return
t
.
sort
-
e
.
sort
}),
e
.
forEach
(
function
(
t
,
e
){
t
.
children
.
sort
(
function
(
t
,
e
){
return
t
.
sort
-
e
.
sort
})}),
e
},
handleGetInfo
:
function
(
t
){
var
e
=
this
,
i
=
JSON
.
parse
(
d
()(
t
));
e
.
cids
=
[],
e
.
setParent
=
[],
i
.
forEach
(
function
(
t
,
i
){
t
.
title
=
t
.
title
.
trim
(),
t
.
isMust
=!!
t
.
isMust
,
t
.
memory
=!!
t
.
memory
,
t
.
name
.
includes
(
"textc"
)
||
t
.
name
.
includes
(
"paragraphc"
)
||
t
.
name
.
includes
(
"numberc"
)
||
t
.
name
.
includes
(
"checkboxesOrRadioc"
)
||
t
.
name
.
includes
(
"datec"
)
||
t
.
name
.
includes
(
"dateareac"
)
||
t
.
name
.
includes
(
"picc"
)
||
t
.
name
.
includes
(
"introductionc"
)
||
t
.
name
.
includes
(
"pricec"
)
||
t
.
name
.
includes
(
"groupc"
)?(
t
.
systemFlag
=!
1
,
t
.
parentCode
=
"defineInfo"
):(
e
.
setParent
.
push
(
t
.
name
),
t
.
systemFlag
=!
0
,
1
==
t
.
classify
&&
(
t
.
parentCode
=
"tradeInfo"
),
2
==
t
.
classify
&&
(
t
.
parentCode
=
"personInfo"
),
3
==
t
.
classify
&&
(
t
.
parentCode
=
"goodsInfo"
),
4
==
t
.
classify
&&
(
t
.
parentCode
=
"competeInfo"
)),
t
.
hasOwnProperty
(
"openCapitalize"
)
&&
(
t
.
openCapitalize
=!!
t
.
openCapitalize
),
t
.
hasOwnProperty
(
"list"
)
&&
t
.
list
&&
t
.
list
.
length
&&
(
t
.
list
.
forEach
(
function
(
i
){(
i
.
isMust
=!!
i
.
isMust
,
t
.
name
.
includes
(
"groupc"
))
&&
(
i
.
isMust
=!!
i
.
isMust
,
i
.
memory
=!!
i
.
memory
,
i
.
name
.
includes
(
"textc"
)
||
i
.
name
.
includes
(
"paragraphc"
)
||
i
.
name
.
includes
(
"numberc"
)
||
i
.
name
.
includes
(
"checkboxesOrRadioc"
)
||
i
.
name
.
includes
(
"datec"
)
||
i
.
name
.
includes
(
"dateareac"
)
||
i
.
name
.
includes
(
"picc"
)
||
i
.
name
.
includes
(
"introductionc"
)
||
i
.
name
.
includes
(
"pricec"
)
||
i
.
name
.
includes
(
"groupc"
)?
i
.
systemFlag
=!
1
:(
e
.
setParent
.
push
(
i
.
name
),
i
.
systemFlag
=!
0
,
1
==
i
.
classify
&&
(
i
.
parentCode
=
"tradeInfo"
),
2
==
i
.
classify
&&
(
i
.
parentCode
=
"personInfo"
),
3
==
i
.
classify
&&
(
i
.
parentCode
=
"goodsInfo"
),
4
==
i
.
classify
&&
(
i
.
parentCode
=
"competeInfo"
)))}),
t
.
name
.
includes
(
"groupc"
)
&&
(
t
.
children
=
t
.
list
)),
e
.
cids
.
push
(
o
()(
t
.
cid
.
match
(
/
\d
+/g
))),
t
.
hasOwnProperty
(
"children"
)
&&
t
.
children
.
forEach
(
function
(
t
){
t
.
isMust
=!!
t
.
isMust
,
t
.
memory
=!!
t
.
memory
,
e
.
cids
.
push
(
o
()(
t
.
cid
.
match
(
/
\d
+/g
)))})}),
e
.
counter
=
Math
.
max
.
apply
(
Math
,
n
()(
e
.
cids
)),
e
.
tempaletDataList
=
i
,
setTimeout
(
function
(){
e
.
setFixed
()},
500
)},
setFixed
:
function
(){
var
t
=
this
;[
"tradeInfo"
,
"personInfo"
,
"goodsInfo"
,
"competeInfo"
].
forEach
(
function
(
e
){
t
[
e
].
forEach
(
function
(
e
){
t
.
setParent
.
includes
(
e
.
name
)
&&
(
e
.
fixed
=!
0
)})})}},
watch
:{
isDragging
:
function
(
t
){
var
e
=
this
;
t
?
e
.
delayedDragging
=!
0
:
e
.
$nextTick
(
function
(){
e
.
delayedDragging
=!
1
})}},
components
:{
draggable
:
p
.
a
,
AddInput
:
u
.
a
,
limitInput
:
h
.
a
,
imageCom
:
v
.
default
,
selectCom
:
f
.
default
,
dateRangeCom
:
_
.
default
,
inputCom
:
g
.
default
,
blockCom
:
y
.
default
,
qrcodeDialog
:
C
.
a
},
mounted
:
function
(){
var
t
=
this
,
e
=
t
.
$route
.
query
;
t
.
brandId
=
t
.
$route
.
query
.
brandId
,
s
.
a
.
all
([
t
.
getAllFields
(
2
)]).
then
(
function
(
i
){
t
.
getAllFields
(
3
),
e
.
hasOwnProperty
(
"templateId"
)?(
t
.
templateId
=
e
.
templateId
,
t
.
oparateType
=
e
.
type
,
t
.
getInfo
()):
t
.
getHasStores
()}).
catch
(
function
(
t
){
console
.
log
(
t
)}),
document
.
body
.
ondrop
=
function
(
t
){
t
.
preventDefault
(),
t
.
stopPropagation
()}}},
T
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"template-wrap"
,
style
:{
height
:
t
.
bodyHeight
}},[
a
(
"div"
,{
staticClass
:
"template-contain"
},[
a
(
"div"
,{
staticClass
:
"template-head"
},[
t
.
_m
(
0
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"template-btns flex-1 flex-r"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
function
(
e
){
t
.
saveAndBack
(
"preview"
)}}},[
t
.
_v
(
"预 览"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
t
.
returnBack
}},[
t
.
_v
(
"返 回"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
e
){
t
.
saveAndBack
(
"save"
)}}},[
t
.
_v
(
"保存并启用"
)])],
1
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"template-body"
},[
a
(
"div"
,{
staticClass
:
"template-cell template-cell-l"
},[
a
(
"el-tabs"
,{
model
:{
value
:
t
.
activeName
,
callback
:
function
(
e
){
t
.
activeName
=
e
},
expression
:
"activeName"
}},[
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"系统字段"
,
name
:
"first"
}},[
a
(
"div"
,{
staticClass
:
"filed-item-title"
},[
t
.
_v
(
"交易"
)]),
t
.
_v
(
" "
),
a
(
"ul"
,[
a
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list1"
,
list
:
t
.
tradeInfo
,
options
:
t
.
leftOption
,
clone
:
t
.
cloneItem
,
move
:
t
.
onMove
},
on
:{
start
:
function
(
e
){
t
.
isDragging
=!
0
},
end
:
t
.
itemMoveEnd
}},
t
.
_l
(
t
.
tradeInfo
,
function
(
e
,
i
){
return
a
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
e
.
fixed
?
"fixed-item"
:
""
],
attrs
:{
"data-name"
:
e
.
name
,
"aria-hidden"
:
"true"
}},[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))])])}))],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"filed-item-title"
},[
t
.
_v
(
"人员"
)]),
t
.
_v
(
" "
),
a
(
"ul"
,[
a
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list2"
,
list
:
t
.
personInfo
,
options
:
t
.
leftOption
,
clone
:
t
.
cloneItem
,
move
:
t
.
onMove
},
on
:{
start
:
function
(
e
){
t
.
isDragging
=!
0
},
end
:
t
.
itemMoveEnd
}},
t
.
_l
(
t
.
personInfo
,
function
(
e
,
i
){
return
a
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
e
.
fixed
?
"fixed-item"
:
""
],
attrs
:{
"data-name"
:
e
.
name
}},[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))])])}))],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"filed-item-title"
},[
t
.
_v
(
"商品"
)]),
t
.
_v
(
" "
),
a
(
"ul"
,[
a
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list3"
,
list
:
t
.
goodsInfo
,
options
:
t
.
leftOption
,
clone
:
t
.
cloneItem
,
move
:
t
.
onMove
},
on
:{
start
:
function
(
e
){
t
.
isDragging
=!
0
},
end
:
t
.
itemMoveEnd
}},
t
.
_l
(
t
.
goodsInfo
,
function
(
e
,
i
){
return
a
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
e
.
fixed
?
"fixed-item"
:
""
],
attrs
:{
"data-name"
:
e
.
name
}},[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))])])}))],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"filed-item-title"
},[
t
.
_v
(
"竞品"
)]),
t
.
_v
(
" "
),
a
(
"ul"
,[
a
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list4"
,
list
:
t
.
competeInfo
,
options
:
t
.
leftOption
,
clone
:
t
.
cloneItem
,
move
:
t
.
onMove
},
on
:{
start
:
function
(
e
){
t
.
isDragging
=!
0
},
end
:
t
.
itemMoveEnd
}},
t
.
_l
(
t
.
competeInfo
,
function
(
e
,
i
){
return
a
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
e
.
fixed
?
"fixed-item"
:
""
],
attrs
:{
"data-name"
:
e
.
name
}},[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))])])}))],
1
)]),
t
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"自定义字段"
,
name
:
"second"
}},[
a
(
"div"
,{
staticClass
:
"filed-item-title"
}),
t
.
_v
(
" "
),
a
(
"ul"
,[
a
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list5"
,
list
:
t
.
defineInfo
,
options
:
t
.
leftDefineOption
,
clone
:
t
.
cloneItem
,
move
:
t
.
onChildMove
},
on
:{
start
:
function
(
e
){
t
.
isDragging
=!
0
},
end
:
t
.
itemMoveEnd
}},
t
.
_l
(
t
.
defineInfo
,
function
(
e
,
i
){
return
a
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
e
.
fixed
?
"fixed-item"
:
""
,
11
==
e
.
type
?
"block-class"
:
""
],
attrs
:{
"data-type"
:
e
.
fieldCode
}},[
0
==
e
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
1
==
e
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
2
==
e
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
3
==
e
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
4
==
e
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
5
==
e
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
6
==
e
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
7
==
e
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
9
==
e
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
10
==
e
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
11
==
e
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
0
==
e
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-one"
}):
t
.
_e
(),
t
.
_v
(
" "
),
1
==
e
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-two"
}):
t
.
_e
(),
t
.
_v
(
" "
),
2
==
e
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-three"
}):
t
.
_e
(),
t
.
_v
(
" "
),
3
==
e
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-four"
}):
t
.
_e
(),
t
.
_v
(
" "
),
4
==
e
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-five"
}):
t
.
_e
(),
t
.
_v
(
" "
),
5
==
e
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-six"
}):
t
.
_e
(),
t
.
_v
(
" "
),
6
==
e
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-seven"
}):
t
.
_e
(),
t
.
_v
(
" "
),
7
==
e
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-eight"
}):
t
.
_e
(),
t
.
_v
(
" "
),
9
==
e
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-ten"
}):
t
.
_e
(),
t
.
_v
(
" "
),
10
==
e
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-eleven"
}):
t
.
_e
(),
t
.
_v
(
" "
),
11
==
e
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-twelve"
}):
t
.
_e
()])}))],
1
)])],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"template-cell template-cell-m"
},[
a
(
"div"
,{
staticClass
:
"phone-view"
},[
a
(
"div"
,{
staticClass
:
"phone-show-content"
},[
a
(
"div"
,{
staticClass
:
"drag-show-content"
},[
a
(
"div"
,{
staticClass
:
"view-container"
},[
a
(
"ul"
,{
staticClass
:
"view-content"
,
attrs
:{
id
:
"showPhoneView"
}},[
0
==
t
.
tempaletDataList
.
length
?[
a
(
"img"
,{
staticClass
:
"templet-null-img"
,
attrs
:{
src
:
i
(
"Y7wY"
)}})]:
t
.
_e
(),
t
.
_v
(
" "
),
a
(
"draggable"
,{
staticClass
:
"drag-wrap"
,
attrs
:{
options
:{
group
:{
name
:
"people"
,
pull
:
!
1
,
put
:
!
0
},
sort
:
!
0
}},
model
:{
value
:
t
.
tempaletDataList
,
callback
:
function
(
e
){
t
.
tempaletDataList
=
e
},
expression
:
"tempaletDataList"
}},
t
.
_l
(
t
.
tempaletDataList
,
function
(
e
,
i
){
return
a
(
"li"
,{
key
:
"li1"
+
i
,
class
:[
"filed-item"
,
t
.
currentIndex
==
i
?
"active-item"
:
""
,
"li-block"
],
on
:{
click
:
function
(
a
){
t
.
selectItem
(
e
.
fieldCode
,
i
)}}},[
"baseInfo"
!=
e
.
fieldCode
?
a
(
"span"
,{
staticClass
:
"item-close p-item-close"
,
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
t
.
deleteItem
(
e
.
name
,
e
.
parentCode
,
i
,
e
)}}},[
a
(
"i"
,{
staticClass
:
"el-icon-close"
})]):
t
.
_e
(),
t
.
_v
(
" "
),
e
.
systemFlag
||!
e
.
name
.
includes
(
"groupc"
)?
a
(
"div"
,[
1
==
e
.
type
||
2
==
e
.
type
||
3
==
e
.
type
||
10
==
e
.
type
||
9
==
e
.
type
?
a
(
"input-com"
,{
attrs
:{
childItem
:
e
}}):
t
.
_e
(),
t
.
_v
(
" "
),
4
==
e
.
type
||
5
==
e
.
type
?
a
(
"select-com"
,{
attrs
:{
childItem
:
e
}}):
t
.
_e
(),
t
.
_v
(
" "
),
6
==
e
.
type
?
a
(
"date-range-com"
,{
attrs
:{
childItem
:
e
}}):
t
.
_e
(),
t
.
_v
(
" "
),
7
==
e
.
type
?
a
(
"image-com"
,{
attrs
:{
childItem
:
e
}}):
t
.
_e
(),
t
.
_v
(
" "
),
"11"
==
e
.
type
?
a
(
"block-com"
,{
attrs
:{
childItem
:
e
}}):
t
.
_e
()],
1
):
t
.
_e
(),
t
.
_v
(
" "
),[
e
.
name
.
includes
(
"groupc"
)?
a
(
"div"
,{
staticClass
:
"block"
},[
a
(
"div"
,{
staticClass
:
"block-head"
},[
a
(
"div"
,{
class
:[
"opencard-item-title"
,
t
.
getZhLen
(
e
.
title
)
>=
6
?
"title-pre-wrap"
:
""
]},[
t
.
_v
(
t
.
_s
(
e
.
title
))])]),
t
.
_v
(
" "
),
a
(
"ul"
,{
staticClass
:
"view-content"
},[
a
(
"draggable"
,{
class
:[
"drag-wrap"
,
"block-wrap"
,
e
.
fieldCode
],
attrs
:{
options
:{
group
:{
name
:
"people"
,
pull
:
!
1
,
put
:
!
0
},
sort
:
!
0
}},
on
:{
add
:
t
.
addDragItem
},
model
:{
value
:
e
.
children
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"children"
,
i
)},
expression
:
"item.children"
}},
t
.
_l
(
e
.
children
,
function
(
s
,
l
){
return
a
(
"li"
,{
key
:
"li"
+
l
,
class
:[
"filed-item"
,
"child-filed-item"
,
t
.
currentChildKey
==
s
.
name
&&
t
.
currentChildIndex
==
l
?
"active-item"
:
""
],
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
t
.
selectChildItem
(
s
.
name
,
i
,
l
,
e
.
children
)}}},[
a
(
"span"
,{
staticClass
:
"item-close child-item-close"
,
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
t
.
deleteChildItem
(
s
.
name
,
i
,
l
,
e
.
children
,
s
)}}},[
a
(
"i"
,{
staticClass
:
"el-icon-close"
})]),
t
.
_v
(
" "
),
4
==
s
.
type
||
5
==
s
.
type
?
a
(
"select-com"
,{
attrs
:{
childItem
:
s
}}):
t
.
_e
(),
t
.
_v
(
" "
),
6
==
s
.
type
?
a
(
"date-range-com"
,{
attrs
:{
childItem
:
s
}}):
t
.
_e
(),
t
.
_v
(
" "
),
7
==
s
.
type
?
a
(
"image-com"
,{
attrs
:{
childItem
:
s
}}):
t
.
_e
(),
t
.
_v
(
" "
),
1
==
s
.
type
||
2
==
s
.
type
||
3
==
s
.
type
||
10
==
s
.
type
||
9
==
s
.
type
?
a
(
"input-com"
,{
attrs
:{
childItem
:
s
}}):
t
.
_e
(),
t
.
_v
(
" "
),
"11"
==
s
.
type
&&
s
.
systemFlag
?
a
(
"block-com"
,{
attrs
:{
childItem
:
s
}}):
t
.
_e
()],
1
)}))],
1
)]):
t
.
_e
()]],
2
)}))],
2
)])])])])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"template-cell template-cell-r define-template-tab"
},[
a
(
"el-tabs"
,{
model
:{
value
:
t
.
rightName
,
callback
:
function
(
e
){
t
.
rightName
=
e
},
expression
:
"rightName"
}},[
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"控件设置"
,
name
:
"first"
}},[
a
(
"div"
,{
attrs
:{
id
:
"edit-box"
}},[
a
(
"div"
,{
staticClass
:
"edit-view baby-info-flag baby-info"
},[
t
.
_l
(
t
.
tempaletDataList
,
function
(
e
,
i
){
return
[
t
.
currentIndex
!=
i
||
e
.
systemFlag
||
6
==
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child"
+
i
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"标题"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
e
.
title
,
holder
:
""
,
disflag
:
e
.
systemFlag
,
getByType
:
"char"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
i
){
t
.
$set
(
e
,
"title"
,
i
)}}}),
t
.
_v
(
" "
),
7
==
e
.
type
?
a
(
"p"
,{
staticStyle
:{
"margin-top"
:
"8px"
,
"font-size"
:
"12px"
,
color
:
"rgba(255, 255, 255, 0.7)"
}},[
t
.
_v
(
"
\
n 图片最多可添加9张
\
n "
)]):
t
.
_e
()],
1
)],
t
.
_v
(
" "
),
t
.
currentIndex
!=
i
||
e
.
systemFlag
||
6
!=
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child62"
+
i
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"标题 最多10个字"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
e
.
startTitle
,
holder
:
""
,
disflag
:
e
.
systemFlag
,
getByType
:
"char"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
i
){
t
.
$set
(
e
,
"startTitle"
,
i
)}}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
key
:
"child64"
+
i
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"标题2 最多10个字"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
e
.
endTitle
,
holder
:
""
,
disflag
:
e
.
systemFlag
,
getByType
:
"char"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
i
){
t
.
$set
(
e
,
"endTitle"
,
i
)}}})],
1
)],
t
.
_v
(
" "
),
t
.
currentIndex
!=
i
||
e
.
systemFlag
||
11
==
e
.
type
||
5
==
e
.
type
||
7
==
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child1"
+
i
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"提示文字最多20个字"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
e
.
placeholder
,
holder
:
""
,
disflag
:
!
1
,
getByType
:
"char"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
i
){
t
.
$set
(
e
,
"placeholder"
,
i
)}}}),
t
.
_v
(
" "
),
2
==
e
.
type
||
9
==
e
.
type
?
a
(
"p"
,{
staticClass
:
"font-12 m-t-10"
},[
t
.
_v
(
"内容最多输入500个字"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
==
e
.
type
?
a
(
"p"
,{
staticClass
:
"font-12 m-t-10"
},[
t
.
_v
(
"内容最多输入100个字"
)]):
t
.
_e
()],
1
)],
t
.
_v
(
" "
),
t
.
currentIndex
!=
i
||
e
.
systemFlag
||
3
!=
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child11"
+
i
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"单位最多20个字"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
e
.
placeholder
,
holder
:
""
,
disflag
:
!
1
,
getByType
:
"char"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
i
){
t
.
$set
(
e
,
"placeholder"
,
i
)}}}),
t
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"font-12 m-t-10"
},[
t
.
_v
(
"内容最大限制为12位数"
)])],
1
)],
t
.
_v
(
" "
),
t
.
currentIndex
!=
i
||
e
.
systemFlag
||
"4"
!=
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child111"
+
i
,
staticClass
:
"edit-item "
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"选项 "
),
e
.
systemFlag
?
t
.
_e
():
a
(
"span"
,[
t
.
_v
(
"最多20项,每项最多10个字"
)])]),
t
.
_v
(
" "
),
t
.
_l
(
e
.
list
,
function
(
s
,
l
){
return
[
a
(
"div"
,{
key
:
"child10"
+
l
,
staticClass
:
"margin-t-15 limit-w-340"
,
style
:
0
==
l
?
"margin-top: 0"
:
""
},[
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
s
.
value
,
holder
:
""
,
disflag
:
e
.
systemFlag
,
getByType
:
"char"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
e
){
t
.
$set
(
s
,
"value"
,
e
)}}}),
t
.
_v
(
" "
),
!
e
.
systemFlag
&&
e
.
list
.
length
>
1
?
a
(
"i"
,{
staticClass
:
"opt-btn el-icon-remove del-item"
,
on
:{
click
:
function
(
a
){
t
.
delChildItem
(
i
,
l
,
e
)}}}):
t
.
_e
(),
t
.
_v
(
" "
),
!
e
.
systemFlag
&&
l
<
19
?[
l
==
e
.
list
.
length
-
1
?
a
(
"i"
,{
staticClass
:
"opt-btn el-icon-circle-plus add-item"
,
on
:{
click
:
function
(
a
){
t
.
addChildItem
(
i
,
l
,
e
)}}}):
t
.
_e
()]:
t
.
_e
()],
2
)]})],
2
),
t
.
_v
(
" "
),
a
(
"div"
,{
key
:
"parent22"
+
i
,
staticClass
:
"edit-item m-b-10"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"选择框类型"
)]),
t
.
_v
(
" "
),
a
(
"div"
,[
a
(
"el-radio"
,{
attrs
:{
label
:
0
},
model
:{
value
:
e
.
chooseType
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"chooseType"
,
i
)},
expression
:
"item.chooseType"
}},[
t
.
_v
(
"单选"
)]),
t
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
1
},
model
:{
value
:
e
.
chooseType
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"chooseType"
,
i
)},
expression
:
"item.chooseType"
}},[
t
.
_v
(
"多选"
)])],
1
)])],
t
.
_v
(
" "
),
t
.
currentIndex
!=
i
||
e
.
systemFlag
||
5
!=
e
.
type
&&
6
!=
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child117"
+
i
,
staticClass
:
"edit-item "
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"日期类型"
)]),
t
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
1
},
model
:{
value
:
e
.
dateType
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"dateType"
,
i
)},
expression
:
"item.dateType"
}},[
t
.
_v
(
"
\
n 年-月-日 时 分
\
n "
)]),
t
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
0
},
model
:{
value
:
e
.
dateType
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"dateType"
,
i
)},
expression
:
"item.dateType"
}},[
t
.
_v
(
"
\
n 年-月-日
\
n "
)])],
1
)],
t
.
_v
(
" "
),
t
.
currentIndex
!=
i
||
e
.
systemFlag
||
10
!=
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"parent210"
+
i
,
staticClass
:
"edit-item m-b-10"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"大写"
)]),
t
.
_v
(
" "
),
a
(
"el-checkbox"
,{
model
:{
value
:
e
.
openCapitalize
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"openCapitalize"
,
i
)},
expression
:
"item.openCapitalize"
}},[
t
.
_v
(
"显示大写"
)])],
1
)],
t
.
_v
(
" "
),
t
.
currentIndex
!=
i
||
e
.
name
.
includes
(
"groupc"
)?
t
.
_e
():[
a
(
"div"
,{
key
:
"parent2"
+
i
,
staticClass
:
"edit-item m-b-10"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"验证"
)]),
t
.
_v
(
" "
),
a
(
"el-checkbox"
,{
on
:{
change
:
function
(
i
){
t
.
changeMust
(
i
,
!!
e
.
list
,
e
)}},
model
:{
value
:
e
.
isMust
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"isMust"
,
i
)},
expression
:
"item.isMust"
}},[
t
.
_v
(
"必填"
)])],
1
)],
t
.
_v
(
" "
),
t
.
currentIndex
!=
i
||
"performanceKing"
!=
e
.
name
&&
"competitorInfo"
!=
e
.
name
?
t
.
_e
():[
a
(
"div"
,{
key
:
"parent21"
+
i
,
staticClass
:
"edit-item m-b-10"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"验证 是否必填"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"must-list"
},
t
.
_l
(
e
.
list
,
function
(
e
,
i
){
return
a
(
"div"
,{
key
:
"list"
+
i
,
staticClass
:
"must-list-cell m-b-10"
},[
a
(
"el-checkbox"
,{
model
:{
value
:
e
.
isMust
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"isMust"
,
i
)},
expression
:
"listItem.isMust"
}},[
t
.
_v
(
t
.
_s
(
e
.
title
))])],
1
)}))])],
t
.
_v
(
" "
),
t
.
currentIndex
!=
i
||
e
.
name
.
includes
(
"groupc"
)?
t
.
_e
():[
a
(
"div"
,{
key
:
"parent3"
+
i
,
staticClass
:
"edit-item "
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"记忆"
)]),
t
.
_v
(
" "
),
a
(
"el-checkbox"
,{
model
:{
value
:
e
.
memory
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"memory"
,
i
)},
expression
:
"item.memory"
}},[
t
.
_v
(
"是否记忆"
)])],
1
)],
t
.
_v
(
" "
),
t
.
childIndex
==
i
&&
e
.
children
&&
e
.
children
.
length
?[
t
.
_l
(
e
.
children
,
function
(
e
,
s
){
return
[
t
.
currentChildIndex
!=
s
||
e
.
systemFlag
||
6
==
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child"
+
s
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"标题"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
e
.
title
,
holder
:
""
,
disflag
:
e
.
systemFlag
,
getByType
:
"word"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
i
){
t
.
$set
(
e
,
"title"
,
i
)}}}),
t
.
_v
(
" "
),
7
==
e
.
type
?
a
(
"p"
,{
staticStyle
:{
"margin-top"
:
"8px"
,
"font-size"
:
"12px"
,
color
:
"rgba(255, 255, 255, 0.7)"
}},[
t
.
_v
(
"
\
n 图片最多可添加9张
\
n "
)]):
t
.
_e
()],
1
)],
t
.
_v
(
" "
),
t
.
currentChildIndex
!=
s
||
e
.
systemFlag
||
6
!=
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child2"
+
s
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"标题 最多10个字"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
e
.
startTitle
,
holder
:
""
,
disflag
:
e
.
systemFlag
,
getByType
:
"char"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
i
){
t
.
$set
(
e
,
"startTitle"
,
i
)}}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
key
:
"child4"
+
s
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"标题2 最多10个字"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
e
.
endTitle
,
holder
:
""
,
disflag
:
e
.
systemFlag
,
getByType
:
"char"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
i
){
t
.
$set
(
e
,
"endTitle"
,
i
)}}})],
1
)],
t
.
_v
(
" "
),
t
.
currentChildIndex
!=
s
||
e
.
systemFlag
||
5
==
e
.
type
||
7
==
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child1"
+
s
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"提示文字最多20个字"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
e
.
placeholder
,
holder
:
""
,
disflag
:
!
1
,
getByType
:
"word"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
i
){
t
.
$set
(
e
,
"placeholder"
,
i
)}}}),
t
.
_v
(
" "
),
2
==
e
.
type
||
9
==
e
.
type
?
a
(
"p"
,{
staticClass
:
"font-12 m-t-10"
},[
t
.
_v
(
"内容最多输入500个字"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
==
e
.
type
?
a
(
"p"
,{
staticClass
:
"font-12 m-t-10"
},[
t
.
_v
(
"内容最多输入100个字"
)]):
t
.
_e
()],
1
)],
t
.
_v
(
" "
),
t
.
currentChildIndex
!=
s
||
e
.
systemFlag
||
3
!=
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child6"
+
s
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"单位最多20个字"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
e
.
unit
,
holder
:
""
,
disflag
:
!
1
,
getByType
:
"word"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
i
){
t
.
$set
(
e
,
"unit"
,
i
)}}}),
t
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"font-12 m-t-10"
},[
t
.
_v
(
"内容最大限制为12位数"
)])],
1
)],
t
.
_v
(
" "
),
t
.
currentChildIndex
!=
s
||
e
.
systemFlag
||
5
!=
e
.
type
&&
6
!=
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child7"
+
s
,
staticClass
:
"edit-item "
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"日期类型"
)]),
t
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
1
},
model
:{
value
:
e
.
dateType
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"dateType"
,
i
)},
expression
:
"childItem.dateType"
}},[
t
.
_v
(
"
\
n 年-月-日 时 分
\
n "
)]),
t
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
0
},
model
:{
value
:
e
.
dateType
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"dateType"
,
i
)},
expression
:
"childItem.dateType"
}},[
t
.
_v
(
"
\
n 年-月-日
\
n "
)])],
1
)],
t
.
_v
(
" "
),
t
.
currentChildIndex
!=
s
||
e
.
systemFlag
||
"4"
!=
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child9"
+
s
,
staticClass
:
"edit-item "
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"选项 "
),
e
.
systemFlag
?
t
.
_e
():
a
(
"span"
,[
t
.
_v
(
"最多20项,每项最多10个字"
)])]),
t
.
_v
(
" "
),
t
.
_l
(
e
.
list
,
function
(
s
,
l
){
return
[
a
(
"div"
,{
key
:
"child10"
+
l
,
staticClass
:
"margin-t-15 limit-w-340"
,
style
:
0
==
l
?
"margin-top: 0"
:
""
},[
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
s
.
value
,
holder
:
""
,
disflag
:
e
.
systemFlag
,
getByType
:
"char"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
e
){
t
.
$set
(
s
,
"value"
,
e
)}}}),
t
.
_v
(
" "
),
!
e
.
systemFlag
&&
e
.
list
.
length
>
1
?
a
(
"i"
,{
staticClass
:
"opt-btn el-icon-remove del-item"
,
on
:{
click
:
function
(
a
){
t
.
delChildItem
(
i
,
l
,
e
)}}}):
t
.
_e
(),
t
.
_v
(
" "
),
!
e
.
systemFlag
&&
l
<
19
?[
l
==
e
.
list
.
length
-
1
?
a
(
"i"
,{
staticClass
:
"opt-btn el-icon-circle-plus add-item"
,
on
:{
click
:
function
(
a
){
t
.
addChildItem
(
i
,
l
,
e
)}}}):
t
.
_e
()]:
t
.
_e
()],
2
)]})],
2
),
t
.
_v
(
" "
),
a
(
"div"
,{
key
:
"child922"
+
s
,
staticClass
:
"edit-item m-b-10"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"选择框类型"
)]),
t
.
_v
(
" "
),
a
(
"div"
,[
a
(
"el-radio"
,{
attrs
:{
label
:
0
},
model
:{
value
:
e
.
chooseType
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"chooseType"
,
i
)},
expression
:
"childItem.chooseType"
}},[
t
.
_v
(
"单选"
)]),
t
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
1
},
model
:{
value
:
e
.
chooseType
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"chooseType"
,
i
)},
expression
:
"childItem.chooseType"
}},[
t
.
_v
(
"多选"
)])],
1
)])],
t
.
_v
(
" "
),
t
.
currentChildIndex
!=
s
||
e
.
systemFlag
||
10
!=
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child910"
+
s
,
staticClass
:
"edit-item m-b-10"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"大写"
)]),
t
.
_v
(
" "
),
a
(
"el-checkbox"
,{
model
:{
value
:
e
.
openCapitalize
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"openCapitalize"
,
i
)},
expression
:
"childItem.openCapitalize"
}},[
t
.
_v
(
"显示大写"
)])],
1
)],
t
.
_v
(
" "
),
t
.
currentChildIndex
==
s
?[
a
(
"div"
,{
key
:
"child11"
+
s
,
staticClass
:
"edit-item"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"验证"
)]),
t
.
_v
(
" "
),
a
(
"el-checkbox"
,{
on
:{
change
:
function
(
i
){
t
.
changeMust
(
i
,
!!
e
.
list
,
e
)}},
model
:{
value
:
e
.
isMust
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"isMust"
,
i
)},
expression
:
"childItem.isMust"
}},[
t
.
_v
(
"必填"
)])],
1
)]:
t
.
_e
(),
t
.
_v
(
" "
),
t
.
currentChildIndex
!=
s
||
"performanceKing"
!=
e
.
name
&&
"competitorInfo"
!=
e
.
name
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child111"
+
s
,
staticClass
:
"edit-item m-b-10"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"验证 是否必填"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"must-list"
},
t
.
_l
(
e
.
list
,
function
(
e
,
i
){
return
a
(
"div"
,{
key
:
"list111"
+
i
,
staticClass
:
"must-list-cell m-b-10"
},[
a
(
"el-checkbox"
,{
model
:{
value
:
e
.
isMust
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"isMust"
,
i
)},
expression
:
"listItem.isMust"
}},[
t
.
_v
(
t
.
_s
(
e
.
title
))])],
1
)}))])],
t
.
_v
(
" "
),
t
.
currentChildIndex
==
s
?[
a
(
"div"
,{
key
:
"child12"
+
s
,
staticClass
:
"edit-item "
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"记忆"
)]),
t
.
_v
(
" "
),
a
(
"el-checkbox"
,{
model
:{
value
:
e
.
memory
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"memory"
,
i
)},
expression
:
"childItem.memory"
}},[
t
.
_v
(
"是否记忆"
)])],
1
)]:
t
.
_e
()]})]:
t
.
_e
()]})],
2
)])]),
t
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"模板设置"
,
name
:
"second"
}},[
a
(
"div"
,{
staticClass
:
"template-item limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"模板名称 最多10个字"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
t
.
templateObj
.
title
,
holder
:
""
,
disflag
:
!
1
,
getByType
:
"char"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
e
){
t
.
$set
(
t
.
templateObj
,
"title"
,
e
)}}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"template-item limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"模板描述 最多20个字"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
t
.
templateObj
.
description
,
holder
:
""
,
disflag
:
!
1
,
getByType
:
"char"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
e
){
t
.
$set
(
t
.
templateObj
,
"description"
,
e
)}}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"template-item "
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"门店类型"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"store-type-list"
},
t
.
_l
(
t
.
storeList
,
function
(
e
,
i
){
return
a
(
"div"
,{
key
:
e
.
name
+
i
,
staticClass
:
"store-type-cell m-b-20"
},[
a
(
"el-radio"
,{
attrs
:{
label
:
e
.
id
,
disabled
:
e
.
disabled
},
model
:{
value
:
t
.
templateObj
.
storeType
,
callback
:
function
(
e
){
t
.
$set
(
t
.
templateObj
,
"storeType"
,
e
)},
expression
:
"templateObj.storeType"
}},[
t
.
_v
(
t
.
_s
(
e
.
name
))])],
1
)}))])])],
1
)],
1
)])]),
t
.
_v
(
" "
),
a
(
"qrcode-dialog"
,{
ref
:
"qrcodePreview"
,
model
:{
value
:
t
.
dialogVisible
,
callback
:
function
(
e
){
t
.
dialogVisible
=
e
},
expression
:
"dialogVisible"
}})],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"template-title flex-1"
},[
e
(
"img"
,{
attrs
:{
src
:
i
(
"LbEI"
),
alt
:
"logo"
}}),
this
.
_v
(
" "
),
e
(
"span"
,{
staticClass
:
"template-title-span"
},[
this
.
_v
(
"日报设置"
)])])}]};
var
M
=
i
(
"VU/8"
)(
w
,
T
,
!
1
,
function
(
t
){
i
(
"C8Hy"
)},
"data-v-10cb484c"
,
null
);
e
.
default
=
M
.
exports
},
PAYw
:
function
(
t
,
e
,
i
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
{
name
:
"block-com"
,
props
:{
childItem
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}}},
s
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"div"
,{
staticClass
:
"block block-field"
},[
i
(
"div"
,{
staticClass
:
"block-head"
},[
i
(
"div"
,{
class
:[
"opencard-item-title"
,
t
.
childItem
.
title
.
length
>=
6
?
"title-pre-wrap"
:
""
]},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
title
))])]),
t
.
_v
(
" "
),
i
(
"ul"
,{
staticClass
:
"view-content"
},
t
.
_l
(
t
.
childItem
.
list
,
function
(
e
,
a
){
return
i
(
"li"
,{
key
:
"performance"
+
a
,
staticClass
:
"block-filed-item border-bottom-1"
},[
i
(
"div"
,{
class
:[
"opencard-item-title"
,
e
.
title
.
length
>=
6
?
"title-pre-wrap"
:
""
]},[
t
.
_v
(
t
.
_s
(
e
.
title
))]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"draged-item-show"
},[
i
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag "
},[
t
.
_v
(
t
.
_s
(
e
.
placeholder
)
+
" "
+
t
.
_s
(
e
.
isMust
?
"(必填)"
:
""
))])])])})),
t
.
_v
(
" "
),
"competitorInfo"
==
t
.
childItem
.
name
?
i
(
"div"
,{
staticClass
:
"compete-add"
},[
t
.
_v
(
"
\
n +竞品信息
\
n "
)]):
t
.
_e
()])},
staticRenderFns
:[]};
var
l
=
i
(
"VU/8"
)(
a
,
s
,
!
1
,
function
(
t
){
i
(
"hh6r"
)},
"data-v-1dcd7b4c"
,
null
);
e
.
default
=
l
.
exports
},
"SvI+"
:
function
(
t
,
e
){},
Thti
:
function
(
t
,
e
){},
hh6r
:
function
(
t
,
e
){},
j20f
:
function
(
t
,
e
){},
"s4D+"
:
function
(
t
,
e
,
i
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
{
name
:
"input-com"
,
props
:{
childItem
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}},
methods
:{
getZhLen
:
function
(
t
){
for
(
var
e
=
0
,
i
=
0
;
i
<
t
.
length
;
i
++
){
null
!=
t
.
charAt
(
i
).
match
(
/
[^\x
00-
\x
ff
]
/gi
)?
e
+=
1
:
e
+=
.
5
}
return
Math
.
ceil
(
e
)}}},
s
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"div"
,{
class
:[
2
==
t
.
childItem
.
type
?
"h-66"
:
""
]},[
9
!=
t
.
childItem
.
type
?
i
(
"div"
,{
class
:[
"opencard-item-title"
,
t
.
getZhLen
(
t
.
childItem
.
title
)
>=
6
?
"title-pre-wrap"
:
""
]},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"draged-item-show"
},[
i
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag"
,
style
:{
"padding-left"
:
9
==
t
.
childItem
.
type
?
"15px"
:
"0"
}},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
placeholder
)
+
" "
+
t
.
_s
(
t
.
childItem
.
isMust
?
"(必填)"
:
""
))])]),
t
.
_v
(
" "
),
10
==
t
.
childItem
.
type
&&
t
.
childItem
.
openCapitalize
?
i
(
"div"
,{
staticClass
:
"show-capitalize font-12 color-909399 p-l-10 border-box"
},[
t
.
_v
(
"大写:壹万元整(示例)"
)]):
t
.
_e
()])},
staticRenderFns
:[]};
var
l
=
i
(
"VU/8"
)(
a
,
s
,
!
1
,
function
(
t
){
i
(
"j20f"
)},
"data-v-37f2cf5d"
,
null
);
e
.
default
=
l
.
exports
},
t0b0
:
function
(
t
,
e
,
i
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
{
name
:
"select-com"
,
props
:{
childItem
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}},
methods
:{
getZhLen
:
function
(
t
){
for
(
var
e
=
0
,
i
=
0
;
i
<
t
.
length
;
i
++
){
null
!=
t
.
charAt
(
i
).
match
(
/
[^\x
00-
\x
ff
]
/gi
)?
e
+=
1
:
e
+=
.
5
}
return
Math
.
ceil
(
e
)}}},
s
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"div"
,[
i
(
"div"
,{
class
:[
"opencard-item-title"
,
t
.
getZhLen
(
t
.
childItem
.
title
)
>=
6
?
"title-pre-wrap"
:
""
]},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
title
))]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"draged-item-show"
},[
i
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag select-flag"
},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
placeholder
)
+
" "
+
t
.
_s
(
t
.
childItem
.
isMust
?
"(必填)"
:
""
)
+
" "
),
i
(
"i"
,{
staticClass
:
"el-icon-arrow-right"
})])])])},
staticRenderFns
:[]};
var
l
=
i
(
"VU/8"
)(
a
,
s
,
!
1
,
function
(
t
){
i
(
"Thti"
)},
"data-v-bb9f953c"
,
null
);
e
.
default
=
l
.
exports
},
uaqi
:
function
(
t
,
e
){}});
\ No newline at end of file
webpackJsonp
([
5
,
36
,
56
,
58
,
60
,
72
],{
"79Bk"
:
function
(
t
,
e
,
i
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
{
name
:
"date-range-com"
,
props
:{
childItem
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}},
methods
:{
getZhLen
:
function
(
t
){
for
(
var
e
=
0
,
i
=
0
;
i
<
t
.
length
;
i
++
){
null
!=
t
.
charAt
(
i
).
match
(
/
[^\x
00-
\x
ff
]
/gi
)?
e
+=
1
:
e
+=
.
5
}
return
Math
.
ceil
(
e
)}}},
s
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"div"
,[
i
(
"div"
,[
i
(
"div"
,{
class
:[
"opencard-item-title"
,
t
.
getZhLen
(
t
.
childItem
.
startTitle
)
>=
6
?
"title-pre-wrap"
:
""
]},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
startTitle
))]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"draged-item-show"
},[
i
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag select-flag"
},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
placeholder
)
+
" "
+
t
.
_s
(
t
.
childItem
.
isMust
?
"(必填)"
:
""
)),
i
(
"i"
,{
staticClass
:
"el-icon-arrow-right"
})])])]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"b-t-1"
},[
i
(
"div"
,{
class
:[
"opencard-item-title"
,
t
.
getZhLen
(
t
.
childItem
.
endTitle
)
>=
6
?
"title-pre-wrap"
:
""
]},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
endTitle
))]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"draged-item-show"
},[
i
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag select-flag"
},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
placeholder
)
+
" "
+
t
.
_s
(
t
.
childItem
.
isMust
?
"(必填)"
:
""
)
+
" "
),
i
(
"i"
,{
staticClass
:
"el-icon-arrow-right"
})])])])])},
staticRenderFns
:[]};
var
l
=
i
(
"VU/8"
)(
a
,
s
,
!
1
,
function
(
t
){
i
(
"uaqi"
)},
"data-v-35e4159a"
,
null
);
e
.
default
=
l
.
exports
},
C8Hy
:
function
(
t
,
e
){},
H8Kg
:
function
(
t
,
e
,
i
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
{
name
:
"image-com"
,
props
:{
childItem
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}},
methods
:{
getZhLen
:
function
(
t
){
for
(
var
e
=
0
,
i
=
0
;
i
<
t
.
length
;
i
++
){
null
!=
t
.
charAt
(
i
).
match
(
/
[^\x
00-
\x
ff
]
/gi
)?
e
+=
1
:
e
+=
.
5
}
return
Math
.
ceil
(
e
)}}},
s
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"div"
,{
staticClass
:
"image-com"
},[
i
(
"div"
,{
class
:[
"opencard-item-title"
,
t
.
getZhLen
(
t
.
childItem
.
title
)
>=
6
?
"title-pre-wrap"
:
""
]},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
title
))]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"must"
},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
isMust
?
"(必填)"
:
""
))]),
t
.
_v
(
" "
),
t
.
_m
(
0
)])},
staticRenderFns
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"draged-item-show"
},[
e
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag select-flag"
},[
e
(
"i"
,{
staticClass
:
"iconfont icon-icon"
})])])}]};
var
l
=
i
(
"VU/8"
)(
a
,
s
,
!
1
,
function
(
t
){
i
(
"SvI+"
)},
"data-v-3f076bb1"
,
null
);
e
.
default
=
l
.
exports
},
IA9l
:
function
(
t
,
e
,
i
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
i
(
"//Fk"
),
s
=
i
.
n
(
a
),
l
=
i
(
"Gu7T"
),
n
=
i
.
n
(
l
),
c
=
i
(
"gBtx"
),
o
=
i
.
n
(
c
),
r
=
i
(
"mvHQ"
),
d
=
i
.
n
(
r
),
m
=
i
(
"DAYN"
),
p
=
i
.
n
(
m
),
u
=
i
(
"Isrn"
),
h
=
i
(
"l46T"
),
v
=
i
(
"H8Kg"
),
f
=
i
(
"t0b0"
),
_
=
i
(
"79Bk"
),
g
=
i
(
"s4D+"
),
y
=
i
(
"PAYw"
),
C
=
i
(
"fPyK"
),
b
=
i
(
"3E4D"
),
I
=
i
(
"Ch4/"
),
x
=
i
(
"PI0u"
),
k
=
i
(
"P9l9"
),
w
=
{
name
:
"customSetTemplate"
,
data
:
function
(){
return
{
activeName
:
"first"
,
rightName
:
"second"
,
dialogVisible
:
!
1
,
bodyHeight
:(
document
.
documentElement
.
clientHeight
||
document
.
body
.
clientHeight
)
+
"px"
,
isDragging
:
!
1
,
delayedDragging
:
!
1
,
leftOption
:{
group
:{
name
:
"people"
,
pull
:
"clone"
,
put
:
!
1
},
sort
:
!
1
,
disabled
:
!
1
},
leftDefineOption
:{
group
:{
name
:
"people"
,
pull
:
"clone"
,
put
:
!
1
},
sort
:
!
1
,
disabled
:
!
1
},
templateId
:
""
,
oparateType
:
""
,
counter
:
1
,
selectKey
:
""
,
tradeInfo
:[],
personInfo
:[],
goodsInfo
:[],
competeInfo
:[],
defineInfo
:[],
currentIndex
:
0
,
currentChildKey
:
null
,
currentChildIndex
:
null
,
childIndex
:
0
,
tempaletDataList
:[],
setList
:[],
templateObj
:{
title
:
""
,
description
:
""
,
storeType
:
""
,
momory
:[]},
storeList
:[{
id
:
"0"
,
name
:
"自营门店"
,
disabled
:
!
1
},{
id
:
"1"
,
name
:
"联营门店"
,
disabled
:
!
1
},{
id
:
"2"
,
name
:
"代理门店"
,
disabled
:
!
1
},{
id
:
"3"
,
name
:
"代销门店"
,
disabled
:
!
1
},{
id
:
"4"
,
name
:
"托管门店"
,
disabled
:
!
1
}]}},
methods
:{
getZhLen
:
function
(
t
){
for
(
var
e
=
0
,
i
=
0
;
i
<
t
.
length
;
i
++
){
null
!=
t
.
charAt
(
i
).
match
(
/
[^\x
00-
\x
ff
]
/gi
)?
e
+=
1
:
e
+=
.
5
}
return
Math
.
ceil
(
e
)},
returnBack
:
function
(){
this
.
changeRoute
(
"/customReport?brandId="
+
this
.
brandId
+
"&appIcon="
+
this
.
$route
.
query
.
appIcon
)},
cloneItem
:
function
(
t
){
var
e
=
JSON
.
parse
(
d
()(
t
));
return
e
.
cid
=
"c"
+
this
.
counter
,
e
.
systemFlag
||
(
e
.
name
.
includes
(
"textc"
)
&&
(
e
.
name
=
"textc"
+
this
.
counter
),
e
.
name
.
includes
(
"paragraphc"
)
&&
(
e
.
name
=
"paragraphc"
+
this
.
counter
),
e
.
name
.
includes
(
"numberc"
)
&&
(
e
.
name
=
"numberc"
+
this
.
counter
),
e
.
name
.
includes
(
"checkboxesOrRadioc"
)
&&
(
e
.
name
=
"checkboxesOrRadioc"
+
this
.
counter
),
e
.
name
.
includes
(
"datec"
)
&&
(
e
.
name
=
"datec"
+
this
.
counter
),
e
.
name
.
includes
(
"dateareac"
)
&&
(
e
.
name
=
"dateareac"
+
this
.
counter
),
e
.
name
.
includes
(
"picc"
)
&&
(
e
.
name
=
"picc"
+
this
.
counter
),
e
.
name
.
includes
(
"introductionc"
)
&&
(
e
.
name
=
"introductionc"
+
this
.
counter
),
e
.
name
.
includes
(
"pricec"
)
&&
(
e
.
name
=
"pricec"
+
this
.
counter
),
e
.
name
.
includes
(
"groupc"
)
&&
(
e
.
name
=
"groupc"
+
this
.
counter
,
e
.
title
=
""
+
e
.
title
+
this
.
counter
)),
e
},
onMove
:
function
(
t
){
var
e
=
t
.
draggedContext
.
element
;
return
!
this
.
tempaletDataList
.
map
(
function
(
t
){
return
t
.
name
}).
includes
(
e
.
name
)
&&!
e
.
fixed
},
onChildMove
:
function
(
t
){
var
e
=!
0
;
return
-
1
!=
t
.
dragged
.
className
.
indexOf
(
"block-class"
)
&&-
1
!=
t
.
to
.
className
.
indexOf
(
"block-wrap"
)
&&
(
e
=!
1
),
e
},
itemMoveEnd
:
function
(
t
){
var
e
=
this
;
function
i
(
t
){
e
[
t
].
forEach
(
function
(
t
,
i
){
t
.
name
==
e
.
selectKey
&&
(
t
.
fixed
=!
0
)})}
e
.
isDragging
=!
1
,
e
.
selectKey
=
""
,
e
.
selectKey
=
t
.
clone
.
dataset
.
name
,
e
.
tempaletDataList
.
forEach
(
function
(
t
,
a
){
t
.
name
==
e
.
selectKey
&&
i
(
t
.
parentCode
),
t
.
children
&&
t
.
children
.
forEach
(
function
(
t
,
a
){
t
.
name
==
e
.
selectKey
&&
i
(
t
.
parentCode
)})}),
e
.
selectKey
=
""
,
e
.
tempaletDataList
=
JSON
.
parse
(
d
()(
e
.
tempaletDataList
)),
e
.
$forceUpdate
(),
e
.
counter
=
e
.
counter
+
1
},
selectItem
:
function
(
t
,
e
){
this
.
currentIndex
=
e
,
this
.
currentChildIndex
=
null
},
deleteItem
:
function
(
t
,
e
,
i
,
a
){
var
s
=
this
;
if
(
s
.
tempaletDataList
.
splice
(
i
,
1
),
s
.
currentIndex
--
,
s
.
currentIndex
<=
0
&&
(
s
.
currentIndex
=
0
),
!
a
.
systemFlag
)
return
a
.
name
.
includes
(
"groupc"
)
&&
a
.
children
.
length
&&
a
.
children
.
forEach
(
function
(
t
){
t
.
systemFlag
&&
s
[
t
.
parentCode
].
forEach
(
function
(
e
){
e
.
name
==
t
.
name
&&
(
e
.
fixed
=!
1
)})}),
!
1
;
s
[
e
].
forEach
(
function
(
e
,
i
){
e
.
name
==
t
&&
(
e
.
fixed
=!
1
)})},
addDragItem
:
function
(
t
){
return
!
1
},
selectChildItem
:
function
(
t
,
e
,
i
,
a
){
this
.
currentIndex
=
null
,
this
.
currentChildKey
=
t
,
this
.
childIndex
=
e
,
this
.
currentChildIndex
=
i
},
deleteChildItem
:
function
(
t
,
e
,
i
,
a
,
s
){
if
(
this
.
childIndex
=
e
,
this
.
currentIndex
=
null
,
this
.
currentChildKey
=
this
.
tempaletDataList
[
e
].
children
[
i
].
name
,
this
.
currentChildIndex
--
,
this
.
currentChildIndex
<=
0
&&
(
this
.
currentChildIndex
=
0
),
this
.
tempaletDataList
=
JSON
.
parse
(
d
()(
this
.
tempaletDataList
)),
this
.
tempaletDataList
[
e
].
children
.
splice
(
i
,
1
),
!
s
.
systemFlag
)
return
!
1
;
this
[
s
.
parentCode
].
forEach
(
function
(
e
,
i
){
e
.
name
===
t
&&
(
e
.
fixed
=!
1
)})},
delChildItem
:
function
(
t
,
e
,
i
){
i
.
list
.
splice
(
e
,
1
)},
addChildItem
:
function
(
t
,
e
,
i
){
if
(
19
!=
e
){
i
.
list
.
push
({
value
:
"选项"
+
(
e
+
2
),
key
:
e
+
2
});
var
a
=
i
.
list
.
map
(
function
(
t
){
return
t
.
value
});
this
.
isRepeat
(
a
)
&&
(
i
.
list
.
splice
(
i
.
list
.
length
-
1
,
1
),
a
.
splice
(
i
.
list
.
length
-
1
,
1
),
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"选项不能重复"
}))}
else
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"最多可添加 20 项"
})},
changeMust
:
function
(
t
,
e
,
i
){
e
&&
i
.
list
.
forEach
(
function
(
e
){
e
.
isMust
=!!
t
})},
isRepeat
:
function
(
t
){
var
e
=
{};
for
(
var
i
in
t
){
if
(
e
[
t
[
i
]])
return
!
0
;
e
[
t
[
i
]]
=!
0
}
return
!
1
},
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
checkTag
:
function
(
t
){
var
e
=
{
filedFlag
:
!
0
,
filedRepeat
:
!
1
},
i
=
[];
return
t
.
forEach
(
function
(
t
){
if
(
""
==
t
.
title
)
return
e
.
filedFlag
=!
1
,
e
.
name
=
t
.
title
||
""
,
!
1
;
i
.
push
(
t
.
title
),
t
.
hasOwnProperty
(
"children"
)
&&
t
.
children
.
length
&&
t
.
children
.
forEach
(
function
(
t
){
if
(
t
.
systemFlag
&&
""
==
t
.
title
)
return
e
.
filedFlag
=!
1
,
e
.
name
=
t
.
title
||
""
,
!
1
;
i
.
push
(
t
.
title
)})}),
this
.
isRepeat
(
i
)
&&
(
e
.
filedRepeat
=!
0
),
e
},
checkTemplateObj
:
function
(){
var
t
=!
0
;
return
this
.
templateObj
.
title
&&
this
.
templateObj
.
description
&&
this
.
templateObj
.
storeType
||
(
t
=!
1
),
t
},
getUuid
:
function
(){
return
"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx"
.
replace
(
/
[
xy
]
/g
,
function
(
t
){
var
e
=
16
*
Math
.
random
()
|
0
;
return
(
"x"
==
t
?
e
:
3
&
e
|
8
).
toString
(
16
)})},
saveAndBack
:
Object
(
x
.
a
)(
function
(
t
){
if
(
!
this
.
checkTemplateObj
())
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请完善模板设置内容"
}),
!
1
;
var
e
=
JSON
.
parse
(
d
()(
this
.
tempaletDataList
)),
i
=
this
.
checkTag
(
e
);
if
(
!
i
.
filedFlag
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
i
.
name
+
"字段标题不能为空"
}),
!
1
;
if
(
i
.
filedRepeat
)
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"字段标题不能重复"
});
else
{
if
(
e
.
forEach
(
function
(
t
,
e
){
t
.
sort
=
e
,
t
.
isMust
=
t
.
isMust
?
1
:
0
,
t
.
memory
=
t
.
memory
?
1
:
0
,
t
.
hasOwnProperty
(
"openCapitalize"
)
&&
(
t
.
openCapitalize
=
t
.
openCapitalize
?
1
:
0
),
t
.
hasOwnProperty
(
"list"
)
&&
t
.
list
.
forEach
(
function
(
t
){
t
.
isMust
=
t
.
isMust
?
1
:
0
}),
t
.
hasOwnProperty
(
"children"
)
&&
(
t
.
children
.
forEach
(
function
(
t
,
e
){
t
.
sort
=
e
,
t
.
isMust
=
t
.
isMust
?
1
:
0
,
t
.
memory
=
t
.
memory
?
1
:
0
,
t
.
hasOwnProperty
(
"list"
)
&&
t
.
list
.
forEach
(
function
(
t
){
t
.
isMust
=
t
.
isMust
?
1
:
0
}),
t
.
hasOwnProperty
(
"openCapitalize"
)
&&
(
t
.
openCapitalize
=
t
.
openCapitalize
?
1
:
0
)}),
t
.
list
=
t
.
children
)}),
!
e
.
length
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请先配置字段"
}),
!
1
;
"save"
===
t
?
this
.
saveAllData
(
e
):
this
.
postPreview
(
e
)}},
500
),
saveAllData
:
function
(
t
){
var
e
=
this
,
i
=
{
status
:
1
,
brandId
:
e
.
brandId
,
templateContent
:
d
()(
t
),
title
:
e
.
templateObj
.
title
,
description
:
e
.
templateObj
.
description
,
storeType
:
e
.
templateObj
.
storeType
,
memory
:[]};
Object
(
k
.
e
)(
"/haoban-app-daily-web/daily/save-define-template"
,
i
).
then
(
function
(
t
){
var
i
=
t
.
data
;
if
(
1
==
i
.
errorCode
)
return
b
.
a
.
showmsg
(
"保存成功"
,
"success"
),
void
e
.
changeRoute
(
"/customReport?brandId="
+
e
.
brandId
+
"&appIcon="
+
e
.
$route
.
query
.
appIcon
);
I
.
a
.
errorMsg
(
i
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
postPreview
:
function
(
t
){
var
e
=
this
,
i
=
{
templateType
:
1
,
brandId
:
e
.
brandId
,
templateContent
:
d
()(
t
)};
Object
(
k
.
e
)(
"/haoban-app-daily-web/daily/preview-template"
,
i
).
then
(
function
(
t
){
var
i
=
t
.
data
;
if
(
1
==
i
.
errorCode
){
var
a
=
JSON
.
parse
(
localStorage
.
getItem
(
"userInfo"
)).
enterpriseId
,
s
=
window
.
location
.
origin
+
"/office-mobile/#/defineTemplate?enterpriseId="
+
a
+
"&templateId="
+
i
.
result
+
"&brandId="
+
e
.
brandId
;
return
e
.
$refs
.
qrcodePreview
.
qrcode
(
s
,
"daily-preview"
),
void
(
e
.
dialogVisible
=!
0
)}
I
.
a
.
errorMsg
(
i
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
closeDialog
:
function
(){
this
.
dialogVisible
=!
1
},
getHasStores
:
function
(){
var
t
=
this
;
Object
(
k
.
e
)(
"/haoban-app-daily-web/daily/has-defined-template-store-type"
,{
brandId
:
t
.
brandId
}).
then
(
function
(
e
){
var
i
=
e
.
data
;
1
!=
i
.
errorCode
?
I
.
a
.
errorMsg
(
i
):
t
.
storeList
.
forEach
(
function
(
e
){
i
.
result
&&
i
.
result
.
length
&&
i
.
result
.
includes
(
o
()(
e
.
id
))
&&
(
e
.
disabled
=!
0
),
"edit"
==
t
.
oparateType
&&
t
.
storeType
==
e
.
id
&&
(
e
.
disabled
=!
1
)})}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getAllFields
:
function
(
t
){
var
e
=
this
;
Object
(
k
.
e
)(
"/haoban-app-daily-web/daily/get-template-items"
,{
brandId
:
e
.
brandId
,
type
:
t
}).
then
(
function
(
i
){
var
a
=
i
.
data
;
if
(
1
==
a
.
errorCode
)
return
a
.
result
.
forEach
(
function
(
e
){
e
.
isMust
=!!
e
.
isMust
,
e
.
memory
=!!
e
.
memory
,
e
.
title
=
e
.
title
.
trim
(),
e
.
hasOwnProperty
(
"openCapitalize"
)
&&
(
e
.
openCapitalize
=!!
e
.
openCapitalize
),
e
.
hasOwnProperty
(
"list"
)
&&
e
.
list
&&
e
.
list
.
length
&&
e
.
list
.
forEach
(
function
(
t
){
t
.
isMust
=!!
t
.
isMust
}),
e
.
systemFlag
=
3
!=
t
,
e
.
name
.
includes
(
"groupc"
)
&&
(
e
.
children
=
[])}),
void
(
3
==
t
?
e
.
defineInfo
=
a
.
result
:
e
.
handleAllFields
(
a
.
result
));
I
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
handleAllFields
:
function
(
t
){
var
e
=
this
;
t
.
forEach
(
function
(
t
){
t
.
fixed
=!
1
,
1
==
t
.
classify
&&
(
t
.
parentCode
=
"tradeInfo"
,
e
.
tradeInfo
.
push
(
t
)),
2
==
t
.
classify
&&
(
t
.
parentCode
=
"personInfo"
,
e
.
personInfo
.
push
(
t
)),
3
==
t
.
classify
&&
(
t
.
parentCode
=
"goodsInfo"
,
e
.
goodsInfo
.
push
(
t
)),
4
==
t
.
classify
&&
(
t
.
parentCode
=
"competeInfo"
,
e
.
competeInfo
.
push
(
t
))})},
getInfo
:
function
(){
var
t
=
this
;
Object
(
k
.
e
)(
"/haoban-app-daily-web/daily/get-define-template"
,{
templateId
:
t
.
templateId
}).
then
(
function
(
e
){
var
i
=
e
.
data
;
if
(
1
==
i
.
errorCode
)
return
t
.
setList
=
[],
i
.
result
&&
(
t
.
templateObj
.
title
=
i
.
result
.
title
,
t
.
templateObj
.
description
=
i
.
result
.
description
,
t
.
storeType
=
"edit"
==
t
.
oparateType
?
String
(
i
.
result
.
storeType
):
""
,
t
.
templateObj
.
storeType
=
"edit"
==
t
.
oparateType
?
String
(
i
.
result
.
storeType
):
""
,
i
.
result
.
templateContent
&&
i
.
result
.
templateContent
.
length
&&
t
.
handleGetInfo
(
i
.
result
.
templateContent
)),
void
t
.
getHasStores
();
I
.
a
.
errorMsg
(
i
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
treeData
:
function
(
t
){
var
e
=
t
.
filter
(
function
(
e
){
var
i
=
t
.
filter
(
function
(
t
){
return
e
.
fieldCode
==
t
.
parentCode
});
return
i
.
length
>
0
&&
(
e
.
children
=
i
),
0
==
e
.
parentCode
});
return
e
.
sort
(
function
(
t
,
e
){
return
t
.
sort
-
e
.
sort
}),
e
.
forEach
(
function
(
t
,
e
){
t
.
children
.
sort
(
function
(
t
,
e
){
return
t
.
sort
-
e
.
sort
})}),
e
},
handleGetInfo
:
function
(
t
){
var
e
=
this
,
i
=
JSON
.
parse
(
d
()(
t
));
e
.
cids
=
[],
e
.
setParent
=
[],
i
.
forEach
(
function
(
t
,
i
){
t
.
title
=
t
.
title
.
trim
(),
t
.
isMust
=!!
t
.
isMust
,
t
.
memory
=!!
t
.
memory
,
t
.
name
.
includes
(
"textc"
)
||
t
.
name
.
includes
(
"paragraphc"
)
||
t
.
name
.
includes
(
"numberc"
)
||
t
.
name
.
includes
(
"checkboxesOrRadioc"
)
||
t
.
name
.
includes
(
"datec"
)
||
t
.
name
.
includes
(
"dateareac"
)
||
t
.
name
.
includes
(
"picc"
)
||
t
.
name
.
includes
(
"introductionc"
)
||
t
.
name
.
includes
(
"pricec"
)
||
t
.
name
.
includes
(
"groupc"
)?(
t
.
systemFlag
=!
1
,
t
.
parentCode
=
"defineInfo"
):(
e
.
setParent
.
push
(
t
.
name
),
t
.
systemFlag
=!
0
,
1
==
t
.
classify
&&
(
t
.
parentCode
=
"tradeInfo"
),
2
==
t
.
classify
&&
(
t
.
parentCode
=
"personInfo"
),
3
==
t
.
classify
&&
(
t
.
parentCode
=
"goodsInfo"
),
4
==
t
.
classify
&&
(
t
.
parentCode
=
"competeInfo"
)),
t
.
hasOwnProperty
(
"openCapitalize"
)
&&
(
t
.
openCapitalize
=!!
t
.
openCapitalize
),
t
.
hasOwnProperty
(
"list"
)
&&
t
.
list
&&
t
.
list
.
length
&&
(
t
.
list
.
forEach
(
function
(
i
){(
i
.
isMust
=!!
i
.
isMust
,
t
.
name
.
includes
(
"groupc"
))
&&
(
i
.
isMust
=!!
i
.
isMust
,
i
.
memory
=!!
i
.
memory
,
i
.
name
.
includes
(
"textc"
)
||
i
.
name
.
includes
(
"paragraphc"
)
||
i
.
name
.
includes
(
"numberc"
)
||
i
.
name
.
includes
(
"checkboxesOrRadioc"
)
||
i
.
name
.
includes
(
"datec"
)
||
i
.
name
.
includes
(
"dateareac"
)
||
i
.
name
.
includes
(
"picc"
)
||
i
.
name
.
includes
(
"introductionc"
)
||
i
.
name
.
includes
(
"pricec"
)
||
i
.
name
.
includes
(
"groupc"
)?
i
.
systemFlag
=!
1
:(
e
.
setParent
.
push
(
i
.
name
),
i
.
systemFlag
=!
0
,
1
==
i
.
classify
&&
(
i
.
parentCode
=
"tradeInfo"
),
2
==
i
.
classify
&&
(
i
.
parentCode
=
"personInfo"
),
3
==
i
.
classify
&&
(
i
.
parentCode
=
"goodsInfo"
),
4
==
i
.
classify
&&
(
i
.
parentCode
=
"competeInfo"
)))}),
t
.
name
.
includes
(
"groupc"
)
&&
(
t
.
children
=
t
.
list
)),
e
.
cids
.
push
(
o
()(
t
.
cid
.
match
(
/
\d
+/g
))),
t
.
hasOwnProperty
(
"children"
)
&&
t
.
children
.
forEach
(
function
(
t
){
t
.
isMust
=!!
t
.
isMust
,
t
.
memory
=!!
t
.
memory
,
e
.
cids
.
push
(
o
()(
t
.
cid
.
match
(
/
\d
+/g
)))})}),
e
.
counter
=
Math
.
max
.
apply
(
Math
,
n
()(
e
.
cids
)),
e
.
tempaletDataList
=
i
,
setTimeout
(
function
(){
e
.
setFixed
()},
500
)},
setFixed
:
function
(){
var
t
=
this
;[
"tradeInfo"
,
"personInfo"
,
"goodsInfo"
,
"competeInfo"
].
forEach
(
function
(
e
){
t
[
e
].
forEach
(
function
(
e
){
t
.
setParent
.
includes
(
e
.
name
)
&&
(
e
.
fixed
=!
0
)})})}},
watch
:{
isDragging
:
function
(
t
){
var
e
=
this
;
t
?
e
.
delayedDragging
=!
0
:
e
.
$nextTick
(
function
(){
e
.
delayedDragging
=!
1
})}},
components
:{
draggable
:
p
.
a
,
AddInput
:
u
.
a
,
limitInput
:
h
.
a
,
imageCom
:
v
.
default
,
selectCom
:
f
.
default
,
dateRangeCom
:
_
.
default
,
inputCom
:
g
.
default
,
blockCom
:
y
.
default
,
qrcodeDialog
:
C
.
a
},
mounted
:
function
(){
var
t
=
this
,
e
=
t
.
$route
.
query
;
t
.
brandId
=
t
.
$route
.
query
.
brandId
,
s
.
a
.
all
([
t
.
getAllFields
(
2
)]).
then
(
function
(
i
){
t
.
getAllFields
(
3
),
e
.
hasOwnProperty
(
"templateId"
)?(
t
.
templateId
=
e
.
templateId
,
t
.
oparateType
=
e
.
type
,
t
.
getInfo
()):
t
.
getHasStores
()}).
catch
(
function
(
t
){
console
.
log
(
t
)}),
document
.
body
.
ondrop
=
function
(
t
){
t
.
preventDefault
(),
t
.
stopPropagation
()}}},
T
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"template-wrap"
,
style
:{
height
:
t
.
bodyHeight
}},[
a
(
"div"
,{
staticClass
:
"template-contain"
},[
a
(
"div"
,{
staticClass
:
"template-head"
},[
t
.
_m
(
0
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"template-btns flex-1 flex-r"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
function
(
e
){
t
.
saveAndBack
(
"preview"
)}}},[
t
.
_v
(
"预 览"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
t
.
returnBack
}},[
t
.
_v
(
"返 回"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
e
){
t
.
saveAndBack
(
"save"
)}}},[
t
.
_v
(
"保存并启用"
)])],
1
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"template-body"
},[
a
(
"div"
,{
staticClass
:
"template-cell template-cell-l"
},[
a
(
"el-tabs"
,{
model
:{
value
:
t
.
activeName
,
callback
:
function
(
e
){
t
.
activeName
=
e
},
expression
:
"activeName"
}},[
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"系统字段"
,
name
:
"first"
}},[
a
(
"div"
,{
staticClass
:
"filed-item-title"
},[
t
.
_v
(
"交易"
)]),
t
.
_v
(
" "
),
a
(
"ul"
,[
a
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list1"
,
list
:
t
.
tradeInfo
,
options
:
t
.
leftOption
,
clone
:
t
.
cloneItem
,
move
:
t
.
onMove
},
on
:{
start
:
function
(
e
){
t
.
isDragging
=!
0
},
end
:
t
.
itemMoveEnd
}},
t
.
_l
(
t
.
tradeInfo
,
function
(
e
,
i
){
return
a
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
e
.
fixed
?
"fixed-item"
:
""
],
attrs
:{
"data-name"
:
e
.
name
,
"aria-hidden"
:
"true"
}},[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))])])}))],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"filed-item-title"
},[
t
.
_v
(
"人员"
)]),
t
.
_v
(
" "
),
a
(
"ul"
,[
a
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list2"
,
list
:
t
.
personInfo
,
options
:
t
.
leftOption
,
clone
:
t
.
cloneItem
,
move
:
t
.
onMove
},
on
:{
start
:
function
(
e
){
t
.
isDragging
=!
0
},
end
:
t
.
itemMoveEnd
}},
t
.
_l
(
t
.
personInfo
,
function
(
e
,
i
){
return
a
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
e
.
fixed
?
"fixed-item"
:
""
],
attrs
:{
"data-name"
:
e
.
name
}},[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))])])}))],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"filed-item-title"
},[
t
.
_v
(
"商品"
)]),
t
.
_v
(
" "
),
a
(
"ul"
,[
a
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list3"
,
list
:
t
.
goodsInfo
,
options
:
t
.
leftOption
,
clone
:
t
.
cloneItem
,
move
:
t
.
onMove
},
on
:{
start
:
function
(
e
){
t
.
isDragging
=!
0
},
end
:
t
.
itemMoveEnd
}},
t
.
_l
(
t
.
goodsInfo
,
function
(
e
,
i
){
return
a
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
e
.
fixed
?
"fixed-item"
:
""
],
attrs
:{
"data-name"
:
e
.
name
}},[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))])])}))],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"filed-item-title"
},[
t
.
_v
(
"竞品"
)]),
t
.
_v
(
" "
),
a
(
"ul"
,[
a
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list4"
,
list
:
t
.
competeInfo
,
options
:
t
.
leftOption
,
clone
:
t
.
cloneItem
,
move
:
t
.
onMove
},
on
:{
start
:
function
(
e
){
t
.
isDragging
=!
0
},
end
:
t
.
itemMoveEnd
}},
t
.
_l
(
t
.
competeInfo
,
function
(
e
,
i
){
return
a
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
e
.
fixed
?
"fixed-item"
:
""
],
attrs
:{
"data-name"
:
e
.
name
}},[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))])])}))],
1
)]),
t
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"自定义字段"
,
name
:
"second"
}},[
a
(
"div"
,{
staticClass
:
"filed-item-title"
}),
t
.
_v
(
" "
),
a
(
"ul"
,[
a
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list5"
,
list
:
t
.
defineInfo
,
options
:
t
.
leftDefineOption
,
clone
:
t
.
cloneItem
,
move
:
t
.
onChildMove
},
on
:{
start
:
function
(
e
){
t
.
isDragging
=!
0
},
end
:
t
.
itemMoveEnd
}},
t
.
_l
(
t
.
defineInfo
,
function
(
e
,
i
){
return
a
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
e
.
fixed
?
"fixed-item"
:
""
,
11
==
e
.
type
?
"block-class"
:
""
],
attrs
:{
"data-type"
:
e
.
fieldCode
}},[
0
==
e
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
1
==
e
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
2
==
e
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
3
==
e
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
4
==
e
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
5
==
e
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
6
==
e
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
7
==
e
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
9
==
e
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
10
==
e
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
11
==
e
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
0
==
e
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-one"
}):
t
.
_e
(),
t
.
_v
(
" "
),
1
==
e
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-two"
}):
t
.
_e
(),
t
.
_v
(
" "
),
2
==
e
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-three"
}):
t
.
_e
(),
t
.
_v
(
" "
),
3
==
e
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-four"
}):
t
.
_e
(),
t
.
_v
(
" "
),
4
==
e
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-five"
}):
t
.
_e
(),
t
.
_v
(
" "
),
5
==
e
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-six"
}):
t
.
_e
(),
t
.
_v
(
" "
),
6
==
e
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-seven"
}):
t
.
_e
(),
t
.
_v
(
" "
),
7
==
e
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-eight"
}):
t
.
_e
(),
t
.
_v
(
" "
),
9
==
e
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-ten"
}):
t
.
_e
(),
t
.
_v
(
" "
),
10
==
e
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-eleven"
}):
t
.
_e
(),
t
.
_v
(
" "
),
11
==
e
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-twelve"
}):
t
.
_e
()])}))],
1
)])],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"template-cell template-cell-m"
},[
a
(
"div"
,{
staticClass
:
"phone-view"
},[
a
(
"div"
,{
staticClass
:
"phone-show-content"
},[
a
(
"div"
,{
staticClass
:
"drag-show-content"
},[
a
(
"div"
,{
staticClass
:
"view-container"
},[
a
(
"ul"
,{
staticClass
:
"view-content"
,
attrs
:{
id
:
"showPhoneView"
}},[
0
==
t
.
tempaletDataList
.
length
?[
a
(
"img"
,{
staticClass
:
"templet-null-img"
,
attrs
:{
src
:
i
(
"Y7wY"
)}})]:
t
.
_e
(),
t
.
_v
(
" "
),
a
(
"draggable"
,{
staticClass
:
"drag-wrap"
,
attrs
:{
options
:{
group
:{
name
:
"people"
,
pull
:
!
1
,
put
:
!
0
},
sort
:
!
0
}},
model
:{
value
:
t
.
tempaletDataList
,
callback
:
function
(
e
){
t
.
tempaletDataList
=
e
},
expression
:
"tempaletDataList"
}},
t
.
_l
(
t
.
tempaletDataList
,
function
(
e
,
i
){
return
a
(
"li"
,{
key
:
"li1"
+
i
,
class
:[
"filed-item"
,
t
.
currentIndex
==
i
?
"active-item"
:
""
,
"li-block"
],
on
:{
click
:
function
(
a
){
t
.
selectItem
(
e
.
fieldCode
,
i
)}}},[
"baseInfo"
!=
e
.
fieldCode
?
a
(
"span"
,{
staticClass
:
"item-close p-item-close"
,
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
t
.
deleteItem
(
e
.
name
,
e
.
parentCode
,
i
,
e
)}}},[
a
(
"i"
,{
staticClass
:
"el-icon-close"
})]):
t
.
_e
(),
t
.
_v
(
" "
),
e
.
systemFlag
||!
e
.
name
.
includes
(
"groupc"
)?
a
(
"div"
,[
1
==
e
.
type
||
2
==
e
.
type
||
3
==
e
.
type
||
10
==
e
.
type
||
9
==
e
.
type
?
a
(
"input-com"
,{
attrs
:{
childItem
:
e
}}):
t
.
_e
(),
t
.
_v
(
" "
),
4
==
e
.
type
||
5
==
e
.
type
?
a
(
"select-com"
,{
attrs
:{
childItem
:
e
}}):
t
.
_e
(),
t
.
_v
(
" "
),
6
==
e
.
type
?
a
(
"date-range-com"
,{
attrs
:{
childItem
:
e
}}):
t
.
_e
(),
t
.
_v
(
" "
),
7
==
e
.
type
?
a
(
"image-com"
,{
attrs
:{
childItem
:
e
}}):
t
.
_e
(),
t
.
_v
(
" "
),
"11"
==
e
.
type
?
a
(
"block-com"
,{
attrs
:{
childItem
:
e
}}):
t
.
_e
()],
1
):
t
.
_e
(),
t
.
_v
(
" "
),[
e
.
name
.
includes
(
"groupc"
)?
a
(
"div"
,{
staticClass
:
"block"
},[
a
(
"div"
,{
staticClass
:
"block-head"
},[
a
(
"div"
,{
class
:[
"opencard-item-title"
,
t
.
getZhLen
(
e
.
title
)
>=
6
?
"title-pre-wrap"
:
""
]},[
t
.
_v
(
t
.
_s
(
e
.
title
))])]),
t
.
_v
(
" "
),
a
(
"ul"
,{
staticClass
:
"view-content"
},[
a
(
"draggable"
,{
class
:[
"drag-wrap"
,
"block-wrap"
,
e
.
fieldCode
],
attrs
:{
options
:{
group
:{
name
:
"people"
,
pull
:
!
1
,
put
:
!
0
},
sort
:
!
0
}},
on
:{
add
:
t
.
addDragItem
},
model
:{
value
:
e
.
children
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"children"
,
i
)},
expression
:
"item.children"
}},
t
.
_l
(
e
.
children
,
function
(
s
,
l
){
return
a
(
"li"
,{
key
:
"li"
+
l
,
class
:[
"filed-item"
,
"child-filed-item"
,
t
.
currentChildKey
==
s
.
name
&&
t
.
currentChildIndex
==
l
?
"active-item"
:
""
],
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
t
.
selectChildItem
(
s
.
name
,
i
,
l
,
e
.
children
)}}},[
a
(
"span"
,{
staticClass
:
"item-close child-item-close"
,
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
t
.
deleteChildItem
(
s
.
name
,
i
,
l
,
e
.
children
,
s
)}}},[
a
(
"i"
,{
staticClass
:
"el-icon-close"
})]),
t
.
_v
(
" "
),
4
==
s
.
type
||
5
==
s
.
type
?
a
(
"select-com"
,{
attrs
:{
childItem
:
s
}}):
t
.
_e
(),
t
.
_v
(
" "
),
6
==
s
.
type
?
a
(
"date-range-com"
,{
attrs
:{
childItem
:
s
}}):
t
.
_e
(),
t
.
_v
(
" "
),
7
==
s
.
type
?
a
(
"image-com"
,{
attrs
:{
childItem
:
s
}}):
t
.
_e
(),
t
.
_v
(
" "
),
1
==
s
.
type
||
2
==
s
.
type
||
3
==
s
.
type
||
10
==
s
.
type
||
9
==
s
.
type
?
a
(
"input-com"
,{
attrs
:{
childItem
:
s
}}):
t
.
_e
(),
t
.
_v
(
" "
),
"11"
==
s
.
type
&&
s
.
systemFlag
?
a
(
"block-com"
,{
attrs
:{
childItem
:
s
}}):
t
.
_e
()],
1
)}))],
1
)]):
t
.
_e
()]],
2
)}))],
2
)])])])])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"template-cell template-cell-r define-template-tab"
},[
a
(
"el-tabs"
,{
model
:{
value
:
t
.
rightName
,
callback
:
function
(
e
){
t
.
rightName
=
e
},
expression
:
"rightName"
}},[
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"控件设置"
,
name
:
"first"
}},[
a
(
"div"
,{
attrs
:{
id
:
"edit-box"
}},[
a
(
"div"
,{
staticClass
:
"edit-view baby-info-flag baby-info"
},[
t
.
_l
(
t
.
tempaletDataList
,
function
(
e
,
i
){
return
[
t
.
currentIndex
!=
i
||
e
.
systemFlag
||
6
==
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child"
+
i
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"标题"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
e
.
title
,
holder
:
""
,
disflag
:
e
.
systemFlag
,
getByType
:
"char"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
i
){
t
.
$set
(
e
,
"title"
,
i
)}}}),
t
.
_v
(
" "
),
7
==
e
.
type
?
a
(
"p"
,{
staticStyle
:{
"margin-top"
:
"8px"
,
"font-size"
:
"12px"
,
color
:
"rgba(255, 255, 255, 0.7)"
}},[
t
.
_v
(
"
\
n 图片最多可添加9张
\
n "
)]):
t
.
_e
()],
1
)],
t
.
_v
(
" "
),
t
.
currentIndex
!=
i
||
e
.
systemFlag
||
6
!=
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child62"
+
i
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"标题 最多10个字"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
e
.
startTitle
,
holder
:
""
,
disflag
:
e
.
systemFlag
,
getByType
:
"char"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
i
){
t
.
$set
(
e
,
"startTitle"
,
i
)}}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
key
:
"child64"
+
i
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"标题2 最多10个字"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
e
.
endTitle
,
holder
:
""
,
disflag
:
e
.
systemFlag
,
getByType
:
"char"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
i
){
t
.
$set
(
e
,
"endTitle"
,
i
)}}})],
1
)],
t
.
_v
(
" "
),
t
.
currentIndex
!=
i
||
e
.
systemFlag
||
11
==
e
.
type
||
5
==
e
.
type
||
7
==
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child1"
+
i
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"提示文字最多20个字"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
e
.
placeholder
,
holder
:
""
,
disflag
:
!
1
,
getByType
:
"char"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
i
){
t
.
$set
(
e
,
"placeholder"
,
i
)}}}),
t
.
_v
(
" "
),
2
==
e
.
type
||
9
==
e
.
type
?
a
(
"p"
,{
staticClass
:
"font-12 m-t-10"
},[
t
.
_v
(
"内容最多输入500个字"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
==
e
.
type
?
a
(
"p"
,{
staticClass
:
"font-12 m-t-10"
},[
t
.
_v
(
"内容最多输入100个字"
)]):
t
.
_e
()],
1
)],
t
.
_v
(
" "
),
t
.
currentIndex
!=
i
||
e
.
systemFlag
||
3
!=
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child11"
+
i
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"单位最多20个字"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
e
.
placeholder
,
holder
:
""
,
disflag
:
!
1
,
getByType
:
"char"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
i
){
t
.
$set
(
e
,
"placeholder"
,
i
)}}}),
t
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"font-12 m-t-10"
},[
t
.
_v
(
"内容最大限制为12位数"
)])],
1
)],
t
.
_v
(
" "
),
t
.
currentIndex
!=
i
||
e
.
systemFlag
||
"4"
!=
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child111"
+
i
,
staticClass
:
"edit-item "
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"选项 "
),
e
.
systemFlag
?
t
.
_e
():
a
(
"span"
,[
t
.
_v
(
"最多20项,每项最多10个字"
)])]),
t
.
_v
(
" "
),
t
.
_l
(
e
.
list
,
function
(
s
,
l
){
return
[
a
(
"div"
,{
key
:
"child10"
+
l
,
staticClass
:
"margin-t-15 limit-w-340"
,
style
:
0
==
l
?
"margin-top: 0"
:
""
},[
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
s
.
value
,
holder
:
""
,
disflag
:
e
.
systemFlag
,
getByType
:
"char"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
e
){
t
.
$set
(
s
,
"value"
,
e
)}}}),
t
.
_v
(
" "
),
!
e
.
systemFlag
&&
e
.
list
.
length
>
1
?
a
(
"i"
,{
staticClass
:
"opt-btn el-icon-remove del-item"
,
on
:{
click
:
function
(
a
){
t
.
delChildItem
(
i
,
l
,
e
)}}}):
t
.
_e
(),
t
.
_v
(
" "
),
!
e
.
systemFlag
&&
l
<
19
?[
l
==
e
.
list
.
length
-
1
?
a
(
"i"
,{
staticClass
:
"opt-btn el-icon-circle-plus add-item"
,
on
:{
click
:
function
(
a
){
t
.
addChildItem
(
i
,
l
,
e
)}}}):
t
.
_e
()]:
t
.
_e
()],
2
)]})],
2
),
t
.
_v
(
" "
),
a
(
"div"
,{
key
:
"parent22"
+
i
,
staticClass
:
"edit-item m-b-10"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"选择框类型"
)]),
t
.
_v
(
" "
),
a
(
"div"
,[
a
(
"el-radio"
,{
attrs
:{
label
:
0
},
model
:{
value
:
e
.
chooseType
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"chooseType"
,
i
)},
expression
:
"item.chooseType"
}},[
t
.
_v
(
"单选"
)]),
t
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
1
},
model
:{
value
:
e
.
chooseType
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"chooseType"
,
i
)},
expression
:
"item.chooseType"
}},[
t
.
_v
(
"多选"
)])],
1
)])],
t
.
_v
(
" "
),
t
.
currentIndex
!=
i
||
e
.
systemFlag
||
5
!=
e
.
type
&&
6
!=
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child117"
+
i
,
staticClass
:
"edit-item "
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"日期类型"
)]),
t
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
1
},
model
:{
value
:
e
.
dateType
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"dateType"
,
i
)},
expression
:
"item.dateType"
}},[
t
.
_v
(
"
\
n 年-月-日 时 分
\
n "
)]),
t
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
0
},
model
:{
value
:
e
.
dateType
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"dateType"
,
i
)},
expression
:
"item.dateType"
}},[
t
.
_v
(
"
\
n 年-月-日
\
n "
)])],
1
)],
t
.
_v
(
" "
),
t
.
currentIndex
!=
i
||
e
.
systemFlag
||
10
!=
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"parent210"
+
i
,
staticClass
:
"edit-item m-b-10"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"大写"
)]),
t
.
_v
(
" "
),
a
(
"el-checkbox"
,{
model
:{
value
:
e
.
openCapitalize
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"openCapitalize"
,
i
)},
expression
:
"item.openCapitalize"
}},[
t
.
_v
(
"显示大写"
)])],
1
)],
t
.
_v
(
" "
),
t
.
currentIndex
!=
i
||
e
.
name
.
includes
(
"groupc"
)?
t
.
_e
():[
a
(
"div"
,{
key
:
"parent2"
+
i
,
staticClass
:
"edit-item m-b-10"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"验证"
)]),
t
.
_v
(
" "
),
a
(
"el-checkbox"
,{
on
:{
change
:
function
(
i
){
t
.
changeMust
(
i
,
!!
e
.
list
,
e
)}},
model
:{
value
:
e
.
isMust
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"isMust"
,
i
)},
expression
:
"item.isMust"
}},[
t
.
_v
(
"必填"
)])],
1
)],
t
.
_v
(
" "
),
t
.
currentIndex
!=
i
||
"performanceKing"
!=
e
.
name
&&
"competitorInfo"
!=
e
.
name
?
t
.
_e
():[
a
(
"div"
,{
key
:
"parent21"
+
i
,
staticClass
:
"edit-item m-b-10"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"验证 是否必填"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"must-list"
},
t
.
_l
(
e
.
list
,
function
(
e
,
i
){
return
a
(
"div"
,{
key
:
"list"
+
i
,
staticClass
:
"must-list-cell m-b-10"
},[
a
(
"el-checkbox"
,{
model
:{
value
:
e
.
isMust
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"isMust"
,
i
)},
expression
:
"listItem.isMust"
}},[
t
.
_v
(
t
.
_s
(
e
.
title
))])],
1
)}))])],
t
.
_v
(
" "
),
t
.
currentIndex
!=
i
||
e
.
name
.
includes
(
"groupc"
)?
t
.
_e
():[
a
(
"div"
,{
key
:
"parent3"
+
i
,
staticClass
:
"edit-item "
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"记忆"
)]),
t
.
_v
(
" "
),
a
(
"el-checkbox"
,{
model
:{
value
:
e
.
memory
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"memory"
,
i
)},
expression
:
"item.memory"
}},[
t
.
_v
(
"是否记忆"
)])],
1
)],
t
.
_v
(
" "
),
t
.
childIndex
==
i
&&
e
.
children
&&
e
.
children
.
length
?[
t
.
_l
(
e
.
children
,
function
(
e
,
s
){
return
[
t
.
currentChildIndex
!=
s
||
e
.
systemFlag
||
6
==
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child"
+
s
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"标题"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
e
.
title
,
holder
:
""
,
disflag
:
e
.
systemFlag
,
getByType
:
"word"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
i
){
t
.
$set
(
e
,
"title"
,
i
)}}}),
t
.
_v
(
" "
),
7
==
e
.
type
?
a
(
"p"
,{
staticStyle
:{
"margin-top"
:
"8px"
,
"font-size"
:
"12px"
,
color
:
"rgba(255, 255, 255, 0.7)"
}},[
t
.
_v
(
"
\
n 图片最多可添加9张
\
n "
)]):
t
.
_e
()],
1
)],
t
.
_v
(
" "
),
t
.
currentChildIndex
!=
s
||
e
.
systemFlag
||
6
!=
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child2"
+
s
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"标题 最多10个字"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
e
.
startTitle
,
holder
:
""
,
disflag
:
e
.
systemFlag
,
getByType
:
"char"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
i
){
t
.
$set
(
e
,
"startTitle"
,
i
)}}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
key
:
"child4"
+
s
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"标题2 最多10个字"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
e
.
endTitle
,
holder
:
""
,
disflag
:
e
.
systemFlag
,
getByType
:
"char"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
i
){
t
.
$set
(
e
,
"endTitle"
,
i
)}}})],
1
)],
t
.
_v
(
" "
),
t
.
currentChildIndex
!=
s
||
e
.
systemFlag
||
5
==
e
.
type
||
7
==
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child1"
+
s
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"提示文字最多20个字"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
e
.
placeholder
,
holder
:
""
,
disflag
:
!
1
,
getByType
:
"word"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
i
){
t
.
$set
(
e
,
"placeholder"
,
i
)}}}),
t
.
_v
(
" "
),
2
==
e
.
type
||
9
==
e
.
type
?
a
(
"p"
,{
staticClass
:
"font-12 m-t-10"
},[
t
.
_v
(
"内容最多输入500个字"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
==
e
.
type
?
a
(
"p"
,{
staticClass
:
"font-12 m-t-10"
},[
t
.
_v
(
"内容最多输入100个字"
)]):
t
.
_e
()],
1
)],
t
.
_v
(
" "
),
t
.
currentChildIndex
!=
s
||
e
.
systemFlag
||
3
!=
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child6"
+
s
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"单位最多20个字"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
e
.
unit
,
holder
:
""
,
disflag
:
!
1
,
getByType
:
"word"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
i
){
t
.
$set
(
e
,
"unit"
,
i
)}}}),
t
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"font-12 m-t-10"
},[
t
.
_v
(
"内容最大限制为12位数"
)])],
1
)],
t
.
_v
(
" "
),
t
.
currentChildIndex
!=
s
||
e
.
systemFlag
||
5
!=
e
.
type
&&
6
!=
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child7"
+
s
,
staticClass
:
"edit-item "
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"日期类型"
)]),
t
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
1
},
model
:{
value
:
e
.
dateType
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"dateType"
,
i
)},
expression
:
"childItem.dateType"
}},[
t
.
_v
(
"
\
n 年-月-日 时 分
\
n "
)]),
t
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
0
},
model
:{
value
:
e
.
dateType
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"dateType"
,
i
)},
expression
:
"childItem.dateType"
}},[
t
.
_v
(
"
\
n 年-月-日
\
n "
)])],
1
)],
t
.
_v
(
" "
),
t
.
currentChildIndex
!=
s
||
e
.
systemFlag
||
"4"
!=
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child9"
+
s
,
staticClass
:
"edit-item "
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"选项 "
),
e
.
systemFlag
?
t
.
_e
():
a
(
"span"
,[
t
.
_v
(
"最多20项,每项最多10个字"
)])]),
t
.
_v
(
" "
),
t
.
_l
(
e
.
list
,
function
(
s
,
l
){
return
[
a
(
"div"
,{
key
:
"child10"
+
l
,
staticClass
:
"margin-t-15 limit-w-340"
,
style
:
0
==
l
?
"margin-top: 0"
:
""
},[
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
s
.
value
,
holder
:
""
,
disflag
:
e
.
systemFlag
,
getByType
:
"char"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
e
){
t
.
$set
(
s
,
"value"
,
e
)}}}),
t
.
_v
(
" "
),
!
e
.
systemFlag
&&
e
.
list
.
length
>
1
?
a
(
"i"
,{
staticClass
:
"opt-btn el-icon-remove del-item"
,
on
:{
click
:
function
(
a
){
t
.
delChildItem
(
i
,
l
,
e
)}}}):
t
.
_e
(),
t
.
_v
(
" "
),
!
e
.
systemFlag
&&
l
<
19
?[
l
==
e
.
list
.
length
-
1
?
a
(
"i"
,{
staticClass
:
"opt-btn el-icon-circle-plus add-item"
,
on
:{
click
:
function
(
a
){
t
.
addChildItem
(
i
,
l
,
e
)}}}):
t
.
_e
()]:
t
.
_e
()],
2
)]})],
2
),
t
.
_v
(
" "
),
a
(
"div"
,{
key
:
"child922"
+
s
,
staticClass
:
"edit-item m-b-10"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"选择框类型"
)]),
t
.
_v
(
" "
),
a
(
"div"
,[
a
(
"el-radio"
,{
attrs
:{
label
:
0
},
model
:{
value
:
e
.
chooseType
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"chooseType"
,
i
)},
expression
:
"childItem.chooseType"
}},[
t
.
_v
(
"单选"
)]),
t
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
1
},
model
:{
value
:
e
.
chooseType
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"chooseType"
,
i
)},
expression
:
"childItem.chooseType"
}},[
t
.
_v
(
"多选"
)])],
1
)])],
t
.
_v
(
" "
),
t
.
currentChildIndex
!=
s
||
e
.
systemFlag
||
10
!=
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child910"
+
s
,
staticClass
:
"edit-item m-b-10"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"大写"
)]),
t
.
_v
(
" "
),
a
(
"el-checkbox"
,{
model
:{
value
:
e
.
openCapitalize
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"openCapitalize"
,
i
)},
expression
:
"childItem.openCapitalize"
}},[
t
.
_v
(
"显示大写"
)])],
1
)],
t
.
_v
(
" "
),
t
.
currentChildIndex
==
s
?[
a
(
"div"
,{
key
:
"child11"
+
s
,
staticClass
:
"edit-item"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"验证"
)]),
t
.
_v
(
" "
),
a
(
"el-checkbox"
,{
on
:{
change
:
function
(
i
){
t
.
changeMust
(
i
,
!!
e
.
list
,
e
)}},
model
:{
value
:
e
.
isMust
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"isMust"
,
i
)},
expression
:
"childItem.isMust"
}},[
t
.
_v
(
"必填"
)])],
1
)]:
t
.
_e
(),
t
.
_v
(
" "
),
t
.
currentChildIndex
!=
s
||
"performanceKing"
!=
e
.
name
&&
"competitorInfo"
!=
e
.
name
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child111"
+
s
,
staticClass
:
"edit-item m-b-10"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"验证 是否必填"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"must-list"
},
t
.
_l
(
e
.
list
,
function
(
e
,
i
){
return
a
(
"div"
,{
key
:
"list111"
+
i
,
staticClass
:
"must-list-cell m-b-10"
},[
a
(
"el-checkbox"
,{
model
:{
value
:
e
.
isMust
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"isMust"
,
i
)},
expression
:
"listItem.isMust"
}},[
t
.
_v
(
t
.
_s
(
e
.
title
))])],
1
)}))])],
t
.
_v
(
" "
),
t
.
currentChildIndex
==
s
?[
a
(
"div"
,{
key
:
"child12"
+
s
,
staticClass
:
"edit-item "
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"记忆"
)]),
t
.
_v
(
" "
),
a
(
"el-checkbox"
,{
model
:{
value
:
e
.
memory
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"memory"
,
i
)},
expression
:
"childItem.memory"
}},[
t
.
_v
(
"是否记忆"
)])],
1
)]:
t
.
_e
()]})]:
t
.
_e
()]})],
2
)])]),
t
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"模板设置"
,
name
:
"second"
}},[
a
(
"div"
,{
staticClass
:
"template-item limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"模板名称 最多10个字"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
t
.
templateObj
.
title
,
holder
:
""
,
disflag
:
!
1
,
getByType
:
"char"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
e
){
t
.
$set
(
t
.
templateObj
,
"title"
,
e
)}}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"template-item limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"模板描述 最多20个字"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
t
.
templateObj
.
description
,
holder
:
""
,
disflag
:
!
1
,
getByType
:
"char"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
e
){
t
.
$set
(
t
.
templateObj
,
"description"
,
e
)}}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"template-item "
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"门店类型"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"store-type-list"
},
t
.
_l
(
t
.
storeList
,
function
(
e
,
i
){
return
a
(
"div"
,{
key
:
e
.
name
+
i
,
staticClass
:
"store-type-cell m-b-20"
},[
a
(
"el-radio"
,{
attrs
:{
label
:
e
.
id
,
disabled
:
e
.
disabled
},
model
:{
value
:
t
.
templateObj
.
storeType
,
callback
:
function
(
e
){
t
.
$set
(
t
.
templateObj
,
"storeType"
,
e
)},
expression
:
"templateObj.storeType"
}},[
t
.
_v
(
t
.
_s
(
e
.
name
))])],
1
)}))])])],
1
)],
1
)])]),
t
.
_v
(
" "
),
a
(
"qrcode-dialog"
,{
ref
:
"qrcodePreview"
,
model
:{
value
:
t
.
dialogVisible
,
callback
:
function
(
e
){
t
.
dialogVisible
=
e
},
expression
:
"dialogVisible"
}})],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"template-title flex-1"
},[
e
(
"img"
,{
attrs
:{
src
:
i
(
"LbEI"
),
alt
:
"logo"
}}),
this
.
_v
(
" "
),
e
(
"span"
,{
staticClass
:
"template-title-span"
},[
this
.
_v
(
"日报设置"
)])])}]};
var
M
=
i
(
"VU/8"
)(
w
,
T
,
!
1
,
function
(
t
){
i
(
"C8Hy"
)},
"data-v-10cb484c"
,
null
);
e
.
default
=
M
.
exports
},
PAYw
:
function
(
t
,
e
,
i
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
{
name
:
"block-com"
,
props
:{
childItem
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}}},
s
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"div"
,{
staticClass
:
"block block-field"
},[
i
(
"div"
,{
staticClass
:
"block-head"
},[
i
(
"div"
,{
class
:[
"opencard-item-title"
,
t
.
childItem
.
title
.
length
>=
6
?
"title-pre-wrap"
:
""
]},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
title
))])]),
t
.
_v
(
" "
),
i
(
"ul"
,{
staticClass
:
"view-content"
},
t
.
_l
(
t
.
childItem
.
list
,
function
(
e
,
a
){
return
i
(
"li"
,{
key
:
"performance"
+
a
,
staticClass
:
"block-filed-item border-bottom-1"
},[
i
(
"div"
,{
class
:[
"opencard-item-title"
,
e
.
title
.
length
>=
6
?
"title-pre-wrap"
:
""
]},[
t
.
_v
(
t
.
_s
(
e
.
title
))]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"draged-item-show"
},[
i
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag "
},[
t
.
_v
(
t
.
_s
(
e
.
placeholder
)
+
" "
+
t
.
_s
(
e
.
isMust
?
"(必填)"
:
""
))])])])})),
t
.
_v
(
" "
),
"competitorInfo"
==
t
.
childItem
.
name
?
i
(
"div"
,{
staticClass
:
"compete-add"
},[
t
.
_v
(
"
\
n +竞品信息
\
n "
)]):
t
.
_e
()])},
staticRenderFns
:[]};
var
l
=
i
(
"VU/8"
)(
a
,
s
,
!
1
,
function
(
t
){
i
(
"hh6r"
)},
"data-v-1dcd7b4c"
,
null
);
e
.
default
=
l
.
exports
},
"SvI+"
:
function
(
t
,
e
){},
Thti
:
function
(
t
,
e
){},
hh6r
:
function
(
t
,
e
){},
j20f
:
function
(
t
,
e
){},
"s4D+"
:
function
(
t
,
e
,
i
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
{
name
:
"input-com"
,
props
:{
childItem
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}},
methods
:{
getZhLen
:
function
(
t
){
for
(
var
e
=
0
,
i
=
0
;
i
<
t
.
length
;
i
++
){
null
!=
t
.
charAt
(
i
).
match
(
/
[^\x
00-
\x
ff
]
/gi
)?
e
+=
1
:
e
+=
.
5
}
return
Math
.
ceil
(
e
)}}},
s
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"div"
,{
class
:[
2
==
t
.
childItem
.
type
?
"h-66"
:
""
]},[
9
!=
t
.
childItem
.
type
?
i
(
"div"
,{
class
:[
"opencard-item-title"
,
t
.
getZhLen
(
t
.
childItem
.
title
)
>=
6
?
"title-pre-wrap"
:
""
]},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"draged-item-show"
},[
i
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag"
,
style
:{
"padding-left"
:
9
==
t
.
childItem
.
type
?
"15px"
:
"0"
}},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
placeholder
)
+
" "
+
t
.
_s
(
t
.
childItem
.
isMust
?
"(必填)"
:
""
))])]),
t
.
_v
(
" "
),
10
==
t
.
childItem
.
type
&&
t
.
childItem
.
openCapitalize
?
i
(
"div"
,{
staticClass
:
"show-capitalize font-12 color-909399 p-l-10 border-box"
},[
t
.
_v
(
"大写:壹万元整(示例)"
)]):
t
.
_e
()])},
staticRenderFns
:[]};
var
l
=
i
(
"VU/8"
)(
a
,
s
,
!
1
,
function
(
t
){
i
(
"j20f"
)},
"data-v-37f2cf5d"
,
null
);
e
.
default
=
l
.
exports
},
t0b0
:
function
(
t
,
e
,
i
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
{
name
:
"select-com"
,
props
:{
childItem
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}},
methods
:{
getZhLen
:
function
(
t
){
for
(
var
e
=
0
,
i
=
0
;
i
<
t
.
length
;
i
++
){
null
!=
t
.
charAt
(
i
).
match
(
/
[^\x
00-
\x
ff
]
/gi
)?
e
+=
1
:
e
+=
.
5
}
return
Math
.
ceil
(
e
)}}},
s
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"div"
,[
i
(
"div"
,{
class
:[
"opencard-item-title"
,
t
.
getZhLen
(
t
.
childItem
.
title
)
>=
6
?
"title-pre-wrap"
:
""
]},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
title
))]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"draged-item-show"
},[
i
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag select-flag"
},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
placeholder
)
+
" "
+
t
.
_s
(
t
.
childItem
.
isMust
?
"(必填)"
:
""
)
+
" "
),
i
(
"i"
,{
staticClass
:
"el-icon-arrow-right"
})])])])},
staticRenderFns
:[]};
var
l
=
i
(
"VU/8"
)(
a
,
s
,
!
1
,
function
(
t
){
i
(
"Thti"
)},
"data-v-bb9f953c"
,
null
);
e
.
default
=
l
.
exports
},
uaqi
:
function
(
t
,
e
){}});
\ No newline at end of file
dist/static/js/5
2.df5a79b4bcadd0cdc55d
.js
→
dist/static/js/5
0.331006123edd2049b7d9
.js
View file @
35fc15c1
webpackJsonp
([
52
],{
da9f
:
function
(
t
,
e
,
n
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
{
name
:
"enterprise"
,
data
:
function
(){
return
{
projectName
:
"haoban-manage-web"
,
collapseFlag
:
!
1
,
contentHeight
:
window
.
screen
.
availHeight
-
5
+
"px"
}},
computed
:{},
methods
:{
toRouterView
:
function
(
t
){
this
.
$router
.
push
({
path
:
t
.
path
})},
collapseTag
:
function
(
t
){
this
.
collapseFlag
=
t
}},
mounted
:
function
(){
this
.
contentHeight
=
(
document
.
documentElement
.
clientHeight
||
document
.
body
.
clientHeight
)
-
64
+
"px"
}},
i
=
{
render
:
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"enterprise-wrap"
},[
e
(
"vue-office-header"
,{
attrs
:{
projectName
:
this
.
projectName
},
on
:{
collapseTag
:
this
.
collapseTag
,
toRouterView
:
this
.
toRouterView
}}),
this
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"enterprise-wrap__body"
},[
e
(
"div"
,{
staticClass
:
"content"
,
attrs
:{
id
:
"content"
}},[
e
(
"div"
,{
staticClass
:
"content-body"
,
style
:{
height
:
this
.
contentHeight
}},[
e
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
e
(
"router-view"
)],
1
)],
1
)])])],
1
)},
staticRenderFns
:[]};
var
o
=
n
(
"VU/8"
)(
a
,
i
,
!
1
,
function
(
t
){
n
(
"lxEU"
)},
"data-v-5a283aba"
,
null
);
e
.
default
=
o
.
exports
},
lxEU
:
function
(
t
,
e
){}});
\ No newline at end of file
webpackJsonp
([
50
],{
da9f
:
function
(
t
,
e
,
n
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
{
name
:
"enterprise"
,
data
:
function
(){
return
{
projectName
:
"haoban-manage-web"
,
collapseFlag
:
!
1
,
contentHeight
:
window
.
screen
.
availHeight
-
5
+
"px"
}},
computed
:{},
methods
:{
toRouterView
:
function
(
t
){
this
.
$router
.
push
({
path
:
t
.
path
})},
collapseTag
:
function
(
t
){
this
.
collapseFlag
=
t
}},
mounted
:
function
(){
this
.
contentHeight
=
(
document
.
documentElement
.
clientHeight
||
document
.
body
.
clientHeight
)
-
64
+
"px"
}},
i
=
{
render
:
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"enterprise-wrap"
},[
e
(
"vue-office-header"
,{
attrs
:{
projectName
:
this
.
projectName
},
on
:{
collapseTag
:
this
.
collapseTag
,
toRouterView
:
this
.
toRouterView
}}),
this
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"enterprise-wrap__body"
},[
e
(
"div"
,{
staticClass
:
"content"
,
attrs
:{
id
:
"content"
}},[
e
(
"div"
,{
staticClass
:
"content-body"
,
style
:{
height
:
this
.
contentHeight
}},[
e
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
e
(
"router-view"
)],
1
)],
1
)])])],
1
)},
staticRenderFns
:[]};
var
o
=
n
(
"VU/8"
)(
a
,
i
,
!
1
,
function
(
t
){
n
(
"lxEU"
)},
"data-v-5a283aba"
,
null
);
e
.
default
=
o
.
exports
},
lxEU
:
function
(
t
,
e
){}});
\ No newline at end of file
dist/static/js/5
3.da30134b8aa4c56f0f7e
.js
→
dist/static/js/5
1.244dc6f576a64b7c174b
.js
View file @
35fc15c1
webpackJsonp
([
53
],{
VqB7
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
o
=
a
(
"3Xzz"
),
n
=
a
(
"3E4D"
),
i
=
a
(
"Ch4/"
),
r
=
a
(
"P9l9"
),
l
=
{
name
:
"setChildAdmin"
,
data
:
function
(){
return
{
windowH
:
window
.
screen
.
availHeight
-
180
-
15
+
"px"
,
tableH
:
window
.
screen
.
availHeight
-
440
-
180
,
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"设置"
,
path
:
"/companyAddress"
},{
name
:
"设置子管理员"
,
path
:
""
}],
boxHeight
:
window
.
screen
.
availHeight
-
20
+
"px"
,
isAddAdmin
:
""
,
activeId
:
""
,
activeBrandId
:
""
,
roleListData
:[],
roleRightObj
:{
roleName
:
"超级管理员"
,
tip
:
"企业的创建者,拥有企业的所有权限,只会有一个"
,
roleCode
:
""
,
isEdit
:
0
},
tableData
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
}},
computed
:{},
methods
:{
changeRoute
:
function
(
e
){
this
.
$router
.
push
(
e
)},
toRoleDetail
:
function
(
e
){
this
.
changeRoute
(
"/addAdminRole?roleId="
+
this
.
activeId
+
"&type="
+
e
+
"&brandId="
+
this
.
activeBrandId
)},
toDelRole
:
function
(){
var
e
=
this
;
e
.
$confirm
(
"此操作将永久删除该文件, 是否继续?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
e
.
postToDelRole
()}).
catch
(
function
(){})},
postToDelRole
:
function
(){
var
e
=
this
,
t
=
{
roleId
:
e
.
activeId
,
brandId
:
e
.
activeBrandId
};
Object
(
r
.
e
)(
"/haoban-manage-web/del-role"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
n
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
e
.
getRoles
();
i
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
selectRole
:
function
(
e
,
t
){
this
.
activeId
=
e
.
roleId
,
this
.
activeBrandId
=
t
,
this
.
roleRightObj
=
e
,
this
.
getRoleUsers
()},
toAddRole
:
function
(
e
){
this
.
changeRoute
(
"/addAdmin?roleId="
+
this
.
activeId
+
"&roleCode="
+
e
+
"&brandId="
+
this
.
activeBrandId
)},
handleDel
:
function
(
e
,
t
){
var
a
=
this
;
a
.
$alert
(
"确定要删除?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
}).
then
(
function
(
o
){
o
.
value
;
a
.
postDelUser
(
t
.
userId
,
e
)}).
catch
(
function
(){})},
postDelUser
:
function
(
e
,
t
){
var
a
=
this
,
o
=
{
roleId
:
a
.
activeId
,
userId
:
e
,
brandId
:
a
.
activeBrandId
};
Object
(
r
.
e
)(
"/haoban-manage-web/del-role-user"
,
o
).
then
(
function
(
e
){
var
o
=
e
.
data
;
if
(
1
==
o
.
errorCode
)
return
n
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
a
.
tableData
.
splice
(
t
,
1
);
i
.
a
.
errorMsg
(
o
)}).
catch
(
function
(
e
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handleShow
:
function
(
e
,
t
,
a
){
this
.
changeRoute
(
"/addAdmin?roleId="
+
this
.
activeId
+
"&roleCode="
+
a
+
"&userId="
+
t
.
userId
+
"&brandId="
+
this
.
activeBrandId
)},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getRoleUsers
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getRoleUsers
()},
getRoleUsers
:
function
(){
var
e
=
this
,
t
=
{
roleId
:
e
.
activeId
,
brandId
:
e
.
activeBrandId
,
pageSize
:
e
.
pageSize
,
pageNum
:
e
.
currentPage
};
Object
(
r
.
e
)(
"/haoban-manage-web/role-user-list"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
a
.
result
&&
a
.
result
.
result
?(
e
.
tableData
=
a
.
result
.
result
,
void
(
e
.
total
=
a
.
result
.
totalCount
)):(
e
.
tableData
=
[],
!
1
);
i
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getRoles
:
function
(){
var
e
=
this
;
Object
(
r
.
e
)(
"/haoban-manage-web/role-list"
,{}).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
isAddAdmin
=
a
.
result
.
isAddAdmin
,
e
.
roleListData
=
a
.
result
.
roleList
||
[],
void
(
a
.
result
&&
a
.
result
.
roleList
.
length
&&
(
e
.
activeId
=
e
.
roleListData
[
0
].
roleList
[
0
].
roleId
,
e
.
activeBrandId
=
e
.
roleListData
[
0
].
brandId
,
e
.
roleRightObj
=
e
.
roleListData
[
0
].
roleList
[
0
],
e
.
getRoleUsers
()));
i
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
mounted
:
function
(){
this
.
boxHeight
=
window
.
screen
.
availHeight
-
430
+
"px"
,
this
.
getRoles
()},
components
:{
navCrumb
:
o
.
a
}},
s
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"setChildAdmin-wrap common-set-wrap"
,
style
:{
height
:
e
.
windowH
}},[
a
(
"nav-crumb"
,{
attrs
:{
navpath
:
e
.
navpath
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"div"
,{
staticClass
:
"right-box"
},[
a
(
"div"
,{
staticClass
:
"setChildAdmin-wrap-body flex"
},[
a
(
"div"
,{
staticClass
:
"setChildAdmin-wrap-left w-260"
,
style
:{
height
:
e
.
boxHeight
}},
e
.
_l
(
e
.
roleListData
,
function
(
t
,
o
){
return
a
(
"div"
,{
key
:
o
,
staticClass
:
"m-t-20"
},[
a
(
"div"
,{
staticClass
:
"role-cell-head flex"
},[
a
(
"div"
,{
staticClass
:
"flex-1 max-half role-cell-head_name"
},[
e
.
_v
(
e
.
_s
(
t
.
brandName
))]),
e
.
_v
(
" "
),
t
.
canAddRole
?
a
(
"div"
,{
staticClass
:
"text-right flex-1 "
},[
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
},
on
:{
click
:
function
(
a
){
e
.
changeRoute
(
"/addAdminRole?brandId="
+
t
.
brandId
)}}},[
e
.
_v
(
"新增角色"
)])],
1
):
e
.
_e
()]),
e
.
_v
(
" "
),
a
(
"ul"
,
e
.
_l
(
t
.
roleList
,
function
(
o
,
n
){
return
a
(
"li"
,{
key
:
n
,
class
:[
"role-cell border-bottom-1"
,
t
.
brandId
==
e
.
activeBrandId
&&
o
.
roleId
==
e
.
activeId
?
"role-active"
:
""
],
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
e
.
selectRole
(
o
,
t
.
brandId
)}}},[
a
(
"i"
,{
staticClass
:
"iconfont icon-lizhi p-r-6"
}),
e
.
_v
(
"
\
n "
+
e
.
_s
(
o
.
roleName
)
+
"
\
n "
)])}))])})),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"setChildAdmin-wrap-right box-sizing"
},[
a
(
"div"
,{
staticClass
:
"role-title flex flex-between m-b-25"
},[
a
(
"span"
,{
staticClass
:
"font-20 color-303133"
},[
e
.
_v
(
" "
+
e
.
_s
(
e
.
roleRightObj
.
roleName
)
+
" "
)]),
"child_admin"
!=
e
.
roleRightObj
.
roleCode
?
a
(
"span"
,{
staticClass
:
"font-14 color-1890ff pinter"
,
on
:{
click
:
function
(
t
){
e
.
toRoleDetail
(
"show"
)}}},[
e
.
_v
(
" 查看权限 "
)]):
e
.
_e
(),
"child_admin"
==
e
.
roleRightObj
.
roleCode
?
a
(
"span"
,[
e
.
tableData
.
length
?
e
.
_e
():
a
(
"span"
,{
staticClass
:
"font-14 color-1890ff pinter p-r-6"
,
on
:{
click
:
e
.
toDelRole
}},[
e
.
_v
(
" 删除角色 "
)]),
a
(
"span"
,{
staticClass
:
"font-14 color-1890ff pinter"
,
on
:{
click
:
function
(
t
){
e
.
toRoleDetail
(
"edit"
)}}},[
e
.
_v
(
"
\
n 编辑权限
\
n "
)])]):
e
.
_e
()]),
e
.
_v
(
" "
),
"master_admin"
===
e
.
roleRightObj
.
roleCode
||
"admin"
===
e
.
roleRightObj
.
roleCode
?
a
(
"div"
,{
staticClass
:
"role-tip "
},[
a
(
"el-alert"
,{
attrs
:{
title
:
"master_admin"
===
e
.
roleRightObj
.
roleCode
?
"企业的创建者,拥有企业的所有权限,只会有一个"
:
"admin"
===
e
.
roleRightObj
.
roleCode
?
"企业管理员,拥有企业的所有权限,不能创建企业管理员,可以有多个"
:
""
,
type
:
"info"
,
closable
:
!
1
,
"show-icon"
:
""
}})],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
roleRightObj
.
isEdit
?
a
(
"div"
,{
staticClass
:
"role-add m-t-27"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
toAddRole
(
e
.
roleRightObj
.
roleCode
)}}},[
e
.
_v
(
"添加成员"
)])],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
a
(
"div"
,{
class
:[
"role-table"
,
e
.
roleRightObj
.
isEdit
?
""
:
"m-t-27"
]},[
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"clerkName"
,
label
:
"姓名"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"手机号"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
"86"
==
t
.
row
.
nationcode
?
t
.
row
.
clerkPhone
:
"+"
+
t
.
row
.
nationcode
+
"-"
+
t
.
row
.
clerkPhone
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"groupName"
,
label
:
"部门"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
1
==
t
.
row
.
canEdit
?[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
e
.
handleShow
(
t
.
$index
,
t
.
row
,
e
.
roleRightObj
.
roleCode
)}}},[
e
.
_v
(
"编辑"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
e
.
handleDel
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"删除"
)])]:
void
0
}}])})],
1
),
e
.
_v
(
" "
),
0
!=
e
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
e
.
currentPage
,
"page-sizes"
:[
10
,
20
,
30
,
40
],
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()],
1
)])])])]),
e
.
_v
(
" "
),
a
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
d
=
a
(
"VU/8"
)(
l
,
s
,
!
1
,
function
(
e
){
a
(
"nVXX"
)},
"data-v-58f8a925"
,
null
);
t
.
default
=
d
.
exports
},
nVXX
:
function
(
e
,
t
){}});
\ No newline at end of file
webpackJsonp
([
51
],{
VqB7
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
o
=
a
(
"3Xzz"
),
n
=
a
(
"3E4D"
),
i
=
a
(
"Ch4/"
),
r
=
a
(
"P9l9"
),
l
=
{
name
:
"setChildAdmin"
,
data
:
function
(){
return
{
windowH
:
window
.
screen
.
availHeight
-
180
-
15
+
"px"
,
tableH
:
window
.
screen
.
availHeight
-
440
-
180
,
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"设置"
,
path
:
"/companyAddress"
},{
name
:
"设置子管理员"
,
path
:
""
}],
boxHeight
:
window
.
screen
.
availHeight
-
20
+
"px"
,
isAddAdmin
:
""
,
activeId
:
""
,
activeBrandId
:
""
,
roleListData
:[],
roleRightObj
:{
roleName
:
"超级管理员"
,
tip
:
"企业的创建者,拥有企业的所有权限,只会有一个"
,
roleCode
:
""
,
isEdit
:
0
},
tableData
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
}},
computed
:{},
methods
:{
changeRoute
:
function
(
e
){
this
.
$router
.
push
(
e
)},
toRoleDetail
:
function
(
e
){
this
.
changeRoute
(
"/addAdminRole?roleId="
+
this
.
activeId
+
"&type="
+
e
+
"&brandId="
+
this
.
activeBrandId
)},
toDelRole
:
function
(){
var
e
=
this
;
e
.
$confirm
(
"此操作将永久删除该文件, 是否继续?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
e
.
postToDelRole
()}).
catch
(
function
(){})},
postToDelRole
:
function
(){
var
e
=
this
,
t
=
{
roleId
:
e
.
activeId
,
brandId
:
e
.
activeBrandId
};
Object
(
r
.
e
)(
"/haoban-manage-web/del-role"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
n
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
e
.
getRoles
();
i
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
selectRole
:
function
(
e
,
t
){
this
.
activeId
=
e
.
roleId
,
this
.
activeBrandId
=
t
,
this
.
roleRightObj
=
e
,
this
.
getRoleUsers
()},
toAddRole
:
function
(
e
){
this
.
changeRoute
(
"/addAdmin?roleId="
+
this
.
activeId
+
"&roleCode="
+
e
+
"&brandId="
+
this
.
activeBrandId
)},
handleDel
:
function
(
e
,
t
){
var
a
=
this
;
a
.
$alert
(
"确定要删除?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
}).
then
(
function
(
o
){
o
.
value
;
a
.
postDelUser
(
t
.
userId
,
e
)}).
catch
(
function
(){})},
postDelUser
:
function
(
e
,
t
){
var
a
=
this
,
o
=
{
roleId
:
a
.
activeId
,
userId
:
e
,
brandId
:
a
.
activeBrandId
};
Object
(
r
.
e
)(
"/haoban-manage-web/del-role-user"
,
o
).
then
(
function
(
e
){
var
o
=
e
.
data
;
if
(
1
==
o
.
errorCode
)
return
n
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
a
.
tableData
.
splice
(
t
,
1
);
i
.
a
.
errorMsg
(
o
)}).
catch
(
function
(
e
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handleShow
:
function
(
e
,
t
,
a
){
this
.
changeRoute
(
"/addAdmin?roleId="
+
this
.
activeId
+
"&roleCode="
+
a
+
"&userId="
+
t
.
userId
+
"&brandId="
+
this
.
activeBrandId
)},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getRoleUsers
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getRoleUsers
()},
getRoleUsers
:
function
(){
var
e
=
this
,
t
=
{
roleId
:
e
.
activeId
,
brandId
:
e
.
activeBrandId
,
pageSize
:
e
.
pageSize
,
pageNum
:
e
.
currentPage
};
Object
(
r
.
e
)(
"/haoban-manage-web/role-user-list"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
a
.
result
&&
a
.
result
.
result
?(
e
.
tableData
=
a
.
result
.
result
,
void
(
e
.
total
=
a
.
result
.
totalCount
)):(
e
.
tableData
=
[],
!
1
);
i
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getRoles
:
function
(){
var
e
=
this
;
Object
(
r
.
e
)(
"/haoban-manage-web/role-list"
,{}).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
isAddAdmin
=
a
.
result
.
isAddAdmin
,
e
.
roleListData
=
a
.
result
.
roleList
||
[],
void
(
a
.
result
&&
a
.
result
.
roleList
.
length
&&
(
e
.
activeId
=
e
.
roleListData
[
0
].
roleList
[
0
].
roleId
,
e
.
activeBrandId
=
e
.
roleListData
[
0
].
brandId
,
e
.
roleRightObj
=
e
.
roleListData
[
0
].
roleList
[
0
],
e
.
getRoleUsers
()));
i
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
mounted
:
function
(){
this
.
boxHeight
=
window
.
screen
.
availHeight
-
430
+
"px"
,
this
.
getRoles
()},
components
:{
navCrumb
:
o
.
a
}},
s
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"setChildAdmin-wrap common-set-wrap"
,
style
:{
height
:
e
.
windowH
}},[
a
(
"nav-crumb"
,{
attrs
:{
navpath
:
e
.
navpath
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"div"
,{
staticClass
:
"right-box"
},[
a
(
"div"
,{
staticClass
:
"setChildAdmin-wrap-body flex"
},[
a
(
"div"
,{
staticClass
:
"setChildAdmin-wrap-left w-260"
,
style
:{
height
:
e
.
boxHeight
}},
e
.
_l
(
e
.
roleListData
,
function
(
t
,
o
){
return
a
(
"div"
,{
key
:
o
,
staticClass
:
"m-t-20"
},[
a
(
"div"
,{
staticClass
:
"role-cell-head flex"
},[
a
(
"div"
,{
staticClass
:
"flex-1 max-half role-cell-head_name"
},[
e
.
_v
(
e
.
_s
(
t
.
brandName
))]),
e
.
_v
(
" "
),
t
.
canAddRole
?
a
(
"div"
,{
staticClass
:
"text-right flex-1 "
},[
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
},
on
:{
click
:
function
(
a
){
e
.
changeRoute
(
"/addAdminRole?brandId="
+
t
.
brandId
)}}},[
e
.
_v
(
"新增角色"
)])],
1
):
e
.
_e
()]),
e
.
_v
(
" "
),
a
(
"ul"
,
e
.
_l
(
t
.
roleList
,
function
(
o
,
n
){
return
a
(
"li"
,{
key
:
n
,
class
:[
"role-cell border-bottom-1"
,
t
.
brandId
==
e
.
activeBrandId
&&
o
.
roleId
==
e
.
activeId
?
"role-active"
:
""
],
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
e
.
selectRole
(
o
,
t
.
brandId
)}}},[
a
(
"i"
,{
staticClass
:
"iconfont icon-lizhi p-r-6"
}),
e
.
_v
(
"
\
n "
+
e
.
_s
(
o
.
roleName
)
+
"
\
n "
)])}))])})),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"setChildAdmin-wrap-right box-sizing"
},[
a
(
"div"
,{
staticClass
:
"role-title flex flex-between m-b-25"
},[
a
(
"span"
,{
staticClass
:
"font-20 color-303133"
},[
e
.
_v
(
" "
+
e
.
_s
(
e
.
roleRightObj
.
roleName
)
+
" "
)]),
"child_admin"
!=
e
.
roleRightObj
.
roleCode
?
a
(
"span"
,{
staticClass
:
"font-14 color-1890ff pinter"
,
on
:{
click
:
function
(
t
){
e
.
toRoleDetail
(
"show"
)}}},[
e
.
_v
(
" 查看权限 "
)]):
e
.
_e
(),
"child_admin"
==
e
.
roleRightObj
.
roleCode
?
a
(
"span"
,[
e
.
tableData
.
length
?
e
.
_e
():
a
(
"span"
,{
staticClass
:
"font-14 color-1890ff pinter p-r-6"
,
on
:{
click
:
e
.
toDelRole
}},[
e
.
_v
(
" 删除角色 "
)]),
a
(
"span"
,{
staticClass
:
"font-14 color-1890ff pinter"
,
on
:{
click
:
function
(
t
){
e
.
toRoleDetail
(
"edit"
)}}},[
e
.
_v
(
"
\
n 编辑权限
\
n "
)])]):
e
.
_e
()]),
e
.
_v
(
" "
),
"master_admin"
===
e
.
roleRightObj
.
roleCode
||
"admin"
===
e
.
roleRightObj
.
roleCode
?
a
(
"div"
,{
staticClass
:
"role-tip "
},[
a
(
"el-alert"
,{
attrs
:{
title
:
"master_admin"
===
e
.
roleRightObj
.
roleCode
?
"企业的创建者,拥有企业的所有权限,只会有一个"
:
"admin"
===
e
.
roleRightObj
.
roleCode
?
"企业管理员,拥有企业的所有权限,不能创建企业管理员,可以有多个"
:
""
,
type
:
"info"
,
closable
:
!
1
,
"show-icon"
:
""
}})],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
roleRightObj
.
isEdit
?
a
(
"div"
,{
staticClass
:
"role-add m-t-27"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
toAddRole
(
e
.
roleRightObj
.
roleCode
)}}},[
e
.
_v
(
"添加成员"
)])],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
a
(
"div"
,{
class
:[
"role-table"
,
e
.
roleRightObj
.
isEdit
?
""
:
"m-t-27"
]},[
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"clerkName"
,
label
:
"姓名"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"手机号"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
"86"
==
t
.
row
.
nationcode
?
t
.
row
.
clerkPhone
:
"+"
+
t
.
row
.
nationcode
+
"-"
+
t
.
row
.
clerkPhone
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"groupName"
,
label
:
"部门"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
1
==
t
.
row
.
canEdit
?[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
e
.
handleShow
(
t
.
$index
,
t
.
row
,
e
.
roleRightObj
.
roleCode
)}}},[
e
.
_v
(
"编辑"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
e
.
handleDel
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"删除"
)])]:
void
0
}}])})],
1
),
e
.
_v
(
" "
),
0
!=
e
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
e
.
currentPage
,
"page-sizes"
:[
10
,
20
,
30
,
40
],
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()],
1
)])])])]),
e
.
_v
(
" "
),
a
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
d
=
a
(
"VU/8"
)(
l
,
s
,
!
1
,
function
(
e
){
a
(
"nVXX"
)},
"data-v-58f8a925"
,
null
);
t
.
default
=
d
.
exports
},
nVXX
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/5
4.b61c3a0f9f6c091cde99
.js
→
dist/static/js/5
2.3ee35b29a67a32a31d1d
.js
View file @
35fc15c1
webpackJsonp
([
54
],{
TTY7
:
function
(
e
,
t
){},
"rs/A"
:
function
(
e
,
t
,
r
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
r
(
"mvHQ"
),
s
=
r
.
n
(
a
),
l
=
r
(
"3Xzz"
),
o
=
r
(
"c4uw"
),
i
=
r
(
"Ie7z"
),
n
=
r
(
"3E4D"
),
c
=
r
(
"Ch4/"
),
u
=
r
(
"PI0u"
),
d
=
r
(
"P9l9"
),
m
=
{
name
:
"addAdminRole"
,
data
:
function
(){
return
{
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"设置"
,
path
:
"/companyAddress"
},{
name
:
"设置子管理员"
,
path
:
"/setChildAdmin"
},{
name
:
"添加成员"
,
path
:
""
}],
ruleForm
:{
brandId
:
""
,
roleId
:
""
,
roleCode
:
"admin"
,
roleName
:
"企业管理员"
,
peopleList
:[],
departList
:[],
brandValue
:[],
brandOptions
:[]},
rules
:{},
treeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
1
},
treeData
:{},
defaultSelection
:[],
changed
:
""
,
onlyPerson
:
!
1
,
selectType
:
""
,
defaultStoreList
:[],
storeTreeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
1
}}},
computed
:{},
methods
:{
changeRoute
:
function
(
e
){
this
.
$router
.
push
(
e
)},
submitForm
:
Object
(
u
.
a
)(
function
(
e
){
var
t
=
this
;
t
.
$refs
[
e
].
validate
(
function
(
e
){
if
(
!
e
)
return
!
1
;
var
r
=
[],
a
=
t
.
ruleForm
.
peopleList
.
length
;
if
(
a
){
a
=
null
,
t
.
ruleForm
.
departList
.
forEach
(
function
(
e
){
r
.
push
({
groupId
:
e
.
groupId
})}),
t
.
ruleForm
.
brandValue
.
forEach
(
function
(
e
){
"admin"
===
t
.
ruleForm
.
roleCode
?
r
.
push
({
groupId
:
e
}):
e
.
storeId
?
r
.
push
({
storeId
:
e
.
storeId
}):
r
.
push
({
groupId
:
e
.
groupId
})});
var
s
=
t
.
ruleForm
.
peopleList
.
map
(
function
(
e
){
return
e
.
employeeClerkId
}).
join
(
","
);
t
.
postSave
(
r
,
s
)}
else
t
.
$message
.
error
({
message
:
"请完善信息"
})})},
500
),
postSave
:
function
(
e
,
t
){
var
r
=
this
,
a
=
{
data
:
s
()(
e
),
roleId
:
r
.
ruleForm
.
roleId
,
brandId
:
r
.
ruleForm
.
brandId
,
clerkIds
:
t
};
Object
(
d
.
e
)(
"/haoban-manage-web/save-clerk-role"
,
a
).
then
(
function
(
e
){
var
t
=
e
.
data
;
if
(
1
==
t
.
errorCode
)
return
n
.
a
.
showmsg
(
"添加成功"
,
"success"
),
void
r
.
changeRoute
(
"/setChildAdmin"
);
c
.
a
.
errorMsg
(
t
)}).
catch
(
function
(
e
){
r
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
delField
:
function
(
e
,
t
,
r
){
this
.
$alert
(
"确定要删除?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
}).
then
(
function
(
t
){
t
.
value
;
r
.
splice
(
e
,
1
)}).
catch
(
function
(){})},
delDepart
:
function
(
e
,
t
){
t
.
splice
(
e
,
1
)},
showDialogLayer
:
function
(
e
,
t
){
if
(
this
.
selectType
=
e
,
this
.
changed
=
e
,
"store"
===
e
)
return
this
.
defaultStoreList
=
t
,
void
(
this
.
storeTreeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
1
,
isSelectPerson
:
!
0
});
this
.
treeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
1
,
isSelectPerson
:
!
1
},
"people"
===
e
?(
this
.
onlyPerson
=!
0
,
this
.
treeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
1
,
isSelectPerson
:
!
0
}):
this
.
onlyPerson
=!
1
,
this
.
defaultSelection
=
t
,
this
.
treeData
.
hasOwnProperty
(
"treeData"
)},
handleSelectedList
:
function
(
e
){
"people"
===
this
.
selectType
?
this
.
ruleForm
.
peopleList
=
e
:
"store"
===
this
.
selectType
?
this
.
ruleForm
.
brandValue
=
e
:
this
.
ruleForm
.
departList
=
e
},
getBrandData
:
function
(){
var
e
=
this
;
Object
(
d
.
e
)(
"/haoban-manage-web/brand/list"
,{}).
then
(
function
(
t
){
var
r
=
t
.
data
;
1
!=
r
.
errorCode
?
c
.
a
.
errorMsg
(
r
):
r
.
result
&&
r
.
result
.
length
&&
(
e
.
ruleForm
.
brandOptions
=
r
.
result
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getUserData
:
function
(){
var
e
=
this
,
t
=
{
roleId
:
e
.
ruleForm
.
roleId
,
userId
:
e
.
ruleForm
.
userId
,
brandId
:
e
.
ruleForm
.
brandId
};
Object
(
d
.
e
)(
"/haoban-manage-web/find-clerk-role"
,
t
).
then
(
function
(
t
){
var
r
=
t
.
data
;
1
!=
r
.
errorCode
?
c
.
a
.
errorMsg
(
r
):
r
.
result
&&
(
e
.
ruleForm
.
peopleList
=
[
r
.
result
.
user
],
r
.
result
.
admList
.
forEach
(
function
(
e
,
t
){
e
.
id
=
e
.
groupId
,
e
.
label
=
e
.
name
}),
e
.
ruleForm
.
departList
=
r
.
result
.
admList
||
[],
r
.
result
.
storeList
.
forEach
(
function
(
e
,
t
){
e
.
id
=
e
.
groupId
?
e
.
groupId
:
e
.
storeId
,
e
.
label
=
e
.
name
}),
e
.
ruleForm
.
brandValue
=
"admin"
===
e
.
ruleForm
.
roleCode
?
r
.
result
.
storeList
.
map
(
function
(
e
){
return
e
.
groupId
}):
r
.
result
.
storeList
||
[])}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
mounted
:
function
(){
this
.
getBrandData
(),
this
.
ruleForm
.
brandId
=
this
.
$route
.
query
.
brandId
,
this
.
$route
.
query
.
hasOwnProperty
(
"roleId"
)
&&
(
this
.
ruleForm
.
roleId
=
this
.
$route
.
query
.
roleId
),
this
.
$route
.
query
.
hasOwnProperty
(
"roleCode"
)
&&
(
this
.
ruleForm
.
roleCode
=
this
.
$route
.
query
.
roleCode
,
this
.
ruleForm
.
roleName
=
"admin"
===
this
.
$route
.
query
.
roleCode
?
"企业管理员"
:
"子管理员"
),
this
.
$route
.
query
.
hasOwnProperty
(
"userId"
)
&&
(
this
.
ruleForm
.
userId
=
this
.
$route
.
query
.
userId
,
this
.
navpath
=
[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"设置"
,
path
:
"/companyAddress"
},{
name
:
"设置子管理员"
,
path
:
"/setChildAdmin"
},{
name
:
"编辑成员"
,
path
:
""
}],
this
.
getUserData
())},
components
:{
navCrumb
:
l
.
a
,
vueSelectEmployee
:
o
.
a
,
vueSelectStore
:
i
.
a
}},
p
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
r
=
e
.
_self
.
_c
||
t
;
return
r
(
"div"
,{
staticClass
:
"companyAddress-wrap common-set-wrap"
},[
r
(
"nav-crumb"
,{
attrs
:{
navpath
:
e
.
navpath
}}),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"right-content"
},[
r
(
"div"
,{
staticClass
:
"right-box"
,
style
:{
height
:
e
.
$store
.
state
.
bgHeight
}},[
r
(
"el-form"
,{
ref
:
"ruleForm"
,
staticClass
:
"demo-ruleForm"
,
attrs
:{
model
:
e
.
ruleForm
,
rules
:
e
.
rules
,
"label-width"
:
"100px"
}},[
r
(
"el-form-item"
,{
attrs
:{
label
:
"管理员角色"
,
prop
:
"roleName"
}},[
r
(
"el-input"
,{
staticClass
:
"w-380"
,
attrs
:{
disabled
:
""
,
placeholder
:
""
},
model
:{
value
:
e
.
ruleForm
.
roleName
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"roleName"
,
t
)},
expression
:
"ruleForm.roleName"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
e
.
ruleForm
.
userId
?
""
:
"选择人员"
,
prop
:
"name"
}},[
r
(
"div"
,{
staticClass
:
"flex w-380 flex-wrap"
},[
e
.
_l
(
e
.
ruleForm
.
peopleList
,
function
(
t
,
a
){
return
[
r
(
"div"
,{
key
:
a
+
t
.
name
,
staticClass
:
"people-cell flex flex-align-center flex-pack-center flex-column"
},[
r
(
"div"
,{
class
:[
"inline-block"
,
"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
(
" "
),
e
.
ruleForm
.
userId
?
e
.
_e
():
r
(
"i"
,{
staticClass
:
"el-icon-circle-close"
,
on
:{
click
:
function
(
r
){
r
.
stopPropagation
(),
e
.
delField
(
a
,
t
,
e
.
ruleForm
.
peopleList
)}}})]),
e
.
_v
(
" "
),
r
(
"p"
,[
e
.
_v
(
e
.
_s
(
t
.
name
))])])]}),
e
.
_v
(
" "
),
e
.
ruleForm
.
userId
?
e
.
_e
():
r
(
"div"
,{
staticClass
:
"people-cell"
},[
r
(
"span"
,{
staticClass
:
"add-icon"
,
on
:{
click
:
function
(
t
){
t
.
stopPropagation
(),
e
.
showDialogLayer
(
"people"
,
e
.
ruleForm
.
peopleList
)}}},[
r
(
"i"
,{
staticClass
:
"el-icon-plus"
})])])],
2
)]),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
staticClass
:
"m-b-0"
,
attrs
:{
label
:
"选择管理范围"
,
prop
:
"name"
}}),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
staticClass
:
"m-b-0 m-t-10"
,
attrs
:{
label
:
"行政架构"
,
prop
:
"name"
}},[
r
(
"div"
,{
staticClass
:
"flex w-380 flex-column item-cell-select"
},[
r
(
"div"
,{
staticClass
:
"depart-item-wrap"
},[
r
(
"div"
,{
staticClass
:
"el-select el-select--large depart-item-content"
,
on
:{
click
:
function
(
t
){
e
.
showDialogLayer
(
"depart"
,
e
.
ruleForm
.
departList
)}}},[
r
(
"div"
,{
staticClass
:
"el-select__tags"
,
staticStyle
:{
"max-width"
:
"181px"
}},[
r
(
"span"
,[
e
.
_l
(
e
.
ruleForm
.
departList
,
function
(
t
,
a
){
return
[
r
(
"span"
,{
key
:
a
,
staticClass
:
"el-tag el-tag--info el-tag--small"
},[
r
(
"span"
,{
staticClass
:
"el-select__tags-text"
},[
e
.
_v
(
e
.
_s
(
t
.
name
))]),
r
(
"i"
,{
staticClass
:
"el-tag__close el-icon-close"
,
on
:{
click
:
function
(
t
){
t
.
stopPropagation
(),
e
.
delDepart
(
a
,
e
.
ruleForm
.
departList
)}}})])]})],
2
)])])])])]),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
staticClass
:
"m-t-22"
,
attrs
:{
label
:
"门店架构"
,
prop
:
"name"
}},[
r
(
"div"
,{
staticClass
:
"flex w-380 flex-column item-cell-select"
},[
"admin"
==
e
.
ruleForm
.
roleCode
?
r
(
"div"
,{
staticClass
:
"store-item-wrap"
},[
r
(
"el-select"
,{
staticStyle
:{
width
:
"213px"
},
attrs
:{
multiple
:
""
,
placeholder
:
"请选择"
},
model
:{
value
:
e
.
ruleForm
.
brandValue
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"brandValue"
,
t
)},
expression
:
"ruleForm.brandValue"
}},
e
.
_l
(
e
.
ruleForm
.
brandOptions
,
function
(
e
){
return
r
(
"el-option"
,{
key
:
e
.
groupId
,
attrs
:{
label
:
e
.
name
,
value
:
e
.
groupId
}})}))],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
"child_admin"
==
e
.
ruleForm
.
roleCode
?
r
(
"div"
,{
staticClass
:
"depart-item-wrap"
},[
r
(
"div"
,{
staticClass
:
"el-select el-select--large depart-item-content"
,
staticStyle
:{
width
:
"213px"
},
on
:{
click
:
function
(
t
){
e
.
showDialogLayer
(
"store"
,
e
.
ruleForm
.
brandValue
)}}},[
r
(
"div"
,{
staticClass
:
"el-select__tags"
,
staticStyle
:{
"max-width"
:
"181px"
}},[
r
(
"span"
,[
e
.
_l
(
e
.
ruleForm
.
brandValue
,
function
(
t
,
a
){
return
[
r
(
"span"
,{
key
:
a
,
staticClass
:
"el-tag el-tag--info el-tag--small"
},[
r
(
"span"
,{
staticClass
:
"el-select__tags-text"
},[
e
.
_v
(
e
.
_s
(
t
.
name
||
t
.
storeName
))]),
r
(
"i"
,{
staticClass
:
"el-tag__close el-icon-close"
,
on
:{
click
:
function
(
t
){
t
.
stopPropagation
(),
e
.
delDepart
(
a
,
e
.
ruleForm
.
brandValue
)}}})])]})],
2
)])])]):
e
.
_e
()])]),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
staticClass
:
"m-t-24"
},[
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
submitForm
(
"ruleForm"
)}}},[
e
.
_v
(
"保存"
)])],
1
)],
1
)],
1
)]),
e
.
_v
(
" "
),
r
(
"vue-gic-footer"
),
e
.
_v
(
" "
),
r
(
"vue-select-employee"
,{
attrs
:{
defaultSelection
:
e
.
defaultSelection
,
onlyPerson
:
e
.
onlyPerson
,
treeSet
:
e
.
treeSet
,
changed
:
e
.
changed
},
on
:{
handleSelectedList
:
e
.
handleSelectedList
}}),
e
.
_v
(
" "
),
r
(
"vue-select-store"
,{
ref
:
"storeSelector"
,
attrs
:{
treeSet
:
e
.
storeTreeSet
,
selectType
:
"group-store"
,
defaultList
:
e
.
defaultStoreList
},
on
:{
handleSelectedList
:
e
.
handleSelectedList
}})],
1
)},
staticRenderFns
:[]};
var
h
=
r
(
"VU/8"
)(
m
,
p
,
!
1
,
function
(
e
){
r
(
"TTY7"
)},
"data-v-57c540df"
,
null
);
t
.
default
=
h
.
exports
}});
\ No newline at end of file
webpackJsonp
([
52
],{
TTY7
:
function
(
e
,
t
){},
"rs/A"
:
function
(
e
,
t
,
r
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
r
(
"mvHQ"
),
s
=
r
.
n
(
a
),
l
=
r
(
"3Xzz"
),
o
=
r
(
"c4uw"
),
i
=
r
(
"Ie7z"
),
n
=
r
(
"3E4D"
),
c
=
r
(
"Ch4/"
),
u
=
r
(
"PI0u"
),
d
=
r
(
"P9l9"
),
m
=
{
name
:
"addAdminRole"
,
data
:
function
(){
return
{
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"设置"
,
path
:
"/companyAddress"
},{
name
:
"设置子管理员"
,
path
:
"/setChildAdmin"
},{
name
:
"添加成员"
,
path
:
""
}],
ruleForm
:{
brandId
:
""
,
roleId
:
""
,
roleCode
:
"admin"
,
roleName
:
"企业管理员"
,
peopleList
:[],
departList
:[],
brandValue
:[],
brandOptions
:[]},
rules
:{},
treeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
1
},
treeData
:{},
defaultSelection
:[],
changed
:
""
,
onlyPerson
:
!
1
,
selectType
:
""
,
defaultStoreList
:[],
storeTreeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
1
}}},
computed
:{},
methods
:{
changeRoute
:
function
(
e
){
this
.
$router
.
push
(
e
)},
submitForm
:
Object
(
u
.
a
)(
function
(
e
){
var
t
=
this
;
t
.
$refs
[
e
].
validate
(
function
(
e
){
if
(
!
e
)
return
!
1
;
var
r
=
[],
a
=
t
.
ruleForm
.
peopleList
.
length
;
if
(
a
){
a
=
null
,
t
.
ruleForm
.
departList
.
forEach
(
function
(
e
){
r
.
push
({
groupId
:
e
.
groupId
})}),
t
.
ruleForm
.
brandValue
.
forEach
(
function
(
e
){
"admin"
===
t
.
ruleForm
.
roleCode
?
r
.
push
({
groupId
:
e
}):
e
.
storeId
?
r
.
push
({
storeId
:
e
.
storeId
}):
r
.
push
({
groupId
:
e
.
groupId
})});
var
s
=
t
.
ruleForm
.
peopleList
.
map
(
function
(
e
){
return
e
.
employeeClerkId
}).
join
(
","
);
t
.
postSave
(
r
,
s
)}
else
t
.
$message
.
error
({
message
:
"请完善信息"
})})},
500
),
postSave
:
function
(
e
,
t
){
var
r
=
this
,
a
=
{
data
:
s
()(
e
),
roleId
:
r
.
ruleForm
.
roleId
,
brandId
:
r
.
ruleForm
.
brandId
,
clerkIds
:
t
};
Object
(
d
.
e
)(
"/haoban-manage-web/save-clerk-role"
,
a
).
then
(
function
(
e
){
var
t
=
e
.
data
;
if
(
1
==
t
.
errorCode
)
return
n
.
a
.
showmsg
(
"添加成功"
,
"success"
),
void
r
.
changeRoute
(
"/setChildAdmin"
);
c
.
a
.
errorMsg
(
t
)}).
catch
(
function
(
e
){
r
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
delField
:
function
(
e
,
t
,
r
){
this
.
$alert
(
"确定要删除?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
}).
then
(
function
(
t
){
t
.
value
;
r
.
splice
(
e
,
1
)}).
catch
(
function
(){})},
delDepart
:
function
(
e
,
t
){
t
.
splice
(
e
,
1
)},
showDialogLayer
:
function
(
e
,
t
){
if
(
this
.
selectType
=
e
,
this
.
changed
=
e
,
"store"
===
e
)
return
this
.
defaultStoreList
=
t
,
void
(
this
.
storeTreeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
1
,
isSelectPerson
:
!
0
});
this
.
treeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
1
,
isSelectPerson
:
!
1
},
"people"
===
e
?(
this
.
onlyPerson
=!
0
,
this
.
treeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
1
,
isSelectPerson
:
!
0
}):
this
.
onlyPerson
=!
1
,
this
.
defaultSelection
=
t
,
this
.
treeData
.
hasOwnProperty
(
"treeData"
)},
handleSelectedList
:
function
(
e
){
"people"
===
this
.
selectType
?
this
.
ruleForm
.
peopleList
=
e
:
"store"
===
this
.
selectType
?
this
.
ruleForm
.
brandValue
=
e
:
this
.
ruleForm
.
departList
=
e
},
getBrandData
:
function
(){
var
e
=
this
;
Object
(
d
.
e
)(
"/haoban-manage-web/brand/list"
,{}).
then
(
function
(
t
){
var
r
=
t
.
data
;
1
!=
r
.
errorCode
?
c
.
a
.
errorMsg
(
r
):
r
.
result
&&
r
.
result
.
length
&&
(
e
.
ruleForm
.
brandOptions
=
r
.
result
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getUserData
:
function
(){
var
e
=
this
,
t
=
{
roleId
:
e
.
ruleForm
.
roleId
,
userId
:
e
.
ruleForm
.
userId
,
brandId
:
e
.
ruleForm
.
brandId
};
Object
(
d
.
e
)(
"/haoban-manage-web/find-clerk-role"
,
t
).
then
(
function
(
t
){
var
r
=
t
.
data
;
1
!=
r
.
errorCode
?
c
.
a
.
errorMsg
(
r
):
r
.
result
&&
(
e
.
ruleForm
.
peopleList
=
[
r
.
result
.
user
],
r
.
result
.
admList
.
forEach
(
function
(
e
,
t
){
e
.
id
=
e
.
groupId
,
e
.
label
=
e
.
name
}),
e
.
ruleForm
.
departList
=
r
.
result
.
admList
||
[],
r
.
result
.
storeList
.
forEach
(
function
(
e
,
t
){
e
.
id
=
e
.
groupId
?
e
.
groupId
:
e
.
storeId
,
e
.
label
=
e
.
name
}),
e
.
ruleForm
.
brandValue
=
"admin"
===
e
.
ruleForm
.
roleCode
?
r
.
result
.
storeList
.
map
(
function
(
e
){
return
e
.
groupId
}):
r
.
result
.
storeList
||
[])}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
mounted
:
function
(){
this
.
getBrandData
(),
this
.
ruleForm
.
brandId
=
this
.
$route
.
query
.
brandId
,
this
.
$route
.
query
.
hasOwnProperty
(
"roleId"
)
&&
(
this
.
ruleForm
.
roleId
=
this
.
$route
.
query
.
roleId
),
this
.
$route
.
query
.
hasOwnProperty
(
"roleCode"
)
&&
(
this
.
ruleForm
.
roleCode
=
this
.
$route
.
query
.
roleCode
,
this
.
ruleForm
.
roleName
=
"admin"
===
this
.
$route
.
query
.
roleCode
?
"企业管理员"
:
"子管理员"
),
this
.
$route
.
query
.
hasOwnProperty
(
"userId"
)
&&
(
this
.
ruleForm
.
userId
=
this
.
$route
.
query
.
userId
,
this
.
navpath
=
[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"设置"
,
path
:
"/companyAddress"
},{
name
:
"设置子管理员"
,
path
:
"/setChildAdmin"
},{
name
:
"编辑成员"
,
path
:
""
}],
this
.
getUserData
())},
components
:{
navCrumb
:
l
.
a
,
vueSelectEmployee
:
o
.
a
,
vueSelectStore
:
i
.
a
}},
p
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
r
=
e
.
_self
.
_c
||
t
;
return
r
(
"div"
,{
staticClass
:
"companyAddress-wrap common-set-wrap"
},[
r
(
"nav-crumb"
,{
attrs
:{
navpath
:
e
.
navpath
}}),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"right-content"
},[
r
(
"div"
,{
staticClass
:
"right-box"
,
style
:{
height
:
e
.
$store
.
state
.
bgHeight
}},[
r
(
"el-form"
,{
ref
:
"ruleForm"
,
staticClass
:
"demo-ruleForm"
,
attrs
:{
model
:
e
.
ruleForm
,
rules
:
e
.
rules
,
"label-width"
:
"100px"
}},[
r
(
"el-form-item"
,{
attrs
:{
label
:
"管理员角色"
,
prop
:
"roleName"
}},[
r
(
"el-input"
,{
staticClass
:
"w-380"
,
attrs
:{
disabled
:
""
,
placeholder
:
""
},
model
:{
value
:
e
.
ruleForm
.
roleName
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"roleName"
,
t
)},
expression
:
"ruleForm.roleName"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
e
.
ruleForm
.
userId
?
""
:
"选择人员"
,
prop
:
"name"
}},[
r
(
"div"
,{
staticClass
:
"flex w-380 flex-wrap"
},[
e
.
_l
(
e
.
ruleForm
.
peopleList
,
function
(
t
,
a
){
return
[
r
(
"div"
,{
key
:
a
+
t
.
name
,
staticClass
:
"people-cell flex flex-align-center flex-pack-center flex-column"
},[
r
(
"div"
,{
class
:[
"inline-block"
,
"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
(
" "
),
e
.
ruleForm
.
userId
?
e
.
_e
():
r
(
"i"
,{
staticClass
:
"el-icon-circle-close"
,
on
:{
click
:
function
(
r
){
r
.
stopPropagation
(),
e
.
delField
(
a
,
t
,
e
.
ruleForm
.
peopleList
)}}})]),
e
.
_v
(
" "
),
r
(
"p"
,[
e
.
_v
(
e
.
_s
(
t
.
name
))])])]}),
e
.
_v
(
" "
),
e
.
ruleForm
.
userId
?
e
.
_e
():
r
(
"div"
,{
staticClass
:
"people-cell"
},[
r
(
"span"
,{
staticClass
:
"add-icon"
,
on
:{
click
:
function
(
t
){
t
.
stopPropagation
(),
e
.
showDialogLayer
(
"people"
,
e
.
ruleForm
.
peopleList
)}}},[
r
(
"i"
,{
staticClass
:
"el-icon-plus"
})])])],
2
)]),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
staticClass
:
"m-b-0"
,
attrs
:{
label
:
"选择管理范围"
,
prop
:
"name"
}}),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
staticClass
:
"m-b-0 m-t-10"
,
attrs
:{
label
:
"行政架构"
,
prop
:
"name"
}},[
r
(
"div"
,{
staticClass
:
"flex w-380 flex-column item-cell-select"
},[
r
(
"div"
,{
staticClass
:
"depart-item-wrap"
},[
r
(
"div"
,{
staticClass
:
"el-select el-select--large depart-item-content"
,
on
:{
click
:
function
(
t
){
e
.
showDialogLayer
(
"depart"
,
e
.
ruleForm
.
departList
)}}},[
r
(
"div"
,{
staticClass
:
"el-select__tags"
,
staticStyle
:{
"max-width"
:
"181px"
}},[
r
(
"span"
,[
e
.
_l
(
e
.
ruleForm
.
departList
,
function
(
t
,
a
){
return
[
r
(
"span"
,{
key
:
a
,
staticClass
:
"el-tag el-tag--info el-tag--small"
},[
r
(
"span"
,{
staticClass
:
"el-select__tags-text"
},[
e
.
_v
(
e
.
_s
(
t
.
name
))]),
r
(
"i"
,{
staticClass
:
"el-tag__close el-icon-close"
,
on
:{
click
:
function
(
t
){
t
.
stopPropagation
(),
e
.
delDepart
(
a
,
e
.
ruleForm
.
departList
)}}})])]})],
2
)])])])])]),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
staticClass
:
"m-t-22"
,
attrs
:{
label
:
"门店架构"
,
prop
:
"name"
}},[
r
(
"div"
,{
staticClass
:
"flex w-380 flex-column item-cell-select"
},[
"admin"
==
e
.
ruleForm
.
roleCode
?
r
(
"div"
,{
staticClass
:
"store-item-wrap"
},[
r
(
"el-select"
,{
staticStyle
:{
width
:
"213px"
},
attrs
:{
multiple
:
""
,
placeholder
:
"请选择"
},
model
:{
value
:
e
.
ruleForm
.
brandValue
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"brandValue"
,
t
)},
expression
:
"ruleForm.brandValue"
}},
e
.
_l
(
e
.
ruleForm
.
brandOptions
,
function
(
e
){
return
r
(
"el-option"
,{
key
:
e
.
groupId
,
attrs
:{
label
:
e
.
name
,
value
:
e
.
groupId
}})}))],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
"child_admin"
==
e
.
ruleForm
.
roleCode
?
r
(
"div"
,{
staticClass
:
"depart-item-wrap"
},[
r
(
"div"
,{
staticClass
:
"el-select el-select--large depart-item-content"
,
staticStyle
:{
width
:
"213px"
},
on
:{
click
:
function
(
t
){
e
.
showDialogLayer
(
"store"
,
e
.
ruleForm
.
brandValue
)}}},[
r
(
"div"
,{
staticClass
:
"el-select__tags"
,
staticStyle
:{
"max-width"
:
"181px"
}},[
r
(
"span"
,[
e
.
_l
(
e
.
ruleForm
.
brandValue
,
function
(
t
,
a
){
return
[
r
(
"span"
,{
key
:
a
,
staticClass
:
"el-tag el-tag--info el-tag--small"
},[
r
(
"span"
,{
staticClass
:
"el-select__tags-text"
},[
e
.
_v
(
e
.
_s
(
t
.
name
||
t
.
storeName
))]),
r
(
"i"
,{
staticClass
:
"el-tag__close el-icon-close"
,
on
:{
click
:
function
(
t
){
t
.
stopPropagation
(),
e
.
delDepart
(
a
,
e
.
ruleForm
.
brandValue
)}}})])]})],
2
)])])]):
e
.
_e
()])]),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
staticClass
:
"m-t-24"
},[
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
submitForm
(
"ruleForm"
)}}},[
e
.
_v
(
"保存"
)])],
1
)],
1
)],
1
)]),
e
.
_v
(
" "
),
r
(
"vue-gic-footer"
),
e
.
_v
(
" "
),
r
(
"vue-select-employee"
,{
attrs
:{
defaultSelection
:
e
.
defaultSelection
,
onlyPerson
:
e
.
onlyPerson
,
treeSet
:
e
.
treeSet
,
changed
:
e
.
changed
},
on
:{
handleSelectedList
:
e
.
handleSelectedList
}}),
e
.
_v
(
" "
),
r
(
"vue-select-store"
,{
ref
:
"storeSelector"
,
attrs
:{
treeSet
:
e
.
storeTreeSet
,
selectType
:
"group-store"
,
defaultList
:
e
.
defaultStoreList
},
on
:{
handleSelectedList
:
e
.
handleSelectedList
}})],
1
)},
staticRenderFns
:[]};
var
h
=
r
(
"VU/8"
)(
m
,
p
,
!
1
,
function
(
e
){
r
(
"TTY7"
)},
"data-v-57c540df"
,
null
);
t
.
default
=
h
.
exports
}});
\ No newline at end of file
dist/static/js/5
5.f17ab600dad59c0971a4
.js
→
dist/static/js/5
3.8ea56d269da04331dd65
.js
View file @
35fc15c1
webpackJsonp
([
55
],{
"+lem"
:
function
(
e
,
t
,
n
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
projectName
:
"haoban-manage-web"
,
collapseFlag
:
!
1
,
contentHeight
:
"0px"
}},
computed
:{},
methods
:{
toRouterView
:
function
(
e
){
this
.
$router
.
push
({
path
:
e
.
path
})},
collapseTag
:
function
(
e
){
this
.
collapseFlag
=
e
}},
watch
:{
$route
:{
handler
:
function
(
e
,
t
){
this
.
$refs
.
asideMenu
.
refreshRoute
()},
deep
:
!
0
}},
mounted
:
function
(){
this
.
contentHeight
=
(
document
.
documentElement
.
clientHeight
||
document
.
body
.
clientHeight
)
-
64
+
"px"
}},
o
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"div"
,{
staticClass
:
"review-wrap"
},[
n
(
"vue-office-header"
,{
attrs
:{
projectName
:
e
.
projectName
},
on
:{
collapseTag
:
e
.
collapseTag
,
toRouterView
:
e
.
toRouterView
}}),
e
.
_v
(
" "
),
n
(
"div"
,{
staticClass
:
"setting-wrap__body"
},[
n
(
"div"
,{
staticClass
:
"content"
,
attrs
:{
id
:
"content"
}},[
n
(
"div"
,{
staticClass
:
"content-body"
,
style
:{
height
:
e
.
contentHeight
}},[
n
(
"div"
,{
staticClass
:
"left-menu"
,
style
:{
height
:
e
.
contentHeight
}},[
n
(
"vue-office-aside"
,{
ref
:
"asideMenu"
,
attrs
:{
projectName
:
e
.
projectName
,
collapseFlag
:
e
.
collapseFlag
}})],
1
),
e
.
_v
(
" "
),
n
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
n
(
"router-view"
)],
1
)],
1
)])])],
1
)},
staticRenderFns
:[]};
var
i
=
n
(
"VU/8"
)(
a
,
o
,
!
1
,
function
(
e
){
n
(
"wrIu"
)},
null
,
null
);
t
.
default
=
i
.
exports
},
wrIu
:
function
(
e
,
t
){}});
\ No newline at end of file
webpackJsonp
([
53
],{
"+lem"
:
function
(
e
,
t
,
n
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
projectName
:
"haoban-manage-web"
,
collapseFlag
:
!
1
,
contentHeight
:
"0px"
}},
computed
:{},
methods
:{
toRouterView
:
function
(
e
){
this
.
$router
.
push
({
path
:
e
.
path
})},
collapseTag
:
function
(
e
){
this
.
collapseFlag
=
e
}},
watch
:{
$route
:{
handler
:
function
(
e
,
t
){
this
.
$refs
.
asideMenu
.
refreshRoute
()},
deep
:
!
0
}},
mounted
:
function
(){
this
.
contentHeight
=
(
document
.
documentElement
.
clientHeight
||
document
.
body
.
clientHeight
)
-
64
+
"px"
}},
o
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"div"
,{
staticClass
:
"review-wrap"
},[
n
(
"vue-office-header"
,{
attrs
:{
projectName
:
e
.
projectName
},
on
:{
collapseTag
:
e
.
collapseTag
,
toRouterView
:
e
.
toRouterView
}}),
e
.
_v
(
" "
),
n
(
"div"
,{
staticClass
:
"setting-wrap__body"
},[
n
(
"div"
,{
staticClass
:
"content"
,
attrs
:{
id
:
"content"
}},[
n
(
"div"
,{
staticClass
:
"content-body"
,
style
:{
height
:
e
.
contentHeight
}},[
n
(
"div"
,{
staticClass
:
"left-menu"
,
style
:{
height
:
e
.
contentHeight
}},[
n
(
"vue-office-aside"
,{
ref
:
"asideMenu"
,
attrs
:{
projectName
:
e
.
projectName
,
collapseFlag
:
e
.
collapseFlag
}})],
1
),
e
.
_v
(
" "
),
n
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
n
(
"router-view"
)],
1
)],
1
)])])],
1
)},
staticRenderFns
:[]};
var
i
=
n
(
"VU/8"
)(
a
,
o
,
!
1
,
function
(
e
){
n
(
"wrIu"
)},
null
,
null
);
t
.
default
=
i
.
exports
},
wrIu
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/5
6.e43e5f9ed93627bf44de
.js
→
dist/static/js/5
4.4b3de5b9c967cbdcb803
.js
View file @
35fc15c1
webpackJsonp
([
56
],{
"0kG1"
:
function
(
e
,
t
){},
A33E
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
o
=
a
(
"fZjL"
),
n
=
a
.
n
(
o
),
l
=
a
(
"2eFk"
),
i
=
a
(
"Ke24"
),
s
=
a
(
"LRn8"
),
r
=
a
(
"fPyK"
),
c
=
a
(
"P9l9"
),
d
=
a
(
"Ch4/"
),
u
=
a
(
"3E4D"
),
f
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
filters
:{
formatTimeYMD
:
function
(
e
){
return
e
&&
"- -"
!=
e
?
e
.
split
(
" "
)[
0
]:
"--"
},
formatTimeHMS
:
function
(
e
){
return
e
&&
"- -"
!=
e
?
e
.
split
(
" "
)[
1
]:
"--"
}},
data
:
function
(){
return
{
tableH
:
window
.
screen
.
availHeight
-
464
-
126
,
activeId
:
"2"
,
activeBrand
:
this
.
brandId
,
topMenuData
:[{
id
:
"1"
,
name
:
"话务任务记录"
,
path
:
"/taskRecord?appIcon="
+
this
.
$route
.
query
.
appIcon
},{
id
:
"2"
,
name
:
"记录详情"
,
path
:
""
}],
selectRadio
:
0
,
showDialog
:
!
1
,
conditionObj
:{
completed
:
""
,
overdue
:
""
},
completedOptions
:[{
label
:
"已完成"
,
value
:
"1"
},{
label
:
"未完成"
,
value
:
"0"
}],
overOptions
:[{
label
:
"已逾期"
,
value
:
"1"
},{
label
:
"未逾期"
,
value
:
"0"
}],
tableData
:[],
multipleSelection
:[],
dialogVisible
:
!
1
,
currentPage
:
1
,
pageSize
:
20
,
total
:
0
}},
computed
:{},
methods
:{
handleCommand
:
function
(
e
){
this
.
selectRadio
=
e
},
changeSelect
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleSelectionChange
:
function
(
e
){
this
.
multipleSelection
=
e
},
multDel
:
function
(){
if
(
!
this
.
multipleSelection
.
length
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择删除项"
}),
!
1
;
this
.
showDialog
=!
0
},
hideDialog
:
function
(
e
){
if
(
this
.
showDialog
=!
1
,
!
n
()(
e
).
length
)
return
!
1
;
this
.
postMultDel
(
e
)},
postMultDel
:
function
(
e
){
var
t
=
this
,
a
=
{
storeId
:
t
.
conditionObj
.
storeId
,
taskIds
:
t
.
multipleSelection
.
map
(
function
(
e
){
return
e
.
taskId
})
||
""
,
isOverTime
:
t
.
conditionObj
.
overdue
||
""
,
isCompleted
:
t
.
conditionObj
.
completed
||
""
,
reason
:
e
.
reason
,
brandId
:
t
.
activeBrand
,
isAll
:
t
.
selectRadio
};
Object
(
c
.
e
)(
"/haoban-app-tel-task-web/task/batch-del-clerk-task-list"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
u
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
t
.
getTableList
();
d
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getTableList
()},
handleDel
:
function
(
e
,
t
){
var
a
=
this
;
a
.
$confirm
(
"确认要删除吗?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
postDel
(
e
,
t
)}).
catch
(
function
(){})},
postDel
:
function
(
e
,
t
){
var
a
=
this
,
o
=
{
taskId
:
t
.
taskId
,
brandId
:
a
.
activeBrand
};
Object
(
c
.
a
)(
"/haoban-app-tel-task-web/task/del-one"
,
o
).
then
(
function
(
t
){
var
o
=
t
.
data
;
if
(
1
==
o
.
errorCode
)
return
u
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
a
.
tableData
.
splice
(
e
,
1
);
d
.
a
.
errorMsg
(
o
)}).
catch
(
function
(
e
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handlePreview
:
function
(
e
,
t
){
this
.
postPreview
(
e
,
t
)},
postPreview
:
function
(
e
,
t
){
var
a
=
""
+
t
.
taskId
;
this
.
$refs
.
qrcodePreview
.
qrcode
(
a
,
"task"
),
this
.
dialogVisible
=!
0
},
getTableList
:
function
(
e
){
var
t
=
this
,
a
=
{
storeId
:
t
.
conditionObj
.
storeId
||
""
,
isOverTime
:
t
.
conditionObj
.
overdue
||
""
,
isCompleted
:
t
.
conditionObj
.
completed
||
""
,
pageNum
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
,
brandId
:
t
.
activeBrand
};
Object
(
c
.
a
)(
"/haoban-app-tel-task-web/task/clerk-task-list"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
t
.
tableData
=
a
.
result
.
list
||
[],
void
(
t
.
total
=
a
.
result
.
pageInfo
.
total
);
d
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
brandId
:
function
(
e
,
t
){
e
&&
(
this
.
activeBrand
=
e
,
this
.
getTableList
())}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
"1"
),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
activeBrand
=
this
.
brandId
,
this
.
conditionObj
.
storeId
=
this
.
$route
.
query
.
storeId
,
this
.
brandId
&&
this
.
getTableList
()},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
l
.
a
,
commonDetailTop
:
i
.
a
,
multipleDel
:
s
.
a
,
qrcodeDialog
:
r
.
a
}},
p
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
a
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
e
.
topMenuData
,
activeId
:
e
.
activeId
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"daily-set-content boder-box"
},[
a
(
"div"
,{
staticClass
:
"table-condition flex flex-space-between m-b-23"
},[
a
(
"div"
,{
staticClass
:
"table-condition-left"
},[
a
(
"el-select"
,{
staticClass
:
"w-105"
,
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
e
.
changeSelect
},
model
:{
value
:
e
.
conditionObj
.
completed
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"completed"
,
t
)},
expression
:
"conditionObj.completed"
}},
e
.
_l
(
e
.
completedOptions
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})})),
a
(
"el-select"
,{
staticClass
:
"w-105 m-l-10"
,
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
e
.
changeSelect
},
model
:{
value
:
e
.
conditionObj
.
overdue
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"overdue"
,
t
)},
expression
:
"conditionObj.overdue"
}},
e
.
_l
(
e
.
overOptions
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"table-condition-right"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"danger"
},
on
:{
click
:
e
.
multDel
}},[
e
.
_v
(
"批量删除"
)])],
1
)]),
e
.
_v
(
" "
),
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
,
minHeight
:
e
.
tableH
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
},
on
:{
"selection-change"
:
e
.
handleSelectionChange
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
width
:
"35"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
width
:
"25"
},
scopedSlots
:
e
.
_u
([{
key
:
"header"
,
fn
:
function
(
t
){
return
[
a
(
"el-dropdown"
,{
staticStyle
:{
"line-height"
:
"10px"
,
padding
:
"0"
,
"margin-left"
:
"-15px"
,
transform
:
"translateY(4px)"
,
"-webkit-transform"
:
"translateY(4px)"
},
attrs
:{
placement
:
"bottom-start"
},
on
:{
command
:
e
.
handleCommand
}},[
a
(
"span"
,{
staticClass
:
"el-dropdown-link"
},[
a
(
"i"
,{
staticClass
:
"el-icon-arrow-down el-icon--right"
})]),
e
.
_v
(
" "
),
a
(
"el-dropdown-menu"
,{
attrs
:{
slot
:
"dropdown"
},
slot
:
"dropdown"
},[
a
(
"el-dropdown-item"
,{
attrs
:{
command
:
"0"
}},[
a
(
"span"
,{
style
:{
color
:
0
==
e
.
selectRadio
?
"#1890ff"
:
"#606266"
}},[
e
.
_v
(
"选择当页"
)])]),
e
.
_v
(
" "
),
a
(
"el-dropdown-item"
,{
attrs
:{
command
:
"1"
}},[
a
(
"span"
,{
style
:{
color
:
1
==
e
.
selectRadio
?
"#1890ff"
:
"#606266"
}},[
e
.
_v
(
"选择全部"
)])])],
1
)],
1
)]}},{
key
:
"default"
,
fn
:
function
(
e
){}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"指派对象"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"flex flex-pack-center flex-start"
},[
a
(
"div"
,{
class
:[
"image-wrap flex flex-align-center flex-pack-center"
,
t
.
row
.
headImgUrl
?
"bg-eceaeb"
:
"bg-82c5ff"
]},[
t
.
row
.
headImgUrl
?
a
(
"img"
,{
attrs
:{
src
:
t
.
row
.
headImgUrl
,
alt
:
""
}}):
a
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"clerk-info flex flex-column flex-space-between m-l-16"
},[
a
(
"p"
,{
staticClass
:
"font-14 color-303133"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
clerkName
))]),
e
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"font-14 color-909399"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
clerkPhone
))])])])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"任务类型"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
"0"
==
t
.
row
.
taskType
?
"不良评价"
:
"话务任务"
))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"创建时间"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeYMD"
)(
t
.
row
.
createTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeHMS"
)(
t
.
row
.
createTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"完成期限"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeYMD"
)(
t
.
row
.
lastTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeHMS"
)(
t
.
row
.
lastTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"逾期情况"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
isOverTime
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"完成情况"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
isCompleted
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"完成时间"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeYMD"
)(
t
.
row
.
finishTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeHMS"
)(
t
.
row
.
finishTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"完成备注"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
"3"
!=
t
.
row
.
taskStatus
&&
"1"
!=
t
.
row
.
taskStatus
?
a
(
"el-popover"
,{
attrs
:{
placement
:
"top-start"
,
title
:
""
,
width
:
"200"
,
trigger
:
"hover"
,
content
:
"3"
!=
t
.
row
.
taskStatus
?
t
.
row
.
reason
:
""
}},[
a
(
"i"
,{
staticClass
:
"iconfont icon-beizhu"
,
staticStyle
:{
"font-size"
:
"40px"
},
attrs
:{
slot
:
"reference"
},
slot
:
"reference"
})]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"放弃备注"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
"3"
==
t
.
row
.
taskStatus
?
a
(
"el-popover"
,{
attrs
:{
placement
:
"top-start"
,
title
:
""
,
width
:
"200"
,
trigger
:
"hover"
,
content
:
"3"
==
t
.
row
.
taskStatus
?
t
.
row
.
reason
:
""
}},[
a
(
"i"
,{
staticClass
:
"iconfont icon-beizhu"
,
staticStyle
:{
"font-size"
:
"40px"
},
attrs
:{
slot
:
"reference"
},
slot
:
"reference"
})]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
e
.
handleDel
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"删除"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
e
.
handlePreview
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"预览"
)])]}}])})],
1
),
e
.
_v
(
" "
),
0
!=
e
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
e
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
a
(
"multiple-del"
,{
attrs
:{
showDialog
:
e
.
showDialog
,
detailFlag
:
!
0
},
on
:{
hideDialog
:
e
.
hideDialog
}}),
e
.
_v
(
" "
),
a
(
"qrcode-dialog"
,{
ref
:
"qrcodePreview"
,
model
:{
value
:
e
.
dialogVisible
,
callback
:
function
(
t
){
e
.
dialogVisible
=
t
},
expression
:
"dialogVisible"
}})],
1
)},
staticRenderFns
:[]};
var
m
=
a
(
"VU/8"
)(
f
,
p
,
!
1
,
function
(
e
){
a
(
"0kG1"
)},
"data-v-48fef2e3"
,
null
);
t
.
default
=
m
.
exports
}});
\ No newline at end of file
webpackJsonp
([
54
],{
"0kG1"
:
function
(
e
,
t
){},
A33E
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
o
=
a
(
"fZjL"
),
n
=
a
.
n
(
o
),
l
=
a
(
"2eFk"
),
i
=
a
(
"Ke24"
),
s
=
a
(
"LRn8"
),
r
=
a
(
"fPyK"
),
c
=
a
(
"P9l9"
),
d
=
a
(
"Ch4/"
),
u
=
a
(
"3E4D"
),
f
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
filters
:{
formatTimeYMD
:
function
(
e
){
return
e
&&
"- -"
!=
e
?
e
.
split
(
" "
)[
0
]:
"--"
},
formatTimeHMS
:
function
(
e
){
return
e
&&
"- -"
!=
e
?
e
.
split
(
" "
)[
1
]:
"--"
}},
data
:
function
(){
return
{
tableH
:
window
.
screen
.
availHeight
-
464
-
126
,
activeId
:
"2"
,
activeBrand
:
this
.
brandId
,
topMenuData
:[{
id
:
"1"
,
name
:
"话务任务记录"
,
path
:
"/taskRecord?appIcon="
+
this
.
$route
.
query
.
appIcon
},{
id
:
"2"
,
name
:
"记录详情"
,
path
:
""
}],
selectRadio
:
0
,
showDialog
:
!
1
,
conditionObj
:{
completed
:
""
,
overdue
:
""
},
completedOptions
:[{
label
:
"已完成"
,
value
:
"1"
},{
label
:
"未完成"
,
value
:
"0"
}],
overOptions
:[{
label
:
"已逾期"
,
value
:
"1"
},{
label
:
"未逾期"
,
value
:
"0"
}],
tableData
:[],
multipleSelection
:[],
dialogVisible
:
!
1
,
currentPage
:
1
,
pageSize
:
20
,
total
:
0
}},
computed
:{},
methods
:{
handleCommand
:
function
(
e
){
this
.
selectRadio
=
e
},
changeSelect
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleSelectionChange
:
function
(
e
){
this
.
multipleSelection
=
e
},
multDel
:
function
(){
if
(
!
this
.
multipleSelection
.
length
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择删除项"
}),
!
1
;
this
.
showDialog
=!
0
},
hideDialog
:
function
(
e
){
if
(
this
.
showDialog
=!
1
,
!
n
()(
e
).
length
)
return
!
1
;
this
.
postMultDel
(
e
)},
postMultDel
:
function
(
e
){
var
t
=
this
,
a
=
{
storeId
:
t
.
conditionObj
.
storeId
,
taskIds
:
t
.
multipleSelection
.
map
(
function
(
e
){
return
e
.
taskId
})
||
""
,
isOverTime
:
t
.
conditionObj
.
overdue
||
""
,
isCompleted
:
t
.
conditionObj
.
completed
||
""
,
reason
:
e
.
reason
,
brandId
:
t
.
activeBrand
,
isAll
:
t
.
selectRadio
};
Object
(
c
.
e
)(
"/haoban-app-tel-task-web/task/batch-del-clerk-task-list"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
u
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
t
.
getTableList
();
d
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getTableList
()},
handleDel
:
function
(
e
,
t
){
var
a
=
this
;
a
.
$confirm
(
"确认要删除吗?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
postDel
(
e
,
t
)}).
catch
(
function
(){})},
postDel
:
function
(
e
,
t
){
var
a
=
this
,
o
=
{
taskId
:
t
.
taskId
,
brandId
:
a
.
activeBrand
};
Object
(
c
.
a
)(
"/haoban-app-tel-task-web/task/del-one"
,
o
).
then
(
function
(
t
){
var
o
=
t
.
data
;
if
(
1
==
o
.
errorCode
)
return
u
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
a
.
tableData
.
splice
(
e
,
1
);
d
.
a
.
errorMsg
(
o
)}).
catch
(
function
(
e
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handlePreview
:
function
(
e
,
t
){
this
.
postPreview
(
e
,
t
)},
postPreview
:
function
(
e
,
t
){
var
a
=
""
+
t
.
taskId
;
this
.
$refs
.
qrcodePreview
.
qrcode
(
a
,
"task"
),
this
.
dialogVisible
=!
0
},
getTableList
:
function
(
e
){
var
t
=
this
,
a
=
{
storeId
:
t
.
conditionObj
.
storeId
||
""
,
isOverTime
:
t
.
conditionObj
.
overdue
||
""
,
isCompleted
:
t
.
conditionObj
.
completed
||
""
,
pageNum
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
,
brandId
:
t
.
activeBrand
};
Object
(
c
.
a
)(
"/haoban-app-tel-task-web/task/clerk-task-list"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
t
.
tableData
=
a
.
result
.
list
||
[],
void
(
t
.
total
=
a
.
result
.
pageInfo
.
total
);
d
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
brandId
:
function
(
e
,
t
){
e
&&
(
this
.
activeBrand
=
e
,
this
.
getTableList
())}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
"1"
),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
activeBrand
=
this
.
brandId
,
this
.
conditionObj
.
storeId
=
this
.
$route
.
query
.
storeId
,
this
.
brandId
&&
this
.
getTableList
()},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
l
.
a
,
commonDetailTop
:
i
.
a
,
multipleDel
:
s
.
a
,
qrcodeDialog
:
r
.
a
}},
p
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
a
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
e
.
topMenuData
,
activeId
:
e
.
activeId
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"daily-set-content boder-box"
},[
a
(
"div"
,{
staticClass
:
"table-condition flex flex-space-between m-b-23"
},[
a
(
"div"
,{
staticClass
:
"table-condition-left"
},[
a
(
"el-select"
,{
staticClass
:
"w-105"
,
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
e
.
changeSelect
},
model
:{
value
:
e
.
conditionObj
.
completed
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"completed"
,
t
)},
expression
:
"conditionObj.completed"
}},
e
.
_l
(
e
.
completedOptions
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})})),
a
(
"el-select"
,{
staticClass
:
"w-105 m-l-10"
,
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
e
.
changeSelect
},
model
:{
value
:
e
.
conditionObj
.
overdue
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"overdue"
,
t
)},
expression
:
"conditionObj.overdue"
}},
e
.
_l
(
e
.
overOptions
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"table-condition-right"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"danger"
},
on
:{
click
:
e
.
multDel
}},[
e
.
_v
(
"批量删除"
)])],
1
)]),
e
.
_v
(
" "
),
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
,
minHeight
:
e
.
tableH
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
},
on
:{
"selection-change"
:
e
.
handleSelectionChange
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
width
:
"35"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
width
:
"25"
},
scopedSlots
:
e
.
_u
([{
key
:
"header"
,
fn
:
function
(
t
){
return
[
a
(
"el-dropdown"
,{
staticStyle
:{
"line-height"
:
"10px"
,
padding
:
"0"
,
"margin-left"
:
"-15px"
,
transform
:
"translateY(4px)"
,
"-webkit-transform"
:
"translateY(4px)"
},
attrs
:{
placement
:
"bottom-start"
},
on
:{
command
:
e
.
handleCommand
}},[
a
(
"span"
,{
staticClass
:
"el-dropdown-link"
},[
a
(
"i"
,{
staticClass
:
"el-icon-arrow-down el-icon--right"
})]),
e
.
_v
(
" "
),
a
(
"el-dropdown-menu"
,{
attrs
:{
slot
:
"dropdown"
},
slot
:
"dropdown"
},[
a
(
"el-dropdown-item"
,{
attrs
:{
command
:
"0"
}},[
a
(
"span"
,{
style
:{
color
:
0
==
e
.
selectRadio
?
"#1890ff"
:
"#606266"
}},[
e
.
_v
(
"选择当页"
)])]),
e
.
_v
(
" "
),
a
(
"el-dropdown-item"
,{
attrs
:{
command
:
"1"
}},[
a
(
"span"
,{
style
:{
color
:
1
==
e
.
selectRadio
?
"#1890ff"
:
"#606266"
}},[
e
.
_v
(
"选择全部"
)])])],
1
)],
1
)]}},{
key
:
"default"
,
fn
:
function
(
e
){}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"指派对象"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"flex flex-pack-center flex-start"
},[
a
(
"div"
,{
class
:[
"image-wrap flex flex-align-center flex-pack-center"
,
t
.
row
.
headImgUrl
?
"bg-eceaeb"
:
"bg-82c5ff"
]},[
t
.
row
.
headImgUrl
?
a
(
"img"
,{
attrs
:{
src
:
t
.
row
.
headImgUrl
,
alt
:
""
}}):
a
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"clerk-info flex flex-column flex-space-between m-l-16"
},[
a
(
"p"
,{
staticClass
:
"font-14 color-303133"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
clerkName
))]),
e
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"font-14 color-909399"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
clerkPhone
))])])])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"任务类型"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
"0"
==
t
.
row
.
taskType
?
"不良评价"
:
"话务任务"
))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"创建时间"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeYMD"
)(
t
.
row
.
createTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeHMS"
)(
t
.
row
.
createTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"完成期限"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeYMD"
)(
t
.
row
.
lastTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeHMS"
)(
t
.
row
.
lastTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"逾期情况"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
isOverTime
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"完成情况"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
isCompleted
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"完成时间"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeYMD"
)(
t
.
row
.
finishTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeHMS"
)(
t
.
row
.
finishTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"完成备注"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
"3"
!=
t
.
row
.
taskStatus
&&
"1"
!=
t
.
row
.
taskStatus
?
a
(
"el-popover"
,{
attrs
:{
placement
:
"top-start"
,
title
:
""
,
width
:
"200"
,
trigger
:
"hover"
,
content
:
"3"
!=
t
.
row
.
taskStatus
?
t
.
row
.
reason
:
""
}},[
a
(
"i"
,{
staticClass
:
"iconfont icon-beizhu"
,
staticStyle
:{
"font-size"
:
"40px"
},
attrs
:{
slot
:
"reference"
},
slot
:
"reference"
})]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"放弃备注"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
"3"
==
t
.
row
.
taskStatus
?
a
(
"el-popover"
,{
attrs
:{
placement
:
"top-start"
,
title
:
""
,
width
:
"200"
,
trigger
:
"hover"
,
content
:
"3"
==
t
.
row
.
taskStatus
?
t
.
row
.
reason
:
""
}},[
a
(
"i"
,{
staticClass
:
"iconfont icon-beizhu"
,
staticStyle
:{
"font-size"
:
"40px"
},
attrs
:{
slot
:
"reference"
},
slot
:
"reference"
})]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
e
.
handleDel
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"删除"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
e
.
handlePreview
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"预览"
)])]}}])})],
1
),
e
.
_v
(
" "
),
0
!=
e
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
e
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
a
(
"multiple-del"
,{
attrs
:{
showDialog
:
e
.
showDialog
,
detailFlag
:
!
0
},
on
:{
hideDialog
:
e
.
hideDialog
}}),
e
.
_v
(
" "
),
a
(
"qrcode-dialog"
,{
ref
:
"qrcodePreview"
,
model
:{
value
:
e
.
dialogVisible
,
callback
:
function
(
t
){
e
.
dialogVisible
=
t
},
expression
:
"dialogVisible"
}})],
1
)},
staticRenderFns
:[]};
var
m
=
a
(
"VU/8"
)(
f
,
p
,
!
1
,
function
(
e
){
a
(
"0kG1"
)},
"data-v-48fef2e3"
,
null
);
t
.
default
=
m
.
exports
}});
\ No newline at end of file
dist/static/js/5
7.a572a9ffb3ed29596ba0
.js
→
dist/static/js/5
5.c423570fcbf037d349d9
.js
View file @
35fc15c1
webpackJsonp
([
57
],{
UcYd
:
function
(
t
,
e
){},
Y8F9
:
function
(
t
,
e
,
n
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
n
(
"2eFk"
),
s
=
n
(
"Ke24"
),
i
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
activeBrandId
:
this
.
brandId
,
topMenuData
:[{
id
:
"1"
,
name
:
"系统报表"
}],
activeId
:
"1"
}},
computed
:{},
methods
:{
toEdit
:
function
(){
this
.
$router
.
push
(
"/systemReportSet?brandId="
+
this
.
activeBrandId
+
"&appIcon="
+
this
.
$route
.
query
.
appIcon
)}},
watch
:{
brandId
:
function
(
t
,
e
){
this
.
activeBrandId
=
t
}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
$emit
(
"showTab"
,
"211"
),
this
.
activeBrandId
=
this
.
brandId
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
a
.
a
,
commonDetailTop
:
s
.
a
}},
o
=
{
render
:
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"system-set-wrap"
},[
e
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
this
.
topMenuData
,
activeId
:
this
.
activeId
}}),
this
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"system-set-content boder-box"
},[
e
(
"div"
,{
staticClass
:
"system-set-cell"
},[
e
(
"div"
,{
staticClass
:
"font-14 color-606266"
},[
this
.
_v
(
"云日报系统报表:提供系统能够智能识别的指标(例如:销售额、达成率等),配置成报表融入云日报上报模板中"
)]),
this
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"m-t-30"
},[
e
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
this
.
toEdit
}},[
this
.
_v
(
"编辑模板"
)])],
1
)])])],
1
)},
staticRenderFns
:[]};
var
d
=
n
(
"VU/8"
)(
i
,
o
,
!
1
,
function
(
t
){
n
(
"UcYd"
)},
"data-v-47668b06"
,
null
);
e
.
default
=
d
.
exports
}});
\ No newline at end of file
webpackJsonp
([
55
],{
UcYd
:
function
(
t
,
e
){},
Y8F9
:
function
(
t
,
e
,
n
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
n
(
"2eFk"
),
s
=
n
(
"Ke24"
),
i
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
activeBrandId
:
this
.
brandId
,
topMenuData
:[{
id
:
"1"
,
name
:
"系统报表"
}],
activeId
:
"1"
}},
computed
:{},
methods
:{
toEdit
:
function
(){
this
.
$router
.
push
(
"/systemReportSet?brandId="
+
this
.
activeBrandId
+
"&appIcon="
+
this
.
$route
.
query
.
appIcon
)}},
watch
:{
brandId
:
function
(
t
,
e
){
this
.
activeBrandId
=
t
}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
$emit
(
"showTab"
,
"211"
),
this
.
activeBrandId
=
this
.
brandId
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
a
.
a
,
commonDetailTop
:
s
.
a
}},
o
=
{
render
:
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"system-set-wrap"
},[
e
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
this
.
topMenuData
,
activeId
:
this
.
activeId
}}),
this
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"system-set-content boder-box"
},[
e
(
"div"
,{
staticClass
:
"system-set-cell"
},[
e
(
"div"
,{
staticClass
:
"font-14 color-606266"
},[
this
.
_v
(
"云日报系统报表:提供系统能够智能识别的指标(例如:销售额、达成率等),配置成报表融入云日报上报模板中"
)]),
this
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"m-t-30"
},[
e
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
this
.
toEdit
}},[
this
.
_v
(
"编辑模板"
)])],
1
)])])],
1
)},
staticRenderFns
:[]};
var
d
=
n
(
"VU/8"
)(
i
,
o
,
!
1
,
function
(
t
){
n
(
"UcYd"
)},
"data-v-47668b06"
,
null
);
e
.
default
=
d
.
exports
}});
\ No newline at end of file
dist/static/js/5
8.75a744a198b1c4cd5c77
.js
→
dist/static/js/5
6.03f9fa2efa7f832146f1
.js
View file @
35fc15c1
webpackJsonp
([
58
],{
H8Kg
:
function
(
t
,
e
,
i
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
s
=
{
name
:
"image-com"
,
props
:{
childItem
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}},
methods
:{
getZhLen
:
function
(
t
){
for
(
var
e
=
0
,
i
=
0
;
i
<
t
.
length
;
i
++
){
null
!=
t
.
charAt
(
i
).
match
(
/
[^\x
00-
\x
ff
]
/gi
)?
e
+=
1
:
e
+=
.
5
}
return
Math
.
ceil
(
e
)}}},
a
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"div"
,{
staticClass
:
"image-com"
},[
i
(
"div"
,{
class
:[
"opencard-item-title"
,
t
.
getZhLen
(
t
.
childItem
.
title
)
>=
6
?
"title-pre-wrap"
:
""
]},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
title
))]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"must"
},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
isMust
?
"(必填)"
:
""
))]),
t
.
_v
(
" "
),
t
.
_m
(
0
)])},
staticRenderFns
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"draged-item-show"
},[
e
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag select-flag"
},[
e
(
"i"
,{
staticClass
:
"iconfont icon-icon"
})])])}]};
var
n
=
i
(
"VU/8"
)(
s
,
a
,
!
1
,
function
(
t
){
i
(
"SvI+"
)},
"data-v-3f076bb1"
,
null
);
e
.
default
=
n
.
exports
},
"SvI+"
:
function
(
t
,
e
){}});
\ No newline at end of file
webpackJsonp
([
56
],{
H8Kg
:
function
(
t
,
e
,
i
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
s
=
{
name
:
"image-com"
,
props
:{
childItem
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}},
methods
:{
getZhLen
:
function
(
t
){
for
(
var
e
=
0
,
i
=
0
;
i
<
t
.
length
;
i
++
){
null
!=
t
.
charAt
(
i
).
match
(
/
[^\x
00-
\x
ff
]
/gi
)?
e
+=
1
:
e
+=
.
5
}
return
Math
.
ceil
(
e
)}}},
a
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"div"
,{
staticClass
:
"image-com"
},[
i
(
"div"
,{
class
:[
"opencard-item-title"
,
t
.
getZhLen
(
t
.
childItem
.
title
)
>=
6
?
"title-pre-wrap"
:
""
]},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
title
))]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"must"
},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
isMust
?
"(必填)"
:
""
))]),
t
.
_v
(
" "
),
t
.
_m
(
0
)])},
staticRenderFns
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"draged-item-show"
},[
e
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag select-flag"
},[
e
(
"i"
,{
staticClass
:
"iconfont icon-icon"
})])])}]};
var
n
=
i
(
"VU/8"
)(
s
,
a
,
!
1
,
function
(
t
){
i
(
"SvI+"
)},
"data-v-3f076bb1"
,
null
);
e
.
default
=
n
.
exports
},
"SvI+"
:
function
(
t
,
e
){}});
\ No newline at end of file
dist/static/js/5
9.e232c753f68c56d9e59c
.js
→
dist/static/js/5
7.ec64d57876772f26c560
.js
View file @
35fc15c1
webpackJsonp
([
59
],{
K4js
:
function
(
e
,
t
){},
jMbb
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"fZjL"
),
o
=
a
.
n
(
n
),
i
=
a
(
"Ke24"
),
l
=
a
(
"LRn8"
),
s
=
a
(
"P9l9"
),
r
=
a
(
"Ch4/"
),
c
=
a
(
"3E4D"
),
d
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
filters
:{
formatTimeYMD
:
function
(
e
){
return
e
&&
"- -"
!=
e
?
e
.
split
(
" "
)[
0
]:
"--"
},
formatTimeHMS
:
function
(
e
){
return
e
&&
"- -"
!=
e
?
e
.
split
(
" "
)[
1
]:
"--"
}},
data
:
function
(){
return
{
tableH
:
window
.
screen
.
availHeight
-
464
-
126
,
activeId
:
"3"
,
activeBrand
:
this
.
brandId
,
topMenuData
:[{
id
:
"1"
,
name
:
"指标管理"
,
path
:
"/monthList?appIcon="
+
this
.
$route
.
query
.
appIcon
},{
id
:
"2"
,
name
:
"月指标任务"
,
path
:
"/monthTask?appIcon="
+
this
.
$route
.
query
.
appIcon
},{
id
:
"3"
,
name
:
"月指标任务详情"
,
path
:
""
}],
selectRadio
:
0
,
showDialog
:
!
1
,
conditionObj
:{
isCompleted
:
""
,
isOverTime
:
""
,
dateRange
:[]},
completedOptions
:[{
label
:
"完成情况"
,
value
:
""
},{
label
:
"已完成"
,
value
:
"1"
},{
label
:
"未完成"
,
value
:
"0"
}],
overOptions
:[{
label
:
"逾期情况"
,
value
:
""
},{
label
:
"已逾期"
,
value
:
"1"
},{
label
:
"未逾期"
,
value
:
"0"
}],
tableData
:[],
multipleSelection
:[],
dialogVisible
:
!
1
,
currentPage
:
1
,
pageSize
:
20
,
total
:
0
}},
computed
:{},
methods
:{
init
:
function
(){
var
e
=
this
.
$route
.
query
.
startDate
,
t
=
this
.
$route
.
query
.
endDate
;
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
$emit
(
"showTab"
,
"13"
),
this
.
activeBrand
=
this
.
brandId
,
this
.
conditionObj
.
storeId
=
this
.
$route
.
query
.
storeId
,
this
.
conditionObj
.
dateRange
=
t
?[
e
,
t
]:[],
this
.
brandId
&&
this
.
getTableList
()},
selectInit
:
function
(
e
,
t
){
return
0
!=
e
.
removeAble
},
handleCommand
:
function
(
e
){
this
.
selectRadio
=
e
},
selectBrandId
:
function
(
e
){
this
.
activeBrand
=
e
},
setSelectTab
:
function
(
e
){
this
.
activeTab
=
e
.
tabId
},
changeSelect
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
changeDate
:
function
(
e
){
e
||
(
this
.
conditionObj
.
dateRange
=
[]),
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleSelectionChange
:
function
(
e
){
this
.
multipleSelection
=
e
},
multDel
:
function
(){
if
(
!
this
.
multipleSelection
.
length
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择删除项"
}),
!
1
;
this
.
showDialog
=!
0
},
hideDialog
:
function
(
e
){
if
(
this
.
showDialog
=!
1
,
!
o
()(
e
).
length
)
return
!
1
;
this
.
postMultDel
(
e
)},
postMultDel
:
function
(
e
){
var
t
=
this
,
a
=
{
storeId
:
t
.
conditionObj
.
storeId
,
taskIds
:
t
.
multipleSelection
.
map
(
function
(
e
){
return
e
.
taskId
}).
join
(
","
)
||
""
,
isOverTime
:
t
.
conditionObj
.
isOverTime
||
""
,
isCompleted
:
t
.
conditionObj
.
isCompleted
||
""
,
reason
:
e
.
reason
,
startDate
:
t
.
conditionObj
.
dateRange
[
0
]
||
""
,
endDate
:
t
.
conditionObj
.
dateRange
[
1
]
||
""
,
brandId
:
t
.
activeBrand
,
isAll
:
t
.
selectRadio
};
Object
(
s
.
e
)(
"/haoban-app-performance-web/performance/batch-remove-clerk-month-performance-task"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
c
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
t
.
getTableList
();
r
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getTableList
()},
handleDel
:
function
(
e
,
t
){
var
a
=
this
;
this
.
$confirm
(
"确认要删除吗?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
postDel
(
e
,
t
)}).
catch
(
function
(){})},
postDel
:
function
(
e
,
t
){
var
a
=
this
,
n
=
{
taskId
:
t
.
taskId
,
brandId
:
this
.
activeBrand
};
Object
(
s
.
a
)(
"/haoban-app-performance-web/performance/remove-clerk-month-performance-task"
,
n
).
then
(
function
(
t
){
var
n
=
t
.
data
;
if
(
1
==
n
.
errorCode
)
return
a
.
total
--
,
a
.
tableData
.
splice
(
e
,
1
),
0
==
a
.
tableData
.
length
&&
(
a
.
currentPage
>
1
?(
a
.
currentPage
--
,
a
.
getTableList
()):
a
.
total
>
0
&&
a
.
getTableList
()),
void
a
.
$message
.
success
(
"删除成功"
);
r
.
a
.
errorMsg
(
n
)}).
catch
(
function
(
e
){
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getTableList
:
function
(
e
){
var
t
=
this
,
a
=
{
storeId
:
t
.
conditionObj
.
storeId
||
""
,
isOverTime
:
t
.
conditionObj
.
isOverTime
||
""
,
isCompleted
:
t
.
conditionObj
.
isCompleted
||
""
,
startDate
:
t
.
conditionObj
.
dateRange
[
0
]
||
""
,
endDate
:
t
.
conditionObj
.
dateRange
[
1
]
||
""
,
pageNum
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
,
brandId
:
t
.
activeBrand
};
Object
(
s
.
a
)(
"/haoban-app-performance-web/performance/query-clerk-month-performance-task"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
t
.
tableData
=
a
.
result
.
list
||
[],
void
(
t
.
total
=
a
.
result
.
pageInfo
.
total
);
r
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
brandId
:
function
(
e
,
t
){
e
&&
(
this
.
activeBrand
=
e
,
this
.
getTableList
())}},
activated
:
function
(){
this
.
init
()},
mounted
:
function
(){
this
.
init
()},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
commonDetailTop
:
i
.
a
,
multipleDel
:
l
.
a
}},
u
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap common-right-wrap"
},[
a
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
e
.
topMenuData
,
activeId
:
e
.
activeId
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"daily-set-content boder-box"
},[
a
(
"div"
,{
staticClass
:
"table-condition flex flex-space-between m-b-23"
},[
a
(
"div"
,{
staticClass
:
"table-condition-left"
},[
a
(
"el-select"
,{
staticClass
:
"w-105 m-l-10"
,
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
e
.
changeSelect
},
model
:{
value
:
e
.
conditionObj
.
isOverTime
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"isOverTime"
,
t
)},
expression
:
"conditionObj.isOverTime"
}},
e
.
_l
(
e
.
overOptions
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})})),
e
.
_v
(
" "
),
a
(
"el-select"
,{
staticClass
:
"w-105 m-l-10"
,
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
e
.
changeSelect
},
model
:{
value
:
e
.
conditionObj
.
isCompleted
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"isCompleted"
,
t
)},
expression
:
"conditionObj.isCompleted"
}},
e
.
_l
(
e
.
completedOptions
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})})),
e
.
_v
(
" "
),
a
(
"el-date-picker"
,{
staticClass
:
"m-l-10"
,
staticStyle
:{
width
:
"310px"
},
attrs
:{
editable
:
!
1
,
"value-format"
:
"yyyy-MM"
,
type
:
"monthrange"
,
align
:
"right"
,
"unlink-panels"
:
""
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始月份"
,
"end-placeholder"
:
"结束月份"
},
on
:{
change
:
e
.
changeDate
},
model
:{
value
:
e
.
conditionObj
.
dateRange
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"dateRange"
,
t
)},
expression
:
"conditionObj.dateRange"
}})],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"table-condition-right"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"danger"
},
on
:{
click
:
e
.
multDel
}},[
e
.
_v
(
"批量删除"
)])],
1
)]),
e
.
_v
(
" "
),
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
},
on
:{
"selection-change"
:
e
.
handleSelectionChange
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
width
:
"35"
,
selectable
:
e
.
selectInit
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
width
:
"25"
},
scopedSlots
:
e
.
_u
([{
key
:
"header"
,
fn
:
function
(
t
){
return
[
a
(
"el-dropdown"
,{
staticStyle
:{
"line-height"
:
"10px"
,
padding
:
"0"
,
"margin-left"
:
"-15px"
,
transform
:
"translateY(4px)"
,
"-webkit-transform"
:
"translateY(4px)"
},
attrs
:{
placement
:
"bottom-start"
},
on
:{
command
:
e
.
handleCommand
}},[
a
(
"span"
,{
staticClass
:
"el-dropdown-link"
},[
a
(
"i"
,{
staticClass
:
"el-icon-arrow-down el-icon--right"
})]),
e
.
_v
(
" "
),
a
(
"el-dropdown-menu"
,{
attrs
:{
slot
:
"dropdown"
},
slot
:
"dropdown"
},[
a
(
"el-dropdown-item"
,{
attrs
:{
command
:
"0"
}},[
a
(
"span"
,{
style
:{
color
:
0
==
e
.
selectRadio
?
"#1890ff"
:
"#606266"
}},[
e
.
_v
(
"选择当页"
)])]),
e
.
_v
(
" "
),
a
(
"el-dropdown-item"
,{
attrs
:{
command
:
"1"
}},[
a
(
"span"
,{
style
:{
color
:
1
==
e
.
selectRadio
?
"#1890ff"
:
"#606266"
}},[
e
.
_v
(
"选择全部"
)])])],
1
)],
1
)]}},{
key
:
"default"
,
fn
:
function
(
e
){}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"指派对象"
,
width
:
"260"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"flex flex-pack-center flex-start"
},[
a
(
"div"
,{
class
:[
"image-wrap flex flex-align-center flex-pack-center"
,
t
.
row
.
headImgUrl
?
"bg-eceaeb"
:
"bg-82c5ff"
]},[
t
.
row
.
headImgUrl
?
a
(
"img"
,{
attrs
:{
src
:
t
.
row
.
headImgUrl
,
alt
:
""
}}):
a
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"clerk-info flex flex-column flex-space-between m-l-16"
},[
a
(
"p"
,{
staticClass
:
"first-item font-14 color-303133"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
clerkName
))]),
e
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"font-14 color-909399"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
clerkPhone
))])])])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"创建时间"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeYMD"
)(
t
.
row
.
createTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-909399"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeHMS"
)(
t
.
row
.
createTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"完成期限"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeYMD"
)(
t
.
row
.
lastTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-909399"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeHMS"
)(
t
.
row
.
lastTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"逾期情况"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
isOverTime
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"完成情况"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
isCompleted
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"完成时间"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeYMD"
)(
t
.
row
.
finishTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-909399"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeHMS"
)(
t
.
row
.
finishTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
width
:
"100"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
1
==
t
.
row
.
removeAble
?
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
e
.
handleDel
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"删除"
)]):
a
(
"span"
,[
e
.
_v
(
"--"
)])]}}])})],
1
),
e
.
_v
(
" "
),
0
!=
e
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
e
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
a
(
"multiple-del"
,{
attrs
:{
showDialog
:
e
.
showDialog
,
detailFlag
:
!
0
,
detailShowFlag
:
!
0
},
on
:{
hideDialog
:
e
.
hideDialog
}})],
1
)},
staticRenderFns
:[]};
var
m
=
a
(
"VU/8"
)(
d
,
u
,
!
1
,
function
(
e
){
a
(
"K4js"
)},
"data-v-38b15839"
,
null
);
t
.
default
=
m
.
exports
}});
\ No newline at end of file
webpackJsonp
([
57
],{
K4js
:
function
(
e
,
t
){},
jMbb
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"fZjL"
),
o
=
a
.
n
(
n
),
i
=
a
(
"Ke24"
),
l
=
a
(
"LRn8"
),
s
=
a
(
"P9l9"
),
r
=
a
(
"Ch4/"
),
c
=
a
(
"3E4D"
),
d
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
filters
:{
formatTimeYMD
:
function
(
e
){
return
e
&&
"- -"
!=
e
?
e
.
split
(
" "
)[
0
]:
"--"
},
formatTimeHMS
:
function
(
e
){
return
e
&&
"- -"
!=
e
?
e
.
split
(
" "
)[
1
]:
"--"
}},
data
:
function
(){
return
{
tableH
:
window
.
screen
.
availHeight
-
464
-
126
,
activeId
:
"3"
,
activeBrand
:
this
.
brandId
,
topMenuData
:[{
id
:
"1"
,
name
:
"指标管理"
,
path
:
"/monthList?appIcon="
+
this
.
$route
.
query
.
appIcon
},{
id
:
"2"
,
name
:
"月指标任务"
,
path
:
"/monthTask?appIcon="
+
this
.
$route
.
query
.
appIcon
},{
id
:
"3"
,
name
:
"月指标任务详情"
,
path
:
""
}],
selectRadio
:
0
,
showDialog
:
!
1
,
conditionObj
:{
isCompleted
:
""
,
isOverTime
:
""
,
dateRange
:[]},
completedOptions
:[{
label
:
"完成情况"
,
value
:
""
},{
label
:
"已完成"
,
value
:
"1"
},{
label
:
"未完成"
,
value
:
"0"
}],
overOptions
:[{
label
:
"逾期情况"
,
value
:
""
},{
label
:
"已逾期"
,
value
:
"1"
},{
label
:
"未逾期"
,
value
:
"0"
}],
tableData
:[],
multipleSelection
:[],
dialogVisible
:
!
1
,
currentPage
:
1
,
pageSize
:
20
,
total
:
0
}},
computed
:{},
methods
:{
init
:
function
(){
var
e
=
this
.
$route
.
query
.
startDate
,
t
=
this
.
$route
.
query
.
endDate
;
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
$emit
(
"showTab"
,
"13"
),
this
.
activeBrand
=
this
.
brandId
,
this
.
conditionObj
.
storeId
=
this
.
$route
.
query
.
storeId
,
this
.
conditionObj
.
dateRange
=
t
?[
e
,
t
]:[],
this
.
brandId
&&
this
.
getTableList
()},
selectInit
:
function
(
e
,
t
){
return
0
!=
e
.
removeAble
},
handleCommand
:
function
(
e
){
this
.
selectRadio
=
e
},
selectBrandId
:
function
(
e
){
this
.
activeBrand
=
e
},
setSelectTab
:
function
(
e
){
this
.
activeTab
=
e
.
tabId
},
changeSelect
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
changeDate
:
function
(
e
){
e
||
(
this
.
conditionObj
.
dateRange
=
[]),
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleSelectionChange
:
function
(
e
){
this
.
multipleSelection
=
e
},
multDel
:
function
(){
if
(
!
this
.
multipleSelection
.
length
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择删除项"
}),
!
1
;
this
.
showDialog
=!
0
},
hideDialog
:
function
(
e
){
if
(
this
.
showDialog
=!
1
,
!
o
()(
e
).
length
)
return
!
1
;
this
.
postMultDel
(
e
)},
postMultDel
:
function
(
e
){
var
t
=
this
,
a
=
{
storeId
:
t
.
conditionObj
.
storeId
,
taskIds
:
t
.
multipleSelection
.
map
(
function
(
e
){
return
e
.
taskId
}).
join
(
","
)
||
""
,
isOverTime
:
t
.
conditionObj
.
isOverTime
||
""
,
isCompleted
:
t
.
conditionObj
.
isCompleted
||
""
,
reason
:
e
.
reason
,
startDate
:
t
.
conditionObj
.
dateRange
[
0
]
||
""
,
endDate
:
t
.
conditionObj
.
dateRange
[
1
]
||
""
,
brandId
:
t
.
activeBrand
,
isAll
:
t
.
selectRadio
};
Object
(
s
.
e
)(
"/haoban-app-performance-web/performance/batch-remove-clerk-month-performance-task"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
c
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
t
.
getTableList
();
r
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getTableList
()},
handleDel
:
function
(
e
,
t
){
var
a
=
this
;
this
.
$confirm
(
"确认要删除吗?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
postDel
(
e
,
t
)}).
catch
(
function
(){})},
postDel
:
function
(
e
,
t
){
var
a
=
this
,
n
=
{
taskId
:
t
.
taskId
,
brandId
:
this
.
activeBrand
};
Object
(
s
.
a
)(
"/haoban-app-performance-web/performance/remove-clerk-month-performance-task"
,
n
).
then
(
function
(
t
){
var
n
=
t
.
data
;
if
(
1
==
n
.
errorCode
)
return
a
.
total
--
,
a
.
tableData
.
splice
(
e
,
1
),
0
==
a
.
tableData
.
length
&&
(
a
.
currentPage
>
1
?(
a
.
currentPage
--
,
a
.
getTableList
()):
a
.
total
>
0
&&
a
.
getTableList
()),
void
a
.
$message
.
success
(
"删除成功"
);
r
.
a
.
errorMsg
(
n
)}).
catch
(
function
(
e
){
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getTableList
:
function
(
e
){
var
t
=
this
,
a
=
{
storeId
:
t
.
conditionObj
.
storeId
||
""
,
isOverTime
:
t
.
conditionObj
.
isOverTime
||
""
,
isCompleted
:
t
.
conditionObj
.
isCompleted
||
""
,
startDate
:
t
.
conditionObj
.
dateRange
[
0
]
||
""
,
endDate
:
t
.
conditionObj
.
dateRange
[
1
]
||
""
,
pageNum
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
,
brandId
:
t
.
activeBrand
};
Object
(
s
.
a
)(
"/haoban-app-performance-web/performance/query-clerk-month-performance-task"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
t
.
tableData
=
a
.
result
.
list
||
[],
void
(
t
.
total
=
a
.
result
.
pageInfo
.
total
);
r
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
brandId
:
function
(
e
,
t
){
e
&&
(
this
.
activeBrand
=
e
,
this
.
getTableList
())}},
activated
:
function
(){
this
.
init
()},
mounted
:
function
(){
this
.
init
()},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
commonDetailTop
:
i
.
a
,
multipleDel
:
l
.
a
}},
u
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap common-right-wrap"
},[
a
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
e
.
topMenuData
,
activeId
:
e
.
activeId
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"daily-set-content boder-box"
},[
a
(
"div"
,{
staticClass
:
"table-condition flex flex-space-between m-b-23"
},[
a
(
"div"
,{
staticClass
:
"table-condition-left"
},[
a
(
"el-select"
,{
staticClass
:
"w-105 m-l-10"
,
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
e
.
changeSelect
},
model
:{
value
:
e
.
conditionObj
.
isOverTime
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"isOverTime"
,
t
)},
expression
:
"conditionObj.isOverTime"
}},
e
.
_l
(
e
.
overOptions
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})})),
e
.
_v
(
" "
),
a
(
"el-select"
,{
staticClass
:
"w-105 m-l-10"
,
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
e
.
changeSelect
},
model
:{
value
:
e
.
conditionObj
.
isCompleted
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"isCompleted"
,
t
)},
expression
:
"conditionObj.isCompleted"
}},
e
.
_l
(
e
.
completedOptions
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})})),
e
.
_v
(
" "
),
a
(
"el-date-picker"
,{
staticClass
:
"m-l-10"
,
staticStyle
:{
width
:
"310px"
},
attrs
:{
editable
:
!
1
,
"value-format"
:
"yyyy-MM"
,
type
:
"monthrange"
,
align
:
"right"
,
"unlink-panels"
:
""
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始月份"
,
"end-placeholder"
:
"结束月份"
},
on
:{
change
:
e
.
changeDate
},
model
:{
value
:
e
.
conditionObj
.
dateRange
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"dateRange"
,
t
)},
expression
:
"conditionObj.dateRange"
}})],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"table-condition-right"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"danger"
},
on
:{
click
:
e
.
multDel
}},[
e
.
_v
(
"批量删除"
)])],
1
)]),
e
.
_v
(
" "
),
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
},
on
:{
"selection-change"
:
e
.
handleSelectionChange
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
width
:
"35"
,
selectable
:
e
.
selectInit
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
width
:
"25"
},
scopedSlots
:
e
.
_u
([{
key
:
"header"
,
fn
:
function
(
t
){
return
[
a
(
"el-dropdown"
,{
staticStyle
:{
"line-height"
:
"10px"
,
padding
:
"0"
,
"margin-left"
:
"-15px"
,
transform
:
"translateY(4px)"
,
"-webkit-transform"
:
"translateY(4px)"
},
attrs
:{
placement
:
"bottom-start"
},
on
:{
command
:
e
.
handleCommand
}},[
a
(
"span"
,{
staticClass
:
"el-dropdown-link"
},[
a
(
"i"
,{
staticClass
:
"el-icon-arrow-down el-icon--right"
})]),
e
.
_v
(
" "
),
a
(
"el-dropdown-menu"
,{
attrs
:{
slot
:
"dropdown"
},
slot
:
"dropdown"
},[
a
(
"el-dropdown-item"
,{
attrs
:{
command
:
"0"
}},[
a
(
"span"
,{
style
:{
color
:
0
==
e
.
selectRadio
?
"#1890ff"
:
"#606266"
}},[
e
.
_v
(
"选择当页"
)])]),
e
.
_v
(
" "
),
a
(
"el-dropdown-item"
,{
attrs
:{
command
:
"1"
}},[
a
(
"span"
,{
style
:{
color
:
1
==
e
.
selectRadio
?
"#1890ff"
:
"#606266"
}},[
e
.
_v
(
"选择全部"
)])])],
1
)],
1
)]}},{
key
:
"default"
,
fn
:
function
(
e
){}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"指派对象"
,
width
:
"260"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"flex flex-pack-center flex-start"
},[
a
(
"div"
,{
class
:[
"image-wrap flex flex-align-center flex-pack-center"
,
t
.
row
.
headImgUrl
?
"bg-eceaeb"
:
"bg-82c5ff"
]},[
t
.
row
.
headImgUrl
?
a
(
"img"
,{
attrs
:{
src
:
t
.
row
.
headImgUrl
,
alt
:
""
}}):
a
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"clerk-info flex flex-column flex-space-between m-l-16"
},[
a
(
"p"
,{
staticClass
:
"first-item font-14 color-303133"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
clerkName
))]),
e
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"font-14 color-909399"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
clerkPhone
))])])])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"创建时间"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeYMD"
)(
t
.
row
.
createTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-909399"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeHMS"
)(
t
.
row
.
createTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"完成期限"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeYMD"
)(
t
.
row
.
lastTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-909399"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeHMS"
)(
t
.
row
.
lastTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"逾期情况"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
isOverTime
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"完成情况"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
isCompleted
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"完成时间"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeYMD"
)(
t
.
row
.
finishTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-909399"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeHMS"
)(
t
.
row
.
finishTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
width
:
"100"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
1
==
t
.
row
.
removeAble
?
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
e
.
handleDel
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"删除"
)]):
a
(
"span"
,[
e
.
_v
(
"--"
)])]}}])})],
1
),
e
.
_v
(
" "
),
0
!=
e
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
e
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
a
(
"multiple-del"
,{
attrs
:{
showDialog
:
e
.
showDialog
,
detailFlag
:
!
0
,
detailShowFlag
:
!
0
},
on
:{
hideDialog
:
e
.
hideDialog
}})],
1
)},
staticRenderFns
:[]};
var
m
=
a
(
"VU/8"
)(
d
,
u
,
!
1
,
function
(
e
){
a
(
"K4js"
)},
"data-v-38b15839"
,
null
);
t
.
default
=
m
.
exports
}});
\ No newline at end of file
dist/static/js/
60.2a9bebb0261ef9a7a939
.js
→
dist/static/js/
58.f8f6469b19558b91d2af
.js
View file @
35fc15c1
webpackJsonp
([
60
],{
j20f
:
function
(
t
,
e
){},
"s4D+"
:
function
(
t
,
e
,
i
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
l
=
{
name
:
"input-com"
,
props
:{
childItem
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}},
methods
:{
getZhLen
:
function
(
t
){
for
(
var
e
=
0
,
i
=
0
;
i
<
t
.
length
;
i
++
){
null
!=
t
.
charAt
(
i
).
match
(
/
[^\x
00-
\x
ff
]
/gi
)?
e
+=
1
:
e
+=
.
5
}
return
Math
.
ceil
(
e
)}}},
a
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"div"
,{
class
:[
2
==
t
.
childItem
.
type
?
"h-66"
:
""
]},[
9
!=
t
.
childItem
.
type
?
i
(
"div"
,{
class
:[
"opencard-item-title"
,
t
.
getZhLen
(
t
.
childItem
.
title
)
>=
6
?
"title-pre-wrap"
:
""
]},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"draged-item-show"
},[
i
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag"
,
style
:{
"padding-left"
:
9
==
t
.
childItem
.
type
?
"15px"
:
"0"
}},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
placeholder
)
+
" "
+
t
.
_s
(
t
.
childItem
.
isMust
?
"(必填)"
:
""
))])]),
t
.
_v
(
" "
),
10
==
t
.
childItem
.
type
&&
t
.
childItem
.
openCapitalize
?
i
(
"div"
,{
staticClass
:
"show-capitalize font-12 color-909399 p-l-10 border-box"
},[
t
.
_v
(
"大写:壹万元整(示例)"
)]):
t
.
_e
()])},
staticRenderFns
:[]};
var
c
=
i
(
"VU/8"
)(
l
,
a
,
!
1
,
function
(
t
){
i
(
"j20f"
)},
"data-v-37f2cf5d"
,
null
);
e
.
default
=
c
.
exports
}});
\ No newline at end of file
webpackJsonp
([
58
],{
j20f
:
function
(
t
,
e
){},
"s4D+"
:
function
(
t
,
e
,
i
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
l
=
{
name
:
"input-com"
,
props
:{
childItem
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}},
methods
:{
getZhLen
:
function
(
t
){
for
(
var
e
=
0
,
i
=
0
;
i
<
t
.
length
;
i
++
){
null
!=
t
.
charAt
(
i
).
match
(
/
[^\x
00-
\x
ff
]
/gi
)?
e
+=
1
:
e
+=
.
5
}
return
Math
.
ceil
(
e
)}}},
a
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"div"
,{
class
:[
2
==
t
.
childItem
.
type
?
"h-66"
:
""
]},[
9
!=
t
.
childItem
.
type
?
i
(
"div"
,{
class
:[
"opencard-item-title"
,
t
.
getZhLen
(
t
.
childItem
.
title
)
>=
6
?
"title-pre-wrap"
:
""
]},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"draged-item-show"
},[
i
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag"
,
style
:{
"padding-left"
:
9
==
t
.
childItem
.
type
?
"15px"
:
"0"
}},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
placeholder
)
+
" "
+
t
.
_s
(
t
.
childItem
.
isMust
?
"(必填)"
:
""
))])]),
t
.
_v
(
" "
),
10
==
t
.
childItem
.
type
&&
t
.
childItem
.
openCapitalize
?
i
(
"div"
,{
staticClass
:
"show-capitalize font-12 color-909399 p-l-10 border-box"
},[
t
.
_v
(
"大写:壹万元整(示例)"
)]):
t
.
_e
()])},
staticRenderFns
:[]};
var
c
=
i
(
"VU/8"
)(
l
,
a
,
!
1
,
function
(
t
){
i
(
"j20f"
)},
"data-v-37f2cf5d"
,
null
);
e
.
default
=
c
.
exports
}});
\ No newline at end of file
dist/static/js/
61.8833a156f1e38036fb28
.js
→
dist/static/js/
59.014ae5d12d19afa067f5
.js
View file @
35fc15c1
webpackJsonp
([
61
],{
BDbM
:
function
(
t
,
e
){},
"r//C"
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
o
=
a
(
"fZjL"
),
n
=
a
.
n
(
o
),
i
=
a
(
"2eFk"
),
s
=
a
(
"Ie7z"
),
l
=
a
(
"Ke24"
),
r
=
a
(
"LRn8"
),
c
=
a
(
"P9l9"
),
d
=
a
(
"PI0u"
),
u
=
a
(
"3E4D"
),
p
=
a
(
"Ch4/"
),
h
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
activeGroupId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
tableH
:
window
.
screen
.
availHeight
-
464
-
126
,
activeTab
:
"1"
,
activeBrand
:
this
.
brandId
,
activeGroup
:
this
.
activeGroupId
,
topMenuData
:[{
id
:
"1"
,
name
:
"不良评价回访记录"
}],
activeId
:
"1"
,
showDialog
:
!
1
,
conditionObj
:{
searchInput
:
""
,
storeGroup
:[],
storeType
:
""
,
dateRange
:[]},
storeTypeOptions
:[{
value
:
""
,
label
:
"所有"
},{
value
:
"0"
,
label
:
"自营"
},{
value
:
"1"
,
label
:
"联营"
},{
value
:
"2"
,
label
:
"代理"
},{
value
:
"3"
,
label
:
"代销"
},{
value
:
"4"
,
label
:
"托管"
}],
selectRadio
:
0
,
tableData
:[],
multipleSelection
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
appScene
:
2
,
defaultStoreList
:[],
storeTreeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
1
}}},
computed
:{},
methods
:{
handleCommand
:
function
(
t
){
this
.
selectRadio
=
t
},
setSelectTab
:
function
(
t
){
this
.
activeTab
=
t
.
tabId
},
toInput
:
Object
(
d
.
a
)(
function
(
t
,
e
){
this
.
currentPage
=
1
,
this
.
getTableList
()},
500
),
changeStoreType
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
changeDate
:
function
(
t
){
t
||
(
this
.
conditionObj
.
dateRange
=
[]),
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleSelectionChange
:
function
(
t
){
this
.
multipleSelection
=
t
},
delDepart
:
function
(
t
,
e
){
e
.
splice
(
t
,
1
),
this
.
currentPage
=
1
,
this
.
getTableList
()},
multDel
:
function
(){
if
(
!
this
.
multipleSelection
.
length
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择删除项"
}),
!
1
;
this
.
showDialog
=!
0
},
hideDialog
:
function
(
t
){
if
(
this
.
showDialog
=!
1
,
!
n
()(
t
).
length
)
return
!
1
;
this
.
postMultDel
(
t
)},
postMultDel
:
function
(
t
){
var
e
=
this
,
a
=
[],
o
=
[];
e
.
conditionObj
.
storeGroup
.
forEach
(
function
(
t
){
2
==
t
.
type
&&
a
.
push
(
t
.
groupId
),
3
==
t
.
type
&&
o
.
push
(
t
.
storeId
)});
var
n
=
{
search
:
e
.
conditionObj
.
searchInput
||
""
,
filterStoreIds
:
o
.
join
(
","
)
||
""
,
storeIds
:
e
.
multipleSelection
.
map
(
function
(
t
){
return
t
.
storeId
}).
join
(
","
)
||
""
,
storeGroupIds
:
a
.
join
(
","
)
||
""
,
storeType
:
e
.
conditionObj
.
storeType
||
""
,
startDate
:
e
.
conditionObj
.
dateRange
[
0
]
||
""
,
endDate
:
e
.
conditionObj
.
dateRange
[
1
]
||
""
,
brandId
:
e
.
activeBrand
,
delTaskStatus
:
t
.
delOptFlag
,
reason
:
t
.
reason
,
isAll
:
e
.
selectRadio
,
taskType
:
0
};
Object
(
c
.
e
)(
"/haoban-app-tel-task-web/task/batch-del-store-task-list"
,
n
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
u
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
e
.
getTableList
();
p
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
exportExcel
:
function
(){
var
t
=
[],
e
=
[];
this
.
conditionObj
.
storeGroup
.
forEach
(
function
(
a
){
2
==
a
.
type
&&
t
.
push
(
a
.
groupId
),
3
==
a
.
type
&&
e
.
push
(
a
.
storeId
)});
var
a
=
{
search
:
this
.
conditionObj
.
searchInput
||
""
,
filterStoreIds
:
e
.
join
(
","
)
||
""
,
storeGroupIds
:
t
.
join
(
","
)
||
""
,
storeType
:
this
.
conditionObj
.
storeType
||
""
,
startDate
:
this
.
conditionObj
.
dateRange
[
0
]
||
""
,
endDate
:
this
.
conditionObj
.
dateRange
[
1
]
||
""
,
brandId
:
this
.
activeBrand
,
taskType
:
0
},
o
=
"search="
+
a
.
search
+
"&taskType="
+
a
.
taskType
+
"&filterStoreIds="
+
a
.
filterStoreIds
+
"&storeGroupIds="
+
a
.
storeGroupIds
+
"&storeType="
+
a
.
storeType
+
"&startDate="
+
a
.
startDate
+
"&endDate="
+
a
.
endDate
+
"&brandId="
+
a
.
brandId
+
"¤tPage="
+
a
.
currentPage
+
"&pageSize="
+
a
.
pageSize
;
window
.
open
(
window
.
location
.
origin
+
"/haoban-app-tel-task-web/task/export-store-task-list?"
+
o
)},
handleSizeChange
:
function
(
t
){
this
.
pageSize
=
t
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
t
){
this
.
currentPage
=
t
,
this
.
getTableList
()},
showDialogLayer
:
function
(
t
,
e
){
this
.
selectType
=
t
,
this
.
changed
=
t
,
this
.
defaultStoreList
=
e
,
this
.
storeTreeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
1
,
isSelectPerson
:
!
1
}},
handleSelectedList
:
function
(
t
){
this
.
conditionObj
.
storeGroup
=
t
,
this
.
getTableList
()},
toDetail
:
function
(
t
,
e
){
this
.
$router
.
push
(
"taskDetail?storeId="
+
e
.
storeId
)},
getTableList
:
function
(
t
){
var
e
=
this
,
a
=
[],
o
=
[];
e
.
conditionObj
.
storeGroup
.
forEach
(
function
(
t
){
2
==
t
.
type
&&
a
.
push
(
t
.
groupId
),
3
==
t
.
type
&&
o
.
push
(
t
.
storeId
)});
var
n
=
{
search
:
e
.
conditionObj
.
searchInput
||
""
,
filterStoreIds
:
o
.
join
(
","
)
||
""
,
storeGroupIds
:
a
.
join
(
","
)
||
""
,
storeType
:
e
.
conditionObj
.
storeType
||
""
,
startDate
:
e
.
conditionObj
.
dateRange
[
0
]
||
""
,
endDate
:
e
.
conditionObj
.
dateRange
[
1
]
||
""
,
pageNum
:
e
.
currentPage
,
pageSize
:
e
.
pageSize
,
brandId
:
e
.
activeBrand
,
taskType
:
0
};
Object
(
c
.
a
)(
"/haoban-app-tel-task-web/task/store-task-list"
,
n
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
tableData
=
a
.
result
.
list
||
[],
e
.
total
=
a
.
result
.
pageInfo
.
total
,
!
1
;
p
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
brandId
:
function
(
t
,
e
){
t
&&
(
this
.
activeBrand
=
t
,
this
.
getTableList
())},
activeGroupId
:
function
(
t
,
e
){
t
&&
(
this
.
activeGroup
=
t
)}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
activeBrand
=
this
.
brandId
,
this
.
brandId
&&
this
.
getTableList
()},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
i
.
a
,
commonDetailTop
:
l
.
a
,
vueSelectStore
:
s
.
a
,
multipleDel
:
r
.
a
}},
b
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"daily-set-wrap "
},[
a
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
t
.
topMenuData
,
activeId
:
t
.
activeId
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"daily-set-content boder-box"
},[
a
(
"div"
,{
staticClass
:
"table-condition flex flex-space-between m-b-23"
},[
a
(
"div"
,{
staticClass
:
"table-condition-left"
},[
a
(
"el-input"
,{
staticClass
:
"w-264 m-l-10"
,
staticStyle
:{
width
:
"264px"
},
attrs
:{
placeholder
:
"请输入门店名称"
},
nativeOn
:{
keyup
:
function
(
e
){
return
a
=
e
,
t
.
toInput
(
a
,
t
.
conditionObj
.
searchInput
);
var
a
}},
model
:{
value
:
t
.
conditionObj
.
searchInput
,
callback
:
function
(
e
){
t
.
$set
(
t
.
conditionObj
,
"searchInput"
,
e
)},
expression
:
"conditionObj.searchInput"
}},[
a
(
"i"
,{
staticClass
:
"el-input__icon el-icon-search"
,
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
})]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex-column item-cell-select inline-block m-l-10"
},[
a
(
"div"
,{
staticClass
:
"depart-item-wrap"
},[
a
(
"div"
,{
staticClass
:
"el-select el-select--large depart-item-content"
,
staticStyle
:{
width
:
"213px"
},
on
:{
click
:
function
(
e
){
t
.
showDialogLayer
(
"store"
,
t
.
conditionObj
.
storeGroup
)}}},[
t
.
conditionObj
.
storeGroup
.
length
?
t
.
_e
():
a
(
"span"
,{
staticClass
:
"font-14 color-c0c4cc"
},[
t
.
_v
(
"请选择门店分组"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-select__tags"
,
staticStyle
:{
"max-width"
:
"181px"
}},[
a
(
"span"
,[
t
.
_l
(
t
.
conditionObj
.
storeGroup
,
function
(
e
,
o
){
return
[
a
(
"span"
,{
key
:
o
,
staticClass
:
"el-tag el-tag--info el-tag--small"
},[
a
(
"span"
,{
staticClass
:
"el-select__tags-text"
},[
t
.
_v
(
t
.
_s
(
e
.
name
||
e
.
storeName
))]),
a
(
"i"
,{
staticClass
:
"el-tag__close el-icon-close"
,
on
:{
click
:
function
(
e
){
e
.
stopPropagation
(),
t
.
delDepart
(
o
,
t
.
conditionObj
.
storeGroup
)}}})])]})],
2
)])])])]),
t
.
_v
(
" "
),
a
(
"el-select"
,{
staticClass
:
"w-105 m-l-10"
,
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
t
.
changeStoreType
},
model
:{
value
:
t
.
conditionObj
.
storeType
,
callback
:
function
(
e
){
t
.
$set
(
t
.
conditionObj
,
"storeType"
,
e
)},
expression
:
"conditionObj.storeType"
}},
t
.
_l
(
t
.
storeTypeOptions
,
function
(
t
){
return
a
(
"el-option"
,{
key
:
t
.
value
,
attrs
:{
label
:
t
.
label
,
value
:
t
.
value
}})})),
t
.
_v
(
" "
),
a
(
"el-date-picker"
,{
staticClass
:
"m-l-10"
,
attrs
:{
editable
:
!
1
,
"value-format"
:
"yyyy-MM-dd"
,
type
:
"daterange"
,
align
:
"right"
,
"unlink-panels"
:
""
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
},
on
:{
change
:
t
.
changeDate
},
model
:{
value
:
t
.
conditionObj
.
dateRange
,
callback
:
function
(
e
){
t
.
$set
(
t
.
conditionObj
,
"dateRange"
,
e
)},
expression
:
"conditionObj.dateRange"
}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"table-condition-right"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"danger"
},
on
:{
click
:
t
.
multDel
}},[
t
.
_v
(
"批量删除"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
exportExcel
}},[
a
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai p-r-6"
}),
t
.
_v
(
"导出"
)])],
1
)]),
t
.
_v
(
" "
),
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
tableData
,
"tooltip-effect"
:
"dark"
,
height
:
t
.
tableH
},
on
:{
"selection-change"
:
t
.
handleSelectionChange
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
width
:
"35"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
width
:
"25"
},
scopedSlots
:
t
.
_u
([{
key
:
"header"
,
fn
:
function
(
e
){
return
[
a
(
"el-dropdown"
,{
staticStyle
:{
"line-height"
:
"10px"
,
padding
:
"0"
,
"margin-left"
:
"-15px"
,
transform
:
"translateY(4px)"
,
"-webkit-transform"
:
"translateY(4px)"
},
attrs
:{
placement
:
"bottom-start"
},
on
:{
command
:
t
.
handleCommand
}},[
a
(
"span"
,{
staticClass
:
"el-dropdown-link"
},[
a
(
"i"
,{
staticClass
:
"el-icon-arrow-down el-icon--right"
})]),
t
.
_v
(
" "
),
a
(
"el-dropdown-menu"
,{
attrs
:{
slot
:
"dropdown"
},
slot
:
"dropdown"
},[
a
(
"el-dropdown-item"
,{
attrs
:{
command
:
"0"
}},[
a
(
"span"
,{
style
:{
color
:
0
==
t
.
selectRadio
?
"#1890ff"
:
"#606266"
}},[
t
.
_v
(
"选择当页"
)])]),
t
.
_v
(
" "
),
a
(
"el-dropdown-item"
,{
attrs
:{
command
:
"1"
}},[
a
(
"span"
,{
style
:{
color
:
1
==
t
.
selectRadio
?
"#1890ff"
:
"#606266"
}},[
t
.
_v
(
"选择全部"
)])])],
1
)],
1
)]}},{
key
:
"default"
,
fn
:
function
(
t
){}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"门店名称"
,
width
:
"120"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
storeName
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"任务总数"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
taskCount
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"已完成"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
completedCount
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"完成率"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
completedRate
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"待完成"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
noCompletedCount
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"逾期中"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
overdueCount
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
t
.
toDetail
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"查看详情"
)])]}}])})],
1
),
t
.
_v
(
" "
),
0
!=
t
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
t
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
t
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
t
.
total
},
on
:{
"size-change"
:
t
.
handleSizeChange
,
"current-change"
:
t
.
handleCurrentChange
}})],
1
):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"multiple-del"
,{
attrs
:{
showDialog
:
t
.
showDialog
,
detailFlag
:
!
1
},
on
:{
hideDialog
:
t
.
hideDialog
}}),
t
.
_v
(
" "
),
a
(
"vue-select-store"
,{
ref
:
"storeSelector"
,
attrs
:{
currentBrand
:
t
.
activeGroup
,
appScene
:
t
.
appScene
,
treeSet
:
t
.
storeTreeSet
,
selectType
:
"group"
,
defaultList
:
t
.
defaultStoreList
},
on
:{
handleSelectedList
:
t
.
handleSelectedList
}})],
1
)},
staticRenderFns
:[]};
var
f
=
a
(
"VU/8"
)(
h
,
b
,
!
1
,
function
(
t
){
a
(
"BDbM"
)},
"data-v-374adefe"
,
null
);
e
.
default
=
f
.
exports
}});
\ No newline at end of file
webpackJsonp
([
59
],{
BDbM
:
function
(
t
,
e
){},
"r//C"
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
o
=
a
(
"fZjL"
),
n
=
a
.
n
(
o
),
i
=
a
(
"2eFk"
),
s
=
a
(
"Ie7z"
),
l
=
a
(
"Ke24"
),
r
=
a
(
"LRn8"
),
c
=
a
(
"P9l9"
),
d
=
a
(
"PI0u"
),
u
=
a
(
"3E4D"
),
p
=
a
(
"Ch4/"
),
h
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
activeGroupId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
tableH
:
window
.
screen
.
availHeight
-
464
-
126
,
activeTab
:
"1"
,
activeBrand
:
this
.
brandId
,
activeGroup
:
this
.
activeGroupId
,
topMenuData
:[{
id
:
"1"
,
name
:
"不良评价回访记录"
}],
activeId
:
"1"
,
showDialog
:
!
1
,
conditionObj
:{
searchInput
:
""
,
storeGroup
:[],
storeType
:
""
,
dateRange
:[]},
storeTypeOptions
:[{
value
:
""
,
label
:
"所有"
},{
value
:
"0"
,
label
:
"自营"
},{
value
:
"1"
,
label
:
"联营"
},{
value
:
"2"
,
label
:
"代理"
},{
value
:
"3"
,
label
:
"代销"
},{
value
:
"4"
,
label
:
"托管"
}],
selectRadio
:
0
,
tableData
:[],
multipleSelection
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
appScene
:
2
,
defaultStoreList
:[],
storeTreeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
1
}}},
computed
:{},
methods
:{
handleCommand
:
function
(
t
){
this
.
selectRadio
=
t
},
setSelectTab
:
function
(
t
){
this
.
activeTab
=
t
.
tabId
},
toInput
:
Object
(
d
.
a
)(
function
(
t
,
e
){
this
.
currentPage
=
1
,
this
.
getTableList
()},
500
),
changeStoreType
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
changeDate
:
function
(
t
){
t
||
(
this
.
conditionObj
.
dateRange
=
[]),
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleSelectionChange
:
function
(
t
){
this
.
multipleSelection
=
t
},
delDepart
:
function
(
t
,
e
){
e
.
splice
(
t
,
1
),
this
.
currentPage
=
1
,
this
.
getTableList
()},
multDel
:
function
(){
if
(
!
this
.
multipleSelection
.
length
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择删除项"
}),
!
1
;
this
.
showDialog
=!
0
},
hideDialog
:
function
(
t
){
if
(
this
.
showDialog
=!
1
,
!
n
()(
t
).
length
)
return
!
1
;
this
.
postMultDel
(
t
)},
postMultDel
:
function
(
t
){
var
e
=
this
,
a
=
[],
o
=
[];
e
.
conditionObj
.
storeGroup
.
forEach
(
function
(
t
){
2
==
t
.
type
&&
a
.
push
(
t
.
groupId
),
3
==
t
.
type
&&
o
.
push
(
t
.
storeId
)});
var
n
=
{
search
:
e
.
conditionObj
.
searchInput
||
""
,
filterStoreIds
:
o
.
join
(
","
)
||
""
,
storeIds
:
e
.
multipleSelection
.
map
(
function
(
t
){
return
t
.
storeId
}).
join
(
","
)
||
""
,
storeGroupIds
:
a
.
join
(
","
)
||
""
,
storeType
:
e
.
conditionObj
.
storeType
||
""
,
startDate
:
e
.
conditionObj
.
dateRange
[
0
]
||
""
,
endDate
:
e
.
conditionObj
.
dateRange
[
1
]
||
""
,
brandId
:
e
.
activeBrand
,
delTaskStatus
:
t
.
delOptFlag
,
reason
:
t
.
reason
,
isAll
:
e
.
selectRadio
,
taskType
:
0
};
Object
(
c
.
e
)(
"/haoban-app-tel-task-web/task/batch-del-store-task-list"
,
n
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
u
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
e
.
getTableList
();
p
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
exportExcel
:
function
(){
var
t
=
[],
e
=
[];
this
.
conditionObj
.
storeGroup
.
forEach
(
function
(
a
){
2
==
a
.
type
&&
t
.
push
(
a
.
groupId
),
3
==
a
.
type
&&
e
.
push
(
a
.
storeId
)});
var
a
=
{
search
:
this
.
conditionObj
.
searchInput
||
""
,
filterStoreIds
:
e
.
join
(
","
)
||
""
,
storeGroupIds
:
t
.
join
(
","
)
||
""
,
storeType
:
this
.
conditionObj
.
storeType
||
""
,
startDate
:
this
.
conditionObj
.
dateRange
[
0
]
||
""
,
endDate
:
this
.
conditionObj
.
dateRange
[
1
]
||
""
,
brandId
:
this
.
activeBrand
,
taskType
:
0
},
o
=
"search="
+
a
.
search
+
"&taskType="
+
a
.
taskType
+
"&filterStoreIds="
+
a
.
filterStoreIds
+
"&storeGroupIds="
+
a
.
storeGroupIds
+
"&storeType="
+
a
.
storeType
+
"&startDate="
+
a
.
startDate
+
"&endDate="
+
a
.
endDate
+
"&brandId="
+
a
.
brandId
+
"¤tPage="
+
a
.
currentPage
+
"&pageSize="
+
a
.
pageSize
;
window
.
open
(
window
.
location
.
origin
+
"/haoban-app-tel-task-web/task/export-store-task-list?"
+
o
)},
handleSizeChange
:
function
(
t
){
this
.
pageSize
=
t
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
t
){
this
.
currentPage
=
t
,
this
.
getTableList
()},
showDialogLayer
:
function
(
t
,
e
){
this
.
selectType
=
t
,
this
.
changed
=
t
,
this
.
defaultStoreList
=
e
,
this
.
storeTreeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
1
,
isSelectPerson
:
!
1
}},
handleSelectedList
:
function
(
t
){
this
.
conditionObj
.
storeGroup
=
t
,
this
.
getTableList
()},
toDetail
:
function
(
t
,
e
){
this
.
$router
.
push
(
"taskDetail?storeId="
+
e
.
storeId
)},
getTableList
:
function
(
t
){
var
e
=
this
,
a
=
[],
o
=
[];
e
.
conditionObj
.
storeGroup
.
forEach
(
function
(
t
){
2
==
t
.
type
&&
a
.
push
(
t
.
groupId
),
3
==
t
.
type
&&
o
.
push
(
t
.
storeId
)});
var
n
=
{
search
:
e
.
conditionObj
.
searchInput
||
""
,
filterStoreIds
:
o
.
join
(
","
)
||
""
,
storeGroupIds
:
a
.
join
(
","
)
||
""
,
storeType
:
e
.
conditionObj
.
storeType
||
""
,
startDate
:
e
.
conditionObj
.
dateRange
[
0
]
||
""
,
endDate
:
e
.
conditionObj
.
dateRange
[
1
]
||
""
,
pageNum
:
e
.
currentPage
,
pageSize
:
e
.
pageSize
,
brandId
:
e
.
activeBrand
,
taskType
:
0
};
Object
(
c
.
a
)(
"/haoban-app-tel-task-web/task/store-task-list"
,
n
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
tableData
=
a
.
result
.
list
||
[],
e
.
total
=
a
.
result
.
pageInfo
.
total
,
!
1
;
p
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
brandId
:
function
(
t
,
e
){
t
&&
(
this
.
activeBrand
=
t
,
this
.
getTableList
())},
activeGroupId
:
function
(
t
,
e
){
t
&&
(
this
.
activeGroup
=
t
)}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
activeBrand
=
this
.
brandId
,
this
.
brandId
&&
this
.
getTableList
()},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
i
.
a
,
commonDetailTop
:
l
.
a
,
vueSelectStore
:
s
.
a
,
multipleDel
:
r
.
a
}},
b
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"daily-set-wrap "
},[
a
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
t
.
topMenuData
,
activeId
:
t
.
activeId
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"daily-set-content boder-box"
},[
a
(
"div"
,{
staticClass
:
"table-condition flex flex-space-between m-b-23"
},[
a
(
"div"
,{
staticClass
:
"table-condition-left"
},[
a
(
"el-input"
,{
staticClass
:
"w-264 m-l-10"
,
staticStyle
:{
width
:
"264px"
},
attrs
:{
placeholder
:
"请输入门店名称"
},
nativeOn
:{
keyup
:
function
(
e
){
return
a
=
e
,
t
.
toInput
(
a
,
t
.
conditionObj
.
searchInput
);
var
a
}},
model
:{
value
:
t
.
conditionObj
.
searchInput
,
callback
:
function
(
e
){
t
.
$set
(
t
.
conditionObj
,
"searchInput"
,
e
)},
expression
:
"conditionObj.searchInput"
}},[
a
(
"i"
,{
staticClass
:
"el-input__icon el-icon-search"
,
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
})]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex-column item-cell-select inline-block m-l-10"
},[
a
(
"div"
,{
staticClass
:
"depart-item-wrap"
},[
a
(
"div"
,{
staticClass
:
"el-select el-select--large depart-item-content"
,
staticStyle
:{
width
:
"213px"
},
on
:{
click
:
function
(
e
){
t
.
showDialogLayer
(
"store"
,
t
.
conditionObj
.
storeGroup
)}}},[
t
.
conditionObj
.
storeGroup
.
length
?
t
.
_e
():
a
(
"span"
,{
staticClass
:
"font-14 color-c0c4cc"
},[
t
.
_v
(
"请选择门店分组"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-select__tags"
,
staticStyle
:{
"max-width"
:
"181px"
}},[
a
(
"span"
,[
t
.
_l
(
t
.
conditionObj
.
storeGroup
,
function
(
e
,
o
){
return
[
a
(
"span"
,{
key
:
o
,
staticClass
:
"el-tag el-tag--info el-tag--small"
},[
a
(
"span"
,{
staticClass
:
"el-select__tags-text"
},[
t
.
_v
(
t
.
_s
(
e
.
name
||
e
.
storeName
))]),
a
(
"i"
,{
staticClass
:
"el-tag__close el-icon-close"
,
on
:{
click
:
function
(
e
){
e
.
stopPropagation
(),
t
.
delDepart
(
o
,
t
.
conditionObj
.
storeGroup
)}}})])]})],
2
)])])])]),
t
.
_v
(
" "
),
a
(
"el-select"
,{
staticClass
:
"w-105 m-l-10"
,
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
t
.
changeStoreType
},
model
:{
value
:
t
.
conditionObj
.
storeType
,
callback
:
function
(
e
){
t
.
$set
(
t
.
conditionObj
,
"storeType"
,
e
)},
expression
:
"conditionObj.storeType"
}},
t
.
_l
(
t
.
storeTypeOptions
,
function
(
t
){
return
a
(
"el-option"
,{
key
:
t
.
value
,
attrs
:{
label
:
t
.
label
,
value
:
t
.
value
}})})),
t
.
_v
(
" "
),
a
(
"el-date-picker"
,{
staticClass
:
"m-l-10"
,
attrs
:{
editable
:
!
1
,
"value-format"
:
"yyyy-MM-dd"
,
type
:
"daterange"
,
align
:
"right"
,
"unlink-panels"
:
""
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
},
on
:{
change
:
t
.
changeDate
},
model
:{
value
:
t
.
conditionObj
.
dateRange
,
callback
:
function
(
e
){
t
.
$set
(
t
.
conditionObj
,
"dateRange"
,
e
)},
expression
:
"conditionObj.dateRange"
}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"table-condition-right"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"danger"
},
on
:{
click
:
t
.
multDel
}},[
t
.
_v
(
"批量删除"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
exportExcel
}},[
a
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai p-r-6"
}),
t
.
_v
(
"导出"
)])],
1
)]),
t
.
_v
(
" "
),
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
tableData
,
"tooltip-effect"
:
"dark"
,
height
:
t
.
tableH
},
on
:{
"selection-change"
:
t
.
handleSelectionChange
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
width
:
"35"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
width
:
"25"
},
scopedSlots
:
t
.
_u
([{
key
:
"header"
,
fn
:
function
(
e
){
return
[
a
(
"el-dropdown"
,{
staticStyle
:{
"line-height"
:
"10px"
,
padding
:
"0"
,
"margin-left"
:
"-15px"
,
transform
:
"translateY(4px)"
,
"-webkit-transform"
:
"translateY(4px)"
},
attrs
:{
placement
:
"bottom-start"
},
on
:{
command
:
t
.
handleCommand
}},[
a
(
"span"
,{
staticClass
:
"el-dropdown-link"
},[
a
(
"i"
,{
staticClass
:
"el-icon-arrow-down el-icon--right"
})]),
t
.
_v
(
" "
),
a
(
"el-dropdown-menu"
,{
attrs
:{
slot
:
"dropdown"
},
slot
:
"dropdown"
},[
a
(
"el-dropdown-item"
,{
attrs
:{
command
:
"0"
}},[
a
(
"span"
,{
style
:{
color
:
0
==
t
.
selectRadio
?
"#1890ff"
:
"#606266"
}},[
t
.
_v
(
"选择当页"
)])]),
t
.
_v
(
" "
),
a
(
"el-dropdown-item"
,{
attrs
:{
command
:
"1"
}},[
a
(
"span"
,{
style
:{
color
:
1
==
t
.
selectRadio
?
"#1890ff"
:
"#606266"
}},[
t
.
_v
(
"选择全部"
)])])],
1
)],
1
)]}},{
key
:
"default"
,
fn
:
function
(
t
){}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"门店名称"
,
width
:
"120"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
storeName
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"任务总数"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
taskCount
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"已完成"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
completedCount
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"完成率"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
completedRate
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"待完成"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
noCompletedCount
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"逾期中"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
overdueCount
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
t
.
toDetail
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"查看详情"
)])]}}])})],
1
),
t
.
_v
(
" "
),
0
!=
t
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
t
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
t
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
t
.
total
},
on
:{
"size-change"
:
t
.
handleSizeChange
,
"current-change"
:
t
.
handleCurrentChange
}})],
1
):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"multiple-del"
,{
attrs
:{
showDialog
:
t
.
showDialog
,
detailFlag
:
!
1
},
on
:{
hideDialog
:
t
.
hideDialog
}}),
t
.
_v
(
" "
),
a
(
"vue-select-store"
,{
ref
:
"storeSelector"
,
attrs
:{
currentBrand
:
t
.
activeGroup
,
appScene
:
t
.
appScene
,
treeSet
:
t
.
storeTreeSet
,
selectType
:
"group"
,
defaultList
:
t
.
defaultStoreList
},
on
:{
handleSelectedList
:
t
.
handleSelectedList
}})],
1
)},
staticRenderFns
:[]};
var
f
=
a
(
"VU/8"
)(
h
,
b
,
!
1
,
function
(
t
){
a
(
"BDbM"
)},
"data-v-374adefe"
,
null
);
e
.
default
=
f
.
exports
}});
\ No newline at end of file
dist/static/js/6
2.c3caefedcb9fb6dcfb96
.js
→
dist/static/js/6
0.633307c153fec68e7774
.js
View file @
35fc15c1
webpackJsonp
([
62
],{
"79Bk"
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
s
=
{
name
:
"date-range-com"
,
props
:{
childItem
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}},
methods
:{
getZhLen
:
function
(
t
){
for
(
var
e
=
0
,
a
=
0
;
a
<
t
.
length
;
a
++
){
null
!=
t
.
charAt
(
a
).
match
(
/
[^\x
00-
\x
ff
]
/gi
)?
e
+=
1
:
e
+=
.
5
}
return
Math
.
ceil
(
e
)}}},
i
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,[
a
(
"div"
,[
a
(
"div"
,{
class
:[
"opencard-item-title"
,
t
.
getZhLen
(
t
.
childItem
.
startTitle
)
>=
6
?
"title-pre-wrap"
:
""
]},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
startTitle
))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"draged-item-show"
},[
a
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag select-flag"
},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
placeholder
)
+
" "
+
t
.
_s
(
t
.
childItem
.
isMust
?
"(必填)"
:
""
)),
a
(
"i"
,{
staticClass
:
"el-icon-arrow-right"
})])])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"b-t-1"
},[
a
(
"div"
,{
class
:[
"opencard-item-title"
,
t
.
getZhLen
(
t
.
childItem
.
endTitle
)
>=
6
?
"title-pre-wrap"
:
""
]},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
endTitle
))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"draged-item-show"
},[
a
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag select-flag"
},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
placeholder
)
+
" "
+
t
.
_s
(
t
.
childItem
.
isMust
?
"(必填)"
:
""
)
+
" "
),
a
(
"i"
,{
staticClass
:
"el-icon-arrow-right"
})])])])])},
staticRenderFns
:[]};
var
l
=
a
(
"VU/8"
)(
s
,
i
,
!
1
,
function
(
t
){
a
(
"uaqi"
)},
"data-v-35e4159a"
,
null
);
e
.
default
=
l
.
exports
},
uaqi
:
function
(
t
,
e
){}});
\ No newline at end of file
webpackJsonp
([
60
],{
"79Bk"
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
s
=
{
name
:
"date-range-com"
,
props
:{
childItem
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}},
methods
:{
getZhLen
:
function
(
t
){
for
(
var
e
=
0
,
a
=
0
;
a
<
t
.
length
;
a
++
){
null
!=
t
.
charAt
(
a
).
match
(
/
[^\x
00-
\x
ff
]
/gi
)?
e
+=
1
:
e
+=
.
5
}
return
Math
.
ceil
(
e
)}}},
i
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,[
a
(
"div"
,[
a
(
"div"
,{
class
:[
"opencard-item-title"
,
t
.
getZhLen
(
t
.
childItem
.
startTitle
)
>=
6
?
"title-pre-wrap"
:
""
]},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
startTitle
))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"draged-item-show"
},[
a
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag select-flag"
},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
placeholder
)
+
" "
+
t
.
_s
(
t
.
childItem
.
isMust
?
"(必填)"
:
""
)),
a
(
"i"
,{
staticClass
:
"el-icon-arrow-right"
})])])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"b-t-1"
},[
a
(
"div"
,{
class
:[
"opencard-item-title"
,
t
.
getZhLen
(
t
.
childItem
.
endTitle
)
>=
6
?
"title-pre-wrap"
:
""
]},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
endTitle
))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"draged-item-show"
},[
a
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag select-flag"
},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
placeholder
)
+
" "
+
t
.
_s
(
t
.
childItem
.
isMust
?
"(必填)"
:
""
)
+
" "
),
a
(
"i"
,{
staticClass
:
"el-icon-arrow-right"
})])])])])},
staticRenderFns
:[]};
var
l
=
a
(
"VU/8"
)(
s
,
i
,
!
1
,
function
(
t
){
a
(
"uaqi"
)},
"data-v-35e4159a"
,
null
);
e
.
default
=
l
.
exports
},
uaqi
:
function
(
t
,
e
){}});
\ No newline at end of file
dist/static/js/6
3.6077852270b0c59eff8a
.js
→
dist/static/js/6
1.a6c4d42ed111c8f08d58
.js
View file @
35fc15c1
webpackJsonp
([
63
],{
kF1j
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
o
=
a
(
"fZjL"
),
r
=
a
.
n
(
o
),
s
=
a
(
"2eFk"
),
i
=
a
(
"Ke24"
),
n
=
a
(
"fPyK"
),
l
=
a
(
"nsZK"
),
c
=
a
(
"P9l9"
),
u
=
a
(
"Ch4/"
),
d
=
a
(
"PI0u"
),
p
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
activeGroupId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
tableH
:
window
.
screen
.
availHeight
-
464
-
126
,
activeId
:
"3"
,
activeBrand
:
this
.
brandId
,
activeGroup
:
this
.
activeGroupId
,
topMenuData
:[{
id
:
"1"
,
name
:
"指标管理"
,
path
:
"/monthList?appIcon="
+
this
.
$route
.
query
.
appIcon
},{
id
:
"2"
,
name
:
"月指标"
,
path
:
"/monthList?appIcon="
+
this
.
$route
.
query
.
appIcon
},{
id
:
"3"
,
name
:
"门店月指标"
,
path
:
""
}],
selectRadio
:
0
,
showDialog
:
!
1
,
conditionObj
:{
keyword
:
""
,
storeStatus
:
""
,
isCompleted
:
""
,
storeGroupIds
:[]},
completeStatusOptions
:[{
label
:
"门店完善状态"
,
value
:
""
},{
label
:
"已完善"
,
value
:
"1"
},{
label
:
"未完善"
,
value
:
"0"
}],
storeStatusOptions
:[{
value
:
""
,
label
:
"所有门店状态"
},{
value
:
"0"
,
label
:
"待审核"
},{
value
:
"1"
,
label
:
"正常"
},{
value
:
"2"
,
label
:
"审核失败"
},{
value
:
"3"
,
label
:
"停业整顿"
},{
value
:
"4"
,
label
:
"回收站"
},{
value
:
"5"
,
label
:
"删除"
}],
statistics
:{},
tableData
:[],
multipleSelection
:[],
dialogVisible
:
!
1
,
currentPage
:
1
,
pageSize
:
20
,
total
:
0
}},
computed
:{},
methods
:{
searchStore
:
Object
(
d
.
a
)(
function
(
t
){
this
.
currentPage
,
this
.
getTableList
()},
500
),
clearInput
:
function
(
t
){
1
==
this
.
currentPage
?
this
.
getTableList
():
this
.
currentPage
=
1
},
checkStoreGroupIds
:
function
(
t
){
this
.
currentPage
=
1
,
this
.
conditionObj
.
storeGroupIds
=
t
,
this
.
getTableList
()},
selectBrandId
:
function
(
t
){
this
.
activeBrand
=
t
},
setSelectTab
:
function
(
t
){
this
.
activeTab
=
t
.
tabId
},
changeSelect
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleSizeChange
:
function
(
t
){
this
.
pageSize
=
t
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
t
){
this
.
currentPage
=
t
,
this
.
getTableList
()},
toSalerMonth
:
function
(
t
,
e
){
this
.
$router
.
push
(
"/salerMonthDetail?storeId="
+
e
.
storeId
+
"&yearMonth="
+
this
.
yearMonth
+
"&appIcon="
+
this
.
$route
.
query
.
appIcon
)},
getTableList
:
function
(
t
){
var
e
=
this
,
a
=
{
yearMonth
:
e
.
yearMonth
||
e
.
$route
.
query
.
yearMonth
,
keyword
:
e
.
conditionObj
.
keyword
||
""
,
storeStatus
:
e
.
conditionObj
.
storeStatus
||
""
,
isCompleted
:
e
.
conditionObj
.
isCompleted
||
""
,
storeGroupIds
:
e
.
conditionObj
.
storeGroupIds
.
map
(
function
(
t
){
return
t
.
groupId
}).
join
(
","
)
||
""
,
pageNum
:
e
.
currentPage
,
pageSize
:
e
.
pageSize
,
brandId
:
e
.
activeBrand
};
Object
(
c
.
a
)(
"/haoban-app-performance-web/performance/query-store-month-performance"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
a
.
result
.
list
&&
a
.
result
.
list
.
length
&&
(
a
.
result
.
list
.
forEach
(
function
(
t
){
t
.
performance
=
Object
(
d
.
d
)(
Number
(
t
.
performance
))}),
a
.
result
.
statistics
&&
r
()(
a
.
result
.
statistics
).
length
?(
e
.
statistics
=
a
.
result
.
statistics
,
e
.
tableData
.
unshift
({
completeStatus
:
a
.
result
.
statistics
.
totalComplete
,
performance
:
Object
(
d
.
d
)(
Number
(
a
.
result
.
statistics
.
totalPerformance
)),
storeName
:
a
.
result
.
statistics
.
totalStore
,
totalComplete
:
a
.
result
.
statistics
.
totalComplete
,
totalPerformance
:
Object
(
d
.
d
)(
Number
(
a
.
result
.
statistics
.
totalPerformance
)),
totalStore
:
a
.
result
.
statistics
.
totalStore
})):
e
.
tableData
.
unshift
({
completeStatus
:
e
.
statistics
.
totalComplete
,
performance
:
Object
(
d
.
d
)(
Number
(
e
.
statistics
.
totalPerformance
)),
storeName
:
e
.
statistics
.
totalStore
,
totalComplete
:
e
.
statistics
.
totalComplete
,
totalPerformance
:
e
.
statistics
.
totalPerformance
,
totalStore
:
e
.
statistics
.
totalStore
})),
e
.
tableData
=
a
.
result
.
list
||
[],
void
(
e
.
total
=
a
.
result
.
pageInfo
.
total
);
u
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
brandId
:
function
(
t
,
e
){
t
&&
(
this
.
activeBrand
=
t
,
this
.
yearMonth
=
this
.
$route
.
query
.
yearMonth
,
this
.
getTableList
())},
activeGroupId
:
function
(
t
,
e
){
t
&&
(
this
.
activeGroup
=
t
)}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
$emit
(
"showTab"
,
"11"
),
this
.
activeBrand
=
this
.
brandId
,
this
.
activeGroup
=
this
.
activeGroupId
,
this
.
conditionObj
.
storeId
=
this
.
$route
.
query
.
storeId
,
this
.
brandId
&&
(
this
.
yearMonth
=
this
.
$route
.
query
.
yearMonth
,
this
.
getTableList
())},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
s
.
a
,
commonDetailTop
:
i
.
a
,
qrcodeDialog
:
n
.
a
,
storeTreeSelect
:
l
.
a
}},
h
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap common-right-wrap"
},[
a
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
t
.
topMenuData
,
activeId
:
t
.
activeId
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"daily-set-content boder-box"
},[
a
(
"div"
,{
staticClass
:
"table-condition flex flex-space-between m-b-23"
},[
a
(
"div"
,{
staticClass
:
"table-condition-left"
},[
a
(
"el-input"
,{
staticClass
:
"w-264 margin-l-10"
,
attrs
:{
placeholder
:
"请输入门店名称/code"
,
"prefix-icon"
:
"el-icon-search"
,
clearable
:
""
},
on
:{
change
:
t
.
clearInput
},
nativeOn
:{
keyup
:
function
(
e
){
return
a
=
e
,
t
.
searchStore
(
a
);
var
a
},
clear
:
function
(
e
){
return
t
.
clearInput
(
e
)}},
model
:{
value
:
t
.
conditionObj
.
keyword
,
callback
:
function
(
e
){
t
.
$set
(
t
.
conditionObj
,
"keyword"
,
e
)},
expression
:
"conditionObj.keyword"
}}),
t
.
_v
(
" "
),
a
(
"el-select"
,{
staticClass
:
"w-131 m-l-10"
,
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
t
.
changeSelect
},
model
:{
value
:
t
.
conditionObj
.
isCompleted
,
callback
:
function
(
e
){
t
.
$set
(
t
.
conditionObj
,
"isCompleted"
,
e
)},
expression
:
"conditionObj.isCompleted"
}},
t
.
_l
(
t
.
completeStatusOptions
,
function
(
t
){
return
a
(
"el-option"
,{
key
:
t
.
value
,
attrs
:{
label
:
t
.
label
,
value
:
t
.
value
}})})),
t
.
_v
(
" "
),
a
(
"store-tree-select"
,{
attrs
:{
brandId
:
t
.
brandId
,
activeGroupId
:
t
.
activeGroupId
},
on
:{
checkStoreGroupIds
:
t
.
checkStoreGroupIds
}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"table-condition-right"
})]),
t
.
_v
(
" "
),
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
,
minHeight
:
t
.
tableH
},
attrs
:{
data
:
t
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"门店名称"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,{
class
:[
"flex flex-pack-center flex-start"
,
e
.
row
.
totalStore
?
"color-303133"
:
""
]},[
t
.
_v
(
t
.
_s
(
e
.
row
.
totalStore
?
"总计:"
+
e
.
row
.
totalStore
+
"家"
:
e
.
row
.
storeName
))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"月指标"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,{
class
:[
e
.
row
.
totalStore
?
"color-303133"
:
""
]},[
t
.
_v
(
t
.
_s
(
e
.
row
.
performance
))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"门店完善状态"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
e
.
row
.
totalStore
?
a
(
"div"
,{
staticClass
:
"color-303133"
},[
t
.
_v
(
t
.
_s
(
"已完善:"
+
e
.
row
.
totalComplete
+
"家"
))]):
a
(
"div"
,[
t
.
_v
(
t
.
_s
(
0
==
e
.
row
.
completeStatus
?
"未完善"
:
"已完善"
))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
e
.
row
.
totalStore
?
t
.
_e
():
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
t
.
toSalerMonth
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"导购月指标详情"
)])]}}])})],
1
),
t
.
_v
(
" "
),
0
!=
t
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
t
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
t
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
t
.
total
},
on
:{
"size-change"
:
t
.
handleSizeChange
,
"current-change"
:
t
.
handleCurrentChange
}})],
1
):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"qrcode-dialog"
,{
ref
:
"qrcodePreview"
,
model
:{
value
:
t
.
dialogVisible
,
callback
:
function
(
e
){
t
.
dialogVisible
=
e
},
expression
:
"dialogVisible"
}})],
1
)},
staticRenderFns
:[]};
var
b
=
a
(
"VU/8"
)(
p
,
h
,
!
1
,
function
(
t
){
a
(
"wen4"
)},
"data-v-3530be85"
,
null
);
e
.
default
=
b
.
exports
},
wen4
:
function
(
t
,
e
){}});
\ No newline at end of file
webpackJsonp
([
61
],{
kF1j
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
o
=
a
(
"fZjL"
),
r
=
a
.
n
(
o
),
s
=
a
(
"2eFk"
),
i
=
a
(
"Ke24"
),
n
=
a
(
"fPyK"
),
l
=
a
(
"nsZK"
),
c
=
a
(
"P9l9"
),
u
=
a
(
"Ch4/"
),
d
=
a
(
"PI0u"
),
p
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
activeGroupId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
tableH
:
window
.
screen
.
availHeight
-
464
-
126
,
activeId
:
"3"
,
activeBrand
:
this
.
brandId
,
activeGroup
:
this
.
activeGroupId
,
topMenuData
:[{
id
:
"1"
,
name
:
"指标管理"
,
path
:
"/monthList?appIcon="
+
this
.
$route
.
query
.
appIcon
},{
id
:
"2"
,
name
:
"月指标"
,
path
:
"/monthList?appIcon="
+
this
.
$route
.
query
.
appIcon
},{
id
:
"3"
,
name
:
"门店月指标"
,
path
:
""
}],
selectRadio
:
0
,
showDialog
:
!
1
,
conditionObj
:{
keyword
:
""
,
storeStatus
:
""
,
isCompleted
:
""
,
storeGroupIds
:[]},
completeStatusOptions
:[{
label
:
"门店完善状态"
,
value
:
""
},{
label
:
"已完善"
,
value
:
"1"
},{
label
:
"未完善"
,
value
:
"0"
}],
storeStatusOptions
:[{
value
:
""
,
label
:
"所有门店状态"
},{
value
:
"0"
,
label
:
"待审核"
},{
value
:
"1"
,
label
:
"正常"
},{
value
:
"2"
,
label
:
"审核失败"
},{
value
:
"3"
,
label
:
"停业整顿"
},{
value
:
"4"
,
label
:
"回收站"
},{
value
:
"5"
,
label
:
"删除"
}],
statistics
:{},
tableData
:[],
multipleSelection
:[],
dialogVisible
:
!
1
,
currentPage
:
1
,
pageSize
:
20
,
total
:
0
}},
computed
:{},
methods
:{
searchStore
:
Object
(
d
.
a
)(
function
(
t
){
this
.
currentPage
,
this
.
getTableList
()},
500
),
clearInput
:
function
(
t
){
1
==
this
.
currentPage
?
this
.
getTableList
():
this
.
currentPage
=
1
},
checkStoreGroupIds
:
function
(
t
){
this
.
currentPage
=
1
,
this
.
conditionObj
.
storeGroupIds
=
t
,
this
.
getTableList
()},
selectBrandId
:
function
(
t
){
this
.
activeBrand
=
t
},
setSelectTab
:
function
(
t
){
this
.
activeTab
=
t
.
tabId
},
changeSelect
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleSizeChange
:
function
(
t
){
this
.
pageSize
=
t
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
t
){
this
.
currentPage
=
t
,
this
.
getTableList
()},
toSalerMonth
:
function
(
t
,
e
){
this
.
$router
.
push
(
"/salerMonthDetail?storeId="
+
e
.
storeId
+
"&yearMonth="
+
this
.
yearMonth
+
"&appIcon="
+
this
.
$route
.
query
.
appIcon
)},
getTableList
:
function
(
t
){
var
e
=
this
,
a
=
{
yearMonth
:
e
.
yearMonth
||
e
.
$route
.
query
.
yearMonth
,
keyword
:
e
.
conditionObj
.
keyword
||
""
,
storeStatus
:
e
.
conditionObj
.
storeStatus
||
""
,
isCompleted
:
e
.
conditionObj
.
isCompleted
||
""
,
storeGroupIds
:
e
.
conditionObj
.
storeGroupIds
.
map
(
function
(
t
){
return
t
.
groupId
}).
join
(
","
)
||
""
,
pageNum
:
e
.
currentPage
,
pageSize
:
e
.
pageSize
,
brandId
:
e
.
activeBrand
};
Object
(
c
.
a
)(
"/haoban-app-performance-web/performance/query-store-month-performance"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
a
.
result
.
list
&&
a
.
result
.
list
.
length
&&
(
a
.
result
.
list
.
forEach
(
function
(
t
){
t
.
performance
=
Object
(
d
.
d
)(
Number
(
t
.
performance
))}),
a
.
result
.
statistics
&&
r
()(
a
.
result
.
statistics
).
length
?(
e
.
statistics
=
a
.
result
.
statistics
,
e
.
tableData
.
unshift
({
completeStatus
:
a
.
result
.
statistics
.
totalComplete
,
performance
:
Object
(
d
.
d
)(
Number
(
a
.
result
.
statistics
.
totalPerformance
)),
storeName
:
a
.
result
.
statistics
.
totalStore
,
totalComplete
:
a
.
result
.
statistics
.
totalComplete
,
totalPerformance
:
Object
(
d
.
d
)(
Number
(
a
.
result
.
statistics
.
totalPerformance
)),
totalStore
:
a
.
result
.
statistics
.
totalStore
})):
e
.
tableData
.
unshift
({
completeStatus
:
e
.
statistics
.
totalComplete
,
performance
:
Object
(
d
.
d
)(
Number
(
e
.
statistics
.
totalPerformance
)),
storeName
:
e
.
statistics
.
totalStore
,
totalComplete
:
e
.
statistics
.
totalComplete
,
totalPerformance
:
e
.
statistics
.
totalPerformance
,
totalStore
:
e
.
statistics
.
totalStore
})),
e
.
tableData
=
a
.
result
.
list
||
[],
void
(
e
.
total
=
a
.
result
.
pageInfo
.
total
);
u
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
brandId
:
function
(
t
,
e
){
t
&&
(
this
.
activeBrand
=
t
,
this
.
yearMonth
=
this
.
$route
.
query
.
yearMonth
,
this
.
getTableList
())},
activeGroupId
:
function
(
t
,
e
){
t
&&
(
this
.
activeGroup
=
t
)}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
$emit
(
"showTab"
,
"11"
),
this
.
activeBrand
=
this
.
brandId
,
this
.
activeGroup
=
this
.
activeGroupId
,
this
.
conditionObj
.
storeId
=
this
.
$route
.
query
.
storeId
,
this
.
brandId
&&
(
this
.
yearMonth
=
this
.
$route
.
query
.
yearMonth
,
this
.
getTableList
())},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
s
.
a
,
commonDetailTop
:
i
.
a
,
qrcodeDialog
:
n
.
a
,
storeTreeSelect
:
l
.
a
}},
h
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap common-right-wrap"
},[
a
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
t
.
topMenuData
,
activeId
:
t
.
activeId
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"daily-set-content boder-box"
},[
a
(
"div"
,{
staticClass
:
"table-condition flex flex-space-between m-b-23"
},[
a
(
"div"
,{
staticClass
:
"table-condition-left"
},[
a
(
"el-input"
,{
staticClass
:
"w-264 margin-l-10"
,
attrs
:{
placeholder
:
"请输入门店名称/code"
,
"prefix-icon"
:
"el-icon-search"
,
clearable
:
""
},
on
:{
change
:
t
.
clearInput
},
nativeOn
:{
keyup
:
function
(
e
){
return
a
=
e
,
t
.
searchStore
(
a
);
var
a
},
clear
:
function
(
e
){
return
t
.
clearInput
(
e
)}},
model
:{
value
:
t
.
conditionObj
.
keyword
,
callback
:
function
(
e
){
t
.
$set
(
t
.
conditionObj
,
"keyword"
,
e
)},
expression
:
"conditionObj.keyword"
}}),
t
.
_v
(
" "
),
a
(
"el-select"
,{
staticClass
:
"w-131 m-l-10"
,
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
t
.
changeSelect
},
model
:{
value
:
t
.
conditionObj
.
isCompleted
,
callback
:
function
(
e
){
t
.
$set
(
t
.
conditionObj
,
"isCompleted"
,
e
)},
expression
:
"conditionObj.isCompleted"
}},
t
.
_l
(
t
.
completeStatusOptions
,
function
(
t
){
return
a
(
"el-option"
,{
key
:
t
.
value
,
attrs
:{
label
:
t
.
label
,
value
:
t
.
value
}})})),
t
.
_v
(
" "
),
a
(
"store-tree-select"
,{
attrs
:{
brandId
:
t
.
brandId
,
activeGroupId
:
t
.
activeGroupId
},
on
:{
checkStoreGroupIds
:
t
.
checkStoreGroupIds
}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"table-condition-right"
})]),
t
.
_v
(
" "
),
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
,
minHeight
:
t
.
tableH
},
attrs
:{
data
:
t
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"门店名称"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,{
class
:[
"flex flex-pack-center flex-start"
,
e
.
row
.
totalStore
?
"color-303133"
:
""
]},[
t
.
_v
(
t
.
_s
(
e
.
row
.
totalStore
?
"总计:"
+
e
.
row
.
totalStore
+
"家"
:
e
.
row
.
storeName
))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"月指标"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,{
class
:[
e
.
row
.
totalStore
?
"color-303133"
:
""
]},[
t
.
_v
(
t
.
_s
(
e
.
row
.
performance
))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"门店完善状态"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
e
.
row
.
totalStore
?
a
(
"div"
,{
staticClass
:
"color-303133"
},[
t
.
_v
(
t
.
_s
(
"已完善:"
+
e
.
row
.
totalComplete
+
"家"
))]):
a
(
"div"
,[
t
.
_v
(
t
.
_s
(
0
==
e
.
row
.
completeStatus
?
"未完善"
:
"已完善"
))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
e
.
row
.
totalStore
?
t
.
_e
():
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
t
.
toSalerMonth
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"导购月指标详情"
)])]}}])})],
1
),
t
.
_v
(
" "
),
0
!=
t
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
t
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
t
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
t
.
total
},
on
:{
"size-change"
:
t
.
handleSizeChange
,
"current-change"
:
t
.
handleCurrentChange
}})],
1
):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"qrcode-dialog"
,{
ref
:
"qrcodePreview"
,
model
:{
value
:
t
.
dialogVisible
,
callback
:
function
(
e
){
t
.
dialogVisible
=
e
},
expression
:
"dialogVisible"
}})],
1
)},
staticRenderFns
:[]};
var
b
=
a
(
"VU/8"
)(
p
,
h
,
!
1
,
function
(
t
){
a
(
"wen4"
)},
"data-v-3530be85"
,
null
);
e
.
default
=
b
.
exports
},
wen4
:
function
(
t
,
e
){}});
\ No newline at end of file
dist/static/js/
35.41f5fdb6b5c51e03dcc1
.js
→
dist/static/js/
62.7cdd22971a00bea17b94
.js
View file @
35fc15c1
webpackJsonp
([
35
],{
Bdk4
:
function
(
t
,
e
){},
RHxA
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"Xxa5"
),
r
=
a
.
n
(
s
),
o
=
a
(
"exGp"
),
i
=
a
.
n
(
o
),
n
=
a
(
"3Xzz"
),
l
=
a
(
"elmV"
),
c
=
a
(
"P9l9"
),
u
=
a
(
"unF8"
),
p
=
a
(
"Ch4/"
),
d
=
{
name
:
"employee-io"
,
components
:{
navCrumb
:
n
.
a
,
uploadExcelComponent
:
l
.
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
:
"storeFrame"
},{
name
:
"批量导入导出"
,
path
:
""
}],
host
:
window
.
location
.
origin
,
windowH
:
window
.
screen
.
availHeight
-
180
+
"px"
,
type
:
"import"
,
fileList
:[],
url
:
t
+
"/haoban-manage-web/store/upload"
,
uploadSuccessMsg
:
""
,
logList
:[],
loading
:
!
0
,
pageSize
:
20
,
currentPage
:
1
,
total
:
0
,
gicFlag
:
!
0
}},
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
};
Object
(
c
.
a
)(
"/haoban-manage-web/error-log-page"
,
e
).
then
(
function
(
e
){
1
==
e
.
data
.
errorCode
?(
t
.
total
=
e
.
data
.
result
.
totalCount
,
t
.
logList
=
e
.
data
.
result
,
t
.
loading
=!
1
):
t
.
$message
.
error
({
message
:
e
.
data
.
message
})}).
catch
(
function
(
e
){
t
.
$message
.
error
({
message
:
e
.
message
})})},
handleRemove
:
function
(
t
,
e
){
this
.
fileList
=
[]},
handlePreview
:
function
(
t
){},
beforeAvatarUpload
:
function
(
t
){
var
e
=
t
.
name
.
lastIndexOf
(
"."
);
if
(
e
<
0
)
return
this
.
$message
.
error
(
"文件格式不正确!"
),
!
1
;
var
a
=
t
.
name
.
substring
(
e
+
1
,
t
.
name
.
length
),
s
=
a
.
includes
(
"xls"
)
||
a
.
includes
(
"xlsx"
);
return
s
||
this
.
$message
.
error
(
"文件格式必须为 xls 或 xlsx 格式!"
),
s
},
getChange
:
function
(
t
,
e
){
var
a
=
e
.
length
-
1
<
0
?
0
:
e
.
length
-
1
,
s
=
t
.
name
.
lastIndexOf
(
"."
),
r
=
t
.
name
.
substring
(
s
+
1
,
t
.
name
.
length
);
if
(
!
(
r
.
includes
(
"xls"
)
||
r
.
includes
(
"xlsx"
)))
return
this
.
$message
.
error
(
"文件格式必须为 xls 或 xlsx 格式!"
),
this
.
fileList
.
splice
(
a
,
1
),
!
1
;
this
.
fileList
=
[
e
[
a
]]},
uploadSuccess
:
function
(
t
,
e
){
1
==
t
.
errorCode
?(
this
.
fileList
=
[],
this
.
$forceUpdate
(),
this
.
uploadSuccessMsg
=
t
.
message
.
split
(
","
),
this
.
$message
({
message
:
t
.
message
,
type
:
"success"
})):
this
.
$message
.
error
(
t
.
message
)},
submitUpload
:
function
(
t
){
this
.
$refs
[
t
].
submit
()},
getGicData
:
function
(
t
){
var
e
=
this
;
return
i
()(
r
.
a
.
mark
(
function
a
(){
var
s
,
o
,
i
,
n
;
return
r
.
a
.
wrap
(
function
(
a
){
for
(;;)
switch
(
a
.
prev
=
a
.
next
){
case
0
:
if
(
s
=
e
,
t
){
a
.
next
=
3
;
break
}
return
a
.
abrupt
(
"return"
,
!
1
);
case
3
:
return
o
=
{
type
:
1
,
businessId
:
t
},
a
.
next
=
6
,
Object
(
u
.
a
)(
o
);
case
6
:
i
=
a
.
sent
,
1
==
(
n
=
i
.
data
).
errorCode
?(
s
.
gicFlag
=
n
.
result
,
s
.
type
=
n
.
result
?
"export"
:
"import"
):
p
.
a
.
errorMsg
(
n
);
case
9
:
case
"end"
:
return
a
.
stop
()}},
a
,
e
)}))()}},
beforeMount
:
function
(){
var
t
=
this
.
$route
.
query
.
brandId
;
this
.
getGicData
(
t
),
"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"
}},
m
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"common-set-wrap"
,
style
:{
height
:
t
.
windowH
}},[
a
(
"nav-crumb"
,{
attrs
:{
navpath
:
t
.
navpath
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"div"
,{
staticClass
:
"right-box"
},[
a
(
"div"
,{
staticClass
:
"io-container border-box "
},[
t
.
_m
(
0
),
t
.
_v
(
" "
),
a
(
"el-radio-group"
,{
staticClass
:
"m-t-20"
,
on
:{
change
:
t
.
resetList
},
model
:{
value
:
t
.
type
,
callback
:
function
(
e
){
t
.
type
=
e
},
expression
:
"type"
}},[
t
.
gicFlag
?
t
.
_e
():
a
(
"el-radio-button"
,{
attrs
:{
label
:
"import"
}},[
t
.
_v
(
"导入门店"
)]),
t
.
_v
(
" "
),
a
(
"el-radio-button"
,{
attrs
:{
label
:
"export"
}},[
t
.
_v
(
"导出"
)]),
t
.
_v
(
" "
),
a
(
"el-radio-button"
,{
attrs
:{
label
:
"note"
}},[
t
.
_v
(
"错误记录"
)])],
1
),
t
.
_v
(
" "
),
"import"
==
t
.
type
?
a
(
"div"
,{
staticClass
:
"handle-area import"
},[
a
(
"div"
,{
staticClass
:
"step-div"
,
staticStyle
:{
"margin-bottom"
:
"90px"
,
"line-height"
:
"32px"
}},[
a
(
"span"
,{
staticClass
:
"ft-large"
},[
t
.
_v
(
"①"
)]),
t
.
_v
(
"下载门店导入模板,批量填写门店信息
\
n "
),
a
(
"a"
,{
staticClass
:
"d-u-btn"
,
attrs
:{
href
:
t
.
host
+
"/haoban-manage-web/excel/通讯录-门店架构导入模板.xlsx"
}},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
}},[
t
.
_v
(
" 下载"
),
a
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai m-l-5"
})])],
1
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"step-div"
},[
a
(
"span"
,{
staticClass
:
"ft-large"
},[
t
.
_v
(
"②"
)]),
t
.
_v
(
"上传填写好的门店信息
\
n "
),
a
(
"div"
,{
staticClass
:
"d-u-btn"
},[
a
(
"el-upload"
,{
ref
:
"upload"
,
staticClass
:
"upload-demo"
,
attrs
:{
action
:
t
.
url
+
"?brandId="
+
t
.
$route
.
query
.
brandId
,
"auto-upload"
:
!
1
,
"before-upload"
:
t
.
beforeAvatarUpload
,
"on-success"
:
t
.
uploadSuccess
,
"on-change"
:
t
.
getChange
,
multiple
:
!
1
,
"file-list"
:
t
.
fileList
,
"on-remove"
:
t
.
handleRemove
}},[
a
(
"el-button"
,{
attrs
:{
slot
:
"trigger"
,
size
:
"small"
,
type
:
"primary"
},
slot
:
"trigger"
},[
t
.
_v
(
"选取文件"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-upload__tip"
,
attrs
:{
slot
:
"tip"
},
slot
:
"tip"
},[
t
.
_v
(
"文件格式必须为xls或xlsx格式"
)])],
1
)],
1
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"up-btn-div"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
disabled
:
0
==
t
.
fileList
.
length
},
on
:{
click
:
function
(
e
){
t
.
submitUpload
(
"upload"
)}}},[
t
.
_v
(
"
\
n 上传
\
n "
)])],
1
)]):
"export"
==
t
.
type
?
a
(
"div"
,{
staticClass
:
"handle-area import"
},[
a
(
"div"
,{
staticClass
:
"step-div"
,
staticStyle
:{
"margin-bottom"
:
"90px"
,
"line-height"
:
"32px"
}},[
a
(
"span"
,{
staticClass
:
"ft-large"
},[
t
.
_v
(
"①"
)]),
t
.
_v
(
"导出门店
\
n "
),
a
(
"a"
,{
staticClass
:
"d-u-btn"
,
attrs
:{
href
:
"/haoban-manage-web/store/export?storeGroupId="
+
t
.
$route
.
query
.
departmentId
+
"&showChild="
+
t
.
$route
.
query
.
showChildMember
}},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
}},[
t
.
_v
(
" 下载"
),
a
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai m-l-5"
})])],
1
),
t
.
_v
(
"
\
n 批量修改门店信息
\
n "
)])]):
a
(
"div"
,{
staticClass
:
"error-log import"
},[
a
(
"div"
,{
staticClass
:
"title-area"
},[
a
(
"div"
,{
staticClass
:
"tip"
},[
t
.
_v
(
t
.
_s
(
t
.
uploadSuccessMsg
))]),
t
.
_v
(
" "
),
a
(
"a"
,{
attrs
:{
href
:
"/haoban-manage-web/error-improt-log-export?importCode="
+
t
.
$route
.
query
.
importCode
+
"&departmentId="
+
t
.
$route
.
query
.
departmentId
}},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
}},[
t
.
_v
(
"导出错误记录"
)])],
1
)]),
t
.
_v
(
" "
),
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
t
.
loading
,
expression
:
"loading"
}],
staticClass
:
"m-t-20"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
logList
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"index"
,
width
:
"50"
,
label
:
"序号"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"错误提示"
,
prop
:
"failReason"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"门店名称"
,
prop
:
"storeName"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"门店code"
,
prop
:
"storeCode"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"门店分组ID"
,
prop
:
"storeGroupId"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"门店类型"
,
prop
:
"storeTypeStr"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"门店状态"
,
prop
:
"statusStr"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"店长"
,
prop
:
"managerName"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"手机号码"
,
prop
:
"managerPhone"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
"86"
==
e
.
row
.
managerNationcode
||
null
==
e
.
row
.
managerNationcode
?
e
.
row
.
managerPhone
:
"+"
+
e
.
row
.
nationcode
+
"-"
+
e
.
row
.
managerPhone
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"店长编码"
,
prop
:
"managerCode"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"职位"
,
prop
:
"managerPostionName"
}})],
1
),
t
.
_v
(
" "
),
t
.
logList
.
length
?
a
(
"div"
,{
staticClass
:
"pagination"
},[
a
(
"el-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
}})],
1
):
t
.
_e
()],
1
)],
1
)])]),
t
.
_v
(
" "
),
a
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"ul"
,{
staticClass
:
"tip-area border-box "
},[
a
(
"li"
,{
staticClass
:
"tip"
},[
t
.
_v
(
"由于你的企业未进行企业认证,最多导入30家门店,如有超出,可先进行"
),
a
(
"a"
,{
staticClass
:
"a-href"
,
attrs
:{
href
:
"#/companyCertify"
}},[
t
.
_v
(
"企业认证"
)])]),
t
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"tip"
},[
t
.
_v
(
"
\
n 由于数据量可能较大,每次最多导入2000条员工档案,若超过只取前2000条,可以分多次导入
\
n "
)]),
t
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"tip"
},[
t
.
_v
(
"不能在本excel表中对门店信息类别进行增加、删除、修改"
)]),
t
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"tip"
},[
t
.
_v
(
"标*字段为必填字段,未标*字段为选填字段"
)]),
t
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"tip"
},[
t
.
_v
(
"
\
n 门店所在分组:请先到后台创建门店分组,将分组id填入导入表格中,导入中,若找不到对应分组,将直接将门店挂在根目录下面
\
n "
)]),
t
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"tip"
},[
t
.
_v
(
"未认证企业通讯录最多只能导入30家门店,超出后无法导入,请先进行企业认证"
)]),
t
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"tip"
},[
t
.
_v
(
"每次最多导入2000家门店,如果超出则只取前2000条数据,可以分多次导入"
)])])}]};
var
g
=
a
(
"VU/8"
)(
d
,
m
,
!
1
,
function
(
t
){
a
(
"Bdk4"
)},
null
,
null
);
e
.
default
=
g
.
exports
}});
\ No newline at end of file
webpackJsonp
([
62
],{
RHxA
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"Xxa5"
),
r
=
a
.
n
(
s
),
o
=
a
(
"exGp"
),
n
=
a
.
n
(
o
),
i
=
a
(
"3Xzz"
),
l
=
a
(
"elmV"
),
c
=
a
(
"P9l9"
),
u
=
a
(
"unF8"
),
p
=
a
(
"Ch4/"
),
d
=
{
name
:
"employee-io"
,
components
:{
navCrumb
:
i
.
a
,
uploadExcelComponent
:
l
.
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
:
"storeFrame"
},{
name
:
"批量导入导出"
,
path
:
""
}],
host
:
window
.
location
.
origin
,
windowH
:
window
.
screen
.
availHeight
-
180
+
"px"
,
type
:
"import"
,
fileList
:[],
url
:
t
+
"/haoban-manage-web/store/upload"
,
uploadSuccessMsg
:
""
,
logList
:[],
loading
:
!
0
,
pageSize
:
20
,
currentPage
:
1
,
total
:
0
,
gicFlag
:
!
0
}},
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
};
Object
(
c
.
a
)(
"/haoban-manage-web/error-log-page"
,
e
).
then
(
function
(
e
){
1
==
e
.
data
.
errorCode
?(
t
.
total
=
e
.
data
.
result
.
totalCount
,
t
.
logList
=
e
.
data
.
result
,
t
.
loading
=!
1
):
t
.
$message
.
error
({
message
:
e
.
data
.
message
})}).
catch
(
function
(
e
){
t
.
$message
.
error
({
message
:
e
.
message
})})},
handleRemove
:
function
(
t
,
e
){
this
.
fileList
=
[]},
handlePreview
:
function
(
t
){},
beforeAvatarUpload
:
function
(
t
){
var
e
=
t
.
name
.
lastIndexOf
(
"."
);
if
(
e
<
0
)
return
this
.
$message
.
error
(
"文件格式不正确!"
),
!
1
;
var
a
=
t
.
name
.
substring
(
e
+
1
,
t
.
name
.
length
),
s
=
a
.
includes
(
"xls"
)
||
a
.
includes
(
"xlsx"
);
return
s
||
this
.
$message
.
error
(
"文件格式必须为 xls 或 xlsx 格式!"
),
s
},
getChange
:
function
(
t
,
e
){
var
a
=
e
.
length
-
1
<
0
?
0
:
e
.
length
-
1
,
s
=
t
.
name
.
lastIndexOf
(
"."
),
r
=
t
.
name
.
substring
(
s
+
1
,
t
.
name
.
length
);
if
(
!
(
r
.
includes
(
"xls"
)
||
r
.
includes
(
"xlsx"
)))
return
this
.
$message
.
error
(
"文件格式必须为 xls 或 xlsx 格式!"
),
this
.
fileList
.
splice
(
a
,
1
),
!
1
;
this
.
fileList
=
[
e
[
a
]]},
uploadSuccess
:
function
(
t
,
e
){
var
a
=
this
;
1
==
t
.
errorCode
?(
a
.
$forceUpdate
(),
a
.
uploadSuccessMsg
=
t
.
message
.
split
(
","
),
a
.
$message
({
message
:
t
.
message
,
type
:
"success"
}),
a
.
$nextTick
(
function
(){
a
.
fileList
=
[]})):
a
.
$message
.
error
(
t
.
message
)},
submitUpload
:
function
(
t
){
this
.
$refs
[
t
].
submit
()},
getGicData
:
function
(
t
){
var
e
=
this
;
return
n
()(
r
.
a
.
mark
(
function
a
(){
var
s
,
o
,
n
,
i
;
return
r
.
a
.
wrap
(
function
(
a
){
for
(;;)
switch
(
a
.
prev
=
a
.
next
){
case
0
:
if
(
s
=
e
,
t
){
a
.
next
=
3
;
break
}
return
a
.
abrupt
(
"return"
,
!
1
);
case
3
:
return
o
=
{
type
:
1
,
businessId
:
t
},
a
.
next
=
6
,
Object
(
u
.
a
)(
o
);
case
6
:
n
=
a
.
sent
,
1
==
(
i
=
n
.
data
).
errorCode
?(
s
.
gicFlag
=
i
.
result
,
s
.
type
=
i
.
result
?
"export"
:
"import"
):
p
.
a
.
errorMsg
(
i
);
case
9
:
case
"end"
:
return
a
.
stop
()}},
a
,
e
)}))()}},
beforeMount
:
function
(){
var
t
=
this
.
$route
.
query
.
brandId
;
this
.
getGicData
(
t
),
"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"
}},
m
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"common-set-wrap"
,
style
:{
height
:
t
.
windowH
}},[
a
(
"nav-crumb"
,{
attrs
:{
navpath
:
t
.
navpath
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"div"
,{
staticClass
:
"right-box"
},[
a
(
"div"
,{
staticClass
:
"io-container border-box "
},[
t
.
_m
(
0
),
t
.
_v
(
" "
),
a
(
"el-radio-group"
,{
staticClass
:
"m-t-20"
,
on
:{
change
:
t
.
resetList
},
model
:{
value
:
t
.
type
,
callback
:
function
(
e
){
t
.
type
=
e
},
expression
:
"type"
}},[
t
.
gicFlag
?
t
.
_e
():
a
(
"el-radio-button"
,{
attrs
:{
label
:
"import"
}},[
t
.
_v
(
"导入门店"
)]),
t
.
_v
(
" "
),
a
(
"el-radio-button"
,{
attrs
:{
label
:
"export"
}},[
t
.
_v
(
"导出"
)]),
t
.
_v
(
" "
),
a
(
"el-radio-button"
,{
attrs
:{
label
:
"note"
}},[
t
.
_v
(
"错误记录"
)])],
1
),
t
.
_v
(
" "
),
"import"
==
t
.
type
?
a
(
"div"
,{
staticClass
:
"handle-area import"
},[
a
(
"div"
,{
staticClass
:
"step-div"
,
staticStyle
:{
"margin-bottom"
:
"90px"
,
"line-height"
:
"32px"
}},[
a
(
"span"
,{
staticClass
:
"ft-large"
},[
t
.
_v
(
"①"
)]),
t
.
_v
(
"下载门店导入模板,批量填写门店信息
\
n "
),
a
(
"a"
,{
staticClass
:
"d-u-btn"
,
attrs
:{
href
:
t
.
host
+
"/haoban-manage-web/excel/通讯录-门店架构导入模板.xlsx"
}},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
}},[
t
.
_v
(
" 下载"
),
a
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai m-l-5"
})])],
1
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"step-div"
},[
a
(
"span"
,{
staticClass
:
"ft-large"
},[
t
.
_v
(
"②"
)]),
t
.
_v
(
"上传填写好的门店信息
\
n "
),
a
(
"div"
,{
staticClass
:
"d-u-btn"
},[
a
(
"el-upload"
,{
ref
:
"upload"
,
staticClass
:
"upload-demo"
,
attrs
:{
action
:
t
.
url
+
"?brandId="
+
t
.
$route
.
query
.
brandId
,
"auto-upload"
:
!
1
,
"before-upload"
:
t
.
beforeAvatarUpload
,
"on-success"
:
t
.
uploadSuccess
,
"on-change"
:
t
.
getChange
,
multiple
:
!
1
,
"file-list"
:
t
.
fileList
,
"on-remove"
:
t
.
handleRemove
}},[
a
(
"el-button"
,{
attrs
:{
slot
:
"trigger"
,
size
:
"small"
,
type
:
"primary"
},
slot
:
"trigger"
},[
t
.
_v
(
"选取文件"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-upload__tip"
,
attrs
:{
slot
:
"tip"
},
slot
:
"tip"
},[
t
.
_v
(
"文件格式必须为xls或xlsx格式"
)])],
1
)],
1
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"up-btn-div"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
disabled
:
0
==
t
.
fileList
.
length
},
on
:{
click
:
function
(
e
){
t
.
submitUpload
(
"upload"
)}}},[
t
.
_v
(
"
\
n 上传
\
n "
)])],
1
)]):
"export"
==
t
.
type
?
a
(
"div"
,{
staticClass
:
"handle-area import"
},[
a
(
"div"
,{
staticClass
:
"step-div"
,
staticStyle
:{
"margin-bottom"
:
"90px"
,
"line-height"
:
"32px"
}},[
a
(
"span"
,{
staticClass
:
"ft-large"
},[
t
.
_v
(
"①"
)]),
t
.
_v
(
"导出门店
\
n "
),
a
(
"a"
,{
staticClass
:
"d-u-btn"
,
attrs
:{
href
:
"/haoban-manage-web/store/export?storeGroupId="
+
t
.
$route
.
query
.
departmentId
+
"&showChild="
+
t
.
$route
.
query
.
showChildMember
}},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
}},[
t
.
_v
(
" 下载"
),
a
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai m-l-5"
})])],
1
),
t
.
_v
(
"
\
n 批量修改门店信息
\
n "
)])]):
a
(
"div"
,{
staticClass
:
"error-log import"
},[
a
(
"div"
,{
staticClass
:
"title-area"
},[
a
(
"div"
,{
staticClass
:
"tip"
},[
t
.
_v
(
t
.
_s
(
t
.
uploadSuccessMsg
))]),
t
.
_v
(
" "
),
a
(
"a"
,{
attrs
:{
href
:
"/haoban-manage-web/error-improt-log-export?importCode="
+
t
.
$route
.
query
.
importCode
+
"&departmentId="
+
t
.
$route
.
query
.
departmentId
}},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
}},[
t
.
_v
(
"导出错误记录"
)])],
1
)]),
t
.
_v
(
" "
),
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
t
.
loading
,
expression
:
"loading"
}],
staticClass
:
"m-t-20"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
logList
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"index"
,
width
:
"50"
,
label
:
"序号"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"错误提示"
,
prop
:
"failReason"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"门店名称"
,
prop
:
"storeName"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"门店code"
,
prop
:
"storeCode"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"门店分组ID"
,
prop
:
"storeGroupId"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"门店类型"
,
prop
:
"storeTypeStr"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"门店状态"
,
prop
:
"statusStr"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"店长"
,
prop
:
"managerName"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"手机号码"
,
prop
:
"managerPhone"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
"86"
==
e
.
row
.
managerNationcode
||
null
==
e
.
row
.
managerNationcode
?
e
.
row
.
managerPhone
:
"+"
+
e
.
row
.
nationcode
+
"-"
+
e
.
row
.
managerPhone
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"店长编码"
,
prop
:
"managerCode"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"职位"
,
prop
:
"managerPostionName"
}})],
1
),
t
.
_v
(
" "
),
t
.
logList
.
length
?
a
(
"div"
,{
staticClass
:
"pagination"
},[
a
(
"el-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
}})],
1
):
t
.
_e
()],
1
)],
1
)])]),
t
.
_v
(
" "
),
a
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"ul"
,{
staticClass
:
"tip-area border-box "
},[
a
(
"li"
,{
staticClass
:
"tip"
},[
t
.
_v
(
"由于你的企业未进行企业认证,最多导入30家门店,如有超出,可先进行"
),
a
(
"a"
,{
staticClass
:
"a-href"
,
attrs
:{
href
:
"#/companyCertify"
}},[
t
.
_v
(
"企业认证"
)])]),
t
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"tip"
},[
t
.
_v
(
"
\
n 由于数据量可能较大,每次最多导入2000条员工档案,若超过只取前2000条,可以分多次导入
\
n "
)]),
t
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"tip"
},[
t
.
_v
(
"不能在本excel表中对门店信息类别进行增加、删除、修改"
)]),
t
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"tip"
},[
t
.
_v
(
"标*字段为必填字段,未标*字段为选填字段"
)]),
t
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"tip"
},[
t
.
_v
(
"
\
n 门店所在分组:请先到后台创建门店分组,将分组id填入导入表格中,导入中,若找不到对应分组,将直接将门店挂在根目录下面
\
n "
)]),
t
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"tip"
},[
t
.
_v
(
"未认证企业通讯录最多只能导入30家门店,超出后无法导入,请先进行企业认证"
)]),
t
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"tip"
},[
t
.
_v
(
"每次最多导入2000家门店,如果超出则只取前2000条数据,可以分多次导入"
)])])}]};
var
g
=
a
(
"VU/8"
)(
d
,
m
,
!
1
,
function
(
t
){
a
(
"n5sf"
)},
null
,
null
);
e
.
default
=
g
.
exports
},
n5sf
:
function
(
t
,
e
){}});
\ No newline at end of file
dist/static/js/6
4.b2ac6373d925f6a49209
.js
→
dist/static/js/6
3.02272fe3caa4b8c63c2a
.js
View file @
35fc15c1
webpackJsonp
([
64
],{
"4H54"
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"2eFk"
),
i
=
a
(
"Ke24"
),
n
=
a
(
"PI0u"
),
o
=
a
(
"Ch4/"
),
r
=
a
(
"3E4D"
),
d
=
a
(
"P9l9"
),
c
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
activeTab
:
"1"
,
activeId
:
"1"
,
activeBrand
:
this
.
brandId
,
topMenuData
:[{
id
:
"1"
,
name
:
"话务任务设置"
}],
setObj
:{
taskType
:
1
,
overDayJudge
:
""
,
distributeTypeJudge
:
""
,
giveUpJudge
:
""
}}},
computed
:{},
methods
:{
saveSet
:
Object
(
n
.
a
)(
function
(){
this
.
postSave
()},
500
),
postSave
:
function
(){
var
t
=
this
,
e
=
{
brandId
:
t
.
activeBrand
,
taskType
:
1
,
overDayJudge
:
t
.
setObj
.
overDayJudge
,
giveUpJudge
:
t
.
setObj
.
giveUpJudge
,
distributeTypeJudge
:
t
.
setObj
.
distributeTypeJudge
};
Object
(
d
.
e
)(
"/haoban-app-tel-task-web/setting/save-task-setting"
,
e
).
then
(
function
(
t
){
var
e
=
t
.
data
;
1
!=
e
.
errorCode
?
o
.
a
.
errorMsg
(
e
):
r
.
a
.
showmsg
(
"保存成功"
,
"success"
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getData
:
function
(){
var
t
=
this
,
e
=
{
brandId
:
t
.
activeBrand
,
taskType
:
1
};
Object
(
d
.
e
)(
"/haoban-app-tel-task-web/setting/find-task-setting"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
o
.
a
.
errorMsg
(
a
):
t
.
setObj
=
a
.
result
}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
brandId
:
function
(
t
,
e
){
t
&&
(
this
.
activeBrand
=
t
,
this
.
getData
())}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
$emit
(
"showTab"
,
"2"
),
this
.
brandId
&&
this
.
getData
()},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
s
.
a
,
commonDetailTop
:
i
.
a
}},
l
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"app-detail-wrap"
},[
a
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
t
.
topMenuData
,
activeId
:
t
.
activeId
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"task-set-content boder-box"
},[
a
(
"div"
,{
staticClass
:
"task-set-cell"
},[
a
(
"div"
,{
staticClass
:
"font-16 color-606266 m-b-20 font-w-500"
},[
t
.
_v
(
"话务任务逾期时间设置"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"set-line-item"
},[
a
(
"span"
,{
staticClass
:
"set-line-item_title font-14 color-606266"
},[
t
.
_v
(
"话务任务下发"
)]),
t
.
_v
(
" "
),
a
(
"el-input"
,{
staticClass
:
"w-55"
,
attrs
:{
placeholder
:
"请输入内容"
},
model
:{
value
:
t
.
setObj
.
overDayJudge
,
callback
:
function
(
e
){
t
.
$set
(
t
.
setObj
,
"overDayJudge"
,
e
)},
expression
:
"setObj.overDayJudge"
}}),
a
(
"span"
,{
staticClass
:
"font-14 color-606266 p-l-10"
},[
t
.
_v
(
"天"
)]),
t
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-14 color-909399 p-l-15"
},[
t
.
_v
(
"注:0天即为当天下发,当天完成,1天即为当天下发,次日24:00之前完成"
)])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"set-line-item"
},[
a
(
"span"
,{
staticClass
:
"set-line-item_title font-14 color-606266"
},[
t
.
_v
(
"话务任务下发"
)]),
t
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
0
},
model
:{
value
:
t
.
setObj
.
distributeTypeJudge
,
callback
:
function
(
e
){
t
.
$set
(
t
.
setObj
,
"distributeTypeJudge"
,
e
)},
expression
:
"setObj.distributeTypeJudge"
}},[
t
.
_v
(
"分配给主门店的店长"
)]),
t
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
1
},
model
:{
value
:
t
.
setObj
.
distributeTypeJudge
,
callback
:
function
(
e
){
t
.
$set
(
t
.
setObj
,
"distributeTypeJudge"
,
e
)},
expression
:
"setObj.distributeTypeJudge"
}},[
t
.
_v
(
"分配给专属导购"
)])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"set-line-item"
},[
a
(
"span"
,{
staticClass
:
"set-line-item_title font-14 color-606266"
},[
t
.
_v
(
"话务任务放弃前提"
)]),
t
.
_v
(
" "
),
a
(
"el-input"
,{
staticClass
:
"w-55"
,
attrs
:{
placeholder
:
"请输入内容"
},
model
:{
value
:
t
.
setObj
.
giveUpJudge
,
callback
:
function
(
e
){
t
.
$set
(
t
.
setObj
,
"giveUpJudge"
,
e
)},
expression
:
"setObj.giveUpJudge"
}}),
a
(
"span"
,{
staticClass
:
"font-14 color-606266 p-l-10"
},[
t
.
_v
(
"次"
)]),
t
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-14 color-606266"
},[
t
.
_v
(
"呼叫后无响应"
)])],
1
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"task-set-save m-t-30"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
saveSet
}},[
t
.
_v
(
"保 存"
)])],
1
)])],
1
)},
staticRenderFns
:[]};
var
u
=
a
(
"VU/8"
)(
c
,
l
,
!
1
,
function
(
t
){
a
(
"TTFP"
)},
"data-v-2fd5ace8"
,
null
);
e
.
default
=
u
.
exports
},
TTFP
:
function
(
t
,
e
){}});
\ No newline at end of file
webpackJsonp
([
63
],{
"4H54"
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"2eFk"
),
i
=
a
(
"Ke24"
),
n
=
a
(
"PI0u"
),
o
=
a
(
"Ch4/"
),
r
=
a
(
"3E4D"
),
d
=
a
(
"P9l9"
),
c
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
activeTab
:
"1"
,
activeId
:
"1"
,
activeBrand
:
this
.
brandId
,
topMenuData
:[{
id
:
"1"
,
name
:
"话务任务设置"
}],
setObj
:{
taskType
:
1
,
overDayJudge
:
""
,
distributeTypeJudge
:
""
,
giveUpJudge
:
""
}}},
computed
:{},
methods
:{
saveSet
:
Object
(
n
.
a
)(
function
(){
this
.
postSave
()},
500
),
postSave
:
function
(){
var
t
=
this
,
e
=
{
brandId
:
t
.
activeBrand
,
taskType
:
1
,
overDayJudge
:
t
.
setObj
.
overDayJudge
,
giveUpJudge
:
t
.
setObj
.
giveUpJudge
,
distributeTypeJudge
:
t
.
setObj
.
distributeTypeJudge
};
Object
(
d
.
e
)(
"/haoban-app-tel-task-web/setting/save-task-setting"
,
e
).
then
(
function
(
t
){
var
e
=
t
.
data
;
1
!=
e
.
errorCode
?
o
.
a
.
errorMsg
(
e
):
r
.
a
.
showmsg
(
"保存成功"
,
"success"
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getData
:
function
(){
var
t
=
this
,
e
=
{
brandId
:
t
.
activeBrand
,
taskType
:
1
};
Object
(
d
.
e
)(
"/haoban-app-tel-task-web/setting/find-task-setting"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
o
.
a
.
errorMsg
(
a
):
t
.
setObj
=
a
.
result
}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
brandId
:
function
(
t
,
e
){
t
&&
(
this
.
activeBrand
=
t
,
this
.
getData
())}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
$emit
(
"showTab"
,
"2"
),
this
.
brandId
&&
this
.
getData
()},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
s
.
a
,
commonDetailTop
:
i
.
a
}},
l
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"app-detail-wrap"
},[
a
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
t
.
topMenuData
,
activeId
:
t
.
activeId
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"task-set-content boder-box"
},[
a
(
"div"
,{
staticClass
:
"task-set-cell"
},[
a
(
"div"
,{
staticClass
:
"font-16 color-606266 m-b-20 font-w-500"
},[
t
.
_v
(
"话务任务逾期时间设置"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"set-line-item"
},[
a
(
"span"
,{
staticClass
:
"set-line-item_title font-14 color-606266"
},[
t
.
_v
(
"话务任务下发"
)]),
t
.
_v
(
" "
),
a
(
"el-input"
,{
staticClass
:
"w-55"
,
attrs
:{
placeholder
:
"请输入内容"
},
model
:{
value
:
t
.
setObj
.
overDayJudge
,
callback
:
function
(
e
){
t
.
$set
(
t
.
setObj
,
"overDayJudge"
,
e
)},
expression
:
"setObj.overDayJudge"
}}),
a
(
"span"
,{
staticClass
:
"font-14 color-606266 p-l-10"
},[
t
.
_v
(
"天"
)]),
t
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-14 color-909399 p-l-15"
},[
t
.
_v
(
"注:0天即为当天下发,当天完成,1天即为当天下发,次日24:00之前完成"
)])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"set-line-item"
},[
a
(
"span"
,{
staticClass
:
"set-line-item_title font-14 color-606266"
},[
t
.
_v
(
"话务任务下发"
)]),
t
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
0
},
model
:{
value
:
t
.
setObj
.
distributeTypeJudge
,
callback
:
function
(
e
){
t
.
$set
(
t
.
setObj
,
"distributeTypeJudge"
,
e
)},
expression
:
"setObj.distributeTypeJudge"
}},[
t
.
_v
(
"分配给主门店的店长"
)]),
t
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
1
},
model
:{
value
:
t
.
setObj
.
distributeTypeJudge
,
callback
:
function
(
e
){
t
.
$set
(
t
.
setObj
,
"distributeTypeJudge"
,
e
)},
expression
:
"setObj.distributeTypeJudge"
}},[
t
.
_v
(
"分配给专属导购"
)])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"set-line-item"
},[
a
(
"span"
,{
staticClass
:
"set-line-item_title font-14 color-606266"
},[
t
.
_v
(
"话务任务放弃前提"
)]),
t
.
_v
(
" "
),
a
(
"el-input"
,{
staticClass
:
"w-55"
,
attrs
:{
placeholder
:
"请输入内容"
},
model
:{
value
:
t
.
setObj
.
giveUpJudge
,
callback
:
function
(
e
){
t
.
$set
(
t
.
setObj
,
"giveUpJudge"
,
e
)},
expression
:
"setObj.giveUpJudge"
}}),
a
(
"span"
,{
staticClass
:
"font-14 color-606266 p-l-10"
},[
t
.
_v
(
"次"
)]),
t
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-14 color-606266"
},[
t
.
_v
(
"呼叫后无响应"
)])],
1
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"task-set-save m-t-30"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
saveSet
}},[
t
.
_v
(
"保 存"
)])],
1
)])],
1
)},
staticRenderFns
:[]};
var
u
=
a
(
"VU/8"
)(
c
,
l
,
!
1
,
function
(
t
){
a
(
"TTFP"
)},
"data-v-2fd5ace8"
,
null
);
e
.
default
=
u
.
exports
},
TTFP
:
function
(
t
,
e
){}});
\ No newline at end of file
dist/static/js/6
5.f4f7e3f4ecb0250e9119
.js
→
dist/static/js/6
4.ebc341a9017c4b2c1112
.js
View file @
35fc15c1
webpackJsonp
([
65
],{
SKyE
:
function
(
t
,
e
,
r
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
r
(
"3Xzz"
),
s
=
r
(
"PI0u"
),
n
=
{
name
:
"companyAddress"
,
data
:
function
(){
var
t
=
this
;
return
{
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"设置"
,
path
:
"/companyAddress"
},{
name
:
"企业设置"
,
path
:
"/companyAddress"
},{
name
:
"企业地址"
,
path
:
""
}],
ruleForm
:{
switch
:
!
1
,
name
:
""
},
rules
:{
name
:[{
validator
:
function
(
e
,
r
,
a
){
t
.
ruleForm
.
switch
&&
""
==
r
.
replace
(
/
\s
/g
)?
a
(
new
Error
(
"请输入地址"
)):
a
()},
trigger
:
"blur"
}]}}},
computed
:{},
methods
:{
submitForm
:
Object
(
s
.
a
)(
function
(
t
){
this
.
$refs
[
t
].
validate
(
function
(
t
){
if
(
!
t
)
return
!
1
})},
500
),
postSave
:
function
(){
this
.
ruleForm
=
[]}},
components
:{
navCrumb
:
a
.
a
}},
o
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
r
=
t
.
_self
.
_c
||
e
;
return
r
(
"div"
,{
staticClass
:
"companyAddress-wrap common-set-wrap"
},[
r
(
"nav-crumb"
,{
attrs
:{
navpath
:
t
.
navpath
}}),
t
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"right-content"
},[
r
(
"div"
,{
staticClass
:
"right-box"
,
style
:{
height
:
t
.
$store
.
state
.
bgHeight
}},[
r
(
"h2"
,{
staticClass
:
"font-w-500"
},[
t
.
_v
(
"企业地址设置"
)]),
t
.
_v
(
" "
),
r
(
"p"
,{
staticClass
:
"m-t-24"
},[
t
.
_v
(
"开启后手机端通讯录将显示,反之则不显示"
)]),
t
.
_v
(
" "
),
r
(
"el-form"
,{
ref
:
"ruleForm"
,
staticClass
:
"demo-ruleForm"
,
attrs
:{
model
:
t
.
ruleForm
,
rules
:
t
.
rules
,
"label-width"
:
"100px"
}},[
r
(
"el-form-item"
,{
staticClass
:
"m-t-22"
,
attrs
:{
label
:
"企业地址"
,
prop
:
"switch"
}},[
r
(
"el-switch"
,{
model
:{
value
:
t
.
ruleForm
.
switch
,
callback
:
function
(
e
){
t
.
$set
(
t
.
ruleForm
,
"switch"
,
e
)},
expression
:
"ruleForm.switch"
}})],
1
),
t
.
_v
(
" "
),
t
.
ruleForm
.
switch
?
r
(
"el-form-item"
,{
attrs
:{
label
:
" "
,
prop
:
"name"
}},[
r
(
"el-input"
,{
staticClass
:
"w-380"
,
attrs
:{
placeholder
:
"请输入地址"
},
model
:{
value
:
t
.
ruleForm
.
name
,
callback
:
function
(
e
){
t
.
$set
(
t
.
ruleForm
,
"name"
,
e
)},
expression
:
"ruleForm.name"
}})],
1
):
t
.
_e
(),
t
.
_v
(
" "
),
r
(
"el-form-item"
,[
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
e
){
t
.
submitForm
(
"ruleForm"
)}}},[
t
.
_v
(
"保 存"
)])],
1
)],
1
)],
1
)]),
t
.
_v
(
" "
),
r
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
l
=
r
(
"VU/8"
)(
n
,
o
,
!
1
,
function
(
t
){
r
(
"qQHY"
)},
"data-v-2fb3a450"
,
null
);
e
.
default
=
l
.
exports
},
qQHY
:
function
(
t
,
e
){}});
\ No newline at end of file
webpackJsonp
([
64
],{
SKyE
:
function
(
t
,
e
,
r
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
r
(
"3Xzz"
),
s
=
r
(
"PI0u"
),
n
=
{
name
:
"companyAddress"
,
data
:
function
(){
var
t
=
this
;
return
{
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"设置"
,
path
:
"/companyAddress"
},{
name
:
"企业设置"
,
path
:
"/companyAddress"
},{
name
:
"企业地址"
,
path
:
""
}],
ruleForm
:{
switch
:
!
1
,
name
:
""
},
rules
:{
name
:[{
validator
:
function
(
e
,
r
,
a
){
t
.
ruleForm
.
switch
&&
""
==
r
.
replace
(
/
\s
/g
)?
a
(
new
Error
(
"请输入地址"
)):
a
()},
trigger
:
"blur"
}]}}},
computed
:{},
methods
:{
submitForm
:
Object
(
s
.
a
)(
function
(
t
){
this
.
$refs
[
t
].
validate
(
function
(
t
){
if
(
!
t
)
return
!
1
})},
500
),
postSave
:
function
(){
this
.
ruleForm
=
[]}},
components
:{
navCrumb
:
a
.
a
}},
o
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
r
=
t
.
_self
.
_c
||
e
;
return
r
(
"div"
,{
staticClass
:
"companyAddress-wrap common-set-wrap"
},[
r
(
"nav-crumb"
,{
attrs
:{
navpath
:
t
.
navpath
}}),
t
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"right-content"
},[
r
(
"div"
,{
staticClass
:
"right-box"
,
style
:{
height
:
t
.
$store
.
state
.
bgHeight
}},[
r
(
"h2"
,{
staticClass
:
"font-w-500"
},[
t
.
_v
(
"企业地址设置"
)]),
t
.
_v
(
" "
),
r
(
"p"
,{
staticClass
:
"m-t-24"
},[
t
.
_v
(
"开启后手机端通讯录将显示,反之则不显示"
)]),
t
.
_v
(
" "
),
r
(
"el-form"
,{
ref
:
"ruleForm"
,
staticClass
:
"demo-ruleForm"
,
attrs
:{
model
:
t
.
ruleForm
,
rules
:
t
.
rules
,
"label-width"
:
"100px"
}},[
r
(
"el-form-item"
,{
staticClass
:
"m-t-22"
,
attrs
:{
label
:
"企业地址"
,
prop
:
"switch"
}},[
r
(
"el-switch"
,{
model
:{
value
:
t
.
ruleForm
.
switch
,
callback
:
function
(
e
){
t
.
$set
(
t
.
ruleForm
,
"switch"
,
e
)},
expression
:
"ruleForm.switch"
}})],
1
),
t
.
_v
(
" "
),
t
.
ruleForm
.
switch
?
r
(
"el-form-item"
,{
attrs
:{
label
:
" "
,
prop
:
"name"
}},[
r
(
"el-input"
,{
staticClass
:
"w-380"
,
attrs
:{
placeholder
:
"请输入地址"
},
model
:{
value
:
t
.
ruleForm
.
name
,
callback
:
function
(
e
){
t
.
$set
(
t
.
ruleForm
,
"name"
,
e
)},
expression
:
"ruleForm.name"
}})],
1
):
t
.
_e
(),
t
.
_v
(
" "
),
r
(
"el-form-item"
,[
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
e
){
t
.
submitForm
(
"ruleForm"
)}}},[
t
.
_v
(
"保 存"
)])],
1
)],
1
)],
1
)]),
t
.
_v
(
" "
),
r
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
l
=
r
(
"VU/8"
)(
n
,
o
,
!
1
,
function
(
t
){
r
(
"qQHY"
)},
"data-v-2fb3a450"
,
null
);
e
.
default
=
l
.
exports
},
qQHY
:
function
(
t
,
e
){}});
\ No newline at end of file
dist/static/js/6
6.d8e2dce37c7df6e611a6
.js
→
dist/static/js/6
5.afcb60484e7a9ec39f28
.js
View file @
35fc15c1
webpackJsonp
([
66
],{
JsWW
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"3Xzz"
),
n
=
a
(
"P9l9"
),
r
=
a
(
"MJLE"
),
i
=
a
.
n
(
r
),
o
=
{
name
:
"shareCode"
,
components
:{
navCrumb
:
s
.
a
},
data
:
function
(){
return
{
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"通讯录"
,
path
:
"/administrativeFrame"
},{
name
:
"共享通讯录"
,
path
:
""
}],
regenerate
:
!
1
,
qrCodeContent
:{},
shares
:[],
qrcodeCase
:
""
,
myEnterprise
:
""
,
dialogVisible
:
!
1
}},
methods
:{
getCode
:
function
(){
var
e
=
this
,
t
=
{
regenerate
:
arguments
.
length
>
0
&&
void
0
!==
arguments
[
0
]
&&
arguments
[
0
]};
Object
(
n
.
a
)(
"/haoban-manage-web/shared-contact/get-shared-qrcode"
,
t
).
then
(
function
(
t
){
1
==
t
.
data
.
errorCode
?
e
.
qrcode
(
t
.
data
.
result
.
qrCodeContent
):
e
.
$message
.
error
({
message
:
t
.
data
.
message
})}).
catch
(
function
(
t
){
e
.
$message
.
error
({
message
:
t
.
message
})})},
reFresh
:
function
(){
document
.
getElementById
(
"qrcode"
).
innerHTML
=
""
,
this
.
qrcodeCase
.
clear
(),
this
.
getCode
(
!
0
)},
qrcode
:
function
(
e
){
this
.
qrcodeCase
=
new
i
.
a
(
"qrcode"
,{
width
:
245
,
height
:
245
,
text
:
e
})},
downloadCode
:
function
(){
var
e
=
document
.
getElementById
(
"qrcode"
).
getElementsByTagName
(
"img"
)[
0
].
getAttribute
(
"src"
),
t
=
document
.
createElement
(
"a"
),
a
=
new
MouseEvent
(
"click"
);
t
.
download
=
"scan code"
,
t
.
href
=
e
,
t
.
dispatchEvent
(
a
)},
getShareRelation
:
function
(){
var
e
=
this
;
Object
(
n
.
a
)(
"/haoban-manage-web/shared-contact/find-shared-contact-relation"
,{
enterpriseIdCondition
:
1
}).
then
(
function
(
t
){
1
==
t
.
data
.
errorCode
?(
e
.
shares
=
t
.
data
.
result
||
[],
e
.
shares
.
length
>
0
&&
(
e
.
myEnterprise
=
t
.
data
.
result
[
0
].
exportEnterpriseName
)):
e
.
$message
.
error
({
message
:
t
.
data
.
message
})}).
catch
(
function
(
t
){
e
.
$message
.
error
({
message
:
t
.
message
})})},
cancelShare
:
function
(
e
){
var
t
=
this
;
t
.
$confirm
(
"是否要取消与该企业的共享?"
,
"提示"
,{
type
:
"warning"
}).
then
(
function
(){
Object
(
n
.
a
)(
"/haoban-manage-web/shared-contact/del-shared-enterprise"
,{
importEnterpriseId
:
e
.
importEnterpriseId
}).
then
(
function
(
a
){
if
(
1
==
a
.
data
.
errorCode
){
var
s
=
t
.
shares
.
indexOf
(
e
);
t
.
shares
.
splice
(
s
,
1
)}
else
t
.
$message
.
error
({
message
:
a
.
data
.
message
})}).
catch
(
function
(
e
){
t
.
$message
.
error
({
message
:
e
.
message
})})}).
catch
({})}},
beforeMount
:
function
(){
this
.
getShareRelation
(),
this
.
getCode
()}},
c
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"common-set-wrap"
},[
a
(
"nav-crumb"
,{
attrs
:{
navpath
:
e
.
navpath
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"div"
,{
staticClass
:
"right-box"
},[
a
(
"div"
,{
staticClass
:
"share-code-div"
},[
a
(
"p"
,{
staticClass
:
"company-name"
},[
e
.
_v
(
e
.
_s
(
e
.
myEnterprise
)
+
"的共享企业"
)]),
e
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"word"
},[
e
.
_v
(
"双方共享的通讯录,选人时可以选到,同时邀请企业建立共享关系"
)]),
e
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"time-tip"
},[
e
.
_v
(
"一个二维码只能和一个企业建立共享关系,24小时有效"
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-20"
,
attrs
:{
id
:
"qrcode"
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"btn-area"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
downloadCode
}},[
e
.
_v
(
"下载"
),
a
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai"
})]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
reFresh
()}}},[
e
.
_v
(
"重新生成"
)])],
1
),
e
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"company-name"
},[
e
.
_v
(
"已建立的共享企业"
)]),
e
.
_v
(
" "
),
e
.
shares
.
length
>
0
?
a
(
"div"
,{
staticClass
:
"share-table"
},[
a
(
"div"
,{
staticClass
:
"company"
},[
e
.
_v
(
e
.
_s
(
e
.
myEnterprise
))]),
e
.
_v
(
" "
),
a
(
"ul"
,{
staticClass
:
"list"
},
e
.
_l
(
e
.
shares
,
function
(
t
){
return
a
(
"li"
,{
key
:
t
.
importEnterpriseId
,
staticClass
:
"li"
},[
a
(
"div"
,{
staticClass
:
"name"
},[
e
.
_v
(
e
.
_s
(
t
.
importEnterpriseName
))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"cancel-btn"
},[
a
(
"a"
,{
staticClass
:
"a-href"
,
on
:{
click
:
function
(
a
){
e
.
cancelShare
(
t
)}}},[
e
.
_v
(
"取消共享"
)])])])}))]):
e
.
_e
(),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"no-share-tip"
},[
e
.
_v
(
"暂无共享企业"
)]),
e
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
title
:
"验证管理员身份"
,
width
:
"356px"
,
visible
:
e
.
dialogVisible
},
on
:{
"update:visible"
:
function
(
t
){
e
.
dialogVisible
=
t
}}},[
a
(
"div"
,{
staticClass
:
"cancel-code"
},[
a
(
"p"
,[
e
.
_v
(
"请使用管理员的好办扫一扫确认"
)])])])],
1
)])]),
e
.
_v
(
" "
),
a
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
d
=
a
(
"VU/8"
)(
o
,
c
,
!
1
,
function
(
e
){
a
(
"s7yw"
)},
null
,
null
);
t
.
default
=
d
.
exports
},
s7yw
:
function
(
e
,
t
){}});
\ No newline at end of file
webpackJsonp
([
65
],{
JsWW
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"3Xzz"
),
n
=
a
(
"P9l9"
),
r
=
a
(
"MJLE"
),
i
=
a
.
n
(
r
),
o
=
{
name
:
"shareCode"
,
components
:{
navCrumb
:
s
.
a
},
data
:
function
(){
return
{
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"通讯录"
,
path
:
"/administrativeFrame"
},{
name
:
"共享通讯录"
,
path
:
""
}],
regenerate
:
!
1
,
qrCodeContent
:{},
shares
:[],
qrcodeCase
:
""
,
myEnterprise
:
""
,
dialogVisible
:
!
1
}},
methods
:{
getCode
:
function
(){
var
e
=
this
,
t
=
{
regenerate
:
arguments
.
length
>
0
&&
void
0
!==
arguments
[
0
]
&&
arguments
[
0
]};
Object
(
n
.
a
)(
"/haoban-manage-web/shared-contact/get-shared-qrcode"
,
t
).
then
(
function
(
t
){
1
==
t
.
data
.
errorCode
?
e
.
qrcode
(
t
.
data
.
result
.
qrCodeContent
):
e
.
$message
.
error
({
message
:
t
.
data
.
message
})}).
catch
(
function
(
t
){
e
.
$message
.
error
({
message
:
t
.
message
})})},
reFresh
:
function
(){
document
.
getElementById
(
"qrcode"
).
innerHTML
=
""
,
this
.
qrcodeCase
.
clear
(),
this
.
getCode
(
!
0
)},
qrcode
:
function
(
e
){
this
.
qrcodeCase
=
new
i
.
a
(
"qrcode"
,{
width
:
245
,
height
:
245
,
text
:
e
})},
downloadCode
:
function
(){
var
e
=
document
.
getElementById
(
"qrcode"
).
getElementsByTagName
(
"img"
)[
0
].
getAttribute
(
"src"
),
t
=
document
.
createElement
(
"a"
),
a
=
new
MouseEvent
(
"click"
);
t
.
download
=
"scan code"
,
t
.
href
=
e
,
t
.
dispatchEvent
(
a
)},
getShareRelation
:
function
(){
var
e
=
this
;
Object
(
n
.
a
)(
"/haoban-manage-web/shared-contact/find-shared-contact-relation"
,{
enterpriseIdCondition
:
1
}).
then
(
function
(
t
){
1
==
t
.
data
.
errorCode
?(
e
.
shares
=
t
.
data
.
result
||
[],
e
.
shares
.
length
>
0
&&
(
e
.
myEnterprise
=
t
.
data
.
result
[
0
].
exportEnterpriseName
)):
e
.
$message
.
error
({
message
:
t
.
data
.
message
})}).
catch
(
function
(
t
){
e
.
$message
.
error
({
message
:
t
.
message
})})},
cancelShare
:
function
(
e
){
var
t
=
this
;
t
.
$confirm
(
"是否要取消与该企业的共享?"
,
"提示"
,{
type
:
"warning"
}).
then
(
function
(){
Object
(
n
.
a
)(
"/haoban-manage-web/shared-contact/del-shared-enterprise"
,{
importEnterpriseId
:
e
.
importEnterpriseId
}).
then
(
function
(
a
){
if
(
1
==
a
.
data
.
errorCode
){
var
s
=
t
.
shares
.
indexOf
(
e
);
t
.
shares
.
splice
(
s
,
1
)}
else
t
.
$message
.
error
({
message
:
a
.
data
.
message
})}).
catch
(
function
(
e
){
t
.
$message
.
error
({
message
:
e
.
message
})})}).
catch
({})}},
beforeMount
:
function
(){
this
.
getShareRelation
(),
this
.
getCode
()}},
c
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"common-set-wrap"
},[
a
(
"nav-crumb"
,{
attrs
:{
navpath
:
e
.
navpath
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"div"
,{
staticClass
:
"right-box"
},[
a
(
"div"
,{
staticClass
:
"share-code-div"
},[
a
(
"p"
,{
staticClass
:
"company-name"
},[
e
.
_v
(
e
.
_s
(
e
.
myEnterprise
)
+
"的共享企业"
)]),
e
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"word"
},[
e
.
_v
(
"双方共享的通讯录,选人时可以选到,同时邀请企业建立共享关系"
)]),
e
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"time-tip"
},[
e
.
_v
(
"一个二维码只能和一个企业建立共享关系,24小时有效"
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-20"
,
attrs
:{
id
:
"qrcode"
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"btn-area"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
downloadCode
}},[
e
.
_v
(
"下载"
),
a
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai"
})]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
reFresh
()}}},[
e
.
_v
(
"重新生成"
)])],
1
),
e
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"company-name"
},[
e
.
_v
(
"已建立的共享企业"
)]),
e
.
_v
(
" "
),
e
.
shares
.
length
>
0
?
a
(
"div"
,{
staticClass
:
"share-table"
},[
a
(
"div"
,{
staticClass
:
"company"
},[
e
.
_v
(
e
.
_s
(
e
.
myEnterprise
))]),
e
.
_v
(
" "
),
a
(
"ul"
,{
staticClass
:
"list"
},
e
.
_l
(
e
.
shares
,
function
(
t
){
return
a
(
"li"
,{
key
:
t
.
importEnterpriseId
,
staticClass
:
"li"
},[
a
(
"div"
,{
staticClass
:
"name"
},[
e
.
_v
(
e
.
_s
(
t
.
importEnterpriseName
))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"cancel-btn"
},[
a
(
"a"
,{
staticClass
:
"a-href"
,
on
:{
click
:
function
(
a
){
e
.
cancelShare
(
t
)}}},[
e
.
_v
(
"取消共享"
)])])])}))]):
e
.
_e
(),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"no-share-tip"
},[
e
.
_v
(
"暂无共享企业"
)]),
e
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
title
:
"验证管理员身份"
,
width
:
"356px"
,
visible
:
e
.
dialogVisible
},
on
:{
"update:visible"
:
function
(
t
){
e
.
dialogVisible
=
t
}}},[
a
(
"div"
,{
staticClass
:
"cancel-code"
},[
a
(
"p"
,[
e
.
_v
(
"请使用管理员的好办扫一扫确认"
)])])])],
1
)])]),
e
.
_v
(
" "
),
a
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
d
=
a
(
"VU/8"
)(
o
,
c
,
!
1
,
function
(
e
){
a
(
"s7yw"
)},
null
,
null
);
t
.
default
=
d
.
exports
},
s7yw
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/6
7.dd430b5802c68f5ac5d
2.js
→
dist/static/js/6
6.0c2656f4decfecb5997
2.js
View file @
35fc15c1
webpackJsonp
([
67
],{
RQuk
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
o
=
a
(
"mvHQ"
),
n
=
a
.
n
(
o
),
r
=
a
(
"nsZK"
),
c
=
a
(
"P9l9"
),
i
=
a
(
"Ch4/"
),
s
=
{
name
:
"index"
,
components
:{
storeTreeSelect
:
r
.
a
},
data
:
function
(){
var
e
=
this
;
return
{
projectName
:
"haoban-manage-web"
,
contentHeight
:
"0px"
,
choiceDate
:[],
choiceDateCopy
:[],
pickerOptions
:{
onPick
:
function
(
t
){
var
a
=
t
.
maxDate
,
o
=
t
.
minDate
;
e
.
choiceDateCopy
=
[
o
.
getTime
()],
a
&&
(
e
.
choiceDateCopy
=
[])},
disabledDate
:
function
(
t
){
if
(
e
.
choiceDateCopy
.
length
){
var
a
=
e
.
choiceDateCopy
[
0
]
-
26784
e5
,
o
=
e
.
choiceDateCopy
[
0
]
+
26784
e5
;
return
t
.
getTime
()
<
a
||
t
.
getTime
()
>
o
||
t
.
getTime
()
>
Date
.
now
()
-
864
e4
}
return
t
.
getTime
()
>
Date
.
now
()
-
864
e4
}},
brandId
:
""
,
activeGroupId
:
""
,
storeGroupIds
:[]}},
methods
:{
exportData
:
function
(){
this
.
postExportData
()},
postExportData
:
function
(){
var
e
=
this
,
t
=
{
date
:
e
.
choiceDate
,
storeIds
:
e
.
storeGroupIds
};
Object
(
c
.
a
)(
"/haoban-manage-web/home/find-quick-entry"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
1
!=
a
.
errorCode
?
i
.
a
.
errorMsg
(
a
):
e
.
entryData
=
a
.
result
}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
changeDate
:
function
(
e
){
e
?
this
.
choiceDateCopy
=
JSON
.
parse
(
n
()(
this
.
choiceDate
)):(
this
.
choiceDateCopy
=
[],
this
.
choiceDate
=
[])},
checkStoreGroupIds
:
function
(
e
){
this
.
currentPage
=
1
,
this
.
storeGroupIds
=
e
},
getStoreData
:
function
(){
var
e
=
this
;
Object
(
c
.
a
)(
"/haoban-manage-web/home/find-quick-entry"
,{}).
then
(
function
(
t
){
var
a
=
t
.
data
;
1
!=
a
.
errorCode
?
i
.
a
.
errorMsg
(
a
):
e
.
entryData
=
a
.
result
}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
mounted
:
function
(){
this
.
getStoreData
()}},
d
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"sign-contain"
},[
a
(
"div"
,{
staticClass
:
"sign-content border-box"
},[
a
(
"div"
,[
a
(
"el-date-picker"
,{
staticClass
:
"m-l-10"
,
attrs
:{
"picker-options"
:
e
.
pickerOptions
,
editable
:
!
1
,
"value-format"
:
"yyyy-MM-dd"
,
type
:
"daterange"
,
align
:
"right"
,
"unlink-panels"
:
""
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
},
on
:{
change
:
e
.
changeDate
},
model
:{
value
:
e
.
choiceDate
,
callback
:
function
(
t
){
e
.
choiceDate
=
t
},
expression
:
"choiceDate"
}})],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-20"
},[
a
(
"store-tree-select"
,{
attrs
:{
brandId
:
e
.
brandId
,
activeGroupId
:
e
.
activeGroupId
},
on
:{
checkStoreGroupIds
:
e
.
checkStoreGroupIds
}})],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-20"
},[
a
(
"el-button"
,{
staticClass
:
"m-l-10"
,
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
exportData
}},[
a
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai p-r-6"
}),
e
.
_v
(
"导 出"
)])],
1
)])])},
staticRenderFns
:[]};
var
u
=
a
(
"VU/8"
)(
s
,
d
,
!
1
,
function
(
e
){
a
(
"cFr2"
)},
"data-v-2bbf7460"
,
null
);
t
.
default
=
u
.
exports
},
cFr2
:
function
(
e
,
t
){}});
\ No newline at end of file
webpackJsonp
([
66
],{
RQuk
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
o
=
a
(
"mvHQ"
),
n
=
a
.
n
(
o
),
r
=
a
(
"nsZK"
),
c
=
a
(
"P9l9"
),
i
=
a
(
"Ch4/"
),
s
=
{
name
:
"index"
,
components
:{
storeTreeSelect
:
r
.
a
},
data
:
function
(){
var
e
=
this
;
return
{
projectName
:
"haoban-manage-web"
,
contentHeight
:
"0px"
,
choiceDate
:[],
choiceDateCopy
:[],
pickerOptions
:{
onPick
:
function
(
t
){
var
a
=
t
.
maxDate
,
o
=
t
.
minDate
;
e
.
choiceDateCopy
=
[
o
.
getTime
()],
a
&&
(
e
.
choiceDateCopy
=
[])},
disabledDate
:
function
(
t
){
if
(
e
.
choiceDateCopy
.
length
){
var
a
=
e
.
choiceDateCopy
[
0
]
-
26784
e5
,
o
=
e
.
choiceDateCopy
[
0
]
+
26784
e5
;
return
t
.
getTime
()
<
a
||
t
.
getTime
()
>
o
||
t
.
getTime
()
>
Date
.
now
()
-
864
e4
}
return
t
.
getTime
()
>
Date
.
now
()
-
864
e4
}},
brandId
:
""
,
activeGroupId
:
""
,
storeGroupIds
:[]}},
methods
:{
exportData
:
function
(){
this
.
postExportData
()},
postExportData
:
function
(){
var
e
=
this
,
t
=
{
date
:
e
.
choiceDate
,
storeIds
:
e
.
storeGroupIds
};
Object
(
c
.
a
)(
"/haoban-manage-web/home/find-quick-entry"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
1
!=
a
.
errorCode
?
i
.
a
.
errorMsg
(
a
):
e
.
entryData
=
a
.
result
}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
changeDate
:
function
(
e
){
e
?
this
.
choiceDateCopy
=
JSON
.
parse
(
n
()(
this
.
choiceDate
)):(
this
.
choiceDateCopy
=
[],
this
.
choiceDate
=
[])},
checkStoreGroupIds
:
function
(
e
){
this
.
currentPage
=
1
,
this
.
storeGroupIds
=
e
},
getStoreData
:
function
(){
var
e
=
this
;
Object
(
c
.
a
)(
"/haoban-manage-web/home/find-quick-entry"
,{}).
then
(
function
(
t
){
var
a
=
t
.
data
;
1
!=
a
.
errorCode
?
i
.
a
.
errorMsg
(
a
):
e
.
entryData
=
a
.
result
}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
mounted
:
function
(){
this
.
getStoreData
()}},
d
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"sign-contain"
},[
a
(
"div"
,{
staticClass
:
"sign-content border-box"
},[
a
(
"div"
,[
a
(
"el-date-picker"
,{
staticClass
:
"m-l-10"
,
attrs
:{
"picker-options"
:
e
.
pickerOptions
,
editable
:
!
1
,
"value-format"
:
"yyyy-MM-dd"
,
type
:
"daterange"
,
align
:
"right"
,
"unlink-panels"
:
""
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
},
on
:{
change
:
e
.
changeDate
},
model
:{
value
:
e
.
choiceDate
,
callback
:
function
(
t
){
e
.
choiceDate
=
t
},
expression
:
"choiceDate"
}})],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-20"
},[
a
(
"store-tree-select"
,{
attrs
:{
brandId
:
e
.
brandId
,
activeGroupId
:
e
.
activeGroupId
},
on
:{
checkStoreGroupIds
:
e
.
checkStoreGroupIds
}})],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-20"
},[
a
(
"el-button"
,{
staticClass
:
"m-l-10"
,
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
exportData
}},[
a
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai p-r-6"
}),
e
.
_v
(
"导 出"
)])],
1
)])])},
staticRenderFns
:[]};
var
u
=
a
(
"VU/8"
)(
s
,
d
,
!
1
,
function
(
e
){
a
(
"cFr2"
)},
"data-v-2bbf7460"
,
null
);
t
.
default
=
u
.
exports
},
cFr2
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/6
8.35865c6a89a06bb244fb
.js
→
dist/static/js/6
7.57f329b5a1c3658845e9
.js
View file @
35fc15c1
webpackJsonp
([
68
],{
"68Un"
:
function
(
e
,
t
){},
kCy7
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
o
=
a
(
"Ke24"
),
n
=
a
(
"Ie7z"
),
i
=
a
(
"P9l9"
),
s
=
a
(
"PI0u"
),
r
=
a
(
"Ch4/"
),
c
=
{
name
:
"noticeList"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
activeGroupId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
var
e
=
this
;
return
{
topMenuData
:[{
id
:
"1"
,
name
:
"签到记录"
}],
activeId
:
"1"
,
activeBrand
:
this
.
brandId
,
activeGroup
:
this
.
activeGroupId
,
conditionObj
:{
keyword
:
""
,
storeGroup
:[],
signStatus
:
""
,
choiceDate
:[]},
signStatusOptions
:[{
value
:
""
,
label
:
"所有状态"
},{
value
:
"0"
,
label
:
"签到"
},{
value
:
"1"
,
label
:
"签退"
}],
choiceDateCopy
:[],
pickerOptions
:{
onPick
:
function
(
t
){
var
a
=
t
.
maxDate
,
o
=
t
.
minDate
;
e
.
choiceDateCopy
=
[
o
.
getTime
()],
a
&&
(
e
.
choiceDateCopy
=
[])},
disabledDate
:
function
(
t
){
if
(
e
.
choiceDateCopy
.
length
){
var
a
=
e
.
choiceDateCopy
[
0
]
-
2592
e6
,
o
=
e
.
choiceDateCopy
[
0
]
+
2592
e6
;
return
t
.
getTime
()
<
a
||
t
.
getTime
()
>
o
||
t
.
getTime
()
>
Date
.
now
()
-
864
e4
}
return
t
.
getTime
()
>
Date
.
now
()
-
864
e4
}},
tableData
:[],
pageSize
:
20
,
currentPage
:
1
,
totalCount
:
0
,
appScene
:
2
,
defaultStoreList
:[],
storeTreeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
1
}}},
filters
:{
formatTimeYMD
:
function
(
e
){
var
t
=
new
Date
(
e
),
a
=
t
.
getMonth
()
+
1
,
o
=
t
.
getDate
()
<
10
?
"0"
+
t
.
getDate
():
t
.
getDate
(),
n
=
a
<
10
?
"0"
+
a
:
a
;
return
t
.
getFullYear
()
+
"-"
+
n
+
"-"
+
o
},
formatTimeHMS
:
function
(
e
){
var
t
=
new
Date
(
e
);
return
(
t
.
getHours
()
<
10
?
"0"
+
t
.
getHours
():
t
.
getHours
())
+
":"
+
(
t
.
getMinutes
()
<
10
?
"0"
+
t
.
getMinutes
():
t
.
getMinutes
())}},
watch
:{
brandId
:
function
(
e
,
t
){
e
&&
(
this
.
activeBrand
=
e
,
this
.
getTableList
())},
activeGroupId
:
function
(
e
,
t
){
e
&&
(
this
.
activeGroup
=
e
)}},
mounted
:
function
(){
var
e
=
this
;
e
.
activeBrand
=
this
.
brandId
;
var
t
=
new
Date
,
a
=
t
.
getTime
()
-
2592
e6
,
o
=
t
.
getFullYear
(),
n
=
t
.
getMonth
()
+
1
,
i
=
t
.
getDate
()
<
10
?
"0"
+
t
.
getDate
():
t
.
getDate
(),
s
=
n
<
10
?
"0"
+
n
:
n
,
r
=
new
Date
(
a
),
c
=
r
.
getFullYear
(),
l
=
r
.
getMonth
()
+
1
,
u
=
r
.
getDate
()
<
10
?
"0"
+
r
.
getDate
():
r
.
getDate
(),
d
=
l
<
10
?
"0"
+
l
:
l
;
e
.
conditionObj
.
choiceDate
=
[
c
+
"-"
+
d
+
"-"
+
u
,
o
+
"-"
+
s
+
"-"
+
i
],
e
.
brandId
&&
e
.
$nextTick
(
function
(
t
){
e
.
getTableList
()})},
methods
:{
showDialogLayer
:
function
(
e
,
t
){
this
.
selectType
=
e
,
this
.
changed
=
e
,
this
.
defaultStoreList
=
t
,
this
.
storeTreeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
1
,
isSelectPerson
:
!
1
}},
handleSelectedList
:
function
(
e
){
this
.
conditionObj
.
storeGroup
=
e
,
this
.
getTableList
()},
delDepart
:
function
(
e
,
t
){
t
.
splice
(
e
,
1
),
this
.
currentPage
=
1
,
this
.
getTableList
()},
getTableList
:
function
(){
var
e
=
this
;
e
.
loading
=!
0
;
var
t
=
[],
a
=
[],
o
=
[
"星期天"
,
"星期一"
,
"星期二"
,
"星期三"
,
"星期四"
,
"星期五"
,
"星期六"
];
e
.
conditionObj
.
storeGroup
.
forEach
(
function
(
e
){
2
==
e
.
type
&&
t
.
push
(
e
.
groupId
),
3
==
e
.
type
&&
a
.
push
(
e
.
storeId
)});
var
n
=
{
haobanEnterpriseId
:
localStorage
.
getItem
(
"userInfo"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfo"
)).
enterpriseId
:
""
,
search
:
e
.
conditionObj
.
keyword
||
""
,
haobanBrandId
:
e
.
activeBrand
,
storeIds
:
a
.
join
(
","
)
||
""
,
groupIds
:
t
.
join
(
","
)
||
""
,
signType
:
e
.
conditionObj
.
signStatus
||
""
,
startDate
:
e
.
conditionObj
&&
e
.
conditionObj
.
choiceDate
[
0
]?
e
.
conditionObj
.
choiceDate
[
0
]:
""
,
endDate
:
e
.
conditionObj
&&
e
.
conditionObj
.
choiceDate
[
1
]?
e
.
conditionObj
.
choiceDate
[
1
]:
""
,
pageNum
:
e
.
currentPage
,
pageSize
:
e
.
pageSize
};
Object
(
i
.
a
)(
"/haoban-app-sign-web/sign/sign-list"
,
n
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
e
.
loading
=!
1
,
1
==
a
.
errorCode
)
return
a
.
result
.
list
.
forEach
(
function
(
e
){
e
.
week
=
o
[
new
Date
(
e
.
signDay
).
getDay
()]}),
e
.
tableData
=
a
.
result
.
list
||
[],
e
.
totalCount
=
a
.
result
.
pageInfo
.
total
,
!
1
;
r
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
loading
=!
1
,
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
changeDate
:
function
(
e
){
e
||
(
this
.
choiceDateCopy
=
[],
this
.
conditionObj
.
choiceDate
=
[]),
this
.
currentPage
=
1
,
this
.
getTableList
()},
searchPeople
:
Object
(
s
.
a
)(
function
(
e
){
this
.
currentPage
,
this
.
getTableList
()},
500
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
changeSelect
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getTableList
()},
exportData
:
function
(){
if
(
!
this
.
conditionObj
.
choiceDate
||!
this
.
conditionObj
.
choiceDate
[
0
]
||!
this
.
conditionObj
.
choiceDate
[
1
])
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择日期区间"
}),
!
1
;
this
.
postExportData
()},
postExportData
:
function
(){
var
e
=
this
,
t
=
[],
a
=
[];
e
.
conditionObj
.
storeGroup
.
forEach
(
function
(
e
){
2
==
e
.
type
&&
t
.
push
(
e
.
groupId
),
3
==
e
.
type
&&
a
.
push
(
e
.
storeId
)});
var
o
=
{
haobanEnterpriseId
:
localStorage
.
getItem
(
"userInfo"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfo"
)).
enterpriseId
:
""
,
search
:
e
.
conditionObj
.
keyword
||
""
,
storeIds
:
a
.
join
(
","
)
||
""
,
groupIds
:
t
.
join
(
","
)
||
""
,
signType
:
e
.
conditionObj
.
signStatus
||
""
,
startDate
:
e
.
conditionObj
.
choiceDate
[
0
]?
e
.
conditionObj
.
choiceDate
[
0
]:
""
,
endDate
:
e
.
conditionObj
.
choiceDate
[
1
]?
e
.
conditionObj
.
choiceDate
[
1
]:
""
,
haobanBrandId
:
e
.
activeBrand
};
Object
(
i
.
b
)(
"/haoban-app-sign-web/sign/export-sign-list"
,
o
).
then
(
function
(
e
){
if
(
!
e
.
data
)
return
r
.
a
.
errorMsg
(
"暂无数据"
),
!
1
;
var
t
=
new
Blob
([
e
.
data
],{
type
:
"application/vnd.ms-excel"
}),
a
=
o
.
startDate
.
replace
(
/-/g
,
""
)
+
"-"
+
o
.
endDate
.
replace
(
/-/g
,
""
)
+
"签到报表.xlsx"
,
n
=
document
.
createElement
(
"a"
);
n
.
download
=
a
,
n
.
style
.
display
=
"none"
,
n
.
href
=
URL
.
createObjectURL
(
t
),
document
.
body
.
appendChild
(
n
),
n
.
click
(),
URL
.
revokeObjectURL
(
n
.
href
),
document
.
body
.
removeChild
(
n
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
components
:{
vueSelectStore
:
n
.
a
,
commonDetailTop
:
o
.
a
}},
l
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"notice-list-wrap"
},[
a
(
"div"
,{
staticClass
:
"notice-list"
},[
a
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
e
.
topMenuData
,
activeId
:
e
.
activeId
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"notice-list-table"
},[
a
(
"div"
,{
staticClass
:
"search-wrap"
},[
a
(
"el-input"
,{
staticClass
:
"search-input"
,
attrs
:{
clearable
:
""
,
placeholder
:
"请输入姓名/员工代码"
,
"prefix-icon"
:
"el-icon-search"
},
on
:{
clear
:
e
.
clearInput
},
nativeOn
:{
keyup
:
function
(
t
){
return
a
=
t
,
e
.
searchPeople
(
a
);
var
a
}},
model
:{
value
:
e
.
conditionObj
.
keyword
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"keyword"
,
t
)},
expression
:
"conditionObj.keyword"
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex-column item-cell-select inline-block m-l-10"
},[
a
(
"div"
,{
staticClass
:
"depart-item-wrap"
},[
a
(
"div"
,{
staticClass
:
"el-select el-select--large depart-item-content"
,
staticStyle
:{
width
:
"213px"
},
on
:{
click
:
function
(
t
){
e
.
showDialogLayer
(
"store"
,
e
.
conditionObj
.
storeGroup
)}}},[
e
.
conditionObj
.
storeGroup
.
length
?
e
.
_e
():
a
(
"span"
,{
staticClass
:
"font-14 color-c0c4cc"
},[
e
.
_v
(
"请选择门店分组"
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-select__tags"
,
staticStyle
:{
"max-width"
:
"181px"
}},[
a
(
"span"
,[
e
.
_l
(
e
.
conditionObj
.
storeGroup
,
function
(
t
,
o
){
return
[
a
(
"span"
,{
key
:
o
,
staticClass
:
"el-tag el-tag--info el-tag--small"
},[
a
(
"span"
,{
staticClass
:
"el-select__tags-text"
},[
e
.
_v
(
e
.
_s
(
t
.
name
||
t
.
storeName
))]),
a
(
"i"
,{
staticClass
:
"el-tag__close el-icon-close"
,
on
:{
click
:
function
(
t
){
t
.
stopPropagation
(),
e
.
delDepart
(
o
,
e
.
conditionObj
.
storeGroup
)}}})])]})],
2
)])])])]),
e
.
_v
(
" "
),
a
(
"el-select"
,{
staticClass
:
"w-112 m-l-10"
,
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
e
.
changeSelect
},
model
:{
value
:
e
.
conditionObj
.
signStatus
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"signStatus"
,
t
)},
expression
:
"conditionObj.signStatus"
}},
e
.
_l
(
e
.
signStatusOptions
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})})),
e
.
_v
(
" "
),
a
(
"el-date-picker"
,{
staticClass
:
"search-date"
,
attrs
:{
format
:
"yyyy-MM-dd"
,
"value-format"
:
"yyyy-MM-dd"
,
editable
:
!
1
,
"picker-options"
:
e
.
pickerOptions
,
type
:
"daterange"
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
},
on
:{
change
:
e
.
changeDate
},
model
:{
value
:
e
.
conditionObj
.
choiceDate
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"choiceDate"
,
t
)},
expression
:
"conditionObj.choiceDate"
}}),
e
.
_v
(
" "
),
a
(
"el-button"
,{
staticClass
:
"fr"
,
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
exportData
}},[
a
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai p-r-6"
}),
e
.
_v
(
"导出"
)])],
1
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
loading
,
expression
:
"loading"
}],
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"storeName"
,
label
:
"门店名称"
,
"show-overflow-tooltip"
:
""
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"姓名"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
clerkName
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"员工代码"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
clerkCode
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"状态"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
1
==
t
.
row
.
signType
?
"签退"
:
"签到"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"时间"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
t
.
row
.
signDay
?
a
(
"div"
,{
staticClass
:
"time-wrap"
},[
a
(
"p"
,{
class
:[
"星期六"
==
t
.
row
.
week
||
"星期天"
==
t
.
row
.
week
?
"color-f56c6c"
:
""
]},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeYMD"
)(
t
.
row
.
signDay
))
+
" "
+
e
.
_s
(
t
.
row
.
week
))]),
e
.
_v
(
" "
),
a
(
"p"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeHMS"
)(
t
.
row
.
signTime
)))])]):
a
(
"div"
,[
e
.
_v
(
"--"
)])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"打卡坐标"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
signLongitude
||
"-"
)
+
" "
),
t
.
row
.
signLatitude
?
a
(
"span"
,[
e
.
_v
(
","
)]):
e
.
_e
(),
e
.
_v
(
" "
+
e
.
_s
(
t
.
row
.
signLatitude
||
"-"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"门店坐标"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
storeLongitude
||
"-"
)
+
" "
),
t
.
row
.
storeLatitude
?
a
(
"span"
,[
e
.
_v
(
","
)]):
e
.
_e
(),
e
.
_v
(
" "
+
e
.
_s
(
t
.
row
.
storeLatitude
||
"-"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"距离"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
distance
||
"--"
)
+
"
\
n "
)]}}])})],
1
),
e
.
_v
(
" "
),
e
.
totalCount
?
a
(
"div"
,{
staticClass
:
"pagination"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
e
.
pageSize
,
"current-page"
:
e
.
currentPage
,
layout
:
"total, sizes, prev, pager, next"
,
total
:
e
.
totalCount
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"vue-select-store"
,{
ref
:
"storeSelector"
,
attrs
:{
currentBrand
:
e
.
activeGroup
,
appScene
:
e
.
appScene
,
treeSet
:
e
.
storeTreeSet
,
selectType
:
"group-store"
,
defaultList
:
e
.
defaultStoreList
},
on
:{
handleSelectedList
:
e
.
handleSelectedList
}})],
1
)},
staticRenderFns
:[]};
var
u
=
a
(
"VU/8"
)(
c
,
l
,
!
1
,
function
(
e
){
a
(
"68Un"
)},
"data-v-2b0af876"
,
null
);
t
.
default
=
u
.
exports
}});
\ No newline at end of file
webpackJsonp
([
67
],{
"68Un"
:
function
(
e
,
t
){},
kCy7
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
o
=
a
(
"Ke24"
),
n
=
a
(
"Ie7z"
),
i
=
a
(
"P9l9"
),
s
=
a
(
"PI0u"
),
r
=
a
(
"Ch4/"
),
c
=
{
name
:
"noticeList"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
activeGroupId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
var
e
=
this
;
return
{
topMenuData
:[{
id
:
"1"
,
name
:
"签到记录"
}],
activeId
:
"1"
,
activeBrand
:
this
.
brandId
,
activeGroup
:
this
.
activeGroupId
,
conditionObj
:{
keyword
:
""
,
storeGroup
:[],
signStatus
:
""
,
choiceDate
:[]},
signStatusOptions
:[{
value
:
""
,
label
:
"所有状态"
},{
value
:
"0"
,
label
:
"签到"
},{
value
:
"1"
,
label
:
"签退"
}],
choiceDateCopy
:[],
pickerOptions
:{
onPick
:
function
(
t
){
var
a
=
t
.
maxDate
,
o
=
t
.
minDate
;
e
.
choiceDateCopy
=
[
o
.
getTime
()],
a
&&
(
e
.
choiceDateCopy
=
[])},
disabledDate
:
function
(
t
){
if
(
e
.
choiceDateCopy
.
length
){
var
a
=
e
.
choiceDateCopy
[
0
]
-
2592
e6
,
o
=
e
.
choiceDateCopy
[
0
]
+
2592
e6
;
return
t
.
getTime
()
<
a
||
t
.
getTime
()
>
o
||
t
.
getTime
()
>
Date
.
now
()
-
864
e4
}
return
t
.
getTime
()
>
Date
.
now
()
-
864
e4
}},
tableData
:[],
pageSize
:
20
,
currentPage
:
1
,
totalCount
:
0
,
appScene
:
2
,
defaultStoreList
:[],
storeTreeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
1
}}},
filters
:{
formatTimeYMD
:
function
(
e
){
var
t
=
new
Date
(
e
),
a
=
t
.
getMonth
()
+
1
,
o
=
t
.
getDate
()
<
10
?
"0"
+
t
.
getDate
():
t
.
getDate
(),
n
=
a
<
10
?
"0"
+
a
:
a
;
return
t
.
getFullYear
()
+
"-"
+
n
+
"-"
+
o
},
formatTimeHMS
:
function
(
e
){
var
t
=
new
Date
(
e
);
return
(
t
.
getHours
()
<
10
?
"0"
+
t
.
getHours
():
t
.
getHours
())
+
":"
+
(
t
.
getMinutes
()
<
10
?
"0"
+
t
.
getMinutes
():
t
.
getMinutes
())}},
watch
:{
brandId
:
function
(
e
,
t
){
e
&&
(
this
.
activeBrand
=
e
,
this
.
getTableList
())},
activeGroupId
:
function
(
e
,
t
){
e
&&
(
this
.
activeGroup
=
e
)}},
mounted
:
function
(){
var
e
=
this
;
e
.
activeBrand
=
this
.
brandId
;
var
t
=
new
Date
,
a
=
t
.
getTime
()
-
2592
e6
,
o
=
t
.
getFullYear
(),
n
=
t
.
getMonth
()
+
1
,
i
=
t
.
getDate
()
<
10
?
"0"
+
t
.
getDate
():
t
.
getDate
(),
s
=
n
<
10
?
"0"
+
n
:
n
,
r
=
new
Date
(
a
),
c
=
r
.
getFullYear
(),
l
=
r
.
getMonth
()
+
1
,
u
=
r
.
getDate
()
<
10
?
"0"
+
r
.
getDate
():
r
.
getDate
(),
d
=
l
<
10
?
"0"
+
l
:
l
;
e
.
conditionObj
.
choiceDate
=
[
c
+
"-"
+
d
+
"-"
+
u
,
o
+
"-"
+
s
+
"-"
+
i
],
e
.
brandId
&&
e
.
$nextTick
(
function
(
t
){
e
.
getTableList
()})},
methods
:{
showDialogLayer
:
function
(
e
,
t
){
this
.
selectType
=
e
,
this
.
changed
=
e
,
this
.
defaultStoreList
=
t
,
this
.
storeTreeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
1
,
isSelectPerson
:
!
1
}},
handleSelectedList
:
function
(
e
){
this
.
conditionObj
.
storeGroup
=
e
,
this
.
getTableList
()},
delDepart
:
function
(
e
,
t
){
t
.
splice
(
e
,
1
),
this
.
currentPage
=
1
,
this
.
getTableList
()},
getTableList
:
function
(){
var
e
=
this
;
e
.
loading
=!
0
;
var
t
=
[],
a
=
[],
o
=
[
"星期天"
,
"星期一"
,
"星期二"
,
"星期三"
,
"星期四"
,
"星期五"
,
"星期六"
];
e
.
conditionObj
.
storeGroup
.
forEach
(
function
(
e
){
2
==
e
.
type
&&
t
.
push
(
e
.
groupId
),
3
==
e
.
type
&&
a
.
push
(
e
.
storeId
)});
var
n
=
{
haobanEnterpriseId
:
localStorage
.
getItem
(
"userInfo"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfo"
)).
enterpriseId
:
""
,
search
:
e
.
conditionObj
.
keyword
||
""
,
haobanBrandId
:
e
.
activeBrand
,
storeIds
:
a
.
join
(
","
)
||
""
,
groupIds
:
t
.
join
(
","
)
||
""
,
signType
:
e
.
conditionObj
.
signStatus
||
""
,
startDate
:
e
.
conditionObj
&&
e
.
conditionObj
.
choiceDate
[
0
]?
e
.
conditionObj
.
choiceDate
[
0
]:
""
,
endDate
:
e
.
conditionObj
&&
e
.
conditionObj
.
choiceDate
[
1
]?
e
.
conditionObj
.
choiceDate
[
1
]:
""
,
pageNum
:
e
.
currentPage
,
pageSize
:
e
.
pageSize
};
Object
(
i
.
a
)(
"/haoban-app-sign-web/sign/sign-list"
,
n
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
e
.
loading
=!
1
,
1
==
a
.
errorCode
)
return
a
.
result
.
list
.
forEach
(
function
(
e
){
e
.
week
=
o
[
new
Date
(
e
.
signDay
).
getDay
()]}),
e
.
tableData
=
a
.
result
.
list
||
[],
e
.
totalCount
=
a
.
result
.
pageInfo
.
total
,
!
1
;
r
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
loading
=!
1
,
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
changeDate
:
function
(
e
){
e
||
(
this
.
choiceDateCopy
=
[],
this
.
conditionObj
.
choiceDate
=
[]),
this
.
currentPage
=
1
,
this
.
getTableList
()},
searchPeople
:
Object
(
s
.
a
)(
function
(
e
){
this
.
currentPage
,
this
.
getTableList
()},
500
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
changeSelect
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getTableList
()},
exportData
:
function
(){
if
(
!
this
.
conditionObj
.
choiceDate
||!
this
.
conditionObj
.
choiceDate
[
0
]
||!
this
.
conditionObj
.
choiceDate
[
1
])
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择日期区间"
}),
!
1
;
this
.
postExportData
()},
postExportData
:
function
(){
var
e
=
this
,
t
=
[],
a
=
[];
e
.
conditionObj
.
storeGroup
.
forEach
(
function
(
e
){
2
==
e
.
type
&&
t
.
push
(
e
.
groupId
),
3
==
e
.
type
&&
a
.
push
(
e
.
storeId
)});
var
o
=
{
haobanEnterpriseId
:
localStorage
.
getItem
(
"userInfo"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfo"
)).
enterpriseId
:
""
,
search
:
e
.
conditionObj
.
keyword
||
""
,
storeIds
:
a
.
join
(
","
)
||
""
,
groupIds
:
t
.
join
(
","
)
||
""
,
signType
:
e
.
conditionObj
.
signStatus
||
""
,
startDate
:
e
.
conditionObj
.
choiceDate
[
0
]?
e
.
conditionObj
.
choiceDate
[
0
]:
""
,
endDate
:
e
.
conditionObj
.
choiceDate
[
1
]?
e
.
conditionObj
.
choiceDate
[
1
]:
""
,
haobanBrandId
:
e
.
activeBrand
};
Object
(
i
.
b
)(
"/haoban-app-sign-web/sign/export-sign-list"
,
o
).
then
(
function
(
e
){
if
(
!
e
.
data
)
return
r
.
a
.
errorMsg
(
"暂无数据"
),
!
1
;
var
t
=
new
Blob
([
e
.
data
],{
type
:
"application/vnd.ms-excel"
}),
a
=
o
.
startDate
.
replace
(
/-/g
,
""
)
+
"-"
+
o
.
endDate
.
replace
(
/-/g
,
""
)
+
"签到报表.xlsx"
,
n
=
document
.
createElement
(
"a"
);
n
.
download
=
a
,
n
.
style
.
display
=
"none"
,
n
.
href
=
URL
.
createObjectURL
(
t
),
document
.
body
.
appendChild
(
n
),
n
.
click
(),
URL
.
revokeObjectURL
(
n
.
href
),
document
.
body
.
removeChild
(
n
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
components
:{
vueSelectStore
:
n
.
a
,
commonDetailTop
:
o
.
a
}},
l
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"notice-list-wrap"
},[
a
(
"div"
,{
staticClass
:
"notice-list"
},[
a
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
e
.
topMenuData
,
activeId
:
e
.
activeId
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"notice-list-table"
},[
a
(
"div"
,{
staticClass
:
"search-wrap"
},[
a
(
"el-input"
,{
staticClass
:
"search-input"
,
attrs
:{
clearable
:
""
,
placeholder
:
"请输入姓名/员工代码"
,
"prefix-icon"
:
"el-icon-search"
},
on
:{
clear
:
e
.
clearInput
},
nativeOn
:{
keyup
:
function
(
t
){
return
a
=
t
,
e
.
searchPeople
(
a
);
var
a
}},
model
:{
value
:
e
.
conditionObj
.
keyword
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"keyword"
,
t
)},
expression
:
"conditionObj.keyword"
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex-column item-cell-select inline-block m-l-10"
},[
a
(
"div"
,{
staticClass
:
"depart-item-wrap"
},[
a
(
"div"
,{
staticClass
:
"el-select el-select--large depart-item-content"
,
staticStyle
:{
width
:
"213px"
},
on
:{
click
:
function
(
t
){
e
.
showDialogLayer
(
"store"
,
e
.
conditionObj
.
storeGroup
)}}},[
e
.
conditionObj
.
storeGroup
.
length
?
e
.
_e
():
a
(
"span"
,{
staticClass
:
"font-14 color-c0c4cc"
},[
e
.
_v
(
"请选择门店分组"
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-select__tags"
,
staticStyle
:{
"max-width"
:
"181px"
}},[
a
(
"span"
,[
e
.
_l
(
e
.
conditionObj
.
storeGroup
,
function
(
t
,
o
){
return
[
a
(
"span"
,{
key
:
o
,
staticClass
:
"el-tag el-tag--info el-tag--small"
},[
a
(
"span"
,{
staticClass
:
"el-select__tags-text"
},[
e
.
_v
(
e
.
_s
(
t
.
name
||
t
.
storeName
))]),
a
(
"i"
,{
staticClass
:
"el-tag__close el-icon-close"
,
on
:{
click
:
function
(
t
){
t
.
stopPropagation
(),
e
.
delDepart
(
o
,
e
.
conditionObj
.
storeGroup
)}}})])]})],
2
)])])])]),
e
.
_v
(
" "
),
a
(
"el-select"
,{
staticClass
:
"w-112 m-l-10"
,
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
e
.
changeSelect
},
model
:{
value
:
e
.
conditionObj
.
signStatus
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"signStatus"
,
t
)},
expression
:
"conditionObj.signStatus"
}},
e
.
_l
(
e
.
signStatusOptions
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})})),
e
.
_v
(
" "
),
a
(
"el-date-picker"
,{
staticClass
:
"search-date"
,
attrs
:{
format
:
"yyyy-MM-dd"
,
"value-format"
:
"yyyy-MM-dd"
,
editable
:
!
1
,
"picker-options"
:
e
.
pickerOptions
,
type
:
"daterange"
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
},
on
:{
change
:
e
.
changeDate
},
model
:{
value
:
e
.
conditionObj
.
choiceDate
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"choiceDate"
,
t
)},
expression
:
"conditionObj.choiceDate"
}}),
e
.
_v
(
" "
),
a
(
"el-button"
,{
staticClass
:
"fr"
,
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
exportData
}},[
a
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai p-r-6"
}),
e
.
_v
(
"导出"
)])],
1
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
loading
,
expression
:
"loading"
}],
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"storeName"
,
label
:
"门店名称"
,
"show-overflow-tooltip"
:
""
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"姓名"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
clerkName
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"员工代码"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
clerkCode
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"状态"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
1
==
t
.
row
.
signType
?
"签退"
:
"签到"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"时间"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
t
.
row
.
signDay
?
a
(
"div"
,{
staticClass
:
"time-wrap"
},[
a
(
"p"
,{
class
:[
"星期六"
==
t
.
row
.
week
||
"星期天"
==
t
.
row
.
week
?
"color-f56c6c"
:
""
]},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeYMD"
)(
t
.
row
.
signDay
))
+
" "
+
e
.
_s
(
t
.
row
.
week
))]),
e
.
_v
(
" "
),
a
(
"p"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeHMS"
)(
t
.
row
.
signTime
)))])]):
a
(
"div"
,[
e
.
_v
(
"--"
)])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"打卡坐标"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
signLongitude
||
"-"
)
+
" "
),
t
.
row
.
signLatitude
?
a
(
"span"
,[
e
.
_v
(
","
)]):
e
.
_e
(),
e
.
_v
(
" "
+
e
.
_s
(
t
.
row
.
signLatitude
||
"-"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"门店坐标"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
storeLongitude
||
"-"
)
+
" "
),
t
.
row
.
storeLatitude
?
a
(
"span"
,[
e
.
_v
(
","
)]):
e
.
_e
(),
e
.
_v
(
" "
+
e
.
_s
(
t
.
row
.
storeLatitude
||
"-"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"距离"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
distance
||
"--"
)
+
"
\
n "
)]}}])})],
1
),
e
.
_v
(
" "
),
e
.
totalCount
?
a
(
"div"
,{
staticClass
:
"pagination"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
e
.
pageSize
,
"current-page"
:
e
.
currentPage
,
layout
:
"total, sizes, prev, pager, next"
,
total
:
e
.
totalCount
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"vue-select-store"
,{
ref
:
"storeSelector"
,
attrs
:{
currentBrand
:
e
.
activeGroup
,
appScene
:
e
.
appScene
,
treeSet
:
e
.
storeTreeSet
,
selectType
:
"group-store"
,
defaultList
:
e
.
defaultStoreList
},
on
:{
handleSelectedList
:
e
.
handleSelectedList
}})],
1
)},
staticRenderFns
:[]};
var
u
=
a
(
"VU/8"
)(
c
,
l
,
!
1
,
function
(
e
){
a
(
"68Un"
)},
"data-v-2b0af876"
,
null
);
t
.
default
=
u
.
exports
}});
\ No newline at end of file
dist/static/js/6
9.518fa345263ef1bb9abc
.js
→
dist/static/js/6
8.ba49712f562eff6edbc3
.js
View file @
35fc15c1
webpackJsonp
([
69
],{
FB5x
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"2eFk"
),
i
=
a
(
"fvdr"
),
c
=
a
(
"Qie6"
),
o
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
380
+
"px"
,
appName
:
"指标管理"
,
appIcon
:
"icon-ribao"
,
activeSelTab
:
"11"
,
activeTab
:
"11"
,
tabListData
:[{
tabId
:
"1"
,
tabName
:
"指标管理"
,
icon
:
"icon-ribaoshezhi"
,
onlyIconActive
:
!
1
,
children
:[{
tabId
:
"11"
,
tabName
:
"月指标"
,
icon
:
""
},{
tabId
:
"13"
,
tabName
:
"月指标任务"
,
icon
:
""
}]}],
activeBrand
:
""
,
activeGroup
:
""
}},
computed
:{},
methods
:{
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
selectBrandId
:
function
(
t
,
e
){
this
.
activeBrand
=
t
,
this
.
activeGroup
=
e
},
setSelectTab
:
function
(
t
){
switch
(
this
.
activeTab
=
t
.
tabId
,
t
.
tabId
){
case
"1"
:
case
"11"
:
case
"12"
:
this
.
changeRoute
(
"monthList?appIcon="
+
this
.
$route
.
query
.
appIcon
);
break
;
case
"13"
:
this
.
changeRoute
(
"monthTask?appIcon="
+
this
.
$route
.
query
.
appIcon
)}},
showTab
:
function
(
t
){
this
.
activeTab
=
t
,
this
.
activeSelTab
=
t
,
this
.
tabListData
.
forEach
(
function
(
e
){
e
.
tabId
==
t
&&
(
e
.
onlyIconActive
=!
1
),
e
.
children
&&
e
.
children
.
forEach
(
function
(
a
){
a
.
tabId
==
t
&&
(
e
.
onlyIconActive
=!
0
),
a
.
children
&&
a
.
children
.
forEach
(
function
(
a
){
a
.
tabId
==
t
&&
(
e
.
onlyIconActive
=!
0
)})})})}},
watch
:{
activeBrand
:
function
(
t
,
e
){
this
.
activeBrand
=
t
},
activeGroup
:
function
(
t
,
e
){
this
.
activeGroup
=
t
}},
mounted
:
function
(){
var
t
=
this
.
$route
.
query
.
appIcon
;
t
&&
(
this
.
appIcon
=
window
.
unescape
(
t
)),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
n
.
a
,
commonAppTop
:
i
.
a
,
commonDetailLeft
:
c
.
a
}},
s
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"common-app-top"
,{
attrs
:{
appName
:
t
.
appName
,
appIcon
:
t
.
appIcon
},
on
:{
selectBrandId
:
t
.
selectBrandId
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-box"
,
style
:{
"min-height"
:
t
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content flex"
,
style
:{
"min-height"
:
t
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content-left w-157"
},[
a
(
"common-detail-left"
,{
attrs
:{
tabListData
:
t
.
tabListData
,
activeSelTab
:
t
.
activeSelTab
},
on
:{
setSelectTab
:
t
.
setSelectTab
}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apps-content-right"
},[
a
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
t
.
$route
.
meta
.
keepAlive
?
a
(
"keep-alive"
,[
a
(
"router-view"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
activeGroupId
:
t
.
activeGroup
,
tabType
:
t
.
activeTab
},
on
:{
showTab
:
t
.
showTab
}})],
1
):
a
(
"router-view"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
activeGroupId
:
t
.
activeGroup
,
tabType
:
t
.
activeTab
},
on
:{
showTab
:
t
.
showTab
}})],
1
)],
1
)])])],
1
),
t
.
_v
(
" "
),
a
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
r
=
a
(
"VU/8"
)(
o
,
s
,
!
1
,
function
(
t
){
a
(
"vULv"
)},
"data-v-20e222da"
,
null
);
e
.
default
=
r
.
exports
},
vULv
:
function
(
t
,
e
){}});
\ No newline at end of file
webpackJsonp
([
68
],{
FB5x
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"2eFk"
),
i
=
a
(
"fvdr"
),
c
=
a
(
"Qie6"
),
o
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
380
+
"px"
,
appName
:
"指标管理"
,
appIcon
:
"icon-ribao"
,
activeSelTab
:
"11"
,
activeTab
:
"11"
,
tabListData
:[{
tabId
:
"1"
,
tabName
:
"指标管理"
,
icon
:
"icon-ribaoshezhi"
,
onlyIconActive
:
!
1
,
children
:[{
tabId
:
"11"
,
tabName
:
"月指标"
,
icon
:
""
},{
tabId
:
"13"
,
tabName
:
"月指标任务"
,
icon
:
""
}]}],
activeBrand
:
""
,
activeGroup
:
""
}},
computed
:{},
methods
:{
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
selectBrandId
:
function
(
t
,
e
){
this
.
activeBrand
=
t
,
this
.
activeGroup
=
e
},
setSelectTab
:
function
(
t
){
switch
(
this
.
activeTab
=
t
.
tabId
,
t
.
tabId
){
case
"1"
:
case
"11"
:
case
"12"
:
this
.
changeRoute
(
"monthList?appIcon="
+
this
.
$route
.
query
.
appIcon
);
break
;
case
"13"
:
this
.
changeRoute
(
"monthTask?appIcon="
+
this
.
$route
.
query
.
appIcon
)}},
showTab
:
function
(
t
){
this
.
activeTab
=
t
,
this
.
activeSelTab
=
t
,
this
.
tabListData
.
forEach
(
function
(
e
){
e
.
tabId
==
t
&&
(
e
.
onlyIconActive
=!
1
),
e
.
children
&&
e
.
children
.
forEach
(
function
(
a
){
a
.
tabId
==
t
&&
(
e
.
onlyIconActive
=!
0
),
a
.
children
&&
a
.
children
.
forEach
(
function
(
a
){
a
.
tabId
==
t
&&
(
e
.
onlyIconActive
=!
0
)})})})}},
watch
:{
activeBrand
:
function
(
t
,
e
){
this
.
activeBrand
=
t
},
activeGroup
:
function
(
t
,
e
){
this
.
activeGroup
=
t
}},
mounted
:
function
(){
var
t
=
this
.
$route
.
query
.
appIcon
;
t
&&
(
this
.
appIcon
=
window
.
unescape
(
t
)),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
n
.
a
,
commonAppTop
:
i
.
a
,
commonDetailLeft
:
c
.
a
}},
s
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"common-app-top"
,{
attrs
:{
appName
:
t
.
appName
,
appIcon
:
t
.
appIcon
},
on
:{
selectBrandId
:
t
.
selectBrandId
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-box"
,
style
:{
"min-height"
:
t
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content flex"
,
style
:{
"min-height"
:
t
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content-left w-157"
},[
a
(
"common-detail-left"
,{
attrs
:{
tabListData
:
t
.
tabListData
,
activeSelTab
:
t
.
activeSelTab
},
on
:{
setSelectTab
:
t
.
setSelectTab
}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apps-content-right"
},[
a
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
t
.
$route
.
meta
.
keepAlive
?
a
(
"keep-alive"
,[
a
(
"router-view"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
activeGroupId
:
t
.
activeGroup
,
tabType
:
t
.
activeTab
},
on
:{
showTab
:
t
.
showTab
}})],
1
):
a
(
"router-view"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
activeGroupId
:
t
.
activeGroup
,
tabType
:
t
.
activeTab
},
on
:{
showTab
:
t
.
showTab
}})],
1
)],
1
)])])],
1
),
t
.
_v
(
" "
),
a
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
r
=
a
(
"VU/8"
)(
o
,
s
,
!
1
,
function
(
t
){
a
(
"vULv"
)},
"data-v-20e222da"
,
null
);
e
.
default
=
r
.
exports
},
vULv
:
function
(
t
,
e
){}});
\ No newline at end of file
dist/static/js/
70.5d2e33dad1088489e653
.js
→
dist/static/js/
69.6262c1a9179f86d6e8cc
.js
View file @
35fc15c1
webpackJsonp
([
70
],{
XzAK
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"2eFk"
),
n
=
a
(
"Ke24"
),
i
=
a
(
"PI0u"
),
o
=
a
(
"Ch4/"
),
r
=
a
(
"3E4D"
),
c
=
a
(
"P9l9"
),
d
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
activeTab
:
"1"
,
activeBrand
:
this
.
brandId
,
topMenuData
:[{
id
:
"1"
,
name
:
"不良评价回访设置"
}],
activeId
:
"1"
,
setObj
:{
taskType
:
0
,
overDayJudge
:
""
,
distributeTypeJudge
:
""
,
giveUpJudge
:
""
}}},
computed
:{},
methods
:{
saveSet
:
Object
(
i
.
a
)(
function
(){
this
.
postSave
()},
500
),
postSave
:
function
(){
var
t
=
this
,
e
=
{
brandId
:
t
.
activeBrand
,
taskType
:
0
,
overDayJudge
:
t
.
setObj
.
overDayJudge
,
giveUpJudge
:
t
.
setObj
.
giveUpJudge
,
distributeTypeJudge
:
t
.
setObj
.
distributeTypeJudge
};
Object
(
c
.
e
)(
"/haoban-app-tel-task-web/setting/save-task-setting"
,
e
).
then
(
function
(
t
){
var
e
=
t
.
data
;
1
!=
e
.
errorCode
?
o
.
a
.
errorMsg
(
e
):
r
.
a
.
showmsg
(
"保存成功"
,
"success"
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getData
:
function
(){
var
t
=
this
,
e
=
{
brandId
:
t
.
activeBrand
,
taskType
:
0
};
Object
(
c
.
e
)(
"/haoban-app-tel-task-web/setting/find-task-setting"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
o
.
a
.
errorMsg
(
a
):
t
.
setObj
=
a
.
result
}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
brandId
:
function
(
t
,
e
){
t
&&
(
this
.
activeBrand
=
t
,
this
.
getData
())}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
$emit
(
"showTab"
,
"3"
),
this
.
brandId
&&
this
.
getData
()},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
s
.
a
,
commonDetailTop
:
n
.
a
}},
l
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"app-detail-wrap"
},[
a
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
t
.
topMenuData
,
activeId
:
t
.
activeId
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"task-set-content boder-box"
},[
a
(
"div"
,{
staticClass
:
"task-set-cell"
},[
a
(
"div"
,{
staticClass
:
"font-16 color-606266 m-b-20 font-w-500"
},[
t
.
_v
(
"不良评价回访任务逾期时间设置"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"set-line-item"
},[
a
(
"span"
,{
staticClass
:
"set-line-item_title font-14 color-606266"
},[
t
.
_v
(
"不良评价回访下发后"
)]),
t
.
_v
(
" "
),
a
(
"el-input"
,{
staticClass
:
"w-55"
,
attrs
:{
placeholder
:
"请输入内容"
},
model
:{
value
:
t
.
setObj
.
overDayJudge
,
callback
:
function
(
e
){
t
.
$set
(
t
.
setObj
,
"overDayJudge"
,
e
)},
expression
:
"setObj.overDayJudge"
}}),
a
(
"span"
,{
staticClass
:
"font-14 color-606266 p-l-10"
},[
t
.
_v
(
"天"
)]),
t
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-14 color-909399 p-l-15"
},[
t
.
_v
(
"注:0天即为当天下发,当天完成,1天即为当天下发,次日24:00之前完成"
)])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"set-line-item"
},[
a
(
"span"
,{
staticClass
:
"set-line-item_title font-14 color-606266"
},[
t
.
_v
(
"不良评价放弃前提"
)]),
t
.
_v
(
" "
),
a
(
"el-input"
,{
staticClass
:
"w-55"
,
attrs
:{
placeholder
:
"请输入内容"
},
model
:{
value
:
t
.
setObj
.
giveUpJudge
,
callback
:
function
(
e
){
t
.
$set
(
t
.
setObj
,
"giveUpJudge"
,
e
)},
expression
:
"setObj.giveUpJudge"
}}),
a
(
"span"
,{
staticClass
:
"font-14 color-606266 p-l-10"
},[
t
.
_v
(
"次"
)]),
t
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-14 color-606266"
},[
t
.
_v
(
"呼叫后无响应"
)])],
1
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"task-set-save m-t-30"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
saveSet
}},[
t
.
_v
(
"保 存"
)])],
1
)])],
1
)},
staticRenderFns
:[]};
var
u
=
a
(
"VU/8"
)(
d
,
l
,
!
1
,
function
(
t
){
a
(
"ZFsH"
)},
"data-v-202e60e0"
,
null
);
e
.
default
=
u
.
exports
},
ZFsH
:
function
(
t
,
e
){}});
\ No newline at end of file
webpackJsonp
([
69
],{
XzAK
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"2eFk"
),
n
=
a
(
"Ke24"
),
i
=
a
(
"PI0u"
),
o
=
a
(
"Ch4/"
),
r
=
a
(
"3E4D"
),
c
=
a
(
"P9l9"
),
d
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
activeTab
:
"1"
,
activeBrand
:
this
.
brandId
,
topMenuData
:[{
id
:
"1"
,
name
:
"不良评价回访设置"
}],
activeId
:
"1"
,
setObj
:{
taskType
:
0
,
overDayJudge
:
""
,
distributeTypeJudge
:
""
,
giveUpJudge
:
""
}}},
computed
:{},
methods
:{
saveSet
:
Object
(
i
.
a
)(
function
(){
this
.
postSave
()},
500
),
postSave
:
function
(){
var
t
=
this
,
e
=
{
brandId
:
t
.
activeBrand
,
taskType
:
0
,
overDayJudge
:
t
.
setObj
.
overDayJudge
,
giveUpJudge
:
t
.
setObj
.
giveUpJudge
,
distributeTypeJudge
:
t
.
setObj
.
distributeTypeJudge
};
Object
(
c
.
e
)(
"/haoban-app-tel-task-web/setting/save-task-setting"
,
e
).
then
(
function
(
t
){
var
e
=
t
.
data
;
1
!=
e
.
errorCode
?
o
.
a
.
errorMsg
(
e
):
r
.
a
.
showmsg
(
"保存成功"
,
"success"
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getData
:
function
(){
var
t
=
this
,
e
=
{
brandId
:
t
.
activeBrand
,
taskType
:
0
};
Object
(
c
.
e
)(
"/haoban-app-tel-task-web/setting/find-task-setting"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
o
.
a
.
errorMsg
(
a
):
t
.
setObj
=
a
.
result
}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
brandId
:
function
(
t
,
e
){
t
&&
(
this
.
activeBrand
=
t
,
this
.
getData
())}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
$emit
(
"showTab"
,
"3"
),
this
.
brandId
&&
this
.
getData
()},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
s
.
a
,
commonDetailTop
:
n
.
a
}},
l
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"app-detail-wrap"
},[
a
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
t
.
topMenuData
,
activeId
:
t
.
activeId
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"task-set-content boder-box"
},[
a
(
"div"
,{
staticClass
:
"task-set-cell"
},[
a
(
"div"
,{
staticClass
:
"font-16 color-606266 m-b-20 font-w-500"
},[
t
.
_v
(
"不良评价回访任务逾期时间设置"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"set-line-item"
},[
a
(
"span"
,{
staticClass
:
"set-line-item_title font-14 color-606266"
},[
t
.
_v
(
"不良评价回访下发后"
)]),
t
.
_v
(
" "
),
a
(
"el-input"
,{
staticClass
:
"w-55"
,
attrs
:{
placeholder
:
"请输入内容"
},
model
:{
value
:
t
.
setObj
.
overDayJudge
,
callback
:
function
(
e
){
t
.
$set
(
t
.
setObj
,
"overDayJudge"
,
e
)},
expression
:
"setObj.overDayJudge"
}}),
a
(
"span"
,{
staticClass
:
"font-14 color-606266 p-l-10"
},[
t
.
_v
(
"天"
)]),
t
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-14 color-909399 p-l-15"
},[
t
.
_v
(
"注:0天即为当天下发,当天完成,1天即为当天下发,次日24:00之前完成"
)])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"set-line-item"
},[
a
(
"span"
,{
staticClass
:
"set-line-item_title font-14 color-606266"
},[
t
.
_v
(
"不良评价放弃前提"
)]),
t
.
_v
(
" "
),
a
(
"el-input"
,{
staticClass
:
"w-55"
,
attrs
:{
placeholder
:
"请输入内容"
},
model
:{
value
:
t
.
setObj
.
giveUpJudge
,
callback
:
function
(
e
){
t
.
$set
(
t
.
setObj
,
"giveUpJudge"
,
e
)},
expression
:
"setObj.giveUpJudge"
}}),
a
(
"span"
,{
staticClass
:
"font-14 color-606266 p-l-10"
},[
t
.
_v
(
"次"
)]),
t
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-14 color-606266"
},[
t
.
_v
(
"呼叫后无响应"
)])],
1
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"task-set-save m-t-30"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
saveSet
}},[
t
.
_v
(
"保 存"
)])],
1
)])],
1
)},
staticRenderFns
:[]};
var
u
=
a
(
"VU/8"
)(
d
,
l
,
!
1
,
function
(
t
){
a
(
"ZFsH"
)},
"data-v-202e60e0"
,
null
);
e
.
default
=
u
.
exports
},
ZFsH
:
function
(
t
,
e
){}});
\ No newline at end of file
dist/static/js/7
1.e51a1b885d499897baff
.js
→
dist/static/js/7
0.d5759f121e5783b4c558
.js
View file @
35fc15c1
webpackJsonp
([
71
],{
"U2+M"
:
function
(
e
,
r
){},
fZsz
:
function
(
e
,
r
,
t
){
"use strict"
;
Object
.
defineProperty
(
r
,
"__esModule"
,{
value
:
!
0
});
var
a
=
t
(
"//Fk"
),
o
=
t
.
n
(
a
),
i
=
t
(
"mvHQ"
),
n
=
t
.
n
(
i
),
l
=
t
(
"3Xzz"
),
s
=
t
(
"l46T"
),
u
=
t
(
"Kkt8"
),
c
=
t
(
"3E4D"
),
h
=
t
(
"Ch4/"
),
d
=
t
(
"PI0u"
),
m
=
t
(
"P9l9"
),
p
=
{
name
:
"addAdminRole"
,
data
:
function
(){
return
{
menuH
:
window
.
screen
.
availHeight
-
695
+
"px"
,
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"设置"
,
path
:
"/companyAddress"
},{
name
:
"设置子管理员"
,
path
:
"/setChildAdmin"
},{
name
:
"新增管理员角色"
,
path
:
""
}],
showFlag
:
!
1
,
ruleForm
:{
roleId
:
""
,
roleName
:
""
,
remark
:
"角色说明"
,
leftChecked
:[],
menuTree
:[],
left
:[],
rightChecked
:[],
right
:[],
leftCheckedApp
:[],
leftApp
:[],
rightCheckedApp
:[],
rightApp
:[],
appRightList
:[]},
rules
:{
roleName
:[{
required
:
!
0
,
message
:
"请填写角色名称"
,
trigger
:
"blur"
}],
remark
:[{
required
:
!
0
,
message
:
"请填写角色说明"
,
trigger
:
"blur"
}]},
defaultProps
:{
children
:
"children"
,
label
:
"rightName"
},
appDataList
:[{
appId
:
"1"
,
appName
:
"签到"
,
appDesc
:
"签到"
,
appBackgroudColor
:
"#1890ff"
,
appIcon
:
"icon-hangzhengjiagou"
,
appType
:
0
,
status
:
3
,
remark
:
""
,
check
:
!
1
}]}},
computed
:{},
methods
:{
selectApp
:
function
(
e
){
if
(
this
.
showFlag
)
return
!
1
;
e
.
check
=!
e
.
check
},
submitForm
:
Object
(
d
.
a
)(
function
(
e
){
var
r
=
this
,
t
=
this
;
t
.
$refs
[
e
].
validate
(
function
(
e
){
if
(
!
e
)
return
!
1
;
var
a
=
[];
r
.
$refs
.
tree
.
getCheckedKeys
().
concat
(
r
.
$refs
.
tree
.
getHalfCheckedKeys
()).
forEach
(
function
(
e
,
r
){
a
.
push
({
rightId
:
e
})}),
t
.
ruleForm
.
appRightList
=
[],
t
.
appDataList
.
forEach
(
function
(
e
){
1
==
e
.
check
&&
t
.
ruleForm
.
appRightList
.
push
(
e
.
appId
)}),
t
.
postSave
(
a
)})},
500
),
postSave
:
function
(
e
){
var
r
=
this
,
t
=
{
data
:
n
()(
e
),
roleId
:
r
.
ruleForm
.
roleId
,
roleName
:
r
.
ruleForm
.
roleName
,
remark
:
r
.
ruleForm
.
remark
,
brandId
:
r
.
ruleForm
.
brandId
,
appRightList
:
r
.
ruleForm
.
appRightList
.
join
(
","
)};
Object
(
m
.
e
)(
"/haoban-manage-web/save-role"
,
t
).
then
(
function
(
e
){
var
t
=
e
.
data
;
if
(
1
==
t
.
errorCode
)
return
c
.
a
.
showmsg
(
"操作成功"
,
"success"
),
void
r
.
$router
.
push
(
"/setChildAdmin"
);
h
.
a
.
errorMsg
(
t
)}).
catch
(
function
(
e
){
r
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getMenuList
:
function
(){
var
e
=
this
;
Object
(
m
.
e
)(
"/haoban-manage-web/menu-list"
,{}).
then
(
function
(
r
){
var
t
=
r
.
data
;
if
(
1
!=
t
.
errorCode
)
h
.
a
.
errorMsg
(
t
);
else
{
if
(
t
.
result
&&
t
.
result
.
length
){
var
a
=
[];
t
.
result
.
forEach
(
function
(
r
,
t
){
e
.
ruleForm
.
roleId
&&
e
.
showFlag
&&
(
r
.
disabled
=!
0
),
r
.
display
&&
a
.
push
(
r
)}),
e
.
ruleForm
.
menuTree
=
e
.
treeData
(
a
)}
e
.
ruleForm
.
roleId
&&
e
.
getRoleDetail
(
e
.
ruleForm
.
roleId
)}}).
catch
(
function
(
r
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
r
.
message
})})},
treeData
:
function
(
e
){
return
e
.
filter
(
function
(
r
){
var
t
=
e
.
filter
(
function
(
e
){
return
r
.
haobanMenuRightId
==
e
.
parentRightId
});
return
t
.
length
>
0
&&
(
r
.
children
=
t
),
-
1
==
r
.
parentRightId
})},
getRoleDetail
:
function
(
e
){
var
r
=
this
,
t
=
{
roleId
:
e
};
Object
(
m
.
e
)(
"/haoban-manage-web/role-detail"
,
t
).
then
(
function
(
e
){
var
t
=
e
.
data
;
if
(
1
==
t
.
errorCode
){
if
(
r
.
ruleForm
.
roleId
=
t
.
result
.
role
.
roleId
,
r
.
ruleForm
.
roleName
=
t
.
result
.
role
.
roleName
,
r
.
ruleForm
.
roleCode
=
t
.
result
.
role
.
roleCode
,
r
.
ruleForm
.
remark
=
t
.
result
.
role
.
remark
,
r
.
ruleForm
.
appRightList
=
t
.
result
.
appRightList
||
[],
r
.
ruleForm
.
right
.
length
){
var
a
=
r
.
ruleForm
.
right
.
map
(
function
(
e
){
return
e
.
rightId
}),
o
=
[];
t
.
result
.
menuRightList
.
forEach
(
function
(
e
,
r
){
a
.
includes
(
e
.
rightId
)
&&
o
.
push
(
e
.
rightId
)}),
r
.
ruleForm
.
rightChecked
=
o
}
var
i
=
[];
return
t
.
result
.
menuRightList
.
forEach
(
function
(
e
,
t
){
r
.
$refs
.
tree
.
getNode
(
e
.
rightId
).
isLeaf
&&
i
.
push
(
e
.
rightId
)}),
r
.
$refs
.
tree
.
setCheckedKeys
(
i
),
void
r
.
appDataList
.
forEach
(
function
(
e
){
r
.
ruleForm
.
appRightList
.
includes
(
e
.
appId
)
&&
(
e
.
check
=!
0
)})}
h
.
a
.
errorMsg
(
t
)}).
catch
(
function
(
e
){
r
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
leftChange
:
function
(
e
,
r
){
var
t
=
this
;
t
.
ruleForm
.
leftChecked
=
e
;
var
a
=
e
.
includes
(
r
[
0
]);
function
o
(){
t
.
ruleForm
.
right
=
[],
t
.
ruleForm
.
left
.
forEach
(
function
(
e
,
o
){
e
.
rightId
.
includes
(
r
[
0
])
&&
(
e
.
check
=!!
a
,
e
.
children
&&
e
.
children
.
length
&&
e
.
children
.
forEach
(
function
(
e
,
r
){
t
.
ruleForm
.
right
.
push
(
e
)}))})}
e
.
includes
(
r
[
0
]),
o
(),
t
.
ruleForm
.
rightChecked
=
t
.
ruleForm
.
right
.
map
(
function
(
e
){
if
(
!
0
===
e
.
check
)
return
e
.
rightId
})},
rightChange
:
function
(
e
,
r
){
var
t
=
e
.
includes
(
r
[
0
]);
this
.
ruleForm
.
rightChecked
=
e
,
this
.
ruleForm
.
left
.
forEach
(
function
(
e
,
a
){
e
.
children
&&
e
.
children
.
length
&&
e
.
children
.
forEach
(
function
(
e
,
a
){
e
.
rightId
.
includes
(
r
[
0
])
&&
(
e
.
check
=!!
t
)})})},
getAppList
:
function
(){
var
e
=
this
;
Object
(
m
.
e
)(
"/haoban-manage-web/application-list"
,{}).
then
(
function
(
r
){
var
t
=
r
.
data
;
if
(
1
==
t
.
errorCode
)
return
t
.
result
&&
t
.
result
.
length
&&
t
.
result
.
forEach
(
function
(
e
){
e
.
check
=!
1
}),
void
(
e
.
appDataList
=
t
.
result
||
[]);
h
.
a
.
errorMsg
(
t
)}).
catch
(
function
(
r
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
r
.
message
})})}},
mounted
:
function
(){
var
e
=
this
;
e
.
$route
.
query
.
hasOwnProperty
(
"roleId"
)
&&
(
e
.
ruleForm
.
roleId
=
e
.
$route
.
query
.
roleId
,
e
.
navpath
[
3
].
name
=
"管理员角色"
,
"show"
===
e
.
$route
.
query
.
type
&&
(
e
.
showFlag
=!
0
)),
e
.
$route
.
query
.
hasOwnProperty
(
"brandId"
)
&&
(
e
.
ruleForm
.
brandId
=
e
.
$route
.
query
.
brandId
),
o
.
a
.
all
([
e
.
getAppList
()]).
then
(
function
(
r
){
e
.
getMenuList
()}).
catch
(
function
(
e
){})},
components
:{
navCrumb
:
l
.
a
,
limitInput
:
s
.
a
,
limitTextarea
:
u
.
a
}},
f
=
{
render
:
function
(){
var
e
=
this
,
r
=
e
.
$createElement
,
t
=
e
.
_self
.
_c
||
r
;
return
t
(
"div"
,{
staticClass
:
"companyAddress-wrap common-set-wrap"
},[
t
(
"nav-crumb"
,{
attrs
:{
navpath
:
e
.
navpath
}}),
e
.
_v
(
" "
),
t
(
"div"
,{
staticClass
:
"right-content"
},[
t
(
"div"
,{
staticClass
:
"right-box"
,
style
:{
"min-height"
:
e
.
$store
.
state
.
bgHeight
}},[
t
(
"el-form"
,{
ref
:
"ruleForm"
,
staticClass
:
"demo-ruleForm"
,
attrs
:{
model
:
e
.
ruleForm
,
rules
:
e
.
rules
,
"label-width"
:
"100px"
}},[
t
(
"el-form-item"
,{
attrs
:{
label
:
"角色名称"
,
prop
:
"roleName"
}},[
t
(
"limitInput"
,{
attrs
:{
inputWidth
:
500
,
inputValue
:
e
.
ruleForm
.
roleName
,
disflag
:
!!
e
.
showFlag
,
holder
:
"请输入角色名称"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
r
){
e
.
$set
(
e
.
ruleForm
,
"roleName"
,
r
)}}})],
1
),
e
.
_v
(
" "
),
t
(
"el-form-item"
,{
attrs
:{
label
:
"角色说明"
,
prop
:
"remark"
}},[
t
(
"limitTextarea"
,{
attrs
:{
inputWidth
:
500
,
inputValue
:
e
.
ruleForm
.
remark
,
holder
:
"请输入角色说明"
,
disInput
:
!!
e
.
showFlag
,
maxLength
:
50
},
on
:{
"update:inputValue"
:
function
(
r
){
e
.
$set
(
e
.
ruleForm
,
"remark"
,
r
)}}})],
1
),
e
.
_v
(
" "
),
t
(
"el-form-item"
,{
staticClass
:
"m-t-44"
,
attrs
:{
label
:
"菜单权限"
,
prop
:
"leftChecked"
}},[
t
(
"div"
,{
staticClass
:
"w-500 border-1 p-10 border-box el-form-item_menu"
,
style
:{
"max-height"
:
e
.
menuH
}},[
t
(
"el-tree"
,{
ref
:
"tree"
,
attrs
:{
data
:
e
.
ruleForm
.
menuTree
,
"show-checkbox"
:
""
,
"default-expand-all"
:
""
,
"node-key"
:
"rightId"
,
"highlight-current"
:
""
,
props
:
e
.
defaultProps
}})],
1
)]),
e
.
_v
(
" "
),
t
(
"el-form-item"
,{
attrs
:{
label
:
"应用权限"
,
prop
:
""
}},[
t
(
"div"
,{
staticClass
:
"apps-content"
},[
t
(
"ul"
,{
staticClass
:
"flex flex-row flex-wrap"
},
e
.
_l
(
e
.
appDataList
,
function
(
r
,
a
){
return
t
(
"li"
,{
key
:
a
,
class
:[
"flex flex-align-center border-box flex"
,
r
.
check
?
"border-active"
:
""
],
on
:{
click
:
function
(
t
){
e
.
selectApp
(
r
)}}},[
t
(
"span"
,{
staticClass
:
"square-item flex flex-align-center flex-pack-center"
,
style
:{
background
:
r
.
appBackgroudColor
}},[
t
(
"img"
,{
attrs
:{
src
:
r
.
appIcon
,
alt
:
""
}})]),
e
.
_v
(
" "
),
t
(
"span"
,{
staticClass
:
"color-303133 font-14 p-l-8"
},[
e
.
_v
(
e
.
_s
(
r
.
appName
))]),
e
.
_v
(
" "
),
r
.
check
?
t
(
"div"
,{
staticClass
:
"common-cell_radio"
},[
t
(
"div"
,{
staticClass
:
"box-triangle"
},[
t
(
"div"
,{
staticClass
:
"wrap__box__outer"
},[
t
(
"i"
,{
staticClass
:
"el-icon-upload-success el-icon-check"
})])])]):
e
.
_e
()])}))])]),
e
.
_v
(
" "
),
t
(
"el-form-item"
,[
t
(
"el-button"
,{
attrs
:{
disabled
:
!!
e
.
showFlag
,
type
:
"primary"
},
on
:{
click
:
function
(
r
){
e
.
submitForm
(
"ruleForm"
)}}},[
e
.
_v
(
"保 存"
)])],
1
)],
1
)],
1
)]),
e
.
_v
(
" "
),
t
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
g
=
t
(
"VU/8"
)(
p
,
f
,
!
1
,
function
(
e
){
t
(
"U2+M"
)},
"data-v-1f78eae8"
,
null
);
r
.
default
=
g
.
exports
}});
\ No newline at end of file
webpackJsonp
([
70
],{
"U2+M"
:
function
(
e
,
r
){},
fZsz
:
function
(
e
,
r
,
t
){
"use strict"
;
Object
.
defineProperty
(
r
,
"__esModule"
,{
value
:
!
0
});
var
a
=
t
(
"//Fk"
),
o
=
t
.
n
(
a
),
i
=
t
(
"mvHQ"
),
n
=
t
.
n
(
i
),
l
=
t
(
"3Xzz"
),
s
=
t
(
"l46T"
),
u
=
t
(
"Kkt8"
),
c
=
t
(
"3E4D"
),
h
=
t
(
"Ch4/"
),
d
=
t
(
"PI0u"
),
m
=
t
(
"P9l9"
),
p
=
{
name
:
"addAdminRole"
,
data
:
function
(){
return
{
menuH
:
window
.
screen
.
availHeight
-
695
+
"px"
,
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"设置"
,
path
:
"/companyAddress"
},{
name
:
"设置子管理员"
,
path
:
"/setChildAdmin"
},{
name
:
"新增管理员角色"
,
path
:
""
}],
showFlag
:
!
1
,
ruleForm
:{
roleId
:
""
,
roleName
:
""
,
remark
:
"角色说明"
,
leftChecked
:[],
menuTree
:[],
left
:[],
rightChecked
:[],
right
:[],
leftCheckedApp
:[],
leftApp
:[],
rightCheckedApp
:[],
rightApp
:[],
appRightList
:[]},
rules
:{
roleName
:[{
required
:
!
0
,
message
:
"请填写角色名称"
,
trigger
:
"blur"
}],
remark
:[{
required
:
!
0
,
message
:
"请填写角色说明"
,
trigger
:
"blur"
}]},
defaultProps
:{
children
:
"children"
,
label
:
"rightName"
},
appDataList
:[{
appId
:
"1"
,
appName
:
"签到"
,
appDesc
:
"签到"
,
appBackgroudColor
:
"#1890ff"
,
appIcon
:
"icon-hangzhengjiagou"
,
appType
:
0
,
status
:
3
,
remark
:
""
,
check
:
!
1
}]}},
computed
:{},
methods
:{
selectApp
:
function
(
e
){
if
(
this
.
showFlag
)
return
!
1
;
e
.
check
=!
e
.
check
},
submitForm
:
Object
(
d
.
a
)(
function
(
e
){
var
r
=
this
,
t
=
this
;
t
.
$refs
[
e
].
validate
(
function
(
e
){
if
(
!
e
)
return
!
1
;
var
a
=
[];
r
.
$refs
.
tree
.
getCheckedKeys
().
concat
(
r
.
$refs
.
tree
.
getHalfCheckedKeys
()).
forEach
(
function
(
e
,
r
){
a
.
push
({
rightId
:
e
})}),
t
.
ruleForm
.
appRightList
=
[],
t
.
appDataList
.
forEach
(
function
(
e
){
1
==
e
.
check
&&
t
.
ruleForm
.
appRightList
.
push
(
e
.
appId
)}),
t
.
postSave
(
a
)})},
500
),
postSave
:
function
(
e
){
var
r
=
this
,
t
=
{
data
:
n
()(
e
),
roleId
:
r
.
ruleForm
.
roleId
,
roleName
:
r
.
ruleForm
.
roleName
,
remark
:
r
.
ruleForm
.
remark
,
brandId
:
r
.
ruleForm
.
brandId
,
appRightList
:
r
.
ruleForm
.
appRightList
.
join
(
","
)};
Object
(
m
.
e
)(
"/haoban-manage-web/save-role"
,
t
).
then
(
function
(
e
){
var
t
=
e
.
data
;
if
(
1
==
t
.
errorCode
)
return
c
.
a
.
showmsg
(
"操作成功"
,
"success"
),
void
r
.
$router
.
push
(
"/setChildAdmin"
);
h
.
a
.
errorMsg
(
t
)}).
catch
(
function
(
e
){
r
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getMenuList
:
function
(){
var
e
=
this
;
Object
(
m
.
e
)(
"/haoban-manage-web/menu-list"
,{}).
then
(
function
(
r
){
var
t
=
r
.
data
;
if
(
1
!=
t
.
errorCode
)
h
.
a
.
errorMsg
(
t
);
else
{
if
(
t
.
result
&&
t
.
result
.
length
){
var
a
=
[];
t
.
result
.
forEach
(
function
(
r
,
t
){
e
.
ruleForm
.
roleId
&&
e
.
showFlag
&&
(
r
.
disabled
=!
0
),
r
.
display
&&
a
.
push
(
r
)}),
e
.
ruleForm
.
menuTree
=
e
.
treeData
(
a
)}
e
.
ruleForm
.
roleId
&&
e
.
getRoleDetail
(
e
.
ruleForm
.
roleId
)}}).
catch
(
function
(
r
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
r
.
message
})})},
treeData
:
function
(
e
){
return
e
.
filter
(
function
(
r
){
var
t
=
e
.
filter
(
function
(
e
){
return
r
.
haobanMenuRightId
==
e
.
parentRightId
});
return
t
.
length
>
0
&&
(
r
.
children
=
t
),
-
1
==
r
.
parentRightId
})},
getRoleDetail
:
function
(
e
){
var
r
=
this
,
t
=
{
roleId
:
e
};
Object
(
m
.
e
)(
"/haoban-manage-web/role-detail"
,
t
).
then
(
function
(
e
){
var
t
=
e
.
data
;
if
(
1
==
t
.
errorCode
){
if
(
r
.
ruleForm
.
roleId
=
t
.
result
.
role
.
roleId
,
r
.
ruleForm
.
roleName
=
t
.
result
.
role
.
roleName
,
r
.
ruleForm
.
roleCode
=
t
.
result
.
role
.
roleCode
,
r
.
ruleForm
.
remark
=
t
.
result
.
role
.
remark
,
r
.
ruleForm
.
appRightList
=
t
.
result
.
appRightList
||
[],
r
.
ruleForm
.
right
.
length
){
var
a
=
r
.
ruleForm
.
right
.
map
(
function
(
e
){
return
e
.
rightId
}),
o
=
[];
t
.
result
.
menuRightList
.
forEach
(
function
(
e
,
r
){
a
.
includes
(
e
.
rightId
)
&&
o
.
push
(
e
.
rightId
)}),
r
.
ruleForm
.
rightChecked
=
o
}
var
i
=
[];
return
t
.
result
.
menuRightList
.
forEach
(
function
(
e
,
t
){
r
.
$refs
.
tree
.
getNode
(
e
.
rightId
).
isLeaf
&&
i
.
push
(
e
.
rightId
)}),
r
.
$refs
.
tree
.
setCheckedKeys
(
i
),
void
r
.
appDataList
.
forEach
(
function
(
e
){
r
.
ruleForm
.
appRightList
.
includes
(
e
.
appId
)
&&
(
e
.
check
=!
0
)})}
h
.
a
.
errorMsg
(
t
)}).
catch
(
function
(
e
){
r
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
leftChange
:
function
(
e
,
r
){
var
t
=
this
;
t
.
ruleForm
.
leftChecked
=
e
;
var
a
=
e
.
includes
(
r
[
0
]);
function
o
(){
t
.
ruleForm
.
right
=
[],
t
.
ruleForm
.
left
.
forEach
(
function
(
e
,
o
){
e
.
rightId
.
includes
(
r
[
0
])
&&
(
e
.
check
=!!
a
,
e
.
children
&&
e
.
children
.
length
&&
e
.
children
.
forEach
(
function
(
e
,
r
){
t
.
ruleForm
.
right
.
push
(
e
)}))})}
e
.
includes
(
r
[
0
]),
o
(),
t
.
ruleForm
.
rightChecked
=
t
.
ruleForm
.
right
.
map
(
function
(
e
){
if
(
!
0
===
e
.
check
)
return
e
.
rightId
})},
rightChange
:
function
(
e
,
r
){
var
t
=
e
.
includes
(
r
[
0
]);
this
.
ruleForm
.
rightChecked
=
e
,
this
.
ruleForm
.
left
.
forEach
(
function
(
e
,
a
){
e
.
children
&&
e
.
children
.
length
&&
e
.
children
.
forEach
(
function
(
e
,
a
){
e
.
rightId
.
includes
(
r
[
0
])
&&
(
e
.
check
=!!
t
)})})},
getAppList
:
function
(){
var
e
=
this
;
Object
(
m
.
e
)(
"/haoban-manage-web/application-list"
,{}).
then
(
function
(
r
){
var
t
=
r
.
data
;
if
(
1
==
t
.
errorCode
)
return
t
.
result
&&
t
.
result
.
length
&&
t
.
result
.
forEach
(
function
(
e
){
e
.
check
=!
1
}),
void
(
e
.
appDataList
=
t
.
result
||
[]);
h
.
a
.
errorMsg
(
t
)}).
catch
(
function
(
r
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
r
.
message
})})}},
mounted
:
function
(){
var
e
=
this
;
e
.
$route
.
query
.
hasOwnProperty
(
"roleId"
)
&&
(
e
.
ruleForm
.
roleId
=
e
.
$route
.
query
.
roleId
,
e
.
navpath
[
3
].
name
=
"管理员角色"
,
"show"
===
e
.
$route
.
query
.
type
&&
(
e
.
showFlag
=!
0
)),
e
.
$route
.
query
.
hasOwnProperty
(
"brandId"
)
&&
(
e
.
ruleForm
.
brandId
=
e
.
$route
.
query
.
brandId
),
o
.
a
.
all
([
e
.
getAppList
()]).
then
(
function
(
r
){
e
.
getMenuList
()}).
catch
(
function
(
e
){})},
components
:{
navCrumb
:
l
.
a
,
limitInput
:
s
.
a
,
limitTextarea
:
u
.
a
}},
f
=
{
render
:
function
(){
var
e
=
this
,
r
=
e
.
$createElement
,
t
=
e
.
_self
.
_c
||
r
;
return
t
(
"div"
,{
staticClass
:
"companyAddress-wrap common-set-wrap"
},[
t
(
"nav-crumb"
,{
attrs
:{
navpath
:
e
.
navpath
}}),
e
.
_v
(
" "
),
t
(
"div"
,{
staticClass
:
"right-content"
},[
t
(
"div"
,{
staticClass
:
"right-box"
,
style
:{
"min-height"
:
e
.
$store
.
state
.
bgHeight
}},[
t
(
"el-form"
,{
ref
:
"ruleForm"
,
staticClass
:
"demo-ruleForm"
,
attrs
:{
model
:
e
.
ruleForm
,
rules
:
e
.
rules
,
"label-width"
:
"100px"
}},[
t
(
"el-form-item"
,{
attrs
:{
label
:
"角色名称"
,
prop
:
"roleName"
}},[
t
(
"limitInput"
,{
attrs
:{
inputWidth
:
500
,
inputValue
:
e
.
ruleForm
.
roleName
,
disflag
:
!!
e
.
showFlag
,
holder
:
"请输入角色名称"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
r
){
e
.
$set
(
e
.
ruleForm
,
"roleName"
,
r
)}}})],
1
),
e
.
_v
(
" "
),
t
(
"el-form-item"
,{
attrs
:{
label
:
"角色说明"
,
prop
:
"remark"
}},[
t
(
"limitTextarea"
,{
attrs
:{
inputWidth
:
500
,
inputValue
:
e
.
ruleForm
.
remark
,
holder
:
"请输入角色说明"
,
disInput
:
!!
e
.
showFlag
,
maxLength
:
50
},
on
:{
"update:inputValue"
:
function
(
r
){
e
.
$set
(
e
.
ruleForm
,
"remark"
,
r
)}}})],
1
),
e
.
_v
(
" "
),
t
(
"el-form-item"
,{
staticClass
:
"m-t-44"
,
attrs
:{
label
:
"菜单权限"
,
prop
:
"leftChecked"
}},[
t
(
"div"
,{
staticClass
:
"w-500 border-1 p-10 border-box el-form-item_menu"
,
style
:{
"max-height"
:
e
.
menuH
}},[
t
(
"el-tree"
,{
ref
:
"tree"
,
attrs
:{
data
:
e
.
ruleForm
.
menuTree
,
"show-checkbox"
:
""
,
"default-expand-all"
:
""
,
"node-key"
:
"rightId"
,
"highlight-current"
:
""
,
props
:
e
.
defaultProps
}})],
1
)]),
e
.
_v
(
" "
),
t
(
"el-form-item"
,{
attrs
:{
label
:
"应用权限"
,
prop
:
""
}},[
t
(
"div"
,{
staticClass
:
"apps-content"
},[
t
(
"ul"
,{
staticClass
:
"flex flex-row flex-wrap"
},
e
.
_l
(
e
.
appDataList
,
function
(
r
,
a
){
return
t
(
"li"
,{
key
:
a
,
class
:[
"flex flex-align-center border-box flex"
,
r
.
check
?
"border-active"
:
""
],
on
:{
click
:
function
(
t
){
e
.
selectApp
(
r
)}}},[
t
(
"span"
,{
staticClass
:
"square-item flex flex-align-center flex-pack-center"
,
style
:{
background
:
r
.
appBackgroudColor
}},[
t
(
"img"
,{
attrs
:{
src
:
r
.
appIcon
,
alt
:
""
}})]),
e
.
_v
(
" "
),
t
(
"span"
,{
staticClass
:
"color-303133 font-14 p-l-8"
},[
e
.
_v
(
e
.
_s
(
r
.
appName
))]),
e
.
_v
(
" "
),
r
.
check
?
t
(
"div"
,{
staticClass
:
"common-cell_radio"
},[
t
(
"div"
,{
staticClass
:
"box-triangle"
},[
t
(
"div"
,{
staticClass
:
"wrap__box__outer"
},[
t
(
"i"
,{
staticClass
:
"el-icon-upload-success el-icon-check"
})])])]):
e
.
_e
()])}))])]),
e
.
_v
(
" "
),
t
(
"el-form-item"
,[
t
(
"el-button"
,{
attrs
:{
disabled
:
!!
e
.
showFlag
,
type
:
"primary"
},
on
:{
click
:
function
(
r
){
e
.
submitForm
(
"ruleForm"
)}}},[
e
.
_v
(
"保 存"
)])],
1
)],
1
)],
1
)]),
e
.
_v
(
" "
),
t
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
g
=
t
(
"VU/8"
)(
p
,
f
,
!
1
,
function
(
e
){
t
(
"U2+M"
)},
"data-v-1f78eae8"
,
null
);
r
.
default
=
g
.
exports
}});
\ No newline at end of file
dist/static/js/7
2.bfd2694c02bae17c273e
.js
→
dist/static/js/7
1.95b66215f468ac6aa391
.js
View file @
35fc15c1
webpackJsonp
([
72
],{
cDku
:
function
(
t
,
e
){},
xk7v
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"mvHQ"
),
r
=
a
.
n
(
n
),
s
=
a
(
"Gu7T"
),
i
=
a
.
n
(
s
),
c
=
a
(
"Xxa5"
),
o
=
a
.
n
(
c
),
u
=
a
(
"exGp"
),
d
=
a
.
n
(
u
),
p
=
a
(
"2eFk"
),
h
=
a
(
"Ke24"
),
l
=
a
(
"PI0u"
),
f
=
a
(
"Ch4/"
),
m
=
a
(
"3E4D"
),
y
=
a
(
"P9l9"
),
v
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
activeTab
:
"1"
,
brandName
:
""
,
activeBrand
:
this
.
brandId
,
yearMonth
:
""
,
topMenuData
:[{
id
:
"1"
,
name
:
"指标管理"
,
path
:
"/monthList?appIcon="
+
this
.
$route
.
query
.
appIcon
},{
id
:
"2"
,
name
:
"月指标"
,
path
:
"/monthList?appIcon="
+
this
.
$route
.
query
.
appIcon
},{
id
:
"3"
,
name
:
"商户统一日权重"
,
path
:
""
}],
activeId
:
"3"
,
myObject
:{
hasEmptyGrid
:
!
1
,
empytGrids
:[],
days
:[],
hasLastEmptyGrid
:
!
1
,
lastEmpytGrids
:[],
beginDate
:
""
,
endDate
:
""
},
performanceWeightSettingList
:[],
settingStatus
:
1
,
settingAble
:
1
}},
computed
:{},
methods
:{
is_leap
:
function
(
t
){
return
t
%
400
==
0
||
t
%
4
==
0
&&
t
%
100
!=
0
},
m_days
:
function
(
t
){
return
[
31
,
28
+
this
.
is_leap
(
t
),
31
,
30
,
31
,
30
,
31
,
31
,
30
,
31
,
30
,
31
]},
addZero
:
function
(
t
){
return
t
<
10
?
"0"
+
parseInt
(
t
):
t
},
getThisMonthDays
:
function
(
t
,
e
){
return
new
Date
(
t
,
e
,
0
).
getDate
()},
getFirstDayOfWeek
:
function
(
t
,
e
){
return
new
Date
(
Date
.
UTC
(
t
,
e
-
1
,
1
)).
getDay
()},
getLastDayOfWeek
:
function
(
t
,
e
){
return
new
Date
(
Date
.
UTC
(
t
,
e
-
1
,
this
.
getThisMonthDays
(
t
,
e
))).
getDay
()},
getYearMonthDayWeek
:
function
(
t
,
e
,
a
){
return
new
Date
(
t
,
e
-
1
,
a
).
getDay
()},
isOverMonth
:
function
(
t
,
e
){
return
t
.
split
(
"-"
)[
1
]
==
e
.
split
(
"-"
)[
1
]},
calculateEmptyGrids
:
function
(
t
,
e
){
var
a
=
this
;
return
d
()(
o
.
a
.
mark
(
function
n
(){
var
r
,
s
,
i
;
return
o
.
a
.
wrap
(
function
(
n
){
for
(;;)
switch
(
n
.
prev
=
n
.
next
){
case
0
:
return
n
.
next
=
2
,
a
.
getFirstDayOfWeek
(
t
,
e
);
case
2
:
if
(
r
=
n
.
sent
,
s
=
[],
r
>
0
)
for
(
i
=
0
;
i
<
r
;
i
++
)
s
.
push
(
i
);
return
n
.
abrupt
(
"return"
,
s
);
case
6
:
case
"end"
:
return
n
.
stop
()}},
n
,
a
)}))()},
calDayEmptyGrids
:
function
(
t
,
e
,
a
){
var
n
=
this
;
return
d
()(
o
.
a
.
mark
(
function
r
(){
var
s
,
i
,
c
;
return
o
.
a
.
wrap
(
function
(
r
){
for
(;;)
switch
(
r
.
prev
=
r
.
next
){
case
0
:
return
r
.
next
=
2
,
n
.
getYearMonthDayWeek
(
t
,
e
,
a
);
case
2
:
if
(
s
=
r
.
sent
,
i
=
[],
s
>
0
)
for
(
c
=
0
;
c
<
s
;
c
++
)
i
.
push
(
c
);
return
r
.
abrupt
(
"return"
,
i
);
case
6
:
case
"end"
:
return
r
.
stop
()}},
r
,
n
)}))()},
calculateLastEmptyGrids
:
function
(
t
,
e
){
var
a
=
this
;
return
d
()(
o
.
a
.
mark
(
function
n
(){
var
r
,
s
,
i
;
return
o
.
a
.
wrap
(
function
(
n
){
for
(;;)
switch
(
n
.
prev
=
n
.
next
){
case
0
:
return
n
.
next
=
2
,
a
.
getLastDayOfWeek
(
t
,
e
);
case
2
:
if
(
r
=
n
.
sent
,
s
=
[],
r
>=
0
)
for
(
i
=
0
;
i
<
6
-
r
;
i
++
)
s
.
push
(
i
);
return
n
.
abrupt
(
"return"
,
s
);
case
6
:
case
"end"
:
return
n
.
stop
()}},
n
,
a
)}))()},
calLastEmptyGrids
:
function
(
t
,
e
,
a
){
var
n
=
this
;
return
d
()(
o
.
a
.
mark
(
function
r
(){
var
s
,
i
,
c
;
return
o
.
a
.
wrap
(
function
(
r
){
for
(;;)
switch
(
r
.
prev
=
r
.
next
){
case
0
:
return
r
.
next
=
2
,
n
.
getYearMonthDayWeek
(
t
,
e
,
a
);
case
2
:
if
(
s
=
r
.
sent
,
i
=
[],
s
>=
0
)
for
(
c
=
0
;
c
<
6
-
s
;
c
++
)
i
.
push
(
c
);
return
r
.
abrupt
(
"return"
,
i
);
case
6
:
case
"end"
:
return
r
.
stop
()}},
r
,
n
)}))()},
calculateDays
:
function
(
t
,
e
,
a
,
n
){
var
r
=
this
;
return
d
()(
o
.
a
.
mark
(
function
s
(){
var
c
,
u
,
d
,
p
,
h
,
l
,
f
,
m
,
y
,
v
;
return
o
.
a
.
wrap
(
function
(
s
){
for
(;;)
switch
(
s
.
prev
=
s
.
next
){
case
0
:
return
c
=
r
,(
u
=
{}).
beginDate
=
a
,
u
.
endDate
=
n
,
u
.
year
=
t
,
s
.
next
=
7
,
c
.
addZero
(
e
);
case
7
:
return
u
.
month
=
s
.
sent
,
d
=
a
.
split
(
"-"
),
p
=
n
.
split
(
"-"
),
s
.
next
=
12
,
c
.
isOverMonth
(
a
,
n
);
case
12
:
return
h
=
s
.
sent
,
s
.
next
=
15
,
c
.
calDayEmptyGrids
(
d
[
0
],
d
[
1
],
d
[
2
]);
case
15
:
return
(
l
=
s
.
sent
).
length
>
0
?(
u
.
hasEmptyGrid
=!
0
,
u
.
empytGrids
=
l
):(
u
.
hasEmptyGrid
=!
1
,
u
.
empytGrids
=
[]),
s
.
next
=
19
,
c
.
calLastEmptyGrids
(
p
[
0
],
p
[
1
],
p
[
2
]);
case
19
:
if
((
f
=
s
.
sent
).
length
>
0
?(
u
.
hasLastEmptyGrid
=!
0
,
u
.
lastEmpytGrids
=
f
):(
u
.
hasLastEmptyGrid
=!
1
,
u
.
lastEmpytGrids
=
[]),
!
h
){
s
.
next
=
27
;
break
}
return
s
.
next
=
24
,
c
.
setCurrentMonth
(
d
[
0
],
d
[
1
],
d
[
2
],
p
[
2
]);
case
24
:
u
.
days
=
s
.
sent
,
s
.
next
=
37
;
break
;
case
27
:
return
s
.
next
=
29
,
c
.
getThisMonthDays
(
d
[
0
],
d
[
1
]);
case
29
:
return
m
=
s
.
sent
,
s
.
next
=
32
,
c
.
setCurrentMonth
(
d
[
0
],
d
[
1
],
d
[
2
],
m
);
case
32
:
return
y
=
s
.
sent
,
s
.
next
=
35
,
c
.
setCurrentMonth
(
p
[
0
],
p
[
1
],
1
,
p
[
2
]);
case
35
:
v
=
s
.
sent
,
u
.
days
=
[].
concat
(
i
()(
y
),
i
()(
v
));
case
37
:
return
c
.
myObject
=
u
,
s
.
abrupt
(
"return"
,
u
);
case
39
:
case
"end"
:
return
s
.
stop
()}},
s
,
r
)}))()},
setCurrentMonth
:
function
(
t
,
e
,
a
,
n
){
for
(
var
r
=
this
,
s
=
[],
i
=
function
(
a
){
var
n
=
{};
if
(
r
.
performanceWeightSettingList
.
length
)
r
.
performanceWeightSettingList
.
forEach
(
function
(
t
,
e
){
parseInt
(
t
.
date
.
split
(
"-"
)[
2
])
==
a
&&
(
n
.
weightValue
=
Number
(
t
.
weightValue
).
toFixed
(
2
))});
else
{
var
i
=
r
.
getYearMonthDayWeek
(
t
,
e
,
a
);
n
.
weightValue
=
5
==
i
?
Number
(
1.8
).
toFixed
(
2
):
6
==
i
||
0
==
i
?
Number
(
2
).
toFixed
(
2
):
Number
(
1
).
toFixed
(
2
)}
n
.
performanceDay
=
r
.
addZero
(
a
),
n
.
date
=
t
+
"-"
+
r
.
addZero
(
e
)
+
"-"
+
r
.
addZero
(
a
),
n
.
month
=
r
.
addZero
(
e
),
s
.
push
(
n
)},
c
=
a
;
c
<=
n
;
c
++
)
i
(
c
);
return
s
},
resetData
:
function
(){
this
.
performanceWeightSettingList
=
[];
var
t
=
this
.
yearMonth
.
split
(
"-"
);
this
.
calculateDays
(
t
[
0
],
t
[
1
],
this
.
myObject
.
beginDate
,
this
.
myObject
.
endDate
)},
saveSet
:
Object
(
l
.
a
)(
function
(){
var
t
=
this
,
e
=!
0
;
if
(
t
.
myObject
.
days
.
forEach
(
function
(
t
){(
!
t
.
weightValue
||
t
.
weightValue
<=
0
||!
Number
(
t
.
weightValue
))
&&
(
e
=!
1
)}),
!
e
)
return
this
.
$confirm
(
"每日的权重不能为空,必须为数字,且不小于 0 ?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
showCancelButton
:
!
1
,
type
:
"warning"
}).
then
(
function
(){}),
!
1
;
t
.
$confirm
(
0
==
t
.
settingStatus
?
"点击即下发门店月指标任务,请确认是否提交?"
:
"此次提交只影响日指标值,不会触发月指标任务,请确认是否提交?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
t
.
postSave
(
t
.
myObject
.
days
)}).
catch
(
function
(){})},
500
),
postSave
:
function
(
t
){
var
e
=
this
,
a
=
{
brandId
:
e
.
activeBrand
,
yearMonth
:
e
.
yearMonth
,
performanceWeightSettingList
:
r
()(
t
)};
Object
(
y
.
e
)(
"/haoban-app-performance-web/performance/save-performance-weight-setting"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
m
.
a
.
showmsg
(
"保存成功"
,
"success"
),
void
e
.
getData
();
f
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getData
:
function
(){
var
t
=
this
,
e
=
{
brandId
:
t
.
activeBrand
,
yearMonth
:
t
.
yearMonth
};
Object
(
y
.
e
)(
"/haoban-app-performance-web/performance/query-performance-weight-setting"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
,
n
=
t
.
yearMonth
.
split
(
"-"
);
if
(
1
==
a
.
errorCode
)
return
t
.
performanceWeightSettingList
=
a
.
result
.
performanceWeightSettingList
||
[],
t
.
settingStatus
=
a
.
result
.
settingStatus
,
t
.
settingAble
=
a
.
result
.
settingAble
,
t
.
brandName
=
a
.
result
.
brandName
,
t
.
myObject
.
beginDate
=
a
.
result
.
beginDate
,
t
.
myObject
.
endDate
=
a
.
result
.
endDate
,
void
t
.
calculateDays
(
n
[
0
],
n
[
1
],
a
.
result
.
beginDate
,
a
.
result
.
endDate
);
f
.
a
.
errorMsg
(
a
),
t
.
settingAble
=
0
}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
brandId
:
function
(
t
,
e
){
t
&&
(
this
.
activeBrand
=
t
,
this
.
yearMonth
=
this
.
$route
.
query
.
yearMonth
,
this
.
getData
())}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
$emit
(
"showTab"
,
"11"
),
this
.
brandId
&&
(
this
.
yearMonth
=
this
.
$route
.
query
.
yearMonth
,
this
.
getData
())},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
p
.
a
,
commonDetailTop
:
h
.
a
}},
g
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"app-detail-wrap common-right-wrap"
},[
a
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
t
.
topMenuData
,
activeId
:
t
.
activeId
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"day-set-content boder-box"
},[
a
(
"div"
,{
staticClass
:
"day-set-title m-b-20"
},[
a
(
"span"
,{
staticClass
:
"font-18 color-303133"
},[
t
.
_v
(
t
.
_s
(
t
.
yearMonth
))]),
a
(
"span"
,{
staticClass
:
"font-14 color-606266 p-l-18"
},[
t
.
_v
(
t
.
_s
(
t
.
brandName
)
+
"商户统一日权重"
)]),
t
.
_v
(
" "
),
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
placement
:
"right"
}},[
a
(
"div"
,{
attrs
:{
slot
:
"content"
},
slot
:
"content"
},[
t
.
_v
(
"首次设置提交即下发门店月指标任务;"
),
a
(
"br"
),
t
.
_v
(
"门店月指标将依照日权重自动分配,日指标=当月月指标*(日权重/∑当月日权重);"
)]),
t
.
_v
(
" "
),
a
(
"i"
,{
staticClass
:
"el-icon-info font-8 color-c0c4cc p-l-8"
})])],
1
),
t
.
_v
(
" "
),
a
(
"section"
,[
t
.
_m
(
0
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"week week-body"
},[
t
.
myObject
.
hasEmptyGrid
?
t
.
_l
(
t
.
myObject
.
empytGrids
,
function
(
t
,
e
){
return
a
(
"div"
,{
key
:
e
+
"empytGrids"
,
staticClass
:
"day grid white-color"
})}):
t
.
_e
(),
t
.
_v
(
" "
),
t
.
_l
(
t
.
myObject
.
days
,
function
(
e
,
n
){
return
a
(
"div"
,{
key
:
n
,
staticClass
:
"day w-p-14 selectable"
,
class
:
0
==
e
?
"hide"
:
""
},[
a
(
"div"
,{
staticClass
:
"w-120 font-14 color-909399 day-performance"
},[
t
.
_v
(
t
.
_s
(
e
.
month
+
"-"
+
e
.
performanceDay
))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"target-value "
},[
a
(
"el-input"
,{
staticClass
:
"w-120"
,
attrs
:{
placeholder
:
"请输入权重值"
,
disabled
:
0
==
t
.
settingAble
},
model
:{
value
:
e
.
weightValue
,
callback
:
function
(
a
){
t
.
$set
(
e
,
"weightValue"
,
a
)},
expression
:
"day.weightValue"
}})],
1
)])}),
t
.
_v
(
" "
),
t
.
myObject
.
hasLastEmptyGrid
?
t
.
_l
(
t
.
myObject
.
lastEmpytGrids
,
function
(
t
,
e
){
return
a
(
"div"
,{
key
:
e
+
"lastEmpytGrids"
,
staticClass
:
"day grid white-color"
})}):
t
.
_e
()],
2
)]),
t
.
_v
(
" "
),
1
==
t
.
settingAble
?
a
(
"div"
,{
staticClass
:
"day-set-btn m-t-24 text-center"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
t
.
resetData
}},[
t
.
_v
(
"重置"
)]),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
saveSet
}},[
t
.
_v
(
"提交"
)])],
1
):
t
.
_e
()])],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"week"
},[
a
(
"div"
,{
staticClass
:
"week-head day w-p-14"
},[
t
.
_v
(
"周日"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"week-head day w-p-14"
},[
t
.
_v
(
"周一"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"week-head day w-p-14"
},[
t
.
_v
(
"周二"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"week-head day w-p-14"
},[
t
.
_v
(
"周三"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"week-head day w-p-14"
},[
t
.
_v
(
"周四"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"week-head day w-p-14"
},[
t
.
_v
(
"周五"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"week-head day w-p-14"
},[
t
.
_v
(
"周六"
)])])}]};
var
b
=
a
(
"VU/8"
)(
v
,
g
,
!
1
,
function
(
t
){
a
(
"cDku"
)},
"data-v-1e510fb2"
,
null
);
e
.
default
=
b
.
exports
}});
\ No newline at end of file
webpackJsonp
([
71
],{
cDku
:
function
(
t
,
e
){},
xk7v
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"mvHQ"
),
r
=
a
.
n
(
n
),
s
=
a
(
"Gu7T"
),
i
=
a
.
n
(
s
),
c
=
a
(
"Xxa5"
),
o
=
a
.
n
(
c
),
u
=
a
(
"exGp"
),
d
=
a
.
n
(
u
),
p
=
a
(
"2eFk"
),
h
=
a
(
"Ke24"
),
l
=
a
(
"PI0u"
),
f
=
a
(
"Ch4/"
),
m
=
a
(
"3E4D"
),
y
=
a
(
"P9l9"
),
v
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
activeTab
:
"1"
,
brandName
:
""
,
activeBrand
:
this
.
brandId
,
yearMonth
:
""
,
topMenuData
:[{
id
:
"1"
,
name
:
"指标管理"
,
path
:
"/monthList?appIcon="
+
this
.
$route
.
query
.
appIcon
},{
id
:
"2"
,
name
:
"月指标"
,
path
:
"/monthList?appIcon="
+
this
.
$route
.
query
.
appIcon
},{
id
:
"3"
,
name
:
"商户统一日权重"
,
path
:
""
}],
activeId
:
"3"
,
myObject
:{
hasEmptyGrid
:
!
1
,
empytGrids
:[],
days
:[],
hasLastEmptyGrid
:
!
1
,
lastEmpytGrids
:[],
beginDate
:
""
,
endDate
:
""
},
performanceWeightSettingList
:[],
settingStatus
:
1
,
settingAble
:
1
}},
computed
:{},
methods
:{
is_leap
:
function
(
t
){
return
t
%
400
==
0
||
t
%
4
==
0
&&
t
%
100
!=
0
},
m_days
:
function
(
t
){
return
[
31
,
28
+
this
.
is_leap
(
t
),
31
,
30
,
31
,
30
,
31
,
31
,
30
,
31
,
30
,
31
]},
addZero
:
function
(
t
){
return
t
<
10
?
"0"
+
parseInt
(
t
):
t
},
getThisMonthDays
:
function
(
t
,
e
){
return
new
Date
(
t
,
e
,
0
).
getDate
()},
getFirstDayOfWeek
:
function
(
t
,
e
){
return
new
Date
(
Date
.
UTC
(
t
,
e
-
1
,
1
)).
getDay
()},
getLastDayOfWeek
:
function
(
t
,
e
){
return
new
Date
(
Date
.
UTC
(
t
,
e
-
1
,
this
.
getThisMonthDays
(
t
,
e
))).
getDay
()},
getYearMonthDayWeek
:
function
(
t
,
e
,
a
){
return
new
Date
(
t
,
e
-
1
,
a
).
getDay
()},
isOverMonth
:
function
(
t
,
e
){
return
t
.
split
(
"-"
)[
1
]
==
e
.
split
(
"-"
)[
1
]},
calculateEmptyGrids
:
function
(
t
,
e
){
var
a
=
this
;
return
d
()(
o
.
a
.
mark
(
function
n
(){
var
r
,
s
,
i
;
return
o
.
a
.
wrap
(
function
(
n
){
for
(;;)
switch
(
n
.
prev
=
n
.
next
){
case
0
:
return
n
.
next
=
2
,
a
.
getFirstDayOfWeek
(
t
,
e
);
case
2
:
if
(
r
=
n
.
sent
,
s
=
[],
r
>
0
)
for
(
i
=
0
;
i
<
r
;
i
++
)
s
.
push
(
i
);
return
n
.
abrupt
(
"return"
,
s
);
case
6
:
case
"end"
:
return
n
.
stop
()}},
n
,
a
)}))()},
calDayEmptyGrids
:
function
(
t
,
e
,
a
){
var
n
=
this
;
return
d
()(
o
.
a
.
mark
(
function
r
(){
var
s
,
i
,
c
;
return
o
.
a
.
wrap
(
function
(
r
){
for
(;;)
switch
(
r
.
prev
=
r
.
next
){
case
0
:
return
r
.
next
=
2
,
n
.
getYearMonthDayWeek
(
t
,
e
,
a
);
case
2
:
if
(
s
=
r
.
sent
,
i
=
[],
s
>
0
)
for
(
c
=
0
;
c
<
s
;
c
++
)
i
.
push
(
c
);
return
r
.
abrupt
(
"return"
,
i
);
case
6
:
case
"end"
:
return
r
.
stop
()}},
r
,
n
)}))()},
calculateLastEmptyGrids
:
function
(
t
,
e
){
var
a
=
this
;
return
d
()(
o
.
a
.
mark
(
function
n
(){
var
r
,
s
,
i
;
return
o
.
a
.
wrap
(
function
(
n
){
for
(;;)
switch
(
n
.
prev
=
n
.
next
){
case
0
:
return
n
.
next
=
2
,
a
.
getLastDayOfWeek
(
t
,
e
);
case
2
:
if
(
r
=
n
.
sent
,
s
=
[],
r
>=
0
)
for
(
i
=
0
;
i
<
6
-
r
;
i
++
)
s
.
push
(
i
);
return
n
.
abrupt
(
"return"
,
s
);
case
6
:
case
"end"
:
return
n
.
stop
()}},
n
,
a
)}))()},
calLastEmptyGrids
:
function
(
t
,
e
,
a
){
var
n
=
this
;
return
d
()(
o
.
a
.
mark
(
function
r
(){
var
s
,
i
,
c
;
return
o
.
a
.
wrap
(
function
(
r
){
for
(;;)
switch
(
r
.
prev
=
r
.
next
){
case
0
:
return
r
.
next
=
2
,
n
.
getYearMonthDayWeek
(
t
,
e
,
a
);
case
2
:
if
(
s
=
r
.
sent
,
i
=
[],
s
>=
0
)
for
(
c
=
0
;
c
<
6
-
s
;
c
++
)
i
.
push
(
c
);
return
r
.
abrupt
(
"return"
,
i
);
case
6
:
case
"end"
:
return
r
.
stop
()}},
r
,
n
)}))()},
calculateDays
:
function
(
t
,
e
,
a
,
n
){
var
r
=
this
;
return
d
()(
o
.
a
.
mark
(
function
s
(){
var
c
,
u
,
d
,
p
,
h
,
l
,
f
,
m
,
y
,
v
;
return
o
.
a
.
wrap
(
function
(
s
){
for
(;;)
switch
(
s
.
prev
=
s
.
next
){
case
0
:
return
c
=
r
,(
u
=
{}).
beginDate
=
a
,
u
.
endDate
=
n
,
u
.
year
=
t
,
s
.
next
=
7
,
c
.
addZero
(
e
);
case
7
:
return
u
.
month
=
s
.
sent
,
d
=
a
.
split
(
"-"
),
p
=
n
.
split
(
"-"
),
s
.
next
=
12
,
c
.
isOverMonth
(
a
,
n
);
case
12
:
return
h
=
s
.
sent
,
s
.
next
=
15
,
c
.
calDayEmptyGrids
(
d
[
0
],
d
[
1
],
d
[
2
]);
case
15
:
return
(
l
=
s
.
sent
).
length
>
0
?(
u
.
hasEmptyGrid
=!
0
,
u
.
empytGrids
=
l
):(
u
.
hasEmptyGrid
=!
1
,
u
.
empytGrids
=
[]),
s
.
next
=
19
,
c
.
calLastEmptyGrids
(
p
[
0
],
p
[
1
],
p
[
2
]);
case
19
:
if
((
f
=
s
.
sent
).
length
>
0
?(
u
.
hasLastEmptyGrid
=!
0
,
u
.
lastEmpytGrids
=
f
):(
u
.
hasLastEmptyGrid
=!
1
,
u
.
lastEmpytGrids
=
[]),
!
h
){
s
.
next
=
27
;
break
}
return
s
.
next
=
24
,
c
.
setCurrentMonth
(
d
[
0
],
d
[
1
],
d
[
2
],
p
[
2
]);
case
24
:
u
.
days
=
s
.
sent
,
s
.
next
=
37
;
break
;
case
27
:
return
s
.
next
=
29
,
c
.
getThisMonthDays
(
d
[
0
],
d
[
1
]);
case
29
:
return
m
=
s
.
sent
,
s
.
next
=
32
,
c
.
setCurrentMonth
(
d
[
0
],
d
[
1
],
d
[
2
],
m
);
case
32
:
return
y
=
s
.
sent
,
s
.
next
=
35
,
c
.
setCurrentMonth
(
p
[
0
],
p
[
1
],
1
,
p
[
2
]);
case
35
:
v
=
s
.
sent
,
u
.
days
=
[].
concat
(
i
()(
y
),
i
()(
v
));
case
37
:
return
c
.
myObject
=
u
,
s
.
abrupt
(
"return"
,
u
);
case
39
:
case
"end"
:
return
s
.
stop
()}},
s
,
r
)}))()},
setCurrentMonth
:
function
(
t
,
e
,
a
,
n
){
for
(
var
r
=
this
,
s
=
[],
i
=
function
(
a
){
var
n
=
{};
if
(
r
.
performanceWeightSettingList
.
length
)
r
.
performanceWeightSettingList
.
forEach
(
function
(
t
,
e
){
parseInt
(
t
.
date
.
split
(
"-"
)[
2
])
==
a
&&
(
n
.
weightValue
=
Number
(
t
.
weightValue
).
toFixed
(
2
))});
else
{
var
i
=
r
.
getYearMonthDayWeek
(
t
,
e
,
a
);
n
.
weightValue
=
5
==
i
?
Number
(
1.8
).
toFixed
(
2
):
6
==
i
||
0
==
i
?
Number
(
2
).
toFixed
(
2
):
Number
(
1
).
toFixed
(
2
)}
n
.
performanceDay
=
r
.
addZero
(
a
),
n
.
date
=
t
+
"-"
+
r
.
addZero
(
e
)
+
"-"
+
r
.
addZero
(
a
),
n
.
month
=
r
.
addZero
(
e
),
s
.
push
(
n
)},
c
=
a
;
c
<=
n
;
c
++
)
i
(
c
);
return
s
},
resetData
:
function
(){
this
.
performanceWeightSettingList
=
[];
var
t
=
this
.
yearMonth
.
split
(
"-"
);
this
.
calculateDays
(
t
[
0
],
t
[
1
],
this
.
myObject
.
beginDate
,
this
.
myObject
.
endDate
)},
saveSet
:
Object
(
l
.
a
)(
function
(){
var
t
=
this
,
e
=!
0
;
if
(
t
.
myObject
.
days
.
forEach
(
function
(
t
){(
!
t
.
weightValue
||
t
.
weightValue
<=
0
||!
Number
(
t
.
weightValue
))
&&
(
e
=!
1
)}),
!
e
)
return
this
.
$confirm
(
"每日的权重不能为空,必须为数字,且不小于 0 ?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
showCancelButton
:
!
1
,
type
:
"warning"
}).
then
(
function
(){}),
!
1
;
t
.
$confirm
(
0
==
t
.
settingStatus
?
"点击即下发门店月指标任务,请确认是否提交?"
:
"此次提交只影响日指标值,不会触发月指标任务,请确认是否提交?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
t
.
postSave
(
t
.
myObject
.
days
)}).
catch
(
function
(){})},
500
),
postSave
:
function
(
t
){
var
e
=
this
,
a
=
{
brandId
:
e
.
activeBrand
,
yearMonth
:
e
.
yearMonth
,
performanceWeightSettingList
:
r
()(
t
)};
Object
(
y
.
e
)(
"/haoban-app-performance-web/performance/save-performance-weight-setting"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
m
.
a
.
showmsg
(
"保存成功"
,
"success"
),
void
e
.
getData
();
f
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getData
:
function
(){
var
t
=
this
,
e
=
{
brandId
:
t
.
activeBrand
,
yearMonth
:
t
.
yearMonth
};
Object
(
y
.
e
)(
"/haoban-app-performance-web/performance/query-performance-weight-setting"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
,
n
=
t
.
yearMonth
.
split
(
"-"
);
if
(
1
==
a
.
errorCode
)
return
t
.
performanceWeightSettingList
=
a
.
result
.
performanceWeightSettingList
||
[],
t
.
settingStatus
=
a
.
result
.
settingStatus
,
t
.
settingAble
=
a
.
result
.
settingAble
,
t
.
brandName
=
a
.
result
.
brandName
,
t
.
myObject
.
beginDate
=
a
.
result
.
beginDate
,
t
.
myObject
.
endDate
=
a
.
result
.
endDate
,
void
t
.
calculateDays
(
n
[
0
],
n
[
1
],
a
.
result
.
beginDate
,
a
.
result
.
endDate
);
f
.
a
.
errorMsg
(
a
),
t
.
settingAble
=
0
}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
brandId
:
function
(
t
,
e
){
t
&&
(
this
.
activeBrand
=
t
,
this
.
yearMonth
=
this
.
$route
.
query
.
yearMonth
,
this
.
getData
())}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
$emit
(
"showTab"
,
"11"
),
this
.
brandId
&&
(
this
.
yearMonth
=
this
.
$route
.
query
.
yearMonth
,
this
.
getData
())},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
p
.
a
,
commonDetailTop
:
h
.
a
}},
g
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"app-detail-wrap common-right-wrap"
},[
a
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
t
.
topMenuData
,
activeId
:
t
.
activeId
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"day-set-content boder-box"
},[
a
(
"div"
,{
staticClass
:
"day-set-title m-b-20"
},[
a
(
"span"
,{
staticClass
:
"font-18 color-303133"
},[
t
.
_v
(
t
.
_s
(
t
.
yearMonth
))]),
a
(
"span"
,{
staticClass
:
"font-14 color-606266 p-l-18"
},[
t
.
_v
(
t
.
_s
(
t
.
brandName
)
+
"商户统一日权重"
)]),
t
.
_v
(
" "
),
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
placement
:
"right"
}},[
a
(
"div"
,{
attrs
:{
slot
:
"content"
},
slot
:
"content"
},[
t
.
_v
(
"首次设置提交即下发门店月指标任务;"
),
a
(
"br"
),
t
.
_v
(
"门店月指标将依照日权重自动分配,日指标=当月月指标*(日权重/∑当月日权重);"
)]),
t
.
_v
(
" "
),
a
(
"i"
,{
staticClass
:
"el-icon-info font-8 color-c0c4cc p-l-8"
})])],
1
),
t
.
_v
(
" "
),
a
(
"section"
,[
t
.
_m
(
0
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"week week-body"
},[
t
.
myObject
.
hasEmptyGrid
?
t
.
_l
(
t
.
myObject
.
empytGrids
,
function
(
t
,
e
){
return
a
(
"div"
,{
key
:
e
+
"empytGrids"
,
staticClass
:
"day grid white-color"
})}):
t
.
_e
(),
t
.
_v
(
" "
),
t
.
_l
(
t
.
myObject
.
days
,
function
(
e
,
n
){
return
a
(
"div"
,{
key
:
n
,
staticClass
:
"day w-p-14 selectable"
,
class
:
0
==
e
?
"hide"
:
""
},[
a
(
"div"
,{
staticClass
:
"w-120 font-14 color-909399 day-performance"
},[
t
.
_v
(
t
.
_s
(
e
.
month
+
"-"
+
e
.
performanceDay
))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"target-value "
},[
a
(
"el-input"
,{
staticClass
:
"w-120"
,
attrs
:{
placeholder
:
"请输入权重值"
,
disabled
:
0
==
t
.
settingAble
},
model
:{
value
:
e
.
weightValue
,
callback
:
function
(
a
){
t
.
$set
(
e
,
"weightValue"
,
a
)},
expression
:
"day.weightValue"
}})],
1
)])}),
t
.
_v
(
" "
),
t
.
myObject
.
hasLastEmptyGrid
?
t
.
_l
(
t
.
myObject
.
lastEmpytGrids
,
function
(
t
,
e
){
return
a
(
"div"
,{
key
:
e
+
"lastEmpytGrids"
,
staticClass
:
"day grid white-color"
})}):
t
.
_e
()],
2
)]),
t
.
_v
(
" "
),
1
==
t
.
settingAble
?
a
(
"div"
,{
staticClass
:
"day-set-btn m-t-24 text-center"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
t
.
resetData
}},[
t
.
_v
(
"重置"
)]),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
saveSet
}},[
t
.
_v
(
"提交"
)])],
1
):
t
.
_e
()])],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"week"
},[
a
(
"div"
,{
staticClass
:
"week-head day w-p-14"
},[
t
.
_v
(
"周日"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"week-head day w-p-14"
},[
t
.
_v
(
"周一"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"week-head day w-p-14"
},[
t
.
_v
(
"周二"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"week-head day w-p-14"
},[
t
.
_v
(
"周三"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"week-head day w-p-14"
},[
t
.
_v
(
"周四"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"week-head day w-p-14"
},[
t
.
_v
(
"周五"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"week-head day w-p-14"
},[
t
.
_v
(
"周六"
)])])}]};
var
b
=
a
(
"VU/8"
)(
v
,
g
,
!
1
,
function
(
t
){
a
(
"cDku"
)},
"data-v-1e510fb2"
,
null
);
e
.
default
=
b
.
exports
}});
\ No newline at end of file
dist/static/js/7
3.7751e4d66fee99c15a39
.js
→
dist/static/js/7
2.b9aea07ebd1f712eee71
.js
View file @
35fc15c1
webpackJsonp
([
73
],{
PAYw
:
function
(
t
,
e
,
i
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
l
=
{
name
:
"block-com"
,
props
:{
childItem
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}}},
s
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"div"
,{
staticClass
:
"block block-field"
},[
i
(
"div"
,{
staticClass
:
"block-head"
},[
i
(
"div"
,{
class
:[
"opencard-item-title"
,
t
.
childItem
.
title
.
length
>=
6
?
"title-pre-wrap"
:
""
]},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
title
))])]),
t
.
_v
(
" "
),
i
(
"ul"
,{
staticClass
:
"view-content"
},
t
.
_l
(
t
.
childItem
.
list
,
function
(
e
,
l
){
return
i
(
"li"
,{
key
:
"performance"
+
l
,
staticClass
:
"block-filed-item border-bottom-1"
},[
i
(
"div"
,{
class
:[
"opencard-item-title"
,
e
.
title
.
length
>=
6
?
"title-pre-wrap"
:
""
]},[
t
.
_v
(
t
.
_s
(
e
.
title
))]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"draged-item-show"
},[
i
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag "
},[
t
.
_v
(
t
.
_s
(
e
.
placeholder
)
+
" "
+
t
.
_s
(
e
.
isMust
?
"(必填)"
:
""
))])])])})),
t
.
_v
(
" "
),
"competitorInfo"
==
t
.
childItem
.
name
?
i
(
"div"
,{
staticClass
:
"compete-add"
},[
t
.
_v
(
"
\
n +竞品信息
\
n "
)]):
t
.
_e
()])},
staticRenderFns
:[]};
var
a
=
i
(
"VU/8"
)(
l
,
s
,
!
1
,
function
(
t
){
i
(
"hh6r"
)},
"data-v-1dcd7b4c"
,
null
);
e
.
default
=
a
.
exports
},
hh6r
:
function
(
t
,
e
){}});
\ No newline at end of file
webpackJsonp
([
72
],{
PAYw
:
function
(
t
,
e
,
i
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
l
=
{
name
:
"block-com"
,
props
:{
childItem
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}}},
s
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"div"
,{
staticClass
:
"block block-field"
},[
i
(
"div"
,{
staticClass
:
"block-head"
},[
i
(
"div"
,{
class
:[
"opencard-item-title"
,
t
.
childItem
.
title
.
length
>=
6
?
"title-pre-wrap"
:
""
]},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
title
))])]),
t
.
_v
(
" "
),
i
(
"ul"
,{
staticClass
:
"view-content"
},
t
.
_l
(
t
.
childItem
.
list
,
function
(
e
,
l
){
return
i
(
"li"
,{
key
:
"performance"
+
l
,
staticClass
:
"block-filed-item border-bottom-1"
},[
i
(
"div"
,{
class
:[
"opencard-item-title"
,
e
.
title
.
length
>=
6
?
"title-pre-wrap"
:
""
]},[
t
.
_v
(
t
.
_s
(
e
.
title
))]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"draged-item-show"
},[
i
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag "
},[
t
.
_v
(
t
.
_s
(
e
.
placeholder
)
+
" "
+
t
.
_s
(
e
.
isMust
?
"(必填)"
:
""
))])])])})),
t
.
_v
(
" "
),
"competitorInfo"
==
t
.
childItem
.
name
?
i
(
"div"
,{
staticClass
:
"compete-add"
},[
t
.
_v
(
"
\
n +竞品信息
\
n "
)]):
t
.
_e
()])},
staticRenderFns
:[]};
var
a
=
i
(
"VU/8"
)(
l
,
s
,
!
1
,
function
(
t
){
i
(
"hh6r"
)},
"data-v-1dcd7b4c"
,
null
);
e
.
default
=
a
.
exports
},
hh6r
:
function
(
t
,
e
){}});
\ No newline at end of file
dist/static/js/
51.f865374d6b54d73ff99
7.js
→
dist/static/js/
73.820fe71d89d973ff8cf
7.js
View file @
35fc15c1
webpackJsonp
([
51
],{
A45Z
:
function
(
t
,
e
){},
Rwbg
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"3Xzz"
),
i
=
a
(
"elmV"
),
o
=
a
(
"P9l9"
),
r
=
{
name
:
"employee-io"
,
components
:{
navCrumb
:
s
.
a
,
uploadExcelComponent
:
i
.
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
:
"administrativeFrame"
},{
name
:
"批量导入导出"
,
path
:
""
}],
host
:
window
.
location
.
origin
,
windowH
:
window
.
screen
.
availHeight
-
180
+
"px"
,
type
:
"import"
,
fileList
:[],
url
:
t
+
"/haoban-manage-web/emp/upload"
,
uploadSuccessMsg
:
""
,
logList
:[],
loading
:
!
0
,
pageSize
:
20
,
currentPage
:
1
,
total
:
0
}},
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
};
Object
(
o
.
a
)(
"/haoban-manage-web/error-log-page"
,
e
).
then
(
function
(
e
){
1
==
e
.
data
.
errorCode
?(
t
.
total
=
e
.
data
.
result
.
totalCount
,
t
.
logList
=
e
.
data
.
result
.
result
,
t
.
loading
=!
1
):
t
.
$message
.
error
({
message
:
e
.
data
.
message
})}).
catch
(
function
(
e
){
t
.
$message
.
error
({
message
:
e
.
message
})})},
uploadSuccess
:
function
(
t
){
1
==
t
.
errorCode
?(
this
.
fileList
=
[],
this
.
$forceUpdate
(),
this
.
uploadSuccessMsg
=
t
.
message
.
split
(
","
),
this
.
$message
({
message
:
t
.
message
,
type
:
"success"
})):
this
.
$message
.
error
(
t
.
message
)},
submitUpload
:
function
(
t
){
this
.
$refs
[
t
].
submit
()},
handleRemove
:
function
(
t
,
e
){
this
.
fileList
=
[]},
getChange
:
function
(
t
,
e
){
var
a
=
e
.
length
-
1
<
0
?
0
:
e
.
length
-
1
,
s
=
t
.
name
.
lastIndexOf
(
"."
),
i
=
t
.
name
.
substring
(
s
+
1
,
t
.
name
.
length
);
if
(
!
(
i
.
includes
(
"xls"
)
||
i
.
includes
(
"xlsx"
)))
return
this
.
$message
.
error
(
"文件格式必须为 xls 或 xlsx 格式!"
),
this
.
fileList
.
splice
(
a
,
1
),
!
1
;
this
.
fileList
=
[
e
[
a
]]}},
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"
}},
l
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"common-set-wrap"
,
style
:{
height
:
t
.
windowH
}},[
a
(
"nav-crumb"
,{
attrs
:{
navpath
:
t
.
navpath
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"div"
,{
staticClass
:
"right-box"
},[
a
(
"div"
,{
staticClass
:
"io-container border-box "
},[
t
.
_m
(
0
),
t
.
_v
(
" "
),
a
(
"el-radio-group"
,{
staticClass
:
"m-t-20"
,
on
:{
change
:
t
.
resetList
},
model
:{
value
:
t
.
type
,
callback
:
function
(
e
){
t
.
type
=
e
},
expression
:
"type"
}},[
a
(
"el-radio-button"
,{
attrs
:{
label
:
"import"
}},[
t
.
_v
(
"导入通讯录"
)]),
t
.
_v
(
" "
),
a
(
"el-radio-button"
,{
attrs
:{
label
:
"export"
}},[
t
.
_v
(
"导出"
)]),
t
.
_v
(
" "
),
a
(
"el-radio-button"
,{
attrs
:{
label
:
"note"
}},[
t
.
_v
(
"错误记录"
)])],
1
),
t
.
_v
(
" "
),
"import"
==
t
.
type
?
a
(
"div"
,{
staticClass
:
"handle-area import"
},[
a
(
"div"
,{
staticClass
:
"step-div"
,
staticStyle
:{
"margin-bottom"
:
"90px"
,
"line-height"
:
"32px"
}},[
a
(
"span"
,{
staticClass
:
"ft-large"
},[
t
.
_v
(
"①"
)]),
t
.
_v
(
"下载员工通讯录模板,统一收集员工信息
\
n "
),
a
(
"a"
,{
staticClass
:
"d-u-btn"
,
attrs
:{
href
:
t
.
host
+
"/haoban-manage-web/excel/通讯录-行政架构导入模板.xlsx"
}},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
}},[
t
.
_v
(
"下载"
),
a
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai m-l-5"
})])],
1
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"step-div"
},[
a
(
"span"
,{
staticClass
:
"ft-large"
},[
t
.
_v
(
"②"
)]),
t
.
_v
(
"上传收集完毕的员工信息表
\
n "
),
a
(
"div"
,{
staticClass
:
"d-u-btn"
},[
a
(
"el-upload"
,{
ref
:
"upload"
,
staticClass
:
"upload-demo"
,
attrs
:{
action
:
t
.
url
,
"on-success"
:
t
.
uploadSuccess
,
"on-change"
:
t
.
getChange
,
multiple
:
!
1
,
"file-list"
:
t
.
fileList
,
"auto-upload"
:
!
1
,
"on-remove"
:
t
.
handleRemove
}},[
a
(
"el-button"
,{
attrs
:{
slot
:
"trigger"
,
size
:
"small"
,
type
:
"primary"
},
slot
:
"trigger"
},[
t
.
_v
(
"选取文件"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-upload__tip"
,
attrs
:{
slot
:
"tip"
},
slot
:
"tip"
},[
t
.
_v
(
"文件格式必须为xls或xlsx格式"
)])],
1
)],
1
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"up-btn-div"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
disabled
:
0
==
t
.
fileList
.
length
},
on
:{
click
:
function
(
e
){
t
.
submitUpload
(
"upload"
)}}},[
t
.
_v
(
"上传"
)])],
1
)]):
"export"
==
t
.
type
?
a
(
"div"
,{
staticClass
:
"handle-area import"
},[
a
(
"div"
,{
staticClass
:
"step-div"
,
staticStyle
:{
"margin-bottom"
:
"90px"
,
"line-height"
:
"32px"
}},[
a
(
"span"
,{
staticClass
:
"ft-large"
},[
t
.
_v
(
"①"
)]),
t
.
_v
(
"导出所有员工信息
\
n "
),
a
(
"a"
,{
staticClass
:
"d-u-btn"
,
attrs
:{
href
:
t
.
host
+
"/haoban-manage-web/emp/export?departmentId="
+
t
.
$route
.
query
.
departmentId
+
"&showChild="
+
t
.
$route
.
query
.
showChildMember
}},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
}},[
t
.
_v
(
" 下载"
),
a
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai m-l-5"
})])],
1
),
t
.
_v
(
"
\
n 批量修改员工信息
\
n "
)])]):
a
(
"div"
,{
staticClass
:
"error-log import"
},[
a
(
"div"
,{
staticClass
:
"title-area"
},[
a
(
"div"
,{
staticClass
:
"tip"
},[
t
.
_v
(
t
.
_s
(
t
.
uploadSuccessMsg
))]),
t
.
_v
(
" "
),
a
(
"a"
,{
attrs
:{
href
:
t
.
host
+
"/haoban-manage-web/error-improt-log-export?importCode="
+
t
.
$route
.
query
.
importCode
+
"&departmentId="
+
t
.
$route
.
query
.
departmentId
}},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
}},[
t
.
_v
(
"导出错误记录"
)])],
1
)]),
t
.
_v
(
" "
),
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
t
.
loading
,
expression
:
"loading"
}],
staticClass
:
"m-t-20"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
logList
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"index"
,
width
:
"50"
,
label
:
"序号"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"错误提示"
,
prop
:
"failReason"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"姓名"
,
prop
:
"name"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"手机号"
,
prop
:
"phoneNumber"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"部门ID"
,
prop
:
"departmentId"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"职位"
,
prop
:
"positionName"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"是否此部门负责人(是/否)"
,
prop
:
"isManager"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
1
==
e
.
row
.
isManager
?
"是"
:
"否"
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"入职时间"
,
prop
:
"hireDate"
}})],
1
),
t
.
_v
(
" "
),
t
.
logList
.
length
?
a
(
"div"
,{
staticClass
:
"pagination"
},[
a
(
"el-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
}})],
1
):
t
.
_e
()],
1
)],
1
)])]),
t
.
_v
(
" "
),
a
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"ul"
,{
staticClass
:
"tip-area border-box "
},[
a
(
"li"
,{
staticClass
:
"tip"
},[
t
.
_v
(
"由于你的企业未进行企业认证,通讯录最多只能导入200人以内的员工,如有超出可先进行"
),
a
(
"a"
,{
staticClass
:
"a-href"
,
attrs
:{
href
:
"#/companyCertify"
}},[
t
.
_v
(
"企业认证"
)])]),
t
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"tip"
},[
t
.
_v
(
"不能在本excel表中对员工信息类别进行增加、删除、修改"
)]),
t
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"tip"
},[
t
.
_v
(
"标*字段为必填字段,未标*字段为选填字段"
)]),
t
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"tip"
},[
t
.
_v
(
"
\
n 员工所在部门:请先到后台创建部门,将部门id填入导入表格中,导入中,若找不到对应部门,将直接将员工挂在根目录下面
\
n "
)]),
t
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"tip"
},[
t
.
_v
(
"未认证企业通讯录最多只能导入200人,超出后无法导入,请先进行企业认证"
)])])}]};
var
n
=
a
(
"VU/8"
)(
r
,
l
,
!
1
,
function
(
t
){
a
(
"A45Z"
)},
null
,
null
);
e
.
default
=
n
.
exports
}});
\ No newline at end of file
webpackJsonp
([
73
],{
Rwbg
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"3Xzz"
),
i
=
a
(
"elmV"
),
o
=
a
(
"P9l9"
),
n
=
{
name
:
"employee-io"
,
components
:{
navCrumb
:
s
.
a
,
uploadExcelComponent
:
i
.
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
:
"administrativeFrame"
},{
name
:
"批量导入导出"
,
path
:
""
}],
host
:
window
.
location
.
origin
,
windowH
:
window
.
screen
.
availHeight
-
180
+
"px"
,
type
:
"import"
,
fileList
:[],
url
:
t
+
"/haoban-manage-web/emp/upload"
,
uploadSuccessMsg
:
""
,
logList
:[],
loading
:
!
0
,
pageSize
:
20
,
currentPage
:
1
,
total
:
0
}},
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
};
Object
(
o
.
a
)(
"/haoban-manage-web/error-log-page"
,
e
).
then
(
function
(
e
){
1
==
e
.
data
.
errorCode
?(
t
.
total
=
e
.
data
.
result
.
totalCount
,
t
.
logList
=
e
.
data
.
result
.
result
,
t
.
loading
=!
1
):
t
.
$message
.
error
({
message
:
e
.
data
.
message
})}).
catch
(
function
(
e
){
t
.
$message
.
error
({
message
:
e
.
message
})})},
uploadSuccess
:
function
(
t
){
var
e
=
this
;
1
==
t
.
errorCode
?(
e
.
$forceUpdate
(),
e
.
uploadSuccessMsg
=
t
.
message
.
split
(
","
),
e
.
$message
({
message
:
t
.
message
,
type
:
"success"
}),
e
.
$nextTick
(
function
(){
e
.
fileList
=
[]})):
e
.
$message
.
error
(
t
.
message
)},
submitUpload
:
function
(
t
){
this
.
$refs
[
t
].
submit
()},
handleRemove
:
function
(
t
,
e
){
this
.
fileList
=
[]},
getChange
:
function
(
t
,
e
){
var
a
=
e
.
length
-
1
<
0
?
0
:
e
.
length
-
1
,
s
=
t
.
name
.
lastIndexOf
(
"."
),
i
=
t
.
name
.
substring
(
s
+
1
,
t
.
name
.
length
);
if
(
!
(
i
.
includes
(
"xls"
)
||
i
.
includes
(
"xlsx"
)))
return
this
.
$message
.
error
(
"文件格式必须为 xls 或 xlsx 格式!"
),
this
.
fileList
.
splice
(
a
,
1
),
!
1
;
this
.
fileList
=
[
e
[
a
]]}},
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
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"common-set-wrap"
,
style
:{
height
:
t
.
windowH
}},[
a
(
"nav-crumb"
,{
attrs
:{
navpath
:
t
.
navpath
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"div"
,{
staticClass
:
"right-box"
},[
a
(
"div"
,{
staticClass
:
"io-container border-box "
},[
t
.
_m
(
0
),
t
.
_v
(
" "
),
a
(
"el-radio-group"
,{
staticClass
:
"m-t-20"
,
on
:{
change
:
t
.
resetList
},
model
:{
value
:
t
.
type
,
callback
:
function
(
e
){
t
.
type
=
e
},
expression
:
"type"
}},[
a
(
"el-radio-button"
,{
attrs
:{
label
:
"import"
}},[
t
.
_v
(
"导入通讯录"
)]),
t
.
_v
(
" "
),
a
(
"el-radio-button"
,{
attrs
:{
label
:
"export"
}},[
t
.
_v
(
"导出"
)]),
t
.
_v
(
" "
),
a
(
"el-radio-button"
,{
attrs
:{
label
:
"note"
}},[
t
.
_v
(
"错误记录"
)])],
1
),
t
.
_v
(
" "
),
"import"
==
t
.
type
?
a
(
"div"
,{
staticClass
:
"handle-area import"
},[
a
(
"div"
,{
staticClass
:
"step-div"
,
staticStyle
:{
"margin-bottom"
:
"90px"
,
"line-height"
:
"32px"
}},[
a
(
"span"
,{
staticClass
:
"ft-large"
},[
t
.
_v
(
"①"
)]),
t
.
_v
(
"下载员工通讯录模板,统一收集员工信息
\
n "
),
a
(
"a"
,{
staticClass
:
"d-u-btn"
,
attrs
:{
href
:
t
.
host
+
"/haoban-manage-web/excel/通讯录-行政架构导入模板.xlsx"
}},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
}},[
t
.
_v
(
"下载"
),
a
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai m-l-5"
})])],
1
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"step-div"
},[
a
(
"span"
,{
staticClass
:
"ft-large"
},[
t
.
_v
(
"②"
)]),
t
.
_v
(
"上传收集完毕的员工信息表
\
n "
),
a
(
"div"
,{
staticClass
:
"d-u-btn"
},[
a
(
"el-upload"
,{
ref
:
"upload"
,
staticClass
:
"upload-demo"
,
attrs
:{
action
:
t
.
url
,
"on-success"
:
t
.
uploadSuccess
,
"on-change"
:
t
.
getChange
,
multiple
:
!
1
,
"file-list"
:
t
.
fileList
,
"auto-upload"
:
!
1
,
"on-remove"
:
t
.
handleRemove
}},[
a
(
"el-button"
,{
attrs
:{
slot
:
"trigger"
,
size
:
"small"
,
type
:
"primary"
},
slot
:
"trigger"
},[
t
.
_v
(
"选取文件"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-upload__tip"
,
attrs
:{
slot
:
"tip"
},
slot
:
"tip"
},[
t
.
_v
(
"文件格式必须为xls或xlsx格式"
)])],
1
)],
1
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"up-btn-div"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
disabled
:
0
==
t
.
fileList
.
length
},
on
:{
click
:
function
(
e
){
t
.
submitUpload
(
"upload"
)}}},[
t
.
_v
(
"上传"
)])],
1
)]):
"export"
==
t
.
type
?
a
(
"div"
,{
staticClass
:
"handle-area import"
},[
a
(
"div"
,{
staticClass
:
"step-div"
,
staticStyle
:{
"margin-bottom"
:
"90px"
,
"line-height"
:
"32px"
}},[
a
(
"span"
,{
staticClass
:
"ft-large"
},[
t
.
_v
(
"①"
)]),
t
.
_v
(
"导出所有员工信息
\
n "
),
a
(
"a"
,{
staticClass
:
"d-u-btn"
,
attrs
:{
href
:
t
.
host
+
"/haoban-manage-web/emp/export?departmentId="
+
t
.
$route
.
query
.
departmentId
+
"&showChild="
+
t
.
$route
.
query
.
showChildMember
}},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
}},[
t
.
_v
(
" 下载"
),
a
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai m-l-5"
})])],
1
),
t
.
_v
(
"
\
n 批量修改员工信息
\
n "
)])]):
a
(
"div"
,{
staticClass
:
"error-log import"
},[
a
(
"div"
,{
staticClass
:
"title-area"
},[
a
(
"div"
,{
staticClass
:
"tip"
},[
t
.
_v
(
t
.
_s
(
t
.
uploadSuccessMsg
))]),
t
.
_v
(
" "
),
a
(
"a"
,{
attrs
:{
href
:
t
.
host
+
"/haoban-manage-web/error-improt-log-export?importCode="
+
t
.
$route
.
query
.
importCode
+
"&departmentId="
+
t
.
$route
.
query
.
departmentId
}},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
}},[
t
.
_v
(
"导出错误记录"
)])],
1
)]),
t
.
_v
(
" "
),
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
t
.
loading
,
expression
:
"loading"
}],
staticClass
:
"m-t-20"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
logList
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"index"
,
width
:
"50"
,
label
:
"序号"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"错误提示"
,
prop
:
"failReason"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"姓名"
,
prop
:
"name"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"手机号"
,
prop
:
"phoneNumber"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"部门ID"
,
prop
:
"departmentId"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"职位"
,
prop
:
"positionName"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"是否此部门负责人(是/否)"
,
prop
:
"isManager"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
1
==
e
.
row
.
isManager
?
"是"
:
"否"
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"入职时间"
,
prop
:
"hireDate"
}})],
1
),
t
.
_v
(
" "
),
t
.
logList
.
length
?
a
(
"div"
,{
staticClass
:
"pagination"
},[
a
(
"el-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
}})],
1
):
t
.
_e
()],
1
)],
1
)])]),
t
.
_v
(
" "
),
a
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"ul"
,{
staticClass
:
"tip-area border-box "
},[
a
(
"li"
,{
staticClass
:
"tip"
},[
t
.
_v
(
"由于你的企业未进行企业认证,通讯录最多只能导入200人以内的员工,如有超出可先进行"
),
a
(
"a"
,{
staticClass
:
"a-href"
,
attrs
:{
href
:
"#/companyCertify"
}},[
t
.
_v
(
"企业认证"
)])]),
t
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"tip"
},[
t
.
_v
(
"不能在本excel表中对员工信息类别进行增加、删除、修改"
)]),
t
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"tip"
},[
t
.
_v
(
"标*字段为必填字段,未标*字段为选填字段"
)]),
t
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"tip"
},[
t
.
_v
(
"
\
n 员工所在部门:请先到后台创建部门,将部门id填入导入表格中,导入中,若找不到对应部门,将直接将员工挂在根目录下面
\
n "
)]),
t
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"tip"
},[
t
.
_v
(
"未认证企业通讯录最多只能导入200人,超出后无法导入,请先进行企业认证"
)])])}]};
var
l
=
a
(
"VU/8"
)(
n
,
r
,
!
1
,
function
(
t
){
a
(
"WPo2"
)},
null
,
null
);
e
.
default
=
l
.
exports
},
WPo2
:
function
(
t
,
e
){}});
\ No newline at end of file
dist/static/js/app.
632d493c645e99d405b3
.js
→
dist/static/js/app.
cdf52f35671a8805ed92
.js
View file @
35fc15c1
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
,
20
],
"./contacts/addDepartment.vue"
:[
"HHRu"
,
0
,
16
],
"./contacts/addEmployee.vue"
:[
"00Sv"
,
49
],
"./contacts/addGroup.vue"
:[
"mPjx"
,
0
,
77
],
"./contacts/administrativeFrame.vue"
:[
"kLcy"
,
0
,
4
],
"./contacts/employee.vue"
:[
"AdJp"
,
0
,
47
],
"./contacts/employeeIo.vue"
:[
"Rwbg"
,
0
,
51
],
"./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
,
18
],
"./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
,
50
],
"./contacts/storeIo.vue"
:[
"RHxA"
,
0
,
35
],
"./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
,
61
],
"./enterpriseApp/badEvaluate/badEvaluateSet.vue"
:[
"XzAK"
,
0
,
70
],
"./enterpriseApp/badEvaluate/index.vue"
:[
"W0k8"
,
0
,
38
],
"./enterpriseApp/cloudDaily/customReport.vue"
:[
"DxdI"
,
0
,
39
],
"./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
,
57
],
"./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"
,
62
],
"./enterpriseApp/cloudDaily/template/image.vue"
:[
"H8Kg"
,
58
],
"./enterpriseApp/cloudDaily/template/input.vue"
:[
"s4D+"
,
60
],
"./enterpriseApp/cloudDaily/template/select.vue"
:[
"t0b0"
,
37
],
"./enterpriseApp/index.vue"
:[
"da9f"
,
52
],
"./enterpriseApp/mycustomer.vue"
:[
"cuIN"
,
0
,
44
],
"./enterpriseApp/notice/addNotice.vue"
:[
"G5PL"
,
0
,
3
],
"./enterpriseApp/notice/index.vue"
:[
"av/3"
,
0
,
48
],
"./enterpriseApp/notice/noticeList.vue"
:[
"OVYO"
,
0
,
23
],
"./enterpriseApp/quota/companyDaySet.vue"
:[
"xk7v"
,
0
,
72
],
"./enterpriseApp/quota/index.vue"
:[
"FB5x"
,
0
,
69
],
"./enterpriseApp/quota/monthList.vue"
:[
"ZxDn"
,
0
,
40
],
"./enterpriseApp/quota/monthTask.vue"
:[
"cK0D"
,
0
,
36
],
"./enterpriseApp/quota/monthTaskDetail.vue"
:[
"jMbb"
,
0
,
59
],
"./enterpriseApp/quota/salerMonthDetail.vue"
:[
"IKv2"
,
0
,
41
],
"./enterpriseApp/quota/storeMonthTask.vue"
:[
"kF1j"
,
0
,
63
],
"./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
,
56
],
"./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"
,
22
],
"./errorPage/index.vue"
:[
"ODjX"
,
1
],
"./index/index.vue"
:[
"JXTs"
,
0
,
28
],
"./login/index.vue"
:[
"T+/8"
,
0
,
10
],
"./reviewCenter/index.vue"
:[
"+lem"
,
55
],
"./reviewCenter/reviewed.vue"
:[
"CLYF"
,
0
,
19
],
"./reviewCenter/unreview.vue"
:[
"xCEU"
,
0
,
17
],
"./setting/addAdmin.vue"
:[
"rs/A"
,
0
,
54
],
"./setting/addAdminRole.vue"
:[
"fZsz"
,
0
,
71
],
"./setting/companyAddress.vue"
:[
"SKyE"
,
0
,
65
],
"./setting/companyCertify.vue"
:[
"3zYh"
,
0
,
12
],
"./setting/index.vue"
:[
"VlR1"
,
34
],
"./setting/replaceAdmin.vue"
:[
"ys9I"
,
0
,
33
],
"./setting/setChildAdmin.vue"
:[
"VqB7"
,
0
,
53
],
"./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
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
,
19
],
"./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
,
46
],
"./contacts/employeeIo.vue"
:[
"Rwbg"
,
0
,
73
],
"./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
,
65
],
"./contacts/shareContact.vue"
:[
"Gfms"
,
0
,
2
],
"./contacts/staffRecordsTemplate.vue"
:[
"lFAe"
,
0
,
76
],
"./contacts/storeFrame.vue"
:[
"7SJI"
,
0
,
6
],
"./contacts/storeInfo.vue"
:[
"h/6A"
,
0
,
49
],
"./contacts/storeIo.vue"
:[
"RHxA"
,
0
,
62
],
"./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
,
59
],
"./enterpriseApp/badEvaluate/badEvaluateSet.vue"
:[
"XzAK"
,
0
,
69
],
"./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
,
55
],
"./enterpriseApp/cloudDaily/systemReportSet.vue"
:[
"VE2c"
,
0
,
7
],
"./enterpriseApp/cloudDaily/taskAssign.vue"
:[
"5x7s"
,
0
,
45
],
"./enterpriseApp/cloudDaily/template.vue"
:[
"IA9l"
,
0
,
5
],
"./enterpriseApp/cloudDaily/template/block.vue"
:[
"PAYw"
,
72
],
"./enterpriseApp/cloudDaily/template/date-range.vue"
:[
"79Bk"
,
60
],
"./enterpriseApp/cloudDaily/template/image.vue"
:[
"H8Kg"
,
56
],
"./enterpriseApp/cloudDaily/template/input.vue"
:[
"s4D+"
,
58
],
"./enterpriseApp/cloudDaily/template/select.vue"
:[
"t0b0"
,
36
],
"./enterpriseApp/index.vue"
:[
"da9f"
,
50
],
"./enterpriseApp/mycustomer.vue"
:[
"cuIN"
,
0
,
43
],
"./enterpriseApp/notice/addNotice.vue"
:[
"G5PL"
,
0
,
3
],
"./enterpriseApp/notice/index.vue"
:[
"av/3"
,
0
,
47
],
"./enterpriseApp/notice/noticeList.vue"
:[
"OVYO"
,
0
,
23
],
"./enterpriseApp/quota/companyDaySet.vue"
:[
"xk7v"
,
0
,
71
],
"./enterpriseApp/quota/index.vue"
:[
"FB5x"
,
0
,
68
],
"./enterpriseApp/quota/monthList.vue"
:[
"ZxDn"
,
0
,
39
],
"./enterpriseApp/quota/monthTask.vue"
:[
"cK0D"
,
0
,
35
],
"./enterpriseApp/quota/monthTaskDetail.vue"
:[
"jMbb"
,
0
,
57
],
"./enterpriseApp/quota/salerMonthDetail.vue"
:[
"IKv2"
,
0
,
40
],
"./enterpriseApp/quota/storeMonthTask.vue"
:[
"kF1j"
,
0
,
61
],
"./enterpriseApp/signApp/index.vue"
:[
"Gk4o"
,
0
,
41
],
"./enterpriseApp/signApp/signList.vue"
:[
"kCy7"
,
0
,
67
],
"./enterpriseApp/trafficTask/index.vue"
:[
"e88N"
,
0
,
44
],
"./enterpriseApp/trafficTask/taskDetail.vue"
:[
"A33E"
,
0
,
54
],
"./enterpriseApp/trafficTask/taskRecord.vue"
:[
"iG3v"
,
0
,
42
],
"./enterpriseApp/trafficTask/trafficTaskSet.vue"
:[
"4H54"
,
0
,
63
],
"./errorPage/403.vue"
:[
"6XGN"
,
25
],
"./errorPage/404.vue"
:[
"AejC"
,
27
],
"./errorPage/500.vue"
:[
"FskK"
,
22
],
"./errorPage/index.vue"
:[
"ODjX"
,
1
],
"./index/index.vue"
:[
"JXTs"
,
0
,
28
],
"./login/index.vue"
:[
"T+/8"
,
0
,
10
],
"./reviewCenter/index.vue"
:[
"+lem"
,
53
],
"./reviewCenter/reviewed.vue"
:[
"CLYF"
,
0
,
18
],
"./reviewCenter/unreview.vue"
:[
"xCEU"
,
0
,
17
],
"./setting/addAdmin.vue"
:[
"rs/A"
,
0
,
52
],
"./setting/addAdminRole.vue"
:[
"fZsz"
,
0
,
70
],
"./setting/companyAddress.vue"
:[
"SKyE"
,
0
,
64
],
"./setting/companyCertify.vue"
:[
"3zYh"
,
0
,
12
],
"./setting/index.vue"
:[
"VlR1"
,
34
],
"./setting/replaceAdmin.vue"
:[
"ys9I"
,
0
,
33
],
"./setting/setChildAdmin.vue"
:[
"VqB7"
,
0
,
51
],
"./setting/staffDetails.vue"
:[
"Zyzf"
,
0
,
24
],
"./setting/storePermission.vue"
:[
"Xwfy"
,
0
,
20
],
"./sign/index.vue"
:[
"RQuk"
,
0
,
66
]};
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.2428bd546092f118aa0e.js
deleted
100644 → 0
View file @
5f2b7119
!
function
(
e
){
var
a
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
c
,
b
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
c
.
length
;
i
++
)
t
=
c
[
i
],
f
[
t
]
&&
u
.
push
(
f
[
t
][
0
]),
f
[
t
]
=
0
;
for
(
r
in
b
)
Object
.
prototype
.
hasOwnProperty
.
call
(
b
,
r
)
&&
(
e
[
r
]
=
b
[
r
]);
for
(
a
&&
a
(
c
,
b
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
d
(
d
.
s
=
n
[
i
]);
return
o
};
var
c
=
{},
f
=
{
81
:
0
};
function
d
(
a
){
if
(
c
[
a
])
return
c
[
a
].
exports
;
var
f
=
c
[
a
]
=
{
i
:
a
,
l
:
!
1
,
exports
:{}};
return
e
[
a
].
call
(
f
.
exports
,
f
,
f
.
exports
,
d
),
f
.
l
=!
0
,
f
.
exports
}
d
.
e
=
function
(
e
){
var
a
=
f
[
e
];
if
(
0
===
a
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
a
)
return
a
[
2
];
var
c
=
new
Promise
(
function
(
c
,
d
){
a
=
f
[
e
]
=
[
c
,
d
]});
a
[
2
]
=
c
;
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
,
d
.
nc
&&
n
.
setAttribute
(
"nonce"
,
d
.
nc
),
n
.
src
=
d
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"4d2df64e0406b020a6a1"
,
1
:
"0ebe3ead93207dc78a78"
,
2
:
"949e969ff9243354980e"
,
3
:
"3282d88c1532d0ca9c9e"
,
4
:
"01be0f85b0acd6f1d6df"
,
5
:
"46d57317b4555f3e420d"
,
6
:
"a0272217fb6112ecfa34"
,
7
:
"57af0bc90206c6098149"
,
8
:
"9bd56928cea92db3c119"
,
9
:
"860dbe8cf83334f9e3c0"
,
10
:
"956d97940afe04265b88"
,
11
:
"2d0a192288361dd95250"
,
12
:
"3d3797e96dc9e8cc5bd4"
,
13
:
"02c1f318efb8ad51c2f2"
,
14
:
"d9f8f7e5598d599d6b6a"
,
15
:
"360a92075d219ac84088"
,
16
:
"bdc37aea4c14db4484c6"
,
17
:
"ba5230cee7ac3ae9c6e2"
,
18
:
"4adc5cab6683f7eb6d86"
,
19
:
"0e7d5bb6c1dc4b40bc33"
,
20
:
"6be27d5ec89f8a1c293b"
,
21
:
"b0e7348ff74371924c3b"
,
22
:
"dec9447a8c45f2a2c7bb"
,
23
:
"7ecce59b275ffaebbc57"
,
24
:
"4637a4566383d6e864cf"
,
25
:
"4f9db49437ea94436d03"
,
26
:
"e0b684b65d0dbf5d032b"
,
27
:
"acda88d3c2aa77c9f51c"
,
28
:
"e1b3c97634b8203082e4"
,
29
:
"a00a8b4033e1feddfe67"
,
30
:
"07a39afe8e9361ef44b8"
,
31
:
"8e77909f1af264b00346"
,
32
:
"ec0bbd85e6d55909453d"
,
33
:
"1a9ac0c12df7a396447f"
,
34
:
"f9d53c31059aaff9b360"
,
35
:
"41f5fdb6b5c51e03dcc1"
,
36
:
"99a1c3137ade1b2b1a2d"
,
37
:
"9e050e6e5ae12e825639"
,
38
:
"7da020455236ec9cc0e6"
,
39
:
"8d8a3b88d85b3220e296"
,
40
:
"f4fd9d68a9e906649040"
,
41
:
"9fcb9feb2cab7a8a2cbe"
,
42
:
"47c4c30ceefa4af03de5"
,
43
:
"1a91709ef6c1a7d304ba"
,
44
:
"12f6d6e11d29fce5030d"
,
45
:
"bfad77aa2ad556a32c7c"
,
46
:
"5e58d02bfb5d53a3e1b5"
,
47
:
"c8b46666a5089512baa4"
,
48
:
"854c6c054adb5cba1f06"
,
49
:
"33530ea069fc872b0d5f"
,
50
:
"9de9e5a6cb9501fc2542"
,
51
:
"f865374d6b54d73ff997"
,
52
:
"df5a79b4bcadd0cdc55d"
,
53
:
"da30134b8aa4c56f0f7e"
,
54
:
"b61c3a0f9f6c091cde99"
,
55
:
"f17ab600dad59c0971a4"
,
56
:
"e43e5f9ed93627bf44de"
,
57
:
"a572a9ffb3ed29596ba0"
,
58
:
"75a744a198b1c4cd5c77"
,
59
:
"e232c753f68c56d9e59c"
,
60
:
"2a9bebb0261ef9a7a939"
,
61
:
"8833a156f1e38036fb28"
,
62
:
"c3caefedcb9fb6dcfb96"
,
63
:
"6077852270b0c59eff8a"
,
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
a
=
f
[
e
];
0
!==
a
&&
(
a
&&
a
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
f
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
b
.
appendChild
(
n
),
c
},
d
.
m
=
e
,
d
.
c
=
c
,
d
.
d
=
function
(
e
,
a
,
c
){
d
.
o
(
e
,
a
)
||
Object
.
defineProperty
(
e
,
a
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
c
})},
d
.
n
=
function
(
e
){
var
a
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
d
.
d
(
a
,
"a"
,
a
),
a
},
d
.
o
=
function
(
e
,
a
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
a
)},
d
.
p
=
"./"
,
d
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
dist/static/js/manifest.da49be389a65fc5e764c.js
0 → 100644
View file @
35fc15c1
!
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
:
"4d2df64e0406b020a6a1"
,
1
:
"0ebe3ead93207dc78a78"
,
2
:
"949e969ff9243354980e"
,
3
:
"3282d88c1532d0ca9c9e"
,
4
:
"01be0f85b0acd6f1d6df"
,
5
:
"1ccd7ab8c06c5a275269"
,
6
:
"a0272217fb6112ecfa34"
,
7
:
"57af0bc90206c6098149"
,
8
:
"9bd56928cea92db3c119"
,
9
:
"860dbe8cf83334f9e3c0"
,
10
:
"956d97940afe04265b88"
,
11
:
"2d0a192288361dd95250"
,
12
:
"3d3797e96dc9e8cc5bd4"
,
13
:
"02c1f318efb8ad51c2f2"
,
14
:
"d9f8f7e5598d599d6b6a"
,
15
:
"360a92075d219ac84088"
,
16
:
"bdc37aea4c14db4484c6"
,
17
:
"ba5230cee7ac3ae9c6e2"
,
18
:
"b449ba7c70672ea4973e"
,
19
:
"ed7c8c2a7a2a9998f36c"
,
20
:
"d5bc42e9568015f2689e"
,
21
:
"f03b903110d532587e48"
,
22
:
"dec9447a8c45f2a2c7bb"
,
23
:
"7ecce59b275ffaebbc57"
,
24
:
"4637a4566383d6e864cf"
,
25
:
"4f9db49437ea94436d03"
,
26
:
"e0b684b65d0dbf5d032b"
,
27
:
"acda88d3c2aa77c9f51c"
,
28
:
"e1b3c97634b8203082e4"
,
29
:
"a00a8b4033e1feddfe67"
,
30
:
"07a39afe8e9361ef44b8"
,
31
:
"8e77909f1af264b00346"
,
32
:
"ec0bbd85e6d55909453d"
,
33
:
"1a9ac0c12df7a396447f"
,
34
:
"f9d53c31059aaff9b360"
,
35
:
"80267d39d723d4d02341"
,
36
:
"706cf2b1fed575cc2e7b"
,
37
:
"8016d3ac07df8acaf73d"
,
38
:
"401ecfbced781ca109ff"
,
39
:
"45d0c177c91108351c01"
,
40
:
"18605687ea6ee1539453"
,
41
:
"78d64ae1581e8ea232cc"
,
42
:
"56b8d3d551364d7fcf73"
,
43
:
"dd9e90d8053228b68228"
,
44
:
"deb9f07fde1e218414cf"
,
45
:
"feeb9dd78b7b12f700d2"
,
46
:
"98fb716c1e5a99ebdcf8"
,
47
:
"de0e290ed4c878d0c8c3"
,
48
:
"6d564387f233c08c800d"
,
49
:
"197cde68ad771fae4c5c"
,
50
:
"331006123edd2049b7d9"
,
51
:
"244dc6f576a64b7c174b"
,
52
:
"3ee35b29a67a32a31d1d"
,
53
:
"8ea56d269da04331dd65"
,
54
:
"4b3de5b9c967cbdcb803"
,
55
:
"c423570fcbf037d349d9"
,
56
:
"03f9fa2efa7f832146f1"
,
57
:
"ec64d57876772f26c560"
,
58
:
"f8f6469b19558b91d2af"
,
59
:
"014ae5d12d19afa067f5"
,
60
:
"633307c153fec68e7774"
,
61
:
"a6c4d42ed111c8f08d58"
,
62
:
"7cdd22971a00bea17b94"
,
63
:
"02272fe3caa4b8c63c2a"
,
64
:
"ebc341a9017c4b2c1112"
,
65
:
"afcb60484e7a9ec39f28"
,
66
:
"0c2656f4decfecb59972"
,
67
:
"57f329b5a1c3658845e9"
,
68
:
"ba49712f562eff6edbc3"
,
69
:
"6262c1a9179f86d6e8cc"
,
70
:
"d5759f121e5783b4c558"
,
71
:
"95b66215f468ac6aa391"
,
72
:
"b9aea07ebd1f712eee71"
,
73
:
"820fe71d89d973ff8cf7"
,
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/employeeIo.vue
View file @
35fc15c1
...
...
@@ -185,20 +185,23 @@ export default {
},
// 上传成功之后获取本次错误日志
uploadSuccess
(
res
)
{
let
that
=
this
;
if
(
res
.
errorCode
==
1
)
{
this
.
fileList
=
[];
this
.
$forceUpdate
();
this
.
uploadSuccessMsg
=
res
.
message
.
split
(
','
);
this
.
$message
({
that
.
$forceUpdate
();
that
.
uploadSuccessMsg
=
res
.
message
.
split
(
','
);
that
.
$message
({
message
:
res
.
message
,
type
:
'success'
});
that
.
$nextTick
(()
=>
{
that
.
fileList
=
[];
});
}
else
{
th
is
.
$message
.
error
(
res
.
message
);
th
at
.
$message
.
error
(
res
.
message
);
}
/* th
is
.fileList = [];
th
is
.type = 'note';
th
is
.getErrorNote(); */
/* th
at
.fileList = [];
th
at
.type = 'note';
th
at
.getErrorNote(); */
},
submitUpload
(
upload
)
{
this
.
$refs
[
upload
].
submit
();
...
...
src/views/contacts/recordIo.vue
View file @
35fc15c1
...
...
@@ -222,15 +222,19 @@ export default {
uploadSuccess
(
res
,
file
)
{
/* eslint-disable */
// this.type = 'note';
let
that
=
this
;
if
(
res
.
errorCode
==
1
)
{
th
is
.
fileList
=
[];
th
is
.
$forceUpdate
();
th
is
.
$message
({
th
at
.
fileList
=
[];
th
at
.
$forceUpdate
();
th
at
.
$message
({
message
:
res
.
message
,
type
:
'success'
});
that
.
$nextTick
(()
=>
{
that
.
fileList
=
[];
})
}
else
{
th
is
.
$message
.
error
(
res
.
message
);
th
at
.
$message
.
error
(
res
.
message
);
}
},
submitUpload
(
upload
)
{
...
...
src/views/contacts/storeIo.vue
View file @
35fc15c1
...
...
@@ -239,19 +239,22 @@ export default {
},
uploadSuccess
(
res
,
file
)
{
let
that
=
this
;
if
(
res
.
errorCode
==
1
)
{
this
.
fileList
=
[];
this
.
$forceUpdate
();
this
.
uploadSuccessMsg
=
res
.
message
.
split
(
','
);
this
.
$message
({
that
.
$forceUpdate
();
that
.
uploadSuccessMsg
=
res
.
message
.
split
(
','
);
that
.
$message
({
message
:
res
.
message
,
type
:
'success'
});
that
.
$nextTick
(()
=>
{
that
.
fileList
=
[];
})
}
else
{
th
is
.
$message
.
error
(
res
.
message
);
th
at
.
$message
.
error
(
res
.
message
);
}
/* th
is
.type = 'note';
th
is
.getErrorNote(); */
/* th
at
.type = 'note';
th
at
.getErrorNote(); */
},
submitUpload
(
upload
)
{
this
.
$refs
[
upload
].
submit
();
...
...
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