Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-3
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
haoban-3
Commits
bff2a8b1
Commit
bff2a8b1
authored
May 11, 2020
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:增加会话任务
parent
8abef5b0
Show whitespace changes
Inline
Side-by-side
Showing
28 changed files
with
54 additions
and
54 deletions
+54
-54
index.html
dist/index.html
+2
-2
app.9de53448542b755241848955a3b2af22.css
dist/static/css/app.9de53448542b755241848955a3b2af22.css
+0
-0
25.052c0b1bf23ddab741fb.js
dist/static/js/25.052c0b1bf23ddab741fb.js
+0
-2
25.9e5733792c18c643ff3a.js
dist/static/js/25.9e5733792c18c643ff3a.js
+2
-2
26.dba4d3332f3dbc9d7649.js
dist/static/js/26.dba4d3332f3dbc9d7649.js
+2
-2
27.8c00b479947588ae7b2c.js
dist/static/js/27.8c00b479947588ae7b2c.js
+2
-2
28.110ab7e5f64abacf9778.js
dist/static/js/28.110ab7e5f64abacf9778.js
+2
-2
29.cebf604cf1225f47e634.js
dist/static/js/29.cebf604cf1225f47e634.js
+2
-2
30.d27ad420bde5d91622bf.js
dist/static/js/30.d27ad420bde5d91622bf.js
+2
-2
31.cf36baf02e3e24a5f053.js
dist/static/js/31.cf36baf02e3e24a5f053.js
+2
-2
32.5713f13dae2f3c4c3b45.js
dist/static/js/32.5713f13dae2f3c4c3b45.js
+2
-2
33.3b19f619921aacfda1e4.js
dist/static/js/33.3b19f619921aacfda1e4.js
+2
-2
34.8bcde76a87998e61eecb.js
dist/static/js/34.8bcde76a87998e61eecb.js
+2
-2
35.6cab7737434a1ea51e80.js
dist/static/js/35.6cab7737434a1ea51e80.js
+2
-2
36.c0c151468bb71aa5378c.js
dist/static/js/36.c0c151468bb71aa5378c.js
+2
-2
37.7471c3e15c8e46ac20ff.js
dist/static/js/37.7471c3e15c8e46ac20ff.js
+2
-2
38.86b31259273ff9721942.js
dist/static/js/38.86b31259273ff9721942.js
+2
-2
39.9fca928a20d42828e190.js
dist/static/js/39.9fca928a20d42828e190.js
+2
-2
40.9690302debe738c45edb.js
dist/static/js/40.9690302debe738c45edb.js
+2
-2
41.5b5fdd73c94a6be987a4.js
dist/static/js/41.5b5fdd73c94a6be987a4.js
+2
-2
42.5f24cb743057dc072bae.js
dist/static/js/42.5f24cb743057dc072bae.js
+2
-2
43.51bc93dd50e72a7a505a.js
dist/static/js/43.51bc93dd50e72a7a505a.js
+2
-2
44.e1dc95df16dac16d20f7.js
dist/static/js/44.e1dc95df16dac16d20f7.js
+2
-2
45.ab718fd81f92be745af6.js
dist/static/js/45.ab718fd81f92be745af6.js
+2
-2
46.e0490548189600adfad2.js
dist/static/js/46.e0490548189600adfad2.js
+2
-0
app.232be00a1123581a9ee1.js
dist/static/js/app.232be00a1123581a9ee1.js
+2
-2
manifest.c0455a3f02e4adf8d267.js
dist/static/js/manifest.c0455a3f02e4adf8d267.js
+2
-2
newSession.vue
src/views/apps/trafficTask/newSession.vue
+4
-4
No files found.
dist/index.html
View file @
bff2a8b1
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
好办管理平台
</title><link
rel=
stylesheet
type=
text/css
href=
//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.28.css
><link
href=
./static/css/app.0acf6ef68852a5d04084312cabc3229e.css
rel=
stylesheet
></head><body
style=
"min-width: 1400px;"
class=
damolish
><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
src=
//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js
></script><script>
// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();
</script><script
type=
text/javascript
src=
./static/js/manifest.4a07ddc7e6521337fbd6.js
></script><script
type=
text/javascript
src=
./static/js/vendor.e1da72f052bc7e8df6bd.js
></script><script
type=
text/javascript
src=
./static/js/app.77e87793f53d6bdf15ed.js
></script></body></html>
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
好办管理平台
</title><link
rel=
stylesheet
type=
text/css
href=
//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.28.css
><link
href=
./static/css/app.9de53448542b755241848955a3b2af22.css
rel=
stylesheet
></head><body
style=
"min-width: 1400px;"
class=
damolish
><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
src=
//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js
></script><script>
// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();
</script><script
type=
text/javascript
src=
./static/js/manifest.c0455a3f02e4adf8d267.js
></script><script
type=
text/javascript
src=
./static/js/vendor.e1da72f052bc7e8df6bd.js
></script><script
type=
text/javascript
src=
./static/js/app.232be00a1123581a9ee1.js
></script></body></html>
\ No newline at end of file
\ No newline at end of file
dist/static/css/app.
0acf6ef68852a5d04084312cabc3229e
.css
→
dist/static/css/app.
9de53448542b755241848955a3b2af22
.css
View file @
bff2a8b1
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/25.052c0b1bf23ddab741fb.js
deleted
100644 → 0
View file @
8abef5b0
webpackJsonp
([
25
],{
Ypbw
:
function
(
e
,
t
){},
upTI
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
r
=
a
(
"l46T"
),
s
=
a
(
"Kkt8"
),
n
=
a
(
"PI0u"
),
o
=
a
(
"Ch4/"
),
i
=
a
(
"3E4D"
),
d
=
a
(
"P9l9"
),
u
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
activeTab
:
"1"
,
activeId
:
"1"
,
activeBrand
:
this
.
brandId
,
wxEnterpriseId
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
formData
:{
taskTitle
:
""
,
taskContent
:
""
,
addTimeType
:
"1"
},
rules
:{
name
:[{
required
:
!
0
,
message
:
"请输入任务标题"
,
trigger
:
"blur"
}],
region
:[{
required
:
!
0
,
message
:
"请输入任务内容"
,
trigger
:
"blur"
}]}}},
computed
:{},
methods
:{
submitForm
:
Object
(
n
.
a
)(
function
(
e
){
var
t
=
this
;
t
.
$refs
[
e
].
validate
(
function
(
e
){
e
&&
t
.
postSave
()})},
500
),
postSave
:
function
(){
var
e
=
this
,
t
=
{
taskTitle
:
e
.
formData
.
taskTitle
,
taskContent
:
e
.
formData
.
taskContent
,
addTimeType
:
e
.
formData
.
addTimeType
,
wxEnterpriseId
:
e
.
wxEnterpriseId
};
Object
(
d
.
d
)(
"/haoban-app-tel-task-three-web/save-task-setting"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
i
.
a
.
showmsg
(
"保存成功"
,
"success"
),
void
e
.
$router
.
push
(
"/taskList"
);
o
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getData
:
function
(){
var
e
=
this
,
t
=
{
enterpriseId
:
e
.
activeBrand
,
taskType
:
1
};
Object
(
d
.
d
)(
"/haoban-app-tel-task-three-web/find-task-setting"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
a
.
result
.
relaxTaskJudge
=
1
==
a
.
result
.
relaxTaskJudge
,
void
(
e
.
setObj
=
a
.
result
);
o
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
brandId
:
function
(
e
,
t
){
e
&&
(
this
.
activeBrand
=
e
)}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
$emit
(
"showTab"
,
"3"
),
this
.
brandId
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
limitInput
:
r
.
a
,
limitTextarea
:
s
.
a
}},
l
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"app-detail-wrap"
},[
a
(
"div"
,{
staticClass
:
"task-set-content boder-box"
},[
a
(
"el-form"
,{
ref
:
"ruleForm"
,
staticClass
:
"demo-ruleForm"
,
attrs
:{
model
:
e
.
formData
,
rules
:
e
.
rules
,
"label-width"
:
"120px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"任务标题"
,
prop
:
"taskTitle"
}},[
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
372
,
disflag
:
!!
e
.
$route
.
query
.
sessionTaskId
,
inputValue
:
e
.
formData
.
taskTitle
,
getByType
:
"word"
,
holder
:
"请输入任务标题"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"taskTitle"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"任务内容"
,
prop
:
"taskContent"
}},[
a
(
"limit-textarea"
,{
attrs
:{
inputWidth
:
372
,
inputValue
:
e
.
formData
.
taskContent
,
holder
:
"请输入任务内容"
,
getByType
:
"word"
,
maxLength
:
200
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"taskContent"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"添加好友时间"
,
prop
:
"addTimeType"
}},[
a
(
"el-radio"
,{
attrs
:{
label
:
"1"
},
model
:{
value
:
e
.
formData
.
addTimeType
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"addTimeType"
,
t
)},
expression
:
"formData.addTimeType"
}},[
e
.
_v
(
"近一个月"
)]),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
"2"
},
model
:{
value
:
e
.
formData
.
addTimeType
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"addTimeType"
,
t
)},
expression
:
"formData.addTimeType"
}},[
e
.
_v
(
"近一周"
)])],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
submitForm
(
"ruleForm"
)}}},[
e
.
_v
(
"确认"
+
e
.
_s
(
e
.
$route
.
query
.
sessionTaskId
?
"编辑"
:
"新建"
))])],
1
)],
1
)],
1
)])},
staticRenderFns
:[]};
var
m
=
a
(
"VU/8"
)(
u
,
l
,
!
1
,
function
(
e
){
a
(
"Ypbw"
)},
"data-v-fdc86644"
,
null
);
t
.
default
=
m
.
exports
}});
\ No newline at end of file
dist/static/js/2
6.0e68f81c2d32fec5abdb
.js
→
dist/static/js/2
5.9e5733792c18c643ff3a
.js
View file @
bff2a8b1
webpackJsonp
([
26
],{
"Hb/M"
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"PI0u"
),
i
=
a
(
"Ch4/"
),
n
=
a
(
"3E4D"
),
o
=
a
(
"P9l9"
),
l
=
{
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"
,
releaseFlag
:
!
1
}}},
computed
:{},
methods
:{
saveSet
:
Object
(
s
.
a
)(
function
(){
this
.
postSave
()},
500
),
postSave
:
function
(){
var
t
=
this
,
e
=
{
enterpriseId
:
t
.
activeBrand
,
status
:
t
.
setData
.
status
?
"1"
:
"0"
,
time
:
t
.
setData
.
time
,
releaseFlag
:
t
.
setData
.
releaseFlag
?
1
:
0
};
Object
(
o
.
d
)(
"/haoban-app-daily-three-web/daily/create-setting"
,
e
).
then
(
function
(
t
){
var
e
=
t
.
data
;
1
!=
e
.
errorCode
?
i
.
a
.
errorMsg
(
e
):
n
.
a
.
showmsg
(
"保存成功"
,
"success"
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getData
:
function
(){
var
t
=
this
,
e
=
{
enterpriseId
:
t
.
activeBrand
};
Object
(
o
.
d
)(
"/haoban-app-daily-three-web/daily/get-setting"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
t
.
setData
.
status
=
1
==
a
.
result
.
status
,
t
.
setData
.
releaseFlag
=
1
==
a
.
result
.
releaseFlag
,
void
(
t
.
setData
.
time
=
a
.
result
.
time
);
i
.
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"
,
"2"
),
this
.
brandId
&&
this
.
getData
()},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{}},
r
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"app-detail-wrap"
},[
a
(
"div"
,{
staticClass
:
"task-set-content border-box"
},[
a
(
"div"
,{
staticClass
:
"task-set-cell font-0"
},[
a
(
"div"
,{
staticClass
:
"inline-block font-14 color-606266 m-b-10 w-100"
},[
t
.
_v
(
"日报开关设置:"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"inline-block font-14 "
},[
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
:
"inline-block m-l-10 font-14 color-606266 m-b-16"
},[
t
.
_v
(
"开启后,日报将定时发送"
)])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"task-set-cell font-0"
},[
a
(
"div"
,{
staticClass
:
"inline-block font-14 color-606266 m-b-10 w-100"
}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"inline-block m-l-10 vertical-top font-14 right-set-body"
},[
a
(
"div"
,{
staticClass
:
"font-14 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-cell font-0"
},[
a
(
"div"
,{
staticClass
:
"inline-block font-14 color-606266 m-b-10 w-100"
}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"inline-block m-l-10 task-set-save m-t-50 font-14"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
saveSet
}},[
t
.
_v
(
"保 存"
)])],
1
)])])])},
staticRenderFns
:[]};
var
c
=
a
(
"VU/8"
)(
l
,
r
,
!
1
,
function
(
t
){
a
(
"vjHs"
)},
"data-v-f52bd85a"
,
null
);
e
.
default
=
c
.
exports
},
vjHs
:
function
(
t
,
e
){}});
webpackJsonp
([
25
],{
"Hb/M"
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"PI0u"
),
i
=
a
(
"Ch4/"
),
n
=
a
(
"3E4D"
),
o
=
a
(
"P9l9"
),
l
=
{
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"
,
releaseFlag
:
!
1
}}},
computed
:{},
methods
:{
saveSet
:
Object
(
s
.
a
)(
function
(){
this
.
postSave
()},
500
),
postSave
:
function
(){
var
t
=
this
,
e
=
{
enterpriseId
:
t
.
activeBrand
,
status
:
t
.
setData
.
status
?
"1"
:
"0"
,
time
:
t
.
setData
.
time
,
releaseFlag
:
t
.
setData
.
releaseFlag
?
1
:
0
};
Object
(
o
.
d
)(
"/haoban-app-daily-three-web/daily/create-setting"
,
e
).
then
(
function
(
t
){
var
e
=
t
.
data
;
1
!=
e
.
errorCode
?
i
.
a
.
errorMsg
(
e
):
n
.
a
.
showmsg
(
"保存成功"
,
"success"
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getData
:
function
(){
var
t
=
this
,
e
=
{
enterpriseId
:
t
.
activeBrand
};
Object
(
o
.
d
)(
"/haoban-app-daily-three-web/daily/get-setting"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
t
.
setData
.
status
=
1
==
a
.
result
.
status
,
t
.
setData
.
releaseFlag
=
1
==
a
.
result
.
releaseFlag
,
void
(
t
.
setData
.
time
=
a
.
result
.
time
);
i
.
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"
,
"2"
),
this
.
brandId
&&
this
.
getData
()},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{}},
r
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"app-detail-wrap"
},[
a
(
"div"
,{
staticClass
:
"task-set-content border-box"
},[
a
(
"div"
,{
staticClass
:
"task-set-cell font-0"
},[
a
(
"div"
,{
staticClass
:
"inline-block font-14 color-606266 m-b-10 w-100"
},[
t
.
_v
(
"日报开关设置:"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"inline-block font-14 "
},[
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
:
"inline-block m-l-10 font-14 color-606266 m-b-16"
},[
t
.
_v
(
"开启后,日报将定时发送"
)])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"task-set-cell font-0"
},[
a
(
"div"
,{
staticClass
:
"inline-block font-14 color-606266 m-b-10 w-100"
}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"inline-block m-l-10 vertical-top font-14 right-set-body"
},[
a
(
"div"
,{
staticClass
:
"font-14 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-cell font-0"
},[
a
(
"div"
,{
staticClass
:
"inline-block font-14 color-606266 m-b-10 w-100"
}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"inline-block m-l-10 task-set-save m-t-50 font-14"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
saveSet
}},[
t
.
_v
(
"保 存"
)])],
1
)])])])},
staticRenderFns
:[]};
var
c
=
a
(
"VU/8"
)(
l
,
r
,
!
1
,
function
(
t
){
a
(
"vjHs"
)},
"data-v-f52bd85a"
,
null
);
e
.
default
=
c
.
exports
},
vjHs
:
function
(
t
,
e
){}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/2
7.1be63d7a49a9d810516f
.js
→
dist/static/js/2
6.dba4d3332f3dbc9d7649
.js
View file @
bff2a8b1
webpackJsonp
([
27
],{
sDHT
:
function
(
t
,
e
){},
zYBJ
:
function
(
t
,
e
,
s
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
s
(
"P9l9"
),
n
=
s
(
"Ch4/"
),
o
=
{
props
:{},
data
:
function
(){
return
{
wxEnterpriseId
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
roleList
:[]}},
methods
:{
changeToggle
:
function
(
t
){
t
.
expand
=!
t
.
expand
},
getData
:
function
(
t
){
var
e
=
this
,
s
=
{
wxEnterpriseId
:
e
.
wxEnterpriseId
};
Object
(
a
.
a
)(
"/haoban-manage3-web/admin-list"
,
s
).
then
(
function
(
t
){
var
s
=
t
.
data
;
if
(
1
==
s
.
errorCode
)
return
s
.
result
&&
s
.
result
.
length
&&
s
.
result
.
forEach
(
function
(
t
){
t
.
expand
=!
1
}),
void
(
e
.
roleList
=
s
.
result
||
[]);
n
.
a
.
errorMsg
(
s
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
2
),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
getData
()},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{}},
r
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
s
=
t
.
_self
.
_c
||
e
;
return
s
(
"div"
,{
staticClass
:
"daily-set-wrap "
},[
s
(
"div"
,{
staticClass
:
"daily-set-content border-box"
},[
t
.
_m
(
0
),
t
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"admin-table-body m-t-20"
},[
t
.
_m
(
1
),
t
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"admin-role-body"
},[
t
.
_l
(
t
.
roleList
,
function
(
e
,
a
){
return
[
s
(
"div"
,{
key
:
a
+
"role"
},[
s
(
"div"
,{
staticClass
:
"admin-role-name line-50"
},[
s
(
"el-row"
,[
s
(
"el-col"
,{
attrs
:{
span
:
24
}},[
s
(
"div"
,{
staticClass
:
"grid-content cursor-pointer"
,
on
:{
click
:
function
(
s
){
t
.
changeToggle
(
e
)}}},[
s
(
"span"
,{
class
:[
"iconfont cursor-pointer color-606266 p-l-30"
,
e
.
expand
?
"iconjian"
:
"iconjia"
]}),
s
(
"span"
,{
staticClass
:
"font-14 color-606266 p-l-40"
},[
t
.
_v
(
t
.
_s
(
e
.
roleName
))])])])],
1
)],
1
),
t
.
_v
(
" "
),
e
.
expand
?
s
(
"div"
,[
s
(
"el-row"
,{
staticClass
:
"bg-ebecf0"
},[
s
(
"el-col"
,{
attrs
:{
span
:
6
}},[
s
(
"div"
,{
staticClass
:
"grid-content font-14 color-303133 row-th p-l-85"
},[
t
.
_v
(
"姓名"
)])]),
t
.
_v
(
" "
),
s
(
"el-col"
,{
attrs
:{
span
:
6
}},[
s
(
"div"
,{
staticClass
:
"grid-content font-14 color-303133 row-th"
},[
t
.
_v
(
"手机号"
)])]),
t
.
_v
(
" "
),
s
(
"el-col"
,{
attrs
:{
span
:
6
}},[
s
(
"div"
,{
staticClass
:
"grid-content font-14 color-303133 row-th"
},[
t
.
_v
(
"部门"
)])]),
t
.
_v
(
" "
),
s
(
"el-col"
,{
attrs
:{
span
:
6
}},[
s
(
"div"
,{
staticClass
:
"grid-content font-14 color-303133 row-th"
},[
t
.
_v
(
"操作"
)])])],
1
),
t
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"admin-role-user"
},
t
.
_l
(
e
.
roleUser
,
function
(
e
,
a
){
return
s
(
"el-row"
,{
key
:
a
,
staticClass
:
"line-50 border-set"
},[
s
(
"el-col"
,{
staticClass
:
"line-one"
,
attrs
:{
span
:
6
}},[
s
(
"div"
,{
staticClass
:
"grid-content p-l-85 hide-border"
},[
t
.
_v
(
t
.
_s
(
e
.
userName
||
"--"
))])]),
t
.
_v
(
" "
),
s
(
"el-col"
,{
attrs
:{
span
:
6
}},[
s
(
"div"
,{
staticClass
:
"grid-content"
},[
t
.
_v
(
t
.
_s
(
e
.
userPhone
||
"--"
))])]),
t
.
_v
(
" "
),
s
(
"el-col"
,{
attrs
:{
span
:
6
}},[
s
(
"div"
,{
staticClass
:
"grid-content"
},[
t
.
_v
(
t
.
_s
(
e
.
departmentName
||
"--"
))])]),
t
.
_v
(
" "
),
s
(
"el-col"
,{
attrs
:{
span
:
6
}},[
s
(
"div"
,{
staticClass
:
"grid-content"
},[
t
.
_v
(
t
.
_s
(
"--"
))])])],
1
)}))],
1
):
t
.
_e
()])]})],
2
)])])])},
staticRenderFns
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"admin-tip-body"
},[
e
(
"div"
,{
staticClass
:
"el-alert el-alert--info"
,
attrs
:{
role
:
"alert"
}},[
e
(
"i"
,{
staticClass
:
"el-alert__icon el-icon-info"
}),
this
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"el-alert__content"
},[
e
(
"span"
,{
staticClass
:
"el-alert__title"
},[
this
.
_v
(
"超级管理员不可新增,默认为企业微信所添加的好办应用管理员,拥有好办所有管理权限。"
)])])])])},
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"admin-thead bg-ebecf0"
},[
e
(
"div"
,{
staticClass
:
"admin-th p-l-85 font-14 color-303133"
},[
this
.
_v
(
"角色"
)])])}]};
var
i
=
s
(
"VU/8"
)(
o
,
r
,
!
1
,
function
(
t
){
s
(
"sDHT"
)},
"data-v-d400e842"
,
null
);
e
.
default
=
i
.
exports
}});
webpackJsonp
([
26
],{
sDHT
:
function
(
t
,
e
){},
zYBJ
:
function
(
t
,
e
,
s
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
s
(
"P9l9"
),
n
=
s
(
"Ch4/"
),
o
=
{
props
:{},
data
:
function
(){
return
{
wxEnterpriseId
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
roleList
:[]}},
methods
:{
changeToggle
:
function
(
t
){
t
.
expand
=!
t
.
expand
},
getData
:
function
(
t
){
var
e
=
this
,
s
=
{
wxEnterpriseId
:
e
.
wxEnterpriseId
};
Object
(
a
.
a
)(
"/haoban-manage3-web/admin-list"
,
s
).
then
(
function
(
t
){
var
s
=
t
.
data
;
if
(
1
==
s
.
errorCode
)
return
s
.
result
&&
s
.
result
.
length
&&
s
.
result
.
forEach
(
function
(
t
){
t
.
expand
=!
1
}),
void
(
e
.
roleList
=
s
.
result
||
[]);
n
.
a
.
errorMsg
(
s
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
2
),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
getData
()},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{}},
r
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
s
=
t
.
_self
.
_c
||
e
;
return
s
(
"div"
,{
staticClass
:
"daily-set-wrap "
},[
s
(
"div"
,{
staticClass
:
"daily-set-content border-box"
},[
t
.
_m
(
0
),
t
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"admin-table-body m-t-20"
},[
t
.
_m
(
1
),
t
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"admin-role-body"
},[
t
.
_l
(
t
.
roleList
,
function
(
e
,
a
){
return
[
s
(
"div"
,{
key
:
a
+
"role"
},[
s
(
"div"
,{
staticClass
:
"admin-role-name line-50"
},[
s
(
"el-row"
,[
s
(
"el-col"
,{
attrs
:{
span
:
24
}},[
s
(
"div"
,{
staticClass
:
"grid-content cursor-pointer"
,
on
:{
click
:
function
(
s
){
t
.
changeToggle
(
e
)}}},[
s
(
"span"
,{
class
:[
"iconfont cursor-pointer color-606266 p-l-30"
,
e
.
expand
?
"iconjian"
:
"iconjia"
]}),
s
(
"span"
,{
staticClass
:
"font-14 color-606266 p-l-40"
},[
t
.
_v
(
t
.
_s
(
e
.
roleName
))])])])],
1
)],
1
),
t
.
_v
(
" "
),
e
.
expand
?
s
(
"div"
,[
s
(
"el-row"
,{
staticClass
:
"bg-ebecf0"
},[
s
(
"el-col"
,{
attrs
:{
span
:
6
}},[
s
(
"div"
,{
staticClass
:
"grid-content font-14 color-303133 row-th p-l-85"
},[
t
.
_v
(
"姓名"
)])]),
t
.
_v
(
" "
),
s
(
"el-col"
,{
attrs
:{
span
:
6
}},[
s
(
"div"
,{
staticClass
:
"grid-content font-14 color-303133 row-th"
},[
t
.
_v
(
"手机号"
)])]),
t
.
_v
(
" "
),
s
(
"el-col"
,{
attrs
:{
span
:
6
}},[
s
(
"div"
,{
staticClass
:
"grid-content font-14 color-303133 row-th"
},[
t
.
_v
(
"部门"
)])]),
t
.
_v
(
" "
),
s
(
"el-col"
,{
attrs
:{
span
:
6
}},[
s
(
"div"
,{
staticClass
:
"grid-content font-14 color-303133 row-th"
},[
t
.
_v
(
"操作"
)])])],
1
),
t
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"admin-role-user"
},
t
.
_l
(
e
.
roleUser
,
function
(
e
,
a
){
return
s
(
"el-row"
,{
key
:
a
,
staticClass
:
"line-50 border-set"
},[
s
(
"el-col"
,{
staticClass
:
"line-one"
,
attrs
:{
span
:
6
}},[
s
(
"div"
,{
staticClass
:
"grid-content p-l-85 hide-border"
},[
t
.
_v
(
t
.
_s
(
e
.
userName
||
"--"
))])]),
t
.
_v
(
" "
),
s
(
"el-col"
,{
attrs
:{
span
:
6
}},[
s
(
"div"
,{
staticClass
:
"grid-content"
},[
t
.
_v
(
t
.
_s
(
e
.
userPhone
||
"--"
))])]),
t
.
_v
(
" "
),
s
(
"el-col"
,{
attrs
:{
span
:
6
}},[
s
(
"div"
,{
staticClass
:
"grid-content"
},[
t
.
_v
(
t
.
_s
(
e
.
departmentName
||
"--"
))])]),
t
.
_v
(
" "
),
s
(
"el-col"
,{
attrs
:{
span
:
6
}},[
s
(
"div"
,{
staticClass
:
"grid-content"
},[
t
.
_v
(
t
.
_s
(
"--"
))])])],
1
)}))],
1
):
t
.
_e
()])]})],
2
)])])])},
staticRenderFns
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"admin-tip-body"
},[
e
(
"div"
,{
staticClass
:
"el-alert el-alert--info"
,
attrs
:{
role
:
"alert"
}},[
e
(
"i"
,{
staticClass
:
"el-alert__icon el-icon-info"
}),
this
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"el-alert__content"
},[
e
(
"span"
,{
staticClass
:
"el-alert__title"
},[
this
.
_v
(
"超级管理员不可新增,默认为企业微信所添加的好办应用管理员,拥有好办所有管理权限。"
)])])])])},
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"admin-thead bg-ebecf0"
},[
e
(
"div"
,{
staticClass
:
"admin-th p-l-85 font-14 color-303133"
},[
this
.
_v
(
"角色"
)])])}]};
var
i
=
s
(
"VU/8"
)(
o
,
r
,
!
1
,
function
(
t
){
s
(
"sDHT"
)},
"data-v-d400e842"
,
null
);
e
.
default
=
i
.
exports
}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/2
8.65284e7ae64fa171aab
c.js
→
dist/static/js/2
7.8c00b479947588ae7b2
c.js
View file @
bff2a8b1
webpackJsonp
([
28
],{
m9dW
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
i
=
a
(
"bzW+"
),
n
=
a
(
"Qie6"
),
c
=
a
(
"NKg7"
),
o
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
288
+
"px"
,
activeSelTab
:
"1"
,
activeTab
:
"1"
,
tabListData
:[{
tabId
:
"1"
,
tabName
:
"企业信息"
,
icon
:
"iconqiyexinxi"
},{
tabId
:
"2"
,
tabName
:
"管理员列表"
,
icon
:
"iconguanliyuanliebiao"
}],
activeBrand
:
""
,
activeGroup
:
""
}},
computed
:{},
methods
:{
toRouterView
:
function
(
t
){
this
.
$router
.
push
({
path
:
t
.
path
})},
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
(
"enterpriseSet"
);
break
;
case
"2"
:
this
.
changeRoute
(
"adminList"
)}},
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
:{
$route
:{
handler
:
function
(
t
,
e
){},
deep
:
!
0
},
activeBrand
:
function
(
t
,
e
){
this
.
activeBrand
=
t
},
activeGroup
:
function
(
t
,
e
){
this
.
activeGroup
=
t
}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
navCrumb
:
i
.
a
,
commonDetailLeft
:
n
.
a
,
vueOfficeHeader
:
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
(
"vue-office-header"
,{
attrs
:{
projectName
:
t
.
projectName
},
on
:{
collapseTag
:
t
.
collapseTag
,
toRouterView
:
t
.
toRouterView
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"enterprise-wrap__body"
},[
a
(
"div"
,{
staticClass
:
"content"
,
attrs
:{
id
:
"content"
}},[
a
(
"div"
,{
staticClass
:
"content-body"
},[
a
(
"div"
,{
staticClass
:
"right-content border-box"
},[
a
(
"div"
,{
staticClass
:
"right-box"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 86px)"
}},[
a
(
"div"
,{
staticClass
:
"apps-content flex"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 86px)"
}},[
a
(
"div"
,{
staticClass
:
"apps-content-left w-157"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 86px)"
}},[
a
(
"common-detail-left"
,{
attrs
:{
tabListData
:
t
.
tabListData
,
activeSelTab
:
t
.
activeSelTab
},
on
:{
setSelectTab
:
t
.
setSelectTab
}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apps-content-right border-box"
},[
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
)},
staticRenderFns
:[]};
var
r
=
a
(
"VU/8"
)(
o
,
s
,
!
1
,
function
(
t
){
a
(
"pSpM"
)},
"data-v-a7fad8ec"
,
null
);
e
.
default
=
r
.
exports
},
pSpM
:
function
(
t
,
e
){}});
webpackJsonp
([
27
],{
m9dW
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
i
=
a
(
"bzW+"
),
n
=
a
(
"Qie6"
),
c
=
a
(
"NKg7"
),
o
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
288
+
"px"
,
activeSelTab
:
"1"
,
activeTab
:
"1"
,
tabListData
:[{
tabId
:
"1"
,
tabName
:
"企业信息"
,
icon
:
"iconqiyexinxi"
},{
tabId
:
"2"
,
tabName
:
"管理员列表"
,
icon
:
"iconguanliyuanliebiao"
}],
activeBrand
:
""
,
activeGroup
:
""
}},
computed
:{},
methods
:{
toRouterView
:
function
(
t
){
this
.
$router
.
push
({
path
:
t
.
path
})},
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
(
"enterpriseSet"
);
break
;
case
"2"
:
this
.
changeRoute
(
"adminList"
)}},
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
:{
$route
:{
handler
:
function
(
t
,
e
){},
deep
:
!
0
},
activeBrand
:
function
(
t
,
e
){
this
.
activeBrand
=
t
},
activeGroup
:
function
(
t
,
e
){
this
.
activeGroup
=
t
}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
navCrumb
:
i
.
a
,
commonDetailLeft
:
n
.
a
,
vueOfficeHeader
:
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
(
"vue-office-header"
,{
attrs
:{
projectName
:
t
.
projectName
},
on
:{
collapseTag
:
t
.
collapseTag
,
toRouterView
:
t
.
toRouterView
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"enterprise-wrap__body"
},[
a
(
"div"
,{
staticClass
:
"content"
,
attrs
:{
id
:
"content"
}},[
a
(
"div"
,{
staticClass
:
"content-body"
},[
a
(
"div"
,{
staticClass
:
"right-content border-box"
},[
a
(
"div"
,{
staticClass
:
"right-box"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 86px)"
}},[
a
(
"div"
,{
staticClass
:
"apps-content flex"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 86px)"
}},[
a
(
"div"
,{
staticClass
:
"apps-content-left w-157"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 86px)"
}},[
a
(
"common-detail-left"
,{
attrs
:{
tabListData
:
t
.
tabListData
,
activeSelTab
:
t
.
activeSelTab
},
on
:{
setSelectTab
:
t
.
setSelectTab
}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apps-content-right border-box"
},[
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
)},
staticRenderFns
:[]};
var
r
=
a
(
"VU/8"
)(
o
,
s
,
!
1
,
function
(
t
){
a
(
"pSpM"
)},
"data-v-a7fad8ec"
,
null
);
e
.
default
=
r
.
exports
},
pSpM
:
function
(
t
,
e
){}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/2
9.485d7c81ce188c3fa687
.js
→
dist/static/js/2
8.110ab7e5f64abacf9778
.js
View file @
bff2a8b1
webpackJsonp
([
29
],{
"3BM/"
:
function
(
t
,
a
){},
qSX4
:
function
(
t
,
a
,
e
){
"use strict"
;
Object
.
defineProperty
(
a
,
"__esModule"
,{
value
:
!
0
});
var
n
=
e
(
"bzW+"
),
i
=
e
(
"Qie6"
),
o
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
380
+
"px"
,
appName
:
"指标管理"
,
activeSelTab
:
"1"
,
activeTab
:
"1"
,
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"指标管理"
,
path
:
""
}],
tabListData
:[{
tabId
:
"1"
,
tabName
:
"月指标"
,
icon
:
"iconzhibiao"
},{
tabId
:
"2"
,
tabName
:
"月指标任务"
,
icon
:
"iconrenwu"
}],
activeBrand
:
""
,
activeGroup
:
""
}},
computed
:{},
methods
:{
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
selectBrandId
:
function
(
t
,
a
){
this
.
activeBrand
=
t
,
this
.
activeGroup
=
a
},
setSelectTab
:
function
(
t
){
switch
(
this
.
activeTab
=
t
.
tabId
,
t
.
tabId
){
case
"1"
:
this
.
changeRoute
(
"monthList"
);
break
;
case
"2"
:
this
.
changeRoute
(
"monthTask"
)}},
showTab
:
function
(
t
){
this
.
activeTab
=
t
,
this
.
activeSelTab
=
t
,
this
.
tabListData
.
forEach
(
function
(
a
){
a
.
tabId
==
t
&&
(
a
.
onlyIconActive
=!
1
),
a
.
children
&&
a
.
children
.
forEach
(
function
(
e
){
e
.
tabId
==
t
&&
(
a
.
onlyIconActive
=!
0
),
e
.
children
&&
e
.
children
.
forEach
(
function
(
e
){
e
.
tabId
==
t
&&
(
a
.
onlyIconActive
=!
0
)})})})},
changeNavShow
:
function
(
t
){
"/storeMonthTask"
==
t
.
path
?
this
.
navpath
=
[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"指标管理"
,
path
:
"/monthList"
},{
name
:
"门店月指标"
,
path
:
""
}]:
"/salerMonthDetail"
==
t
.
path
?
this
.
navpath
=
[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"指标管理"
,
path
:
"/monthList"
},{
name
:
"门店月指标"
,
path
:
"storeMonthTask?yearMonth="
+
this
.
$route
.
query
.
yearMonth
},{
name
:
"导购月指标详情"
,
path
:
""
}]:
"/companyDaySet"
==
t
.
path
?
this
.
navpath
=
[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"指标管理"
,
path
:
"/monthList"
},{
name
:
"门店月指标"
,
path
:
"storeMonthTask?yearMonth="
+
this
.
$route
.
query
.
yearMonth
},{
name
:
"商户日权重"
,
path
:
""
}]:
this
.
navpath
=
[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"指标管理"
,
path
:
""
}]}},
watch
:{
$route
:{
handler
:
function
(
t
,
a
){
this
.
changeNavShow
(
t
)},
deep
:
!
0
},
activeBrand
:
function
(
t
,
a
){
this
.
activeBrand
=
t
},
activeGroup
:
function
(
t
,
a
){
this
.
activeGroup
=
t
}},
mounted
:
function
(){
this
.
changeNavShow
(
this
.
$route
),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
navCrumb
:
n
.
a
,
commonDetailLeft
:
i
.
a
}},
c
=
{
render
:
function
(){
var
t
=
this
,
a
=
t
.
$createElement
,
e
=
t
.
_self
.
_c
||
a
;
return
e
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
e
(
"nav-crumb"
,{
attrs
:{
navpath
:
t
.
navpath
},
on
:{
selectBrandId
:
t
.
selectBrandId
}}),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"right-content"
},[
e
(
"div"
,{
staticClass
:
"right-box"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 112px)"
}},[
e
(
"div"
,{
staticClass
:
"apps-content flex"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 112px)"
}},[
e
(
"div"
,{
staticClass
:
"apps-content-left w-157"
},[
e
(
"common-detail-left"
,{
attrs
:{
tabListData
:
t
.
tabListData
,
activeSelTab
:
t
.
activeSelTab
},
on
:{
setSelectTab
:
t
.
setSelectTab
}})],
1
),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"apps-content-right"
},[
e
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
t
.
$route
.
meta
.
keepAlive
?
e
(
"keep-alive"
,[
e
(
"router-view"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
activeGroupId
:
t
.
activeGroup
,
tabType
:
t
.
activeTab
},
on
:{
showTab
:
t
.
showTab
}})],
1
):
e
(
"router-view"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
activeGroupId
:
t
.
activeGroup
,
tabType
:
t
.
activeTab
},
on
:{
showTab
:
t
.
showTab
}})],
1
)],
1
)])])])],
1
)},
staticRenderFns
:[]};
var
h
=
e
(
"VU/8"
)(
o
,
c
,
!
1
,
function
(
t
){
e
(
"3BM/"
)},
"data-v-9571d74a"
,
null
);
a
.
default
=
h
.
exports
}});
webpackJsonp
([
28
],{
"3BM/"
:
function
(
t
,
a
){},
qSX4
:
function
(
t
,
a
,
e
){
"use strict"
;
Object
.
defineProperty
(
a
,
"__esModule"
,{
value
:
!
0
});
var
n
=
e
(
"bzW+"
),
i
=
e
(
"Qie6"
),
o
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
380
+
"px"
,
appName
:
"指标管理"
,
activeSelTab
:
"1"
,
activeTab
:
"1"
,
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"指标管理"
,
path
:
""
}],
tabListData
:[{
tabId
:
"1"
,
tabName
:
"月指标"
,
icon
:
"iconzhibiao"
},{
tabId
:
"2"
,
tabName
:
"月指标任务"
,
icon
:
"iconrenwu"
}],
activeBrand
:
""
,
activeGroup
:
""
}},
computed
:{},
methods
:{
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
selectBrandId
:
function
(
t
,
a
){
this
.
activeBrand
=
t
,
this
.
activeGroup
=
a
},
setSelectTab
:
function
(
t
){
switch
(
this
.
activeTab
=
t
.
tabId
,
t
.
tabId
){
case
"1"
:
this
.
changeRoute
(
"monthList"
);
break
;
case
"2"
:
this
.
changeRoute
(
"monthTask"
)}},
showTab
:
function
(
t
){
this
.
activeTab
=
t
,
this
.
activeSelTab
=
t
,
this
.
tabListData
.
forEach
(
function
(
a
){
a
.
tabId
==
t
&&
(
a
.
onlyIconActive
=!
1
),
a
.
children
&&
a
.
children
.
forEach
(
function
(
e
){
e
.
tabId
==
t
&&
(
a
.
onlyIconActive
=!
0
),
e
.
children
&&
e
.
children
.
forEach
(
function
(
e
){
e
.
tabId
==
t
&&
(
a
.
onlyIconActive
=!
0
)})})})},
changeNavShow
:
function
(
t
){
"/storeMonthTask"
==
t
.
path
?
this
.
navpath
=
[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"指标管理"
,
path
:
"/monthList"
},{
name
:
"门店月指标"
,
path
:
""
}]:
"/salerMonthDetail"
==
t
.
path
?
this
.
navpath
=
[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"指标管理"
,
path
:
"/monthList"
},{
name
:
"门店月指标"
,
path
:
"storeMonthTask?yearMonth="
+
this
.
$route
.
query
.
yearMonth
},{
name
:
"导购月指标详情"
,
path
:
""
}]:
"/companyDaySet"
==
t
.
path
?
this
.
navpath
=
[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"指标管理"
,
path
:
"/monthList"
},{
name
:
"门店月指标"
,
path
:
"storeMonthTask?yearMonth="
+
this
.
$route
.
query
.
yearMonth
},{
name
:
"商户日权重"
,
path
:
""
}]:
this
.
navpath
=
[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"指标管理"
,
path
:
""
}]}},
watch
:{
$route
:{
handler
:
function
(
t
,
a
){
this
.
changeNavShow
(
t
)},
deep
:
!
0
},
activeBrand
:
function
(
t
,
a
){
this
.
activeBrand
=
t
},
activeGroup
:
function
(
t
,
a
){
this
.
activeGroup
=
t
}},
mounted
:
function
(){
this
.
changeNavShow
(
this
.
$route
),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
navCrumb
:
n
.
a
,
commonDetailLeft
:
i
.
a
}},
c
=
{
render
:
function
(){
var
t
=
this
,
a
=
t
.
$createElement
,
e
=
t
.
_self
.
_c
||
a
;
return
e
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
e
(
"nav-crumb"
,{
attrs
:{
navpath
:
t
.
navpath
},
on
:{
selectBrandId
:
t
.
selectBrandId
}}),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"right-content"
},[
e
(
"div"
,{
staticClass
:
"right-box"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 112px)"
}},[
e
(
"div"
,{
staticClass
:
"apps-content flex"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 112px)"
}},[
e
(
"div"
,{
staticClass
:
"apps-content-left w-157"
},[
e
(
"common-detail-left"
,{
attrs
:{
tabListData
:
t
.
tabListData
,
activeSelTab
:
t
.
activeSelTab
},
on
:{
setSelectTab
:
t
.
setSelectTab
}})],
1
),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"apps-content-right"
},[
e
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
t
.
$route
.
meta
.
keepAlive
?
e
(
"keep-alive"
,[
e
(
"router-view"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
activeGroupId
:
t
.
activeGroup
,
tabType
:
t
.
activeTab
},
on
:{
showTab
:
t
.
showTab
}})],
1
):
e
(
"router-view"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
activeGroupId
:
t
.
activeGroup
,
tabType
:
t
.
activeTab
},
on
:{
showTab
:
t
.
showTab
}})],
1
)],
1
)])])])],
1
)},
staticRenderFns
:[]};
var
h
=
e
(
"VU/8"
)(
o
,
c
,
!
1
,
function
(
t
){
e
(
"3BM/"
)},
"data-v-9571d74a"
,
null
);
a
.
default
=
h
.
exports
}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/
30.6e3dad3ed142df770d0e
.js
→
dist/static/js/
29.cebf604cf1225f47e634
.js
View file @
bff2a8b1
webpackJsonp
([
30
],{
H3Rw
:
function
(
e
,
t
){},
ak3k
:
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
(
"/customReportSet"
)},
handleCopy
:
function
(
e
,
t
){
this
.
changeRouter
(
"/customReportSet?templateId="
+
t
.
dailyReportTemplateId
+
"&type=copy"
)},
handleEdit
:
function
(
e
,
t
){
this
.
changeRouter
(
"/customReportSet?&templateId="
+
t
.
dailyReportTemplateId
+
"&type=edit"
)},
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
.
d
)(
"/haoban-app-daily-three-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
.
d
)(
"/haoban-app-daily-three-web/daily/list-define-template"
,{
enterpriseId
:
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"
,
"32"
),
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
(
"div"
,{
staticClass
:
"custom-set-content border-box"
},[
a
(
"div"
,{
staticClass
:
"flex flex-space-between flex-pack-center m-b-23"
},[
a
(
"div"
,{
staticClass
:
"custom-set-title flex flex-pack-center"
}),
e
.
_v
(
" "
),
a
(
"div"
,[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
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"
},
on
:{
click
:
function
(
a
){
e
.
handleCopy
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"复制"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
handleEdit
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"编辑"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
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
(
"H3Rw"
)},
"data-v-866cc2c0"
,
null
);
t
.
default
=
u
.
exports
}});
webpackJsonp
([
29
],{
H3Rw
:
function
(
e
,
t
){},
ak3k
:
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
(
"/customReportSet"
)},
handleCopy
:
function
(
e
,
t
){
this
.
changeRouter
(
"/customReportSet?templateId="
+
t
.
dailyReportTemplateId
+
"&type=copy"
)},
handleEdit
:
function
(
e
,
t
){
this
.
changeRouter
(
"/customReportSet?&templateId="
+
t
.
dailyReportTemplateId
+
"&type=edit"
)},
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
.
d
)(
"/haoban-app-daily-three-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
.
d
)(
"/haoban-app-daily-three-web/daily/list-define-template"
,{
enterpriseId
:
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"
,
"32"
),
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
(
"div"
,{
staticClass
:
"custom-set-content border-box"
},[
a
(
"div"
,{
staticClass
:
"flex flex-space-between flex-pack-center m-b-23"
},[
a
(
"div"
,{
staticClass
:
"custom-set-title flex flex-pack-center"
}),
e
.
_v
(
" "
),
a
(
"div"
,[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
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"
},
on
:{
click
:
function
(
a
){
e
.
handleCopy
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"复制"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
handleEdit
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"编辑"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
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
(
"H3Rw"
)},
"data-v-866cc2c0"
,
null
);
t
.
default
=
u
.
exports
}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/3
1.963d650c22609bb350cc
.js
→
dist/static/js/3
0.d27ad420bde5d91622bf
.js
View file @
bff2a8b1
webpackJsonp
([
31
],{
EErG
:
function
(
e
,
a
){},
tF0P
:
function
(
e
,
a
,
t
){
"use strict"
;
Object
.
defineProperty
(
a
,
"__esModule"
,{
value
:
!
0
});
var
o
=
t
(
"mvHQ"
),
r
=
t
.
n
(
o
),
i
=
t
(
"l46T"
),
s
=
t
(
"Kkt8"
),
n
=
t
(
"P9l9"
),
l
=
t
(
"3E4D"
),
m
=
t
(
"Ch4/"
),
p
=
t
(
"PI0u"
),
c
=
{
name
:
"chat-log"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
activeGroupId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
components
:{
limitInput
:
i
.
a
,
limitTextarea
:
s
.
a
},
data
:
function
(){
return
{
activeBrand
:
this
.
brandId
,
activeGroup
:
this
.
activeGroupId
,
activeId
:
"3"
,
commitName
:
localStorage
.
getItem
(
"userInfos"
)
&&
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
staffDTO
?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
staffDTO
.
staffName
:
""
,
wxEnterpriseId
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
formData
:{
templateId
:
""
,
templateName
:
""
,
cardType
:
"0"
,
cardApplicationChannel
:[
"offlineStore"
],
erpDemoCode
:
""
,
cardColor
:
"#2f54eb"
,
cardDenomination
:
"1"
,
minGoodsType
:
"0"
,
minApplicableGoods
:
"1"
,
maxGoodsType
:
"0"
,
maxApplicableGoods
:
"1"
,
useCondition
:{
sale_limit
:{
fee
:
1
},
goods
:{
ok
:
""
,
no
:
""
},
only
:
1
,
discount_amount_upper_limit
:
0
,
goods_discounts_number_upper_limit
:
"1"
,
goods_discounts_number_lower_limit
:
"1"
},
limitTopType
:
"0"
,
limitTop
:
0
,
minCostCheck
:
!
1
,
minCost
:
"1"
,
shareCheck
:
!
1
,
fitGoodCheck
:
!
1
,
fitGoodDes
:
""
,
noFitGoodDes
:
""
,
cardLimitType
:
"0"
,
cardLimit
:
"1"
,
costValue
:
"1"
,
useCustomCode
:
"0"
,
cardExplain
:
""
,
applicationStoreType
:
"1"
,
useDescript
:
""
,
gicEnterpriseId
:
""
},
rules
:{
templateName
:[{
required
:
!
0
,
message
:
"请输入模板名称"
,
trigger
:
"blur"
}],
cardApplicationChannel
:[{
type
:
"array"
,
required
:
!
0
,
message
:
"请至少选择一个卡券适用渠道"
,
trigger
:
"change"
}],
cardDenomination
:[{
required
:
!
0
,
message
:
"请输入减免金额"
,
trigger
:
"blur"
}],
costValue
:[{
required
:
!
0
,
message
:
"请输入成本费用"
,
trigger
:
"blur"
}],
cardExplain
:[{
required
:
!
0
,
message
:
"请输入适用门店说明"
,
trigger
:
"blur"
}],
applicationStoreType
:[{
required
:
!
0
,
message
:
"请选择适用门店"
,
trigger
:
"change"
}],
useDescript
:[{
required
:
!
0
,
message
:
"请输入使用说明"
,
trigger
:
"blur"
}],
gicEnterpriseId
:[{
required
:
!
0
,
message
:
"请选择商户"
,
trigger
:
"change"
}]},
cardSelectShow
:
!
1
,
brandListData
:[],
chanelList
:[]}},
methods
:{
changeEnterprise
:
function
(){
this
.
formData
.
cardApplicationChannel
=
[],
this
.
getChanel
()},
getChanel
:
function
(){
var
e
=
this
,
a
=
{
gicEnterpriseId
:
e
.
formData
.
gicEnterpriseId
};
Object
(
n
.
a
)(
"/haoban-app-customer-web/inner/get-channel-type"
,
a
).
then
(
function
(
a
){
var
t
=
a
.
data
;
return
1
==
t
.
errorCode
&&
(
e
.
chanelList
=
t
.
result
||
[],
t
.
result
.
length
&&!
e
.
$route
.
query
.
templateId
&&
(
e
.
formData
.
cardApplicationChannel
=
[
t
.
result
[
0
].
value
])),
!
1
}).
catch
(
function
(
a
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
a
.
message
})})},
changeTop
:
function
(
e
){
0
==
e
&&
(
this
.
formData
.
limitTop
=
0
)},
cancelEdit
:
function
(){
var
e
=
this
;
e
.
$confirm
(
"是否确认返回,返回后当前页面内容将丢失"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
e
.
$router
.
go
(
-
1
)}).
catch
(
function
(){})},
submitForm
:
Object
(
p
.
a
)(
function
(
e
,
a
){
var
t
=
this
;
return
t
.
formData
.
fitGoodCheck
&&!
t
.
formData
.
fitGoodDes
&&
t
.
formData
.
noFitGoodDes
?(
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
"适用商品至少填写一项"
}),
!
1
):
t
.
formData
.
minCostCheck
&&!
t
.
formData
.
minCost
?(
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请输入最低消费"
}),
!
1
):
1
!=
t
.
formData
.
limitTopType
||
t
.
formData
.
limitTop
?
1
!=
t
.
formData
.
minGoodsType
||
t
.
formData
.
minApplicableGoods
?
1
!=
t
.
formData
.
maxGoodsType
||
t
.
formData
.
maxApplicableGoods
?
2
!=
t
.
formData
.
cardLimitType
||
t
.
formData
.
cardLimit
?
void
t
.
$refs
[
e
].
validate
(
function
(
e
){
e
&&
t
.
postSaveCard
(
a
)}):(
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请输入领券限制"
}),
!
1
):(
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请输入最高适用商品件数"
}),
!
1
):(
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请输入最低适用商品件数"
}),
!
1
):(
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请输入封顶金额"
}),
!
1
)},
1
e3
),
postSaveCard
:
function
(
e
){
var
a
=
this
,
t
=
{
sale_limit
:{
fee
:
0
},
goods
:{
ok
:
a
.
formData
.
fitGoodDes
,
no
:
a
.
formData
.
noFitGoodDes
},
only
:
a
.
formData
.
shareCheck
?
1
:
0
,
discount_amount_upper_limit
:
1
==
a
.
formData
.
cardType
&&
1
==
a
.
formData
.
limitTopType
?
a
.
formData
.
limitTop
:
0
,
goods_discounts_number_lower_limit
:
1
==
a
.
formData
.
minGoodsType
?
a
.
formData
.
minApplicableGoods
:
0
,
goods_discounts_number_upper_limit
:
1
==
a
.
formData
.
maxGoodsType
?
a
.
formData
.
maxApplicableGoods
:
0
};
a
.
formData
.
minCostCheck
&&
(
t
.
sale_limit
=
{
fee
:
a
.
formData
.
minCost
});
var
o
=
{
templateId
:
a
.
formData
.
templateId
,
templateName
:
a
.
formData
.
templateName
,
cardType
:
a
.
formData
.
cardType
,
cardApplicationChannel
:
a
.
formData
.
cardApplicationChannel
.
join
(
","
),
erpDemoCode
:
a
.
formData
.
erpDemoCode
,
cardColor
:
a
.
formData
.
cardColor
,
cardDenomination
:
a
.
formData
.
cardDenomination
,
minGoodsType
:
a
.
formData
.
minGoodsType
,
minApplicableGoods
:
a
.
formData
.
minApplicableGoods
,
maxGoodsType
:
a
.
formData
.
maxGoodsType
,
maxApplicableGoods
:
a
.
formData
.
maxApplicableGoods
,
limitTopType
:
a
.
formData
.
limitTopType
,
limitTop
:
a
.
formData
.
limitTop
,
useCondition
:
r
()(
t
),
cardLimitType
:
a
.
formData
.
cardLimitType
,
cardLimit
:
a
.
formData
.
cardLimit
,
costValue
:
a
.
formData
.
costValue
,
useCustomCode
:
a
.
formData
.
useCustomCode
,
cardExplain
:
a
.
formData
.
cardExplain
,
applicationStoreType
:
a
.
formData
.
applicationStoreType
,
useDescript
:
a
.
formData
.
useDescript
,
gicEnterpriseId
:
a
.
formData
.
gicEnterpriseId
,
commitName
:
a
.
commitName
,
wxEnterpriseId
:
a
.
wxEnterpriseId
};
Object
(
n
.
d
)((
a
.
$route
.
query
.
templateId
,
"/haoban-app-customer-web/inner/save-template"
),
o
).
then
(
function
(
t
){
var
o
=
t
.
data
;
1
==
o
.
errorCode
&&
(
l
.
a
.
showmsg
(
a
.
$route
.
query
.
templateId
?
"编辑卡券模板成功"
:
"新建卡券模板成功"
,
"success"
),
e
?(
a
.
formData
=
{
templateId
:
""
,
templateName
:
""
,
cardType
:
"0"
,
cardApplicationChannel
:[],
erpDemoCode
:
""
,
cardColor
:
"#2f54eb"
,
cardDenomination
:
"1"
,
minGoodsType
:
"0"
,
minApplicableGoods
:
"1"
,
maxGoodsType
:
"0"
,
maxApplicableGoods
:
"1"
,
useCondition
:{
sale_limit
:{
fee
:
1
},
goods
:{
ok
:
""
,
no
:
""
},
only
:
1
,
discount_amount_upper_limit
:
0
,
goods_discounts_number_upper_limit
:
"1"
,
goods_discounts_number_lower_limit
:
"1"
},
limitTopType
:
"0"
,
limitTop
:
0
,
minCostCheck
:
!
1
,
minCost
:
"1"
,
shareCheck
:
!
1
,
fitGoodCheck
:
!
1
,
fitGoodDes
:
""
,
noFitGoodDes
:
""
,
cardLimitType
:
"0"
,
cardLimit
:
"1"
,
costValue
:
"1"
,
useCustomCode
:
"0"
,
cardExplain
:
""
,
applicationStoreType
:
"1"
,
useDescript
:
""
,
gicEnterpriseId
:
a
.
brandListData
[
0
].
enterpriseId
},
a
.
getChanel
()):
a
.
$router
.
push
(
"/cardTemplate"
)),
m
.
a
.
errorMsg
(
o
)}).
catch
(
function
(
e
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
toReturn
:
function
(){
var
e
=
this
;
e
.
$confirm
(
"是否确认返回,返回后当前页面内容将丢失"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
e
.
$router
.
push
(
"/cardTemplate"
)}).
catch
(
function
(){})},
changeRange
:
function
(
e
){
this
.
formData
.
selectList
=
[]},
getCardData
:
function
(){
var
e
=
this
,
a
=
{
templateId
:
e
.
$route
.
query
.
templateId
};
Object
(
n
.
a
)(
"/haoban-app-customer-web/inner/find-template"
,
a
).
then
(
function
(
a
){
var
t
=
a
.
data
;
if
(
1
==
t
.
errorCode
){
var
o
=
JSON
.
parse
(
t
.
result
.
useCondition
);
return
e
.
formData
=
{
templateId
:
t
.
result
.
templateId
,
templateName
:
t
.
result
.
templateName
,
cardType
:
String
(
t
.
result
.
cardType
),
cardApplicationChannel
:
t
.
result
.
cardApplicationChannel
.
split
(
","
)
||
[],
erpDemoCode
:
t
.
result
.
erpDemoCode
,
cardColor
:
t
.
result
.
cardColor
,
cardDenomination
:
t
.
result
.
cardDenomination
,
limitTopType
:
String
(
t
.
result
.
limitTopType
),
limitTop
:
t
.
result
.
limitTop
,
minGoodsType
:
String
(
t
.
result
.
minGoodsType
),
minApplicableGoods
:
t
.
result
.
minApplicableGoods
,
maxGoodsType
:
String
(
t
.
result
.
maxGoodsType
),
maxApplicableGoods
:
t
.
result
.
maxApplicableGoods
,
minCostCheck
:
!!
o
.
sale_limit
.
fee
,
minCost
:
o
.
sale_limit
.
fee
?
o
.
sale_limit
.
fee
:
"1"
,
shareCheck
:
!!
o
.
only
,
fitGoodCheck
:
!
(
!
o
.
goods
.
ok
&&!
o
.
goods
.
no
),
fitGoodDes
:
o
.
goods
.
ok
,
noFitGoodDes
:
o
.
goods
.
no
,
cardLimitType
:
String
(
t
.
result
.
cardLimitType
),
cardLimit
:
t
.
result
.
cardLimit
,
costValue
:
t
.
result
.
costValue
,
useCustomCode
:
String
(
t
.
result
.
useCustomCode
),
cardExplain
:
t
.
result
.
cardExplain
,
applicationStoreType
:
String
(
t
.
result
.
applicationStoreType
),
useDescript
:
t
.
result
.
useDescript
,
gicEnterpriseId
:
t
.
result
.
gicEnterpriseId
},
e
.
getChanel
(),
!
1
}
m
.
a
.
errorMsg
(
t
)}).
catch
(
function
(
a
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
a
.
message
})})},
getBrandData
:
function
(){
var
e
=
this
;
Object
(
n
.
d
)(
"/haoban-manage3-web/wx-enterprise-list"
,{}).
then
(
function
(
a
){
var
t
=
a
.
data
;
if
(
1
==
t
.
errorCode
)
return
e
.
brandListData
=
t
.
result
||
[],
void
(
t
.
result
.
length
&&!
e
.
$route
.
query
.
templateId
&&
(
e
.
formData
.
gicEnterpriseId
=
t
.
result
[
0
].
enterpriseId
,
e
.
getChanel
()));
m
.
a
.
errorMsg
(
t
)}).
catch
(
function
(
a
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
a
.
message
})})}},
watch
:{
brandId
:
function
(
e
,
a
){
e
&&
this
.
$route
.
query
.
templateId
&&
(
this
.
activeBrand
=
e
)},
activeGroupId
:
function
(
e
,
a
){
e
&&
(
this
.
activeGroup
=
e
)}},
mounted
:
function
(){
var
e
=
this
;
e
.
$emit
(
"showTab"
,
"1"
),
e
.
getBrandData
(),
e
.
$route
.
query
.
templateId
&&
e
.
$nextTick
(
function
(){
e
.
getCardData
()})}},
d
=
{
render
:
function
(){
var
e
=
this
,
a
=
e
.
$createElement
,
t
=
e
.
_self
.
_c
||
a
;
return
t
(
"section"
,{
staticClass
:
"common-right-wrap"
},[
t
(
"div"
,{
staticClass
:
"new-card-body border-box"
},[
t
(
"el-form"
,{
ref
:
"ruleForm"
,
staticClass
:
"demo-ruleForm"
,
attrs
:{
model
:
e
.
formData
,
rules
:
e
.
rules
,
"label-width"
:
"142px"
}},[
t
(
"el-form-item"
,{
attrs
:{
label
:
"卡券模板名称"
,
prop
:
"templateName"
}},[
t
(
"limitInput"
,{
attrs
:{
inputWidth
:
307
,
inputValue
:
e
.
formData
.
templateName
,
getByType
:
"word"
,
holder
:
"请输入卡券模板名称"
,
maxLength
:
6
},
on
:{
"update:inputValue"
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"templateName"
,
a
)}}})],
1
),
e
.
_v
(
" "
),
t
(
"el-form-item"
,{
attrs
:{
label
:
"卡券类型"
,
prop
:
"cardType"
}},[
t
(
"el-radio"
,{
attrs
:{
label
:
"0"
},
model
:{
value
:
e
.
formData
.
cardType
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"cardType"
,
a
)},
expression
:
"formData.cardType"
}},[
e
.
_v
(
"抵金券"
)]),
e
.
_v
(
" "
),
t
(
"el-radio"
,{
attrs
:{
label
:
"1"
},
model
:{
value
:
e
.
formData
.
cardType
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"cardType"
,
a
)},
expression
:
"formData.cardType"
}},[
e
.
_v
(
"折扣券"
)])],
1
),
e
.
_v
(
" "
),
t
(
"el-form-item"
,{
attrs
:{
label
:
"选择商户"
,
prop
:
"gicEnterpriseId"
}},[
t
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
e
.
changeEnterprise
},
model
:{
value
:
e
.
formData
.
gicEnterpriseId
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"gicEnterpriseId"
,
a
)},
expression
:
"formData.gicEnterpriseId"
}},
e
.
_l
(
e
.
brandListData
,
function
(
e
){
return
t
(
"el-option"
,{
key
:
e
.
enterpriseId
,
attrs
:{
label
:
e
.
enterpriseName
,
value
:
e
.
enterpriseId
}})}))],
1
),
e
.
_v
(
" "
),
t
(
"el-form-item"
,{
attrs
:{
label
:
"卡券适用渠道"
,
prop
:
"cardApplicationChannel"
}},[
t
(
"el-checkbox-group"
,{
model
:{
value
:
e
.
formData
.
cardApplicationChannel
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"cardApplicationChannel"
,
a
)},
expression
:
"formData.cardApplicationChannel"
}},
e
.
_l
(
e
.
chanelList
,
function
(
a
,
o
){
return
t
(
"el-checkbox"
,{
key
:
o
+
"chanel"
,
attrs
:{
label
:
a
.
value
}},[
e
.
_v
(
e
.
_s
(
a
.
name
))])}))],
1
),
e
.
_v
(
" "
),
t
(
"el-form-item"
,{
attrs
:{
label
:
"demo券号"
,
prop
:
"erpDemoCode"
}},[
t
(
"limitInput"
,{
attrs
:{
inputWidth
:
307
,
inputValue
:
e
.
formData
.
erpDemoCode
,
getByType
:
"word"
,
holder
:
"请输入demo券号"
,
maxLength
:
200
},
on
:{
"update:inputValue"
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"erpDemoCode"
,
a
)}}})],
1
),
e
.
_v
(
" "
),
t
(
"el-form-item"
,{
attrs
:{
label
:
"卡券颜色"
,
prop
:
"cardColor"
}},[
t
(
"div"
,{
staticClass
:
"card-color flex flex-space-between"
},[
t
(
"span"
,[
e
.
_v
(
e
.
_s
(
e
.
formData
.
cardColor
))]),
e
.
_v
(
" "
),
t
(
"el-color-picker"
,{
model
:{
value
:
e
.
formData
.
cardColor
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"cardColor"
,
a
)},
expression
:
"formData.cardColor"
}})],
1
)]),
e
.
_v
(
" "
),
0
==
e
.
formData
.
cardType
?
t
(
"el-form-item"
,{
attrs
:{
label
:
"减免金额"
,
prop
:
"cardDenomination"
}},[
t
(
"el-input-number"
,{
attrs
:{
"controls-position"
:
"right"
,
min
:
1
,
max
:
99999999
},
model
:{
value
:
e
.
formData
.
cardDenomination
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"cardDenomination"
,
a
)},
expression
:
"formData.cardDenomination"
}}),
t
(
"span"
,{
staticClass
:
"font-14 color-303133 p-l-10"
},[
e
.
_v
(
"元"
)]),
t
(
"span"
,{
staticClass
:
"font-12 color-909399 p-l-10"
},[
e
.
_v
(
"输入大于0的整数"
)])],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
1
==
e
.
formData
.
cardType
?
t
(
"el-form-item"
,{
attrs
:{
label
:
"折扣额度"
,
prop
:
"cardDenomination"
}},[
t
(
"el-input-number"
,{
attrs
:{
"controls-position"
:
"right"
,
precision
:
1
,
min
:
1
,
max
:
9.9
,
step
:.
1
},
model
:{
value
:
e
.
formData
.
cardDenomination
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"cardDenomination"
,
a
)},
expression
:
"formData.cardDenomination"
}}),
t
(
"span"
,{
staticClass
:
"font-14 color-303133 p-l-10"
},[
e
.
_v
(
"折"
)]),
t
(
"span"
,{
staticClass
:
"font-12 color-909399 p-l-10"
},[
e
.
_v
(
"请填写1-9.9之间的数字"
)])],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
1
==
e
.
formData
.
cardType
?
t
(
"el-form-item"
,{
attrs
:{
label
:
"优惠金额封顶"
,
prop
:
""
}},[
t
(
"el-radio"
,{
attrs
:{
label
:
"0"
},
on
:{
change
:
e
.
changeTop
},
model
:{
value
:
e
.
formData
.
limitTopType
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"limitTopType"
,
a
)},
expression
:
"formData.limitTopType"
}},[
e
.
_v
(
"不封顶"
)]),
e
.
_v
(
" "
),
t
(
"el-radio"
,{
attrs
:{
label
:
"1"
},
model
:{
value
:
e
.
formData
.
limitTopType
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"limitTopType"
,
a
)},
expression
:
"formData.limitTopType"
}},[
e
.
_v
(
"限制封顶"
)]),
1
==
e
.
formData
.
limitTopType
?
t
(
"el-input-number"
,{
attrs
:{
"controls-position"
:
"right"
,
precision
:
2
,
min
:
1
,
max
:
99999999
},
model
:{
value
:
e
.
formData
.
limitTop
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"limitTop"
,
a
)},
expression
:
"formData.limitTop"
}}):
e
.
_e
(),
e
.
_v
(
" "
),
1
==
e
.
formData
.
limitTopType
?
t
(
"span"
,{
staticClass
:
"font-14 color-303133 p-l-10"
},[
e
.
_v
(
"元"
)]):
e
.
_e
()],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
t
(
"el-form-item"
,{
attrs
:{
label
:
"最低适用商品件数"
,
prop
:
"minGoodsType"
}},[
t
(
"el-radio"
,{
attrs
:{
label
:
"0"
},
model
:{
value
:
e
.
formData
.
minGoodsType
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"minGoodsType"
,
a
)},
expression
:
"formData.minGoodsType"
}},[
e
.
_v
(
"不限"
)]),
e
.
_v
(
" "
),
t
(
"el-radio"
,{
attrs
:{
label
:
"1"
},
model
:{
value
:
e
.
formData
.
minGoodsType
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"minGoodsType"
,
a
)},
expression
:
"formData.minGoodsType"
}},[
e
.
_v
(
"限制"
)]),
1
==
e
.
formData
.
minGoodsType
?
t
(
"el-input-number"
,{
attrs
:{
"controls-position"
:
"right"
,
min
:
1
,
max
:
99999999
},
model
:{
value
:
e
.
formData
.
minApplicableGoods
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"minApplicableGoods"
,
a
)},
expression
:
"formData.minApplicableGoods"
}}):
e
.
_e
(),
e
.
_v
(
" "
),
1
==
e
.
formData
.
minGoodsType
?
t
(
"span"
,{
staticClass
:
"font-14 color-303133 p-l-10"
},[
e
.
_v
(
"件"
)]):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
t
(
"el-form-item"
,{
attrs
:{
label
:
"最高适用商品件数"
,
prop
:
"maxGoodsType"
}},[
t
(
"el-radio"
,{
attrs
:{
label
:
"0"
},
model
:{
value
:
e
.
formData
.
maxGoodsType
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"maxGoodsType"
,
a
)},
expression
:
"formData.maxGoodsType"
}},[
e
.
_v
(
"不限"
)]),
e
.
_v
(
" "
),
t
(
"el-radio"
,{
attrs
:{
label
:
"1"
},
model
:{
value
:
e
.
formData
.
maxGoodsType
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"maxGoodsType"
,
a
)},
expression
:
"formData.maxGoodsType"
}},[
e
.
_v
(
"限制"
)]),
1
==
e
.
formData
.
maxGoodsType
?
t
(
"el-input-number"
,{
attrs
:{
"controls-position"
:
"right"
,
min
:
1
,
max
:
99999999
},
model
:{
value
:
e
.
formData
.
maxApplicableGoods
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"maxApplicableGoods"
,
a
)},
expression
:
"formData.maxApplicableGoods"
}}):
e
.
_e
(),
e
.
_v
(
" "
),
1
==
e
.
formData
.
maxGoodsType
?
t
(
"span"
,{
staticClass
:
"font-14 color-303133 p-l-10"
},[
e
.
_v
(
"件"
)]):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
t
(
"el-form-item"
,{
attrs
:{
label
:
"适用条件"
,
prop
:
"minCostCheck"
}},[
t
(
"div"
,[
t
(
"el-checkbox"
,{
model
:{
value
:
e
.
formData
.
minCostCheck
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"minCostCheck"
,
a
)},
expression
:
"formData.minCostCheck"
}},[
e
.
_v
(
"最低消费"
)]),
t
(
"el-input-number"
,{
staticClass
:
"m-l-10"
,
attrs
:{
"controls-position"
:
"right"
,
min
:
1
,
max
:
99999999
},
model
:{
value
:
e
.
formData
.
minCost
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"minCost"
,
a
)},
expression
:
"formData.minCost"
}}),
t
(
"span"
,{
staticClass
:
"font-14 color-303133 p-l-10"
},[
e
.
_v
(
"元可用"
)])],
1
),
e
.
_v
(
" "
),
t
(
"div"
,[
t
(
"el-checkbox"
,{
model
:{
value
:
e
.
formData
.
fitGoodCheck
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"fitGoodCheck"
,
a
)},
expression
:
"formData.fitGoodCheck"
}},[
e
.
_v
(
"适用商品"
)]),
t
(
"span"
,{
staticClass
:
"font-14 color-909399"
},[
e
.
_v
(
"(至少填写一项)"
)])],
1
),
e
.
_v
(
" "
),
e
.
formData
.
fitGoodCheck
?
t
(
"div"
,{
staticClass
:
"fit-good border-box m-b-20"
},[
t
(
"div"
,[
t
(
"div"
,{
staticClass
:
"m-b-20 flex"
},[
t
(
"span"
,{
staticClass
:
"font-14 color-606266 w-86 m-r-10"
},[
e
.
_v
(
"适用商品:"
)]),
t
(
"limitInput"
,{
attrs
:{
inputWidth
:
300
,
inputValue
:
e
.
formData
.
fitGoodDes
,
getByType
:
"word"
,
holder
:
"请输入内容"
,
maxLength
:
18
},
on
:{
"update:inputValue"
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"fitGoodDes"
,
a
)}}})],
1
),
e
.
_v
(
" "
),
t
(
"div"
,{
staticClass
:
"flex"
},[
t
(
"span"
,{
staticClass
:
"font-14 color-606266 w-86 m-r-10"
},[
e
.
_v
(
"不适用商品:"
)]),
t
(
"limitInput"
,{
attrs
:{
inputWidth
:
300
,
inputValue
:
e
.
formData
.
noFitGoodDes
,
getByType
:
"word"
,
holder
:
"请输入内容"
,
maxLength
:
18
},
on
:{
"update:inputValue"
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"noFitGoodDes"
,
a
)}}})],
1
)])]):
e
.
_e
(),
e
.
_v
(
" "
),
t
(
"div"
,[
t
(
"el-checkbox"
,{
model
:{
value
:
e
.
formData
.
shareCheck
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"shareCheck"
,
a
)},
expression
:
"formData.shareCheck"
}},[
e
.
_v
(
"不与其他优惠共享"
)])],
1
)]),
e
.
_v
(
" "
),
t
(
"el-form-item"
,{
attrs
:{
label
:
"领券限制"
,
prop
:
"cardLimitType"
}},[
t
(
"el-radio"
,{
attrs
:{
label
:
"0"
},
model
:{
value
:
e
.
formData
.
cardLimitType
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"cardLimitType"
,
a
)},
expression
:
"formData.cardLimitType"
}},[
e
.
_v
(
"1张/人"
)]),
e
.
_v
(
" "
),
t
(
"el-radio"
,{
attrs
:{
label
:
"1"
},
model
:{
value
:
e
.
formData
.
cardLimitType
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"cardLimitType"
,
a
)},
expression
:
"formData.cardLimitType"
}},[
e
.
_v
(
"100张/人"
)]),
e
.
_v
(
" "
),
t
(
"el-radio"
,{
attrs
:{
label
:
"2"
},
model
:{
value
:
e
.
formData
.
cardLimitType
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"cardLimitType"
,
a
)},
expression
:
"formData.cardLimitType"
}},[
e
.
_v
(
"自定义"
)]),
2
==
e
.
formData
.
cardLimitType
?
t
(
"el-input-number"
,{
attrs
:{
"controls-position"
:
"right"
,
min
:
1
,
max
:
99999999
},
model
:{
value
:
e
.
formData
.
cardLimit
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"cardLimit"
,
a
)},
expression
:
"formData.cardLimit"
}}):
e
.
_e
(),
e
.
_v
(
" "
),
2
==
e
.
formData
.
cardLimitType
?
t
(
"span"
,{
staticClass
:
"font-14 color-303133 p-l-10"
},[
e
.
_v
(
"张/人"
)]):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
t
(
"el-form-item"
,{
attrs
:{
label
:
"成本费用"
,
prop
:
"costValue"
}},[
t
(
"el-input-number"
,{
attrs
:{
"controls-position"
:
"right"
,
precision
:
2
,
min
:
1
,
max
:
99999999
},
model
:{
value
:
e
.
formData
.
costValue
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"costValue"
,
a
)},
expression
:
"formData.costValue"
}}),
t
(
"span"
,{
staticClass
:
"font-14 color-303133 p-l-10"
},[
e
.
_v
(
"元"
)]),
t
(
"span"
,{
staticClass
:
"font-12 color-909399 p-l-10"
},[
e
.
_v
(
"请填写大于0的数字(限制两位小数)"
)])],
1
),
e
.
_v
(
" "
),
t
(
"el-form-item"
,{
attrs
:{
label
:
"code类型"
,
prop
:
"useCustomCode"
}},[
t
(
"el-radio"
,{
attrs
:{
label
:
"0"
},
model
:{
value
:
e
.
formData
.
useCustomCode
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"useCustomCode"
,
a
)},
expression
:
"formData.useCustomCode"
}},[
e
.
_v
(
"随机生成"
)])],
1
),
e
.
_v
(
" "
),
t
(
"el-form-item"
,{
attrs
:{
label
:
"适用门店说明"
,
prop
:
"cardExplain"
}},[
t
(
"limit-textarea"
,{
attrs
:{
inputWidth
:
450
,
inputValue
:
e
.
formData
.
cardExplain
,
holder
:
"请输入适用门店说明"
,
getByType
:
"word"
,
maxLength
:
50
},
on
:{
"update:inputValue"
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"cardExplain"
,
a
)}}})],
1
),
e
.
_v
(
" "
),
t
(
"el-form-item"
,{
attrs
:{
label
:
"适用门店"
,
prop
:
"applicationStoreType"
}},[
t
(
"el-radio"
,{
attrs
:{
label
:
"1"
},
model
:{
value
:
e
.
formData
.
applicationStoreType
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"applicationStoreType"
,
a
)},
expression
:
"formData.applicationStoreType"
}},[
e
.
_v
(
"所有门店"
)])],
1
),
e
.
_v
(
" "
),
t
(
"el-form-item"
,{
attrs
:{
label
:
"使用说明"
,
prop
:
"useDescript"
}},[
t
(
"limit-textarea"
,{
attrs
:{
inputWidth
:
450
,
inputValue
:
e
.
formData
.
useDescript
,
holder
:
"请输入使用说明"
,
getByType
:
"word"
,
maxLength
:
500
},
on
:{
"update:inputValue"
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"useDescript"
,
a
)}}})],
1
),
e
.
_v
(
" "
),
t
(
"el-form-item"
,[
t
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
cancelEdit
}},[
e
.
_v
(
"取消"
)]),
e
.
_v
(
" "
),
t
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
a
){
e
.
submitForm
(
"ruleForm"
)}}},[
e
.
_v
(
"确认"
+
e
.
_s
(
e
.
$route
.
query
.
templateId
?
"编辑"
:
"新建"
))]),
e
.
_v
(
" "
),
e
.
$route
.
query
.
templateId
?
e
.
_e
():
t
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
a
){
e
.
submitForm
(
"ruleForm"
,
"flag"
)}}},[
e
.
_v
(
"确认并继续新建"
)])],
1
)],
1
)],
1
)])},
staticRenderFns
:[]};
var
u
=
t
(
"VU/8"
)(
c
,
d
,
!
1
,
function
(
e
){
t
(
"EErG"
)},
"data-v-7ea907ee"
,
null
);
a
.
default
=
u
.
exports
}});
webpackJsonp
([
30
],{
EErG
:
function
(
e
,
a
){},
tF0P
:
function
(
e
,
a
,
t
){
"use strict"
;
Object
.
defineProperty
(
a
,
"__esModule"
,{
value
:
!
0
});
var
o
=
t
(
"mvHQ"
),
r
=
t
.
n
(
o
),
i
=
t
(
"l46T"
),
s
=
t
(
"Kkt8"
),
n
=
t
(
"P9l9"
),
l
=
t
(
"3E4D"
),
m
=
t
(
"Ch4/"
),
p
=
t
(
"PI0u"
),
c
=
{
name
:
"chat-log"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
activeGroupId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
components
:{
limitInput
:
i
.
a
,
limitTextarea
:
s
.
a
},
data
:
function
(){
return
{
activeBrand
:
this
.
brandId
,
activeGroup
:
this
.
activeGroupId
,
activeId
:
"3"
,
commitName
:
localStorage
.
getItem
(
"userInfos"
)
&&
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
staffDTO
?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
staffDTO
.
staffName
:
""
,
wxEnterpriseId
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
formData
:{
templateId
:
""
,
templateName
:
""
,
cardType
:
"0"
,
cardApplicationChannel
:[
"offlineStore"
],
erpDemoCode
:
""
,
cardColor
:
"#2f54eb"
,
cardDenomination
:
"1"
,
minGoodsType
:
"0"
,
minApplicableGoods
:
"1"
,
maxGoodsType
:
"0"
,
maxApplicableGoods
:
"1"
,
useCondition
:{
sale_limit
:{
fee
:
1
},
goods
:{
ok
:
""
,
no
:
""
},
only
:
1
,
discount_amount_upper_limit
:
0
,
goods_discounts_number_upper_limit
:
"1"
,
goods_discounts_number_lower_limit
:
"1"
},
limitTopType
:
"0"
,
limitTop
:
0
,
minCostCheck
:
!
1
,
minCost
:
"1"
,
shareCheck
:
!
1
,
fitGoodCheck
:
!
1
,
fitGoodDes
:
""
,
noFitGoodDes
:
""
,
cardLimitType
:
"0"
,
cardLimit
:
"1"
,
costValue
:
"1"
,
useCustomCode
:
"0"
,
cardExplain
:
""
,
applicationStoreType
:
"1"
,
useDescript
:
""
,
gicEnterpriseId
:
""
},
rules
:{
templateName
:[{
required
:
!
0
,
message
:
"请输入模板名称"
,
trigger
:
"blur"
}],
cardApplicationChannel
:[{
type
:
"array"
,
required
:
!
0
,
message
:
"请至少选择一个卡券适用渠道"
,
trigger
:
"change"
}],
cardDenomination
:[{
required
:
!
0
,
message
:
"请输入减免金额"
,
trigger
:
"blur"
}],
costValue
:[{
required
:
!
0
,
message
:
"请输入成本费用"
,
trigger
:
"blur"
}],
cardExplain
:[{
required
:
!
0
,
message
:
"请输入适用门店说明"
,
trigger
:
"blur"
}],
applicationStoreType
:[{
required
:
!
0
,
message
:
"请选择适用门店"
,
trigger
:
"change"
}],
useDescript
:[{
required
:
!
0
,
message
:
"请输入使用说明"
,
trigger
:
"blur"
}],
gicEnterpriseId
:[{
required
:
!
0
,
message
:
"请选择商户"
,
trigger
:
"change"
}]},
cardSelectShow
:
!
1
,
brandListData
:[],
chanelList
:[]}},
methods
:{
changeEnterprise
:
function
(){
this
.
formData
.
cardApplicationChannel
=
[],
this
.
getChanel
()},
getChanel
:
function
(){
var
e
=
this
,
a
=
{
gicEnterpriseId
:
e
.
formData
.
gicEnterpriseId
};
Object
(
n
.
a
)(
"/haoban-app-customer-web/inner/get-channel-type"
,
a
).
then
(
function
(
a
){
var
t
=
a
.
data
;
return
1
==
t
.
errorCode
&&
(
e
.
chanelList
=
t
.
result
||
[],
t
.
result
.
length
&&!
e
.
$route
.
query
.
templateId
&&
(
e
.
formData
.
cardApplicationChannel
=
[
t
.
result
[
0
].
value
])),
!
1
}).
catch
(
function
(
a
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
a
.
message
})})},
changeTop
:
function
(
e
){
0
==
e
&&
(
this
.
formData
.
limitTop
=
0
)},
cancelEdit
:
function
(){
var
e
=
this
;
e
.
$confirm
(
"是否确认返回,返回后当前页面内容将丢失"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
e
.
$router
.
go
(
-
1
)}).
catch
(
function
(){})},
submitForm
:
Object
(
p
.
a
)(
function
(
e
,
a
){
var
t
=
this
;
return
t
.
formData
.
fitGoodCheck
&&!
t
.
formData
.
fitGoodDes
&&
t
.
formData
.
noFitGoodDes
?(
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
"适用商品至少填写一项"
}),
!
1
):
t
.
formData
.
minCostCheck
&&!
t
.
formData
.
minCost
?(
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请输入最低消费"
}),
!
1
):
1
!=
t
.
formData
.
limitTopType
||
t
.
formData
.
limitTop
?
1
!=
t
.
formData
.
minGoodsType
||
t
.
formData
.
minApplicableGoods
?
1
!=
t
.
formData
.
maxGoodsType
||
t
.
formData
.
maxApplicableGoods
?
2
!=
t
.
formData
.
cardLimitType
||
t
.
formData
.
cardLimit
?
void
t
.
$refs
[
e
].
validate
(
function
(
e
){
e
&&
t
.
postSaveCard
(
a
)}):(
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请输入领券限制"
}),
!
1
):(
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请输入最高适用商品件数"
}),
!
1
):(
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请输入最低适用商品件数"
}),
!
1
):(
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请输入封顶金额"
}),
!
1
)},
1
e3
),
postSaveCard
:
function
(
e
){
var
a
=
this
,
t
=
{
sale_limit
:{
fee
:
0
},
goods
:{
ok
:
a
.
formData
.
fitGoodDes
,
no
:
a
.
formData
.
noFitGoodDes
},
only
:
a
.
formData
.
shareCheck
?
1
:
0
,
discount_amount_upper_limit
:
1
==
a
.
formData
.
cardType
&&
1
==
a
.
formData
.
limitTopType
?
a
.
formData
.
limitTop
:
0
,
goods_discounts_number_lower_limit
:
1
==
a
.
formData
.
minGoodsType
?
a
.
formData
.
minApplicableGoods
:
0
,
goods_discounts_number_upper_limit
:
1
==
a
.
formData
.
maxGoodsType
?
a
.
formData
.
maxApplicableGoods
:
0
};
a
.
formData
.
minCostCheck
&&
(
t
.
sale_limit
=
{
fee
:
a
.
formData
.
minCost
});
var
o
=
{
templateId
:
a
.
formData
.
templateId
,
templateName
:
a
.
formData
.
templateName
,
cardType
:
a
.
formData
.
cardType
,
cardApplicationChannel
:
a
.
formData
.
cardApplicationChannel
.
join
(
","
),
erpDemoCode
:
a
.
formData
.
erpDemoCode
,
cardColor
:
a
.
formData
.
cardColor
,
cardDenomination
:
a
.
formData
.
cardDenomination
,
minGoodsType
:
a
.
formData
.
minGoodsType
,
minApplicableGoods
:
a
.
formData
.
minApplicableGoods
,
maxGoodsType
:
a
.
formData
.
maxGoodsType
,
maxApplicableGoods
:
a
.
formData
.
maxApplicableGoods
,
limitTopType
:
a
.
formData
.
limitTopType
,
limitTop
:
a
.
formData
.
limitTop
,
useCondition
:
r
()(
t
),
cardLimitType
:
a
.
formData
.
cardLimitType
,
cardLimit
:
a
.
formData
.
cardLimit
,
costValue
:
a
.
formData
.
costValue
,
useCustomCode
:
a
.
formData
.
useCustomCode
,
cardExplain
:
a
.
formData
.
cardExplain
,
applicationStoreType
:
a
.
formData
.
applicationStoreType
,
useDescript
:
a
.
formData
.
useDescript
,
gicEnterpriseId
:
a
.
formData
.
gicEnterpriseId
,
commitName
:
a
.
commitName
,
wxEnterpriseId
:
a
.
wxEnterpriseId
};
Object
(
n
.
d
)((
a
.
$route
.
query
.
templateId
,
"/haoban-app-customer-web/inner/save-template"
),
o
).
then
(
function
(
t
){
var
o
=
t
.
data
;
1
==
o
.
errorCode
&&
(
l
.
a
.
showmsg
(
a
.
$route
.
query
.
templateId
?
"编辑卡券模板成功"
:
"新建卡券模板成功"
,
"success"
),
e
?(
a
.
formData
=
{
templateId
:
""
,
templateName
:
""
,
cardType
:
"0"
,
cardApplicationChannel
:[],
erpDemoCode
:
""
,
cardColor
:
"#2f54eb"
,
cardDenomination
:
"1"
,
minGoodsType
:
"0"
,
minApplicableGoods
:
"1"
,
maxGoodsType
:
"0"
,
maxApplicableGoods
:
"1"
,
useCondition
:{
sale_limit
:{
fee
:
1
},
goods
:{
ok
:
""
,
no
:
""
},
only
:
1
,
discount_amount_upper_limit
:
0
,
goods_discounts_number_upper_limit
:
"1"
,
goods_discounts_number_lower_limit
:
"1"
},
limitTopType
:
"0"
,
limitTop
:
0
,
minCostCheck
:
!
1
,
minCost
:
"1"
,
shareCheck
:
!
1
,
fitGoodCheck
:
!
1
,
fitGoodDes
:
""
,
noFitGoodDes
:
""
,
cardLimitType
:
"0"
,
cardLimit
:
"1"
,
costValue
:
"1"
,
useCustomCode
:
"0"
,
cardExplain
:
""
,
applicationStoreType
:
"1"
,
useDescript
:
""
,
gicEnterpriseId
:
a
.
brandListData
[
0
].
enterpriseId
},
a
.
getChanel
()):
a
.
$router
.
push
(
"/cardTemplate"
)),
m
.
a
.
errorMsg
(
o
)}).
catch
(
function
(
e
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
toReturn
:
function
(){
var
e
=
this
;
e
.
$confirm
(
"是否确认返回,返回后当前页面内容将丢失"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
e
.
$router
.
push
(
"/cardTemplate"
)}).
catch
(
function
(){})},
changeRange
:
function
(
e
){
this
.
formData
.
selectList
=
[]},
getCardData
:
function
(){
var
e
=
this
,
a
=
{
templateId
:
e
.
$route
.
query
.
templateId
};
Object
(
n
.
a
)(
"/haoban-app-customer-web/inner/find-template"
,
a
).
then
(
function
(
a
){
var
t
=
a
.
data
;
if
(
1
==
t
.
errorCode
){
var
o
=
JSON
.
parse
(
t
.
result
.
useCondition
);
return
e
.
formData
=
{
templateId
:
t
.
result
.
templateId
,
templateName
:
t
.
result
.
templateName
,
cardType
:
String
(
t
.
result
.
cardType
),
cardApplicationChannel
:
t
.
result
.
cardApplicationChannel
.
split
(
","
)
||
[],
erpDemoCode
:
t
.
result
.
erpDemoCode
,
cardColor
:
t
.
result
.
cardColor
,
cardDenomination
:
t
.
result
.
cardDenomination
,
limitTopType
:
String
(
t
.
result
.
limitTopType
),
limitTop
:
t
.
result
.
limitTop
,
minGoodsType
:
String
(
t
.
result
.
minGoodsType
),
minApplicableGoods
:
t
.
result
.
minApplicableGoods
,
maxGoodsType
:
String
(
t
.
result
.
maxGoodsType
),
maxApplicableGoods
:
t
.
result
.
maxApplicableGoods
,
minCostCheck
:
!!
o
.
sale_limit
.
fee
,
minCost
:
o
.
sale_limit
.
fee
?
o
.
sale_limit
.
fee
:
"1"
,
shareCheck
:
!!
o
.
only
,
fitGoodCheck
:
!
(
!
o
.
goods
.
ok
&&!
o
.
goods
.
no
),
fitGoodDes
:
o
.
goods
.
ok
,
noFitGoodDes
:
o
.
goods
.
no
,
cardLimitType
:
String
(
t
.
result
.
cardLimitType
),
cardLimit
:
t
.
result
.
cardLimit
,
costValue
:
t
.
result
.
costValue
,
useCustomCode
:
String
(
t
.
result
.
useCustomCode
),
cardExplain
:
t
.
result
.
cardExplain
,
applicationStoreType
:
String
(
t
.
result
.
applicationStoreType
),
useDescript
:
t
.
result
.
useDescript
,
gicEnterpriseId
:
t
.
result
.
gicEnterpriseId
},
e
.
getChanel
(),
!
1
}
m
.
a
.
errorMsg
(
t
)}).
catch
(
function
(
a
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
a
.
message
})})},
getBrandData
:
function
(){
var
e
=
this
;
Object
(
n
.
d
)(
"/haoban-manage3-web/wx-enterprise-list"
,{}).
then
(
function
(
a
){
var
t
=
a
.
data
;
if
(
1
==
t
.
errorCode
)
return
e
.
brandListData
=
t
.
result
||
[],
void
(
t
.
result
.
length
&&!
e
.
$route
.
query
.
templateId
&&
(
e
.
formData
.
gicEnterpriseId
=
t
.
result
[
0
].
enterpriseId
,
e
.
getChanel
()));
m
.
a
.
errorMsg
(
t
)}).
catch
(
function
(
a
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
a
.
message
})})}},
watch
:{
brandId
:
function
(
e
,
a
){
e
&&
this
.
$route
.
query
.
templateId
&&
(
this
.
activeBrand
=
e
)},
activeGroupId
:
function
(
e
,
a
){
e
&&
(
this
.
activeGroup
=
e
)}},
mounted
:
function
(){
var
e
=
this
;
e
.
$emit
(
"showTab"
,
"1"
),
e
.
getBrandData
(),
e
.
$route
.
query
.
templateId
&&
e
.
$nextTick
(
function
(){
e
.
getCardData
()})}},
d
=
{
render
:
function
(){
var
e
=
this
,
a
=
e
.
$createElement
,
t
=
e
.
_self
.
_c
||
a
;
return
t
(
"section"
,{
staticClass
:
"common-right-wrap"
},[
t
(
"div"
,{
staticClass
:
"new-card-body border-box"
},[
t
(
"el-form"
,{
ref
:
"ruleForm"
,
staticClass
:
"demo-ruleForm"
,
attrs
:{
model
:
e
.
formData
,
rules
:
e
.
rules
,
"label-width"
:
"142px"
}},[
t
(
"el-form-item"
,{
attrs
:{
label
:
"卡券模板名称"
,
prop
:
"templateName"
}},[
t
(
"limitInput"
,{
attrs
:{
inputWidth
:
307
,
inputValue
:
e
.
formData
.
templateName
,
getByType
:
"word"
,
holder
:
"请输入卡券模板名称"
,
maxLength
:
6
},
on
:{
"update:inputValue"
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"templateName"
,
a
)}}})],
1
),
e
.
_v
(
" "
),
t
(
"el-form-item"
,{
attrs
:{
label
:
"卡券类型"
,
prop
:
"cardType"
}},[
t
(
"el-radio"
,{
attrs
:{
label
:
"0"
},
model
:{
value
:
e
.
formData
.
cardType
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"cardType"
,
a
)},
expression
:
"formData.cardType"
}},[
e
.
_v
(
"抵金券"
)]),
e
.
_v
(
" "
),
t
(
"el-radio"
,{
attrs
:{
label
:
"1"
},
model
:{
value
:
e
.
formData
.
cardType
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"cardType"
,
a
)},
expression
:
"formData.cardType"
}},[
e
.
_v
(
"折扣券"
)])],
1
),
e
.
_v
(
" "
),
t
(
"el-form-item"
,{
attrs
:{
label
:
"选择商户"
,
prop
:
"gicEnterpriseId"
}},[
t
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
e
.
changeEnterprise
},
model
:{
value
:
e
.
formData
.
gicEnterpriseId
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"gicEnterpriseId"
,
a
)},
expression
:
"formData.gicEnterpriseId"
}},
e
.
_l
(
e
.
brandListData
,
function
(
e
){
return
t
(
"el-option"
,{
key
:
e
.
enterpriseId
,
attrs
:{
label
:
e
.
enterpriseName
,
value
:
e
.
enterpriseId
}})}))],
1
),
e
.
_v
(
" "
),
t
(
"el-form-item"
,{
attrs
:{
label
:
"卡券适用渠道"
,
prop
:
"cardApplicationChannel"
}},[
t
(
"el-checkbox-group"
,{
model
:{
value
:
e
.
formData
.
cardApplicationChannel
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"cardApplicationChannel"
,
a
)},
expression
:
"formData.cardApplicationChannel"
}},
e
.
_l
(
e
.
chanelList
,
function
(
a
,
o
){
return
t
(
"el-checkbox"
,{
key
:
o
+
"chanel"
,
attrs
:{
label
:
a
.
value
}},[
e
.
_v
(
e
.
_s
(
a
.
name
))])}))],
1
),
e
.
_v
(
" "
),
t
(
"el-form-item"
,{
attrs
:{
label
:
"demo券号"
,
prop
:
"erpDemoCode"
}},[
t
(
"limitInput"
,{
attrs
:{
inputWidth
:
307
,
inputValue
:
e
.
formData
.
erpDemoCode
,
getByType
:
"word"
,
holder
:
"请输入demo券号"
,
maxLength
:
200
},
on
:{
"update:inputValue"
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"erpDemoCode"
,
a
)}}})],
1
),
e
.
_v
(
" "
),
t
(
"el-form-item"
,{
attrs
:{
label
:
"卡券颜色"
,
prop
:
"cardColor"
}},[
t
(
"div"
,{
staticClass
:
"card-color flex flex-space-between"
},[
t
(
"span"
,[
e
.
_v
(
e
.
_s
(
e
.
formData
.
cardColor
))]),
e
.
_v
(
" "
),
t
(
"el-color-picker"
,{
model
:{
value
:
e
.
formData
.
cardColor
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"cardColor"
,
a
)},
expression
:
"formData.cardColor"
}})],
1
)]),
e
.
_v
(
" "
),
0
==
e
.
formData
.
cardType
?
t
(
"el-form-item"
,{
attrs
:{
label
:
"减免金额"
,
prop
:
"cardDenomination"
}},[
t
(
"el-input-number"
,{
attrs
:{
"controls-position"
:
"right"
,
min
:
1
,
max
:
99999999
},
model
:{
value
:
e
.
formData
.
cardDenomination
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"cardDenomination"
,
a
)},
expression
:
"formData.cardDenomination"
}}),
t
(
"span"
,{
staticClass
:
"font-14 color-303133 p-l-10"
},[
e
.
_v
(
"元"
)]),
t
(
"span"
,{
staticClass
:
"font-12 color-909399 p-l-10"
},[
e
.
_v
(
"输入大于0的整数"
)])],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
1
==
e
.
formData
.
cardType
?
t
(
"el-form-item"
,{
attrs
:{
label
:
"折扣额度"
,
prop
:
"cardDenomination"
}},[
t
(
"el-input-number"
,{
attrs
:{
"controls-position"
:
"right"
,
precision
:
1
,
min
:
1
,
max
:
9.9
,
step
:.
1
},
model
:{
value
:
e
.
formData
.
cardDenomination
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"cardDenomination"
,
a
)},
expression
:
"formData.cardDenomination"
}}),
t
(
"span"
,{
staticClass
:
"font-14 color-303133 p-l-10"
},[
e
.
_v
(
"折"
)]),
t
(
"span"
,{
staticClass
:
"font-12 color-909399 p-l-10"
},[
e
.
_v
(
"请填写1-9.9之间的数字"
)])],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
1
==
e
.
formData
.
cardType
?
t
(
"el-form-item"
,{
attrs
:{
label
:
"优惠金额封顶"
,
prop
:
""
}},[
t
(
"el-radio"
,{
attrs
:{
label
:
"0"
},
on
:{
change
:
e
.
changeTop
},
model
:{
value
:
e
.
formData
.
limitTopType
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"limitTopType"
,
a
)},
expression
:
"formData.limitTopType"
}},[
e
.
_v
(
"不封顶"
)]),
e
.
_v
(
" "
),
t
(
"el-radio"
,{
attrs
:{
label
:
"1"
},
model
:{
value
:
e
.
formData
.
limitTopType
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"limitTopType"
,
a
)},
expression
:
"formData.limitTopType"
}},[
e
.
_v
(
"限制封顶"
)]),
1
==
e
.
formData
.
limitTopType
?
t
(
"el-input-number"
,{
attrs
:{
"controls-position"
:
"right"
,
precision
:
2
,
min
:
1
,
max
:
99999999
},
model
:{
value
:
e
.
formData
.
limitTop
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"limitTop"
,
a
)},
expression
:
"formData.limitTop"
}}):
e
.
_e
(),
e
.
_v
(
" "
),
1
==
e
.
formData
.
limitTopType
?
t
(
"span"
,{
staticClass
:
"font-14 color-303133 p-l-10"
},[
e
.
_v
(
"元"
)]):
e
.
_e
()],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
t
(
"el-form-item"
,{
attrs
:{
label
:
"最低适用商品件数"
,
prop
:
"minGoodsType"
}},[
t
(
"el-radio"
,{
attrs
:{
label
:
"0"
},
model
:{
value
:
e
.
formData
.
minGoodsType
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"minGoodsType"
,
a
)},
expression
:
"formData.minGoodsType"
}},[
e
.
_v
(
"不限"
)]),
e
.
_v
(
" "
),
t
(
"el-radio"
,{
attrs
:{
label
:
"1"
},
model
:{
value
:
e
.
formData
.
minGoodsType
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"minGoodsType"
,
a
)},
expression
:
"formData.minGoodsType"
}},[
e
.
_v
(
"限制"
)]),
1
==
e
.
formData
.
minGoodsType
?
t
(
"el-input-number"
,{
attrs
:{
"controls-position"
:
"right"
,
min
:
1
,
max
:
99999999
},
model
:{
value
:
e
.
formData
.
minApplicableGoods
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"minApplicableGoods"
,
a
)},
expression
:
"formData.minApplicableGoods"
}}):
e
.
_e
(),
e
.
_v
(
" "
),
1
==
e
.
formData
.
minGoodsType
?
t
(
"span"
,{
staticClass
:
"font-14 color-303133 p-l-10"
},[
e
.
_v
(
"件"
)]):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
t
(
"el-form-item"
,{
attrs
:{
label
:
"最高适用商品件数"
,
prop
:
"maxGoodsType"
}},[
t
(
"el-radio"
,{
attrs
:{
label
:
"0"
},
model
:{
value
:
e
.
formData
.
maxGoodsType
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"maxGoodsType"
,
a
)},
expression
:
"formData.maxGoodsType"
}},[
e
.
_v
(
"不限"
)]),
e
.
_v
(
" "
),
t
(
"el-radio"
,{
attrs
:{
label
:
"1"
},
model
:{
value
:
e
.
formData
.
maxGoodsType
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"maxGoodsType"
,
a
)},
expression
:
"formData.maxGoodsType"
}},[
e
.
_v
(
"限制"
)]),
1
==
e
.
formData
.
maxGoodsType
?
t
(
"el-input-number"
,{
attrs
:{
"controls-position"
:
"right"
,
min
:
1
,
max
:
99999999
},
model
:{
value
:
e
.
formData
.
maxApplicableGoods
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"maxApplicableGoods"
,
a
)},
expression
:
"formData.maxApplicableGoods"
}}):
e
.
_e
(),
e
.
_v
(
" "
),
1
==
e
.
formData
.
maxGoodsType
?
t
(
"span"
,{
staticClass
:
"font-14 color-303133 p-l-10"
},[
e
.
_v
(
"件"
)]):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
t
(
"el-form-item"
,{
attrs
:{
label
:
"适用条件"
,
prop
:
"minCostCheck"
}},[
t
(
"div"
,[
t
(
"el-checkbox"
,{
model
:{
value
:
e
.
formData
.
minCostCheck
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"minCostCheck"
,
a
)},
expression
:
"formData.minCostCheck"
}},[
e
.
_v
(
"最低消费"
)]),
t
(
"el-input-number"
,{
staticClass
:
"m-l-10"
,
attrs
:{
"controls-position"
:
"right"
,
min
:
1
,
max
:
99999999
},
model
:{
value
:
e
.
formData
.
minCost
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"minCost"
,
a
)},
expression
:
"formData.minCost"
}}),
t
(
"span"
,{
staticClass
:
"font-14 color-303133 p-l-10"
},[
e
.
_v
(
"元可用"
)])],
1
),
e
.
_v
(
" "
),
t
(
"div"
,[
t
(
"el-checkbox"
,{
model
:{
value
:
e
.
formData
.
fitGoodCheck
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"fitGoodCheck"
,
a
)},
expression
:
"formData.fitGoodCheck"
}},[
e
.
_v
(
"适用商品"
)]),
t
(
"span"
,{
staticClass
:
"font-14 color-909399"
},[
e
.
_v
(
"(至少填写一项)"
)])],
1
),
e
.
_v
(
" "
),
e
.
formData
.
fitGoodCheck
?
t
(
"div"
,{
staticClass
:
"fit-good border-box m-b-20"
},[
t
(
"div"
,[
t
(
"div"
,{
staticClass
:
"m-b-20 flex"
},[
t
(
"span"
,{
staticClass
:
"font-14 color-606266 w-86 m-r-10"
},[
e
.
_v
(
"适用商品:"
)]),
t
(
"limitInput"
,{
attrs
:{
inputWidth
:
300
,
inputValue
:
e
.
formData
.
fitGoodDes
,
getByType
:
"word"
,
holder
:
"请输入内容"
,
maxLength
:
18
},
on
:{
"update:inputValue"
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"fitGoodDes"
,
a
)}}})],
1
),
e
.
_v
(
" "
),
t
(
"div"
,{
staticClass
:
"flex"
},[
t
(
"span"
,{
staticClass
:
"font-14 color-606266 w-86 m-r-10"
},[
e
.
_v
(
"不适用商品:"
)]),
t
(
"limitInput"
,{
attrs
:{
inputWidth
:
300
,
inputValue
:
e
.
formData
.
noFitGoodDes
,
getByType
:
"word"
,
holder
:
"请输入内容"
,
maxLength
:
18
},
on
:{
"update:inputValue"
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"noFitGoodDes"
,
a
)}}})],
1
)])]):
e
.
_e
(),
e
.
_v
(
" "
),
t
(
"div"
,[
t
(
"el-checkbox"
,{
model
:{
value
:
e
.
formData
.
shareCheck
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"shareCheck"
,
a
)},
expression
:
"formData.shareCheck"
}},[
e
.
_v
(
"不与其他优惠共享"
)])],
1
)]),
e
.
_v
(
" "
),
t
(
"el-form-item"
,{
attrs
:{
label
:
"领券限制"
,
prop
:
"cardLimitType"
}},[
t
(
"el-radio"
,{
attrs
:{
label
:
"0"
},
model
:{
value
:
e
.
formData
.
cardLimitType
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"cardLimitType"
,
a
)},
expression
:
"formData.cardLimitType"
}},[
e
.
_v
(
"1张/人"
)]),
e
.
_v
(
" "
),
t
(
"el-radio"
,{
attrs
:{
label
:
"1"
},
model
:{
value
:
e
.
formData
.
cardLimitType
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"cardLimitType"
,
a
)},
expression
:
"formData.cardLimitType"
}},[
e
.
_v
(
"100张/人"
)]),
e
.
_v
(
" "
),
t
(
"el-radio"
,{
attrs
:{
label
:
"2"
},
model
:{
value
:
e
.
formData
.
cardLimitType
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"cardLimitType"
,
a
)},
expression
:
"formData.cardLimitType"
}},[
e
.
_v
(
"自定义"
)]),
2
==
e
.
formData
.
cardLimitType
?
t
(
"el-input-number"
,{
attrs
:{
"controls-position"
:
"right"
,
min
:
1
,
max
:
99999999
},
model
:{
value
:
e
.
formData
.
cardLimit
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"cardLimit"
,
a
)},
expression
:
"formData.cardLimit"
}}):
e
.
_e
(),
e
.
_v
(
" "
),
2
==
e
.
formData
.
cardLimitType
?
t
(
"span"
,{
staticClass
:
"font-14 color-303133 p-l-10"
},[
e
.
_v
(
"张/人"
)]):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
t
(
"el-form-item"
,{
attrs
:{
label
:
"成本费用"
,
prop
:
"costValue"
}},[
t
(
"el-input-number"
,{
attrs
:{
"controls-position"
:
"right"
,
precision
:
2
,
min
:
1
,
max
:
99999999
},
model
:{
value
:
e
.
formData
.
costValue
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"costValue"
,
a
)},
expression
:
"formData.costValue"
}}),
t
(
"span"
,{
staticClass
:
"font-14 color-303133 p-l-10"
},[
e
.
_v
(
"元"
)]),
t
(
"span"
,{
staticClass
:
"font-12 color-909399 p-l-10"
},[
e
.
_v
(
"请填写大于0的数字(限制两位小数)"
)])],
1
),
e
.
_v
(
" "
),
t
(
"el-form-item"
,{
attrs
:{
label
:
"code类型"
,
prop
:
"useCustomCode"
}},[
t
(
"el-radio"
,{
attrs
:{
label
:
"0"
},
model
:{
value
:
e
.
formData
.
useCustomCode
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"useCustomCode"
,
a
)},
expression
:
"formData.useCustomCode"
}},[
e
.
_v
(
"随机生成"
)])],
1
),
e
.
_v
(
" "
),
t
(
"el-form-item"
,{
attrs
:{
label
:
"适用门店说明"
,
prop
:
"cardExplain"
}},[
t
(
"limit-textarea"
,{
attrs
:{
inputWidth
:
450
,
inputValue
:
e
.
formData
.
cardExplain
,
holder
:
"请输入适用门店说明"
,
getByType
:
"word"
,
maxLength
:
50
},
on
:{
"update:inputValue"
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"cardExplain"
,
a
)}}})],
1
),
e
.
_v
(
" "
),
t
(
"el-form-item"
,{
attrs
:{
label
:
"适用门店"
,
prop
:
"applicationStoreType"
}},[
t
(
"el-radio"
,{
attrs
:{
label
:
"1"
},
model
:{
value
:
e
.
formData
.
applicationStoreType
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"applicationStoreType"
,
a
)},
expression
:
"formData.applicationStoreType"
}},[
e
.
_v
(
"所有门店"
)])],
1
),
e
.
_v
(
" "
),
t
(
"el-form-item"
,{
attrs
:{
label
:
"使用说明"
,
prop
:
"useDescript"
}},[
t
(
"limit-textarea"
,{
attrs
:{
inputWidth
:
450
,
inputValue
:
e
.
formData
.
useDescript
,
holder
:
"请输入使用说明"
,
getByType
:
"word"
,
maxLength
:
500
},
on
:{
"update:inputValue"
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"useDescript"
,
a
)}}})],
1
),
e
.
_v
(
" "
),
t
(
"el-form-item"
,[
t
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
cancelEdit
}},[
e
.
_v
(
"取消"
)]),
e
.
_v
(
" "
),
t
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
a
){
e
.
submitForm
(
"ruleForm"
)}}},[
e
.
_v
(
"确认"
+
e
.
_s
(
e
.
$route
.
query
.
templateId
?
"编辑"
:
"新建"
))]),
e
.
_v
(
" "
),
e
.
$route
.
query
.
templateId
?
e
.
_e
():
t
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
a
){
e
.
submitForm
(
"ruleForm"
,
"flag"
)}}},[
e
.
_v
(
"确认并继续新建"
)])],
1
)],
1
)],
1
)])},
staticRenderFns
:[]};
var
u
=
t
(
"VU/8"
)(
c
,
d
,
!
1
,
function
(
e
){
t
(
"EErG"
)},
"data-v-7ea907ee"
,
null
);
a
.
default
=
u
.
exports
}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/3
2.648e00249c751be0ef72
.js
→
dist/static/js/3
1.cf36baf02e3e24a5f053
.js
View file @
bff2a8b1
webpackJsonp
([
32
],{
NpHY
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"Ggl+"
),
o
=
a
(
"P9l9"
),
i
=
a
(
"PI0u"
),
r
=
a
(
"Ch4/"
),
s
=
{
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"
},{
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
:{
checkGroupIds
:
function
(
t
){
this
.
conditionObj
.
storeGroupIds
=
t
,
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleCommand
:
function
(
t
){
this
.
selectRadio
=
t
},
setSelectTab
:
function
(
t
){
this
.
activeTab
=
t
.
tabId
},
toInput
:
Object
(
i
.
a
)(
function
(
t
,
e
){
this
.
currentPage
=
1
,
this
.
getTableList
()},
500
),
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
.
storeGroupId
}).
join
(
","
)
||
""
,
storeStatus
:
t
.
conditionObj
.
storeStatus
,
startDate
:
t
.
conditionObj
.
dateRange
?
t
.
conditionObj
.
dateRange
[
0
]:
""
,
endDate
:
t
.
conditionObj
.
dateRange
?
t
.
conditionObj
.
dateRange
[
1
]:
""
,
enterpriseId
:
t
.
activeBrand
};
Object
(
o
.
b
)(
"/haoban-app-performance-three-web/performance/export-store-month-performance-task"
,
e
).
then
(
function
(
t
){
if
(
!
t
.
data
)
return
r
.
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
=
""
,
n
=
""
;
this
.
conditionObj
.
dateRange
.
length
>
0
&&
(
a
=
this
.
conditionObj
.
dateRange
[
0
],
n
=
this
.
conditionObj
.
dateRange
[
1
]),
this
.
$router
.
push
(
"monthTaskDetail?storeId="
+
e
.
storeId
+
"&startDate="
+
a
+
"&endDate="
+
n
)},
getTableList
:
function
(
t
){
var
e
=
this
;
e
.
loading
=!
0
,
e
.
conditionObj
.
dateRange
||
(
e
.
conditionObj
.
dateRange
=
[]);
var
a
=
{
keyword
:
e
.
conditionObj
.
searchInput
||
""
,
storeGroupIds
:
e
.
conditionObj
.
storeGroupIds
.
map
(
function
(
t
){
return
t
.
storeGroupId
}).
join
(
","
)
||
""
,
storeStatus
:
e
.
conditionObj
.
storeStatus
||
""
,
startDate
:
e
.
conditionObj
.
dateRange
[
0
]
||
""
,
endDate
:
e
.
conditionObj
.
dateRange
[
1
]
||
""
,
pageNum
:
e
.
currentPage
,
pageSize
:
e
.
pageSize
,
enterpriseId
:
e
.
activeBrand
};
Object
(
o
.
a
)(
"/haoban-app-performance-three-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
;
r
.
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"
,
"2"
),
this
.
activeBrand
=
this
.
brandId
,
this
.
activeGroup
=
this
.
activeGroupId
,
this
.
brandId
&&
this
.
getTableList
()},
destroyed
:
function
(){
this
.
activeGroup
=
""
,
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
gicSelectGroup
:
n
.
a
}},
l
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"daily-set-wrap common-right-wrap"
},[
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
(
"gic-select-group"
,{
staticClass
:
"m-l-10"
,
attrs
:{
brandId
:
t
.
brandId
,
width
:
213
,
selectData
:
t
.
conditionObj
.
storeGroupIds
},
on
:{
checkGroupIds
:
t
.
checkGroupIds
}}),
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"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"p"
,{
staticStyle
:{
width
:
"100%"
,
overflow
:
"hidden"
,
"text-overflow"
:
"ellipsis"
}},[
t
.
_v
(
t
.
_s
(
e
.
row
.
storeName
))])]}}])}),
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"
},
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
)])},
staticRenderFns
:[]};
var
c
=
a
(
"VU/8"
)(
s
,
l
,
!
1
,
function
(
t
){
a
(
"xcqu"
)},
"data-v-7d5e2579"
,
null
);
e
.
default
=
c
.
exports
},
xcqu
:
function
(
t
,
e
){}});
webpackJsonp
([
31
],{
NpHY
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"Ggl+"
),
o
=
a
(
"P9l9"
),
i
=
a
(
"PI0u"
),
r
=
a
(
"Ch4/"
),
s
=
{
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"
},{
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
:{
checkGroupIds
:
function
(
t
){
this
.
conditionObj
.
storeGroupIds
=
t
,
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleCommand
:
function
(
t
){
this
.
selectRadio
=
t
},
setSelectTab
:
function
(
t
){
this
.
activeTab
=
t
.
tabId
},
toInput
:
Object
(
i
.
a
)(
function
(
t
,
e
){
this
.
currentPage
=
1
,
this
.
getTableList
()},
500
),
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
.
storeGroupId
}).
join
(
","
)
||
""
,
storeStatus
:
t
.
conditionObj
.
storeStatus
,
startDate
:
t
.
conditionObj
.
dateRange
?
t
.
conditionObj
.
dateRange
[
0
]:
""
,
endDate
:
t
.
conditionObj
.
dateRange
?
t
.
conditionObj
.
dateRange
[
1
]:
""
,
enterpriseId
:
t
.
activeBrand
};
Object
(
o
.
b
)(
"/haoban-app-performance-three-web/performance/export-store-month-performance-task"
,
e
).
then
(
function
(
t
){
if
(
!
t
.
data
)
return
r
.
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
=
""
,
n
=
""
;
this
.
conditionObj
.
dateRange
.
length
>
0
&&
(
a
=
this
.
conditionObj
.
dateRange
[
0
],
n
=
this
.
conditionObj
.
dateRange
[
1
]),
this
.
$router
.
push
(
"monthTaskDetail?storeId="
+
e
.
storeId
+
"&startDate="
+
a
+
"&endDate="
+
n
)},
getTableList
:
function
(
t
){
var
e
=
this
;
e
.
loading
=!
0
,
e
.
conditionObj
.
dateRange
||
(
e
.
conditionObj
.
dateRange
=
[]);
var
a
=
{
keyword
:
e
.
conditionObj
.
searchInput
||
""
,
storeGroupIds
:
e
.
conditionObj
.
storeGroupIds
.
map
(
function
(
t
){
return
t
.
storeGroupId
}).
join
(
","
)
||
""
,
storeStatus
:
e
.
conditionObj
.
storeStatus
||
""
,
startDate
:
e
.
conditionObj
.
dateRange
[
0
]
||
""
,
endDate
:
e
.
conditionObj
.
dateRange
[
1
]
||
""
,
pageNum
:
e
.
currentPage
,
pageSize
:
e
.
pageSize
,
enterpriseId
:
e
.
activeBrand
};
Object
(
o
.
a
)(
"/haoban-app-performance-three-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
;
r
.
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"
,
"2"
),
this
.
activeBrand
=
this
.
brandId
,
this
.
activeGroup
=
this
.
activeGroupId
,
this
.
brandId
&&
this
.
getTableList
()},
destroyed
:
function
(){
this
.
activeGroup
=
""
,
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
gicSelectGroup
:
n
.
a
}},
l
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"daily-set-wrap common-right-wrap"
},[
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
(
"gic-select-group"
,{
staticClass
:
"m-l-10"
,
attrs
:{
brandId
:
t
.
brandId
,
width
:
213
,
selectData
:
t
.
conditionObj
.
storeGroupIds
},
on
:{
checkGroupIds
:
t
.
checkGroupIds
}}),
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"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"p"
,{
staticStyle
:{
width
:
"100%"
,
overflow
:
"hidden"
,
"text-overflow"
:
"ellipsis"
}},[
t
.
_v
(
t
.
_s
(
e
.
row
.
storeName
))])]}}])}),
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"
},
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
)])},
staticRenderFns
:[]};
var
c
=
a
(
"VU/8"
)(
s
,
l
,
!
1
,
function
(
t
){
a
(
"xcqu"
)},
"data-v-7d5e2579"
,
null
);
e
.
default
=
c
.
exports
},
xcqu
:
function
(
t
,
e
){}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/3
3.58a9dd12fac8a0f5c28f
.js
→
dist/static/js/3
2.5713f13dae2f3c4c3b45
.js
View file @
bff2a8b1
webpackJsonp
([
33
],{
FmZU
:
function
(
t
,
a
,
e
){
"use strict"
;
Object
.
defineProperty
(
a
,
"__esModule"
,{
value
:
!
0
});
var
n
=
e
(
"bzW+"
),
i
=
e
(
"Qie6"
),
c
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
288
+
"px"
,
appName
:
"话务任务"
,
activeSelTab
:
"11"
,
activeTab
:
"11"
,
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"话务任务"
,
path
:
""
}],
tabListData
:[{
tabId
:
"1"
,
tabName
:
"话务任务记录"
,
icon
:
"iconhuawushuju"
,
onlyIconActive
:
!
1
,
children
:[{
tabId
:
"11"
,
tabName
:
"门店视图"
,
icon
:
""
},{
tabId
:
"12"
,
tabName
:
"话务任务视图"
,
icon
:
""
}]},{
tabId
:
"3"
,
tabName
:
"会话任务列表"
,
icon
:
"iconhuihuajingling"
},{
tabId
:
"2"
,
tabName
:
"任务设置"
,
icon
:
"iconbuliangpingjiashezhi"
,
onlyIconActive
:
!
1
,
children
:[{
tabId
:
"21"
,
tabName
:
"话务任务设置"
,
icon
:
""
},{
tabId
:
"22"
,
tabName
:
"会话任务设置"
,
icon
:
""
},{
tabId
:
"23"
,
tabName
:
"不良评价回访设置"
,
icon
:
""
}]}],
activeBrand
:
""
,
activeGroup
:
""
}},
computed
:{},
methods
:{
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
selectBrandId
:
function
(
t
,
a
){
this
.
activeBrand
=
t
,
this
.
activeGroup
=
a
},
setSelectTab
:
function
(
t
){
switch
(
this
.
activeTab
=
t
.
tabId
,
t
.
tabId
){
case
"1"
:
case
"11"
:
this
.
changeRoute
(
"taskRecord"
);
break
;
case
"12"
:
this
.
changeRoute
(
"taskView"
);
break
;
case
"2"
:
case
"21"
:
this
.
changeRoute
(
"trafficTaskSet"
);
break
;
case
"22"
:
this
.
changeRoute
(
"taskSessionSet"
);
break
;
case
"23"
:
this
.
changeRoute
(
"badEvaluateSet"
);
break
;
case
"3"
:
this
.
changeRoute
(
"taskList"
)}},
showTab
:
function
(
t
){
this
.
activeTab
=
t
,
this
.
activeSelTab
=
t
,
this
.
tabListData
.
forEach
(
function
(
a
){
a
.
tabId
==
t
&&
(
a
.
onlyIconActive
=!
1
),
a
.
children
&&
a
.
children
.
forEach
(
function
(
e
){
e
.
tabId
==
t
&&
(
a
.
onlyIconActive
=!
0
),
e
.
children
&&
e
.
children
.
forEach
(
function
(
e
){
e
.
tabId
==
t
&&
(
a
.
onlyIconActive
=!
0
)})})})},
changeNavShow
:
function
(
t
){
"/taskViewDetail"
==
t
.
path
?
this
.
navpath
=
[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"话务任务"
,
path
:
"/taskView"
},{
name
:
"话务任务视图详情"
,
path
:
""
}]:
"/newSession"
==
t
.
path
?
this
.
navpath
=
[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"话务任务"
,
path
:
"/taskView"
},{
name
:
this
.
$route
.
query
.
repairId
?
"编辑会话任务"
:
"新建会话任务"
,
path
:
""
}]:
this
.
navpath
=
[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"话务任务"
,
path
:
""
}]}},
watch
:{
$route
:{
handler
:
function
(
t
,
a
){
this
.
changeNavShow
(
t
)},
deep
:
!
0
},
activeBrand
:
function
(
t
,
a
){
this
.
activeBrand
=
t
},
activeGroup
:
function
(
t
,
a
){
this
.
activeGroup
=
t
}},
mounted
:
function
(){
this
.
changeNavShow
(
this
.
$route
),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
navCrumb
:
n
.
a
,
commonDetailLeft
:
i
.
a
}},
o
=
{
render
:
function
(){
var
t
=
this
,
a
=
t
.
$createElement
,
e
=
t
.
_self
.
_c
||
a
;
return
e
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
e
(
"nav-crumb"
,{
attrs
:{
navpath
:
t
.
navpath
},
on
:{
selectBrandId
:
t
.
selectBrandId
}}),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"right-content border-box"
},[
e
(
"div"
,{
staticClass
:
"right-box"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 112px)"
}},[
e
(
"div"
,{
staticClass
:
"apps-content flex"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 112px)"
}},[
e
(
"div"
,{
staticClass
:
"apps-content-left w-157"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 112px)"
}},[
e
(
"common-detail-left"
,{
attrs
:{
tabListData
:
t
.
tabListData
,
activeSelTab
:
t
.
activeSelTab
},
on
:{
setSelectTab
:
t
.
setSelectTab
}})],
1
),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"apps-content-right border-box"
},[
e
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
e
(
"router-view"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
activeGroupId
:
t
.
activeGroup
,
tabType
:
t
.
activeTab
},
on
:{
showTab
:
t
.
showTab
}})],
1
)],
1
)])])])],
1
)},
staticRenderFns
:[]};
var
s
=
e
(
"VU/8"
)(
c
,
o
,
!
1
,
function
(
t
){
e
(
"QOV+"
)},
"data-v-7d4f724a"
,
null
);
a
.
default
=
s
.
exports
},
"QOV+"
:
function
(
t
,
a
){}});
webpackJsonp
([
32
],{
FmZU
:
function
(
t
,
a
,
e
){
"use strict"
;
Object
.
defineProperty
(
a
,
"__esModule"
,{
value
:
!
0
});
var
n
=
e
(
"bzW+"
),
i
=
e
(
"Qie6"
),
c
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
288
+
"px"
,
appName
:
"话务任务"
,
activeSelTab
:
"11"
,
activeTab
:
"11"
,
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"话务任务"
,
path
:
""
}],
tabListData
:[{
tabId
:
"1"
,
tabName
:
"话务任务记录"
,
icon
:
"iconhuawushuju"
,
onlyIconActive
:
!
1
,
children
:[{
tabId
:
"11"
,
tabName
:
"门店视图"
,
icon
:
""
},{
tabId
:
"12"
,
tabName
:
"话务任务视图"
,
icon
:
""
}]},{
tabId
:
"3"
,
tabName
:
"会话任务列表"
,
icon
:
"iconhuihuajingling"
},{
tabId
:
"2"
,
tabName
:
"任务设置"
,
icon
:
"iconbuliangpingjiashezhi"
,
onlyIconActive
:
!
1
,
children
:[{
tabId
:
"21"
,
tabName
:
"话务任务设置"
,
icon
:
""
},{
tabId
:
"22"
,
tabName
:
"会话任务设置"
,
icon
:
""
},{
tabId
:
"23"
,
tabName
:
"不良评价回访设置"
,
icon
:
""
}]}],
activeBrand
:
""
,
activeGroup
:
""
}},
computed
:{},
methods
:{
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
selectBrandId
:
function
(
t
,
a
){
this
.
activeBrand
=
t
,
this
.
activeGroup
=
a
},
setSelectTab
:
function
(
t
){
switch
(
this
.
activeTab
=
t
.
tabId
,
t
.
tabId
){
case
"1"
:
case
"11"
:
this
.
changeRoute
(
"taskRecord"
);
break
;
case
"12"
:
this
.
changeRoute
(
"taskView"
);
break
;
case
"2"
:
case
"21"
:
this
.
changeRoute
(
"trafficTaskSet"
);
break
;
case
"22"
:
this
.
changeRoute
(
"taskSessionSet"
);
break
;
case
"23"
:
this
.
changeRoute
(
"badEvaluateSet"
);
break
;
case
"3"
:
this
.
changeRoute
(
"taskList"
)}},
showTab
:
function
(
t
){
this
.
activeTab
=
t
,
this
.
activeSelTab
=
t
,
this
.
tabListData
.
forEach
(
function
(
a
){
a
.
tabId
==
t
&&
(
a
.
onlyIconActive
=!
1
),
a
.
children
&&
a
.
children
.
forEach
(
function
(
e
){
e
.
tabId
==
t
&&
(
a
.
onlyIconActive
=!
0
),
e
.
children
&&
e
.
children
.
forEach
(
function
(
e
){
e
.
tabId
==
t
&&
(
a
.
onlyIconActive
=!
0
)})})})},
changeNavShow
:
function
(
t
){
"/taskViewDetail"
==
t
.
path
?
this
.
navpath
=
[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"话务任务"
,
path
:
"/taskView"
},{
name
:
"话务任务视图详情"
,
path
:
""
}]:
"/newSession"
==
t
.
path
?
this
.
navpath
=
[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"话务任务"
,
path
:
"/taskView"
},{
name
:
this
.
$route
.
query
.
repairId
?
"编辑会话任务"
:
"新建会话任务"
,
path
:
""
}]:
this
.
navpath
=
[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"话务任务"
,
path
:
""
}]}},
watch
:{
$route
:{
handler
:
function
(
t
,
a
){
this
.
changeNavShow
(
t
)},
deep
:
!
0
},
activeBrand
:
function
(
t
,
a
){
this
.
activeBrand
=
t
},
activeGroup
:
function
(
t
,
a
){
this
.
activeGroup
=
t
}},
mounted
:
function
(){
this
.
changeNavShow
(
this
.
$route
),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
navCrumb
:
n
.
a
,
commonDetailLeft
:
i
.
a
}},
o
=
{
render
:
function
(){
var
t
=
this
,
a
=
t
.
$createElement
,
e
=
t
.
_self
.
_c
||
a
;
return
e
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
e
(
"nav-crumb"
,{
attrs
:{
navpath
:
t
.
navpath
},
on
:{
selectBrandId
:
t
.
selectBrandId
}}),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"right-content border-box"
},[
e
(
"div"
,{
staticClass
:
"right-box"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 112px)"
}},[
e
(
"div"
,{
staticClass
:
"apps-content flex"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 112px)"
}},[
e
(
"div"
,{
staticClass
:
"apps-content-left w-157"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 112px)"
}},[
e
(
"common-detail-left"
,{
attrs
:{
tabListData
:
t
.
tabListData
,
activeSelTab
:
t
.
activeSelTab
},
on
:{
setSelectTab
:
t
.
setSelectTab
}})],
1
),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"apps-content-right border-box"
},[
e
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
e
(
"router-view"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
activeGroupId
:
t
.
activeGroup
,
tabType
:
t
.
activeTab
},
on
:{
showTab
:
t
.
showTab
}})],
1
)],
1
)])])])],
1
)},
staticRenderFns
:[]};
var
s
=
e
(
"VU/8"
)(
c
,
o
,
!
1
,
function
(
t
){
e
(
"QOV+"
)},
"data-v-7d4f724a"
,
null
);
a
.
default
=
s
.
exports
},
"QOV+"
:
function
(
t
,
a
){}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/3
4.555885a51e5833dd88f7
.js
→
dist/static/js/3
3.3b19f619921aacfda1e4
.js
View file @
bff2a8b1
webpackJsonp
([
34
],{
XaCF
:
function
(
t
,
e
){},
c7iB
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"Xxa5"
),
r
=
a
.
n
(
n
),
s
=
a
(
"exGp"
),
o
=
a
.
n
(
s
),
i
=
a
(
"Ch4/"
),
c
=
a
(
"3E4D"
),
l
=
a
(
"PI0u"
),
u
=
a
(
"P9l9"
),
p
=
{
components
:{},
props
:{
brandId
:{
type
:
String
,
default
:
""
}},
data
:
function
(){
return
{
activeId
:
"2"
,
wxEnterpriseId
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
searchInput
:
""
,
tableData
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
}},
watch
:{
brandId
:
function
(
t
){
t
&&
this
.
getTableList
()}},
methods
:{
toDel
:
function
(
t
,
e
){
var
a
=
this
;
a
.
$confirm
(
"是否要删除选中的卡券模板?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
delCardList
(
e
.
templateId
)}).
catch
(
function
(){})},
delCardList
:
function
(
t
){
var
e
=
this
,
a
=
{
templateId
:
t
};
Object
(
u
.
d
)(
"/haoban-app-customer-web/inner/delete-template"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
c
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
e
.
getTableList
();
i
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
toEdit
:
function
(
t
,
e
){
this
.
$router
.
push
(
"/newCardTemp?templateId="
+
e
.
templateId
)},
toInput
:
Object
(
l
.
a
)(
function
(
t
,
e
){
this
.
currentPage
=
1
,
this
.
getTableList
(
this
.
brandId
)},
500
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
(
this
.
brandId
)},
toNewCard
:
function
(){
this
.
$router
.
push
(
"/newCardTemp"
)},
handleSizeChange
:
function
(
t
){
this
.
pageSize
=
t
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
t
){
this
.
currentPage
=
t
,
this
.
getTableList
()},
changeYear
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
getTableList
:
function
(){
var
t
=
this
;
return
o
()(
r
.
a
.
mark
(
function
e
(){
var
a
,
n
;
return
r
.
a
.
wrap
(
function
(
e
){
for
(;;)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
n
=
{
wxEnterpriseId
:(
a
=
t
).
wxEnterpriseId
,
search
:
a
.
searchInput
||
""
},
Object
(
u
.
d
)(
"/haoban-app-customer-web/inner/list-template"
,
n
).
then
(
function
(
t
){
var
e
=
t
.
data
;
1
!=
e
.
errorCode
?
i
.
a
.
errorMsg
(
e
):
a
.
tableData
=
e
.
result
||
[]}).
catch
(
function
(
t
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})});
case
3
:
case
"end"
:
return
e
.
stop
()}},
e
,
t
)}))()}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
"1"
),
this
.
getTableList
()}},
d
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"section"
,{
staticClass
:
"common-right-wrap"
},[
a
(
"div"
,{
staticClass
:
"p-20"
},[
a
(
"div"
,{
staticClass
:
"flex flex-space-between m-b-20"
},[
a
(
"div"
,[
a
(
"el-input"
,{
staticClass
:
"w-264"
,
staticStyle
:{
width
:
"264px"
},
attrs
:{
placeholder
:
"请输入模板名称"
,
clearable
:
""
},
on
:{
clear
:
t
.
clearInput
},
nativeOn
:{
keyup
:
function
(
e
){
return
a
=
e
,
t
.
toInput
(
a
,
t
.
searchInput
);
var
a
}},
model
:{
value
:
t
.
searchInput
,
callback
:
function
(
e
){
t
.
searchInput
=
e
},
expression
:
"searchInput"
}},[
a
(
"i"
,{
staticClass
:
"el-input__icon el-icon-search"
,
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
})]),
t
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-12 color-909399 p-l-10 font-w-300"
},[
t
.
_v
(
"内购券是选取GIC中针对企业内部员工发下的,最多创建20个模板"
)])],
1
),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
toNewCard
}},[
t
.
_v
(
"新增模板"
)])],
1
),
t
.
_v
(
" "
),
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
staticStyle
:{
width
:
"calc(100% - 0px)"
},
attrs
:{
data
:
t
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"卡券模板名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
templateName
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"卡券类型"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
0
==
e
.
row
.
cardType
?
a
(
"span"
,[
t
.
_v
(
"抵金券"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
==
e
.
row
.
cardType
?
a
(
"span"
,[
t
.
_v
(
"折扣券"
)]):
t
.
_e
()]}}])}),
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
.
commitName
||
"--"
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"最近编辑时间"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"timeStampToYmd"
)(
e
.
row
.
updateTime
)))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"timeStampToHms"
)(
e
.
row
.
updateTime
)))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"操作"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
toEdit
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"编辑"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
toDel
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"删除"
)])]}}])})],
1
)],
1
)])},
staticRenderFns
:[]};
var
f
=
a
(
"VU/8"
)(
p
,
d
,
!
1
,
function
(
t
){
a
(
"XaCF"
)},
"data-v-7c0502dc"
,
null
);
e
.
default
=
f
.
exports
}});
webpackJsonp
([
33
],{
XaCF
:
function
(
t
,
e
){},
c7iB
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"Xxa5"
),
r
=
a
.
n
(
n
),
s
=
a
(
"exGp"
),
o
=
a
.
n
(
s
),
i
=
a
(
"Ch4/"
),
c
=
a
(
"3E4D"
),
l
=
a
(
"PI0u"
),
u
=
a
(
"P9l9"
),
p
=
{
components
:{},
props
:{
brandId
:{
type
:
String
,
default
:
""
}},
data
:
function
(){
return
{
activeId
:
"2"
,
wxEnterpriseId
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
searchInput
:
""
,
tableData
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
}},
watch
:{
brandId
:
function
(
t
){
t
&&
this
.
getTableList
()}},
methods
:{
toDel
:
function
(
t
,
e
){
var
a
=
this
;
a
.
$confirm
(
"是否要删除选中的卡券模板?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
delCardList
(
e
.
templateId
)}).
catch
(
function
(){})},
delCardList
:
function
(
t
){
var
e
=
this
,
a
=
{
templateId
:
t
};
Object
(
u
.
d
)(
"/haoban-app-customer-web/inner/delete-template"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
c
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
e
.
getTableList
();
i
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
toEdit
:
function
(
t
,
e
){
this
.
$router
.
push
(
"/newCardTemp?templateId="
+
e
.
templateId
)},
toInput
:
Object
(
l
.
a
)(
function
(
t
,
e
){
this
.
currentPage
=
1
,
this
.
getTableList
(
this
.
brandId
)},
500
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
(
this
.
brandId
)},
toNewCard
:
function
(){
this
.
$router
.
push
(
"/newCardTemp"
)},
handleSizeChange
:
function
(
t
){
this
.
pageSize
=
t
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
t
){
this
.
currentPage
=
t
,
this
.
getTableList
()},
changeYear
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
getTableList
:
function
(){
var
t
=
this
;
return
o
()(
r
.
a
.
mark
(
function
e
(){
var
a
,
n
;
return
r
.
a
.
wrap
(
function
(
e
){
for
(;;)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
n
=
{
wxEnterpriseId
:(
a
=
t
).
wxEnterpriseId
,
search
:
a
.
searchInput
||
""
},
Object
(
u
.
d
)(
"/haoban-app-customer-web/inner/list-template"
,
n
).
then
(
function
(
t
){
var
e
=
t
.
data
;
1
!=
e
.
errorCode
?
i
.
a
.
errorMsg
(
e
):
a
.
tableData
=
e
.
result
||
[]}).
catch
(
function
(
t
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})});
case
3
:
case
"end"
:
return
e
.
stop
()}},
e
,
t
)}))()}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
"1"
),
this
.
getTableList
()}},
d
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"section"
,{
staticClass
:
"common-right-wrap"
},[
a
(
"div"
,{
staticClass
:
"p-20"
},[
a
(
"div"
,{
staticClass
:
"flex flex-space-between m-b-20"
},[
a
(
"div"
,[
a
(
"el-input"
,{
staticClass
:
"w-264"
,
staticStyle
:{
width
:
"264px"
},
attrs
:{
placeholder
:
"请输入模板名称"
,
clearable
:
""
},
on
:{
clear
:
t
.
clearInput
},
nativeOn
:{
keyup
:
function
(
e
){
return
a
=
e
,
t
.
toInput
(
a
,
t
.
searchInput
);
var
a
}},
model
:{
value
:
t
.
searchInput
,
callback
:
function
(
e
){
t
.
searchInput
=
e
},
expression
:
"searchInput"
}},[
a
(
"i"
,{
staticClass
:
"el-input__icon el-icon-search"
,
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
})]),
t
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-12 color-909399 p-l-10 font-w-300"
},[
t
.
_v
(
"内购券是选取GIC中针对企业内部员工发下的,最多创建20个模板"
)])],
1
),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
toNewCard
}},[
t
.
_v
(
"新增模板"
)])],
1
),
t
.
_v
(
" "
),
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
staticStyle
:{
width
:
"calc(100% - 0px)"
},
attrs
:{
data
:
t
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"卡券模板名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
templateName
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"卡券类型"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
0
==
e
.
row
.
cardType
?
a
(
"span"
,[
t
.
_v
(
"抵金券"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
==
e
.
row
.
cardType
?
a
(
"span"
,[
t
.
_v
(
"折扣券"
)]):
t
.
_e
()]}}])}),
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
.
commitName
||
"--"
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"最近编辑时间"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"timeStampToYmd"
)(
e
.
row
.
updateTime
)))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"timeStampToHms"
)(
e
.
row
.
updateTime
)))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"操作"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
toEdit
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"编辑"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
toDel
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"删除"
)])]}}])})],
1
)],
1
)])},
staticRenderFns
:[]};
var
f
=
a
(
"VU/8"
)(
p
,
d
,
!
1
,
function
(
t
){
a
(
"XaCF"
)},
"data-v-7c0502dc"
,
null
);
e
.
default
=
f
.
exports
}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/3
5.8a132ad30fce01f4deb7
.js
→
dist/static/js/3
4.8bcde76a87998e61eecb
.js
View file @
bff2a8b1
webpackJsonp
([
35
],{
dERw
:
function
(
t
,
a
){},
nV1L
:
function
(
t
,
a
,
e
){
"use strict"
;
Object
.
defineProperty
(
a
,
"__esModule"
,{
value
:
!
0
});
var
n
=
e
(
"bzW+"
),
i
=
e
(
"Qie6"
),
c
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
380
+
"px"
,
appName
:
"卡券赠送"
,
activeSelTab
:
"1"
,
activeTab
:
"1"
,
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"卡券赠送"
,
path
:
""
}],
tabListData
:[{
tabId
:
"1"
,
tabName
:
"卡券列表"
,
icon
:
"iconqiaquan"
},{
tabId
:
"2"
,
tabName
:
"卡券记录"
,
icon
:
"iconwodeqiaquan-"
}],
activeBrand
:
""
,
activeGroup
:
""
}},
computed
:{},
methods
:{
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
selectBrandId
:
function
(
t
,
a
){
this
.
activeBrand
=
t
,
this
.
activeGroup
=
a
},
setSelectTab
:
function
(
t
){
switch
(
this
.
activeTab
=
t
.
tabId
,
t
.
tabId
){
case
"1"
:
this
.
changeRoute
(
"cardList"
);
break
;
case
"2"
:
this
.
changeRoute
(
"cardRecord"
)}},
showTab
:
function
(
t
){
this
.
activeTab
=
t
,
this
.
activeSelTab
=
t
,
this
.
tabListData
.
forEach
(
function
(
a
){
a
.
tabId
==
t
&&
(
a
.
onlyIconActive
=!
1
),
a
.
children
&&
a
.
children
.
forEach
(
function
(
e
){
e
.
tabId
==
t
&&
(
a
.
onlyIconActive
=!
0
),
e
.
children
&&
e
.
children
.
forEach
(
function
(
e
){
e
.
tabId
==
t
&&
(
a
.
onlyIconActive
=!
0
)})})})}},
watch
:{
$route
:{
handler
:
function
(
t
,
a
){},
deep
:
!
0
},
activeBrand
:
function
(
t
,
a
){
this
.
activeBrand
=
t
},
activeGroup
:
function
(
t
,
a
){
this
.
activeGroup
=
t
}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
navCrumb
:
n
.
a
,
commonDetailLeft
:
i
.
a
}},
o
=
{
render
:
function
(){
var
t
=
this
,
a
=
t
.
$createElement
,
e
=
t
.
_self
.
_c
||
a
;
return
e
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
e
(
"nav-crumb"
,{
attrs
:{
navpath
:
t
.
navpath
},
on
:{
selectBrandId
:
t
.
selectBrandId
}}),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"right-content"
},[
e
(
"div"
,{
staticClass
:
"right-box"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 112px)"
}},[
e
(
"div"
,{
staticClass
:
"apps-content flex"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 112px)"
}},[
e
(
"div"
,{
staticClass
:
"apps-content-left w-157"
},[
e
(
"common-detail-left"
,{
attrs
:{
tabListData
:
t
.
tabListData
,
activeSelTab
:
t
.
activeSelTab
},
on
:{
setSelectTab
:
t
.
setSelectTab
}})],
1
),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"apps-content-right"
},[
e
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
t
.
$route
.
meta
.
keepAlive
?
e
(
"keep-alive"
,[
e
(
"router-view"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
activeGroupId
:
t
.
activeGroup
,
tabType
:
t
.
activeTab
},
on
:{
showTab
:
t
.
showTab
}})],
1
):
e
(
"router-view"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
activeGroupId
:
t
.
activeGroup
,
tabType
:
t
.
activeTab
},
on
:{
showTab
:
t
.
showTab
}})],
1
)],
1
)])])])],
1
)},
staticRenderFns
:[]};
var
s
=
e
(
"VU/8"
)(
c
,
o
,
!
1
,
function
(
t
){
e
(
"dERw"
)},
"data-v-7b423504"
,
null
);
a
.
default
=
s
.
exports
}});
webpackJsonp
([
34
],{
dERw
:
function
(
t
,
a
){},
nV1L
:
function
(
t
,
a
,
e
){
"use strict"
;
Object
.
defineProperty
(
a
,
"__esModule"
,{
value
:
!
0
});
var
n
=
e
(
"bzW+"
),
i
=
e
(
"Qie6"
),
c
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
380
+
"px"
,
appName
:
"卡券赠送"
,
activeSelTab
:
"1"
,
activeTab
:
"1"
,
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"卡券赠送"
,
path
:
""
}],
tabListData
:[{
tabId
:
"1"
,
tabName
:
"卡券列表"
,
icon
:
"iconqiaquan"
},{
tabId
:
"2"
,
tabName
:
"卡券记录"
,
icon
:
"iconwodeqiaquan-"
}],
activeBrand
:
""
,
activeGroup
:
""
}},
computed
:{},
methods
:{
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
selectBrandId
:
function
(
t
,
a
){
this
.
activeBrand
=
t
,
this
.
activeGroup
=
a
},
setSelectTab
:
function
(
t
){
switch
(
this
.
activeTab
=
t
.
tabId
,
t
.
tabId
){
case
"1"
:
this
.
changeRoute
(
"cardList"
);
break
;
case
"2"
:
this
.
changeRoute
(
"cardRecord"
)}},
showTab
:
function
(
t
){
this
.
activeTab
=
t
,
this
.
activeSelTab
=
t
,
this
.
tabListData
.
forEach
(
function
(
a
){
a
.
tabId
==
t
&&
(
a
.
onlyIconActive
=!
1
),
a
.
children
&&
a
.
children
.
forEach
(
function
(
e
){
e
.
tabId
==
t
&&
(
a
.
onlyIconActive
=!
0
),
e
.
children
&&
e
.
children
.
forEach
(
function
(
e
){
e
.
tabId
==
t
&&
(
a
.
onlyIconActive
=!
0
)})})})}},
watch
:{
$route
:{
handler
:
function
(
t
,
a
){},
deep
:
!
0
},
activeBrand
:
function
(
t
,
a
){
this
.
activeBrand
=
t
},
activeGroup
:
function
(
t
,
a
){
this
.
activeGroup
=
t
}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
navCrumb
:
n
.
a
,
commonDetailLeft
:
i
.
a
}},
o
=
{
render
:
function
(){
var
t
=
this
,
a
=
t
.
$createElement
,
e
=
t
.
_self
.
_c
||
a
;
return
e
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
e
(
"nav-crumb"
,{
attrs
:{
navpath
:
t
.
navpath
},
on
:{
selectBrandId
:
t
.
selectBrandId
}}),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"right-content"
},[
e
(
"div"
,{
staticClass
:
"right-box"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 112px)"
}},[
e
(
"div"
,{
staticClass
:
"apps-content flex"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 112px)"
}},[
e
(
"div"
,{
staticClass
:
"apps-content-left w-157"
},[
e
(
"common-detail-left"
,{
attrs
:{
tabListData
:
t
.
tabListData
,
activeSelTab
:
t
.
activeSelTab
},
on
:{
setSelectTab
:
t
.
setSelectTab
}})],
1
),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"apps-content-right"
},[
e
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
t
.
$route
.
meta
.
keepAlive
?
e
(
"keep-alive"
,[
e
(
"router-view"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
activeGroupId
:
t
.
activeGroup
,
tabType
:
t
.
activeTab
},
on
:{
showTab
:
t
.
showTab
}})],
1
):
e
(
"router-view"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
activeGroupId
:
t
.
activeGroup
,
tabType
:
t
.
activeTab
},
on
:{
showTab
:
t
.
showTab
}})],
1
)],
1
)])])])],
1
)},
staticRenderFns
:[]};
var
s
=
e
(
"VU/8"
)(
c
,
o
,
!
1
,
function
(
t
){
e
(
"dERw"
)},
"data-v-7b423504"
,
null
);
a
.
default
=
s
.
exports
}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/3
6.ae95aada03220eb5550d
.js
→
dist/static/js/3
5.6cab7737434a1ea51e80
.js
View file @
bff2a8b1
webpackJsonp
([
36
],{
T0Al
:
function
(
t
,
a
){},
aWmL
:
function
(
t
,
a
,
e
){
"use strict"
;
Object
.
defineProperty
(
a
,
"__esModule"
,{
value
:
!
0
});
var
n
=
e
(
"3Xzz"
),
c
=
e
(
"Qie6"
),
i
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
380
+
"px"
,
appName
:
"内购券"
,
activeSelTab
:
"1"
,
activeTab
:
"1"
,
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"内购券"
,
path
:
""
}],
tabListData
:[{
tabId
:
"1"
,
tabName
:
"卡券模板"
,
icon
:
"iconmoban"
},{
tabId
:
"2"
,
tabName
:
"卡券策略"
,
icon
:
"iconcelve"
},{
tabId
:
"3"
,
tabName
:
"内购券投放"
,
icon
:
"icontoufang2"
},{
tabId
:
"4"
,
tabName
:
"内购券记录"
,
icon
:
"iconqiaquan"
,
onlyIconActive
:
!
1
,
children
:[{
tabId
:
"41"
,
tabName
:
"投放记录"
,
icon
:
""
},{
tabId
:
"42"
,
tabName
:
"领取记录"
,
icon
:
""
}]}],
activeBrand
:
""
,
activeGroup
:
""
}},
computed
:{},
methods
:{
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
selectBrandId
:
function
(
t
,
a
){
this
.
activeBrand
=
t
,
this
.
activeGroup
=
a
},
setSelectTab
:
function
(
t
){
switch
(
this
.
activeTab
=
t
.
tabId
,
t
.
tabId
){
case
"1"
:
this
.
changeRoute
(
"cardTemplate"
);
break
;
case
"2"
:
this
.
changeRoute
(
"cardStrategy"
);
break
;
case
"3"
:
this
.
changeRoute
(
"cardPut"
);
break
;
case
"4"
:
case
"41"
:
this
.
changeRoute
(
"cardPutRecord"
);
break
;
case
"42"
:
this
.
changeRoute
(
"cardGetRecord"
)}},
showTab
:
function
(
t
){
this
.
activeTab
=
t
,
this
.
activeSelTab
=
t
,
this
.
tabListData
.
forEach
(
function
(
a
){
a
.
tabId
==
t
&&
(
a
.
onlyIconActive
=!
1
),
a
.
children
&&
a
.
children
.
forEach
(
function
(
e
){
e
.
tabId
==
t
&&
(
a
.
onlyIconActive
=!
0
),
e
.
children
&&
e
.
children
.
forEach
(
function
(
e
){
e
.
tabId
==
t
&&
(
a
.
onlyIconActive
=!
0
)})})})},
changeNavShow
:
function
(
t
){
"newCardTemp"
==
t
.
path
?
this
.
navpath
=
[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"内购券"
,
path
:
"/cardTemplate"
},{
name
:
this
.
$route
.
query
.
templateId
?
"编辑模板"
:
"新建模板"
,
path
:
""
}]:
"newCardStrategy"
==
t
.
path
?
this
.
navpath
=
[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"内购券"
,
path
:
"/cardTemplate"
},{
name
:
this
.
$route
.
query
.
policyId
?
"编辑策略"
:
"新建策略"
,
path
:
""
}]:
"newCardPut"
==
t
.
path
?
this
.
navpath
=
[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"内购券"
,
path
:
"/cardTemplate"
},{
name
:
this
.
$route
.
query
.
repairId
?
"编辑补发"
:
"新建补发"
,
path
:
""
}]:
this
.
navpath
=
[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"内购券"
,
path
:
""
}]}},
watch
:{
$route
:{
handler
:
function
(
t
,
a
){
this
.
changeNavShow
(
t
)},
deep
:
!
0
},
activeBrand
:
function
(
t
,
a
){
this
.
activeBrand
=
t
},
activeGroup
:
function
(
t
,
a
){
this
.
activeGroup
=
t
}},
mounted
:
function
(){
this
.
changeNavShow
(
this
.
$route
),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
navCrumb
:
n
.
a
,
commonDetailLeft
:
c
.
a
}},
o
=
{
render
:
function
(){
var
t
=
this
,
a
=
t
.
$createElement
,
e
=
t
.
_self
.
_c
||
a
;
return
e
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
e
(
"nav-crumb"
,{
attrs
:{
navpath
:
t
.
navpath
},
on
:{
selectBrandId
:
t
.
selectBrandId
}}),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"right-content"
},[
e
(
"div"
,{
staticClass
:
"right-box"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 112px)"
}},[
e
(
"div"
,{
staticClass
:
"apps-content flex"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 112px)"
}},[
e
(
"div"
,{
staticClass
:
"apps-content-left w-157"
},[
e
(
"common-detail-left"
,{
attrs
:{
tabListData
:
t
.
tabListData
,
activeSelTab
:
t
.
activeSelTab
},
on
:{
setSelectTab
:
t
.
setSelectTab
}})],
1
),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"apps-content-right"
},[
e
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
t
.
$route
.
meta
.
keepAlive
?
e
(
"keep-alive"
,[
e
(
"router-view"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
activeGroupId
:
t
.
activeGroup
,
tabType
:
t
.
activeTab
},
on
:{
showTab
:
t
.
showTab
}})],
1
):
e
(
"router-view"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
activeGroupId
:
t
.
activeGroup
,
tabType
:
t
.
activeTab
},
on
:{
showTab
:
t
.
showTab
}})],
1
)],
1
)])])])],
1
)},
staticRenderFns
:[]};
var
r
=
e
(
"VU/8"
)(
i
,
o
,
!
1
,
function
(
t
){
e
(
"T0Al"
)},
"data-v-7b1811db"
,
null
);
a
.
default
=
r
.
exports
}});
webpackJsonp
([
35
],{
T0Al
:
function
(
t
,
a
){},
aWmL
:
function
(
t
,
a
,
e
){
"use strict"
;
Object
.
defineProperty
(
a
,
"__esModule"
,{
value
:
!
0
});
var
n
=
e
(
"3Xzz"
),
c
=
e
(
"Qie6"
),
i
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
380
+
"px"
,
appName
:
"内购券"
,
activeSelTab
:
"1"
,
activeTab
:
"1"
,
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"内购券"
,
path
:
""
}],
tabListData
:[{
tabId
:
"1"
,
tabName
:
"卡券模板"
,
icon
:
"iconmoban"
},{
tabId
:
"2"
,
tabName
:
"卡券策略"
,
icon
:
"iconcelve"
},{
tabId
:
"3"
,
tabName
:
"内购券投放"
,
icon
:
"icontoufang2"
},{
tabId
:
"4"
,
tabName
:
"内购券记录"
,
icon
:
"iconqiaquan"
,
onlyIconActive
:
!
1
,
children
:[{
tabId
:
"41"
,
tabName
:
"投放记录"
,
icon
:
""
},{
tabId
:
"42"
,
tabName
:
"领取记录"
,
icon
:
""
}]}],
activeBrand
:
""
,
activeGroup
:
""
}},
computed
:{},
methods
:{
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
selectBrandId
:
function
(
t
,
a
){
this
.
activeBrand
=
t
,
this
.
activeGroup
=
a
},
setSelectTab
:
function
(
t
){
switch
(
this
.
activeTab
=
t
.
tabId
,
t
.
tabId
){
case
"1"
:
this
.
changeRoute
(
"cardTemplate"
);
break
;
case
"2"
:
this
.
changeRoute
(
"cardStrategy"
);
break
;
case
"3"
:
this
.
changeRoute
(
"cardPut"
);
break
;
case
"4"
:
case
"41"
:
this
.
changeRoute
(
"cardPutRecord"
);
break
;
case
"42"
:
this
.
changeRoute
(
"cardGetRecord"
)}},
showTab
:
function
(
t
){
this
.
activeTab
=
t
,
this
.
activeSelTab
=
t
,
this
.
tabListData
.
forEach
(
function
(
a
){
a
.
tabId
==
t
&&
(
a
.
onlyIconActive
=!
1
),
a
.
children
&&
a
.
children
.
forEach
(
function
(
e
){
e
.
tabId
==
t
&&
(
a
.
onlyIconActive
=!
0
),
e
.
children
&&
e
.
children
.
forEach
(
function
(
e
){
e
.
tabId
==
t
&&
(
a
.
onlyIconActive
=!
0
)})})})},
changeNavShow
:
function
(
t
){
"newCardTemp"
==
t
.
path
?
this
.
navpath
=
[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"内购券"
,
path
:
"/cardTemplate"
},{
name
:
this
.
$route
.
query
.
templateId
?
"编辑模板"
:
"新建模板"
,
path
:
""
}]:
"newCardStrategy"
==
t
.
path
?
this
.
navpath
=
[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"内购券"
,
path
:
"/cardTemplate"
},{
name
:
this
.
$route
.
query
.
policyId
?
"编辑策略"
:
"新建策略"
,
path
:
""
}]:
"newCardPut"
==
t
.
path
?
this
.
navpath
=
[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"内购券"
,
path
:
"/cardTemplate"
},{
name
:
this
.
$route
.
query
.
repairId
?
"编辑补发"
:
"新建补发"
,
path
:
""
}]:
this
.
navpath
=
[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"内购券"
,
path
:
""
}]}},
watch
:{
$route
:{
handler
:
function
(
t
,
a
){
this
.
changeNavShow
(
t
)},
deep
:
!
0
},
activeBrand
:
function
(
t
,
a
){
this
.
activeBrand
=
t
},
activeGroup
:
function
(
t
,
a
){
this
.
activeGroup
=
t
}},
mounted
:
function
(){
this
.
changeNavShow
(
this
.
$route
),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
navCrumb
:
n
.
a
,
commonDetailLeft
:
c
.
a
}},
o
=
{
render
:
function
(){
var
t
=
this
,
a
=
t
.
$createElement
,
e
=
t
.
_self
.
_c
||
a
;
return
e
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
e
(
"nav-crumb"
,{
attrs
:{
navpath
:
t
.
navpath
},
on
:{
selectBrandId
:
t
.
selectBrandId
}}),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"right-content"
},[
e
(
"div"
,{
staticClass
:
"right-box"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 112px)"
}},[
e
(
"div"
,{
staticClass
:
"apps-content flex"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 112px)"
}},[
e
(
"div"
,{
staticClass
:
"apps-content-left w-157"
},[
e
(
"common-detail-left"
,{
attrs
:{
tabListData
:
t
.
tabListData
,
activeSelTab
:
t
.
activeSelTab
},
on
:{
setSelectTab
:
t
.
setSelectTab
}})],
1
),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"apps-content-right"
},[
e
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
t
.
$route
.
meta
.
keepAlive
?
e
(
"keep-alive"
,[
e
(
"router-view"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
activeGroupId
:
t
.
activeGroup
,
tabType
:
t
.
activeTab
},
on
:{
showTab
:
t
.
showTab
}})],
1
):
e
(
"router-view"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
activeGroupId
:
t
.
activeGroup
,
tabType
:
t
.
activeTab
},
on
:{
showTab
:
t
.
showTab
}})],
1
)],
1
)])])])],
1
)},
staticRenderFns
:[]};
var
r
=
e
(
"VU/8"
)(
i
,
o
,
!
1
,
function
(
t
){
e
(
"T0Al"
)},
"data-v-7b1811db"
,
null
);
a
.
default
=
r
.
exports
}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/3
7.5dc35c4db0da65b72ba3
.js
→
dist/static/js/3
6.c0c151468bb71aa5378c
.js
View file @
bff2a8b1
webpackJsonp
([
37
],{
nxEw
:
function
(
t
,
e
){},
vuAV
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"3Xzz"
),
s
=
a
(
"P9l9"
),
r
=
a
(
"Ch4/"
),
l
=
a
(
"PI0u"
),
o
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
298
+
"px"
,
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"溢出门店"
,
path
:
""
}],
searchInput
:
""
,
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
tableData
:[]}},
computed
:{},
methods
:{
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
toInput
:
Object
(
l
.
a
)(
function
(
t
,
e
){
this
.
currentPage
=
1
,
this
.
getTableList
()},
500
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleSizeChange
:
function
(
t
){
this
.
pageSize
=
t
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
t
){
this
.
currentPage
=
t
,
this
.
getTableList
()},
getTableList
:
function
(
t
){
var
e
=
this
,
a
=
{
keyWord
:
e
.
searchInput
||
""
,
pageNum
:
e
.
currentPage
,
pageSize
:
e
.
pageSize
};
Object
(
s
.
a
)(
"/haoban-manage3-web/store-full-list"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
tableData
=
a
.
result
.
result
||
[],
e
.
total
=
a
.
result
.
totalCount
,
!
1
;
r
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{},
mounted
:
function
(){
this
.
getTableList
(),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
navCrumb
:
n
.
a
}},
i
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"my-customer-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
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content flex"
,
style
:{
"min-height"
:
t
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content-right"
},[
a
(
"div"
,{
staticClass
:
"overstore-body"
},[
t
.
_m
(
0
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"table-condition-search m-t-20"
},[
a
(
"el-input"
,{
staticClass
:
"w-293"
,
attrs
:{
placeholder
:
"请输入门店名称/CODE/ID"
,
clearable
:
""
},
on
:{
clear
:
t
.
clearInput
},
nativeOn
:{
keyup
:
function
(
e
){
return
a
=
e
,
t
.
toInput
(
a
,
t
.
searchInput
);
var
a
}},
model
:{
value
:
t
.
searchInput
,
callback
:
function
(
e
){
t
.
searchInput
=
e
},
expression
:
"searchInput"
}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-20"
},[
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
:
"门店名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,{
staticClass
:
"iconfont icondianpu-kuai color-2f54eb"
}),
a
(
"span"
,{
staticClass
:
"p-l-10"
},[
t
.
_v
(
t
.
_s
(
e
.
row
.
storeName
||
"--"
))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"ERP CODE"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
storeCode
||
"--"
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"企业微信部门ID"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
wxDepartmentId
||
"--"
))]}}])})],
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
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"overstore-tip"
},[
e
(
"div"
,{
staticClass
:
"el-alert el-alert--info flex flex-align-start"
,
attrs
:{
role
:
"alert"
}},[
e
(
"i"
,{
staticClass
:
"el-alert__icon el-icon-info font-12 color-2f54eb"
}),
this
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"el-alert__content"
},[
e
(
"span"
,{
staticClass
:
"el-alert__title color-606266 font-14"
},[
this
.
_v
(
"什么是溢出门店?"
),
e
(
"br"
),
this
.
_v
(
"当新增的门店超出你所订购的门店容量,系统会自动将其放入该列表。这些门店的所有业务功能都被禁用了,请尽快前往应用市场扩容门店容量,溢出门店将在门店容量充足的情况下自动恢复为可用状态。"
)])])])])}]};
var
c
=
a
(
"VU/8"
)(
o
,
i
,
!
1
,
function
(
t
){
a
(
"nxEw"
)},
"data-v-783d01f8"
,
null
);
e
.
default
=
c
.
exports
}});
webpackJsonp
([
36
],{
nxEw
:
function
(
t
,
e
){},
vuAV
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"3Xzz"
),
s
=
a
(
"P9l9"
),
r
=
a
(
"Ch4/"
),
l
=
a
(
"PI0u"
),
o
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
298
+
"px"
,
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"溢出门店"
,
path
:
""
}],
searchInput
:
""
,
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
tableData
:[]}},
computed
:{},
methods
:{
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
toInput
:
Object
(
l
.
a
)(
function
(
t
,
e
){
this
.
currentPage
=
1
,
this
.
getTableList
()},
500
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleSizeChange
:
function
(
t
){
this
.
pageSize
=
t
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
t
){
this
.
currentPage
=
t
,
this
.
getTableList
()},
getTableList
:
function
(
t
){
var
e
=
this
,
a
=
{
keyWord
:
e
.
searchInput
||
""
,
pageNum
:
e
.
currentPage
,
pageSize
:
e
.
pageSize
};
Object
(
s
.
a
)(
"/haoban-manage3-web/store-full-list"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
tableData
=
a
.
result
.
result
||
[],
e
.
total
=
a
.
result
.
totalCount
,
!
1
;
r
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{},
mounted
:
function
(){
this
.
getTableList
(),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
navCrumb
:
n
.
a
}},
i
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"my-customer-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
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content flex"
,
style
:{
"min-height"
:
t
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content-right"
},[
a
(
"div"
,{
staticClass
:
"overstore-body"
},[
t
.
_m
(
0
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"table-condition-search m-t-20"
},[
a
(
"el-input"
,{
staticClass
:
"w-293"
,
attrs
:{
placeholder
:
"请输入门店名称/CODE/ID"
,
clearable
:
""
},
on
:{
clear
:
t
.
clearInput
},
nativeOn
:{
keyup
:
function
(
e
){
return
a
=
e
,
t
.
toInput
(
a
,
t
.
searchInput
);
var
a
}},
model
:{
value
:
t
.
searchInput
,
callback
:
function
(
e
){
t
.
searchInput
=
e
},
expression
:
"searchInput"
}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-20"
},[
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
:
"门店名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,{
staticClass
:
"iconfont icondianpu-kuai color-2f54eb"
}),
a
(
"span"
,{
staticClass
:
"p-l-10"
},[
t
.
_v
(
t
.
_s
(
e
.
row
.
storeName
||
"--"
))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"ERP CODE"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
storeCode
||
"--"
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"企业微信部门ID"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
wxDepartmentId
||
"--"
))]}}])})],
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
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"overstore-tip"
},[
e
(
"div"
,{
staticClass
:
"el-alert el-alert--info flex flex-align-start"
,
attrs
:{
role
:
"alert"
}},[
e
(
"i"
,{
staticClass
:
"el-alert__icon el-icon-info font-12 color-2f54eb"
}),
this
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"el-alert__content"
},[
e
(
"span"
,{
staticClass
:
"el-alert__title color-606266 font-14"
},[
this
.
_v
(
"什么是溢出门店?"
),
e
(
"br"
),
this
.
_v
(
"当新增的门店超出你所订购的门店容量,系统会自动将其放入该列表。这些门店的所有业务功能都被禁用了,请尽快前往应用市场扩容门店容量,溢出门店将在门店容量充足的情况下自动恢复为可用状态。"
)])])])])}]};
var
c
=
a
(
"VU/8"
)(
o
,
i
,
!
1
,
function
(
t
){
a
(
"nxEw"
)},
"data-v-783d01f8"
,
null
);
e
.
default
=
c
.
exports
}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/3
8.67c2ba02c8cb8e2aeae7
.js
→
dist/static/js/3
7.7471c3e15c8e46ac20ff
.js
View file @
bff2a8b1
webpackJsonp
([
38
],{
I9WZ
:
function
(
t
,
e
){},
OUXi
:
function
(
t
,
e
,
s
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
s
(
"PI0u"
),
i
=
s
(
"Ch4/"
),
l
=
s
(
"3E4D"
),
n
=
s
(
"P9l9"
),
o
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
activeTab
:
"1"
,
activeId
:
"1"
,
activeBrand
:
this
.
brandId
,
options
:[{
label
:
"普通电话"
,
value
:
1
},{
label
:
"双向透传"
,
value
:
2
}],
setObj
:{
taskCallType
:
1
,
taskType
:
1
,
overDayJudge
:
""
,
distributeTypeJudge
:
""
,
posDistributeJudge
:
""
,
giveUpJudge
:
""
,
relaxTaskJudge
:
!
1
}}},
computed
:{},
methods
:{
saveSet
:
Object
(
a
.
a
)(
function
(){
this
.
postSave
()},
500
),
postSave
:
function
(){
var
t
=
this
,
e
=
{
taskCallType
:
t
.
setObj
.
taskCallType
,
enterpriseId
:
t
.
activeBrand
,
taskType
:
1
,
overDayJudge
:
t
.
setObj
.
overDayJudge
,
giveUpJudge
:
t
.
setObj
.
giveUpJudge
,
distributeTypeJudge
:
t
.
setObj
.
distributeTypeJudge
,
posDistributeJudge
:
t
.
setObj
.
posDistributeJudge
,
relaxTaskJudge
:
t
.
setObj
.
relaxTaskJudge
?
1
:
0
};
Object
(
n
.
d
)(
"/haoban-app-tel-task-three-web/setting/save-task-setting"
,
e
).
then
(
function
(
t
){
var
e
=
t
.
data
;
1
!=
e
.
errorCode
?
i
.
a
.
errorMsg
(
e
):
l
.
a
.
showmsg
(
"保存成功"
,
"success"
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getData
:
function
(){
var
t
=
this
,
e
=
{
enterpriseId
:
t
.
activeBrand
,
taskType
:
1
};
Object
(
n
.
d
)(
"/haoban-app-tel-task-three-web/setting/find-task-setting"
,
e
).
then
(
function
(
e
){
var
s
=
e
.
data
;
if
(
1
==
s
.
errorCode
)
return
s
.
result
.
relaxTaskJudge
=
1
==
s
.
result
.
relaxTaskJudge
,
void
(
t
.
setObj
=
s
.
result
);
i
.
a
.
errorMsg
(
s
)}).
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"
,
"21"
),
this
.
brandId
&&
this
.
getData
()},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{}},
r
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
s
=
t
.
_self
.
_c
||
e
;
return
s
(
"div"
,{
staticClass
:
"app-detail-wrap"
},[
s
(
"div"
,{
staticClass
:
"task-set-content boder-box"
},[
s
(
"div"
,{
staticClass
:
"task-set-cell"
},[
s
(
"div"
,{
staticClass
:
"set-line-item"
},[
s
(
"span"
,{
staticClass
:
"set-line-item_title font-14 color-606266 text-right"
},[
t
.
_v
(
"话务任务拨打:"
)]),
s
(
"el-select"
,{
staticClass
:
"w-240"
,
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
t
.
changeSelect
},
model
:{
value
:
t
.
setObj
.
taskCallType
,
callback
:
function
(
e
){
t
.
$set
(
t
.
setObj
,
"taskCallType"
,
e
)},
expression
:
"setObj.taskCallType"
}},
t
.
_l
(
t
.
options
,
function
(
t
){
return
s
(
"el-option"
,{
key
:
t
.
value
,
attrs
:{
label
:
t
.
label
,
value
:
t
.
value
}})})),
2
==
t
.
setObj
.
taskCallType
?
s
(
"span"
,{
staticClass
:
"font-14 color-909399 p-l-10"
},[
t
.
_v
(
"双向透传,使用GIC双向呼叫及透传功能。计费由GIC计费中心计费,可记录通话记录及监测是否拨通。"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
==
t
.
setObj
.
taskCallType
?
s
(
"span"
,{
staticClass
:
"font-14 color-909399 p-l-10"
},[
t
.
_v
(
"普通呼叫,使用导购自己手机呼叫。计费方式同正常手机运营商呼叫计费。无法记录通话记录及监测是否拨通"
)]):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"set-line-item font-0"
},[
s
(
"span"
,{
staticClass
:
"set-line-item_title font-14 color-606266 text-right"
},[
t
.
_v
(
"话务任务下发:"
)]),
t
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"inline-block vertical-top"
},[
s
(
"table"
,{
staticClass
:
"font-14"
},[
s
(
"tbody"
,[
s
(
"tr"
,{
staticClass
:
"el-table__row"
},[
t
.
_m
(
0
),
t
.
_v
(
" "
),
s
(
"td"
,{
staticClass
:
"el-table_3_column_8 "
,
attrs
:{
rowspan
:
"1"
,
colspan
:
"1"
}},[
s
(
"div"
,{
staticClass
:
"cell"
},[
s
(
"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
(
" "
),
s
(
"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
(
" "
),
s
(
"tr"
,{
staticClass
:
"el-table__row"
},[
t
.
_m
(
1
),
t
.
_v
(
" "
),
s
(
"td"
,{
staticClass
:
"el-table_3_column_8 "
,
attrs
:{
rowspan
:
"1"
,
colspan
:
"1"
}},[
s
(
"div"
,{
staticClass
:
"cell"
},[
s
(
"el-radio"
,{
attrs
:{
label
:
0
},
model
:{
value
:
t
.
setObj
.
posDistributeJudge
,
callback
:
function
(
e
){
t
.
$set
(
t
.
setObj
,
"posDistributeJudge"
,
e
)},
expression
:
"setObj.posDistributeJudge"
}},[
t
.
_v
(
"分配给主门店店长"
)]),
t
.
_v
(
" "
),
s
(
"el-radio"
,{
attrs
:{
label
:
1
},
model
:{
value
:
t
.
setObj
.
posDistributeJudge
,
callback
:
function
(
e
){
t
.
$set
(
t
.
setObj
,
"posDistributeJudge"
,
e
)},
expression
:
"setObj.posDistributeJudge"
}},[
t
.
_v
(
"分配给专属导购"
)])],
1
)])])])])])]),
t
.
_v
(
" "
),
2
==
t
.
setObj
.
taskCallType
?
s
(
"div"
,{
staticClass
:
"set-line-item"
},[
s
(
"span"
,{
staticClass
:
"set-line-item_title font-14 color-606266 text-right"
},[
t
.
_v
(
"话务任务条件:"
)]),
s
(
"span"
,{
staticClass
:
"font-14 color-606266"
},[
t
.
_v
(
"话务任务下发后 "
)]),
s
(
"el-input-number"
,{
staticClass
:
"w-100"
,
attrs
:{
"controls-position"
:
"right"
,
placeholder
:
"请输入内容"
,
step
:
1
,
"step-strictly"
:
!
0
,
min
:
0
,
max
:
99999999
},
model
:{
value
:
t
.
setObj
.
giveUpJudge
,
callback
:
function
(
e
){
t
.
$set
(
t
.
setObj
,
"giveUpJudge"
,
e
)},
expression
:
"setObj.giveUpJudge"
}}),
s
(
"span"
,{
staticClass
:
"font-14 color-606266 p-l-10"
},[
t
.
_v
(
"次"
)]),
t
.
_v
(
" "
),
s
(
"span"
,{
staticClass
:
"font-14 color-606266"
},[
t
.
_v
(
"呼叫后无响应,导购可放弃该条话务任务"
)])],
1
):
t
.
_e
(),
t
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"set-line-item"
},[
s
(
"span"
,{
staticClass
:
"set-line-item_title font-14 color-606266 text-right"
}),
t
.
_v
(
" "
),
s
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
saveSet
}},[
t
.
_v
(
"保存"
)])],
1
)]),
t
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"task-set-save m-t-30"
})])])},
staticRenderFns
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"td"
,{
staticClass
:
"el-table_3_column_7 "
,
attrs
:{
rowspan
:
"1"
,
colspan
:
"1"
}},[
e
(
"div"
,{
staticClass
:
"font-14 color-303133"
},[
this
.
_v
(
"微信会员"
)])])},
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"td"
,{
staticClass
:
"el-table_3_column_7 "
,
attrs
:{
rowspan
:
"1"
,
colspan
:
"1"
}},[
e
(
"div"
,{
staticClass
:
"font-14 color-303133"
},[
this
.
_v
(
"POS会员"
)])])}]};
var
c
=
s
(
"VU/8"
)(
o
,
r
,
!
1
,
function
(
t
){
s
(
"I9WZ"
)},
"data-v-760e5c5e"
,
null
);
e
.
default
=
c
.
exports
}});
webpackJsonp
([
37
],{
I9WZ
:
function
(
t
,
e
){},
OUXi
:
function
(
t
,
e
,
s
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
s
(
"PI0u"
),
i
=
s
(
"Ch4/"
),
l
=
s
(
"3E4D"
),
n
=
s
(
"P9l9"
),
o
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
activeTab
:
"1"
,
activeId
:
"1"
,
activeBrand
:
this
.
brandId
,
options
:[{
label
:
"普通电话"
,
value
:
1
},{
label
:
"双向透传"
,
value
:
2
}],
setObj
:{
taskCallType
:
1
,
taskType
:
1
,
overDayJudge
:
""
,
distributeTypeJudge
:
""
,
posDistributeJudge
:
""
,
giveUpJudge
:
""
,
relaxTaskJudge
:
!
1
}}},
computed
:{},
methods
:{
saveSet
:
Object
(
a
.
a
)(
function
(){
this
.
postSave
()},
500
),
postSave
:
function
(){
var
t
=
this
,
e
=
{
taskCallType
:
t
.
setObj
.
taskCallType
,
enterpriseId
:
t
.
activeBrand
,
taskType
:
1
,
overDayJudge
:
t
.
setObj
.
overDayJudge
,
giveUpJudge
:
t
.
setObj
.
giveUpJudge
,
distributeTypeJudge
:
t
.
setObj
.
distributeTypeJudge
,
posDistributeJudge
:
t
.
setObj
.
posDistributeJudge
,
relaxTaskJudge
:
t
.
setObj
.
relaxTaskJudge
?
1
:
0
};
Object
(
n
.
d
)(
"/haoban-app-tel-task-three-web/setting/save-task-setting"
,
e
).
then
(
function
(
t
){
var
e
=
t
.
data
;
1
!=
e
.
errorCode
?
i
.
a
.
errorMsg
(
e
):
l
.
a
.
showmsg
(
"保存成功"
,
"success"
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getData
:
function
(){
var
t
=
this
,
e
=
{
enterpriseId
:
t
.
activeBrand
,
taskType
:
1
};
Object
(
n
.
d
)(
"/haoban-app-tel-task-three-web/setting/find-task-setting"
,
e
).
then
(
function
(
e
){
var
s
=
e
.
data
;
if
(
1
==
s
.
errorCode
)
return
s
.
result
.
relaxTaskJudge
=
1
==
s
.
result
.
relaxTaskJudge
,
void
(
t
.
setObj
=
s
.
result
);
i
.
a
.
errorMsg
(
s
)}).
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"
,
"21"
),
this
.
brandId
&&
this
.
getData
()},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{}},
r
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
s
=
t
.
_self
.
_c
||
e
;
return
s
(
"div"
,{
staticClass
:
"app-detail-wrap"
},[
s
(
"div"
,{
staticClass
:
"task-set-content boder-box"
},[
s
(
"div"
,{
staticClass
:
"task-set-cell"
},[
s
(
"div"
,{
staticClass
:
"set-line-item"
},[
s
(
"span"
,{
staticClass
:
"set-line-item_title font-14 color-606266 text-right"
},[
t
.
_v
(
"话务任务拨打:"
)]),
s
(
"el-select"
,{
staticClass
:
"w-240"
,
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
t
.
changeSelect
},
model
:{
value
:
t
.
setObj
.
taskCallType
,
callback
:
function
(
e
){
t
.
$set
(
t
.
setObj
,
"taskCallType"
,
e
)},
expression
:
"setObj.taskCallType"
}},
t
.
_l
(
t
.
options
,
function
(
t
){
return
s
(
"el-option"
,{
key
:
t
.
value
,
attrs
:{
label
:
t
.
label
,
value
:
t
.
value
}})})),
2
==
t
.
setObj
.
taskCallType
?
s
(
"span"
,{
staticClass
:
"font-14 color-909399 p-l-10"
},[
t
.
_v
(
"双向透传,使用GIC双向呼叫及透传功能。计费由GIC计费中心计费,可记录通话记录及监测是否拨通。"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
==
t
.
setObj
.
taskCallType
?
s
(
"span"
,{
staticClass
:
"font-14 color-909399 p-l-10"
},[
t
.
_v
(
"普通呼叫,使用导购自己手机呼叫。计费方式同正常手机运营商呼叫计费。无法记录通话记录及监测是否拨通"
)]):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"set-line-item font-0"
},[
s
(
"span"
,{
staticClass
:
"set-line-item_title font-14 color-606266 text-right"
},[
t
.
_v
(
"话务任务下发:"
)]),
t
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"inline-block vertical-top"
},[
s
(
"table"
,{
staticClass
:
"font-14"
},[
s
(
"tbody"
,[
s
(
"tr"
,{
staticClass
:
"el-table__row"
},[
t
.
_m
(
0
),
t
.
_v
(
" "
),
s
(
"td"
,{
staticClass
:
"el-table_3_column_8 "
,
attrs
:{
rowspan
:
"1"
,
colspan
:
"1"
}},[
s
(
"div"
,{
staticClass
:
"cell"
},[
s
(
"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
(
" "
),
s
(
"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
(
" "
),
s
(
"tr"
,{
staticClass
:
"el-table__row"
},[
t
.
_m
(
1
),
t
.
_v
(
" "
),
s
(
"td"
,{
staticClass
:
"el-table_3_column_8 "
,
attrs
:{
rowspan
:
"1"
,
colspan
:
"1"
}},[
s
(
"div"
,{
staticClass
:
"cell"
},[
s
(
"el-radio"
,{
attrs
:{
label
:
0
},
model
:{
value
:
t
.
setObj
.
posDistributeJudge
,
callback
:
function
(
e
){
t
.
$set
(
t
.
setObj
,
"posDistributeJudge"
,
e
)},
expression
:
"setObj.posDistributeJudge"
}},[
t
.
_v
(
"分配给主门店店长"
)]),
t
.
_v
(
" "
),
s
(
"el-radio"
,{
attrs
:{
label
:
1
},
model
:{
value
:
t
.
setObj
.
posDistributeJudge
,
callback
:
function
(
e
){
t
.
$set
(
t
.
setObj
,
"posDistributeJudge"
,
e
)},
expression
:
"setObj.posDistributeJudge"
}},[
t
.
_v
(
"分配给专属导购"
)])],
1
)])])])])])]),
t
.
_v
(
" "
),
2
==
t
.
setObj
.
taskCallType
?
s
(
"div"
,{
staticClass
:
"set-line-item"
},[
s
(
"span"
,{
staticClass
:
"set-line-item_title font-14 color-606266 text-right"
},[
t
.
_v
(
"话务任务条件:"
)]),
s
(
"span"
,{
staticClass
:
"font-14 color-606266"
},[
t
.
_v
(
"话务任务下发后 "
)]),
s
(
"el-input-number"
,{
staticClass
:
"w-100"
,
attrs
:{
"controls-position"
:
"right"
,
placeholder
:
"请输入内容"
,
step
:
1
,
"step-strictly"
:
!
0
,
min
:
0
,
max
:
99999999
},
model
:{
value
:
t
.
setObj
.
giveUpJudge
,
callback
:
function
(
e
){
t
.
$set
(
t
.
setObj
,
"giveUpJudge"
,
e
)},
expression
:
"setObj.giveUpJudge"
}}),
s
(
"span"
,{
staticClass
:
"font-14 color-606266 p-l-10"
},[
t
.
_v
(
"次"
)]),
t
.
_v
(
" "
),
s
(
"span"
,{
staticClass
:
"font-14 color-606266"
},[
t
.
_v
(
"呼叫后无响应,导购可放弃该条话务任务"
)])],
1
):
t
.
_e
(),
t
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"set-line-item"
},[
s
(
"span"
,{
staticClass
:
"set-line-item_title font-14 color-606266 text-right"
}),
t
.
_v
(
" "
),
s
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
saveSet
}},[
t
.
_v
(
"保存"
)])],
1
)]),
t
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"task-set-save m-t-30"
})])])},
staticRenderFns
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"td"
,{
staticClass
:
"el-table_3_column_7 "
,
attrs
:{
rowspan
:
"1"
,
colspan
:
"1"
}},[
e
(
"div"
,{
staticClass
:
"font-14 color-303133"
},[
this
.
_v
(
"微信会员"
)])])},
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"td"
,{
staticClass
:
"el-table_3_column_7 "
,
attrs
:{
rowspan
:
"1"
,
colspan
:
"1"
}},[
e
(
"div"
,{
staticClass
:
"font-14 color-303133"
},[
this
.
_v
(
"POS会员"
)])])}]};
var
c
=
s
(
"VU/8"
)(
o
,
r
,
!
1
,
function
(
t
){
s
(
"I9WZ"
)},
"data-v-760e5c5e"
,
null
);
e
.
default
=
c
.
exports
}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/3
9.cffc9df02e23624f15f7
.js
→
dist/static/js/3
8.86b31259273ff9721942
.js
View file @
bff2a8b1
webpackJsonp
([
39
],{
"+BXv"
:
function
(
t
,
e
){},
x5Fx
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"c9no"
),
c
=
a
(
"P9l9"
),
o
=
a
(
"PI0u"
),
r
=
a
(
"3E4D"
),
n
=
a
(
"Ch4/"
),
i
=
{
props
:{},
data
:
function
(){
return
{
checkShow
:
!
0
,
tipText
:
"请在企业密钥维护中输入对应的secret"
,
tableH
:
window
.
screen
.
availHeight
-
464
-
126
,
wxEnterpriseId
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
companyObj
:{
smallVersion
:
""
,
corpName
:
""
,
corpid
:
""
,
contactFlag
:
!
1
,
verifiedEndTime
:
""
,
corpIndustry
:
""
,
corpSubIndustry
:
""
,
corpUserMax
:
""
,
location
:
""
,
wxSecretKey
:
""
,
contactSecret
:
""
,
memberSecret
:
""
,
wxSecretKeyFlag
:
!
0
,
contactSecretFlag
:
!
0
,
memberSecretFlag
:
!
0
,
wxSecretKeyLastTime
:
null
,
contactSecretLastTime
:
null
,
memberSecretLastTime
:
null
},
showWxError
:
!
1
,
showContactError
:
!
1
}},
computed
:{},
methods
:{
saveSecret
:
Object
(
o
.
a
)(
function
(
t
){
var
e
=
{};
if
(
1
==
t
&&
(
e
.
wxSecretKey
=
String
(
this
.
companyObj
.
wxSecretKey
).
trim
(),
this
.
showWxError
=!
this
.
companyObj
.
wxSecretKey
),
2
==
t
&&
(
e
.
contactSecret
=
String
(
this
.
companyObj
.
contactSecret
).
trim
(),
this
.
showContactError
=!
this
.
companyObj
.
contactSecret
),
3
==
t
&&
(
e
.
memberSecret
=
String
(
this
.
companyObj
.
memberSecret
).
trim
()),
this
.
showWxError
||
this
.
showContactError
)
return
!
1
;
this
.
postSaveSecret
(
t
,
e
)},
300
),
postSaveSecret
:
function
(
t
,
e
){
var
a
=
this
,
s
=
1
==
t
?
"/wx-enterprise-wx-secret-set"
:
2
==
t
?
"wx-enterprise-contact-secret-set"
:
"wx-enterprise-member-secret-set"
;
Object
(
c
.
d
)(
"/haoban-manage3-web/"
+
s
,
e
).
then
(
function
(
t
){
var
e
=
t
.
data
;
if
(
1
==
e
.
errorCode
)
return
r
.
a
.
showmsg
(
"操作成功"
,
"success"
),
a
.
getData
(),
!
1
;
n
.
a
.
errorMsg
(
e
)}).
catch
(
function
(
t
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
refeshData
:
function
(){
this
.
refreshData
()},
refreshData
:
function
(
t
){
var
e
=
this
,
a
=
{
wxEnterpriseId
:
e
.
wxEnterpriseId
};
Object
(
c
.
a
)(
"/haoban-manage3-web/wxEnterprise-refresh"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
r
.
a
.
showmsg
(
"刷新成功"
,
"success"
),
e
.
companyObj
=
a
.
result
,
!
1
;
n
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getData
:
function
(
t
){
var
e
=
this
,
a
=
{
wxEnterpriseId
:
e
.
wxEnterpriseId
};
Object
(
c
.
a
)(
"/haoban-manage3-web/wxEnterprise-detail"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
companyObj
=
a
.
result
,
!
1
;
n
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getTipData
:
function
(){
var
t
=
this
;
Object
(
c
.
a
)(
"/haoban-manage3-web/is-wx-enterprise-secret-set"
,{}).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
n
.
a
.
errorMsg
(
a
):
t
.
checkShow
=
a
.
result
}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
1
),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
getData
(),
this
.
getTipData
()},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
setTip
:
s
.
a
}},
l
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"daily-set-wrap "
},[
a
(
"div"
,{
staticClass
:
"daily-set-content border-box"
},[
a
(
"div"
,{
staticClass
:
"company-title m-b-20 flex flex-space-between"
},[
a
(
"div"
,{
staticClass
:
"line-h-32"
},[
a
(
"span"
,{
staticClass
:
"color-303133 font-14 font-w-600"
},[
t
.
_v
(
"企业微信基本信息"
)]),
a
(
"el-button"
,{
staticClass
:
"m-l-20"
,
attrs
:{
type
:
"text"
},
on
:{
click
:
t
.
refeshData
}},[
t
.
_v
(
"同步刷新 "
)])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,[
t
.
checkShow
?
t
.
_e
():
a
(
"set-tip"
,{
attrs
:{
tipText
:
t
.
tipText
}})],
1
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"company-info-body"
},[
a
(
"el-form"
,{
ref
:
"form"
,
attrs
:{
model
:
t
.
form
,
"label-width"
:
"105px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"企业名称"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-303133 p-r-10"
},[
t
.
_v
(
t
.
_s
(
t
.
companyObj
.
corpName
))]),
t
.
_v
(
" "
),
a
(
"el-tag"
,[
t
.
_v
(
" "
+
t
.
_s
(
1
==
t
.
companyObj
.
contactFlag
?
"已认证"
:
"未认证"
))]),
1
==
t
.
companyObj
.
contactFlag
?
a
(
"span"
,{
staticClass
:
"p-l-10 font-12 color-909399"
},[
t
.
_v
(
"认证到期 "
+
t
.
_s
(
t
.
_f
(
"timeStampToYmd"
)(
t
.
companyObj
.
verifiedEndTime
)))]):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"企业ID"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-303133"
},[
t
.
_v
(
t
.
_s
(
t
.
companyObj
.
corpid
))])]),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"行业类型"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-303133"
},[
t
.
_v
(
t
.
_s
(
t
.
companyObj
.
corpIndustry
)
+
" / "
+
t
.
_s
(
t
.
companyObj
.
corpSubIndustry
))])]),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"人员规模"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-303133"
},[
t
.
_v
(
t
.
_s
(
t
.
companyObj
.
corpScale
))])]),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"地址"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-303133"
},[
t
.
_v
(
t
.
_s
(
t
.
companyObj
.
location
))])])],
1
)],
1
),
t
.
_v
(
" "
),
t
.
_m
(
0
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"company-info-body secret-body"
},[
a
(
"div"
,{
staticClass
:
"m-b-20 secret-cell"
},[
a
(
"span"
,{
staticClass
:
"inline-block w-127"
},[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
"企业微信中【客户联系】API中若更新secret,请复制后更新至此处。首次使用好办请输入。"
,
placement
:
"top-start"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-606266"
,
staticStyle
:{
cursor
:
"pointer"
,
"padding-bottom"
:
"2px"
,
"border-bottom"
:
"1px dashed #2F54EB"
}},[
t
.
_v
(
"客户联系secret:"
)])])],
1
),
a
(
"el-input"
,{
staticClass
:
"m-l-10 w-399"
,
attrs
:{
maxlength
:
"200"
,
placeholder
:
"必填"
},
model
:{
value
:
t
.
companyObj
.
wxSecretKey
,
callback
:
function
(
e
){
t
.
$set
(
t
.
companyObj
,
"wxSecretKey"
,
e
)},
expression
:
"companyObj.wxSecretKey"
}}),
a
(
"el-button"
,{
staticClass
:
"m-l-20"
,
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
e
){
t
.
saveSecret
(
"1"
)}}},[
t
.
_v
(
"保存"
)]),
t
.
companyObj
.
wxSecretKeyLastTime
?
a
(
"span"
,{
staticClass
:
"m-l-20 font-12 color-909399"
},[
t
.
_v
(
"最后一次保存:"
+
t
.
_s
(
t
.
_f
(
"formatTimeStamp"
)(
t
.
companyObj
.
wxSecretKeyLastTime
)))]):
t
.
_e
(),
a
(
"span"
,{
staticClass
:
"m-l-37 font-14 color-303133"
},[
a
(
"span"
,{
class
:[
"iconfont"
,
t
.
companyObj
.
wxSecretKeyFlag
?
"color-49c958 iconchenggong"
:
"color-f83431 iconshibai"
]}),
a
(
"span"
,{
staticClass
:
"p-l-10"
},[
t
.
_v
(
t
.
_s
(
t
.
companyObj
.
wxSecretKeyFlag
?
"校验成功"
:
"校验失败"
))])]),
t
.
_v
(
" "
),
t
.
showWxError
?
a
(
"div"
,{
staticClass
:
"el-form-item__error m-l-137"
},[
t
.
_v
(
"请填写客户联系 secret"
)]):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-b-20 secret-cell"
},[
a
(
"span"
,{
staticClass
:
"inline-block w-127"
},[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
placement
:
"top-start"
}},[
a
(
"div"
,{
attrs
:{
slot
:
"content"
},
slot
:
"content"
},[
t
.
_v
(
"企业微信中通讯录同步若更新secret,请复制后更新至此处。"
),
a
(
"br"
),
t
.
_v
(
"因获取Secret而获取通讯录的相关信息。首次使用好办请输入。"
),
a
(
"br"
),
t
.
_v
(
"若发生相关变更,与企业微信无关,特此告知!"
)]),
t
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-14 color-606266"
,
staticStyle
:{
cursor
:
"pointer"
,
"padding-bottom"
:
"2px"
,
"border-bottom"
:
"1px dashed #2F54EB"
}},[
t
.
_v
(
"通讯录secret:"
)])])],
1
),
a
(
"el-input"
,{
staticClass
:
"m-l-10 w-399"
,
attrs
:{
maxlength
:
"200"
,
placeholder
:
"必填"
},
model
:{
value
:
t
.
companyObj
.
contactSecret
,
callback
:
function
(
e
){
t
.
$set
(
t
.
companyObj
,
"contactSecret"
,
e
)},
expression
:
"companyObj.contactSecret"
}}),
a
(
"el-button"
,{
staticClass
:
"m-l-20"
,
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
e
){
t
.
saveSecret
(
"2"
)}}},[
t
.
_v
(
"保存"
)]),
t
.
companyObj
.
contactSecretLastTime
?
a
(
"span"
,{
staticClass
:
"m-l-20 font-12 color-909399"
},[
t
.
_v
(
"最后一次保存:"
+
t
.
_s
(
t
.
_f
(
"formatTimeStamp"
)(
t
.
companyObj
.
contactSecretLastTime
)))]):
t
.
_e
(),
a
(
"span"
,{
staticClass
:
"m-l-37 font-14 color-303133"
},[
a
(
"span"
,{
class
:[
"iconfont"
,
t
.
companyObj
.
contactSecretFlag
?
"color-49c958 iconchenggong"
:
"color-f83431 iconshibai"
]}),
a
(
"span"
,{
staticClass
:
"p-l-10"
},[
t
.
_v
(
t
.
_s
(
t
.
companyObj
.
contactSecretFlag
?
"校验成功"
:
"校验失败"
))])]),
t
.
_v
(
" "
),
t
.
showContactError
?
a
(
"div"
,{
staticClass
:
"el-form-item__error m-l-137"
},[
t
.
_v
(
"请填写通讯录 secret"
)]):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"secret-cell"
},[
a
(
"span"
,{
staticClass
:
"inline-block w-127"
},[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
"企业微信中【应用管理】关联的会员小程序secret,请复制后更新至此处。首次使用好办请输入。"
,
placement
:
"top-start"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-606266"
,
staticStyle
:{
cursor
:
"pointer"
,
"padding-bottom"
:
"2px"
,
"border-bottom"
:
"1px dashed #2F54EB"
}},[
t
.
_v
(
"会员小程序secret:"
)])])],
1
),
a
(
"el-input"
,{
staticClass
:
"m-l-10 w-399"
,
attrs
:{
maxlength
:
"200"
,
placeholder
:
"非必填"
},
model
:{
value
:
t
.
companyObj
.
memberSecret
,
callback
:
function
(
e
){
t
.
$set
(
t
.
companyObj
,
"memberSecret"
,
e
)},
expression
:
"companyObj.memberSecret"
}}),
a
(
"el-button"
,{
staticClass
:
"m-l-20"
,
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
e
){
t
.
saveSecret
(
"3"
)}}},[
t
.
_v
(
"保存"
)]),
t
.
companyObj
.
memberSecretLastTime
?
a
(
"span"
,{
staticClass
:
"m-l-20 font-12 color-909399"
},[
t
.
_v
(
"最后一次保存:"
+
t
.
_s
(
t
.
_f
(
"formatTimeStamp"
)(
t
.
companyObj
.
memberSecretLastTime
)))]):
t
.
_e
(),
a
(
"span"
,{
staticClass
:
"m-l-37 font-14 color-303133"
},[
a
(
"span"
,{
class
:[
"iconfont"
,
t
.
companyObj
.
memberSecretFlag
?
"color-49c958 iconchenggong"
:
"color-f83431 iconshibai"
]}),
a
(
"span"
,{
staticClass
:
"p-l-10"
},[
t
.
_v
(
t
.
_s
(
t
.
companyObj
.
memberSecretFlag
?
"校验成功"
:
"校验失败"
))])])],
1
)])])])},
staticRenderFns
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"company-title m-b-20 m-t-30"
},[
e
(
"span"
,{
staticClass
:
"color-303133 font-14 font-w-600"
},[
this
.
_v
(
"客户密钥维护"
)])])}]};
var
m
=
a
(
"VU/8"
)(
i
,
l
,
!
1
,
function
(
t
){
a
(
"+BXv"
)},
"data-v-75a245ad"
,
null
);
e
.
default
=
m
.
exports
}});
webpackJsonp
([
38
],{
"+BXv"
:
function
(
t
,
e
){},
x5Fx
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"c9no"
),
c
=
a
(
"P9l9"
),
o
=
a
(
"PI0u"
),
r
=
a
(
"3E4D"
),
n
=
a
(
"Ch4/"
),
i
=
{
props
:{},
data
:
function
(){
return
{
checkShow
:
!
0
,
tipText
:
"请在企业密钥维护中输入对应的secret"
,
tableH
:
window
.
screen
.
availHeight
-
464
-
126
,
wxEnterpriseId
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
companyObj
:{
smallVersion
:
""
,
corpName
:
""
,
corpid
:
""
,
contactFlag
:
!
1
,
verifiedEndTime
:
""
,
corpIndustry
:
""
,
corpSubIndustry
:
""
,
corpUserMax
:
""
,
location
:
""
,
wxSecretKey
:
""
,
contactSecret
:
""
,
memberSecret
:
""
,
wxSecretKeyFlag
:
!
0
,
contactSecretFlag
:
!
0
,
memberSecretFlag
:
!
0
,
wxSecretKeyLastTime
:
null
,
contactSecretLastTime
:
null
,
memberSecretLastTime
:
null
},
showWxError
:
!
1
,
showContactError
:
!
1
}},
computed
:{},
methods
:{
saveSecret
:
Object
(
o
.
a
)(
function
(
t
){
var
e
=
{};
if
(
1
==
t
&&
(
e
.
wxSecretKey
=
String
(
this
.
companyObj
.
wxSecretKey
).
trim
(),
this
.
showWxError
=!
this
.
companyObj
.
wxSecretKey
),
2
==
t
&&
(
e
.
contactSecret
=
String
(
this
.
companyObj
.
contactSecret
).
trim
(),
this
.
showContactError
=!
this
.
companyObj
.
contactSecret
),
3
==
t
&&
(
e
.
memberSecret
=
String
(
this
.
companyObj
.
memberSecret
).
trim
()),
this
.
showWxError
||
this
.
showContactError
)
return
!
1
;
this
.
postSaveSecret
(
t
,
e
)},
300
),
postSaveSecret
:
function
(
t
,
e
){
var
a
=
this
,
s
=
1
==
t
?
"/wx-enterprise-wx-secret-set"
:
2
==
t
?
"wx-enterprise-contact-secret-set"
:
"wx-enterprise-member-secret-set"
;
Object
(
c
.
d
)(
"/haoban-manage3-web/"
+
s
,
e
).
then
(
function
(
t
){
var
e
=
t
.
data
;
if
(
1
==
e
.
errorCode
)
return
r
.
a
.
showmsg
(
"操作成功"
,
"success"
),
a
.
getData
(),
!
1
;
n
.
a
.
errorMsg
(
e
)}).
catch
(
function
(
t
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
refeshData
:
function
(){
this
.
refreshData
()},
refreshData
:
function
(
t
){
var
e
=
this
,
a
=
{
wxEnterpriseId
:
e
.
wxEnterpriseId
};
Object
(
c
.
a
)(
"/haoban-manage3-web/wxEnterprise-refresh"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
r
.
a
.
showmsg
(
"刷新成功"
,
"success"
),
e
.
companyObj
=
a
.
result
,
!
1
;
n
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getData
:
function
(
t
){
var
e
=
this
,
a
=
{
wxEnterpriseId
:
e
.
wxEnterpriseId
};
Object
(
c
.
a
)(
"/haoban-manage3-web/wxEnterprise-detail"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
companyObj
=
a
.
result
,
!
1
;
n
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getTipData
:
function
(){
var
t
=
this
;
Object
(
c
.
a
)(
"/haoban-manage3-web/is-wx-enterprise-secret-set"
,{}).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
n
.
a
.
errorMsg
(
a
):
t
.
checkShow
=
a
.
result
}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
1
),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
getData
(),
this
.
getTipData
()},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
setTip
:
s
.
a
}},
l
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"daily-set-wrap "
},[
a
(
"div"
,{
staticClass
:
"daily-set-content border-box"
},[
a
(
"div"
,{
staticClass
:
"company-title m-b-20 flex flex-space-between"
},[
a
(
"div"
,{
staticClass
:
"line-h-32"
},[
a
(
"span"
,{
staticClass
:
"color-303133 font-14 font-w-600"
},[
t
.
_v
(
"企业微信基本信息"
)]),
a
(
"el-button"
,{
staticClass
:
"m-l-20"
,
attrs
:{
type
:
"text"
},
on
:{
click
:
t
.
refeshData
}},[
t
.
_v
(
"同步刷新 "
)])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,[
t
.
checkShow
?
t
.
_e
():
a
(
"set-tip"
,{
attrs
:{
tipText
:
t
.
tipText
}})],
1
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"company-info-body"
},[
a
(
"el-form"
,{
ref
:
"form"
,
attrs
:{
model
:
t
.
form
,
"label-width"
:
"105px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"企业名称"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-303133 p-r-10"
},[
t
.
_v
(
t
.
_s
(
t
.
companyObj
.
corpName
))]),
t
.
_v
(
" "
),
a
(
"el-tag"
,[
t
.
_v
(
" "
+
t
.
_s
(
1
==
t
.
companyObj
.
contactFlag
?
"已认证"
:
"未认证"
))]),
1
==
t
.
companyObj
.
contactFlag
?
a
(
"span"
,{
staticClass
:
"p-l-10 font-12 color-909399"
},[
t
.
_v
(
"认证到期 "
+
t
.
_s
(
t
.
_f
(
"timeStampToYmd"
)(
t
.
companyObj
.
verifiedEndTime
)))]):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"企业ID"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-303133"
},[
t
.
_v
(
t
.
_s
(
t
.
companyObj
.
corpid
))])]),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"行业类型"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-303133"
},[
t
.
_v
(
t
.
_s
(
t
.
companyObj
.
corpIndustry
)
+
" / "
+
t
.
_s
(
t
.
companyObj
.
corpSubIndustry
))])]),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"人员规模"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-303133"
},[
t
.
_v
(
t
.
_s
(
t
.
companyObj
.
corpScale
))])]),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"地址"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-303133"
},[
t
.
_v
(
t
.
_s
(
t
.
companyObj
.
location
))])])],
1
)],
1
),
t
.
_v
(
" "
),
t
.
_m
(
0
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"company-info-body secret-body"
},[
a
(
"div"
,{
staticClass
:
"m-b-20 secret-cell"
},[
a
(
"span"
,{
staticClass
:
"inline-block w-127"
},[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
"企业微信中【客户联系】API中若更新secret,请复制后更新至此处。首次使用好办请输入。"
,
placement
:
"top-start"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-606266"
,
staticStyle
:{
cursor
:
"pointer"
,
"padding-bottom"
:
"2px"
,
"border-bottom"
:
"1px dashed #2F54EB"
}},[
t
.
_v
(
"客户联系secret:"
)])])],
1
),
a
(
"el-input"
,{
staticClass
:
"m-l-10 w-399"
,
attrs
:{
maxlength
:
"200"
,
placeholder
:
"必填"
},
model
:{
value
:
t
.
companyObj
.
wxSecretKey
,
callback
:
function
(
e
){
t
.
$set
(
t
.
companyObj
,
"wxSecretKey"
,
e
)},
expression
:
"companyObj.wxSecretKey"
}}),
a
(
"el-button"
,{
staticClass
:
"m-l-20"
,
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
e
){
t
.
saveSecret
(
"1"
)}}},[
t
.
_v
(
"保存"
)]),
t
.
companyObj
.
wxSecretKeyLastTime
?
a
(
"span"
,{
staticClass
:
"m-l-20 font-12 color-909399"
},[
t
.
_v
(
"最后一次保存:"
+
t
.
_s
(
t
.
_f
(
"formatTimeStamp"
)(
t
.
companyObj
.
wxSecretKeyLastTime
)))]):
t
.
_e
(),
a
(
"span"
,{
staticClass
:
"m-l-37 font-14 color-303133"
},[
a
(
"span"
,{
class
:[
"iconfont"
,
t
.
companyObj
.
wxSecretKeyFlag
?
"color-49c958 iconchenggong"
:
"color-f83431 iconshibai"
]}),
a
(
"span"
,{
staticClass
:
"p-l-10"
},[
t
.
_v
(
t
.
_s
(
t
.
companyObj
.
wxSecretKeyFlag
?
"校验成功"
:
"校验失败"
))])]),
t
.
_v
(
" "
),
t
.
showWxError
?
a
(
"div"
,{
staticClass
:
"el-form-item__error m-l-137"
},[
t
.
_v
(
"请填写客户联系 secret"
)]):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-b-20 secret-cell"
},[
a
(
"span"
,{
staticClass
:
"inline-block w-127"
},[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
placement
:
"top-start"
}},[
a
(
"div"
,{
attrs
:{
slot
:
"content"
},
slot
:
"content"
},[
t
.
_v
(
"企业微信中通讯录同步若更新secret,请复制后更新至此处。"
),
a
(
"br"
),
t
.
_v
(
"因获取Secret而获取通讯录的相关信息。首次使用好办请输入。"
),
a
(
"br"
),
t
.
_v
(
"若发生相关变更,与企业微信无关,特此告知!"
)]),
t
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-14 color-606266"
,
staticStyle
:{
cursor
:
"pointer"
,
"padding-bottom"
:
"2px"
,
"border-bottom"
:
"1px dashed #2F54EB"
}},[
t
.
_v
(
"通讯录secret:"
)])])],
1
),
a
(
"el-input"
,{
staticClass
:
"m-l-10 w-399"
,
attrs
:{
maxlength
:
"200"
,
placeholder
:
"必填"
},
model
:{
value
:
t
.
companyObj
.
contactSecret
,
callback
:
function
(
e
){
t
.
$set
(
t
.
companyObj
,
"contactSecret"
,
e
)},
expression
:
"companyObj.contactSecret"
}}),
a
(
"el-button"
,{
staticClass
:
"m-l-20"
,
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
e
){
t
.
saveSecret
(
"2"
)}}},[
t
.
_v
(
"保存"
)]),
t
.
companyObj
.
contactSecretLastTime
?
a
(
"span"
,{
staticClass
:
"m-l-20 font-12 color-909399"
},[
t
.
_v
(
"最后一次保存:"
+
t
.
_s
(
t
.
_f
(
"formatTimeStamp"
)(
t
.
companyObj
.
contactSecretLastTime
)))]):
t
.
_e
(),
a
(
"span"
,{
staticClass
:
"m-l-37 font-14 color-303133"
},[
a
(
"span"
,{
class
:[
"iconfont"
,
t
.
companyObj
.
contactSecretFlag
?
"color-49c958 iconchenggong"
:
"color-f83431 iconshibai"
]}),
a
(
"span"
,{
staticClass
:
"p-l-10"
},[
t
.
_v
(
t
.
_s
(
t
.
companyObj
.
contactSecretFlag
?
"校验成功"
:
"校验失败"
))])]),
t
.
_v
(
" "
),
t
.
showContactError
?
a
(
"div"
,{
staticClass
:
"el-form-item__error m-l-137"
},[
t
.
_v
(
"请填写通讯录 secret"
)]):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"secret-cell"
},[
a
(
"span"
,{
staticClass
:
"inline-block w-127"
},[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
"企业微信中【应用管理】关联的会员小程序secret,请复制后更新至此处。首次使用好办请输入。"
,
placement
:
"top-start"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-606266"
,
staticStyle
:{
cursor
:
"pointer"
,
"padding-bottom"
:
"2px"
,
"border-bottom"
:
"1px dashed #2F54EB"
}},[
t
.
_v
(
"会员小程序secret:"
)])])],
1
),
a
(
"el-input"
,{
staticClass
:
"m-l-10 w-399"
,
attrs
:{
maxlength
:
"200"
,
placeholder
:
"非必填"
},
model
:{
value
:
t
.
companyObj
.
memberSecret
,
callback
:
function
(
e
){
t
.
$set
(
t
.
companyObj
,
"memberSecret"
,
e
)},
expression
:
"companyObj.memberSecret"
}}),
a
(
"el-button"
,{
staticClass
:
"m-l-20"
,
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
e
){
t
.
saveSecret
(
"3"
)}}},[
t
.
_v
(
"保存"
)]),
t
.
companyObj
.
memberSecretLastTime
?
a
(
"span"
,{
staticClass
:
"m-l-20 font-12 color-909399"
},[
t
.
_v
(
"最后一次保存:"
+
t
.
_s
(
t
.
_f
(
"formatTimeStamp"
)(
t
.
companyObj
.
memberSecretLastTime
)))]):
t
.
_e
(),
a
(
"span"
,{
staticClass
:
"m-l-37 font-14 color-303133"
},[
a
(
"span"
,{
class
:[
"iconfont"
,
t
.
companyObj
.
memberSecretFlag
?
"color-49c958 iconchenggong"
:
"color-f83431 iconshibai"
]}),
a
(
"span"
,{
staticClass
:
"p-l-10"
},[
t
.
_v
(
t
.
_s
(
t
.
companyObj
.
memberSecretFlag
?
"校验成功"
:
"校验失败"
))])])],
1
)])])])},
staticRenderFns
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"company-title m-b-20 m-t-30"
},[
e
(
"span"
,{
staticClass
:
"color-303133 font-14 font-w-600"
},[
this
.
_v
(
"客户密钥维护"
)])])}]};
var
m
=
a
(
"VU/8"
)(
i
,
l
,
!
1
,
function
(
t
){
a
(
"+BXv"
)},
"data-v-75a245ad"
,
null
);
e
.
default
=
m
.
exports
}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/
40.f72c24c69c3d22cb365f
.js
→
dist/static/js/
39.9fca928a20d42828e190
.js
View file @
bff2a8b1
webpackJsonp
([
40
],{
"4QyY"
:
function
(
t
,
a
,
e
){
"use strict"
;
Object
.
defineProperty
(
a
,
"__esModule"
,{
value
:
!
0
});
var
n
=
e
(
"bzW+"
),
i
=
e
(
"Qie6"
),
c
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
380
+
"px"
,
appName
:
"云日报"
,
activeSelTab
:
"11"
,
activeTab
:
"11"
,
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"云日报"
,
path
:
""
}],
tabListData
:[{
tabId
:
"1"
,
tabName
:
"云日报"
,
icon
:
"iconribao"
,
onlyIconActive
:
!
1
,
children
:[{
tabId
:
"11"
,
tabName
:
"云日报记录"
,
icon
:
""
},{
tabId
:
"12"
,
tabName
:
"云日报导出"
,
icon
:
""
}]},{
tabId
:
"2"
,
tabName
:
"任务下发设置"
,
icon
:
"iconxiafa"
},{
tabId
:
"3"
,
tabName
:
"云日报设置"
,
icon
:
"iconribaoshezhi"
,
onlyIconActive
:
!
1
,
children
:[{
tabId
:
"31"
,
tabName
:
"系统报表"
,
icon
:
""
},{
tabId
:
"32"
,
tabName
:
"自定义报表"
,
icon
:
""
}]}],
activeBrand
:
""
,
activeGroup
:
""
}},
computed
:{},
methods
:{
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
selectBrandId
:
function
(
t
,
a
){
this
.
activeBrand
=
t
,
this
.
activeGroup
=
a
},
setSelectTab
:
function
(
t
){
switch
(
this
.
activeTab
=
t
.
tabId
,
t
.
tabId
){
case
"1"
:
case
"11"
:
this
.
changeRoute
(
"dailyRecord"
);
break
;
case
"12"
:
this
.
changeRoute
(
"dailyExport"
);
break
;
case
"2"
:
this
.
changeRoute
(
"taskAssign"
);
break
;
case
"3"
:
case
"31"
:
this
.
changeRoute
(
"systemReport"
);
break
;
case
"32"
:
this
.
changeRoute
(
"customReport"
)}},
showTab
:
function
(
t
){
this
.
activeTab
=
t
,
this
.
activeSelTab
=
t
,
this
.
tabListData
.
forEach
(
function
(
a
){
a
.
tabId
==
t
&&
(
a
.
onlyIconActive
=!
1
),
a
.
children
&&
a
.
children
.
forEach
(
function
(
e
){
e
.
tabId
==
t
&&
(
a
.
onlyIconActive
=!
0
),
e
.
children
&&
e
.
children
.
forEach
(
function
(
e
){
e
.
tabId
==
t
&&
(
a
.
onlyIconActive
=!
0
)})})})},
changeNavShow
:
function
(
t
){
"/dailyDetail"
==
t
.
path
?
this
.
navpath
=
[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"云日报"
,
path
:
"/dailyRecord"
},{
name
:
"云日报记录详情"
,
path
:
""
}]:
this
.
navpath
=
[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"云日报"
,
path
:
""
}]}},
watch
:{
$route
:{
handler
:
function
(
t
,
a
){
this
.
changeNavShow
(
t
)},
deep
:
!
0
},
activeBrand
:
function
(
t
,
a
){
this
.
activeBrand
=
t
},
activeGroup
:
function
(
t
,
a
){
this
.
activeGroup
=
t
}},
mounted
:
function
(){
this
.
changeNavShow
(
this
.
$route
),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
navCrumb
:
n
.
a
,
commonDetailLeft
:
i
.
a
}},
o
=
{
render
:
function
(){
var
t
=
this
,
a
=
t
.
$createElement
,
e
=
t
.
_self
.
_c
||
a
;
return
e
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
e
(
"nav-crumb"
,{
attrs
:{
navpath
:
t
.
navpath
},
on
:{
selectBrandId
:
t
.
selectBrandId
}}),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"right-content border-box"
},[
e
(
"div"
,{
staticClass
:
"right-box"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 112px)"
}},[
e
(
"div"
,{
staticClass
:
"apps-content flex"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 112px)"
}},[
e
(
"div"
,{
staticClass
:
"apps-content-left w-157"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 112px)"
}},[
e
(
"common-detail-left"
,{
attrs
:{
tabListData
:
t
.
tabListData
,
activeSelTab
:
t
.
activeSelTab
},
on
:{
setSelectTab
:
t
.
setSelectTab
}})],
1
),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"apps-content-right border-box"
},[
e
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
e
(
"router-view"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
activeGroupId
:
t
.
activeGroup
,
tabType
:
t
.
activeTab
},
on
:{
showTab
:
t
.
showTab
}})],
1
)],
1
)])])])],
1
)},
staticRenderFns
:[]};
var
s
=
e
(
"VU/8"
)(
c
,
o
,
!
1
,
function
(
t
){
e
(
"o7vy"
)},
"data-v-7569dfd6"
,
null
);
a
.
default
=
s
.
exports
},
o7vy
:
function
(
t
,
a
){}});
webpackJsonp
([
39
],{
"4QyY"
:
function
(
t
,
a
,
e
){
"use strict"
;
Object
.
defineProperty
(
a
,
"__esModule"
,{
value
:
!
0
});
var
n
=
e
(
"bzW+"
),
i
=
e
(
"Qie6"
),
c
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
380
+
"px"
,
appName
:
"云日报"
,
activeSelTab
:
"11"
,
activeTab
:
"11"
,
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"云日报"
,
path
:
""
}],
tabListData
:[{
tabId
:
"1"
,
tabName
:
"云日报"
,
icon
:
"iconribao"
,
onlyIconActive
:
!
1
,
children
:[{
tabId
:
"11"
,
tabName
:
"云日报记录"
,
icon
:
""
},{
tabId
:
"12"
,
tabName
:
"云日报导出"
,
icon
:
""
}]},{
tabId
:
"2"
,
tabName
:
"任务下发设置"
,
icon
:
"iconxiafa"
},{
tabId
:
"3"
,
tabName
:
"云日报设置"
,
icon
:
"iconribaoshezhi"
,
onlyIconActive
:
!
1
,
children
:[{
tabId
:
"31"
,
tabName
:
"系统报表"
,
icon
:
""
},{
tabId
:
"32"
,
tabName
:
"自定义报表"
,
icon
:
""
}]}],
activeBrand
:
""
,
activeGroup
:
""
}},
computed
:{},
methods
:{
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
selectBrandId
:
function
(
t
,
a
){
this
.
activeBrand
=
t
,
this
.
activeGroup
=
a
},
setSelectTab
:
function
(
t
){
switch
(
this
.
activeTab
=
t
.
tabId
,
t
.
tabId
){
case
"1"
:
case
"11"
:
this
.
changeRoute
(
"dailyRecord"
);
break
;
case
"12"
:
this
.
changeRoute
(
"dailyExport"
);
break
;
case
"2"
:
this
.
changeRoute
(
"taskAssign"
);
break
;
case
"3"
:
case
"31"
:
this
.
changeRoute
(
"systemReport"
);
break
;
case
"32"
:
this
.
changeRoute
(
"customReport"
)}},
showTab
:
function
(
t
){
this
.
activeTab
=
t
,
this
.
activeSelTab
=
t
,
this
.
tabListData
.
forEach
(
function
(
a
){
a
.
tabId
==
t
&&
(
a
.
onlyIconActive
=!
1
),
a
.
children
&&
a
.
children
.
forEach
(
function
(
e
){
e
.
tabId
==
t
&&
(
a
.
onlyIconActive
=!
0
),
e
.
children
&&
e
.
children
.
forEach
(
function
(
e
){
e
.
tabId
==
t
&&
(
a
.
onlyIconActive
=!
0
)})})})},
changeNavShow
:
function
(
t
){
"/dailyDetail"
==
t
.
path
?
this
.
navpath
=
[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"云日报"
,
path
:
"/dailyRecord"
},{
name
:
"云日报记录详情"
,
path
:
""
}]:
this
.
navpath
=
[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"云日报"
,
path
:
""
}]}},
watch
:{
$route
:{
handler
:
function
(
t
,
a
){
this
.
changeNavShow
(
t
)},
deep
:
!
0
},
activeBrand
:
function
(
t
,
a
){
this
.
activeBrand
=
t
},
activeGroup
:
function
(
t
,
a
){
this
.
activeGroup
=
t
}},
mounted
:
function
(){
this
.
changeNavShow
(
this
.
$route
),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
navCrumb
:
n
.
a
,
commonDetailLeft
:
i
.
a
}},
o
=
{
render
:
function
(){
var
t
=
this
,
a
=
t
.
$createElement
,
e
=
t
.
_self
.
_c
||
a
;
return
e
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
e
(
"nav-crumb"
,{
attrs
:{
navpath
:
t
.
navpath
},
on
:{
selectBrandId
:
t
.
selectBrandId
}}),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"right-content border-box"
},[
e
(
"div"
,{
staticClass
:
"right-box"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 112px)"
}},[
e
(
"div"
,{
staticClass
:
"apps-content flex"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 112px)"
}},[
e
(
"div"
,{
staticClass
:
"apps-content-left w-157"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 112px)"
}},[
e
(
"common-detail-left"
,{
attrs
:{
tabListData
:
t
.
tabListData
,
activeSelTab
:
t
.
activeSelTab
},
on
:{
setSelectTab
:
t
.
setSelectTab
}})],
1
),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"apps-content-right border-box"
},[
e
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
e
(
"router-view"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
activeGroupId
:
t
.
activeGroup
,
tabType
:
t
.
activeTab
},
on
:{
showTab
:
t
.
showTab
}})],
1
)],
1
)])])])],
1
)},
staticRenderFns
:[]};
var
s
=
e
(
"VU/8"
)(
c
,
o
,
!
1
,
function
(
t
){
e
(
"o7vy"
)},
"data-v-7569dfd6"
,
null
);
a
.
default
=
s
.
exports
},
o7vy
:
function
(
t
,
a
){}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/4
1.3e80f7c7164f36ab833d
.js
→
dist/static/js/4
0.9690302debe738c45edb
.js
View file @
bff2a8b1
webpackJsonp
([
41
],{
YKf6
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"fZjL"
),
i
=
a
.
n
(
n
),
o
=
a
(
"LRn8"
),
s
=
a
(
"P9l9"
),
l
=
a
(
"Ch4/"
),
r
=
a
(
"3E4D"
),
c
=
{
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
,
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
,
userData
:{
staffName
:
""
,
phoneNumber
:
""
,
nationCode
:
""
,
postion
:
""
,
departmentName
:
""
,
headImg
:
""
}}},
computed
:{},
methods
:{
showSingleInfo
:
function
(
e
){
var
t
=
this
,
a
=
{
clerkId
:
e
};
Object
(
s
.
d
)(
"/haoban-manage3-web/get-clerk-info"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
l
.
a
.
errorMsg
(
a
):
t
.
userData
=
a
.
result
}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
init
:
function
(){
var
e
=
this
.
$route
.
query
.
startDate
,
t
=
this
.
$route
.
query
.
endDate
;
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
$emit
(
"showTab"
,
"2"
),
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
,
!
i
()(
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
]
||
""
,
enterpriseId
:
t
.
activeBrand
,
isAll
:
t
.
selectRadio
};
Object
(
s
.
d
)(
"/haoban-app-performance-three-web/performance/batch-remove-clerk-month-performance-task"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
r
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
t
.
getTableList
();
l
.
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
,
enterpriseId
:
this
.
activeBrand
};
Object
(
s
.
a
)(
"/haoban-app-performance-three-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
(
"删除成功"
);
l
.
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
,
enterpriseId
:
t
.
activeBrand
};
Object
(
s
.
a
)(
"/haoban-app-performance-three-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
);
l
.
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
:{
multipleDel
:
o
.
a
}},
d
=
{
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
(
"div"
,{
staticClass
:
"daily-set-content border-box"
},[
a
(
"div"
,{
staticClass
:
"table-condition flex flex-space-between m-b-23"
},[
a
(
"div"
,{
staticClass
:
"table-condition-left"
},[
a
(
"el-select"
,{
staticClass
:
"w-133 "
,
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-133 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
:
"iconfont icongengduo"
})]),
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
?
"#2f54eb"
:
"#606266"
}},[
e
.
_v
(
"选择当页"
)])]),
e
.
_v
(
" "
),
a
(
"el-dropdown-item"
,{
attrs
:{
command
:
"1"
}},[
a
(
"span"
,{
style
:{
color
:
1
==
e
.
selectRadio
?
"#2f54eb"
:
"#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
(
"el-popover"
,{
attrs
:{
placement
:
"top-start"
,
width
:
"300"
,
trigger
:
"hover"
},
on
:{
show
:
function
(
a
){
e
.
showSingleInfo
(
t
.
row
.
clerkId
)}}},[
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
.
userData
.
headImg
?
a
(
"img"
,{
attrs
:{
src
:
e
.
userData
.
headImg
,
alt
:
"img"
}}):
a
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex flex-column apply-info-right flex-space-between"
},[
a
(
"div"
,{
staticClass
:
"apply-info-name"
},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
e
.
userData
.
staffName
||
"--"
)
+
" ( "
+
e
.
_s
(
e
.
userData
.
position
||
"--"
)
+
")
\
n "
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apply-info-phone"
},[
a
(
"span"
,{
staticClass
:
"w-80"
},[
e
.
_v
(
"手机号:"
)]),
a
(
"span"
,{
staticClass
:
"w-130"
},[
e
.
_v
(
e
.
_s
(
"86"
==
e
.
userData
.
nationCode
?
e
.
userData
.
phoneNumber
:
"+"
+
e
.
userData
.
nationCode
+
"-"
+
e
.
userData
.
phoneNumber
))])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apply-info-store"
},[
a
(
"span"
,{
staticClass
:
"w-80"
},[
e
.
_v
(
"所属部门:"
)]),
a
(
"span"
,{
staticClass
:
"w-130"
},[
e
.
_v
(
e
.
_s
(
e
.
userData
.
departmentName
||
"--"
))])])])])]),
e
.
_v
(
" "
),
a
(
"div"
,{
attrs
:{
slot
:
"reference"
},
slot
:
"reference"
},[
a
(
"div"
,{
staticClass
:
"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic cursor-pointer"
},[
t
.
row
.
headImgUrl
?
a
(
"img"
,{
attrs
:{
src
:
t
.
row
.
headImgUrl
,
alt
:
"img"
}}):
a
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})])])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"clerk-info flex flex-column flex-space-between m-l-16"
,
staticStyle
:{
overflow
:
"hidden"
,
"text-overflow"
:
"ellipsis"
,
"white-space"
:
"nowrap"
}},[
a
(
"p"
,{
staticClass
:
"first-item font-14 color-303133"
,
staticStyle
:{
"line-height"
:
"18px"
,
overflow
:
"hidden"
,
"text-overflow"
:
"ellipsis"
,
"white-space"
:
"nowrap"
}},[
e
.
_v
(
e
.
_s
(
t
.
row
.
clerkName
))]),
e
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"font-14 color-909399"
,
staticStyle
:{
"line-height"
:
"18px"
,
overflow
:
"hidden"
,
"text-overflow"
:
"ellipsis"
,
"white-space"
:
"nowrap"
}},[
e
.
_v
(
e
.
_s
(
t
.
row
.
clerkPhone
))])])],
1
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"创建时间"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeYMD"
)(
t
.
row
.
createTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-909399 line-18"
},[
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"
,{
staticClass
:
"line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeYMD"
)(
t
.
row
.
lastTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-909399 line-18"
},[
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"
,{
staticClass
:
"line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeYMD"
)(
t
.
row
.
finishTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-909399 line-18"
},[
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"
},
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
u
=
a
(
"VU/8"
)(
c
,
d
,
!
1
,
function
(
e
){
a
(
"bQBn"
)},
"data-v-71d22391"
,
null
);
t
.
default
=
u
.
exports
},
bQBn
:
function
(
e
,
t
){}});
webpackJsonp
([
40
],{
YKf6
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"fZjL"
),
i
=
a
.
n
(
n
),
o
=
a
(
"LRn8"
),
s
=
a
(
"P9l9"
),
l
=
a
(
"Ch4/"
),
r
=
a
(
"3E4D"
),
c
=
{
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
,
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
,
userData
:{
staffName
:
""
,
phoneNumber
:
""
,
nationCode
:
""
,
postion
:
""
,
departmentName
:
""
,
headImg
:
""
}}},
computed
:{},
methods
:{
showSingleInfo
:
function
(
e
){
var
t
=
this
,
a
=
{
clerkId
:
e
};
Object
(
s
.
d
)(
"/haoban-manage3-web/get-clerk-info"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
l
.
a
.
errorMsg
(
a
):
t
.
userData
=
a
.
result
}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
init
:
function
(){
var
e
=
this
.
$route
.
query
.
startDate
,
t
=
this
.
$route
.
query
.
endDate
;
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
$emit
(
"showTab"
,
"2"
),
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
,
!
i
()(
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
]
||
""
,
enterpriseId
:
t
.
activeBrand
,
isAll
:
t
.
selectRadio
};
Object
(
s
.
d
)(
"/haoban-app-performance-three-web/performance/batch-remove-clerk-month-performance-task"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
r
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
t
.
getTableList
();
l
.
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
,
enterpriseId
:
this
.
activeBrand
};
Object
(
s
.
a
)(
"/haoban-app-performance-three-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
(
"删除成功"
);
l
.
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
,
enterpriseId
:
t
.
activeBrand
};
Object
(
s
.
a
)(
"/haoban-app-performance-three-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
);
l
.
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
:{
multipleDel
:
o
.
a
}},
d
=
{
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
(
"div"
,{
staticClass
:
"daily-set-content border-box"
},[
a
(
"div"
,{
staticClass
:
"table-condition flex flex-space-between m-b-23"
},[
a
(
"div"
,{
staticClass
:
"table-condition-left"
},[
a
(
"el-select"
,{
staticClass
:
"w-133 "
,
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-133 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
:
"iconfont icongengduo"
})]),
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
?
"#2f54eb"
:
"#606266"
}},[
e
.
_v
(
"选择当页"
)])]),
e
.
_v
(
" "
),
a
(
"el-dropdown-item"
,{
attrs
:{
command
:
"1"
}},[
a
(
"span"
,{
style
:{
color
:
1
==
e
.
selectRadio
?
"#2f54eb"
:
"#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
(
"el-popover"
,{
attrs
:{
placement
:
"top-start"
,
width
:
"300"
,
trigger
:
"hover"
},
on
:{
show
:
function
(
a
){
e
.
showSingleInfo
(
t
.
row
.
clerkId
)}}},[
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
.
userData
.
headImg
?
a
(
"img"
,{
attrs
:{
src
:
e
.
userData
.
headImg
,
alt
:
"img"
}}):
a
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex flex-column apply-info-right flex-space-between"
},[
a
(
"div"
,{
staticClass
:
"apply-info-name"
},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
e
.
userData
.
staffName
||
"--"
)
+
" ( "
+
e
.
_s
(
e
.
userData
.
position
||
"--"
)
+
")
\
n "
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apply-info-phone"
},[
a
(
"span"
,{
staticClass
:
"w-80"
},[
e
.
_v
(
"手机号:"
)]),
a
(
"span"
,{
staticClass
:
"w-130"
},[
e
.
_v
(
e
.
_s
(
"86"
==
e
.
userData
.
nationCode
?
e
.
userData
.
phoneNumber
:
"+"
+
e
.
userData
.
nationCode
+
"-"
+
e
.
userData
.
phoneNumber
))])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apply-info-store"
},[
a
(
"span"
,{
staticClass
:
"w-80"
},[
e
.
_v
(
"所属部门:"
)]),
a
(
"span"
,{
staticClass
:
"w-130"
},[
e
.
_v
(
e
.
_s
(
e
.
userData
.
departmentName
||
"--"
))])])])])]),
e
.
_v
(
" "
),
a
(
"div"
,{
attrs
:{
slot
:
"reference"
},
slot
:
"reference"
},[
a
(
"div"
,{
staticClass
:
"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic cursor-pointer"
},[
t
.
row
.
headImgUrl
?
a
(
"img"
,{
attrs
:{
src
:
t
.
row
.
headImgUrl
,
alt
:
"img"
}}):
a
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})])])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"clerk-info flex flex-column flex-space-between m-l-16"
,
staticStyle
:{
overflow
:
"hidden"
,
"text-overflow"
:
"ellipsis"
,
"white-space"
:
"nowrap"
}},[
a
(
"p"
,{
staticClass
:
"first-item font-14 color-303133"
,
staticStyle
:{
"line-height"
:
"18px"
,
overflow
:
"hidden"
,
"text-overflow"
:
"ellipsis"
,
"white-space"
:
"nowrap"
}},[
e
.
_v
(
e
.
_s
(
t
.
row
.
clerkName
))]),
e
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"font-14 color-909399"
,
staticStyle
:{
"line-height"
:
"18px"
,
overflow
:
"hidden"
,
"text-overflow"
:
"ellipsis"
,
"white-space"
:
"nowrap"
}},[
e
.
_v
(
e
.
_s
(
t
.
row
.
clerkPhone
))])])],
1
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"创建时间"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeYMD"
)(
t
.
row
.
createTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-909399 line-18"
},[
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"
,{
staticClass
:
"line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeYMD"
)(
t
.
row
.
lastTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-909399 line-18"
},[
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"
,{
staticClass
:
"line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeYMD"
)(
t
.
row
.
finishTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-909399 line-18"
},[
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"
},
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
u
=
a
(
"VU/8"
)(
c
,
d
,
!
1
,
function
(
e
){
a
(
"bQBn"
)},
"data-v-71d22391"
,
null
);
t
.
default
=
u
.
exports
},
bQBn
:
function
(
e
,
t
){}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/4
2.9cfba776561a2683e1ce
.js
→
dist/static/js/4
1.5b5fdd73c94a6be987a4
.js
View file @
bff2a8b1
webpackJsonp
([
42
],{
JuNN
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
r
=
a
(
"Xxa5"
),
s
=
a
.
n
(
r
),
n
=
a
(
"exGp"
),
o
=
a
.
n
(
n
),
i
=
a
(
"3E4D"
),
l
=
a
(
"Ch4/"
),
c
=
a
(
"PI0u"
),
u
=
a
(
"P9l9"
),
d
=
{
name
:
"app-detail"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
tabType
:{
type
:
String
,
default
:
function
(){
return
"1"
}},
activeGroupId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
projectName
:
""
,
activeName
:
"first"
,
activeGroup
:
this
.
activeGroupId
,
wxEnterpriseRelatedId
:
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
,
myCustomData
:{
searchFlag
:
!
1
,
chatFlag
:
!
1
,
mainStoreFlag
:
!
1
,
minorStoreFlag
:
!
1
,
openCardStoreFlag
:
!
1
,
clerkSeeOtherFlag
:
!
1
,
isSeeAuthMember
:
!
1
,
allowGuideContact
:
!
1
,
allowGuideMobile
:
!
1
,
allowGuideMessage
:
!
1
,
allowGuideOnlineChat
:
!
1
},
overTimeSeeFlag
:
!
1
,
conditionObj
:{
searchInput
:
""
,
classifyName
:
""
,
effectiveStatus
:
""
},
groupListData
:[],
classifyList
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
syncDate
:
""
}},
beforeMount
:
function
(){
var
e
=
window
.
location
.
origin
;
-
1
!=
e
.
indexOf
(
"localhost"
)?
this
.
baseUrl
=
"http://www.gicdev.com"
:
this
.
baseUrl
=
e
},
methods
:{
getSyncDate
:
function
(
e
){
var
t
=
this
,
a
=
{
enterpriseId
:
t
.
brandId
,
wxEnterpriseRelatedId
:
t
.
wxEnterpriseRelatedId
};
Object
(
u
.
d
)(
"/haoban-app-customer-web/memberGroup/get-group_last_syn_time"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
l
.
a
.
errorMsg
(
a
):
t
.
syncDate
=
a
.
result
}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
toSync
:
Object
(
c
.
a
)(
function
(){
var
e
=
this
,
t
=
{
enterpriseId
:
e
.
brandId
,
wxEnterpriseRelatedId
:
e
.
wxEnterpriseRelatedId
};
Object
(
u
.
d
)(
"/haoban-app-customer-web/memberGroup/syn-group"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
i
.
a
.
showmsg
(
"同步成功"
,
"success"
),
void
e
.
getSyncDate
();
l
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
500
),
handleTabClick
:
function
(
e
,
t
){
var
a
=
this
;
return
o
()(
s
.
a
.
mark
(
function
t
(){
var
r
;
return
s
.
a
.
wrap
(
function
(
t
){
for
(;;)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
if
(
r
=
a
,
"first"
!=
e
.
name
){
t
.
next
=
5
;
break
}
r
.
getCustomerSet
(
r
.
brandId
),
t
.
next
=
15
;
break
;
case
5
:
if
(
"second"
!=
e
.
name
){
t
.
next
=
9
;
break
}
r
.
getShowSet
(
r
.
brandId
),
t
.
next
=
15
;
break
;
case
9
:
return
t
.
next
=
11
,
r
.
getGroupClassSet
(
r
.
brandId
);
case
11
:
return
t
.
next
=
13
,
r
.
getGroupClassify
(
r
.
brandId
);
case
13
:
return
t
.
next
=
15
,
r
.
getGroupList
(
r
.
brandId
);
case
15
:
case
"end"
:
return
t
.
stop
()}},
t
,
a
)}))()},
getGroupClassSet
:
function
(
e
){
var
t
=
this
,
a
=
{
enterpriseId
:
t
.
brandId
,
wxEnterpriseRelatedId
:
t
.
wxEnterpriseRelatedId
};
Object
(
u
.
d
)(
"/haoban-app-customer-web/memberGroup/get-member-group-setting"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
l
.
a
.
errorMsg
(
a
):
t
.
overTimeSeeFlag
=
0
!=
a
.
result
}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
saveGroupSet
:
function
(){
var
e
=
this
,
t
=
{
enterpriseId
:
e
.
brandId
,
wxEnterpriseRelatedId
:
e
.
wxEnterpriseRelatedId
,
overTimeSeeFlag
:
1
==
e
.
overTimeSeeFlag
?
1
:
0
};
Object
(
u
.
d
)(
"/haoban-app-customer-web/memberGroup/save-member-group-setting"
,
t
).
then
(
function
(
e
){
var
t
=
e
.
data
;
if
(
1
==
t
.
errorCode
)
return
i
.
a
.
showmsg
(
"设置成功"
,
"success"
),
!
1
;
l
.
a
.
errorMsg
(
t
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
toInput
:
Object
(
c
.
a
)(
function
(
e
,
t
){
this
.
currentPage
=
1
,
this
.
getGroupList
(
this
.
brandId
)},
500
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getGroupList
(
this
.
brandId
)},
changeCondition
:
function
(){
this
.
currentPage
=
1
,
this
.
getGroupList
(
this
.
brandId
)},
getGroupClassify
:
function
(
e
){
var
t
=
this
,
a
=
{
enterpriseId
:
t
.
brandId
,
wxEnterpriseRelatedId
:
t
.
wxEnterpriseRelatedId
};
Object
(
u
.
d
)(
"/haoban-app-customer-web/memberGroup/get-member-class-list"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
l
.
a
.
errorMsg
(
a
):
t
.
classifyList
=
a
.
result
.
list
||
[]}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
toChangeTemp
:
function
(
e
,
t
,
a
){
var
r
=
this
;
console
.
log
(
e
,
t
,
a
);
var
s
=
{
enterpriseId
:
r
.
brandId
,
wxEnterpriseRelatedId
:
r
.
wxEnterpriseRelatedId
,
memberTagGroupId
:
a
.
memberTagGroupId
,
isSendTemplate
:
1
==
a
.
isSendTemplate
?
1
:
0
};
Object
(
u
.
d
)(
"/haoban-app-customer-web/memberGroup/save-member-group-is-template-message"
,
s
).
then
(
function
(
e
){
var
t
=
e
.
data
;
if
(
1
==
t
.
errorCode
)
return
i
.
a
.
showmsg
(
"操作成功"
,
"success"
),
r
.
pageNum
=
1
,
void
r
.
getGroupList
(
r
.
brandId
);
a
.
isSendTemplate
=!
1
,
l
.
a
.
errorMsg
(
t
)}).
catch
(
function
(
e
){
r
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getGroupList
(
this
.
brandId
)},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getGroupList
(
this
.
brandId
)},
getGroupList
:
function
(
e
){
var
t
=
this
,
a
=
{
enterpriseId
:
t
.
brandId
,
wxEnterpriseRelatedId
:
t
.
wxEnterpriseRelatedId
,
memberGroupName
:
t
.
conditionObj
.
searchInput
,
classifyName
:
t
.
conditionObj
.
classifyName
,
effectiveStatus
:
t
.
conditionObj
.
effectiveStatus
,
pageNum
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
};
Object
(
u
.
d
)(
"/haoban-app-customer-web/memberGroup/member-tag-group-list"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
a
.
result
.
list
&&
a
.
result
.
list
.
length
&&
a
.
result
.
list
.
forEach
(
function
(
e
){
e
.
isSendTemplate
=
1
==
e
.
isSendTemplate
}),
t
.
groupListData
=
a
.
result
.
list
||
[],
void
(
t
.
total
=
a
.
result
.
pageInfo
.
total
);
l
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
brandId
:
function
(
e
,
t
){
this
.
getGroupClassify
(
this
.
brandId
),
this
.
getGroupList
(
this
.
brandId
),
this
.
getGroupClassSet
(
this
.
brandId
),
this
.
getSyncDate
(
this
.
brandId
)}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
"12"
),
this
.
getGroupClassify
(
this
.
brandId
),
this
.
getGroupList
(
this
.
brandId
),
this
.
getGroupClassSet
(
this
.
brandId
),
this
.
getSyncDate
(
this
.
brandId
)},
components
:{}},
p
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"app-detail-wrap"
},[
a
(
"div"
,{
staticClass
:
"app-detail-pane border-box p-20"
},[
a
(
"div"
,{
staticClass
:
"condition-wrap flex flex-space-between"
},[
a
(
"div"
,[
a
(
"el-input"
,{
staticClass
:
"w-264"
,
staticStyle
:{
width
:
"217px"
},
attrs
:{
placeholder
:
"请输入分组名称"
,
"prefix-icon"
:
"el-icon-search"
,
clearable
:
""
},
on
:{
clear
:
e
.
clearInput
},
nativeOn
:{
keyup
:
function
(
t
){
return
a
=
t
,
e
.
toInput
(
a
,
e
.
conditionObj
.
searchInput
);
var
a
}},
model
:{
value
:
e
.
conditionObj
.
searchInput
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"searchInput"
,
t
)},
expression
:
"conditionObj.searchInput"
}}),
a
(
"el-select"
,{
staticClass
:
"w-168 m-l-10"
,
attrs
:{
placeholder
:
"全部分类"
},
on
:{
change
:
e
.
changeCondition
},
model
:{
value
:
e
.
conditionObj
.
classifyName
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"classifyName"
,
t
)},
expression
:
"conditionObj.classifyName"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"全部分类"
,
value
:
""
}}),
e
.
_v
(
" "
),
e
.
_l
(
e
.
classifyList
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
,
attrs
:{
label
:
e
,
value
:
e
}})})],
2
),
a
(
"el-select"
,{
staticClass
:
"w-168 m-l-10"
,
attrs
:{
placeholder
:
"全部状态"
},
on
:{
change
:
e
.
changeCondition
},
model
:{
value
:
e
.
conditionObj
.
effectiveStatus
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"effectiveStatus"
,
t
)},
expression
:
"conditionObj.effectiveStatus"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"全部状态"
,
value
:
""
}}),
e
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"有效"
,
value
:
"1"
}}),
e
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"失效"
,
value
:
"0"
}})],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"div"
,[
a
(
"el-checkbox"
,{
on
:{
change
:
e
.
saveGroupSet
},
model
:{
value
:
e
.
overTimeSeeFlag
,
callback
:
function
(
t
){
e
.
overTimeSeeFlag
=
t
},
expression
:
"overTimeSeeFlag"
}}),
e
.
_v
(
" "
),
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
"开启后,GIC中设置的好办端会员分组到期后,好办移动端将不再展示该条分组"
,
placement
:
"top-start"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-606266 m-r-20"
,
staticStyle
:{
cursor
:
"pointer"
,
"padding-bottom"
:
"2px"
,
"border-bottom"
:
"1px dashed #2F54EB"
}},[
e
.
_v
(
"会员分组到期后不展示"
)])]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
toSync
}},[
e
.
_v
(
"立即同步"
)]),
e
.
_v
(
" "
),
e
.
syncDate
?
a
(
"span"
,{
staticClass
:
"font-14 color-606266 p-r-10"
},[
e
.
_v
(
"最近一次同步时间:"
+
e
.
_s
(
e
.
_f
(
"formatTimeStamp"
)(
e
.
syncDate
)))]):
e
.
_e
()],
1
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-20"
},[
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
groupListData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"分组名称"
,
width
:
"120"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
groupName
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"分类"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
memberTagGroupClassifyName
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"是否实时"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
1
==
t
.
row
.
isRealTime
?
"是"
:
"否"
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"更新频率"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
1
==
t
.
row
.
updateType
?
"每日"
:
2
==
t
.
row
.
updateType
?
"每周"
:
3
==
t
.
row
.
updateType
?
"每月"
:
"-"
)
+
" "
+
e
.
_s
(
1
==
t
.
row
.
updateType
?
"一次"
:
2
==
t
.
row
.
updateType
?
"周"
+
t
.
row
.
updateDay
:
3
==
t
.
row
.
updateType
?
t
.
row
.
updateDay
+
"号"
:
"-"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"状态"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
"1"
==
t
.
row
.
effectiveStatus
?
"有效"
:
"失效"
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"覆盖人数"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
memberCount
||
0
)
+
"人"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"到期时间"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToYmd"
)(
t
.
row
.
effectiveDate
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToHms"
)(
t
.
row
.
effectiveDate
)))])]}}])})],
1
),
e
.
_v
(
" "
),
0
!=
e
.
groupListData
.
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
)])])},
staticRenderFns
:[]};
var
m
=
a
(
"VU/8"
)(
d
,
p
,
!
1
,
function
(
e
){
a
(
"vZ+u"
)},
"data-v-6a674b86"
,
null
);
t
.
default
=
m
.
exports
},
"vZ+u"
:
function
(
e
,
t
){}});
webpackJsonp
([
41
],{
JuNN
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
r
=
a
(
"Xxa5"
),
s
=
a
.
n
(
r
),
n
=
a
(
"exGp"
),
o
=
a
.
n
(
n
),
i
=
a
(
"3E4D"
),
l
=
a
(
"Ch4/"
),
c
=
a
(
"PI0u"
),
u
=
a
(
"P9l9"
),
d
=
{
name
:
"app-detail"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
tabType
:{
type
:
String
,
default
:
function
(){
return
"1"
}},
activeGroupId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
projectName
:
""
,
activeName
:
"first"
,
activeGroup
:
this
.
activeGroupId
,
wxEnterpriseRelatedId
:
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
,
myCustomData
:{
searchFlag
:
!
1
,
chatFlag
:
!
1
,
mainStoreFlag
:
!
1
,
minorStoreFlag
:
!
1
,
openCardStoreFlag
:
!
1
,
clerkSeeOtherFlag
:
!
1
,
isSeeAuthMember
:
!
1
,
allowGuideContact
:
!
1
,
allowGuideMobile
:
!
1
,
allowGuideMessage
:
!
1
,
allowGuideOnlineChat
:
!
1
},
overTimeSeeFlag
:
!
1
,
conditionObj
:{
searchInput
:
""
,
classifyName
:
""
,
effectiveStatus
:
""
},
groupListData
:[],
classifyList
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
syncDate
:
""
}},
beforeMount
:
function
(){
var
e
=
window
.
location
.
origin
;
-
1
!=
e
.
indexOf
(
"localhost"
)?
this
.
baseUrl
=
"http://www.gicdev.com"
:
this
.
baseUrl
=
e
},
methods
:{
getSyncDate
:
function
(
e
){
var
t
=
this
,
a
=
{
enterpriseId
:
t
.
brandId
,
wxEnterpriseRelatedId
:
t
.
wxEnterpriseRelatedId
};
Object
(
u
.
d
)(
"/haoban-app-customer-web/memberGroup/get-group_last_syn_time"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
l
.
a
.
errorMsg
(
a
):
t
.
syncDate
=
a
.
result
}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
toSync
:
Object
(
c
.
a
)(
function
(){
var
e
=
this
,
t
=
{
enterpriseId
:
e
.
brandId
,
wxEnterpriseRelatedId
:
e
.
wxEnterpriseRelatedId
};
Object
(
u
.
d
)(
"/haoban-app-customer-web/memberGroup/syn-group"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
i
.
a
.
showmsg
(
"同步成功"
,
"success"
),
void
e
.
getSyncDate
();
l
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
500
),
handleTabClick
:
function
(
e
,
t
){
var
a
=
this
;
return
o
()(
s
.
a
.
mark
(
function
t
(){
var
r
;
return
s
.
a
.
wrap
(
function
(
t
){
for
(;;)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
if
(
r
=
a
,
"first"
!=
e
.
name
){
t
.
next
=
5
;
break
}
r
.
getCustomerSet
(
r
.
brandId
),
t
.
next
=
15
;
break
;
case
5
:
if
(
"second"
!=
e
.
name
){
t
.
next
=
9
;
break
}
r
.
getShowSet
(
r
.
brandId
),
t
.
next
=
15
;
break
;
case
9
:
return
t
.
next
=
11
,
r
.
getGroupClassSet
(
r
.
brandId
);
case
11
:
return
t
.
next
=
13
,
r
.
getGroupClassify
(
r
.
brandId
);
case
13
:
return
t
.
next
=
15
,
r
.
getGroupList
(
r
.
brandId
);
case
15
:
case
"end"
:
return
t
.
stop
()}},
t
,
a
)}))()},
getGroupClassSet
:
function
(
e
){
var
t
=
this
,
a
=
{
enterpriseId
:
t
.
brandId
,
wxEnterpriseRelatedId
:
t
.
wxEnterpriseRelatedId
};
Object
(
u
.
d
)(
"/haoban-app-customer-web/memberGroup/get-member-group-setting"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
l
.
a
.
errorMsg
(
a
):
t
.
overTimeSeeFlag
=
0
!=
a
.
result
}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
saveGroupSet
:
function
(){
var
e
=
this
,
t
=
{
enterpriseId
:
e
.
brandId
,
wxEnterpriseRelatedId
:
e
.
wxEnterpriseRelatedId
,
overTimeSeeFlag
:
1
==
e
.
overTimeSeeFlag
?
1
:
0
};
Object
(
u
.
d
)(
"/haoban-app-customer-web/memberGroup/save-member-group-setting"
,
t
).
then
(
function
(
e
){
var
t
=
e
.
data
;
if
(
1
==
t
.
errorCode
)
return
i
.
a
.
showmsg
(
"设置成功"
,
"success"
),
!
1
;
l
.
a
.
errorMsg
(
t
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
toInput
:
Object
(
c
.
a
)(
function
(
e
,
t
){
this
.
currentPage
=
1
,
this
.
getGroupList
(
this
.
brandId
)},
500
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getGroupList
(
this
.
brandId
)},
changeCondition
:
function
(){
this
.
currentPage
=
1
,
this
.
getGroupList
(
this
.
brandId
)},
getGroupClassify
:
function
(
e
){
var
t
=
this
,
a
=
{
enterpriseId
:
t
.
brandId
,
wxEnterpriseRelatedId
:
t
.
wxEnterpriseRelatedId
};
Object
(
u
.
d
)(
"/haoban-app-customer-web/memberGroup/get-member-class-list"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
l
.
a
.
errorMsg
(
a
):
t
.
classifyList
=
a
.
result
.
list
||
[]}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
toChangeTemp
:
function
(
e
,
t
,
a
){
var
r
=
this
;
console
.
log
(
e
,
t
,
a
);
var
s
=
{
enterpriseId
:
r
.
brandId
,
wxEnterpriseRelatedId
:
r
.
wxEnterpriseRelatedId
,
memberTagGroupId
:
a
.
memberTagGroupId
,
isSendTemplate
:
1
==
a
.
isSendTemplate
?
1
:
0
};
Object
(
u
.
d
)(
"/haoban-app-customer-web/memberGroup/save-member-group-is-template-message"
,
s
).
then
(
function
(
e
){
var
t
=
e
.
data
;
if
(
1
==
t
.
errorCode
)
return
i
.
a
.
showmsg
(
"操作成功"
,
"success"
),
r
.
pageNum
=
1
,
void
r
.
getGroupList
(
r
.
brandId
);
a
.
isSendTemplate
=!
1
,
l
.
a
.
errorMsg
(
t
)}).
catch
(
function
(
e
){
r
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getGroupList
(
this
.
brandId
)},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getGroupList
(
this
.
brandId
)},
getGroupList
:
function
(
e
){
var
t
=
this
,
a
=
{
enterpriseId
:
t
.
brandId
,
wxEnterpriseRelatedId
:
t
.
wxEnterpriseRelatedId
,
memberGroupName
:
t
.
conditionObj
.
searchInput
,
classifyName
:
t
.
conditionObj
.
classifyName
,
effectiveStatus
:
t
.
conditionObj
.
effectiveStatus
,
pageNum
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
};
Object
(
u
.
d
)(
"/haoban-app-customer-web/memberGroup/member-tag-group-list"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
a
.
result
.
list
&&
a
.
result
.
list
.
length
&&
a
.
result
.
list
.
forEach
(
function
(
e
){
e
.
isSendTemplate
=
1
==
e
.
isSendTemplate
}),
t
.
groupListData
=
a
.
result
.
list
||
[],
void
(
t
.
total
=
a
.
result
.
pageInfo
.
total
);
l
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
brandId
:
function
(
e
,
t
){
this
.
getGroupClassify
(
this
.
brandId
),
this
.
getGroupList
(
this
.
brandId
),
this
.
getGroupClassSet
(
this
.
brandId
),
this
.
getSyncDate
(
this
.
brandId
)}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
"12"
),
this
.
getGroupClassify
(
this
.
brandId
),
this
.
getGroupList
(
this
.
brandId
),
this
.
getGroupClassSet
(
this
.
brandId
),
this
.
getSyncDate
(
this
.
brandId
)},
components
:{}},
p
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"app-detail-wrap"
},[
a
(
"div"
,{
staticClass
:
"app-detail-pane border-box p-20"
},[
a
(
"div"
,{
staticClass
:
"condition-wrap flex flex-space-between"
},[
a
(
"div"
,[
a
(
"el-input"
,{
staticClass
:
"w-264"
,
staticStyle
:{
width
:
"217px"
},
attrs
:{
placeholder
:
"请输入分组名称"
,
"prefix-icon"
:
"el-icon-search"
,
clearable
:
""
},
on
:{
clear
:
e
.
clearInput
},
nativeOn
:{
keyup
:
function
(
t
){
return
a
=
t
,
e
.
toInput
(
a
,
e
.
conditionObj
.
searchInput
);
var
a
}},
model
:{
value
:
e
.
conditionObj
.
searchInput
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"searchInput"
,
t
)},
expression
:
"conditionObj.searchInput"
}}),
a
(
"el-select"
,{
staticClass
:
"w-168 m-l-10"
,
attrs
:{
placeholder
:
"全部分类"
},
on
:{
change
:
e
.
changeCondition
},
model
:{
value
:
e
.
conditionObj
.
classifyName
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"classifyName"
,
t
)},
expression
:
"conditionObj.classifyName"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"全部分类"
,
value
:
""
}}),
e
.
_v
(
" "
),
e
.
_l
(
e
.
classifyList
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
,
attrs
:{
label
:
e
,
value
:
e
}})})],
2
),
a
(
"el-select"
,{
staticClass
:
"w-168 m-l-10"
,
attrs
:{
placeholder
:
"全部状态"
},
on
:{
change
:
e
.
changeCondition
},
model
:{
value
:
e
.
conditionObj
.
effectiveStatus
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"effectiveStatus"
,
t
)},
expression
:
"conditionObj.effectiveStatus"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"全部状态"
,
value
:
""
}}),
e
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"有效"
,
value
:
"1"
}}),
e
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"失效"
,
value
:
"0"
}})],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"div"
,[
a
(
"el-checkbox"
,{
on
:{
change
:
e
.
saveGroupSet
},
model
:{
value
:
e
.
overTimeSeeFlag
,
callback
:
function
(
t
){
e
.
overTimeSeeFlag
=
t
},
expression
:
"overTimeSeeFlag"
}}),
e
.
_v
(
" "
),
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
"开启后,GIC中设置的好办端会员分组到期后,好办移动端将不再展示该条分组"
,
placement
:
"top-start"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-606266 m-r-20"
,
staticStyle
:{
cursor
:
"pointer"
,
"padding-bottom"
:
"2px"
,
"border-bottom"
:
"1px dashed #2F54EB"
}},[
e
.
_v
(
"会员分组到期后不展示"
)])]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
toSync
}},[
e
.
_v
(
"立即同步"
)]),
e
.
_v
(
" "
),
e
.
syncDate
?
a
(
"span"
,{
staticClass
:
"font-14 color-606266 p-r-10"
},[
e
.
_v
(
"最近一次同步时间:"
+
e
.
_s
(
e
.
_f
(
"formatTimeStamp"
)(
e
.
syncDate
)))]):
e
.
_e
()],
1
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-20"
},[
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
groupListData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"分组名称"
,
width
:
"120"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
groupName
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"分类"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
memberTagGroupClassifyName
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"是否实时"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
1
==
t
.
row
.
isRealTime
?
"是"
:
"否"
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"更新频率"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
1
==
t
.
row
.
updateType
?
"每日"
:
2
==
t
.
row
.
updateType
?
"每周"
:
3
==
t
.
row
.
updateType
?
"每月"
:
"-"
)
+
" "
+
e
.
_s
(
1
==
t
.
row
.
updateType
?
"一次"
:
2
==
t
.
row
.
updateType
?
"周"
+
t
.
row
.
updateDay
:
3
==
t
.
row
.
updateType
?
t
.
row
.
updateDay
+
"号"
:
"-"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"状态"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
"1"
==
t
.
row
.
effectiveStatus
?
"有效"
:
"失效"
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"覆盖人数"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
memberCount
||
0
)
+
"人"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"到期时间"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToYmd"
)(
t
.
row
.
effectiveDate
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToHms"
)(
t
.
row
.
effectiveDate
)))])]}}])})],
1
),
e
.
_v
(
" "
),
0
!=
e
.
groupListData
.
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
)])])},
staticRenderFns
:[]};
var
m
=
a
(
"VU/8"
)(
d
,
p
,
!
1
,
function
(
e
){
a
(
"vZ+u"
)},
"data-v-6a674b86"
,
null
);
t
.
default
=
m
.
exports
},
"vZ+u"
:
function
(
e
,
t
){}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/4
3.491cbc97f03e6a9416fd
.js
→
dist/static/js/4
2.5f24cb743057dc072bae
.js
View file @
bff2a8b1
webpackJsonp
([
43
],{
I5zg
:
function
(
t
,
e
){},
cD4x
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"Xxa5"
),
r
=
a
.
n
(
n
),
s
=
a
(
"exGp"
),
i
=
a
.
n
(
s
),
o
=
a
(
"Ch4/"
),
c
=
a
(
"3E4D"
),
l
=
a
(
"PI0u"
),
u
=
a
(
"P9l9"
),
d
=
{
components
:{},
props
:{
brandId
:{
type
:
String
,
default
:
""
}},
data
:
function
(){
return
{
activeId
:
"2"
,
wxEnterpriseId
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
searchInput
:
""
,
tableData
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
}},
watch
:{
brandId
:
function
(
t
){
t
&&
this
.
getTableList
()}},
methods
:{
toDel
:
function
(
t
,
e
){
var
a
=
this
;
a
.
$confirm
(
"是否要删除选中的补发卡券?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
delCardList
(
e
.
repairId
)}).
catch
(
function
(){})},
delCardList
:
function
(
t
){
var
e
=
this
,
a
=
{
repairId
:
t
};
Object
(
u
.
d
)(
"/haoban-app-customer-web/inner/delete-repair"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
c
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
e
.
getTableList
(
e
.
brandId
);
o
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
toEdit
:
function
(
t
,
e
){
this
.
$router
.
push
(
"/newCardPut?repairId="
+
e
.
repairId
)},
toInput
:
Object
(
l
.
a
)(
function
(
t
,
e
){
this
.
currentPage
=
1
,
this
.
getTableList
(
this
.
brandId
)},
500
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
(
this
.
brandId
)},
toNewCard
:
function
(){
this
.
$router
.
push
(
"/newCardPut"
)},
handleSizeChange
:
function
(
t
){
this
.
pageSize
=
t
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
t
){
this
.
currentPage
=
t
,
this
.
getTableList
()},
changeYear
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
getTableList
:
function
(){
var
t
=
this
;
return
i
()(
r
.
a
.
mark
(
function
e
(){
var
a
,
n
;
return
r
.
a
.
wrap
(
function
(
e
){
for
(;;)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
n
=
{
wxEnterpriseId
:(
a
=
t
).
wxEnterpriseId
,
pageNum
:
a
.
currentPage
,
pageSize
:
a
.
pageSize
},
Object
(
u
.
d
)(
"/haoban-app-customer-web/inner/page-repair"
,
n
).
then
(
function
(
t
){
var
e
=
t
.
data
;
if
(
1
==
e
.
errorCode
)
return
a
.
tableData
=
e
.
result
.
result
||
[],
void
(
a
.
total
=
e
.
result
.
totalCount
);
o
.
a
.
errorMsg
(
e
)}).
catch
(
function
(
t
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})});
case
3
:
case
"end"
:
return
e
.
stop
()}},
e
,
t
)}))()}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
"3"
),
this
.
getTableList
()}},
p
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"section"
,{
staticClass
:
"common-right-wrap"
},[
a
(
"div"
,{
staticClass
:
"p-20"
},[
a
(
"div"
,{
staticClass
:
"flex flex-space-between m-b-20"
},[
t
.
_m
(
0
),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
toNewCard
}},[
t
.
_v
(
"新增补发"
)])],
1
),
t
.
_v
(
" "
),
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
staticStyle
:{
width
:
"calc(100% - 0px)"
},
attrs
:{
data
:
t
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"卡券组合名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
cardCombineName
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"卡券模板"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
cardTemplates
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"操作"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
toEdit
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"查看"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
toDel
(
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
)])},
staticRenderFns
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,[
e
(
"span"
,{
staticClass
:
"font-12 color-909399 p-l-10 font-w-300"
},[
this
.
_v
(
"内购券投放是针对卡券策略中没有下发的内购券,针对员工进行补发"
)])])}]};
var
f
=
a
(
"VU/8"
)(
d
,
p
,
!
1
,
function
(
t
){
a
(
"I5zg"
)},
"data-v-699b44ac"
,
null
);
e
.
default
=
f
.
exports
}});
webpackJsonp
([
42
],{
I5zg
:
function
(
t
,
e
){},
cD4x
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"Xxa5"
),
r
=
a
.
n
(
n
),
s
=
a
(
"exGp"
),
i
=
a
.
n
(
s
),
o
=
a
(
"Ch4/"
),
c
=
a
(
"3E4D"
),
l
=
a
(
"PI0u"
),
u
=
a
(
"P9l9"
),
d
=
{
components
:{},
props
:{
brandId
:{
type
:
String
,
default
:
""
}},
data
:
function
(){
return
{
activeId
:
"2"
,
wxEnterpriseId
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
searchInput
:
""
,
tableData
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
}},
watch
:{
brandId
:
function
(
t
){
t
&&
this
.
getTableList
()}},
methods
:{
toDel
:
function
(
t
,
e
){
var
a
=
this
;
a
.
$confirm
(
"是否要删除选中的补发卡券?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
delCardList
(
e
.
repairId
)}).
catch
(
function
(){})},
delCardList
:
function
(
t
){
var
e
=
this
,
a
=
{
repairId
:
t
};
Object
(
u
.
d
)(
"/haoban-app-customer-web/inner/delete-repair"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
c
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
e
.
getTableList
(
e
.
brandId
);
o
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
toEdit
:
function
(
t
,
e
){
this
.
$router
.
push
(
"/newCardPut?repairId="
+
e
.
repairId
)},
toInput
:
Object
(
l
.
a
)(
function
(
t
,
e
){
this
.
currentPage
=
1
,
this
.
getTableList
(
this
.
brandId
)},
500
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
(
this
.
brandId
)},
toNewCard
:
function
(){
this
.
$router
.
push
(
"/newCardPut"
)},
handleSizeChange
:
function
(
t
){
this
.
pageSize
=
t
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
t
){
this
.
currentPage
=
t
,
this
.
getTableList
()},
changeYear
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
getTableList
:
function
(){
var
t
=
this
;
return
i
()(
r
.
a
.
mark
(
function
e
(){
var
a
,
n
;
return
r
.
a
.
wrap
(
function
(
e
){
for
(;;)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
n
=
{
wxEnterpriseId
:(
a
=
t
).
wxEnterpriseId
,
pageNum
:
a
.
currentPage
,
pageSize
:
a
.
pageSize
},
Object
(
u
.
d
)(
"/haoban-app-customer-web/inner/page-repair"
,
n
).
then
(
function
(
t
){
var
e
=
t
.
data
;
if
(
1
==
e
.
errorCode
)
return
a
.
tableData
=
e
.
result
.
result
||
[],
void
(
a
.
total
=
e
.
result
.
totalCount
);
o
.
a
.
errorMsg
(
e
)}).
catch
(
function
(
t
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})});
case
3
:
case
"end"
:
return
e
.
stop
()}},
e
,
t
)}))()}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
"3"
),
this
.
getTableList
()}},
p
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"section"
,{
staticClass
:
"common-right-wrap"
},[
a
(
"div"
,{
staticClass
:
"p-20"
},[
a
(
"div"
,{
staticClass
:
"flex flex-space-between m-b-20"
},[
t
.
_m
(
0
),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
toNewCard
}},[
t
.
_v
(
"新增补发"
)])],
1
),
t
.
_v
(
" "
),
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
staticStyle
:{
width
:
"calc(100% - 0px)"
},
attrs
:{
data
:
t
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"卡券组合名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
cardCombineName
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"卡券模板"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
cardTemplates
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"操作"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
toEdit
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"查看"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
toDel
(
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
)])},
staticRenderFns
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,[
e
(
"span"
,{
staticClass
:
"font-12 color-909399 p-l-10 font-w-300"
},[
this
.
_v
(
"内购券投放是针对卡券策略中没有下发的内购券,针对员工进行补发"
)])])}]};
var
f
=
a
(
"VU/8"
)(
d
,
p
,
!
1
,
function
(
t
){
a
(
"I5zg"
)},
"data-v-699b44ac"
,
null
);
e
.
default
=
f
.
exports
}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/4
4.9a001dcb0b20412481a9
.js
→
dist/static/js/4
3.51bc93dd50e72a7a505a
.js
View file @
bff2a8b1
webpackJsonp
([
44
],{
Yz8m
:
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
:
"/badEvaluateRecord"
},{
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
},
selectBrandId
:
function
(
e
){
this
.
activeBrand
=
e
},
setSelectTab
:
function
(
e
){
this
.
activeTab
=
e
.
tabId
},
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
=
{
taskType
:
0
,
storeId
:
t
.
conditionObj
.
storeId
,
taskIds
:
t
.
multipleSelection
.
map
(
function
(
e
){
return
e
.
taskIds
})
||
""
,
isOverTime
:
t
.
conditionObj
.
overdue
||
""
,
isCompleted
:
t
.
conditionObj
.
completed
||
""
,
reason
:
e
.
reason
,
brandId
:
t
.
activeBrand
,
isAll
:
t
.
selectRadio
};
Object
(
c
.
d
)(
"/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
,
"daily-detail"
),
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
,
taskType
:
0
};
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
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
$emit
(
"showTab"
,
"1"
),
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"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
,
height
:
e
.
tableH
},
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
?
"#2f54eb"
:
"#606266"
}},[
e
.
_v
(
"选择当页"
)])]),
e
.
_v
(
" "
),
a
(
"el-dropdown-item"
,{
attrs
:{
command
:
"1"
}},[
a
(
"span"
,{
style
:{
color
:
1
==
e
.
selectRadio
?
"#2f54eb"
:
"#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
:{
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"
,[
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
:{
align
:
"left"
},
scopedSlots
:
e
.
_u
([{
key
:
"header"
,
fn
:
function
(
t
){
return
[
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
row
?
"完成备注"
:
"放弃备注"
))])]}},{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-popover"
,{
attrs
:{
placement
:
"top-start"
,
title
:
""
,
width
:
"200"
,
trigger
:
"hover"
,
content
:
e
.
row
.
reason
}},[
a
(
"i"
,{
staticClass
:
"iconfont icon-beizhu"
})])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"完成备注"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
"已完成"
==
t
.
row
.
isCompleted
?
a
(
"el-popover"
,{
attrs
:{
placement
:
"top-start"
,
title
:
""
,
width
:
"200"
,
trigger
:
"hover"
,
content
:
"已完成"
==
t
.
row
.
isCompleted
?
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
[
"未完成"
==
t
.
row
.
isCompleted
?
a
(
"el-popover"
,{
attrs
:{
placement
:
"top-start"
,
title
:
""
,
width
:
"200"
,
trigger
:
"hover"
,
content
:
"已完成"
==
t
.
row
.
isCompleted
?
""
:
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
(
"eoRX"
)},
"data-v-68967570"
,
null
);
t
.
default
=
m
.
exports
},
eoRX
:
function
(
e
,
t
){}});
webpackJsonp
([
43
],{
Yz8m
:
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
:
"/badEvaluateRecord"
},{
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
},
selectBrandId
:
function
(
e
){
this
.
activeBrand
=
e
},
setSelectTab
:
function
(
e
){
this
.
activeTab
=
e
.
tabId
},
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
=
{
taskType
:
0
,
storeId
:
t
.
conditionObj
.
storeId
,
taskIds
:
t
.
multipleSelection
.
map
(
function
(
e
){
return
e
.
taskIds
})
||
""
,
isOverTime
:
t
.
conditionObj
.
overdue
||
""
,
isCompleted
:
t
.
conditionObj
.
completed
||
""
,
reason
:
e
.
reason
,
brandId
:
t
.
activeBrand
,
isAll
:
t
.
selectRadio
};
Object
(
c
.
d
)(
"/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
,
"daily-detail"
),
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
,
taskType
:
0
};
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
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
$emit
(
"showTab"
,
"1"
),
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"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
,
height
:
e
.
tableH
},
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
?
"#2f54eb"
:
"#606266"
}},[
e
.
_v
(
"选择当页"
)])]),
e
.
_v
(
" "
),
a
(
"el-dropdown-item"
,{
attrs
:{
command
:
"1"
}},[
a
(
"span"
,{
style
:{
color
:
1
==
e
.
selectRadio
?
"#2f54eb"
:
"#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
:{
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"
,[
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
:{
align
:
"left"
},
scopedSlots
:
e
.
_u
([{
key
:
"header"
,
fn
:
function
(
t
){
return
[
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
row
?
"完成备注"
:
"放弃备注"
))])]}},{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-popover"
,{
attrs
:{
placement
:
"top-start"
,
title
:
""
,
width
:
"200"
,
trigger
:
"hover"
,
content
:
e
.
row
.
reason
}},[
a
(
"i"
,{
staticClass
:
"iconfont icon-beizhu"
})])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"完成备注"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
"已完成"
==
t
.
row
.
isCompleted
?
a
(
"el-popover"
,{
attrs
:{
placement
:
"top-start"
,
title
:
""
,
width
:
"200"
,
trigger
:
"hover"
,
content
:
"已完成"
==
t
.
row
.
isCompleted
?
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
[
"未完成"
==
t
.
row
.
isCompleted
?
a
(
"el-popover"
,{
attrs
:{
placement
:
"top-start"
,
title
:
""
,
width
:
"200"
,
trigger
:
"hover"
,
content
:
"已完成"
==
t
.
row
.
isCompleted
?
""
:
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
(
"eoRX"
)},
"data-v-68967570"
,
null
);
t
.
default
=
m
.
exports
},
eoRX
:
function
(
e
,
t
){}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/4
5.7d07ad63ee1aebc77c05
.js
→
dist/static/js/4
4.e1dc95df16dac16d20f7
.js
View file @
bff2a8b1
webpackJsonp
([
45
],{
KA2f
:
function
(
t
,
e
){},
SBUJ
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"fZjL"
),
o
=
a
.
n
(
n
),
i
=
a
(
"Ggl+"
),
s
=
a
(
"LRn8"
),
r
=
a
(
"P9l9"
),
l
=
a
(
"PI0u"
),
c
=
a
(
"3E4D"
),
d
=
a
(
"Ch4/"
),
u
=
{
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"
,
showDialog
:
!
1
,
conditionObj
:{
searchInput
:
""
,
storeGroup
:[],
storeType
:
""
,
dateRange
:[]},
selectRadio
:
0
,
tableData
:[],
multipleSelection
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
}},
computed
:{},
methods
:{
checkGroupIds
:
function
(
t
){
this
.
conditionObj
.
storeGroup
=
t
,
this
.
currentPage
=
1
,
this
.
getTableList
()},
changeTable
:
function
(
t
){
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleCommand
:
function
(
t
){
this
.
selectRadio
=
t
},
setSelectTab
:
function
(
t
){
this
.
activeTab
=
t
.
tabId
},
toInput
:
Object
(
l
.
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
,
!
o
()(
t
).
length
)
return
!
1
;
this
.
postMultDel
(
t
)},
postMultDel
:
function
(
t
){
var
e
=
this
,
a
=
[];
e
.
conditionObj
.
storeGroup
.
forEach
(
function
(
t
){
a
.
push
(
t
.
storeGroupId
)}),
e
.
conditionObj
.
dateRange
||
(
e
.
conditionObj
.
dateRange
=
[]);
var
n
=
{
search
:
e
.
conditionObj
.
searchInput
||
""
,
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
]
||
""
,
enterpriseId
:
e
.
activeBrand
,
delTaskStatus
:
t
.
delOptFlag
,
reason
:
t
.
reason
,
isAll
:
e
.
selectRadio
};
Object
(
r
.
d
)(
"/haoban-app-tel-task-three-web/task/batch-del-store-task-list"
,
n
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
c
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
e
.
getTableList
();
d
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
exportExcel
:
function
(){
var
t
=
this
,
e
=
[];
t
.
conditionObj
.
storeGroup
.
forEach
(
function
(
t
){
e
.
push
(
t
.
storeGroupId
)});
var
a
=
{
search
:
t
.
conditionObj
.
searchInput
||
""
,
storeGroupIds
:
e
.
join
(
","
)
||
""
,
storeType
:
t
.
conditionObj
.
storeType
||
""
,
startDate
:
t
.
conditionObj
.
dateRange
?
t
.
conditionObj
.
dateRange
[
0
]:
""
,
endDate
:
t
.
conditionObj
.
dateRange
?
t
.
conditionObj
.
dateRange
[
1
]:
""
,
enterpriseId
:
t
.
activeBrand
};
Object
(
r
.
b
)(
"/haoban-app-tel-task-three-web/task/export-store-task-list"
,
a
).
then
(
function
(
e
){
if
(
!
e
.
data
)
return
d
.
a
.
errorMsg
(
"暂无数据"
),
!
1
;
var
a
=
new
Blob
([
e
.
data
],{
type
:
"application/vnd.ms-excel"
}),
n
=
(
t
.
tableData
[
0
]?
t
.
tableData
[
0
].
storeName
:
""
)
+
"门店任务报表.csv"
,
o
=
document
.
createElement
(
"a"
);
o
.
download
=
n
,
o
.
style
.
display
=
"none"
,
o
.
href
=
URL
.
createObjectURL
(
a
),
document
.
body
.
appendChild
(
o
),
o
.
click
(),
URL
.
revokeObjectURL
(
o
.
href
),
document
.
body
.
removeChild
(
o
)}).
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
+
"&ecmId="
+
this
.
$route
.
query
.
ecmId
)},
getTableList
:
function
(
t
){
var
e
=
this
,
a
=
[];
e
.
conditionObj
.
storeGroup
.
forEach
(
function
(
t
){
a
.
push
(
t
.
storeGroupId
)}),
e
.
conditionObj
.
dateRange
||
(
e
.
conditionObj
.
dateRange
=
[]);
var
n
=
{
ecmId
:
e
.
$route
.
query
.
ecmId
,
search
:
e
.
conditionObj
.
searchInput
||
""
,
storeGroupIds
:
a
.
join
(
","
)
||
""
,
storeType
:
e
.
conditionObj
.
storeType
||
""
,
startDate
:
e
.
conditionObj
.
dateRange
[
0
]
||
""
,
endDate
:
e
.
conditionObj
.
dateRange
[
1
]
||
""
,
pageNum
:
e
.
currentPage
,
pageSize
:
e
.
pageSize
,
enterpriseId
:
e
.
activeBrand
};
Object
(
r
.
a
)(
"/haoban-app-tel-task-three-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
;
d
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
initDataRange
:
function
(){
var
t
=
new
Date
,
e
=
t
.
getTime
()
-
7776
e6
,
a
=
t
.
getFullYear
(),
n
=
t
.
getMonth
()
+
1
,
o
=
t
.
getDate
()
<
10
?
"0"
+
t
.
getDate
():
t
.
getDate
(),
i
=
n
<
10
?
"0"
+
n
:
n
,
s
=
new
Date
(
e
),
r
=
s
.
getFullYear
(),
l
=
s
.
getMonth
()
+
1
,
c
=
s
.
getDate
()
<
10
?
"0"
+
s
.
getDate
():
s
.
getDate
();
return
[
r
+
"-"
+
(
l
<
10
?
"0"
+
l
:
l
)
+
"-"
+
c
,
a
+
"-"
+
i
+
"-"
+
o
]}},
watch
:{
brandId
:
function
(
t
,
e
){
t
&&
(
this
.
activeBrand
=
t
,
this
.
getTableList
())},
activeGroupId
:
function
(
t
,
e
){
t
&&
(
this
.
activeGroup
=
t
)}},
mounted
:
function
(){
var
t
=
this
;
t
.
$emit
(
"showTab"
,
"12"
),
t
.
conditionObj
.
dateRange
=
t
.
initDataRange
(),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
t
.
activeBrand
=
t
.
brandId
,
t
.
brandId
&&
t
.
$nextTick
(
function
(){
t
.
getTableList
()})},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
gicSelectGroup
:
i
.
a
,
multipleDel
:
s
.
a
}},
p
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"daily-set-wrap task-view-detail"
},[
a
(
"div"
,{
staticClass
:
"daily-set-content border-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
:
"请输入门店名称"
},
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
(
"gic-select-group"
,{
staticClass
:
"m-l-10"
,
attrs
:{
brandId
:
t
.
brandId
,
width
:
213
,
selectData
:
t
.
conditionObj
.
storeGroup
},
on
:{
checkGroupIds
:
t
.
checkGroupIds
}}),
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
(
"批量删除"
)])],
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
:
"iconfont icongengduo"
})]),
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
?
"#2f54eb"
:
"#606266"
}},[
t
.
_v
(
"选择当页"
)])]),
t
.
_v
(
" "
),
a
(
"el-dropdown-item"
,{
attrs
:{
command
:
"1"
}},[
a
(
"span"
,{
style
:{
color
:
1
==
t
.
selectRadio
?
"#2f54eb"
:
"#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
[
a
(
"div"
,{
staticStyle
:{
width
:
"100%"
,
"white-space"
:
"nowrap"
,
overflow
:
"hidden"
,
"text-overflow"
:
"ellipsis"
}},[
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"
},
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
}})],
1
)},
staticRenderFns
:[]};
var
h
=
a
(
"VU/8"
)(
u
,
p
,
!
1
,
function
(
t
){
a
(
"KA2f"
)},
"data-v-6871c0a6"
,
null
);
e
.
default
=
h
.
exports
}});
webpackJsonp
([
44
],{
KA2f
:
function
(
t
,
e
){},
SBUJ
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"fZjL"
),
o
=
a
.
n
(
n
),
i
=
a
(
"Ggl+"
),
s
=
a
(
"LRn8"
),
r
=
a
(
"P9l9"
),
l
=
a
(
"PI0u"
),
c
=
a
(
"3E4D"
),
d
=
a
(
"Ch4/"
),
u
=
{
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"
,
showDialog
:
!
1
,
conditionObj
:{
searchInput
:
""
,
storeGroup
:[],
storeType
:
""
,
dateRange
:[]},
selectRadio
:
0
,
tableData
:[],
multipleSelection
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
}},
computed
:{},
methods
:{
checkGroupIds
:
function
(
t
){
this
.
conditionObj
.
storeGroup
=
t
,
this
.
currentPage
=
1
,
this
.
getTableList
()},
changeTable
:
function
(
t
){
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleCommand
:
function
(
t
){
this
.
selectRadio
=
t
},
setSelectTab
:
function
(
t
){
this
.
activeTab
=
t
.
tabId
},
toInput
:
Object
(
l
.
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
,
!
o
()(
t
).
length
)
return
!
1
;
this
.
postMultDel
(
t
)},
postMultDel
:
function
(
t
){
var
e
=
this
,
a
=
[];
e
.
conditionObj
.
storeGroup
.
forEach
(
function
(
t
){
a
.
push
(
t
.
storeGroupId
)}),
e
.
conditionObj
.
dateRange
||
(
e
.
conditionObj
.
dateRange
=
[]);
var
n
=
{
search
:
e
.
conditionObj
.
searchInput
||
""
,
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
]
||
""
,
enterpriseId
:
e
.
activeBrand
,
delTaskStatus
:
t
.
delOptFlag
,
reason
:
t
.
reason
,
isAll
:
e
.
selectRadio
};
Object
(
r
.
d
)(
"/haoban-app-tel-task-three-web/task/batch-del-store-task-list"
,
n
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
c
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
e
.
getTableList
();
d
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
exportExcel
:
function
(){
var
t
=
this
,
e
=
[];
t
.
conditionObj
.
storeGroup
.
forEach
(
function
(
t
){
e
.
push
(
t
.
storeGroupId
)});
var
a
=
{
search
:
t
.
conditionObj
.
searchInput
||
""
,
storeGroupIds
:
e
.
join
(
","
)
||
""
,
storeType
:
t
.
conditionObj
.
storeType
||
""
,
startDate
:
t
.
conditionObj
.
dateRange
?
t
.
conditionObj
.
dateRange
[
0
]:
""
,
endDate
:
t
.
conditionObj
.
dateRange
?
t
.
conditionObj
.
dateRange
[
1
]:
""
,
enterpriseId
:
t
.
activeBrand
};
Object
(
r
.
b
)(
"/haoban-app-tel-task-three-web/task/export-store-task-list"
,
a
).
then
(
function
(
e
){
if
(
!
e
.
data
)
return
d
.
a
.
errorMsg
(
"暂无数据"
),
!
1
;
var
a
=
new
Blob
([
e
.
data
],{
type
:
"application/vnd.ms-excel"
}),
n
=
(
t
.
tableData
[
0
]?
t
.
tableData
[
0
].
storeName
:
""
)
+
"门店任务报表.csv"
,
o
=
document
.
createElement
(
"a"
);
o
.
download
=
n
,
o
.
style
.
display
=
"none"
,
o
.
href
=
URL
.
createObjectURL
(
a
),
document
.
body
.
appendChild
(
o
),
o
.
click
(),
URL
.
revokeObjectURL
(
o
.
href
),
document
.
body
.
removeChild
(
o
)}).
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
+
"&ecmId="
+
this
.
$route
.
query
.
ecmId
)},
getTableList
:
function
(
t
){
var
e
=
this
,
a
=
[];
e
.
conditionObj
.
storeGroup
.
forEach
(
function
(
t
){
a
.
push
(
t
.
storeGroupId
)}),
e
.
conditionObj
.
dateRange
||
(
e
.
conditionObj
.
dateRange
=
[]);
var
n
=
{
ecmId
:
e
.
$route
.
query
.
ecmId
,
search
:
e
.
conditionObj
.
searchInput
||
""
,
storeGroupIds
:
a
.
join
(
","
)
||
""
,
storeType
:
e
.
conditionObj
.
storeType
||
""
,
startDate
:
e
.
conditionObj
.
dateRange
[
0
]
||
""
,
endDate
:
e
.
conditionObj
.
dateRange
[
1
]
||
""
,
pageNum
:
e
.
currentPage
,
pageSize
:
e
.
pageSize
,
enterpriseId
:
e
.
activeBrand
};
Object
(
r
.
a
)(
"/haoban-app-tel-task-three-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
;
d
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
initDataRange
:
function
(){
var
t
=
new
Date
,
e
=
t
.
getTime
()
-
7776
e6
,
a
=
t
.
getFullYear
(),
n
=
t
.
getMonth
()
+
1
,
o
=
t
.
getDate
()
<
10
?
"0"
+
t
.
getDate
():
t
.
getDate
(),
i
=
n
<
10
?
"0"
+
n
:
n
,
s
=
new
Date
(
e
),
r
=
s
.
getFullYear
(),
l
=
s
.
getMonth
()
+
1
,
c
=
s
.
getDate
()
<
10
?
"0"
+
s
.
getDate
():
s
.
getDate
();
return
[
r
+
"-"
+
(
l
<
10
?
"0"
+
l
:
l
)
+
"-"
+
c
,
a
+
"-"
+
i
+
"-"
+
o
]}},
watch
:{
brandId
:
function
(
t
,
e
){
t
&&
(
this
.
activeBrand
=
t
,
this
.
getTableList
())},
activeGroupId
:
function
(
t
,
e
){
t
&&
(
this
.
activeGroup
=
t
)}},
mounted
:
function
(){
var
t
=
this
;
t
.
$emit
(
"showTab"
,
"12"
),
t
.
conditionObj
.
dateRange
=
t
.
initDataRange
(),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
t
.
activeBrand
=
t
.
brandId
,
t
.
brandId
&&
t
.
$nextTick
(
function
(){
t
.
getTableList
()})},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
gicSelectGroup
:
i
.
a
,
multipleDel
:
s
.
a
}},
p
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"daily-set-wrap task-view-detail"
},[
a
(
"div"
,{
staticClass
:
"daily-set-content border-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
:
"请输入门店名称"
},
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
(
"gic-select-group"
,{
staticClass
:
"m-l-10"
,
attrs
:{
brandId
:
t
.
brandId
,
width
:
213
,
selectData
:
t
.
conditionObj
.
storeGroup
},
on
:{
checkGroupIds
:
t
.
checkGroupIds
}}),
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
(
"批量删除"
)])],
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
:
"iconfont icongengduo"
})]),
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
?
"#2f54eb"
:
"#606266"
}},[
t
.
_v
(
"选择当页"
)])]),
t
.
_v
(
" "
),
a
(
"el-dropdown-item"
,{
attrs
:{
command
:
"1"
}},[
a
(
"span"
,{
style
:{
color
:
1
==
t
.
selectRadio
?
"#2f54eb"
:
"#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
[
a
(
"div"
,{
staticStyle
:{
width
:
"100%"
,
"white-space"
:
"nowrap"
,
overflow
:
"hidden"
,
"text-overflow"
:
"ellipsis"
}},[
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"
},
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
}})],
1
)},
staticRenderFns
:[]};
var
h
=
a
(
"VU/8"
)(
u
,
p
,
!
1
,
function
(
t
){
a
(
"KA2f"
)},
"data-v-6871c0a6"
,
null
);
e
.
default
=
h
.
exports
}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/4
6.64a15dd24ae8e3144031
.js
→
dist/static/js/4
5.ab718fd81f92be745af6
.js
View file @
bff2a8b1
webpackJsonp
([
46
],{
QHTa
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"bzW+"
),
c
=
a
(
"Qie6"
),
i
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
380
+
"px"
,
activeSelTab
:
"1"
,
activeTab
:
"1"
,
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"我的顾客"
,
path
:
""
}],
tabListData
:[{
tabId
:
"1"
,
tabName
:
"会员基础设置"
,
icon
:
"iconjichushezhi"
,
onlyIconActive
:
!
1
,
children
:[{
tabId
:
"11"
,
tabName
:
"会员展示设置"
,
icon
:
""
},{
tabId
:
"12"
,
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
"11"
:
this
.
changeRoute
(
"memberShowSet"
);
break
;
case
"12"
:
this
.
changeRoute
(
"memberGroupSet"
);
break
;
case
"13"
:
this
.
changeRoute
(
"memberSearchSet"
)}},
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
:{
navCrumb
:
n
.
a
,
commonDetailLeft
:
c
.
a
}},
o
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
a
(
"nav-crumb"
,{
attrs
:{
navpath
:
t
.
navpath
},
on
:{
selectBrandId
:
t
.
selectBrandId
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"div"
,{
staticClass
:
"right-box"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 112px)"
}},[
a
(
"div"
,{
staticClass
:
"apps-content flex"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 112px)"
}},[
a
(
"div"
,{
staticClass
:
"apps-content-left w-157"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 112px)"
}},[
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
)},
staticRenderFns
:[]};
var
s
=
a
(
"VU/8"
)(
i
,
o
,
!
1
,
function
(
t
){
a
(
"wHAq"
)},
"data-v-654e0076"
,
null
);
e
.
default
=
s
.
exports
},
wHAq
:
function
(
t
,
e
){}});
webpackJsonp
([
45
],{
QHTa
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"bzW+"
),
c
=
a
(
"Qie6"
),
i
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
380
+
"px"
,
activeSelTab
:
"1"
,
activeTab
:
"1"
,
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"我的顾客"
,
path
:
""
}],
tabListData
:[{
tabId
:
"1"
,
tabName
:
"会员基础设置"
,
icon
:
"iconjichushezhi"
,
onlyIconActive
:
!
1
,
children
:[{
tabId
:
"11"
,
tabName
:
"会员展示设置"
,
icon
:
""
},{
tabId
:
"12"
,
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
"11"
:
this
.
changeRoute
(
"memberShowSet"
);
break
;
case
"12"
:
this
.
changeRoute
(
"memberGroupSet"
);
break
;
case
"13"
:
this
.
changeRoute
(
"memberSearchSet"
)}},
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
:{
navCrumb
:
n
.
a
,
commonDetailLeft
:
c
.
a
}},
o
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
a
(
"nav-crumb"
,{
attrs
:{
navpath
:
t
.
navpath
},
on
:{
selectBrandId
:
t
.
selectBrandId
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"div"
,{
staticClass
:
"right-box"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 112px)"
}},[
a
(
"div"
,{
staticClass
:
"apps-content flex"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 112px)"
}},[
a
(
"div"
,{
staticClass
:
"apps-content-left w-157"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 112px)"
}},[
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
)},
staticRenderFns
:[]};
var
s
=
a
(
"VU/8"
)(
i
,
o
,
!
1
,
function
(
t
){
a
(
"wHAq"
)},
"data-v-654e0076"
,
null
);
e
.
default
=
s
.
exports
},
wHAq
:
function
(
t
,
e
){}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/46.e0490548189600adfad2.js
0 → 100644
View file @
bff2a8b1
webpackJsonp
([
46
],{
"+XIO"
:
function
(
e
,
t
){},
upTI
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
r
=
a
(
"l46T"
),
s
=
a
(
"Kkt8"
),
o
=
a
(
"PI0u"
),
n
=
a
(
"Ch4/"
),
i
=
a
(
"3E4D"
),
d
=
a
(
"P9l9"
),
l
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
activeTab
:
"1"
,
activeId
:
"1"
,
activeBrand
:
this
.
brandId
,
wxEnterpriseId
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
formData
:{
taskTitle
:
""
,
taskContent
:
""
,
addTimeType
:
"1"
},
rules
:{
taskTitle
:[{
required
:
!
0
,
message
:
"请输入任务标题"
,
trigger
:
"blur"
}],
taskContent
:[{
required
:
!
0
,
message
:
"请输入任务内容"
,
trigger
:
"blur"
}]}}},
computed
:{},
methods
:{
submitForm
:
Object
(
o
.
a
)(
function
(
e
){
var
t
=
this
;
t
.
$refs
[
e
].
validate
(
function
(
e
){
e
&&
t
.
postSave
()})},
500
),
postSave
:
function
(){
var
e
=
this
,
t
=
{
taskTitle
:
e
.
formData
.
taskTitle
,
taskContent
:
e
.
formData
.
taskContent
,
addTimeType
:
e
.
formData
.
addTimeType
,
wxEnterpriseId
:
e
.
wxEnterpriseId
};
Object
(
d
.
d
)(
"/haoban-app-tel-task-three-web/create-session-task"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
i
.
a
.
showmsg
(
"保存成功"
,
"success"
),
void
e
.
$router
.
push
(
"/taskList"
);
n
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getData
:
function
(){
var
e
=
this
,
t
=
{
enterpriseId
:
e
.
activeBrand
,
taskType
:
1
};
Object
(
d
.
d
)(
"/haoban-app-tel-task-three-web/find-task-setting"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
a
.
result
.
relaxTaskJudge
=
1
==
a
.
result
.
relaxTaskJudge
,
void
(
e
.
setObj
=
a
.
result
);
n
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
brandId
:
function
(
e
,
t
){
e
&&
(
this
.
activeBrand
=
e
)}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
$emit
(
"showTab"
,
"3"
),
this
.
brandId
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
limitInput
:
r
.
a
,
limitTextarea
:
s
.
a
}},
u
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"app-detail-wrap"
},[
a
(
"div"
,{
staticClass
:
"task-set-content boder-box"
},[
a
(
"el-form"
,{
ref
:
"ruleForm"
,
staticClass
:
"demo-ruleForm"
,
attrs
:{
model
:
e
.
formData
,
rules
:
e
.
rules
,
"label-width"
:
"120px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"任务标题"
,
prop
:
"taskTitle"
}},[
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
372
,
disflag
:
!!
e
.
$route
.
query
.
sessionTaskId
,
inputValue
:
e
.
formData
.
taskTitle
,
getByType
:
"word"
,
holder
:
"请输入任务标题"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"taskTitle"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"任务内容"
,
prop
:
"taskContent"
}},[
a
(
"limit-textarea"
,{
attrs
:{
inputWidth
:
372
,
inputValue
:
e
.
formData
.
taskContent
,
holder
:
"请输入任务内容"
,
getByType
:
"word"
,
maxLength
:
200
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"taskContent"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"添加好友时间"
,
prop
:
"addTimeType"
}},[
a
(
"el-radio"
,{
attrs
:{
label
:
"1"
},
model
:{
value
:
e
.
formData
.
addTimeType
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"addTimeType"
,
t
)},
expression
:
"formData.addTimeType"
}},[
e
.
_v
(
"近一个月"
)]),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
"2"
},
model
:{
value
:
e
.
formData
.
addTimeType
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"addTimeType"
,
t
)},
expression
:
"formData.addTimeType"
}},[
e
.
_v
(
"近一周"
)])],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
submitForm
(
"ruleForm"
)}}},[
e
.
_v
(
"确认"
+
e
.
_s
(
e
.
$route
.
query
.
sessionTaskId
?
"编辑"
:
"新建"
))])],
1
)],
1
)],
1
)])},
staticRenderFns
:[]};
var
m
=
a
(
"VU/8"
)(
l
,
u
,
!
1
,
function
(
e
){
a
(
"+XIO"
)},
"data-v-5a971428"
,
null
);
t
.
default
=
m
.
exports
}});
\ No newline at end of file
dist/static/js/app.
77e87793f53d6bdf15ed
.js
→
dist/static/js/app.
232be00a1123581a9ee1
.js
View file @
bff2a8b1
webpackJsonp
([
74
],{
"/NA0"
:
function
(
e
,
t
){},
0
:
function
(
e
,
t
,
a
){
a
(
"j1ja"
),
e
.
exports
=
a
(
"NHnr"
)},
"4qCZ"
:
function
(
e
,
t
){},
"5tgt"
:
function
(
e
,
t
,
a
){
e
.
exports
=
function
(
e
,
t
){
return
function
(
n
){
a
(
"Opzk"
)(
"./"
+
e
+
"/"
+
t
+
".vue"
).
then
(
function
(
e
){
n
(
e
)})}}},
NHnr
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"fZjL"
),
o
=
a
.
n
(
n
),
r
=
(
a
(
"j1ja"
),
a
(
"hKoQ"
)),
p
=
a
.
n
(
r
),
s
=
{
render
:
function
(){
var
e
=
this
.
$createElement
,
t
=
this
.
_self
.
_c
||
e
;
return
t
(
"div"
,{
attrs
:{
id
:
"app"
}},[
t
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
t
(
"router-view"
)],
1
)],
1
)},
staticRenderFns
:[]};
var
i
=
a
(
"VU/8"
)({
name
:
"App"
,
data
:
function
(){
return
{}}},
s
,
!
1
,
function
(
e
){
a
(
"/NA0"
)},
null
,
null
).
exports
,
c
=
a
(
"lRwf"
),
u
=
a
.
n
(
c
),
m
=
a
(
"pRNm"
),
d
=
a
.
n
(
m
),
l
=
a
(
"5tgt"
),
v
=
a
.
n
(
l
);
u
.
a
.
use
(
d
.
a
);
var
h
=
function
(
e
){
a
.
e
(
1
).
then
(
a
.
bind
(
null
,
"ODjX"
)).
then
(
function
(
t
){
e
(
t
)})};
window
.
sessionStorage
.
getItem
(
"token"
)
&&
store
.
commit
(
types
.
LOGIN
,
window
.
sessionStorage
.
getItem
(
"token"
));
var
f
,
g
=
[{
path
:
"/"
,
name
:
"/"
,
redirect
:
"login"
},{
path
:
"/login"
,
name
:
"登录"
,
component
:
v
()(
"login"
,
"index"
)},{
path
:
"/index"
,
name
:
"index"
,
component
:
v
()(
"index"
,
"index"
)},{
path
:
"/contacts"
,
name
:
"通讯录"
,
redirect
:
"contactsList"
,
component
:
v
()(
"business"
,
"index"
),
children
:[{
path
:
"/contactsList"
,
name
:
"通讯录"
,
component
:
v
()(
"business"
,
"contacts"
)},{
path
:
"/orgStructSet"
,
name
:
"组织架构管理"
,
component
:
v
()(
"business"
,
"orgStructSet"
)},{
path
:
"/recycle"
,
name
:
"组织架构管理"
,
component
:
v
()(
"business"
,
"recycle"
)},{
path
:
"/syncLog"
,
name
:
"通讯录日志"
,
component
:
v
()(
"business"
,
"syncLog"
)}]},{
path
:
"/enterprise"
,
name
:
"企业设置"
,
redirect
:
"enterpriseSet"
,
component
:
v
()(
"enterprise"
,
"index"
),
children
:[{
path
:
"/enterpriseSet"
,
name
:
"企业信息"
,
component
:
v
()(
"enterprise"
,
"enterpriseSet"
)},{
path
:
"/adminList"
,
name
:
"企业信息"
,
component
:
v
()(
"enterprise"
,
"adminList"
)}]},{
path
:
"/overStore"
,
name
:
"溢出门店"
,
redirect
:
"unreview"
,
component
:
v
()(
"overstore"
,
"index"
),
children
:[{
path
:
"/overStoreList"
,
name
:
"溢出门店"
,
component
:
v
()(
"overstore"
,
"overStoreList"
)}]},{
path
:
"/apps"
,
name
:
"企业应用"
,
redirect
:
"mycustomer"
,
component
:
v
()(
"apps"
,
"index"
),
children
:[{
path
:
"/mycustomer"
,
name
:
"我的顾客的"
,
redirect
:
"/memberShowSet"
,
component
:
v
()(
"apps/customerApp"
,
"index"
),
children
:[{
path
:
"/memberShowSet"
,
name
:
"会员展示设置"
,
component
:
v
()(
"apps/customerApp"
,
"memberShowSet"
)},{
path
:
"/memberGroupSet"
,
name
:
"会员分组设置"
,
component
:
v
()(
"apps/customerApp"
,
"memberGroupSet"
)},{
path
:
"/memberSearchSet"
,
name
:
"会员搜索设置"
,
component
:
v
()(
"apps/customerApp"
,
"memberSearchSet"
)}]},{
path
:
"/cloudDaily"
,
name
:
"云日报"
,
redirect
:
"/dailyRecord"
,
component
:
v
()(
"apps/cloudDaily"
,
"index"
),
children
:[{
path
:
"/dailyRecord"
,
name
:
"云日报记录"
,
component
:
v
()(
"apps/cloudDaily"
,
"dailyRecord"
)},{
path
:
"/dailyExport"
,
name
:
"云日报导出"
,
component
:
v
()(
"apps/cloudDaily"
,
"dailyExport"
)},{
path
:
"/dailyDetail"
,
name
:
"日报详情"
,
component
:
v
()(
"apps/cloudDaily"
,
"dailyDetail"
)},{
path
:
"/taskAssign"
,
name
:
"任务下发设置"
,
component
:
v
()(
"apps/cloudDaily"
,
"taskAssign"
)},{
path
:
"/systemReport"
,
name
:
"系统报表"
,
component
:
v
()(
"apps/cloudDaily"
,
"systemReport"
)},{
path
:
"/customReport"
,
name
:
"自定义报表"
,
component
:
v
()(
"apps/cloudDaily"
,
"customReport"
)},{
path
:
"/customReportSet"
,
name
:
"自定义报表设置"
,
component
:
v
()(
"apps/cloudDaily"
,
"customReportSet"
)}]},{
path
:
"/trafficTask"
,
name
:
"话务任务"
,
redirect
:
"/taskRecord"
,
component
:
v
()(
"apps/trafficTask"
,
"index"
),
children
:[{
path
:
"/taskRecord"
,
name
:
"话务任务记录"
,
component
:
v
()(
"apps/trafficTask"
,
"taskRecord"
)},{
path
:
"/taskView"
,
name
:
"话务任务记录"
,
component
:
v
()(
"apps/trafficTask"
,
"taskView"
)},{
path
:
"/taskDetail"
,
name
:
"话务任务详情"
,
component
:
v
()(
"apps/trafficTask"
,
"taskDetail"
)},{
path
:
"/taskViewDetail"
,
name
:
"话务任务详情"
,
component
:
v
()(
"apps/trafficTask"
,
"taskViewDetail"
)},{
path
:
"/trafficTaskSet"
,
name
:
"话务任务设置"
,
component
:
v
()(
"apps/trafficTask"
,
"trafficTaskSet"
)},{
path
:
"/badEvaluateSet"
,
name
:
"不良评价设置"
,
component
:
v
()(
"apps/badEvaluate"
,
"badEvaluateSet"
)},{
path
:
"/taskList"
,
name
:
"会话任务列表"
,
component
:
v
()(
"apps/trafficTask"
,
"taskList"
)},{
path
:
"/newSession"
,
name
:
"新建会话任务"
,
component
:
v
()(
"apps/trafficTask"
,
"newSession"
)},{
path
:
"/taskSessionSet"
,
name
:
"会话任务设置"
,
component
:
v
()(
"apps/trafficTask"
,
"taskSessionSet"
)}]},{
path
:
"/quota"
,
name
:
"指标管理"
,
redirect
:
"/monthList"
,
component
:
v
()(
"apps/quota"
,
"index"
),
children
:[{
path
:
"/monthList"
,
name
:
"月指标列表"
,
component
:
v
()(
"apps/quota"
,
"monthList"
)},{
path
:
"/storeMonthTask"
,
name
:
"门店月指标"
,
component
:
v
()(
"apps/quota"
,
"storeMonthTask"
)},{
path
:
"/salerMonthDetail"
,
name
:
"导购月指标详情"
,
component
:
v
()(
"apps/quota"
,
"salerMonthDetail"
)},{
path
:
"/companyDaySet"
,
name
:
"商户日权重"
,
component
:
v
()(
"apps/quota"
,
"companyDaySet"
)},{
path
:
"/monthTask"
,
name
:
"月指标任务"
,
component
:
v
()(
"apps/quota"
,
"monthTask"
),
meta
:{
keepAlive
:
!
0
}},{
path
:
"/monthTaskDetail"
,
name
:
"月指标任务详情"
,
component
:
v
()(
"apps/quota"
,
"monthTaskDetail"
),
meta
:{
keepAlive
:
!
0
}}]},{
path
:
"/cardList"
,
name
:
"卡券赠送"
,
redirect
:
"/cardList"
,
component
:
v
()(
"apps/card"
,
"index"
),
children
:[{
path
:
"/cardList"
,
name
:
"卡券列表"
,
component
:
v
()(
"apps/card"
,
"cardList"
)},{
path
:
"/cardRecord"
,
name
:
"卡券记录"
,
component
:
v
()(
"apps/card"
,
"cardRecord"
)},{
path
:
"/newCard"
,
name
:
"新建卡券"
,
component
:
v
()(
"apps/card"
,
"newCard"
)}]},{
path
:
"/protectCard"
,
name
:
"内购券"
,
redirect
:
"/cardTemplate"
,
component
:
v
()(
"apps/protectCard"
,
"index"
),
children
:[{
path
:
"/cardTemplate"
,
name
:
"卡券模板"
,
component
:
v
()(
"apps/protectCard"
,
"cardTemplate"
)},{
path
:
"/newCardTemp"
,
name
:
"新建模板"
,
component
:
v
()(
"apps/protectCard"
,
"newCardTemp"
)},{
path
:
"/cardStrategy"
,
name
:
"卡券策略"
,
component
:
v
()(
"apps/protectCard"
,
"cardStrategy"
)},{
path
:
"/newCardStrategy"
,
name
:
"新建策略"
,
component
:
v
()(
"apps/protectCard"
,
"newCardStrategy"
)},{
path
:
"/cardPut"
,
name
:
"内购券投放"
,
component
:
v
()(
"apps/protectCard"
,
"cardPut"
)},{
path
:
"/newCardPut"
,
name
:
"新建补发"
,
component
:
v
()(
"apps/protectCard"
,
"newCardPut"
)},{
path
:
"/cardPutRecord"
,
name
:
"投放记录"
,
component
:
v
()(
"apps/protectCard"
,
"cardPutRecord"
)},{
path
:
"/cardGetRecord"
,
name
:
"领取记录"
,
component
:
v
()(
"apps/protectCard"
,
"cardGetRecord"
)}]}]},{
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
:
"/reviewSet"
,
name
:
"审核设置"
,
component
:
v
()(
"reviewCenter"
,
"reviewSet"
)}]},{
path
:
"/gic-error"
,
name
:
"gic跳转失败页"
,
component
:
v
()(
"errorPage"
,
"gic-error"
)},{
path
:
"/403"
,
name
:
"无权访问"
,
component
:
h
},{
path
:
"/404"
,
name
:
"error404"
,
component
:
h
},{
path
:
"/500"
,
name
:
"error500"
,
component
:
h
},{
path
:
"*"
,
redirect
:
"/404"
,
hidden
:
!
0
}],
S
=
new
d
.
a
({
routes
:
g
,
scrollBehavior
:
function
(){
return
{
y
:
0
}}}),
D
=
a
(
"zL8q"
),
w
=
a
.
n
(
D
),
k
=
a
(
"Rf8U"
),
y
=
a
.
n
(
k
),
x
=
a
(
"mtWM"
),
T
=
a
.
n
(
x
),
C
=
a
(
"bOdI"
),
b
=
a
.
n
(
C
),
R
=
a
(
"SJI6"
),
A
=
a
.
n
(
R
);
u
.
a
.
use
(
A
.
a
);
var
E
=
new
A
.
a
.
Store
({
state
:{
user
:{},
token
:
null
,
title
:
""
,
show
:
!
1
,
bgHeight
:
window
.
screen
.
availHeight
-
440
-
24
+
"px"
,
addDepartment
:[],
editDepartment
:[],
delDepartment
:[]},
mutations
:(
f
=
{},
b
()(
f
,
"login"
,
function
(
e
,
t
){
sessionStorage
.
token
=
t
,
e
.
token
=
t
}),
b
()(
f
,
"logout"
,
function
(
e
){
sessionStorage
.
removeItem
(
"token"
),
e
.
token
=
null
}),
b
()(
f
,
"title"
,
function
(
e
,
t
){
e
.
title
=
t
}),
b
()(
f
,
"show"
,
function
(
e
,
t
){
e
.
show
=
t
}),
b
()(
f
,
"saveAdd"
,
function
(
e
,
t
){
e
.
addDepartment
.
push
(
t
)}),
b
()(
f
,
"saveEdit"
,
function
(
e
,
t
){
e
.
editDepartment
.
push
(
t
)}),
b
()(
f
,
"saveDel"
,
function
(
e
,
t
){
e
.
delDepartment
.
push
(
t
)}),
b
()(
f
,
"clearAdd"
,
function
(
e
){
e
.
addDepartment
=
[]}),
b
()(
f
,
"clearEdit"
,
function
(
e
){
e
.
editDepartment
=
[]}),
b
()(
f
,
"clearData"
,
function
(
e
){
e
.
addDepartment
=
[],
e
.
editDepartment
=
[],
e
.
delDepartment
=
[]}),
f
),
actions
:{
saveAddInfo
:
function
(
e
,
t
){
e
.
commit
(
"saveAdd"
,
t
)},
saveEditInfo
:
function
(
e
,
t
){
e
.
commit
(
"saveEdit"
,
t
)},
saveDelInfo
:
function
(
e
,
t
){
e
.
commit
(
"saveDel"
,
t
)},
clearAddData
:
function
(
e
,
t
){
e
.
commit
(
"clearAdd"
)},
clearEditData
:
function
(
e
,
t
){
e
.
commit
(
"clearEdit"
)},
clearTreeData
:
function
(
e
,
t
){
e
.
commit
(
"clearData"
)}}}),
L
=
(
a
(
"4qCZ"
),
a
(
"tvR6"
),
a
(
"uKUT"
),
a
(
"Xcu2"
),
a
(
"xtVA"
),{
dateFormat
:
function
(
e
,
t
){
if
(
e
){
e
=
10
===
e
.
toString
().
length
?
1
e3
*
e
:
e
;
var
a
=
new
Date
(
e
),
n
=
{
"M+"
:
a
.
getMonth
()
+
1
,
"D+"
:
a
.
getDate
(),
W
:
"日一二三四五六"
.
charAt
(
a
.
getDay
()),
"h+"
:
a
.
getHours
(),
"m+"
:
a
.
getMinutes
(),
"s+"
:
a
.
getSeconds
(),
"q+"
:
Math
.
floor
((
a
.
getMonth
()
+
3
)
/
3
),
S
:
a
.
getMilliseconds
()};
for
(
var
o
in
/
(
Y+
)
/
.
test
(
t
)
&&
(
t
=
t
.
replace
(
RegExp
.
$1
,(
a
.
getFullYear
()
+
""
).
substr
(
4
-
RegExp
.
$1
.
length
))),
n
)
new
RegExp
(
"("
+
o
+
")"
).
test
(
t
)
&&
(
t
=
t
.
replace
(
RegExp
.
$1
,
1
===
RegExp
.
$1
.
length
?
n
[
o
]:(
"00"
+
n
[
o
]).
substr
((
""
+
n
[
o
]).
length
)));
return
t
}},
formatTimeStamp
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
(
e
),
a
=
t
.
getMonth
()
+
1
,
n
=
t
.
getDate
()
<
10
?
"0"
+
t
.
getDate
():
t
.
getDate
(),
o
=
a
<
10
?
"0"
+
a
:
a
,
r
=
t
.
getHours
()
<
10
?
"0"
+
t
.
getHours
():
t
.
getHours
(),
p
=
t
.
getMinutes
()
<
10
?
"0"
+
t
.
getMinutes
():
t
.
getMinutes
(),
s
=
t
.
getSeconds
()
<
10
?
"0"
+
t
.
getSeconds
():
t
.
getSeconds
();
return
t
.
getFullYear
()
+
"-"
+
o
+
"-"
+
n
+
" "
+
r
+
":"
+
p
+
":"
+
s
}},
timeStampToYm
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
(
e
),
a
=
t
.
getMonth
()
+
1
,
n
=
a
<
10
?
"0"
+
a
:
a
;
return
t
.
getFullYear
()
+
"-"
+
n
}},
timeStampToYmd
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
(
e
),
a
=
t
.
getMonth
()
+
1
,
n
=
t
.
getDate
()
<
10
?
"0"
+
t
.
getDate
():
t
.
getDate
(),
o
=
a
<
10
?
"0"
+
a
:
a
;
return
t
.
getFullYear
()
+
"-"
+
o
+
"-"
+
n
}},
timeStampToHms
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
(
e
);
return
(
t
.
getHours
()
<
10
?
"0"
+
t
.
getHours
():
t
.
getHours
())
+
":"
+
(
t
.
getMinutes
()
<
10
?
"0"
+
t
.
getMinutes
():
t
.
getMinutes
())
+
":"
+
(
t
.
getSeconds
()
<
10
?
"0"
+
t
.
getSeconds
():
t
.
getSeconds
())}},
formatTimeYmdHms
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
(
e
),
a
=
t
.
getMonth
()
+
1
,
n
=
t
.
getDate
()
<
10
?
"0"
+
t
.
getDate
():
t
.
getDate
(),
o
=
a
<
10
?
"0"
+
a
:
a
,
r
=
t
.
getHours
()
<
10
?
"0"
+
t
.
getHours
():
t
.
getHours
(),
p
=
t
.
getMinutes
()
<
10
?
"0"
+
t
.
getMinutes
():
t
.
getMinutes
(),
s
=
t
.
getSeconds
()
<
10
?
"0"
+
t
.
getSeconds
():
t
.
getSeconds
();
return
t
.
getFullYear
()
+
"."
+
o
+
"."
+
n
+
" "
+
r
+
":"
+
p
+
":"
+
s
}},
formatPhoneNum
:
function
(
e
){
return
e
?(
e
=
e
.
toString
()).
substr
(
0
,
3
)
+
"****"
+
e
.
substr
(
7
,
11
):
""
},
formatName
:
function
(
e
){
return
e
?
"**"
+
(
e
=
e
.
toString
()).
substr
(
e
.
length
-
1
,
e
.
length
):
""
},
timeStampSpace
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
,
a
=
new
Date
(
Number
(
e
)).
getTime
()
-
t
.
getTime
();
if
(
console
.
log
(
a
),
a
<
0
)
return
""
;
var
n
=
Math
.
floor
(
a
/
864
e5
);
console
.
log
(
a
,
n
);
var
o
=
a
%
864
e5
,
r
=
o
%
36
e5
;
return
n
+
"天"
+
Math
.
floor
(
o
/
36
e5
)
+
"小时"
+
Math
.
floor
(
r
/
6
e4
)
+
"分"
}}}),
M
=
a
(
"TUaa"
),
P
=
a
.
n
(
M
),
V
=
a
(
"tyqE"
),
q
=
a
.
n
(
V
),
H
=
a
(
"pRVe"
),
I
=
a
.
n
(
H
),
Y
=
a
(
"XsK6"
),
j
=
a
.
n
(
Y
),
G
=
a
(
"QRL9"
),
N
=
a
.
n
(
G
),
O
=
a
(
"2Pnh"
),
F
=
a
.
n
(
O
),
J
=
a
(
"l9mu"
),
U
=
a
.
n
(
J
),
X
=
{
install
:
function
(
e
,
t
){
e
.
prototype
.
getPdf
=
function
(){
var
e
=
this
.
htmlTitle
;
F
()(
document
.
querySelector
(
"#pdfDom"
),{
allowTaint
:
!
0
,
foreignObjectRendering
:
!
0
}).
then
(
function
(
t
){
var
a
=
t
.
width
,
n
=
t
.
height
,
o
=
a
/
592.28
*
841.89
,
r
=
n
,
p
=
0
,
s
=
592.28
/
a
*
n
,
i
=
t
.
toDataURL
(
"image/jpeg"
,
1
),
c
=
new
U
.
a
(
""
,
"pt"
,
"a4"
);
if
(
r
<
o
)
c
.
addImage
(
i
,
"JPEG"
,
0
,
0
,
595.28
,
s
);
else
for
(;
r
>
0
;)
c
.
addImage
(
i
,
"JPEG"
,
0
,
p
,
595.28
,
s
),
p
-=
841.89
,(
r
-=
o
)
>
0
&&
c
.
addPage
();
c
.
save
(
e
+
".pdf"
)})}}},
z
=
a
(
"/IwO"
),
K
=
a
.
n
(
z
);
p
.
a
.
polyfill
(),
Vue
.
use
(
K
.
a
),
K
.
a
.
initAMapApiLoader
({
key
:
"d53a58848be368a7398dc56d5670fe9c"
,
plugin
:[
"Autocomplete"
,
"PlaceSearch"
,
"Scale"
,
"OverView"
,
"Geocoder"
,
"ToolBar"
,
"MapType"
,
"PolyEditor"
,
"AMap.CircleEditor"
],
v
:
"1.4.4"
}),
Vue
.
use
(
X
),
Vue
.
use
(
j
.
a
),
Vue
.
use
(
N
.
a
),
Vue
.
use
(
I
.
a
),
Vue
.
use
(
q
.
a
),
Vue
.
use
(
P
.
a
),
Vue
.
config
.
productionTip
=!
1
,
Vue
.
use
(
w
.
a
,{
size
:
"large"
}),
Vue
.
use
(
y
.
a
,
T
.
a
),
Vue
.
axios
.
defaults
.
withCredentials
=!
0
,
o
()(
L
).
forEach
(
function
(
e
){
Vue
.
filter
(
e
,
L
[
e
])}),
S
.
beforeEach
(
function
(
e
,
t
,
a
){
window
.
axiosPromiseArr
&&
axiosPromiseArr
.
forEach
(
function
(
e
,
t
){
e
.
cancel
(),
delete
axiosPromiseArr
[
t
]});
var
n
=
window
.
location
.
origin
;
n
.
indexOf
(
"localhost"
),
localStorage
.
getItem
(
"userInfos"
),
"/"
==
e
.
path
?
a
({
path
:
"/login"
}):
a
()}),
new
Vue
({
el
:
"#app"
,
router
:
S
,
store
:
E
,
components
:{
App
:
i
},
template
:
"<App/>"
})},
Opzk
:
function
(
e
,
t
,
a
){
var
n
=
{
"./apps/badEvaluate/badEvaluateDetail.vue"
:[
"Yz8m"
,
0
,
44
],
"./apps/badEvaluate/badEvaluateRecord.vue"
:[
"DCIc"
,
0
,
65
],
"./apps/badEvaluate/badEvaluateSet.vue"
:[
"moBL"
,
0
,
54
],
"./apps/badEvaluate/index.vue"
:[
"AG22"
,
0
,
23
],
"./apps/card/cardList.vue"
:[
"X5LE"
,
0
,
49
],
"./apps/card/cardRecord.vue"
:[
"xDJN"
,
0
,
14
],
"./apps/card/index.vue"
:[
"nV1L"
,
0
,
35
],
"./apps/card/newCard.vue"
:[
"7/Zw"
,
0
,
10
],
"./apps/cloudDaily/customReport.vue"
:[
"ak3k"
,
0
,
30
],
"./apps/cloudDaily/customReportSet.vue"
:[
"LTPC"
,
0
,
4
],
"./apps/cloudDaily/dailyDetail.vue"
:[
"JwJ7"
,
0
,
11
],
"./apps/cloudDaily/dailyExport.vue"
:[
"H3Dc"
,
0
,
18
],
"./apps/cloudDaily/dailyRecord.vue"
:[
"IuWw"
,
0
,
57
],
"./apps/cloudDaily/index.vue"
:[
"4QyY"
,
0
,
40
],
"./apps/cloudDaily/systemReport.vue"
:[
"J/6z"
,
0
,
5
],
"./apps/cloudDaily/taskAssign.vue"
:[
"Hb/M"
,
0
,
26
],
"./apps/cloudDaily/template/block.vue"
:[
"O3gZ"
,
48
],
"./apps/cloudDaily/template/date-range.vue"
:[
"2WGr"
,
50
],
"./apps/cloudDaily/template/image.vue"
:[
"8dpP"
,
64
],
"./apps/cloudDaily/template/input.vue"
:[
"zHtI"
,
71
],
"./apps/cloudDaily/template/select.vue"
:[
"rYZf"
,
58
],
"./apps/customerApp/index.vue"
:[
"QHTa"
,
0
,
46
],
"./apps/customerApp/memberGroupSet.vue"
:[
"JuNN"
,
0
,
42
],
"./apps/customerApp/memberSearchSet.vue"
:[
"Z3Aa"
,
0
,
47
],
"./apps/customerApp/memberShowSet.vue"
:[
"odfG"
,
0
,
61
],
"./apps/index.vue"
:[
"K1Vb"
,
0
,
52
],
"./apps/protectCard/cardGetRecord.vue"
:[
"5GE8"
,
0
,
56
],
"./apps/protectCard/cardPut.vue"
:[
"cD4x"
,
0
,
43
],
"./apps/protectCard/cardPutRecord.vue"
:[
"dhLd"
,
0
,
53
],
"./apps/protectCard/cardStrategy.vue"
:[
"rUvh"
,
0
,
19
],
"./apps/protectCard/cardTemplate.vue"
:[
"c7iB"
,
0
,
34
],
"./apps/protectCard/index.vue"
:[
"aWmL"
,
0
,
36
],
"./apps/protectCard/newCardPut.vue"
:[
"9db3"
,
0
,
7
],
"./apps/protectCard/newCardStrategy.vue"
:[
"8Rwt"
,
0
,
6
],
"./apps/protectCard/newCardTemp.vue"
:[
"tF0P"
,
0
,
31
],
"./apps/quota/companyDaySet.vue"
:[
"NiGE"
,
0
,
69
],
"./apps/quota/index.vue"
:[
"qSX4"
,
0
,
29
],
"./apps/quota/monthList.vue"
:[
"fAFA"
,
0
,
60
],
"./apps/quota/monthTask.vue"
:[
"NpHY"
,
0
,
32
],
"./apps/quota/monthTaskDetail.vue"
:[
"YKf6"
,
0
,
41
],
"./apps/quota/salerMonthDetail.vue"
:[
"+qr5"
,
0
,
72
],
"./apps/quota/storeMonthTask.vue"
:[
"qWC+"
,
0
,
68
],
"./apps/trafficTask/index.vue"
:[
"FmZU"
,
0
,
33
],
"./apps/trafficTask/newSession.vue"
:[
"upTI"
,
0
,
25
],
"./apps/trafficTask/taskDetail.vue"
:[
"XrDD"
,
0
,
12
],
"./apps/trafficTask/taskList.vue"
:[
"FMQe"
,
0
,
62
],
"./apps/trafficTask/taskRecord.vue"
:[
"m+x7"
,
0
,
63
],
"./apps/trafficTask/taskSessionSet.vue"
:[
"lPa5"
,
0
,
51
],
"./apps/trafficTask/taskView.vue"
:[
"w2fd"
,
0
,
21
],
"./apps/trafficTask/taskViewDetail.vue"
:[
"SBUJ"
,
0
,
45
],
"./apps/trafficTask/trafficTaskSet.vue"
:[
"OUXi"
,
0
,
38
],
"./business/contacts.vue"
:[
"/W60"
,
0
,
2
],
"./business/index.vue"
:[
"jPcV"
,
0
,
70
],
"./business/orgStructSet.vue"
:[
"OI5V"
,
0
,
3
],
"./business/recycle.vue"
:[
"K8Yn"
,
0
,
66
],
"./business/syncLog.vue"
:[
"20P3"
,
0
,
24
],
"./enterprise/adminList.vue"
:[
"zYBJ"
,
0
,
27
],
"./enterprise/enterpriseSet.vue"
:[
"x5Fx"
,
0
,
39
],
"./enterprise/index.vue"
:[
"m9dW"
,
0
,
28
],
"./errorPage/403.vue"
:[
"6XGN"
,
20
],
"./errorPage/404.vue"
:[
"AejC"
,
22
],
"./errorPage/500.vue"
:[
"FskK"
,
17
],
"./errorPage/gic-error.vue"
:[
"Q3j/"
,
15
],
"./errorPage/index.vue"
:[
"ODjX"
,
1
],
"./index/index.vue"
:[
"JXTs"
,
0
,
13
],
"./login/index.vue"
:[
"T+/8"
,
0
,
16
],
"./overstore/index.vue"
:[
"Y55K"
,
0
,
59
],
"./overstore/overStoreList.vue"
:[
"vuAV"
,
0
,
37
],
"./reviewCenter/index.vue"
:[
"+lem"
,
0
,
67
],
"./reviewCenter/reviewSet.vue"
:[
"6j9f"
,
0
,
55
],
"./reviewCenter/reviewed.vue"
:[
"CLYF"
,
0
,
9
],
"./reviewCenter/unreview.vue"
:[
"xCEU"
,
0
,
8
]};
function
o
(
e
){
var
t
=
n
[
e
];
return
t
?
Promise
.
all
(
t
.
slice
(
1
).
map
(
a
.
e
)).
then
(
function
(){
return
a
(
t
[
0
])}):
Promise
.
reject
(
new
Error
(
"Cannot find module '"
+
e
+
"'."
))}
o
.
keys
=
function
(){
return
Object
.
keys
(
n
)},
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
},
tvR6
:
function
(
e
,
t
){},
uKUT
:
function
(
e
,
t
){},
xtVA
:
function
(
e
,
t
){}},[
0
]);
webpackJsonp
([
74
],{
"/NA0"
:
function
(
e
,
t
){},
0
:
function
(
e
,
t
,
a
){
a
(
"j1ja"
),
e
.
exports
=
a
(
"NHnr"
)},
"4qCZ"
:
function
(
e
,
t
){},
"5tgt"
:
function
(
e
,
t
,
a
){
e
.
exports
=
function
(
e
,
t
){
return
function
(
n
){
a
(
"Opzk"
)(
"./"
+
e
+
"/"
+
t
+
".vue"
).
then
(
function
(
e
){
n
(
e
)})}}},
NHnr
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"fZjL"
),
o
=
a
.
n
(
n
),
r
=
(
a
(
"j1ja"
),
a
(
"hKoQ"
)),
p
=
a
.
n
(
r
),
s
=
{
render
:
function
(){
var
e
=
this
.
$createElement
,
t
=
this
.
_self
.
_c
||
e
;
return
t
(
"div"
,{
attrs
:{
id
:
"app"
}},[
t
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
t
(
"router-view"
)],
1
)],
1
)},
staticRenderFns
:[]};
var
i
=
a
(
"VU/8"
)({
name
:
"App"
,
data
:
function
(){
return
{}}},
s
,
!
1
,
function
(
e
){
a
(
"/NA0"
)},
null
,
null
).
exports
,
c
=
a
(
"lRwf"
),
u
=
a
.
n
(
c
),
m
=
a
(
"pRNm"
),
d
=
a
.
n
(
m
),
l
=
a
(
"5tgt"
),
v
=
a
.
n
(
l
);
u
.
a
.
use
(
d
.
a
);
var
h
=
function
(
e
){
a
.
e
(
1
).
then
(
a
.
bind
(
null
,
"ODjX"
)).
then
(
function
(
t
){
e
(
t
)})};
window
.
sessionStorage
.
getItem
(
"token"
)
&&
store
.
commit
(
types
.
LOGIN
,
window
.
sessionStorage
.
getItem
(
"token"
));
var
f
,
g
=
[{
path
:
"/"
,
name
:
"/"
,
redirect
:
"login"
},{
path
:
"/login"
,
name
:
"登录"
,
component
:
v
()(
"login"
,
"index"
)},{
path
:
"/index"
,
name
:
"index"
,
component
:
v
()(
"index"
,
"index"
)},{
path
:
"/contacts"
,
name
:
"通讯录"
,
redirect
:
"contactsList"
,
component
:
v
()(
"business"
,
"index"
),
children
:[{
path
:
"/contactsList"
,
name
:
"通讯录"
,
component
:
v
()(
"business"
,
"contacts"
)},{
path
:
"/orgStructSet"
,
name
:
"组织架构管理"
,
component
:
v
()(
"business"
,
"orgStructSet"
)},{
path
:
"/recycle"
,
name
:
"组织架构管理"
,
component
:
v
()(
"business"
,
"recycle"
)},{
path
:
"/syncLog"
,
name
:
"通讯录日志"
,
component
:
v
()(
"business"
,
"syncLog"
)}]},{
path
:
"/enterprise"
,
name
:
"企业设置"
,
redirect
:
"enterpriseSet"
,
component
:
v
()(
"enterprise"
,
"index"
),
children
:[{
path
:
"/enterpriseSet"
,
name
:
"企业信息"
,
component
:
v
()(
"enterprise"
,
"enterpriseSet"
)},{
path
:
"/adminList"
,
name
:
"企业信息"
,
component
:
v
()(
"enterprise"
,
"adminList"
)}]},{
path
:
"/overStore"
,
name
:
"溢出门店"
,
redirect
:
"unreview"
,
component
:
v
()(
"overstore"
,
"index"
),
children
:[{
path
:
"/overStoreList"
,
name
:
"溢出门店"
,
component
:
v
()(
"overstore"
,
"overStoreList"
)}]},{
path
:
"/apps"
,
name
:
"企业应用"
,
redirect
:
"mycustomer"
,
component
:
v
()(
"apps"
,
"index"
),
children
:[{
path
:
"/mycustomer"
,
name
:
"我的顾客的"
,
redirect
:
"/memberShowSet"
,
component
:
v
()(
"apps/customerApp"
,
"index"
),
children
:[{
path
:
"/memberShowSet"
,
name
:
"会员展示设置"
,
component
:
v
()(
"apps/customerApp"
,
"memberShowSet"
)},{
path
:
"/memberGroupSet"
,
name
:
"会员分组设置"
,
component
:
v
()(
"apps/customerApp"
,
"memberGroupSet"
)},{
path
:
"/memberSearchSet"
,
name
:
"会员搜索设置"
,
component
:
v
()(
"apps/customerApp"
,
"memberSearchSet"
)}]},{
path
:
"/cloudDaily"
,
name
:
"云日报"
,
redirect
:
"/dailyRecord"
,
component
:
v
()(
"apps/cloudDaily"
,
"index"
),
children
:[{
path
:
"/dailyRecord"
,
name
:
"云日报记录"
,
component
:
v
()(
"apps/cloudDaily"
,
"dailyRecord"
)},{
path
:
"/dailyExport"
,
name
:
"云日报导出"
,
component
:
v
()(
"apps/cloudDaily"
,
"dailyExport"
)},{
path
:
"/dailyDetail"
,
name
:
"日报详情"
,
component
:
v
()(
"apps/cloudDaily"
,
"dailyDetail"
)},{
path
:
"/taskAssign"
,
name
:
"任务下发设置"
,
component
:
v
()(
"apps/cloudDaily"
,
"taskAssign"
)},{
path
:
"/systemReport"
,
name
:
"系统报表"
,
component
:
v
()(
"apps/cloudDaily"
,
"systemReport"
)},{
path
:
"/customReport"
,
name
:
"自定义报表"
,
component
:
v
()(
"apps/cloudDaily"
,
"customReport"
)},{
path
:
"/customReportSet"
,
name
:
"自定义报表设置"
,
component
:
v
()(
"apps/cloudDaily"
,
"customReportSet"
)}]},{
path
:
"/trafficTask"
,
name
:
"话务任务"
,
redirect
:
"/taskRecord"
,
component
:
v
()(
"apps/trafficTask"
,
"index"
),
children
:[{
path
:
"/taskRecord"
,
name
:
"话务任务记录"
,
component
:
v
()(
"apps/trafficTask"
,
"taskRecord"
)},{
path
:
"/taskView"
,
name
:
"话务任务记录"
,
component
:
v
()(
"apps/trafficTask"
,
"taskView"
)},{
path
:
"/taskDetail"
,
name
:
"话务任务详情"
,
component
:
v
()(
"apps/trafficTask"
,
"taskDetail"
)},{
path
:
"/taskViewDetail"
,
name
:
"话务任务详情"
,
component
:
v
()(
"apps/trafficTask"
,
"taskViewDetail"
)},{
path
:
"/trafficTaskSet"
,
name
:
"话务任务设置"
,
component
:
v
()(
"apps/trafficTask"
,
"trafficTaskSet"
)},{
path
:
"/badEvaluateSet"
,
name
:
"不良评价设置"
,
component
:
v
()(
"apps/badEvaluate"
,
"badEvaluateSet"
)},{
path
:
"/taskList"
,
name
:
"会话任务列表"
,
component
:
v
()(
"apps/trafficTask"
,
"taskList"
)},{
path
:
"/newSession"
,
name
:
"新建会话任务"
,
component
:
v
()(
"apps/trafficTask"
,
"newSession"
)},{
path
:
"/taskSessionSet"
,
name
:
"会话任务设置"
,
component
:
v
()(
"apps/trafficTask"
,
"taskSessionSet"
)}]},{
path
:
"/quota"
,
name
:
"指标管理"
,
redirect
:
"/monthList"
,
component
:
v
()(
"apps/quota"
,
"index"
),
children
:[{
path
:
"/monthList"
,
name
:
"月指标列表"
,
component
:
v
()(
"apps/quota"
,
"monthList"
)},{
path
:
"/storeMonthTask"
,
name
:
"门店月指标"
,
component
:
v
()(
"apps/quota"
,
"storeMonthTask"
)},{
path
:
"/salerMonthDetail"
,
name
:
"导购月指标详情"
,
component
:
v
()(
"apps/quota"
,
"salerMonthDetail"
)},{
path
:
"/companyDaySet"
,
name
:
"商户日权重"
,
component
:
v
()(
"apps/quota"
,
"companyDaySet"
)},{
path
:
"/monthTask"
,
name
:
"月指标任务"
,
component
:
v
()(
"apps/quota"
,
"monthTask"
),
meta
:{
keepAlive
:
!
0
}},{
path
:
"/monthTaskDetail"
,
name
:
"月指标任务详情"
,
component
:
v
()(
"apps/quota"
,
"monthTaskDetail"
),
meta
:{
keepAlive
:
!
0
}}]},{
path
:
"/cardList"
,
name
:
"卡券赠送"
,
redirect
:
"/cardList"
,
component
:
v
()(
"apps/card"
,
"index"
),
children
:[{
path
:
"/cardList"
,
name
:
"卡券列表"
,
component
:
v
()(
"apps/card"
,
"cardList"
)},{
path
:
"/cardRecord"
,
name
:
"卡券记录"
,
component
:
v
()(
"apps/card"
,
"cardRecord"
)},{
path
:
"/newCard"
,
name
:
"新建卡券"
,
component
:
v
()(
"apps/card"
,
"newCard"
)}]},{
path
:
"/protectCard"
,
name
:
"内购券"
,
redirect
:
"/cardTemplate"
,
component
:
v
()(
"apps/protectCard"
,
"index"
),
children
:[{
path
:
"/cardTemplate"
,
name
:
"卡券模板"
,
component
:
v
()(
"apps/protectCard"
,
"cardTemplate"
)},{
path
:
"/newCardTemp"
,
name
:
"新建模板"
,
component
:
v
()(
"apps/protectCard"
,
"newCardTemp"
)},{
path
:
"/cardStrategy"
,
name
:
"卡券策略"
,
component
:
v
()(
"apps/protectCard"
,
"cardStrategy"
)},{
path
:
"/newCardStrategy"
,
name
:
"新建策略"
,
component
:
v
()(
"apps/protectCard"
,
"newCardStrategy"
)},{
path
:
"/cardPut"
,
name
:
"内购券投放"
,
component
:
v
()(
"apps/protectCard"
,
"cardPut"
)},{
path
:
"/newCardPut"
,
name
:
"新建补发"
,
component
:
v
()(
"apps/protectCard"
,
"newCardPut"
)},{
path
:
"/cardPutRecord"
,
name
:
"投放记录"
,
component
:
v
()(
"apps/protectCard"
,
"cardPutRecord"
)},{
path
:
"/cardGetRecord"
,
name
:
"领取记录"
,
component
:
v
()(
"apps/protectCard"
,
"cardGetRecord"
)}]}]},{
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
:
"/reviewSet"
,
name
:
"审核设置"
,
component
:
v
()(
"reviewCenter"
,
"reviewSet"
)}]},{
path
:
"/gic-error"
,
name
:
"gic跳转失败页"
,
component
:
v
()(
"errorPage"
,
"gic-error"
)},{
path
:
"/403"
,
name
:
"无权访问"
,
component
:
h
},{
path
:
"/404"
,
name
:
"error404"
,
component
:
h
},{
path
:
"/500"
,
name
:
"error500"
,
component
:
h
},{
path
:
"*"
,
redirect
:
"/404"
,
hidden
:
!
0
}],
S
=
new
d
.
a
({
routes
:
g
,
scrollBehavior
:
function
(){
return
{
y
:
0
}}}),
D
=
a
(
"zL8q"
),
w
=
a
.
n
(
D
),
k
=
a
(
"Rf8U"
),
y
=
a
.
n
(
k
),
x
=
a
(
"mtWM"
),
T
=
a
.
n
(
x
),
C
=
a
(
"bOdI"
),
b
=
a
.
n
(
C
),
R
=
a
(
"SJI6"
),
A
=
a
.
n
(
R
);
u
.
a
.
use
(
A
.
a
);
var
E
=
new
A
.
a
.
Store
({
state
:{
user
:{},
token
:
null
,
title
:
""
,
show
:
!
1
,
bgHeight
:
window
.
screen
.
availHeight
-
440
-
24
+
"px"
,
addDepartment
:[],
editDepartment
:[],
delDepartment
:[]},
mutations
:(
f
=
{},
b
()(
f
,
"login"
,
function
(
e
,
t
){
sessionStorage
.
token
=
t
,
e
.
token
=
t
}),
b
()(
f
,
"logout"
,
function
(
e
){
sessionStorage
.
removeItem
(
"token"
),
e
.
token
=
null
}),
b
()(
f
,
"title"
,
function
(
e
,
t
){
e
.
title
=
t
}),
b
()(
f
,
"show"
,
function
(
e
,
t
){
e
.
show
=
t
}),
b
()(
f
,
"saveAdd"
,
function
(
e
,
t
){
e
.
addDepartment
.
push
(
t
)}),
b
()(
f
,
"saveEdit"
,
function
(
e
,
t
){
e
.
editDepartment
.
push
(
t
)}),
b
()(
f
,
"saveDel"
,
function
(
e
,
t
){
e
.
delDepartment
.
push
(
t
)}),
b
()(
f
,
"clearAdd"
,
function
(
e
){
e
.
addDepartment
=
[]}),
b
()(
f
,
"clearEdit"
,
function
(
e
){
e
.
editDepartment
=
[]}),
b
()(
f
,
"clearData"
,
function
(
e
){
e
.
addDepartment
=
[],
e
.
editDepartment
=
[],
e
.
delDepartment
=
[]}),
f
),
actions
:{
saveAddInfo
:
function
(
e
,
t
){
e
.
commit
(
"saveAdd"
,
t
)},
saveEditInfo
:
function
(
e
,
t
){
e
.
commit
(
"saveEdit"
,
t
)},
saveDelInfo
:
function
(
e
,
t
){
e
.
commit
(
"saveDel"
,
t
)},
clearAddData
:
function
(
e
,
t
){
e
.
commit
(
"clearAdd"
)},
clearEditData
:
function
(
e
,
t
){
e
.
commit
(
"clearEdit"
)},
clearTreeData
:
function
(
e
,
t
){
e
.
commit
(
"clearData"
)}}}),
L
=
(
a
(
"4qCZ"
),
a
(
"tvR6"
),
a
(
"uKUT"
),
a
(
"Xcu2"
),
a
(
"xtVA"
),{
dateFormat
:
function
(
e
,
t
){
if
(
e
){
e
=
10
===
e
.
toString
().
length
?
1
e3
*
e
:
e
;
var
a
=
new
Date
(
e
),
n
=
{
"M+"
:
a
.
getMonth
()
+
1
,
"D+"
:
a
.
getDate
(),
W
:
"日一二三四五六"
.
charAt
(
a
.
getDay
()),
"h+"
:
a
.
getHours
(),
"m+"
:
a
.
getMinutes
(),
"s+"
:
a
.
getSeconds
(),
"q+"
:
Math
.
floor
((
a
.
getMonth
()
+
3
)
/
3
),
S
:
a
.
getMilliseconds
()};
for
(
var
o
in
/
(
Y+
)
/
.
test
(
t
)
&&
(
t
=
t
.
replace
(
RegExp
.
$1
,(
a
.
getFullYear
()
+
""
).
substr
(
4
-
RegExp
.
$1
.
length
))),
n
)
new
RegExp
(
"("
+
o
+
")"
).
test
(
t
)
&&
(
t
=
t
.
replace
(
RegExp
.
$1
,
1
===
RegExp
.
$1
.
length
?
n
[
o
]:(
"00"
+
n
[
o
]).
substr
((
""
+
n
[
o
]).
length
)));
return
t
}},
formatTimeStamp
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
(
e
),
a
=
t
.
getMonth
()
+
1
,
n
=
t
.
getDate
()
<
10
?
"0"
+
t
.
getDate
():
t
.
getDate
(),
o
=
a
<
10
?
"0"
+
a
:
a
,
r
=
t
.
getHours
()
<
10
?
"0"
+
t
.
getHours
():
t
.
getHours
(),
p
=
t
.
getMinutes
()
<
10
?
"0"
+
t
.
getMinutes
():
t
.
getMinutes
(),
s
=
t
.
getSeconds
()
<
10
?
"0"
+
t
.
getSeconds
():
t
.
getSeconds
();
return
t
.
getFullYear
()
+
"-"
+
o
+
"-"
+
n
+
" "
+
r
+
":"
+
p
+
":"
+
s
}},
timeStampToYm
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
(
e
),
a
=
t
.
getMonth
()
+
1
,
n
=
a
<
10
?
"0"
+
a
:
a
;
return
t
.
getFullYear
()
+
"-"
+
n
}},
timeStampToYmd
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
(
e
),
a
=
t
.
getMonth
()
+
1
,
n
=
t
.
getDate
()
<
10
?
"0"
+
t
.
getDate
():
t
.
getDate
(),
o
=
a
<
10
?
"0"
+
a
:
a
;
return
t
.
getFullYear
()
+
"-"
+
o
+
"-"
+
n
}},
timeStampToHms
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
(
e
);
return
(
t
.
getHours
()
<
10
?
"0"
+
t
.
getHours
():
t
.
getHours
())
+
":"
+
(
t
.
getMinutes
()
<
10
?
"0"
+
t
.
getMinutes
():
t
.
getMinutes
())
+
":"
+
(
t
.
getSeconds
()
<
10
?
"0"
+
t
.
getSeconds
():
t
.
getSeconds
())}},
formatTimeYmdHms
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
(
e
),
a
=
t
.
getMonth
()
+
1
,
n
=
t
.
getDate
()
<
10
?
"0"
+
t
.
getDate
():
t
.
getDate
(),
o
=
a
<
10
?
"0"
+
a
:
a
,
r
=
t
.
getHours
()
<
10
?
"0"
+
t
.
getHours
():
t
.
getHours
(),
p
=
t
.
getMinutes
()
<
10
?
"0"
+
t
.
getMinutes
():
t
.
getMinutes
(),
s
=
t
.
getSeconds
()
<
10
?
"0"
+
t
.
getSeconds
():
t
.
getSeconds
();
return
t
.
getFullYear
()
+
"."
+
o
+
"."
+
n
+
" "
+
r
+
":"
+
p
+
":"
+
s
}},
formatPhoneNum
:
function
(
e
){
return
e
?(
e
=
e
.
toString
()).
substr
(
0
,
3
)
+
"****"
+
e
.
substr
(
7
,
11
):
""
},
formatName
:
function
(
e
){
return
e
?
"**"
+
(
e
=
e
.
toString
()).
substr
(
e
.
length
-
1
,
e
.
length
):
""
},
timeStampSpace
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
,
a
=
new
Date
(
Number
(
e
)).
getTime
()
-
t
.
getTime
();
if
(
console
.
log
(
a
),
a
<
0
)
return
""
;
var
n
=
Math
.
floor
(
a
/
864
e5
);
console
.
log
(
a
,
n
);
var
o
=
a
%
864
e5
,
r
=
o
%
36
e5
;
return
n
+
"天"
+
Math
.
floor
(
o
/
36
e5
)
+
"小时"
+
Math
.
floor
(
r
/
6
e4
)
+
"分"
}}}),
M
=
a
(
"TUaa"
),
P
=
a
.
n
(
M
),
V
=
a
(
"tyqE"
),
q
=
a
.
n
(
V
),
H
=
a
(
"pRVe"
),
I
=
a
.
n
(
H
),
Y
=
a
(
"XsK6"
),
j
=
a
.
n
(
Y
),
G
=
a
(
"QRL9"
),
N
=
a
.
n
(
G
),
O
=
a
(
"2Pnh"
),
F
=
a
.
n
(
O
),
J
=
a
(
"l9mu"
),
U
=
a
.
n
(
J
),
X
=
{
install
:
function
(
e
,
t
){
e
.
prototype
.
getPdf
=
function
(){
var
e
=
this
.
htmlTitle
;
F
()(
document
.
querySelector
(
"#pdfDom"
),{
allowTaint
:
!
0
,
foreignObjectRendering
:
!
0
}).
then
(
function
(
t
){
var
a
=
t
.
width
,
n
=
t
.
height
,
o
=
a
/
592.28
*
841.89
,
r
=
n
,
p
=
0
,
s
=
592.28
/
a
*
n
,
i
=
t
.
toDataURL
(
"image/jpeg"
,
1
),
c
=
new
U
.
a
(
""
,
"pt"
,
"a4"
);
if
(
r
<
o
)
c
.
addImage
(
i
,
"JPEG"
,
0
,
0
,
595.28
,
s
);
else
for
(;
r
>
0
;)
c
.
addImage
(
i
,
"JPEG"
,
0
,
p
,
595.28
,
s
),
p
-=
841.89
,(
r
-=
o
)
>
0
&&
c
.
addPage
();
c
.
save
(
e
+
".pdf"
)})}}},
z
=
a
(
"/IwO"
),
K
=
a
.
n
(
z
);
p
.
a
.
polyfill
(),
Vue
.
use
(
K
.
a
),
K
.
a
.
initAMapApiLoader
({
key
:
"d53a58848be368a7398dc56d5670fe9c"
,
plugin
:[
"Autocomplete"
,
"PlaceSearch"
,
"Scale"
,
"OverView"
,
"Geocoder"
,
"ToolBar"
,
"MapType"
,
"PolyEditor"
,
"AMap.CircleEditor"
],
v
:
"1.4.4"
}),
Vue
.
use
(
X
),
Vue
.
use
(
j
.
a
),
Vue
.
use
(
N
.
a
),
Vue
.
use
(
I
.
a
),
Vue
.
use
(
q
.
a
),
Vue
.
use
(
P
.
a
),
Vue
.
config
.
productionTip
=!
1
,
Vue
.
use
(
w
.
a
,{
size
:
"large"
}),
Vue
.
use
(
y
.
a
,
T
.
a
),
Vue
.
axios
.
defaults
.
withCredentials
=!
0
,
o
()(
L
).
forEach
(
function
(
e
){
Vue
.
filter
(
e
,
L
[
e
])}),
S
.
beforeEach
(
function
(
e
,
t
,
a
){
window
.
axiosPromiseArr
&&
axiosPromiseArr
.
forEach
(
function
(
e
,
t
){
e
.
cancel
(),
delete
axiosPromiseArr
[
t
]});
var
n
=
window
.
location
.
origin
;
n
.
indexOf
(
"localhost"
),
localStorage
.
getItem
(
"userInfos"
),
"/"
==
e
.
path
?
a
({
path
:
"/login"
}):
a
()}),
new
Vue
({
el
:
"#app"
,
router
:
S
,
store
:
E
,
components
:{
App
:
i
},
template
:
"<App/>"
})},
Opzk
:
function
(
e
,
t
,
a
){
var
n
=
{
"./apps/badEvaluate/badEvaluateDetail.vue"
:[
"Yz8m"
,
0
,
43
],
"./apps/badEvaluate/badEvaluateRecord.vue"
:[
"DCIc"
,
0
,
65
],
"./apps/badEvaluate/badEvaluateSet.vue"
:[
"moBL"
,
0
,
54
],
"./apps/badEvaluate/index.vue"
:[
"AG22"
,
0
,
23
],
"./apps/card/cardList.vue"
:[
"X5LE"
,
0
,
49
],
"./apps/card/cardRecord.vue"
:[
"xDJN"
,
0
,
14
],
"./apps/card/index.vue"
:[
"nV1L"
,
0
,
34
],
"./apps/card/newCard.vue"
:[
"7/Zw"
,
0
,
10
],
"./apps/cloudDaily/customReport.vue"
:[
"ak3k"
,
0
,
29
],
"./apps/cloudDaily/customReportSet.vue"
:[
"LTPC"
,
0
,
4
],
"./apps/cloudDaily/dailyDetail.vue"
:[
"JwJ7"
,
0
,
11
],
"./apps/cloudDaily/dailyExport.vue"
:[
"H3Dc"
,
0
,
18
],
"./apps/cloudDaily/dailyRecord.vue"
:[
"IuWw"
,
0
,
57
],
"./apps/cloudDaily/index.vue"
:[
"4QyY"
,
0
,
39
],
"./apps/cloudDaily/systemReport.vue"
:[
"J/6z"
,
0
,
5
],
"./apps/cloudDaily/taskAssign.vue"
:[
"Hb/M"
,
0
,
25
],
"./apps/cloudDaily/template/block.vue"
:[
"O3gZ"
,
48
],
"./apps/cloudDaily/template/date-range.vue"
:[
"2WGr"
,
50
],
"./apps/cloudDaily/template/image.vue"
:[
"8dpP"
,
64
],
"./apps/cloudDaily/template/input.vue"
:[
"zHtI"
,
71
],
"./apps/cloudDaily/template/select.vue"
:[
"rYZf"
,
58
],
"./apps/customerApp/index.vue"
:[
"QHTa"
,
0
,
45
],
"./apps/customerApp/memberGroupSet.vue"
:[
"JuNN"
,
0
,
41
],
"./apps/customerApp/memberSearchSet.vue"
:[
"Z3Aa"
,
0
,
47
],
"./apps/customerApp/memberShowSet.vue"
:[
"odfG"
,
0
,
61
],
"./apps/index.vue"
:[
"K1Vb"
,
0
,
52
],
"./apps/protectCard/cardGetRecord.vue"
:[
"5GE8"
,
0
,
56
],
"./apps/protectCard/cardPut.vue"
:[
"cD4x"
,
0
,
42
],
"./apps/protectCard/cardPutRecord.vue"
:[
"dhLd"
,
0
,
53
],
"./apps/protectCard/cardStrategy.vue"
:[
"rUvh"
,
0
,
19
],
"./apps/protectCard/cardTemplate.vue"
:[
"c7iB"
,
0
,
33
],
"./apps/protectCard/index.vue"
:[
"aWmL"
,
0
,
35
],
"./apps/protectCard/newCardPut.vue"
:[
"9db3"
,
0
,
7
],
"./apps/protectCard/newCardStrategy.vue"
:[
"8Rwt"
,
0
,
6
],
"./apps/protectCard/newCardTemp.vue"
:[
"tF0P"
,
0
,
30
],
"./apps/quota/companyDaySet.vue"
:[
"NiGE"
,
0
,
69
],
"./apps/quota/index.vue"
:[
"qSX4"
,
0
,
28
],
"./apps/quota/monthList.vue"
:[
"fAFA"
,
0
,
60
],
"./apps/quota/monthTask.vue"
:[
"NpHY"
,
0
,
31
],
"./apps/quota/monthTaskDetail.vue"
:[
"YKf6"
,
0
,
40
],
"./apps/quota/salerMonthDetail.vue"
:[
"+qr5"
,
0
,
72
],
"./apps/quota/storeMonthTask.vue"
:[
"qWC+"
,
0
,
68
],
"./apps/trafficTask/index.vue"
:[
"FmZU"
,
0
,
32
],
"./apps/trafficTask/newSession.vue"
:[
"upTI"
,
0
,
46
],
"./apps/trafficTask/taskDetail.vue"
:[
"XrDD"
,
0
,
12
],
"./apps/trafficTask/taskList.vue"
:[
"FMQe"
,
0
,
62
],
"./apps/trafficTask/taskRecord.vue"
:[
"m+x7"
,
0
,
63
],
"./apps/trafficTask/taskSessionSet.vue"
:[
"lPa5"
,
0
,
51
],
"./apps/trafficTask/taskView.vue"
:[
"w2fd"
,
0
,
21
],
"./apps/trafficTask/taskViewDetail.vue"
:[
"SBUJ"
,
0
,
44
],
"./apps/trafficTask/trafficTaskSet.vue"
:[
"OUXi"
,
0
,
37
],
"./business/contacts.vue"
:[
"/W60"
,
0
,
2
],
"./business/index.vue"
:[
"jPcV"
,
0
,
70
],
"./business/orgStructSet.vue"
:[
"OI5V"
,
0
,
3
],
"./business/recycle.vue"
:[
"K8Yn"
,
0
,
66
],
"./business/syncLog.vue"
:[
"20P3"
,
0
,
24
],
"./enterprise/adminList.vue"
:[
"zYBJ"
,
0
,
26
],
"./enterprise/enterpriseSet.vue"
:[
"x5Fx"
,
0
,
38
],
"./enterprise/index.vue"
:[
"m9dW"
,
0
,
27
],
"./errorPage/403.vue"
:[
"6XGN"
,
20
],
"./errorPage/404.vue"
:[
"AejC"
,
22
],
"./errorPage/500.vue"
:[
"FskK"
,
17
],
"./errorPage/gic-error.vue"
:[
"Q3j/"
,
15
],
"./errorPage/index.vue"
:[
"ODjX"
,
1
],
"./index/index.vue"
:[
"JXTs"
,
0
,
13
],
"./login/index.vue"
:[
"T+/8"
,
0
,
16
],
"./overstore/index.vue"
:[
"Y55K"
,
0
,
59
],
"./overstore/overStoreList.vue"
:[
"vuAV"
,
0
,
36
],
"./reviewCenter/index.vue"
:[
"+lem"
,
0
,
67
],
"./reviewCenter/reviewSet.vue"
:[
"6j9f"
,
0
,
55
],
"./reviewCenter/reviewed.vue"
:[
"CLYF"
,
0
,
9
],
"./reviewCenter/unreview.vue"
:[
"xCEU"
,
0
,
8
]};
function
o
(
e
){
var
t
=
n
[
e
];
return
t
?
Promise
.
all
(
t
.
slice
(
1
).
map
(
a
.
e
)).
then
(
function
(){
return
a
(
t
[
0
])}):
Promise
.
reject
(
new
Error
(
"Cannot find module '"
+
e
+
"'."
))}
o
.
keys
=
function
(){
return
Object
.
keys
(
n
)},
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
},
tvR6
:
function
(
e
,
t
){},
uKUT
:
function
(
e
,
t
){},
xtVA
:
function
(
e
,
t
){}},[
0
]);
\ No newline at end of file
\ No newline at end of file
dist/static/js/manifest.
4a07ddc7e6521337fbd6
.js
→
dist/static/js/manifest.
c0455a3f02e4adf8d267
.js
View file @
bff2a8b1
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
a
,
d
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
a
.
length
;
i
++
)
t
=
a
[
i
],
f
[
t
]
&&
u
.
push
(
f
[
t
][
0
]),
f
[
t
]
=
0
;
for
(
r
in
d
)
Object
.
prototype
.
hasOwnProperty
.
call
(
d
,
r
)
&&
(
e
[
r
]
=
d
[
r
]);
for
(
c
&&
c
(
a
,
d
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
b
(
b
.
s
=
n
[
i
]);
return
o
};
var
a
=
{},
f
=
{
75
:
0
};
function
b
(
c
){
if
(
a
[
c
])
return
a
[
c
].
exports
;
var
f
=
a
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
f
.
exports
,
f
,
f
.
exports
,
b
),
f
.
l
=!
0
,
f
.
exports
}
b
.
e
=
function
(
e
){
var
c
=
f
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
a
=
new
Promise
(
function
(
a
,
b
){
c
=
f
[
e
]
=
[
a
,
b
]});
c
[
2
]
=
a
;
var
d
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
b
.
nc
&&
n
.
setAttribute
(
"nonce"
,
b
.
nc
),
n
.
src
=
b
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"39934566a75c9d7742c4"
,
1
:
"06c4e42e62c1f75191f0"
,
2
:
"2b6fcdbc6e5205bee47c"
,
3
:
"fec7a03a688935ae1aac"
,
4
:
"5349c2874f3b26bfa8f4"
,
5
:
"bf21cfa1832c94ed8d4c"
,
6
:
"bf0bd72259e971cb5c5d"
,
7
:
"6d129ebb69dd65574768"
,
8
:
"5cbeb9fde8d49bf97a09"
,
9
:
"f7c875c7689ffc18fc21"
,
10
:
"281523c91e7ee89296cb"
,
11
:
"59c87174f09911b8256b"
,
12
:
"e8cd784bf481f550c766"
,
13
:
"06a77c08775fb582d98b"
,
14
:
"3e40ef52c61dca96c9ff"
,
15
:
"592a2e6008db77975bcc"
,
16
:
"bc276325eab50b4b86c0"
,
17
:
"edf42ec3b001b6cfe65e"
,
18
:
"4b0922e27b6b34b18611"
,
19
:
"30252583b235f2c70040"
,
20
:
"ba2e2bd0823422a4de6c"
,
21
:
"9e35f4bb567c79f900c4"
,
22
:
"4657c811baa7a2a81fa8"
,
23
:
"b696c3789461b84413c4"
,
24
:
"4ad7713214fd3234337d"
,
25
:
"052c0b1bf23ddab741fb"
,
26
:
"0e68f81c2d32fec5abdb"
,
27
:
"1be63d7a49a9d810516f"
,
28
:
"65284e7ae64fa171aabc"
,
29
:
"485d7c81ce188c3fa687"
,
30
:
"6e3dad3ed142df770d0e"
,
31
:
"963d650c22609bb350cc"
,
32
:
"648e00249c751be0ef72"
,
33
:
"58a9dd12fac8a0f5c28f"
,
34
:
"555885a51e5833dd88f7"
,
35
:
"8a132ad30fce01f4deb7"
,
36
:
"ae95aada03220eb5550d"
,
37
:
"5dc35c4db0da65b72ba3"
,
38
:
"67c2ba02c8cb8e2aeae7"
,
39
:
"cffc9df02e23624f15f7"
,
40
:
"f72c24c69c3d22cb365f"
,
41
:
"3e80f7c7164f36ab833d"
,
42
:
"9cfba776561a2683e1ce"
,
43
:
"491cbc97f03e6a9416fd"
,
44
:
"9a001dcb0b20412481a9"
,
45
:
"7d07ad63ee1aebc77c05"
,
46
:
"64a15dd24ae8e3144031"
,
47
:
"92038db1f82264d5868e"
,
48
:
"e1c431339eb330885992"
,
49
:
"9fd4f029ea0801147047"
,
50
:
"91613ce4f17c75cebd9d"
,
51
:
"979c5dde2cdf8d17bbad"
,
52
:
"daeb4b3000f4e6f0622b"
,
53
:
"ed4f0a40a8c2ab4ef1b5"
,
54
:
"a63f3b2b05b73e8a3ed6"
,
55
:
"e08c75127132ad856135"
,
56
:
"958b7f1db9c52bb2abaf"
,
57
:
"b059e07220a79fb60d95"
,
58
:
"38bdda7d88dd6886fbed"
,
59
:
"ed1cfc8b4f8a46cebdfb"
,
60
:
"93a2ee002c3cd92e8e0e"
,
61
:
"c72abb8753a2004d6800"
,
62
:
"66e0ac1b58f6da721da0"
,
63
:
"8e1a0364cf1388ecfd3d"
,
64
:
"2e546d02be42fac0c64d"
,
65
:
"11f52cad03275c8aba4f"
,
66
:
"9fa3ca5124aa2b5a85ec"
,
67
:
"c2bdeb51501e61130506"
,
68
:
"7c8716b3ed26ffda11fb"
,
69
:
"18f0e63b47a729fc63d0"
,
70
:
"d8b620c8d056d806ac23"
,
71
:
"8ce9113b1568e9bf5537"
,
72
:
"a6222ada9c9a2655c92a"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
c
=
f
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
f
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
d
.
appendChild
(
n
),
a
},
b
.
m
=
e
,
b
.
c
=
a
,
b
.
d
=
function
(
e
,
c
,
a
){
b
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
a
})},
b
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
b
.
d
(
c
,
"a"
,
c
),
c
},
b
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
b
.
p
=
"./"
,
b
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
a
,
d
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
a
.
length
;
i
++
)
t
=
a
[
i
],
f
[
t
]
&&
u
.
push
(
f
[
t
][
0
]),
f
[
t
]
=
0
;
for
(
r
in
d
)
Object
.
prototype
.
hasOwnProperty
.
call
(
d
,
r
)
&&
(
e
[
r
]
=
d
[
r
]);
for
(
c
&&
c
(
a
,
d
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
b
(
b
.
s
=
n
[
i
]);
return
o
};
var
a
=
{},
f
=
{
75
:
0
};
function
b
(
c
){
if
(
a
[
c
])
return
a
[
c
].
exports
;
var
f
=
a
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
f
.
exports
,
f
,
f
.
exports
,
b
),
f
.
l
=!
0
,
f
.
exports
}
b
.
e
=
function
(
e
){
var
c
=
f
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
a
=
new
Promise
(
function
(
a
,
b
){
c
=
f
[
e
]
=
[
a
,
b
]});
c
[
2
]
=
a
;
var
d
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
b
.
nc
&&
n
.
setAttribute
(
"nonce"
,
b
.
nc
),
n
.
src
=
b
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"39934566a75c9d7742c4"
,
1
:
"06c4e42e62c1f75191f0"
,
2
:
"2b6fcdbc6e5205bee47c"
,
3
:
"fec7a03a688935ae1aac"
,
4
:
"5349c2874f3b26bfa8f4"
,
5
:
"bf21cfa1832c94ed8d4c"
,
6
:
"bf0bd72259e971cb5c5d"
,
7
:
"6d129ebb69dd65574768"
,
8
:
"5cbeb9fde8d49bf97a09"
,
9
:
"f7c875c7689ffc18fc21"
,
10
:
"281523c91e7ee89296cb"
,
11
:
"59c87174f09911b8256b"
,
12
:
"e8cd784bf481f550c766"
,
13
:
"06a77c08775fb582d98b"
,
14
:
"3e40ef52c61dca96c9ff"
,
15
:
"592a2e6008db77975bcc"
,
16
:
"bc276325eab50b4b86c0"
,
17
:
"edf42ec3b001b6cfe65e"
,
18
:
"4b0922e27b6b34b18611"
,
19
:
"30252583b235f2c70040"
,
20
:
"ba2e2bd0823422a4de6c"
,
21
:
"9e35f4bb567c79f900c4"
,
22
:
"4657c811baa7a2a81fa8"
,
23
:
"b696c3789461b84413c4"
,
24
:
"4ad7713214fd3234337d"
,
25
:
"9e5733792c18c643ff3a"
,
26
:
"dba4d3332f3dbc9d7649"
,
27
:
"8c00b479947588ae7b2c"
,
28
:
"110ab7e5f64abacf9778"
,
29
:
"cebf604cf1225f47e634"
,
30
:
"d27ad420bde5d91622bf"
,
31
:
"cf36baf02e3e24a5f053"
,
32
:
"5713f13dae2f3c4c3b45"
,
33
:
"3b19f619921aacfda1e4"
,
34
:
"8bcde76a87998e61eecb"
,
35
:
"6cab7737434a1ea51e80"
,
36
:
"c0c151468bb71aa5378c"
,
37
:
"7471c3e15c8e46ac20ff"
,
38
:
"86b31259273ff9721942"
,
39
:
"9fca928a20d42828e190"
,
40
:
"9690302debe738c45edb"
,
41
:
"5b5fdd73c94a6be987a4"
,
42
:
"5f24cb743057dc072bae"
,
43
:
"51bc93dd50e72a7a505a"
,
44
:
"e1dc95df16dac16d20f7"
,
45
:
"ab718fd81f92be745af6"
,
46
:
"e0490548189600adfad2"
,
47
:
"92038db1f82264d5868e"
,
48
:
"e1c431339eb330885992"
,
49
:
"9fd4f029ea0801147047"
,
50
:
"91613ce4f17c75cebd9d"
,
51
:
"979c5dde2cdf8d17bbad"
,
52
:
"daeb4b3000f4e6f0622b"
,
53
:
"ed4f0a40a8c2ab4ef1b5"
,
54
:
"a63f3b2b05b73e8a3ed6"
,
55
:
"e08c75127132ad856135"
,
56
:
"958b7f1db9c52bb2abaf"
,
57
:
"b059e07220a79fb60d95"
,
58
:
"38bdda7d88dd6886fbed"
,
59
:
"ed1cfc8b4f8a46cebdfb"
,
60
:
"93a2ee002c3cd92e8e0e"
,
61
:
"c72abb8753a2004d6800"
,
62
:
"66e0ac1b58f6da721da0"
,
63
:
"8e1a0364cf1388ecfd3d"
,
64
:
"2e546d02be42fac0c64d"
,
65
:
"11f52cad03275c8aba4f"
,
66
:
"9fa3ca5124aa2b5a85ec"
,
67
:
"c2bdeb51501e61130506"
,
68
:
"7c8716b3ed26ffda11fb"
,
69
:
"18f0e63b47a729fc63d0"
,
70
:
"d8b620c8d056d806ac23"
,
71
:
"8ce9113b1568e9bf5537"
,
72
:
"a6222ada9c9a2655c92a"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
c
=
f
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
f
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
d
.
appendChild
(
n
),
a
},
b
.
m
=
e
,
b
.
c
=
a
,
b
.
d
=
function
(
e
,
c
,
a
){
b
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
a
})},
b
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
b
.
d
(
c
,
"a"
,
c
),
c
},
b
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
b
.
p
=
"./"
,
b
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
\ No newline at end of file
src/views/apps/trafficTask/newSession.vue
View file @
bff2a8b1
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Author: 无尘
* @Date: 2019-03-20 14:36:37
* @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘
* @LastEditors: 无尘
* @LastEditTime: 2020-05-11 10:3
1:4
9
* @LastEditTime: 2020-05-11 10:3
7:1
9
-->
-->
<
template
>
<
template
>
<div
class=
"app-detail-wrap"
>
<div
class=
"app-detail-wrap"
>
...
@@ -61,8 +61,8 @@ export default {
...
@@ -61,8 +61,8 @@ export default {
addTimeType
:
'1'
addTimeType
:
'1'
},
},
rules
:
{
rules
:
{
nam
e
:
[{
required
:
true
,
message
:
'请输入任务标题'
,
trigger
:
'blur'
}],
taskTitl
e
:
[{
required
:
true
,
message
:
'请输入任务标题'
,
trigger
:
'blur'
}],
region
:
[{
required
:
true
,
message
:
'请输入任务内容'
,
trigger
:
'blur'
}]
taskContent
:
[{
required
:
true
,
message
:
'请输入任务内容'
,
trigger
:
'blur'
}]
}
}
};
};
},
},
...
@@ -87,7 +87,7 @@ export default {
...
@@ -87,7 +87,7 @@ export default {
addTimeType
:
that
.
formData
.
addTimeType
,
addTimeType
:
that
.
formData
.
addTimeType
,
wxEnterpriseId
:
that
.
wxEnterpriseId
wxEnterpriseId
:
that
.
wxEnterpriseId
};
};
postRequest
(
'/haoban-app-tel-task-three-web/
save-task-setting
'
,
para
)
postRequest
(
'/haoban-app-tel-task-three-web/
create-session-task
'
,
para
)
.
then
(
res
=>
{
.
then
(
res
=>
{
let
resData
=
res
.
data
;
let
resData
=
res
.
data
;
if
(
resData
.
errorCode
==
1
)
{
if
(
resData
.
errorCode
==
1
)
{
...
...
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