Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
aic_duty_strategy
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
yinxiaoling
aic_duty_strategy
Commits
c06c205e
Commit
c06c205e
authored
May 22, 2020
by
puyongsong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
搜索条件清空
parent
80c5a055
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
28 additions
and
15 deletions
+28
-15
index.html
public/zjtlj/dist/index.html
+1
-1
chunk-7064f1ee.492f3ebf.css
public/zjtlj/dist/static/css/chunk-7064f1ee.492f3ebf.css
+1
-1
chunk-da7260b2.6c6c9dd5.css
public/zjtlj/dist/static/css/chunk-da7260b2.6c6c9dd5.css
+1
-1
app.23d8825c.js
public/zjtlj/dist/static/js/app.23d8825c.js
+1
-1
chunk-5fee0ddf.8defe66b.js
public/zjtlj/dist/static/js/chunk-5fee0ddf.8defe66b.js
+0
-1
chunk-7064f1ee.459f6745.js
public/zjtlj/dist/static/js/chunk-7064f1ee.459f6745.js
+1
-0
chunk-da7260b2.427dc2f2.js
public/zjtlj/dist/static/js/chunk-da7260b2.427dc2f2.js
+1
-1
add.vue
public/zjtlj/src/views/dashboard/add.vue
+9
-9
index.vue
public/zjtlj/src/views/task-data/index.vue
+13
-0
No files found.
public/zjtlj/dist/index.html
View file @
c06c205e
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
http-equiv=
X-UA-Compatible
content=
"IE=edge,chrome=1"
><meta
name=
renderer
content=
webkit
><meta
name=
viewport
content=
"width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"
><link
rel=
icon
href=
/favicon.ico
><title>
浙江铁路局外呼策略
</title><link
href=
/static/css/chunk-libs.3dfb7769.css
rel=
stylesheet
><link
href=
/static/css/app.e9624ead.css
rel=
stylesheet
></head><body><div
id=
app
></div><script
src=
/static/js/chunk-elementUI.268e3bcf.js
></script><script
src=
/static/js/chunk-libs.9f0007e6.js
></script><script>
(
function
(
e
){
function
t
(
t
){
for
(
var
r
,
c
,
a
=
t
[
0
],
f
=
t
[
1
],
i
=
t
[
2
],
d
=
0
,
l
=
[];
d
<
a
.
length
;
d
++
)
c
=
a
[
d
],
u
[
c
]
&&
l
.
push
(
u
[
c
][
0
]),
u
[
c
]
=
0
;
for
(
r
in
f
)
Object
.
prototype
.
hasOwnProperty
.
call
(
f
,
r
)
&&
(
e
[
r
]
=
f
[
r
]);
h
&&
h
(
t
);
while
(
l
.
length
)
l
.
shift
()();
return
o
.
push
.
apply
(
o
,
i
||
[]),
n
()}
function
n
(){
for
(
var
e
,
t
=
0
;
t
<
o
.
length
;
t
++
){
for
(
var
n
=
o
[
t
],
r
=!
0
,
c
=
1
;
c
<
n
.
length
;
c
++
){
var
a
=
n
[
c
];
0
!==
u
[
a
]
&&
(
r
=!
1
)}
r
&&
(
o
.
splice
(
t
--
,
1
),
e
=
f
(
f
.
s
=
n
[
0
]))}
return
e
}
var
r
=
{},
c
=
{
runtime
:
0
},
u
=
{
runtime
:
0
},
o
=
[];
function
a
(
e
){
return
f
.
p
+
"
static/js/
"
+
({}[
e
]
||
e
)
+
"
.
"
+
{
"
chunk-2d0c8d8c
"
:
"
24beb334
"
,
"
chunk-15cd5b8a
"
:
"
e5f41148
"
,
"
chunk-2d2105d3
"
:
"
c38e1553
"
,
"
chunk-2d230fe7
"
:
"
8023f254
"
,
"
chunk-521ff149
"
:
"
1a8e56c7
"
,
"
chunk-5fee0ddf
"
:
"
8defe66b
"
,
"
chunk-741c615e
"
:
"
3f9b458e
"
,
"
chunk-edda6906
"
:
"
f13325ba
"
,
"
chunk-f46ba1c8
"
:
"
31519b4a
"
}[
e
]
+
"
.js
"
}
function
f
(
t
){
if
(
r
[
t
])
return
r
[
t
].
exports
;
var
n
=
r
[
t
]
=
{
i
:
t
,
l
:
!
1
,
exports
:{}};
return
e
[
t
].
call
(
n
.
exports
,
n
,
n
.
exports
,
f
),
n
.
l
=!
0
,
n
.
exports
}
f
.
e
=
function
(
e
){
var
t
=
[],
n
=
{
"
chunk-15cd5b8a
"
:
1
,
"
chunk-521ff149
"
:
1
,
"
chunk-5fee0ddf
"
:
1
,
"
chunk-741c615e
"
:
1
,
"
chunk-edda6906
"
:
1
,
"
chunk-f46ba1c8
"
:
1
};
c
[
e
]?
t
.
push
(
c
[
e
]):
0
!==
c
[
e
]
&&
n
[
e
]
&&
t
.
push
(
c
[
e
]
=
new
Promise
((
function
(
t
,
n
){
for
(
var
r
=
"
static/css/
"
+
({}[
e
]
||
e
)
+
"
.
"
+
{
"
chunk-2d0c8d8c
"
:
"
31d6cfe0
"
,
"
chunk-15cd5b8a
"
:
"
1f624528
"
,
"
chunk-2d2105d3
"
:
"
31d6cfe0
"
,
"
chunk-2d230fe7
"
:
"
31d6cfe0
"
,
"
chunk-521ff149
"
:
"
aa79ebe7
"
,
"
chunk-5fee0ddf
"
:
"
fa554a27
"
,
"
chunk-741c615e
"
:
"
c88962a4
"
,
"
chunk-edda6906
"
:
"
c7c8f565
"
,
"
chunk-f46ba1c8
"
:
"
34d3c0e3
"
}[
e
]
+
"
.css
"
,
u
=
f
.
p
+
r
,
o
=
document
.
getElementsByTagName
(
"
link
"
),
a
=
0
;
a
<
o
.
length
;
a
++
){
var
i
=
o
[
a
],
d
=
i
.
getAttribute
(
"
data-href
"
)
||
i
.
getAttribute
(
"
href
"
);
if
(
"
stylesheet
"
===
i
.
rel
&&
(
d
===
r
||
d
===
u
))
return
t
()}
var
l
=
document
.
getElementsByTagName
(
"
style
"
);
for
(
a
=
0
;
a
<
l
.
length
;
a
++
){
i
=
l
[
a
],
d
=
i
.
getAttribute
(
"
data-href
"
);
if
(
d
===
r
||
d
===
u
)
return
t
()}
var
h
=
document
.
createElement
(
"
link
"
);
h
.
rel
=
"
stylesheet
"
,
h
.
type
=
"
text/css
"
,
h
.
onload
=
t
,
h
.
onerror
=
function
(
t
){
var
r
=
t
&&
t
.
target
&&
t
.
target
.
src
||
u
,
o
=
new
Error
(
"
Loading CSS chunk
"
+
e
+
"
failed.
\n
(
"
+
r
+
"
)
"
);
o
.
request
=
r
,
delete
c
[
e
],
h
.
parentNode
.
removeChild
(
h
),
n
(
o
)},
h
.
href
=
u
;
var
s
=
document
.
getElementsByTagName
(
"
head
"
)[
0
];
s
.
appendChild
(
h
)})).
then
((
function
(){
c
[
e
]
=
0
})));
var
r
=
u
[
e
];
if
(
0
!==
r
)
if
(
r
)
t
.
push
(
r
[
2
]);
else
{
var
o
=
new
Promise
((
function
(
t
,
n
){
r
=
u
[
e
]
=
[
t
,
n
]}));
t
.
push
(
r
[
2
]
=
o
);
var
i
,
d
=
document
.
createElement
(
"
script
"
);
d
.
charset
=
"
utf-8
"
,
d
.
timeout
=
120
,
f
.
nc
&&
d
.
setAttribute
(
"
nonce
"
,
f
.
nc
),
d
.
src
=
a
(
e
),
i
=
function
(
t
){
d
.
onerror
=
d
.
onload
=
null
,
clearTimeout
(
l
);
var
n
=
u
[
e
];
if
(
0
!==
n
){
if
(
n
){
var
r
=
t
&&
(
"
load
"
===
t
.
type
?
"
missing
"
:
t
.
type
),
c
=
t
&&
t
.
target
&&
t
.
target
.
src
,
o
=
new
Error
(
"
Loading chunk
"
+
e
+
"
failed.
\n
(
"
+
r
+
"
:
"
+
c
+
"
)
"
);
o
.
type
=
r
,
o
.
request
=
c
,
n
[
1
](
o
)}
u
[
e
]
=
void
0
}};
var
l
=
setTimeout
((
function
(){
i
({
type
:
"
timeout
"
,
target
:
d
})}),
12
e4
);
d
.
onerror
=
d
.
onload
=
i
,
document
.
head
.
appendChild
(
d
)}
return
Promise
.
all
(
t
)},
f
.
m
=
e
,
f
.
c
=
r
,
f
.
d
=
function
(
e
,
t
,
n
){
f
.
o
(
e
,
t
)
||
Object
.
defineProperty
(
e
,
t
,{
enumerable
:
!
0
,
get
:
n
})},
f
.
r
=
function
(
e
){
"
undefined
"
!==
typeof
Symbol
&&
Symbol
.
toStringTag
&&
Object
.
defineProperty
(
e
,
Symbol
.
toStringTag
,{
value
:
"
Module
"
}),
Object
.
defineProperty
(
e
,
"
__esModule
"
,{
value
:
!
0
})},
f
.
t
=
function
(
e
,
t
){
if
(
1
&
t
&&
(
e
=
f
(
e
)),
8
&
t
)
return
e
;
if
(
4
&
t
&&
"
object
"
===
typeof
e
&&
e
&&
e
.
__esModule
)
return
e
;
var
n
=
Object
.
create
(
null
);
if
(
f
.
r
(
n
),
Object
.
defineProperty
(
n
,
"
default
"
,{
enumerable
:
!
0
,
value
:
e
}),
2
&
t
&&
"
string
"
!=
typeof
e
)
for
(
var
r
in
e
)
f
.
d
(
n
,
r
,
function
(
t
){
return
e
[
t
]}.
bind
(
null
,
r
));
return
n
},
f
.
n
=
function
(
e
){
var
t
=
e
&&
e
.
__esModule
?
function
(){
return
e
[
"
default
"
]}:
function
(){
return
e
};
return
f
.
d
(
t
,
"
a
"
,
t
),
t
},
f
.
o
=
function
(
e
,
t
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
t
)},
f
.
p
=
"
/
"
,
f
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
};
var
i
=
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[],
d
=
i
.
push
.
bind
(
i
);
i
.
push
=
t
,
i
=
i
.
slice
();
for
(
var
l
=
0
;
l
<
i
.
length
;
l
++
)
t
(
i
[
l
]);
var
h
=
d
;
n
()})([]);
</script><script
src=
/static/js/app.4419bf8f.js
></script></body></html>
\ No newline at end of file
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
http-equiv=
X-UA-Compatible
content=
"IE=edge,chrome=1"
><meta
name=
renderer
content=
webkit
><meta
name=
viewport
content=
"width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"
><link
rel=
icon
href=
/favicon.ico
><title>
浙江铁路局外呼策略
</title><link
href=
/static/css/chunk-libs.3dfb7769.css
rel=
stylesheet
><link
href=
/static/css/app.e9624ead.css
rel=
stylesheet
></head><body><div
id=
app
></div><script
src=
/static/js/chunk-elementUI.268e3bcf.js
></script><script
src=
/static/js/chunk-libs.9f0007e6.js
></script><script>
(
function
(
e
){
function
t
(
t
){
for
(
var
r
,
c
,
a
=
t
[
0
],
f
=
t
[
1
],
i
=
t
[
2
],
d
=
0
,
l
=
[];
d
<
a
.
length
;
d
++
)
c
=
a
[
d
],
u
[
c
]
&&
l
.
push
(
u
[
c
][
0
]),
u
[
c
]
=
0
;
for
(
r
in
f
)
Object
.
prototype
.
hasOwnProperty
.
call
(
f
,
r
)
&&
(
e
[
r
]
=
f
[
r
]);
h
&&
h
(
t
);
while
(
l
.
length
)
l
.
shift
()();
return
o
.
push
.
apply
(
o
,
i
||
[]),
n
()}
function
n
(){
for
(
var
e
,
t
=
0
;
t
<
o
.
length
;
t
++
){
for
(
var
n
=
o
[
t
],
r
=!
0
,
c
=
1
;
c
<
n
.
length
;
c
++
){
var
a
=
n
[
c
];
0
!==
u
[
a
]
&&
(
r
=!
1
)}
r
&&
(
o
.
splice
(
t
--
,
1
),
e
=
f
(
f
.
s
=
n
[
0
]))}
return
e
}
var
r
=
{},
c
=
{
runtime
:
0
},
u
=
{
runtime
:
0
},
o
=
[];
function
a
(
e
){
return
f
.
p
+
"
static/js/
"
+
({}[
e
]
||
e
)
+
"
.
"
+
{
"
chunk-2d0c8d8c
"
:
"
24beb334
"
,
"
chunk-15cd5b8a
"
:
"
e5f41148
"
,
"
chunk-2d2105d3
"
:
"
c38e1553
"
,
"
chunk-2d230fe7
"
:
"
8023f254
"
,
"
chunk-521ff149
"
:
"
1a8e56c7
"
,
"
chunk-7064f1ee
"
:
"
459f6745
"
,
"
chunk-da7260b2
"
:
"
427dc2f2
"
,
"
chunk-edda6906
"
:
"
f13325ba
"
,
"
chunk-f46ba1c8
"
:
"
31519b4a
"
}[
e
]
+
"
.js
"
}
function
f
(
t
){
if
(
r
[
t
])
return
r
[
t
].
exports
;
var
n
=
r
[
t
]
=
{
i
:
t
,
l
:
!
1
,
exports
:{}};
return
e
[
t
].
call
(
n
.
exports
,
n
,
n
.
exports
,
f
),
n
.
l
=!
0
,
n
.
exports
}
f
.
e
=
function
(
e
){
var
t
=
[],
n
=
{
"
chunk-15cd5b8a
"
:
1
,
"
chunk-521ff149
"
:
1
,
"
chunk-7064f1ee
"
:
1
,
"
chunk-da7260b2
"
:
1
,
"
chunk-edda6906
"
:
1
,
"
chunk-f46ba1c8
"
:
1
};
c
[
e
]?
t
.
push
(
c
[
e
]):
0
!==
c
[
e
]
&&
n
[
e
]
&&
t
.
push
(
c
[
e
]
=
new
Promise
((
function
(
t
,
n
){
for
(
var
r
=
"
static/css/
"
+
({}[
e
]
||
e
)
+
"
.
"
+
{
"
chunk-2d0c8d8c
"
:
"
31d6cfe0
"
,
"
chunk-15cd5b8a
"
:
"
1f624528
"
,
"
chunk-2d2105d3
"
:
"
31d6cfe0
"
,
"
chunk-2d230fe7
"
:
"
31d6cfe0
"
,
"
chunk-521ff149
"
:
"
aa79ebe7
"
,
"
chunk-7064f1ee
"
:
"
492f3ebf
"
,
"
chunk-da7260b2
"
:
"
6c6c9dd5
"
,
"
chunk-edda6906
"
:
"
c7c8f565
"
,
"
chunk-f46ba1c8
"
:
"
34d3c0e3
"
}[
e
]
+
"
.css
"
,
u
=
f
.
p
+
r
,
o
=
document
.
getElementsByTagName
(
"
link
"
),
a
=
0
;
a
<
o
.
length
;
a
++
){
var
i
=
o
[
a
],
d
=
i
.
getAttribute
(
"
data-href
"
)
||
i
.
getAttribute
(
"
href
"
);
if
(
"
stylesheet
"
===
i
.
rel
&&
(
d
===
r
||
d
===
u
))
return
t
()}
var
l
=
document
.
getElementsByTagName
(
"
style
"
);
for
(
a
=
0
;
a
<
l
.
length
;
a
++
){
i
=
l
[
a
],
d
=
i
.
getAttribute
(
"
data-href
"
);
if
(
d
===
r
||
d
===
u
)
return
t
()}
var
h
=
document
.
createElement
(
"
link
"
);
h
.
rel
=
"
stylesheet
"
,
h
.
type
=
"
text/css
"
,
h
.
onload
=
t
,
h
.
onerror
=
function
(
t
){
var
r
=
t
&&
t
.
target
&&
t
.
target
.
src
||
u
,
o
=
new
Error
(
"
Loading CSS chunk
"
+
e
+
"
failed.
\n
(
"
+
r
+
"
)
"
);
o
.
request
=
r
,
delete
c
[
e
],
h
.
parentNode
.
removeChild
(
h
),
n
(
o
)},
h
.
href
=
u
;
var
s
=
document
.
getElementsByTagName
(
"
head
"
)[
0
];
s
.
appendChild
(
h
)})).
then
((
function
(){
c
[
e
]
=
0
})));
var
r
=
u
[
e
];
if
(
0
!==
r
)
if
(
r
)
t
.
push
(
r
[
2
]);
else
{
var
o
=
new
Promise
((
function
(
t
,
n
){
r
=
u
[
e
]
=
[
t
,
n
]}));
t
.
push
(
r
[
2
]
=
o
);
var
i
,
d
=
document
.
createElement
(
"
script
"
);
d
.
charset
=
"
utf-8
"
,
d
.
timeout
=
120
,
f
.
nc
&&
d
.
setAttribute
(
"
nonce
"
,
f
.
nc
),
d
.
src
=
a
(
e
),
i
=
function
(
t
){
d
.
onerror
=
d
.
onload
=
null
,
clearTimeout
(
l
);
var
n
=
u
[
e
];
if
(
0
!==
n
){
if
(
n
){
var
r
=
t
&&
(
"
load
"
===
t
.
type
?
"
missing
"
:
t
.
type
),
c
=
t
&&
t
.
target
&&
t
.
target
.
src
,
o
=
new
Error
(
"
Loading chunk
"
+
e
+
"
failed.
\n
(
"
+
r
+
"
:
"
+
c
+
"
)
"
);
o
.
type
=
r
,
o
.
request
=
c
,
n
[
1
](
o
)}
u
[
e
]
=
void
0
}};
var
l
=
setTimeout
((
function
(){
i
({
type
:
"
timeout
"
,
target
:
d
})}),
12
e4
);
d
.
onerror
=
d
.
onload
=
i
,
document
.
head
.
appendChild
(
d
)}
return
Promise
.
all
(
t
)},
f
.
m
=
e
,
f
.
c
=
r
,
f
.
d
=
function
(
e
,
t
,
n
){
f
.
o
(
e
,
t
)
||
Object
.
defineProperty
(
e
,
t
,{
enumerable
:
!
0
,
get
:
n
})},
f
.
r
=
function
(
e
){
"
undefined
"
!==
typeof
Symbol
&&
Symbol
.
toStringTag
&&
Object
.
defineProperty
(
e
,
Symbol
.
toStringTag
,{
value
:
"
Module
"
}),
Object
.
defineProperty
(
e
,
"
__esModule
"
,{
value
:
!
0
})},
f
.
t
=
function
(
e
,
t
){
if
(
1
&
t
&&
(
e
=
f
(
e
)),
8
&
t
)
return
e
;
if
(
4
&
t
&&
"
object
"
===
typeof
e
&&
e
&&
e
.
__esModule
)
return
e
;
var
n
=
Object
.
create
(
null
);
if
(
f
.
r
(
n
),
Object
.
defineProperty
(
n
,
"
default
"
,{
enumerable
:
!
0
,
value
:
e
}),
2
&
t
&&
"
string
"
!=
typeof
e
)
for
(
var
r
in
e
)
f
.
d
(
n
,
r
,
function
(
t
){
return
e
[
t
]}.
bind
(
null
,
r
));
return
n
},
f
.
n
=
function
(
e
){
var
t
=
e
&&
e
.
__esModule
?
function
(){
return
e
[
"
default
"
]}:
function
(){
return
e
};
return
f
.
d
(
t
,
"
a
"
,
t
),
t
},
f
.
o
=
function
(
e
,
t
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
t
)},
f
.
p
=
"
/
"
,
f
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
};
var
i
=
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[],
d
=
i
.
push
.
bind
(
i
);
i
.
push
=
t
,
i
=
i
.
slice
();
for
(
var
l
=
0
;
l
<
i
.
length
;
l
++
)
t
(
i
[
l
]);
var
h
=
d
;
n
()})([]);
</script><script
src=
/static/js/app.23d8825c.js
></script></body></html>
\ No newline at end of file
public/zjtlj/dist/static/css/chunk-
5fee0ddf.fa554a27
.css
→
public/zjtlj/dist/static/css/chunk-
7064f1ee.492f3ebf
.css
View file @
c06c205e
.waves-ripple
{
position
:
absolute
;
border-radius
:
100%
;
background-color
:
rgba
(
0
,
0
,
0
,
.15
);
background-clip
:
padding-box
;
pointer-events
:
none
;
-webkit-user-select
:
none
;
-moz-user-select
:
none
;
-ms-user-select
:
none
;
user-select
:
none
;
-webkit-transform
:
scale
(
0
);
transform
:
scale
(
0
);
opacity
:
1
}
.waves-ripple.z-active
{
opacity
:
0
;
-webkit-transform
:
scale
(
2
);
transform
:
scale
(
2
);
-webkit-transition
:
opacity
1.2s
ease-out
,
-webkit-transform
.6s
ease-out
;
transition
:
opacity
1.2s
ease-out
,
-webkit-transform
.6s
ease-out
;
transition
:
opacity
1.2s
ease-out
,
transform
.6s
ease-out
;
transition
:
opacity
1.2s
ease-out
,
transform
.6s
ease-out
,
-webkit-transform
.6s
ease-out
}
.el-icon-upload
[
data-v-29423b4f
]
{
color
:
#0000cd
;
font-size
:
24px
;
vertical-align
:
middle
}
.result-box
[
data-v-29423b4f
]
{
line-height
:
30px
;
text-align
:
center
}
.result-box
.down-txt
[
data-v-29423b4f
]
{
color
:
#4dc1f4
}
.result-box
.el-icon-success
[
data-v-29423b4f
]
{
color
:
#03b615
;
font-size
:
33px
}
.result-box
.el-icon-warning
[
data-v-29423b4f
]
{
font-size
:
33px
}
.result-box
.fail-all-bgc
[
data-v-29423b4f
]
{
color
:
#d9001b
}
.result-box
.fail-bgc
[
data-v-29423b4f
]
{
color
:
#f59a23
}
.down-btn
[
data-v-29423b4f
],
.upload-btn
[
data-v-29423b4f
]
{
color
:
#3691ff
}
label
[
data-v-29423b4f
]
{
font-weight
:
400
}
.import-box
[
data-v-29423b4f
]
:before
{
content
:
"*"
;
color
:
#ff4949
;
margin-right
:
4px
;
display
:
inline-block
}
.el-icon-upload
[
data-v-bfd5b9e0
]
{
color
:
#c3c6ca
;
font-size
:
24px
;
vertical-align
:
middle
;
position
:
absolute
;
top
:
0
;
right
:
100px
;
line-height
:
36px
}
.el-date-editor.el-input
[
data-v-bfd5b9e0
]
{
width
:
100%
}
.upload-box
[
data-v-bfd5b9e0
]
{
margin-right
:
69px
}
.upload-box
input
[
data-v-bfd5b9e0
]
{
height
:
36px
;
line-height
:
36px
;
border-top-right-radius
:
0
;
border-bottom-right-radius
:
0
;
border-right
:
none
}
.upload-box
.el-input
:hover
+
.el-icon-circle-close
[
data-v-bfd5b9e0
]
{
display
:
inline-block
}
.upload-box
.el-icon-circle-close
[
data-v-bfd5b9e0
]
{
color
:
#c3c6ca
;
font-size
:
16px
;
vertical-align
:
middle
;
position
:
absolute
;
top
:
0
;
right
:
75px
;
line-height
:
36px
;
z-index
:
1
;
display
:
none
}
.upload-box
.el-icon-circle-close
[
data-v-bfd5b9e0
]
:hover
{
display
:
inline-block
}
.download-btn
[
data-v-bfd5b9e0
]
{
position
:
absolute
;
top
:
0
;
right
:
0
;
height
:
36px
;
line-height
:
36px
;
width
:
70px
;
text-align
:
center
;
padding
:
0
;
text-decoration
:
underline
}
.result-box
[
data-v-bfd5b9e0
]
{
line-height
:
30px
;
text-align
:
center
}
.result-box
.down-txt
[
data-v-bfd5b9e0
]
{
color
:
#4dc1f4
}
.result-box
.el-icon-success
[
data-v-bfd5b9e0
]
{
color
:
#03b615
;
font-size
:
33px
}
.result-box
.el-icon-warning
[
data-v-bfd5b9e0
]
{
font-size
:
33px
}
.result-box
.fail-all-bgc
[
data-v-bfd5b9e0
]
{
color
:
#d9001b
}
.result-box
.fail-bgc
[
data-v-bfd5b9e0
]
{
color
:
#f59a23
}
.down-btn
[
data-v-bfd5b9e0
],
.upload-btn
[
data-v-bfd5b9e0
]
{
color
:
#3691ff
}
label
[
data-v-bfd5b9e0
]
{
font-weight
:
400
}
.import-box
[
data-v-bfd5b9e0
]
:before
{
content
:
"*"
;
color
:
#ff4949
;
margin-right
:
4px
;
display
:
inline-block
}
#strategy-add-form
.hide-label
label
,
#strategy-add-form
.hide-label
label
:before
{
display
:
none
}
#strategy-add-form
.fl-label
label
{
float
:
left
;
margin-right
:
10px
}
\ No newline at end of file
.waves-ripple
{
position
:
absolute
;
border-radius
:
100%
;
background-color
:
rgba
(
0
,
0
,
0
,
.15
);
background-clip
:
padding-box
;
pointer-events
:
none
;
-webkit-user-select
:
none
;
-moz-user-select
:
none
;
-ms-user-select
:
none
;
user-select
:
none
;
-webkit-transform
:
scale
(
0
);
transform
:
scale
(
0
);
opacity
:
1
}
.waves-ripple.z-active
{
opacity
:
0
;
-webkit-transform
:
scale
(
2
);
transform
:
scale
(
2
);
-webkit-transition
:
opacity
1.2s
ease-out
,
-webkit-transform
.6s
ease-out
;
transition
:
opacity
1.2s
ease-out
,
-webkit-transform
.6s
ease-out
;
transition
:
opacity
1.2s
ease-out
,
transform
.6s
ease-out
;
transition
:
opacity
1.2s
ease-out
,
transform
.6s
ease-out
,
-webkit-transform
.6s
ease-out
}
.el-icon-upload
[
data-v-29423b4f
]
{
color
:
#0000cd
;
font-size
:
24px
;
vertical-align
:
middle
}
.result-box
[
data-v-29423b4f
]
{
line-height
:
30px
;
text-align
:
center
}
.result-box
.down-txt
[
data-v-29423b4f
]
{
color
:
#4dc1f4
}
.result-box
.el-icon-success
[
data-v-29423b4f
]
{
color
:
#03b615
;
font-size
:
33px
}
.result-box
.el-icon-warning
[
data-v-29423b4f
]
{
font-size
:
33px
}
.result-box
.fail-all-bgc
[
data-v-29423b4f
]
{
color
:
#d9001b
}
.result-box
.fail-bgc
[
data-v-29423b4f
]
{
color
:
#f59a23
}
.down-btn
[
data-v-29423b4f
],
.upload-btn
[
data-v-29423b4f
]
{
color
:
#3691ff
}
label
[
data-v-29423b4f
]
{
font-weight
:
400
}
.import-box
[
data-v-29423b4f
]
:before
{
content
:
"*"
;
color
:
#ff4949
;
margin-right
:
4px
;
display
:
inline-block
}
.el-icon-upload
[
data-v-090acd16
]
{
color
:
#c3c6ca
;
font-size
:
24px
;
vertical-align
:
middle
;
position
:
absolute
;
top
:
0
;
right
:
100px
;
line-height
:
36px
}
.el-date-editor.el-input
[
data-v-090acd16
]
{
width
:
100%
}
.upload-box
[
data-v-090acd16
]
{
margin-right
:
69px
}
.upload-box
input
[
data-v-090acd16
]
{
height
:
36px
;
line-height
:
36px
;
border-top-right-radius
:
0
;
border-bottom-right-radius
:
0
;
border-right
:
none
}
.upload-box
.el-input
:hover
+
.el-icon-circle-close
[
data-v-090acd16
]
{
display
:
inline-block
}
.upload-box
.el-icon-circle-close
[
data-v-090acd16
]
{
color
:
#c3c6ca
;
font-size
:
16px
;
vertical-align
:
middle
;
position
:
absolute
;
top
:
0
;
right
:
75px
;
line-height
:
36px
;
z-index
:
1
;
display
:
none
}
.upload-box
.el-icon-circle-close
[
data-v-090acd16
]
:hover
{
display
:
inline-block
}
.download-btn
[
data-v-090acd16
]
{
position
:
absolute
;
top
:
0
;
right
:
0
;
height
:
36px
;
line-height
:
36px
;
width
:
70px
;
text-align
:
center
;
padding
:
0
;
text-decoration
:
underline
}
.result-box
[
data-v-090acd16
]
{
line-height
:
30px
;
text-align
:
center
}
.result-box
.down-txt
[
data-v-090acd16
]
{
color
:
#4dc1f4
}
.result-box
.el-icon-success
[
data-v-090acd16
]
{
color
:
#03b615
;
font-size
:
33px
}
.result-box
.el-icon-warning
[
data-v-090acd16
]
{
font-size
:
33px
}
.result-box
.fail-all-bgc
[
data-v-090acd16
]
{
color
:
#d9001b
}
.result-box
.fail-bgc
[
data-v-090acd16
]
{
color
:
#f59a23
}
.down-btn
[
data-v-090acd16
],
.upload-btn
[
data-v-090acd16
]
{
color
:
#3691ff
}
label
[
data-v-090acd16
]
{
font-weight
:
400
}
.import-box
[
data-v-090acd16
]
:before
{
content
:
"*"
;
color
:
#ff4949
;
margin-right
:
4px
;
display
:
inline-block
}
#strategy-add-form
.hide-label
label
,
#strategy-add-form
.hide-label
label
:before
{
display
:
none
}
#strategy-add-form
.fl-label
label
{
float
:
left
;
margin-right
:
10px
}
\ No newline at end of file
public/zjtlj/dist/static/css/chunk-
741c615e.c88962a4
.css
→
public/zjtlj/dist/static/css/chunk-
da7260b2.6c6c9dd5
.css
View file @
c06c205e
.waves-ripple
{
position
:
absolute
;
border-radius
:
100%
;
background-color
:
rgba
(
0
,
0
,
0
,
.15
);
background-clip
:
padding-box
;
pointer-events
:
none
;
-webkit-user-select
:
none
;
-moz-user-select
:
none
;
-ms-user-select
:
none
;
user-select
:
none
;
-webkit-transform
:
scale
(
0
);
transform
:
scale
(
0
);
opacity
:
1
}
.waves-ripple.z-active
{
opacity
:
0
;
-webkit-transform
:
scale
(
2
);
transform
:
scale
(
2
);
-webkit-transition
:
opacity
1.2s
ease-out
,
-webkit-transform
.6s
ease-out
;
transition
:
opacity
1.2s
ease-out
,
-webkit-transform
.6s
ease-out
;
transition
:
opacity
1.2s
ease-out
,
transform
.6s
ease-out
;
transition
:
opacity
1.2s
ease-out
,
transform
.6s
ease-out
,
-webkit-transform
.6s
ease-out
}
.pagination-container
[
data-v-5d204799
]
{
position
:
absolute
;
bottom
:
10px
;
right
:
20px
;
left
:
20px
;
background-color
:
#fff
;
z-index
:
1
;
padding
:
10px
}
.pagination-container.hidden
[
data-v-5d204799
]
{
display
:
none
}
.dis-ib
[
data-v-75d01270
]
{
display
:
inline-block
}
.txt-rt
[
data-v-75d01270
]
{
text-align
:
right
}
.filter-container
[
data-v-75d01270
]
{
height
:
86px
}
.filter-container
.el-row
[
data-v-75d01270
]
{
height
:
36px
;
margin
:
5px
0
}
.filter-container
.title-box
[
data-v-75d01270
]
{
font-size
:
14px
;
height
:
40px
;
border-bottom
:
1px
solid
#e4e9ef
;
line-height
:
40px
;
position
:
relative
;
padding-left
:
23px
}
.filter-container
.title-box
.back-png
[
data-v-75d01270
]
{
width
:
18px
;
height
:
40px
;
position
:
absolute
;
top
:
0
;
left
:
0
;
cursor
:
pointer
}
.filter-container
.title-box
span
[
data-v-75d01270
]
:first-child
{
color
:
#222c36
;
color
:
#6d6f72
}
.filter-container
.title-box
span
[
data-v-75d01270
]
:last-child
{
color
:
#a7aab0
}
.body-container
[
data-v-75d01270
]
{
height
:
calc
(
100%
-
145px
)}
\ No newline at end of file
.waves-ripple
{
position
:
absolute
;
border-radius
:
100%
;
background-color
:
rgba
(
0
,
0
,
0
,
.15
);
background-clip
:
padding-box
;
pointer-events
:
none
;
-webkit-user-select
:
none
;
-moz-user-select
:
none
;
-ms-user-select
:
none
;
user-select
:
none
;
-webkit-transform
:
scale
(
0
);
transform
:
scale
(
0
);
opacity
:
1
}
.waves-ripple.z-active
{
opacity
:
0
;
-webkit-transform
:
scale
(
2
);
transform
:
scale
(
2
);
-webkit-transition
:
opacity
1.2s
ease-out
,
-webkit-transform
.6s
ease-out
;
transition
:
opacity
1.2s
ease-out
,
-webkit-transform
.6s
ease-out
;
transition
:
opacity
1.2s
ease-out
,
transform
.6s
ease-out
;
transition
:
opacity
1.2s
ease-out
,
transform
.6s
ease-out
,
-webkit-transform
.6s
ease-out
}
.pagination-container
[
data-v-5d204799
]
{
position
:
absolute
;
bottom
:
10px
;
right
:
20px
;
left
:
20px
;
background-color
:
#fff
;
z-index
:
1
;
padding
:
10px
}
.pagination-container.hidden
[
data-v-5d204799
]
{
display
:
none
}
.dis-ib
[
data-v-18ff08dd
]
{
display
:
inline-block
}
.txt-rt
[
data-v-18ff08dd
]
{
text-align
:
right
}
.filter-container
[
data-v-18ff08dd
]
{
height
:
86px
}
.filter-container
.el-row
[
data-v-18ff08dd
]
{
height
:
36px
;
margin
:
5px
0
}
.filter-container
.title-box
[
data-v-18ff08dd
]
{
font-size
:
14px
;
height
:
40px
;
border-bottom
:
1px
solid
#e4e9ef
;
line-height
:
40px
;
position
:
relative
;
padding-left
:
23px
}
.filter-container
.title-box
.back-png
[
data-v-18ff08dd
]
{
width
:
18px
;
height
:
40px
;
position
:
absolute
;
top
:
0
;
left
:
0
;
cursor
:
pointer
}
.filter-container
.title-box
span
[
data-v-18ff08dd
]
:first-child
{
color
:
#222c36
;
color
:
#6d6f72
}
.filter-container
.title-box
span
[
data-v-18ff08dd
]
:last-child
{
color
:
#a7aab0
}
.body-container
[
data-v-18ff08dd
]
{
height
:
calc
(
100%
-
145px
)}
\ No newline at end of file
public/zjtlj/dist/static/js/app.
4419bf8f
.js
→
public/zjtlj/dist/static/js/app.
23d8825c
.js
View file @
c06c205e
This source diff could not be displayed because it is too large. You can
view the blob
instead.
public/zjtlj/dist/static/js/chunk-5fee0ddf.8defe66b.js
deleted
100644 → 0
View file @
80c5a055
(
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
chunk-5fee0ddf
"
],{
1190
:
function
(
t
,
e
,
a
){
"
use strict
"
;
var
s
=
a
(
"
e228
"
),
l
=
a
.
n
(
s
);
l
.
a
},
2423
:
function
(
t
,
e
,
a
){
"
use strict
"
;
a
.
d
(
e
,
"
a
"
,(
function
(){
return
l
})),
a
.
d
(
e
,
"
h
"
,(
function
(){
return
i
})),
a
.
d
(
e
,
"
g
"
,(
function
(){
return
o
})),
a
.
d
(
e
,
"
f
"
,(
function
(){
return
n
})),
a
.
d
(
e
,
"
j
"
,(
function
(){
return
r
})),
a
.
d
(
e
,
"
d
"
,(
function
(){
return
c
})),
a
.
d
(
e
,
"
c
"
,(
function
(){
return
d
})),
a
.
d
(
e
,
"
k
"
,(
function
(){
return
u
})),
a
.
d
(
e
,
"
i
"
,(
function
(){
return
p
})),
a
.
d
(
e
,
"
e
"
,(
function
(){
return
m
})),
a
.
d
(
e
,
"
b
"
,(
function
(){
return
f
}));
var
s
=
a
(
"
b775
"
);
function
l
(
t
){
return
Object
(
s
[
"
a
"
])({
url
:
"
/api/strategySet
"
,
method
:
"
post
"
,
data
:
t
})}
function
i
(
t
){
return
Object
(
s
[
"
a
"
])({
url
:
"
/api/strategySet
"
,
method
:
"
get
"
,
params
:
t
})}
function
o
(
t
){
return
Object
(
s
[
"
a
"
])({
url
:
"
/api/strategy/getProjectsList
"
,
method
:
"
post
"
,
data
:
t
})}
function
n
(
t
){
return
Object
(
s
[
"
a
"
])({
url
:
"
/api/strategy/getCallNumberList
"
,
method
:
"
post
"
,
data
:
t
})}
function
r
(
t
){
return
Object
(
s
[
"
a
"
])({
url
:
"
/api/strategy/getUsersList
"
,
method
:
"
post
"
,
data
:
t
})}
function
c
(
t
){
var
e
=
"
https://test117.ciopaas.com:81/
"
;
window
.
open
(
e
+
(
"
/
"
===
e
.
slice
(
e
.
length
-
1
)?
""
:
"
/
"
)
+
"
api/strategy/downloadModel?user_sn=
"
+
t
.
user_sn
)}
function
d
(
t
){
var
e
=
"
https://test117.ciopaas.com:81/
"
;
window
.
open
(
e
+
(
"
/
"
===
e
.
slice
(
e
.
length
-
1
)?
""
:
"
/
"
)
+
"
api/strategy/downloadFailExcel?user_sn=
"
+
t
.
user_sn
+
"
&filename=
"
+
t
.
filename
)}
function
u
(
t
){
return
Object
(
s
[
"
a
"
])({
url
:
"
/api/strategy/importExcelData
"
,
method
:
"
post
"
,
data
:
t
})}
function
p
(
t
){
return
Object
(
s
[
"
a
"
])({
url
:
"
/api/strategyTask
"
,
method
:
"
get
"
,
params
:
t
})}
function
m
(
t
){
return
Object
(
s
[
"
a
"
])({
url
:
"
/api/strategyTask/
"
.
concat
(
t
.
id
),
method
:
"
PUT
"
,
data
:
t
})}
function
f
(
t
){
return
Object
(
s
[
"
a
"
])({
url
:
"
/api/strategySet/
"
+
t
.
strategy_sn
+
"
?user_sn=
"
+
t
.
user_sn
,
method
:
"
delete
"
})}},
"
41bd
"
:
function
(
t
,
e
,
a
){},
6724
:
function
(
t
,
e
,
a
){
"
use strict
"
;
a
(
"
8d41
"
);
var
s
=
"
@@wavesContext
"
;
function
l
(
t
,
e
){
function
a
(
a
){
var
s
=
Object
.
assign
({},
e
.
value
),
l
=
Object
.
assign
({
ele
:
t
,
type
:
"
hit
"
,
color
:
"
rgba(0, 0, 0, 0.15)
"
},
s
),
i
=
l
.
ele
;
if
(
i
){
i
.
style
.
position
=
"
relative
"
,
i
.
style
.
overflow
=
"
hidden
"
;
var
o
=
i
.
getBoundingClientRect
(),
n
=
i
.
querySelector
(
"
.waves-ripple
"
);
switch
(
n
?
n
.
className
=
"
waves-ripple
"
:(
n
=
document
.
createElement
(
"
span
"
),
n
.
className
=
"
waves-ripple
"
,
n
.
style
.
height
=
n
.
style
.
width
=
Math
.
max
(
o
.
width
,
o
.
height
)
+
"
px
"
,
i
.
appendChild
(
n
)),
l
.
type
){
case
"
center
"
:
n
.
style
.
top
=
o
.
height
/
2
-
n
.
offsetHeight
/
2
+
"
px
"
,
n
.
style
.
left
=
o
.
width
/
2
-
n
.
offsetWidth
/
2
+
"
px
"
;
break
;
default
:
n
.
style
.
top
=
(
a
.
pageY
-
o
.
top
-
n
.
offsetHeight
/
2
-
document
.
documentElement
.
scrollTop
||
document
.
body
.
scrollTop
)
+
"
px
"
,
n
.
style
.
left
=
(
a
.
pageX
-
o
.
left
-
n
.
offsetWidth
/
2
-
document
.
documentElement
.
scrollLeft
||
document
.
body
.
scrollLeft
)
+
"
px
"
}
return
n
.
style
.
backgroundColor
=
l
.
color
,
n
.
className
=
"
waves-ripple z-active
"
,
!
1
}}
return
t
[
s
]?
t
[
s
].
removeHandle
=
a
:
t
[
s
]
=
{
removeHandle
:
a
},
a
}
var
i
=
{
bind
:
function
(
t
,
e
){
t
.
addEventListener
(
"
click
"
,
l
(
t
,
e
),
!
1
)},
update
:
function
(
t
,
e
){
t
.
removeEventListener
(
"
click
"
,
t
[
s
].
removeHandle
,
!
1
),
t
.
addEventListener
(
"
click
"
,
l
(
t
,
e
),
!
1
)},
unbind
:
function
(
t
){
t
.
removeEventListener
(
"
click
"
,
t
[
s
].
removeHandle
,
!
1
),
t
[
s
]
=
null
,
delete
t
[
s
]}},
o
=
function
(
t
){
t
.
directive
(
"
waves
"
,
i
)};
window
.
Vue
&&
(
window
.
waves
=
i
,
Vue
.
use
(
o
)),
i
.
install
=
o
;
e
[
"
a
"
]
=
i
},
"
8ba0
"
:
function
(
t
,
e
,
a
){
"
use strict
"
;
var
s
=
a
(
"
8e05
"
),
l
=
a
.
n
(
s
);
l
.
a
},
"
8d41
"
:
function
(
t
,
e
,
a
){},
"
8e05
"
:
function
(
t
,
e
,
a
){},
9406
:
function
(
t
,
e
,
a
){
"
use strict
"
;
a
.
r
(
e
);
var
s
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"
div
"
,{
staticClass
:
"
app-container
"
},[
a
(
"
div
"
,{
staticClass
:
"
filter-container text-rt
"
},[
a
(
"
el-button
"
,{
staticStyle
:{
"
margin-left
"
:
"
10px
"
,
padding
:
"
10px
"
},
attrs
:{
icon
:
"
el-icon-circle-plus-outline
"
},
on
:{
click
:
t
.
handleCreate
}})],
1
),
t
.
_v
(
"
"
),
a
(
"
div
"
,{
staticClass
:
"
body-container
"
},[
a
(
"
el-table
"
,{
directives
:[{
name
:
"
loading
"
,
rawName
:
"
v-loading
"
,
value
:
t
.
listLoading
,
expression
:
"
listLoading
"
}],
key
:
t
.
tableKey
,
ref
:
"
singleTable
"
,
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
data
:
t
.
list
,
border
:
""
,
fit
:
""
,
"
highlight-current-row
"
:
""
}},[
a
(
"
el-table-column
"
,{
attrs
:{
label
:
"
策略名称
"
,
align
:
"
center
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
default
"
,
fn
:
function
(
e
){
var
s
=
e
.
row
;
return
[
a
(
"
span
"
,[
t
.
_v
(
t
.
_s
(
s
.
strategy_name
))])]}}])}),
t
.
_v
(
"
"
),
a
(
"
el-table-column
"
,{
attrs
:{
label
:
"
话术流程
"
,
align
:
"
center
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
default
"
,
fn
:
function
(
e
){
var
s
=
e
.
row
;
return
[
a
(
"
span
"
,[
t
.
_v
(
t
.
_s
(
s
.
project_name
))])]}}])}),
t
.
_v
(
"
"
),
a
(
"
el-table-column
"
,{
attrs
:{
label
:
"
导入数据量
"
,
align
:
"
center
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
default
"
,
fn
:
function
(
e
){
var
s
=
e
.
row
;
return
[
a
(
"
span
"
,[
t
.
_v
(
t
.
_s
(
s
.
total
))])]}}])}),
t
.
_v
(
"
"
),
a
(
"
el-table-column
"
,{
attrs
:{
label
:
"
外呼日期
"
,
align
:
"
center
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
default
"
,
fn
:
function
(
e
){
var
s
=
e
.
row
;
return
[
a
(
"
span
"
,[
t
.
_v
(
t
.
_s
(
s
.
day_type_name
))])]}}])}),
t
.
_v
(
"
"
),
a
(
"
el-table-column
"
,{
attrs
:{
label
:
"
外呼频率
"
,
align
:
"
center
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
default
"
,
fn
:
function
(
e
){
var
s
=
e
.
row
;
return
[
a
(
"
span
"
,[
t
.
_v
(
t
.
_s
(
s
.
frequency_type_name
))])]}}])}),
t
.
_v
(
"
"
),
a
(
"
el-table-column
"
,{
attrs
:{
label
:
"
状态
"
,
align
:
"
center
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
default
"
,
fn
:
function
(
e
){
var
s
=
e
.
row
;
return
[
a
(
"
span
"
,[
t
.
_v
(
t
.
_s
(
s
.
disabled_name
))])]}}])}),
t
.
_v
(
"
"
),
a
(
"
el-table-column
"
,{
attrs
:{
label
:
"
创建时间
"
,
align
:
"
center
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
default
"
,
fn
:
function
(
e
){
var
s
=
e
.
row
;
return
[
a
(
"
span
"
,[
t
.
_v
(
t
.
_s
(
s
.
created_at
))])]}}])}),
t
.
_v
(
"
"
),
a
(
"
el-table-column
"
,{
attrs
:{
fixed
:
"
right
"
,
label
:
"
操作
"
,
align
:
"
center
"
,
width
:
"
180
"
,
"
class-name
"
:
"
small-padding fixed-width
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
default
"
,
fn
:
function
(
e
){
var
s
=
e
.
row
;
return
[
a
(
"
el-tooltip
"
,{
attrs
:{
content
:
"
导入数据
"
}},[
a
(
"
el-button
"
,{
attrs
:{
size
:
"
small
"
,
plain
:
""
,
icon
:
"
el-icon-edit-outline
"
},
on
:{
click
:
function
(
e
){
return
t
.
importData
(
s
)}}})],
1
),
t
.
_v
(
"
"
),
a
(
"
el-tooltip
"
,{
attrs
:{
content
:
"
任务数据
"
}},[
a
(
"
el-button
"
,{
attrs
:{
size
:
"
small
"
,
plain
:
""
,
icon
:
"
el-icon-document
"
},
on
:{
click
:
function
(
e
){
return
t
.
goTaskData
(
s
)}}})],
1
),
t
.
_v
(
"
"
),
a
(
"
el-tooltip
"
,{
attrs
:{
content
:
"
删除
"
}},[
a
(
"
el-button
"
,{
attrs
:{
size
:
"
small
"
,
plain
:
""
,
icon
:
"
el-icon-delete
"
},
on
:{
click
:
function
(
e
){
return
t
.
handleDelete
(
s
)}}})],
1
)]}}])})],
1
)],
1
),
t
.
_v
(
"
"
),
a
(
"
el-dialog
"
,{
attrs
:{
title
:
t
.
textMap
[
t
.
dialogStatus
]
+
"
外呼策略
"
,
visible
:
t
.
dialogFormVisible
,
"
append-to-body
"
:
!
0
,
width
:
"
720px
"
,
"
destroy-on-close
"
:
!
0
,
"
close-on-click-modal
"
:
!
1
},
on
:{
"
update:visible
"
:
function
(
e
){
t
.
dialogFormVisible
=
e
}}},[
t
.
dialogFormVisible
?
a
(
"
AddOrEdit
"
,{
attrs
:{
temp
:
t
.
temp
,
dialogStatus
:
t
.
dialogStatus
},
on
:{
save
:
t
.
addCallback
}}):
t
.
_e
()],
1
),
t
.
_v
(
"
"
),
a
(
"
el-dialog
"
,{
attrs
:{
title
:
"
导入数据
"
,
width
:
"
400px
"
,
visible
:
t
.
importVisible
,
"
append-to-body
"
:
!
0
,
"
destroy-on-close
"
:
!
0
,
"
close-on-click-modal
"
:
!
1
},
on
:{
"
update:visible
"
:
function
(
e
){
t
.
importVisible
=
e
}}},[
t
.
importVisible
?
a
(
"
ImprtData
"
,{
attrs
:{
temp
:
t
.
temp
,
dialogStatus
:
t
.
dialogStatus
},
on
:{
indexSave
:
t
.
importCallbackIndex
}}):
t
.
_e
()],
1
)],
1
)},
l
=
[],
i
=
(
a
(
"
6b54
"
),
a
(
"
5df3
"
),
a
(
"
1c4c
"
),
a
(
"
2423
"
)),
o
=
a
(
"
6724
"
),
n
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"
div
"
,[
a
(
"
div
"
,[
a
(
"
el-form
"
,{
ref
:
"
dataForm
"
,
attrs
:{
rules
:
t
.
rules
,
model
:
t
.
temp
,
"
label-position
"
:
"
top
"
,
"
label-width
"
:
"
90px
"
,
id
:
"
strategy-add-form
"
}},[
a
(
"
el-form-item
"
,{
attrs
:{
label
:
"
策略名称
"
,
prop
:
"
strategy_name
"
}},[
a
(
"
el-input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入策略名称
"
},
model
:{
value
:
t
.
temp
.
strategy_name
,
callback
:
function
(
e
){
t
.
$set
(
t
.
temp
,
"
strategy_name
"
,
e
)},
expression
:
"
temp.strategy_name
"
}})],
1
),
t
.
_v
(
"
"
),
a
(
"
el-form-item
"
,{
attrs
:{
label
:
"
客户数据
"
,
prop
:
"
upload
"
}},[
a
(
"
div
"
,{
staticClass
:
"
upload-box
"
},[
a
(
"
el-input
"
,{
attrs
:{
placeholder
:
"
请按照模板格式填写数据(文件大小不可超过8MB)
"
,
readonly
:
""
},
model
:{
value
:
t
.
temp
.
uploadname
,
callback
:
function
(
e
){
t
.
$set
(
t
.
temp
,
"
uploadname
"
,
e
)},
expression
:
"
temp.uploadname
"
}}),
t
.
_v
(
"
"
),
a
(
"
i
"
,{
staticClass
:
"
el-icon-circle-close
"
,
on
:{
click
:
t
.
delFile
}}),
t
.
_v
(
"
"
),
a
(
"
i
"
,{
staticClass
:
"
el-icon-upload
"
,
on
:{
click
:
t
.
importData
}})],
1
),
t
.
_v
(
"
"
),
a
(
"
el-button
"
,{
staticClass
:
"
download-btn
"
,
attrs
:{
size
:
"
small
"
},
on
:{
click
:
t
.
downloadTemplate
}},[
t
.
_v
(
"
下载模板
"
)])],
1
),
t
.
_v
(
"
"
),
a
(
"
el-form-item
"
,{
attrs
:{
label
:
"
子账号
"
,
prop
:
"
user_sn
"
}},[
a
(
"
el-select
"
,{
staticClass
:
"
filter-item
"
,
attrs
:{
clearable
:
""
,
disabled
:
""
,
placeholder
:
"
请选择子账号
"
},
model
:{
value
:
t
.
temp
.
user_sn
,
callback
:
function
(
e
){
t
.
$set
(
t
.
temp
,
"
user_sn
"
,
e
)},
expression
:
"
temp.user_sn
"
}},
t
.
_l
(
t
.
typeOptions
,(
function
(
t
){
return
a
(
"
el-option
"
,{
key
:
t
.
user_sn
,
attrs
:{
label
:
t
.
user_name
,
value
:
t
.
user_sn
}})})),
1
)],
1
),
t
.
_v
(
"
"
),
a
(
"
el-form-item
"
,{
attrs
:{
label
:
"
主叫号码
"
,
prop
:
"
call_number
"
}},[
a
(
"
el-select
"
,{
staticClass
:
"
filter-item
"
,
attrs
:{
clearable
:
""
,
placeholder
:
"
请选择主叫号码
"
},
model
:{
value
:
t
.
temp
.
call_number
,
callback
:
function
(
e
){
t
.
$set
(
t
.
temp
,
"
call_number
"
,
e
)},
expression
:
"
temp.call_number
"
}},
t
.
_l
(
t
.
CallNumberList
,(
function
(
t
,
e
){
return
a
(
"
el-option
"
,{
key
:
e
,
attrs
:{
label
:
t
,
value
:
t
}})})),
1
)],
1
),
t
.
_v
(
"
"
),
a
(
"
el-form-item
"
,{
attrs
:{
label
:
"
外呼日期
"
,
prop
:
"
day_type
"
}},[
a
(
"
el-radio-group
"
,{
attrs
:{
size
:
"
medium
"
},
model
:{
value
:
t
.
temp
.
day_type
,
callback
:
function
(
e
){
t
.
$set
(
t
.
temp
,
"
day_type
"
,
e
)},
expression
:
"
temp.day_type
"
}},[
a
(
"
el-radio-button
"
,{
attrs
:{
label
:
"
0
"
}},[
t
.
_v
(
"
每天
"
)]),
t
.
_v
(
"
"
),
a
(
"
el-radio-button
"
,{
attrs
:{
label
:
"
1
"
}},[
t
.
_v
(
"
日期前一天和当天
"
)])],
1
)],
1
),
t
.
_v
(
"
"
),
a
(
"
el-form-item
"
,{
attrs
:{
label
:
"
外呼频率
"
,
prop
:
"
frequency_type
"
}},[
a
(
"
el-radio-group
"
,{
attrs
:{
size
:
"
medium
"
,
disabled
:
""
},
model
:{
value
:
t
.
temp
.
frequency_type
,
callback
:
function
(
e
){
t
.
$set
(
t
.
temp
,
"
frequency_type
"
,
e
)},
expression
:
"
temp.frequency_type
"
}},[
a
(
"
el-radio-button
"
,{
attrs
:{
label
:
"
2
"
}},[
t
.
_v
(
"
一天两次
"
)]),
t
.
_v
(
"
"
),
a
(
"
el-radio-button
"
,{
attrs
:{
label
:
"
1
"
}},[
t
.
_v
(
"
一天一次
"
)])],
1
)],
1
),
t
.
_v
(
"
"
),
a
(
"
el-form-item
"
,{
attrs
:{
label
:
"
呼叫设置
"
,
prop
:
"
setdate1
"
}},[
a
(
"
el-time-picker
"
,{
attrs
:{
"
picker-options
"
:{
selectableRange
:
"
00:00:00 - 23:59:59
"
},
placeholder
:
"
请选择呼叫时间点1
"
},
model
:{
value
:
t
.
temp
.
setdate1
,
callback
:
function
(
e
){
t
.
$set
(
t
.
temp
,
"
setdate1
"
,
e
)},
expression
:
"
temp.setdate1
"
}})],
1
),
t
.
_v
(
"
"
),
t
.
showDate
?
a
(
"
el-form-item
"
,{
staticClass
:
"
hide-label
"
,
attrs
:{
label
:
"
请选择呼叫时间点2
"
,
prop
:
"
setdate2
"
}},[
a
(
"
el-time-picker
"
,{
attrs
:{
"
picker-options
"
:{
selectableRange
:
"
00:00:00 - 23:59:59
"
},
placeholder
:
"
请选择呼叫时间点2
"
},
model
:{
value
:
t
.
temp
.
setdate2
,
callback
:
function
(
e
){
t
.
$set
(
t
.
temp
,
"
setdate2
"
,
e
)},
expression
:
"
temp.setdate2
"
}})],
1
):
t
.
_e
(),
t
.
_v
(
"
"
),
a
(
"
el-form-item
"
,{
staticClass
:
"
hide-label
"
,
attrs
:{
label
:
"
话术流程
"
,
prop
:
"
project_sn
"
}},[
a
(
"
el-select
"
,{
attrs
:{
multiple
:
""
,
"
multiple-limit
"
:
2
,
placeholder
:
"
请选择话术流程
"
},
model
:{
value
:
t
.
temp
.
project_sn
,
callback
:
function
(
e
){
t
.
$set
(
t
.
temp
,
"
project_sn
"
,
e
)},
expression
:
"
temp.project_sn
"
}},
t
.
_l
(
t
.
processOpts
,(
function
(
t
){
return
a
(
"
el-option
"
,{
key
:
t
.
sn
,
attrs
:{
label
:
t
.
name
,
value
:
t
.
sn
}})})),
1
)],
1
),
t
.
_v
(
"
"
),
a
(
"
el-form-item
"
,{
staticClass
:
"
fl-label
"
,
attrs
:{
label
:
"
状态
"
,
prop
:
"
disabled
"
}},[
a
(
"
el-switch
"
,{
model
:{
value
:
t
.
temp
.
disabled
,
callback
:
function
(
e
){
t
.
$set
(
t
.
temp
,
"
disabled
"
,
e
)},
expression
:
"
temp.disabled
"
}})],
1
)],
1
)],
1
),
t
.
_v
(
"
"
),
a
(
"
div
"
,{
staticClass
:
"
dialog-footer text-rt
"
,
attrs
:{
slot
:
"
footer
"
},
slot
:
"
footer
"
},[
a
(
"
el-button
"
,{
on
:{
click
:
function
(
e
){
return
t
.
saveData
(
0
)}}},[
t
.
_v
(
"
取消
"
)]),
t
.
_v
(
"
"
),
a
(
"
el-button
"
,{
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(
e
){
return
t
.
saveData
(
1
)}}},[
t
.
_v
(
"
确定
"
)])],
1
),
t
.
_v
(
"
"
),
a
(
"
el-dialog
"
,{
attrs
:{
title
:
"
导入数据
"
,
visible
:
t
.
importVisible
,
"
append-to-body
"
:
!
0
,
width
:
"
30%
"
,
"
destroy-on-close
"
:
!
0
,
"
close-on-click-modal
"
:
!
1
},
on
:{
"
update:visible
"
:
function
(
e
){
t
.
importVisible
=
e
}}},[
t
.
importVisible
?
a
(
"
ImprtData
"
,{
attrs
:{
temp
:
t
.
temp
,
dialogStatus
:
t
.
dialogStatus
},
on
:{
addSave
:
t
.
importCallback
}}):
t
.
_e
()],
1
),
t
.
_v
(
"
"
),
a
(
"
el-dialog
"
,{
attrs
:{
title
:
"
导入数据结果
"
,
visible
:
t
.
dialogResultVisible
,
"
append-to-body
"
:
!
0
,
"
destroy-on-close
"
:
!
0
,
"
close-on-click-modal
"
:
!
1
,
width
:
"
400px
"
},
on
:{
"
update:visible
"
:
function
(
e
){
t
.
dialogResultVisible
=
e
}}},[
a
(
"
div
"
,{
staticClass
:
"
result-box
"
},[
a
(
"
div
"
,[
t
.
failTotal
>
0
?
a
(
"
i
"
,{
staticClass
:
"
el-icon-warning
"
,
class
:[
0
===
t
.
successTotal
&&
t
.
failTotal
>
0
?
"
fail-all-bgc
"
:
"
fail-bgc
"
]}):
a
(
"
i
"
,{
staticClass
:
"
el-icon-success
"
})]),
t
.
_v
(
"
"
),
a
(
"
div
"
,[
t
.
_v
(
"
成功导入
"
+
t
.
_s
(
t
.
successTotal
)
+
"
个号码,
"
+
t
.
_s
(
t
.
failTotal
)
+
"
个号码导入失败
"
)]),
t
.
_v
(
"
"
),
t
.
failTotal
>
0
?
a
(
"
div
"
,[
a
(
"
a
"
,{
staticClass
:
"
down-txt
"
,
on
:{
click
:
t
.
downloadFail
}},[
t
.
_v
(
"
点击下载失败数据文件
"
)])]):
t
.
_e
()]),
t
.
_v
(
"
"
),
a
(
"
div
"
,{
staticClass
:
"
dialog-footer text-center
"
,
attrs
:{
slot
:
"
footer
"
},
slot
:
"
footer
"
},[
a
(
"
el-button
"
,{
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
t
.
handleResultClose
}},[
t
.
_v
(
"
确定
"
)])],
1
)])],
1
)},
r
=
[],
c
=
(
a
(
"
7f7f
"
),
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"
div
"
,[
a
(
"
div
"
,[
a
(
"
el-form
"
,{
ref
:
"
importForm
"
,
attrs
:{
model
:
t
.
temp
,
"
label-position
"
:
"
top
"
,
"
label-width
"
:
"
90px
"
}},[
a
(
"
el-form-item
"
,{
attrs
:{
label
:
"
文件模板(请按照模板格式填写数据)
"
}},[
a
(
"
el-button
"
,{
staticClass
:
"
down-btn
"
,
attrs
:{
size
:
"
small
"
,
icon
:
"
el-icon-download
"
},
on
:{
click
:
t
.
downloadTemplate
}},[
t
.
_v
(
"
点击下载模板
"
)])],
1
),
t
.
_v
(
"
"
),
a
(
"
el-form-item
"
,{
staticClass
:
"
import-box
"
,
attrs
:{
label
:
"
导入文件(文件大小不可超过8MB)
"
}},[
a
(
"
el-upload
"
,{
ref
:
"
upload
"
,
staticClass
:
"
upload-demo
"
,
attrs
:{
action
:
"
#
"
,
"
on-change
"
:
t
.
handleChange
,
"
on-remove
"
:
t
.
handleRemove
,
"
file-list
"
:
t
.
fileList
,
"
auto-upload
"
:
!
1
,
accept
:
"
.xls, .xlsx
"
}},[
a
(
"
el-button
"
,{
staticClass
:
"
upload-btn
"
,
attrs
:{
slot
:
"
trigger
"
,
icon
:
"
el-icon-upload
"
,
size
:
"
small
"
},
slot
:
"
trigger
"
},[
t
.
_v
(
"
点击导入文件
"
)]),
t
.
_v
(
"
"
),
a
(
"
el-button
"
,{
directives
:[{
name
:
"
show
"
,
rawName
:
"
v-show
"
,
value
:
0
,
expression
:
"
0
"
}],
attrs
:{
size
:
"
small
"
,
type
:
"
success
"
},
on
:{
click
:
t
.
submitUpload
}},[
t
.
_v
(
"
上传到服务器
"
)])],
1
)],
1
)],
1
)],
1
),
t
.
_v
(
"
"
),
a
(
"
div
"
,{
staticClass
:
"
dialog-footer text-center
"
,
attrs
:{
slot
:
"
footer
"
},
slot
:
"
footer
"
},[
a
(
"
el-button
"
,{
on
:{
click
:
function
(
e
){
return
t
.
saveData
(
0
)}}},[
t
.
_v
(
"
取消
"
)]),
t
.
_v
(
"
"
),
a
(
"
el-button
"
,{
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(
e
){
return
t
.
saveData
(
1
)}}},[
t
.
_v
(
"
确定
"
)])],
1
),
t
.
_v
(
"
"
),
a
(
"
el-dialog
"
,{
attrs
:{
title
:
"
导入数据结果
"
,
visible
:
t
.
dialogResultVisible
,
"
append-to-body
"
:
!
0
,
"
destroy-on-close
"
:
!
0
,
"
close-on-click-modal
"
:
!
1
,
width
:
"
400px
"
},
on
:{
"
update:visible
"
:
function
(
e
){
t
.
dialogResultVisible
=
e
}}},[
a
(
"
div
"
,{
staticClass
:
"
result-box
"
},[
a
(
"
div
"
,[
t
.
failTotal
>
0
?
a
(
"
i
"
,{
staticClass
:
"
el-icon-warning
"
,
class
:[
0
===
t
.
successTotal
&&
t
.
failTotal
>
0
?
"
fail-all-bgc
"
:
"
fail-bgc
"
]}):
a
(
"
i
"
,{
staticClass
:
"
el-icon-success
"
})]),
t
.
_v
(
"
"
),
a
(
"
div
"
,[
t
.
_v
(
"
成功导入
"
+
t
.
_s
(
t
.
successTotal
)
+
"
个号码,
"
+
t
.
_s
(
t
.
failTotal
)
+
"
个号码导入失败
"
)]),
t
.
_v
(
"
"
),
t
.
failTotal
>
0
?
a
(
"
div
"
,[
a
(
"
a
"
,{
staticClass
:
"
down-txt
"
,
on
:{
click
:
t
.
downloadFail
}},[
t
.
_v
(
"
点击下载失败数据文件
"
)])]):
t
.
_e
()]),
t
.
_v
(
"
"
),
a
(
"
div
"
,{
staticClass
:
"
dialog-footer text-center
"
,
attrs
:{
slot
:
"
footer
"
},
slot
:
"
footer
"
},[
a
(
"
el-button
"
,{
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
t
.
handleResultClose
}},[
t
.
_v
(
"
确定
"
)])],
1
)])],
1
)}),
d
=
[],
u
=
(
a
(
"
c5f6
"
),{
name
:
"
ImprtData
"
,
props
:[
"
temp
"
],
data
:
function
(){
return
{
failDataFile
:
""
,
successTotal
:
0
,
failTotal
:
0
,
dialogResultVisible
:
!
1
,
fileList
:[],
dialogFormVisible
:
!
1
}},
created
:
function
(){
this
.
temp
.
upload
&&
this
.
temp
.
uploadname
&&
(
this
.
fileList
=
[
this
.
temp
.
upload
])},
methods
:{
validateFiles
:
function
(){
var
t
=
this
.
fileList
.
length
&&
"
[object Object]
"
===
Object
.
prototype
.
toString
.
call
(
this
.
fileList
[
0
])?
this
.
fileList
[
0
].
raw
:{
size
:
0
};
return
!
(
Number
(
t
.
size
/
1024
/
1024
)
>
8
)
||
(
this
.
$message
.
warning
(
"
文件大小不可超过8MB
"
),
!
1
)},
downloadFail
:
function
(){
Object
(
i
[
"
c
"
])({
user_sn
:
this
.
$publicTools
.
decrypt
(
localStorage
.
getItem
(
"
user_sn
"
)),
filename
:
this
.
failDataFile
})},
handleResultClose
:
function
(){
this
.
dialogResultVisible
=!
1
,
this
.
temp
.
isAddGo
?
this
.
$emit
(
"
addSave
"
,
this
.
fileList
[
0
].
raw
):
this
.
$emit
(
"
indexSave
"
,
1
)},
downloadTemplate
:
function
(){
Object
(
i
[
"
d
"
])({
user_sn
:
this
.
$publicTools
.
decrypt
(
localStorage
.
getItem
(
"
user_sn
"
))})},
handleRemove
:
function
(
t
,
e
){
this
.
fileList
=
[]},
handleChange
:
function
(
t
,
e
){
this
.
fileList
=
[
t
],
this
.
validateFiles
()},
submitUpload
:
function
(){
var
t
=
this
;
if
(
this
.
temp
.
isAddGo
)
this
.
$emit
(
"
addSave
"
,
this
.
fileList
[
0
].
raw
);
else
{
var
e
=
new
FormData
;
e
.
append
(
"
user_sn
"
,
this
.
$publicTools
.
decrypt
(
localStorage
.
getItem
(
"
user_sn
"
))),
e
.
append
(
"
strategy_sn
"
,
this
.
temp
.
isAddGo
?
""
:
this
.
temp
.
strategy_sn
),
e
.
append
(
"
upload
"
,
this
.
fileList
[
0
].
raw
);
var
a
=
this
.
$loading
({
lock
:
!
0
,
text
:
"
Loading
"
,
spinner
:
"
el-icon-loading
"
,
background
:
"
rgba(0, 0, 0, 0.9)
"
});
Object
(
i
[
"
k
"
])(
e
).
then
((
function
(
e
){
a
.
close
(),
t
.
dialogResultVisible
=!
0
,
t
.
failDataFile
=
e
.
info
.
failDataFile
||
""
,
t
.
failTotal
=
e
.
info
.
failTotal
||
0
,
t
.
successTotal
=
e
.
info
.
successTotal
||
0
})).
catch
((
function
(
e
){
a
.
close
(),
t
.
$message
.
warning
(
e
)}))}},
saveData
:
function
(
t
){
var
e
=
this
;
t
?
this
.
$refs
[
"
importForm
"
].
validate
((
function
(
t
){
e
.
fileList
.
length
?
t
&&
e
.
validateFiles
()
&&
e
.
submitUpload
():
e
.
$message
.
warning
(
"
请先导入文件
"
)})):(
this
.
$emit
(
"
addSave
"
,
0
),
this
.
$emit
(
"
indexSave
"
,
0
))}}}),
p
=
u
,
m
=
(
a
(
"
1190
"
),
a
(
"
2877
"
)),
f
=
Object
(
m
[
"
a
"
])(
p
,
c
,
d
,
!
1
,
null
,
"
29423b4f
"
,
null
),
b
=
f
.
exports
,
g
=
{
name
:
"
AddOrEdit
"
,
components
:{
ImprtData
:
b
},
props
:[
"
dialogStatus
"
,
"
temp
"
],
data
:
function
(){
return
{
failDataFile
:
""
,
successTotal
:
0
,
failTotal
:
0
,
dialogResultVisible
:
!
1
,
showDate
:
!
1
,
importVisible
:
!
1
,
onlyOneProcess
:
!
1
,
processOpts
:[],
CallNumberList
:[],
typeOptions
:[],
rules
:{
strategy_name
:[{
required
:
!
0
,
message
:
"
策略名称必填且不能超过30个字符
"
,
trigger
:
"
blur
"
,
max
:
30
}],
files
:[{
required
:
!
0
,
message
:
"
源码类型必填
"
,
trigger
:
"
blur
"
}],
user_sn
:[{
required
:
!
0
,
message
:
"
子账号必选
"
,
trigger
:
"
blur
"
}],
call_number
:[{
required
:
!
0
,
message
:
"
主叫号码必选
"
,
trigger
:
"
blur
"
}],
day_type
:[{
required
:
!
0
,
message
:
"
外呼日期必选
"
,
trigger
:
"
blur
"
}],
frequency_type
:[{
required
:
!
0
,
message
:
"
外呼频率必选
"
,
trigger
:
"
blur
"
}],
setdate1
:[{
required
:
!
0
,
message
:
"
呼叫设置-外呼时间点1必选
"
,
trigger
:
"
blur
"
}],
setdate2
:[{
required
:
!
0
,
message
:
"
呼叫设置-外呼时间点2必选
"
,
trigger
:
"
blur
"
}],
project_sn
:[{
required
:
!
0
,
message
:
"
呼叫设置-话术流程必选
"
,
trigger
:
"
blur
"
}],
disabled
:[{
required
:
!
0
,
message
:
"
状态必选
"
,
trigger
:
"
blur
"
}]}}},
watch
:{
"
temp.day_type
"
:
function
(
t
){
this
.
change_day_type
(
t
)}},
created
:
function
(){
var
t
=
this
;
this
.
change_day_type
(
this
.
temp
.
day_type
),
Object
(
i
[
"
g
"
])({
user_sn
:
this
.
$publicTools
.
decrypt
(
localStorage
.
getItem
(
"
user_sn
"
))}).
then
((
function
(
e
){
t
.
processOpts
=
Array
.
isArray
(
e
.
info
)?
e
.
info
:[]})).
catch
((
function
(){
t
.
processOpts
=
[]})),
Object
(
i
[
"
f
"
])({
user_sn
:
this
.
$publicTools
.
decrypt
(
localStorage
.
getItem
(
"
user_sn
"
))}).
then
((
function
(
e
){
t
.
CallNumberList
=
Array
.
isArray
(
e
.
info
)?
e
.
info
:[]})).
catch
((
function
(){
t
.
CallNumberList
=
[]})),
Object
(
i
[
"
j
"
])({
user_sn
:
this
.
$publicTools
.
decrypt
(
localStorage
.
getItem
(
"
user_sn
"
))}).
then
((
function
(
e
){
t
.
typeOptions
=
"
[object Object]
"
===
Object
.
prototype
.
toString
.
call
(
e
.
info
)?[
e
.
info
]:[],
t
.
typeOptions
.
length
&&
(
t
.
temp
.
user_sn
=
"
[object Object]
"
===
Object
.
prototype
.
toString
.
call
(
t
.
typeOptions
[
0
])?
t
.
typeOptions
[
0
].
user_sn
:
""
)})).
catch
((
function
(){
t
.
typeOptions
=
[]}))},
methods
:{
downloadFail
:
function
(){
Object
(
i
[
"
c
"
])({
user_sn
:
this
.
$publicTools
.
decrypt
(
localStorage
.
getItem
(
"
user_sn
"
)),
filename
:
this
.
failDataFile
})},
handleResultClose
:
function
(){
this
.
dialogResultVisible
=!
1
,
this
.
$emit
(
"
save
"
)},
change_day_type
:
function
(
t
){
this
.
temp
.
project_sn
=
null
,
"
0
"
===
t
?(
this
.
temp
.
frequency_type
=
"
2
"
,
this
.
showDate
=!
0
,
this
.
onlyOneProcess
=!
0
):
"
1
"
===
t
&&
(
this
.
temp
.
frequency_type
=
"
1
"
,
this
.
showDate
=!
1
,
this
.
onlyOneProcess
=!
1
)},
delFile
:
function
(){
this
.
temp
.
upload
=
{},
this
.
temp
.
uploadname
=
""
},
importData
:
function
(
t
){
this
.
temp
.
isAddGo
=!
0
,
this
.
importVisible
=!
0
},
importCallback
:
function
(
t
){
this
.
importVisible
=!
1
,
t
&&
t
.
name
&&
(
this
.
temp
.
upload
=
t
||
{},
this
.
temp
.
uploadname
=
this
.
temp
.
upload
.
name
)},
downloadTemplate
:
function
(){
Object
(
i
[
"
d
"
])({
user_sn
:
this
.
$publicTools
.
decrypt
(
localStorage
.
getItem
(
"
user_sn
"
))})},
saveData
:
function
(
t
){
var
e
=
this
;
this
.
temp
.
disabled
=!
0
!==
this
.
temp
.
disabled
&&!
1
!==
this
.
temp
.
disabled
||
this
.
temp
.
disabled
;
var
a
=
this
.
temp
.
disabled
?
0
:
1
;
this
.
temp
.
strategy_name
=
this
.
temp
.
strategy_name
?
this
.
temp
.
strategy_name
.
trim
():
""
,
t
?
this
.
$refs
[
"
dataForm
"
].
validate
((
function
(
t
){
if
(
t
){
if
(
"
1
"
===
e
.
temp
.
day_type
&&
Array
.
isArray
(
e
.
temp
.
project_sn
)
&&
2
!==
e
.
temp
.
project_sn
.
length
)
return
e
.
$message
({
message
:
"
话术流程必选2个
"
,
type
:
"
warning
"
}),
!
1
;
var
s
=
e
.
temp
,
l
=
s
.
strategy_name
,
o
=
s
.
call_number
,
n
=
s
.
day_type
,
r
=
s
.
frequency_type
,
c
=
new
FormData
;
c
.
append
(
"
user_sn
"
,
e
.
$publicTools
.
decrypt
(
localStorage
.
getItem
(
"
user_sn
"
))),
c
.
append
(
"
strategy_name
"
,
l
),
c
.
append
(
"
call_number
"
,
o
),
c
.
append
(
"
day_type
"
,
n
),
c
.
append
(
"
frequency_type
"
,
r
),
c
.
append
(
"
call_time_set
"
,
e
.
$moment
(
e
.
temp
.
setdate1
).
format
(
"
HH:mm:ss
"
)
+
(
e
.
temp
.
setdate2
?
"
#
"
+
e
.
$moment
(
e
.
temp
.
setdate2
).
format
(
"
HH:mm:ss
"
):
""
)),
c
.
append
(
"
project_sn
"
,
e
.
temp
.
project_sn
.
join
(
"
#
"
)),
c
.
append
(
"
disabled
"
,
a
),
c
.
append
(
"
upload
"
,
e
.
temp
.
upload
);
var
d
=
e
.
$loading
({
lock
:
!
0
,
text
:
"
Loading
"
,
spinner
:
"
el-icon-loading
"
,
background
:
"
rgba(0, 0, 0, 0.7)
"
});
"
create
"
===
e
.
dialogStatus
&&
Object
(
i
[
"
a
"
])(
c
).
then
((
function
(
t
){
d
.
close
(),
e
.
$message
({
message
:
"
创建成功
"
,
type
:
"
success
"
}),
"
[object Object]
"
===
Object
.
prototype
.
toString
.
call
(
t
.
info
)?(
e
.
failDataFile
=
t
.
info
.
failDataFile
||
""
,
e
.
failTotal
=
t
.
info
.
failTotal
||
0
,
e
.
successTotal
=
t
.
info
.
successTotal
||
0
,
e
.
successTotal
||
e
.
failTotal
?
e
.
dialogResultVisible
=!
0
:
e
.
$emit
(
"
save
"
)):
e
.
$emit
(
"
save
"
)})).
catch
((
function
(){
d
.
close
()}))}})):
this
.
$emit
(
"
save
"
)}}},
_
=
g
,
h
=
(
a
(
"
8ba0
"
),
a
(
"
d176
"
),
Object
(
m
[
"
a
"
])(
_
,
n
,
r
,
!
1
,
null
,
"
bfd5b9e0
"
,
null
)),
v
=
h
.
exports
,
y
=
{
name
:
"
Dashboard
"
,
components
:{
AddOrEdit
:
v
,
ImprtData
:
b
},
directives
:{
waves
:
o
[
"
a
"
]},
filters
:{},
data
:
function
(){
return
{
textMap
:{
update
:
"
编辑
"
,
create
:
"
新建
"
},
fileList
:[],
multipleSelection
:[],
tableKey
:
0
,
list
:[],
listLoading
:
!
0
,
temp
:{
user_sn
:
""
,
strategy_name
:
""
,
call_number
:
""
,
day_type
:
"
0
"
,
frequency_type
:
"
2
"
,
call_time_set
:
""
,
setdate1
:
""
,
setdate2
:
""
,
project_sn
:
""
,
disabled
:
""
,
upload
:
""
,
uploadname
:
""
},
dialogFormVisible
:
!
1
,
importVisible
:
!
1
,
dialogStatus
:
""
}},
created
:
function
(){
this
.
getList
()},
methods
:{
addCallback
:
function
(){
this
.
dialogFormVisible
=!
1
,
this
.
getList
()},
importCallbackIndex
:
function
(
t
){
this
.
importVisible
=!
1
,
1
===
t
&&
this
.
getList
()},
getList
:
function
(){
var
t
=
this
;
this
.
listLoading
=!
0
,
Object
(
i
[
"
h
"
])({
user_sn
:
this
.
$publicTools
.
decrypt
(
localStorage
.
getItem
(
"
user_sn
"
))}).
then
((
function
(
e
){
t
.
listLoading
=!
1
,
t
.
list
=
Array
.
from
(
e
.
info
)})).
catch
((
function
(){
t
.
listLoading
=!
1
}))},
handleFilter
:
function
(){
this
.
getList
()},
resetTemp
:
function
(){
this
.
temp
=
{
user_sn
:
""
,
strategy_name
:
""
,
call_number
:
""
,
day_type
:
"
0
"
,
frequency_type
:
"
2
"
,
call_time_set
:
""
,
setdate1
:
""
,
setdate2
:
""
,
project_sn
:
""
,
disabled
:
""
,
upload
:
""
,
uploadname
:
""
}},
handleCreate
:
function
(){
this
.
list
.
length
>=
2
?
this
.
$message
({
message
:
"
最多2个外呼策略
"
,
type
:
"
warning
"
}):(
this
.
resetTemp
(),
this
.
dialogStatus
=
"
create
"
,
this
.
dialogFormVisible
=!
0
)},
goTaskData
:
function
(
t
){
this
.
$router
.
push
({
name
:
"
TaskData
"
,
query
:{
strategy_sn
:
t
.
strategy_sn
,
strategy_name
:
t
.
strategy_name
}})},
importData
:
function
(
t
){
this
.
temp
=
this
.
$publicTools
.
deepClone
(
t
),
this
.
importVisible
=!
0
},
handleDelete
:
function
(
t
){
var
e
=
this
;
this
.
$confirm
(
"
确定要删除此条数据吗?
"
,
"
删除提示
"
,{
confirmButtonText
:
"
确定
"
,
cancelButtonText
:
"
取消
"
,
type
:
"
warning
"
,
dangerouslyUseHTMLString
:
!
0
}).
then
((
function
(){
var
a
=
e
.
$loading
({
lock
:
!
0
,
text
:
"
Loading
"
,
spinner
:
"
el-icon-loading
"
,
background
:
"
rgba(0, 0, 0, 0.7)
"
});
Object
(
i
[
"
b
"
])({
user_sn
:
e
.
$publicTools
.
decrypt
(
localStorage
.
getItem
(
"
user_sn
"
)),
strategy_sn
:
t
.
strategy_sn
||
""
}).
then
((
function
(
t
){
a
.
close
(),
e
.
getList
(),
e
.
$message
({
message
:
"
[object Object]
"
===
Object
.
prototype
.
toString
.
call
(
t
)
&&
t
.
info
?
t
.
info
:
"
delete Successfully
"
,
type
:
"
success
"
})})).
catch
((
function
(){
a
.
close
()}))})).
catch
((
function
(){}))}}},
w
=
y
,
k
=
Object
(
m
[
"
a
"
])(
w
,
s
,
l
,
!
1
,
null
,
"
d887b774
"
,
null
);
e
[
"
default
"
]
=
k
.
exports
},
d176
:
function
(
t
,
e
,
a
){
"
use strict
"
;
var
s
=
a
(
"
41bd
"
),
l
=
a
.
n
(
s
);
l
.
a
},
e228
:
function
(
t
,
e
,
a
){}}]);
\ No newline at end of file
public/zjtlj/dist/static/js/chunk-7064f1ee.459f6745.js
0 → 100644
View file @
c06c205e
(
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
chunk-7064f1ee
"
],{
1190
:
function
(
t
,
e
,
a
){
"
use strict
"
;
var
s
=
a
(
"
e228
"
),
l
=
a
.
n
(
s
);
l
.
a
},
2423
:
function
(
t
,
e
,
a
){
"
use strict
"
;
a
.
d
(
e
,
"
a
"
,(
function
(){
return
l
})),
a
.
d
(
e
,
"
h
"
,(
function
(){
return
i
})),
a
.
d
(
e
,
"
g
"
,(
function
(){
return
o
})),
a
.
d
(
e
,
"
f
"
,(
function
(){
return
n
})),
a
.
d
(
e
,
"
j
"
,(
function
(){
return
r
})),
a
.
d
(
e
,
"
d
"
,(
function
(){
return
c
})),
a
.
d
(
e
,
"
c
"
,(
function
(){
return
d
})),
a
.
d
(
e
,
"
k
"
,(
function
(){
return
u
})),
a
.
d
(
e
,
"
i
"
,(
function
(){
return
p
})),
a
.
d
(
e
,
"
e
"
,(
function
(){
return
m
})),
a
.
d
(
e
,
"
b
"
,(
function
(){
return
f
}));
var
s
=
a
(
"
b775
"
);
function
l
(
t
){
return
Object
(
s
[
"
a
"
])({
url
:
"
/api/strategySet
"
,
method
:
"
post
"
,
data
:
t
})}
function
i
(
t
){
return
Object
(
s
[
"
a
"
])({
url
:
"
/api/strategySet
"
,
method
:
"
get
"
,
params
:
t
})}
function
o
(
t
){
return
Object
(
s
[
"
a
"
])({
url
:
"
/api/strategy/getProjectsList
"
,
method
:
"
post
"
,
data
:
t
})}
function
n
(
t
){
return
Object
(
s
[
"
a
"
])({
url
:
"
/api/strategy/getCallNumberList
"
,
method
:
"
post
"
,
data
:
t
})}
function
r
(
t
){
return
Object
(
s
[
"
a
"
])({
url
:
"
/api/strategy/getUsersList
"
,
method
:
"
post
"
,
data
:
t
})}
function
c
(
t
){
var
e
=
"
https://test117.ciopaas.com:81/
"
;
window
.
open
(
e
+
(
"
/
"
===
e
.
slice
(
e
.
length
-
1
)?
""
:
"
/
"
)
+
"
api/strategy/downloadModel?user_sn=
"
+
t
.
user_sn
)}
function
d
(
t
){
var
e
=
"
https://test117.ciopaas.com:81/
"
;
window
.
open
(
e
+
(
"
/
"
===
e
.
slice
(
e
.
length
-
1
)?
""
:
"
/
"
)
+
"
api/strategy/downloadFailExcel?user_sn=
"
+
t
.
user_sn
+
"
&filename=
"
+
t
.
filename
)}
function
u
(
t
){
return
Object
(
s
[
"
a
"
])({
url
:
"
/api/strategy/importExcelData
"
,
method
:
"
post
"
,
data
:
t
})}
function
p
(
t
){
return
Object
(
s
[
"
a
"
])({
url
:
"
/api/strategyTask
"
,
method
:
"
get
"
,
params
:
t
})}
function
m
(
t
){
return
Object
(
s
[
"
a
"
])({
url
:
"
/api/strategyTask/
"
.
concat
(
t
.
id
),
method
:
"
PUT
"
,
data
:
t
})}
function
f
(
t
){
return
Object
(
s
[
"
a
"
])({
url
:
"
/api/strategySet/
"
+
t
.
strategy_sn
+
"
?user_sn=
"
+
t
.
user_sn
,
method
:
"
delete
"
})}},
"
41bd
"
:
function
(
t
,
e
,
a
){},
5946
:
function
(
t
,
e
,
a
){},
6724
:
function
(
t
,
e
,
a
){
"
use strict
"
;
a
(
"
8d41
"
);
var
s
=
"
@@wavesContext
"
;
function
l
(
t
,
e
){
function
a
(
a
){
var
s
=
Object
.
assign
({},
e
.
value
),
l
=
Object
.
assign
({
ele
:
t
,
type
:
"
hit
"
,
color
:
"
rgba(0, 0, 0, 0.15)
"
},
s
),
i
=
l
.
ele
;
if
(
i
){
i
.
style
.
position
=
"
relative
"
,
i
.
style
.
overflow
=
"
hidden
"
;
var
o
=
i
.
getBoundingClientRect
(),
n
=
i
.
querySelector
(
"
.waves-ripple
"
);
switch
(
n
?
n
.
className
=
"
waves-ripple
"
:(
n
=
document
.
createElement
(
"
span
"
),
n
.
className
=
"
waves-ripple
"
,
n
.
style
.
height
=
n
.
style
.
width
=
Math
.
max
(
o
.
width
,
o
.
height
)
+
"
px
"
,
i
.
appendChild
(
n
)),
l
.
type
){
case
"
center
"
:
n
.
style
.
top
=
o
.
height
/
2
-
n
.
offsetHeight
/
2
+
"
px
"
,
n
.
style
.
left
=
o
.
width
/
2
-
n
.
offsetWidth
/
2
+
"
px
"
;
break
;
default
:
n
.
style
.
top
=
(
a
.
pageY
-
o
.
top
-
n
.
offsetHeight
/
2
-
document
.
documentElement
.
scrollTop
||
document
.
body
.
scrollTop
)
+
"
px
"
,
n
.
style
.
left
=
(
a
.
pageX
-
o
.
left
-
n
.
offsetWidth
/
2
-
document
.
documentElement
.
scrollLeft
||
document
.
body
.
scrollLeft
)
+
"
px
"
}
return
n
.
style
.
backgroundColor
=
l
.
color
,
n
.
className
=
"
waves-ripple z-active
"
,
!
1
}}
return
t
[
s
]?
t
[
s
].
removeHandle
=
a
:
t
[
s
]
=
{
removeHandle
:
a
},
a
}
var
i
=
{
bind
:
function
(
t
,
e
){
t
.
addEventListener
(
"
click
"
,
l
(
t
,
e
),
!
1
)},
update
:
function
(
t
,
e
){
t
.
removeEventListener
(
"
click
"
,
t
[
s
].
removeHandle
,
!
1
),
t
.
addEventListener
(
"
click
"
,
l
(
t
,
e
),
!
1
)},
unbind
:
function
(
t
){
t
.
removeEventListener
(
"
click
"
,
t
[
s
].
removeHandle
,
!
1
),
t
[
s
]
=
null
,
delete
t
[
s
]}},
o
=
function
(
t
){
t
.
directive
(
"
waves
"
,
i
)};
window
.
Vue
&&
(
window
.
waves
=
i
,
Vue
.
use
(
o
)),
i
.
install
=
o
;
e
[
"
a
"
]
=
i
},
"
8d41
"
:
function
(
t
,
e
,
a
){},
9406
:
function
(
t
,
e
,
a
){
"
use strict
"
;
a
.
r
(
e
);
var
s
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"
div
"
,{
staticClass
:
"
app-container
"
},[
a
(
"
div
"
,{
staticClass
:
"
filter-container text-rt
"
},[
a
(
"
el-button
"
,{
staticStyle
:{
"
margin-left
"
:
"
10px
"
,
padding
:
"
10px
"
},
attrs
:{
icon
:
"
el-icon-circle-plus-outline
"
},
on
:{
click
:
t
.
handleCreate
}})],
1
),
t
.
_v
(
"
"
),
a
(
"
div
"
,{
staticClass
:
"
body-container
"
},[
a
(
"
el-table
"
,{
directives
:[{
name
:
"
loading
"
,
rawName
:
"
v-loading
"
,
value
:
t
.
listLoading
,
expression
:
"
listLoading
"
}],
key
:
t
.
tableKey
,
ref
:
"
singleTable
"
,
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
data
:
t
.
list
,
border
:
""
,
fit
:
""
,
"
highlight-current-row
"
:
""
}},[
a
(
"
el-table-column
"
,{
attrs
:{
label
:
"
策略名称
"
,
align
:
"
center
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
default
"
,
fn
:
function
(
e
){
var
s
=
e
.
row
;
return
[
a
(
"
span
"
,[
t
.
_v
(
t
.
_s
(
s
.
strategy_name
))])]}}])}),
t
.
_v
(
"
"
),
a
(
"
el-table-column
"
,{
attrs
:{
label
:
"
话术流程
"
,
align
:
"
center
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
default
"
,
fn
:
function
(
e
){
var
s
=
e
.
row
;
return
[
a
(
"
span
"
,[
t
.
_v
(
t
.
_s
(
s
.
project_name
))])]}}])}),
t
.
_v
(
"
"
),
a
(
"
el-table-column
"
,{
attrs
:{
label
:
"
导入数据量
"
,
align
:
"
center
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
default
"
,
fn
:
function
(
e
){
var
s
=
e
.
row
;
return
[
a
(
"
span
"
,[
t
.
_v
(
t
.
_s
(
s
.
total
))])]}}])}),
t
.
_v
(
"
"
),
a
(
"
el-table-column
"
,{
attrs
:{
label
:
"
外呼日期
"
,
align
:
"
center
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
default
"
,
fn
:
function
(
e
){
var
s
=
e
.
row
;
return
[
a
(
"
span
"
,[
t
.
_v
(
t
.
_s
(
s
.
day_type_name
))])]}}])}),
t
.
_v
(
"
"
),
a
(
"
el-table-column
"
,{
attrs
:{
label
:
"
外呼频率
"
,
align
:
"
center
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
default
"
,
fn
:
function
(
e
){
var
s
=
e
.
row
;
return
[
a
(
"
span
"
,[
t
.
_v
(
t
.
_s
(
s
.
frequency_type_name
))])]}}])}),
t
.
_v
(
"
"
),
a
(
"
el-table-column
"
,{
attrs
:{
label
:
"
状态
"
,
align
:
"
center
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
default
"
,
fn
:
function
(
e
){
var
s
=
e
.
row
;
return
[
a
(
"
span
"
,[
t
.
_v
(
t
.
_s
(
s
.
disabled_name
))])]}}])}),
t
.
_v
(
"
"
),
a
(
"
el-table-column
"
,{
attrs
:{
label
:
"
创建时间
"
,
align
:
"
center
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
default
"
,
fn
:
function
(
e
){
var
s
=
e
.
row
;
return
[
a
(
"
span
"
,[
t
.
_v
(
t
.
_s
(
s
.
created_at
))])]}}])}),
t
.
_v
(
"
"
),
a
(
"
el-table-column
"
,{
attrs
:{
fixed
:
"
right
"
,
label
:
"
操作
"
,
align
:
"
center
"
,
width
:
"
180
"
,
"
class-name
"
:
"
small-padding fixed-width
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
default
"
,
fn
:
function
(
e
){
var
s
=
e
.
row
;
return
[
a
(
"
el-tooltip
"
,{
attrs
:{
content
:
"
导入数据
"
}},[
a
(
"
el-button
"
,{
attrs
:{
size
:
"
small
"
,
plain
:
""
,
icon
:
"
el-icon-edit-outline
"
},
on
:{
click
:
function
(
e
){
return
t
.
importData
(
s
)}}})],
1
),
t
.
_v
(
"
"
),
a
(
"
el-tooltip
"
,{
attrs
:{
content
:
"
任务数据
"
}},[
a
(
"
el-button
"
,{
attrs
:{
size
:
"
small
"
,
plain
:
""
,
icon
:
"
el-icon-document
"
},
on
:{
click
:
function
(
e
){
return
t
.
goTaskData
(
s
)}}})],
1
),
t
.
_v
(
"
"
),
a
(
"
el-tooltip
"
,{
attrs
:{
content
:
"
删除
"
}},[
a
(
"
el-button
"
,{
attrs
:{
size
:
"
small
"
,
plain
:
""
,
icon
:
"
el-icon-delete
"
},
on
:{
click
:
function
(
e
){
return
t
.
handleDelete
(
s
)}}})],
1
)]}}])})],
1
)],
1
),
t
.
_v
(
"
"
),
a
(
"
el-dialog
"
,{
attrs
:{
title
:
t
.
textMap
[
t
.
dialogStatus
]
+
"
外呼策略
"
,
visible
:
t
.
dialogFormVisible
,
"
append-to-body
"
:
!
0
,
width
:
"
720px
"
,
"
destroy-on-close
"
:
!
0
,
"
close-on-click-modal
"
:
!
1
},
on
:{
"
update:visible
"
:
function
(
e
){
t
.
dialogFormVisible
=
e
}}},[
t
.
dialogFormVisible
?
a
(
"
AddOrEdit
"
,{
attrs
:{
temp
:
t
.
temp
,
dialogStatus
:
t
.
dialogStatus
},
on
:{
save
:
t
.
addCallback
}}):
t
.
_e
()],
1
),
t
.
_v
(
"
"
),
a
(
"
el-dialog
"
,{
attrs
:{
title
:
"
导入数据
"
,
width
:
"
400px
"
,
visible
:
t
.
importVisible
,
"
append-to-body
"
:
!
0
,
"
destroy-on-close
"
:
!
0
,
"
close-on-click-modal
"
:
!
1
},
on
:{
"
update:visible
"
:
function
(
e
){
t
.
importVisible
=
e
}}},[
t
.
importVisible
?
a
(
"
ImprtData
"
,{
attrs
:{
temp
:
t
.
temp
,
dialogStatus
:
t
.
dialogStatus
},
on
:{
indexSave
:
t
.
importCallbackIndex
}}):
t
.
_e
()],
1
)],
1
)},
l
=
[],
i
=
(
a
(
"
6b54
"
),
a
(
"
5df3
"
),
a
(
"
1c4c
"
),
a
(
"
2423
"
)),
o
=
a
(
"
6724
"
),
n
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"
div
"
,[
a
(
"
div
"
,[
a
(
"
el-form
"
,{
ref
:
"
dataForm
"
,
attrs
:{
rules
:
t
.
rules
,
model
:
t
.
temp
,
"
label-position
"
:
"
top
"
,
"
label-width
"
:
"
90px
"
,
id
:
"
strategy-add-form
"
}},[
a
(
"
el-form-item
"
,{
attrs
:{
label
:
"
策略名称
"
,
prop
:
"
strategy_name
"
}},[
a
(
"
el-input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入策略名称
"
},
model
:{
value
:
t
.
temp
.
strategy_name
,
callback
:
function
(
e
){
t
.
$set
(
t
.
temp
,
"
strategy_name
"
,
e
)},
expression
:
"
temp.strategy_name
"
}})],
1
),
t
.
_v
(
"
"
),
a
(
"
el-form-item
"
,{
attrs
:{
label
:
"
客户数据
"
,
prop
:
"
upload
"
}},[
a
(
"
div
"
,{
staticClass
:
"
upload-box
"
},[
a
(
"
el-input
"
,{
attrs
:{
placeholder
:
"
请按照模板格式填写数据(文件大小不可超过8MB)
"
,
readonly
:
""
},
model
:{
value
:
t
.
temp
.
uploadname
,
callback
:
function
(
e
){
t
.
$set
(
t
.
temp
,
"
uploadname
"
,
e
)},
expression
:
"
temp.uploadname
"
}}),
t
.
_v
(
"
"
),
a
(
"
i
"
,{
staticClass
:
"
el-icon-circle-close
"
,
on
:{
click
:
t
.
delFile
}}),
t
.
_v
(
"
"
),
a
(
"
i
"
,{
staticClass
:
"
el-icon-upload
"
,
on
:{
click
:
t
.
importData
}})],
1
),
t
.
_v
(
"
"
),
a
(
"
el-button
"
,{
staticClass
:
"
download-btn
"
,
attrs
:{
size
:
"
small
"
},
on
:{
click
:
t
.
downloadTemplate
}},[
t
.
_v
(
"
下载模板
"
)])],
1
),
t
.
_v
(
"
"
),
a
(
"
el-form-item
"
,{
attrs
:{
label
:
"
子账号
"
,
prop
:
"
user_sn
"
}},[
a
(
"
el-select
"
,{
staticClass
:
"
filter-item
"
,
attrs
:{
clearable
:
""
,
disabled
:
""
,
placeholder
:
"
请选择子账号
"
},
model
:{
value
:
t
.
temp
.
user_sn
,
callback
:
function
(
e
){
t
.
$set
(
t
.
temp
,
"
user_sn
"
,
e
)},
expression
:
"
temp.user_sn
"
}},
t
.
_l
(
t
.
typeOptions
,(
function
(
t
){
return
a
(
"
el-option
"
,{
key
:
t
.
user_sn
,
attrs
:{
label
:
t
.
user_name
,
value
:
t
.
user_sn
}})})),
1
)],
1
),
t
.
_v
(
"
"
),
a
(
"
el-form-item
"
,{
attrs
:{
label
:
"
主叫号码
"
,
prop
:
"
call_number
"
}},[
a
(
"
el-select
"
,{
staticClass
:
"
filter-item
"
,
attrs
:{
clearable
:
""
,
placeholder
:
"
请选择主叫号码
"
},
model
:{
value
:
t
.
temp
.
call_number
,
callback
:
function
(
e
){
t
.
$set
(
t
.
temp
,
"
call_number
"
,
e
)},
expression
:
"
temp.call_number
"
}},
t
.
_l
(
t
.
CallNumberList
,(
function
(
t
,
e
){
return
a
(
"
el-option
"
,{
key
:
e
,
attrs
:{
label
:
t
,
value
:
t
}})})),
1
)],
1
),
t
.
_v
(
"
"
),
a
(
"
el-form-item
"
,{
attrs
:{
label
:
"
外呼日期
"
,
prop
:
"
day_type
"
}},[
a
(
"
el-radio-group
"
,{
attrs
:{
size
:
"
medium
"
},
model
:{
value
:
t
.
temp
.
day_type
,
callback
:
function
(
e
){
t
.
$set
(
t
.
temp
,
"
day_type
"
,
e
)},
expression
:
"
temp.day_type
"
}},[
a
(
"
el-radio-button
"
,{
attrs
:{
label
:
"
0
"
}},[
t
.
_v
(
"
每天
"
)]),
t
.
_v
(
"
"
),
a
(
"
el-radio-button
"
,{
attrs
:{
label
:
"
1
"
}},[
t
.
_v
(
"
日期前一天和当天
"
)])],
1
)],
1
),
t
.
_v
(
"
"
),
a
(
"
el-form-item
"
,{
attrs
:{
label
:
"
外呼频率
"
,
prop
:
"
frequency_type
"
}},[
a
(
"
el-radio-group
"
,{
attrs
:{
size
:
"
medium
"
,
disabled
:
""
},
model
:{
value
:
t
.
temp
.
frequency_type
,
callback
:
function
(
e
){
t
.
$set
(
t
.
temp
,
"
frequency_type
"
,
e
)},
expression
:
"
temp.frequency_type
"
}},[
a
(
"
el-radio-button
"
,{
attrs
:{
label
:
"
2
"
}},[
t
.
_v
(
"
一天两次
"
)]),
t
.
_v
(
"
"
),
a
(
"
el-radio-button
"
,{
attrs
:{
label
:
"
1
"
}},[
t
.
_v
(
"
一天一次
"
)])],
1
)],
1
),
t
.
_v
(
"
"
),
a
(
"
el-form-item
"
,{
attrs
:{
label
:
"
呼叫设置
"
,
prop
:
"
setdate1
"
}},[
a
(
"
el-time-picker
"
,{
attrs
:{
"
picker-options
"
:{
selectableRange
:
"
00:00:00 - 23:59:59
"
},
placeholder
:
"
请选择呼叫时间点1
"
},
model
:{
value
:
t
.
temp
.
setdate1
,
callback
:
function
(
e
){
t
.
$set
(
t
.
temp
,
"
setdate1
"
,
e
)},
expression
:
"
temp.setdate1
"
}})],
1
),
t
.
_v
(
"
"
),
t
.
showDate
?
a
(
"
el-form-item
"
,{
staticClass
:
"
hide-label
"
,
attrs
:{
label
:
"
请选择呼叫时间点2
"
,
prop
:
"
setdate2
"
}},[
a
(
"
el-time-picker
"
,{
attrs
:{
"
picker-options
"
:{
selectableRange
:
"
00:00:00 - 23:59:59
"
},
placeholder
:
"
请选择呼叫时间点2
"
},
model
:{
value
:
t
.
temp
.
setdate2
,
callback
:
function
(
e
){
t
.
$set
(
t
.
temp
,
"
setdate2
"
,
e
)},
expression
:
"
temp.setdate2
"
}})],
1
):
t
.
_e
(),
t
.
_v
(
"
"
),
a
(
"
el-form-item
"
,{
staticClass
:
"
hide-label
"
,
attrs
:{
label
:
"
话术流程
"
,
prop
:
"
project_sn
"
}},[
a
(
"
el-select
"
,{
attrs
:{
multiple
:
""
,
"
multiple-limit
"
:
2
,
placeholder
:
"
请选择话术流程
"
},
model
:{
value
:
t
.
temp
.
project_sn
,
callback
:
function
(
e
){
t
.
$set
(
t
.
temp
,
"
project_sn
"
,
e
)},
expression
:
"
temp.project_sn
"
}},
t
.
_l
(
t
.
processOpts
,(
function
(
t
){
return
a
(
"
el-option
"
,{
key
:
t
.
sn
,
attrs
:{
label
:
t
.
name
,
value
:
t
.
sn
}})})),
1
)],
1
),
t
.
_v
(
"
"
),
a
(
"
el-form-item
"
,{
staticClass
:
"
fl-label
"
,
attrs
:{
label
:
"
状态
"
,
prop
:
"
disabled
"
}},[
a
(
"
el-switch
"
,{
model
:{
value
:
t
.
temp
.
disabled
,
callback
:
function
(
e
){
t
.
$set
(
t
.
temp
,
"
disabled
"
,
e
)},
expression
:
"
temp.disabled
"
}})],
1
)],
1
)],
1
),
t
.
_v
(
"
"
),
a
(
"
div
"
,{
staticClass
:
"
dialog-footer text-rt
"
,
attrs
:{
slot
:
"
footer
"
},
slot
:
"
footer
"
},[
a
(
"
el-button
"
,{
on
:{
click
:
function
(
e
){
return
t
.
saveData
(
0
)}}},[
t
.
_v
(
"
取消
"
)]),
t
.
_v
(
"
"
),
a
(
"
el-button
"
,{
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(
e
){
return
t
.
saveData
(
1
)}}},[
t
.
_v
(
"
确定
"
)])],
1
),
t
.
_v
(
"
"
),
a
(
"
el-dialog
"
,{
attrs
:{
title
:
"
导入数据
"
,
visible
:
t
.
importVisible
,
"
append-to-body
"
:
!
0
,
width
:
"
30%
"
,
"
destroy-on-close
"
:
!
0
,
"
close-on-click-modal
"
:
!
1
},
on
:{
"
update:visible
"
:
function
(
e
){
t
.
importVisible
=
e
}}},[
t
.
importVisible
?
a
(
"
ImprtData
"
,{
attrs
:{
temp
:
t
.
temp
,
dialogStatus
:
t
.
dialogStatus
},
on
:{
addSave
:
t
.
importCallback
}}):
t
.
_e
()],
1
),
t
.
_v
(
"
"
),
a
(
"
el-dialog
"
,{
attrs
:{
title
:
"
导入数据结果
"
,
visible
:
t
.
dialogResultVisible
,
"
append-to-body
"
:
!
0
,
"
destroy-on-close
"
:
!
0
,
"
close-on-click-modal
"
:
!
1
,
width
:
"
400px
"
},
on
:{
"
update:visible
"
:
function
(
e
){
t
.
dialogResultVisible
=
e
}}},[
a
(
"
div
"
,{
staticClass
:
"
result-box
"
},[
a
(
"
div
"
,[
t
.
failTotal
>
0
?
a
(
"
i
"
,{
staticClass
:
"
el-icon-warning
"
,
class
:[
0
===
t
.
successTotal
&&
t
.
failTotal
>
0
?
"
fail-all-bgc
"
:
"
fail-bgc
"
]}):
a
(
"
i
"
,{
staticClass
:
"
el-icon-success
"
})]),
t
.
_v
(
"
"
),
a
(
"
div
"
,[
t
.
_v
(
"
成功导入
"
+
t
.
_s
(
t
.
successTotal
)
+
"
个号码,
"
+
t
.
_s
(
t
.
failTotal
)
+
"
个号码导入失败
"
)]),
t
.
_v
(
"
"
),
t
.
failTotal
>
0
?
a
(
"
div
"
,[
a
(
"
a
"
,{
staticClass
:
"
down-txt
"
,
on
:{
click
:
t
.
downloadFail
}},[
t
.
_v
(
"
点击下载失败数据文件
"
)])]):
t
.
_e
()]),
t
.
_v
(
"
"
),
a
(
"
div
"
,{
staticClass
:
"
dialog-footer text-center
"
,
attrs
:{
slot
:
"
footer
"
},
slot
:
"
footer
"
},[
a
(
"
el-button
"
,{
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
t
.
handleResultClose
}},[
t
.
_v
(
"
确定
"
)])],
1
)])],
1
)},
r
=
[],
c
=
(
a
(
"
7f7f
"
),
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"
div
"
,[
a
(
"
div
"
,[
a
(
"
el-form
"
,{
ref
:
"
importForm
"
,
attrs
:{
model
:
t
.
temp
,
"
label-position
"
:
"
top
"
,
"
label-width
"
:
"
90px
"
}},[
a
(
"
el-form-item
"
,{
attrs
:{
label
:
"
文件模板(请按照模板格式填写数据)
"
}},[
a
(
"
el-button
"
,{
staticClass
:
"
down-btn
"
,
attrs
:{
size
:
"
small
"
,
icon
:
"
el-icon-download
"
},
on
:{
click
:
t
.
downloadTemplate
}},[
t
.
_v
(
"
点击下载模板
"
)])],
1
),
t
.
_v
(
"
"
),
a
(
"
el-form-item
"
,{
staticClass
:
"
import-box
"
,
attrs
:{
label
:
"
导入文件(文件大小不可超过8MB)
"
}},[
a
(
"
el-upload
"
,{
ref
:
"
upload
"
,
staticClass
:
"
upload-demo
"
,
attrs
:{
action
:
"
#
"
,
"
on-change
"
:
t
.
handleChange
,
"
on-remove
"
:
t
.
handleRemove
,
"
file-list
"
:
t
.
fileList
,
"
auto-upload
"
:
!
1
,
accept
:
"
.xls, .xlsx
"
}},[
a
(
"
el-button
"
,{
staticClass
:
"
upload-btn
"
,
attrs
:{
slot
:
"
trigger
"
,
icon
:
"
el-icon-upload
"
,
size
:
"
small
"
},
slot
:
"
trigger
"
},[
t
.
_v
(
"
点击导入文件
"
)]),
t
.
_v
(
"
"
),
a
(
"
el-button
"
,{
directives
:[{
name
:
"
show
"
,
rawName
:
"
v-show
"
,
value
:
0
,
expression
:
"
0
"
}],
attrs
:{
size
:
"
small
"
,
type
:
"
success
"
},
on
:{
click
:
t
.
submitUpload
}},[
t
.
_v
(
"
上传到服务器
"
)])],
1
)],
1
)],
1
)],
1
),
t
.
_v
(
"
"
),
a
(
"
div
"
,{
staticClass
:
"
dialog-footer text-center
"
,
attrs
:{
slot
:
"
footer
"
},
slot
:
"
footer
"
},[
a
(
"
el-button
"
,{
on
:{
click
:
function
(
e
){
return
t
.
saveData
(
0
)}}},[
t
.
_v
(
"
取消
"
)]),
t
.
_v
(
"
"
),
a
(
"
el-button
"
,{
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(
e
){
return
t
.
saveData
(
1
)}}},[
t
.
_v
(
"
确定
"
)])],
1
),
t
.
_v
(
"
"
),
a
(
"
el-dialog
"
,{
attrs
:{
title
:
"
导入数据结果
"
,
visible
:
t
.
dialogResultVisible
,
"
append-to-body
"
:
!
0
,
"
destroy-on-close
"
:
!
0
,
"
close-on-click-modal
"
:
!
1
,
width
:
"
400px
"
},
on
:{
"
update:visible
"
:
function
(
e
){
t
.
dialogResultVisible
=
e
}}},[
a
(
"
div
"
,{
staticClass
:
"
result-box
"
},[
a
(
"
div
"
,[
t
.
failTotal
>
0
?
a
(
"
i
"
,{
staticClass
:
"
el-icon-warning
"
,
class
:[
0
===
t
.
successTotal
&&
t
.
failTotal
>
0
?
"
fail-all-bgc
"
:
"
fail-bgc
"
]}):
a
(
"
i
"
,{
staticClass
:
"
el-icon-success
"
})]),
t
.
_v
(
"
"
),
a
(
"
div
"
,[
t
.
_v
(
"
成功导入
"
+
t
.
_s
(
t
.
successTotal
)
+
"
个号码,
"
+
t
.
_s
(
t
.
failTotal
)
+
"
个号码导入失败
"
)]),
t
.
_v
(
"
"
),
t
.
failTotal
>
0
?
a
(
"
div
"
,[
a
(
"
a
"
,{
staticClass
:
"
down-txt
"
,
on
:{
click
:
t
.
downloadFail
}},[
t
.
_v
(
"
点击下载失败数据文件
"
)])]):
t
.
_e
()]),
t
.
_v
(
"
"
),
a
(
"
div
"
,{
staticClass
:
"
dialog-footer text-center
"
,
attrs
:{
slot
:
"
footer
"
},
slot
:
"
footer
"
},[
a
(
"
el-button
"
,{
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
t
.
handleResultClose
}},[
t
.
_v
(
"
确定
"
)])],
1
)])],
1
)}),
d
=
[],
u
=
(
a
(
"
c5f6
"
),{
name
:
"
ImprtData
"
,
props
:[
"
temp
"
],
data
:
function
(){
return
{
failDataFile
:
""
,
successTotal
:
0
,
failTotal
:
0
,
dialogResultVisible
:
!
1
,
fileList
:[],
dialogFormVisible
:
!
1
}},
created
:
function
(){
this
.
temp
.
upload
&&
this
.
temp
.
uploadname
&&
(
this
.
fileList
=
[
this
.
temp
.
upload
])},
methods
:{
validateFiles
:
function
(){
var
t
=
this
.
fileList
.
length
&&
"
[object Object]
"
===
Object
.
prototype
.
toString
.
call
(
this
.
fileList
[
0
])?
this
.
fileList
[
0
].
raw
:{
size
:
0
};
return
!
(
Number
(
t
.
size
/
1024
/
1024
)
>
8
)
||
(
this
.
$message
.
warning
(
"
文件大小不可超过8MB
"
),
!
1
)},
downloadFail
:
function
(){
Object
(
i
[
"
c
"
])({
user_sn
:
this
.
$publicTools
.
decrypt
(
localStorage
.
getItem
(
"
user_sn
"
)),
filename
:
this
.
failDataFile
})},
handleResultClose
:
function
(){
this
.
dialogResultVisible
=!
1
,
this
.
temp
.
isAddGo
?
this
.
$emit
(
"
addSave
"
,
this
.
fileList
[
0
].
raw
):
this
.
$emit
(
"
indexSave
"
,
1
)},
downloadTemplate
:
function
(){
Object
(
i
[
"
d
"
])({
user_sn
:
this
.
$publicTools
.
decrypt
(
localStorage
.
getItem
(
"
user_sn
"
))})},
handleRemove
:
function
(
t
,
e
){
this
.
fileList
=
[]},
handleChange
:
function
(
t
,
e
){
this
.
fileList
=
[
t
],
this
.
validateFiles
()},
submitUpload
:
function
(){
var
t
=
this
;
if
(
this
.
temp
.
isAddGo
)
this
.
$emit
(
"
addSave
"
,
this
.
fileList
[
0
].
raw
);
else
{
var
e
=
new
FormData
;
e
.
append
(
"
user_sn
"
,
this
.
$publicTools
.
decrypt
(
localStorage
.
getItem
(
"
user_sn
"
))),
e
.
append
(
"
strategy_sn
"
,
this
.
temp
.
isAddGo
?
""
:
this
.
temp
.
strategy_sn
),
e
.
append
(
"
upload
"
,
this
.
fileList
[
0
].
raw
);
var
a
=
this
.
$loading
({
lock
:
!
0
,
text
:
"
Loading
"
,
spinner
:
"
el-icon-loading
"
,
background
:
"
rgba(0, 0, 0, 0.9)
"
});
Object
(
i
[
"
k
"
])(
e
).
then
((
function
(
e
){
a
.
close
(),
t
.
dialogResultVisible
=!
0
,
t
.
failDataFile
=
e
.
info
.
failDataFile
||
""
,
t
.
failTotal
=
e
.
info
.
failTotal
||
0
,
t
.
successTotal
=
e
.
info
.
successTotal
||
0
})).
catch
((
function
(
e
){
a
.
close
(),
t
.
$message
.
warning
(
e
)}))}},
saveData
:
function
(
t
){
var
e
=
this
;
t
?
this
.
$refs
[
"
importForm
"
].
validate
((
function
(
t
){
e
.
fileList
.
length
?
t
&&
e
.
validateFiles
()
&&
e
.
submitUpload
():
e
.
$message
.
warning
(
"
请先导入文件
"
)})):(
this
.
$emit
(
"
addSave
"
,
0
),
this
.
$emit
(
"
indexSave
"
,
0
))}}}),
p
=
u
,
m
=
(
a
(
"
1190
"
),
a
(
"
2877
"
)),
f
=
Object
(
m
[
"
a
"
])(
p
,
c
,
d
,
!
1
,
null
,
"
29423b4f
"
,
null
),
b
=
f
.
exports
,
g
=
{
name
:
"
AddOrEdit
"
,
components
:{
ImprtData
:
b
},
props
:[
"
dialogStatus
"
,
"
temp
"
],
data
:
function
(){
return
{
failDataFile
:
""
,
successTotal
:
0
,
failTotal
:
0
,
dialogResultVisible
:
!
1
,
showDate
:
!
1
,
importVisible
:
!
1
,
onlyOneProcess
:
!
1
,
processOpts
:[],
CallNumberList
:[],
typeOptions
:[],
rules
:{
strategy_name
:[{
required
:
!
0
,
message
:
"
策略名称必填且不能超过30个字符
"
,
trigger
:
"
blur
"
,
max
:
30
}],
files
:[{
required
:
!
0
,
message
:
"
源码类型必填
"
,
trigger
:
"
blur
"
}],
user_sn
:[{
required
:
!
0
,
message
:
"
子账号必选
"
,
trigger
:
"
blur
"
}],
call_number
:[{
required
:
!
0
,
message
:
"
主叫号码必选
"
,
trigger
:
"
blur
"
}],
day_type
:[{
required
:
!
0
,
message
:
"
外呼日期必选
"
,
trigger
:
"
blur
"
}],
frequency_type
:[{
required
:
!
0
,
message
:
"
外呼频率必选
"
,
trigger
:
"
blur
"
}],
setdate1
:[{
required
:
!
0
,
message
:
"
呼叫设置-外呼时间点1必选
"
,
trigger
:
"
blur
"
}],
setdate2
:[{
required
:
!
0
,
message
:
"
呼叫设置-外呼时间点2必选
"
,
trigger
:
"
blur
"
}],
project_sn
:[{
required
:
!
0
,
message
:
"
呼叫设置-话术流程必选
"
,
trigger
:
"
blur
"
}],
disabled
:[{
required
:
!
0
,
message
:
"
状态必选
"
,
trigger
:
"
blur
"
}]}}},
watch
:{
"
temp.day_type
"
:
function
(
t
){
this
.
change_day_type
(
t
)}},
created
:
function
(){
var
t
=
this
;
this
.
change_day_type
(
this
.
temp
.
day_type
),
Object
(
i
[
"
g
"
])({
user_sn
:
this
.
$publicTools
.
decrypt
(
localStorage
.
getItem
(
"
user_sn
"
))}).
then
((
function
(
e
){
t
.
processOpts
=
Array
.
isArray
(
e
.
info
)?
e
.
info
:[]})).
catch
((
function
(){
t
.
processOpts
=
[]})),
Object
(
i
[
"
f
"
])({
user_sn
:
this
.
$publicTools
.
decrypt
(
localStorage
.
getItem
(
"
user_sn
"
))}).
then
((
function
(
e
){
t
.
CallNumberList
=
Array
.
isArray
(
e
.
info
)?
e
.
info
:[]})).
catch
((
function
(){
t
.
CallNumberList
=
[]})),
Object
(
i
[
"
j
"
])({
user_sn
:
this
.
$publicTools
.
decrypt
(
localStorage
.
getItem
(
"
user_sn
"
))}).
then
((
function
(
e
){
t
.
typeOptions
=
"
[object Object]
"
===
Object
.
prototype
.
toString
.
call
(
e
.
info
)?[
e
.
info
]:[],
t
.
typeOptions
.
length
&&
(
t
.
temp
.
user_sn
=
"
[object Object]
"
===
Object
.
prototype
.
toString
.
call
(
t
.
typeOptions
[
0
])?
t
.
typeOptions
[
0
].
user_sn
:
""
)})).
catch
((
function
(){
t
.
typeOptions
=
[]}))},
methods
:{
downloadFail
:
function
(){
Object
(
i
[
"
c
"
])({
user_sn
:
this
.
$publicTools
.
decrypt
(
localStorage
.
getItem
(
"
user_sn
"
)),
filename
:
this
.
failDataFile
})},
handleResultClose
:
function
(){
this
.
dialogResultVisible
=!
1
,
this
.
$emit
(
"
save
"
)},
change_day_type
:
function
(
t
){
this
.
temp
.
project_sn
=
null
,
"
0
"
===
t
?(
this
.
temp
.
frequency_type
=
"
2
"
,
this
.
showDate
=!
0
,
this
.
onlyOneProcess
=!
0
):
"
1
"
===
t
&&
(
this
.
temp
.
frequency_type
=
"
1
"
,
this
.
showDate
=!
1
,
this
.
onlyOneProcess
=!
1
)},
delFile
:
function
(){
this
.
temp
.
upload
=
{},
this
.
temp
.
uploadname
=
""
},
importData
:
function
(
t
){
this
.
temp
.
isAddGo
=!
0
,
this
.
importVisible
=!
0
},
importCallback
:
function
(
t
){
this
.
importVisible
=!
1
,
t
&&
t
.
name
&&
(
this
.
temp
.
upload
=
t
||
{},
this
.
temp
.
uploadname
=
this
.
temp
.
upload
.
name
)},
downloadTemplate
:
function
(){
Object
(
i
[
"
d
"
])({
user_sn
:
this
.
$publicTools
.
decrypt
(
localStorage
.
getItem
(
"
user_sn
"
))})},
saveData
:
function
(
t
){
var
e
=
this
;
this
.
temp
.
disabled
=!
0
!==
this
.
temp
.
disabled
&&!
1
!==
this
.
temp
.
disabled
||
this
.
temp
.
disabled
;
var
a
=
this
.
temp
.
disabled
?
0
:
1
;
t
?
this
.
$refs
[
"
dataForm
"
].
validate
((
function
(
t
){
if
(
t
){
var
s
=
e
.
temp
.
strategy_name
.
trim
();
if
(
s
!==
e
.
temp
.
strategy_name
)
return
e
.
$message
({
message
:
"
策略名称前后不能输入空格
"
,
type
:
"
warning
"
}),
!
1
;
if
(
"
1
"
===
e
.
temp
.
day_type
&&
Array
.
isArray
(
e
.
temp
.
project_sn
)
&&
2
!==
e
.
temp
.
project_sn
.
length
)
return
e
.
$message
({
message
:
"
话术流程必选2个
"
,
type
:
"
warning
"
}),
!
1
;
var
l
=
e
.
temp
,
o
=
l
.
call_number
,
n
=
l
.
day_type
,
r
=
l
.
frequency_type
,
c
=
new
FormData
;
c
.
append
(
"
user_sn
"
,
e
.
$publicTools
.
decrypt
(
localStorage
.
getItem
(
"
user_sn
"
))),
c
.
append
(
"
strategy_name
"
,
s
),
c
.
append
(
"
call_number
"
,
o
),
c
.
append
(
"
day_type
"
,
n
),
c
.
append
(
"
frequency_type
"
,
r
),
c
.
append
(
"
call_time_set
"
,
e
.
$moment
(
e
.
temp
.
setdate1
).
format
(
"
HH:mm:ss
"
)
+
(
e
.
temp
.
setdate2
?
"
#
"
+
e
.
$moment
(
e
.
temp
.
setdate2
).
format
(
"
HH:mm:ss
"
):
""
)),
c
.
append
(
"
project_sn
"
,
e
.
temp
.
project_sn
.
join
(
"
#
"
)),
c
.
append
(
"
disabled
"
,
a
),
c
.
append
(
"
upload
"
,
e
.
temp
.
upload
);
var
d
=
e
.
$loading
({
lock
:
!
0
,
text
:
"
Loading
"
,
spinner
:
"
el-icon-loading
"
,
background
:
"
rgba(0, 0, 0, 0.7)
"
});
"
create
"
===
e
.
dialogStatus
&&
Object
(
i
[
"
a
"
])(
c
).
then
((
function
(
t
){
d
.
close
(),
e
.
$message
({
message
:
"
创建成功
"
,
type
:
"
success
"
}),
"
[object Object]
"
===
Object
.
prototype
.
toString
.
call
(
t
.
info
)?(
e
.
failDataFile
=
t
.
info
.
failDataFile
||
""
,
e
.
failTotal
=
t
.
info
.
failTotal
||
0
,
e
.
successTotal
=
t
.
info
.
successTotal
||
0
,
e
.
successTotal
||
e
.
failTotal
?
e
.
dialogResultVisible
=!
0
:
e
.
$emit
(
"
save
"
)):
e
.
$emit
(
"
save
"
)})).
catch
((
function
(){
d
.
close
()}))}})):
this
.
$emit
(
"
save
"
)}}},
_
=
g
,
h
=
(
a
(
"
a43f
"
),
a
(
"
d176
"
),
Object
(
m
[
"
a
"
])(
_
,
n
,
r
,
!
1
,
null
,
"
090acd16
"
,
null
)),
v
=
h
.
exports
,
y
=
{
name
:
"
Dashboard
"
,
components
:{
AddOrEdit
:
v
,
ImprtData
:
b
},
directives
:{
waves
:
o
[
"
a
"
]},
filters
:{},
data
:
function
(){
return
{
textMap
:{
update
:
"
编辑
"
,
create
:
"
新建
"
},
fileList
:[],
multipleSelection
:[],
tableKey
:
0
,
list
:[],
listLoading
:
!
0
,
temp
:{
user_sn
:
""
,
strategy_name
:
""
,
call_number
:
""
,
day_type
:
"
0
"
,
frequency_type
:
"
2
"
,
call_time_set
:
""
,
setdate1
:
""
,
setdate2
:
""
,
project_sn
:
""
,
disabled
:
""
,
upload
:
""
,
uploadname
:
""
},
dialogFormVisible
:
!
1
,
importVisible
:
!
1
,
dialogStatus
:
""
}},
created
:
function
(){
this
.
getList
()},
methods
:{
addCallback
:
function
(){
this
.
dialogFormVisible
=!
1
,
this
.
getList
()},
importCallbackIndex
:
function
(
t
){
this
.
importVisible
=!
1
,
1
===
t
&&
this
.
getList
()},
getList
:
function
(){
var
t
=
this
;
this
.
listLoading
=!
0
,
Object
(
i
[
"
h
"
])({
user_sn
:
this
.
$publicTools
.
decrypt
(
localStorage
.
getItem
(
"
user_sn
"
))}).
then
((
function
(
e
){
t
.
listLoading
=!
1
,
t
.
list
=
Array
.
from
(
e
.
info
)})).
catch
((
function
(){
t
.
listLoading
=!
1
}))},
handleFilter
:
function
(){
this
.
getList
()},
resetTemp
:
function
(){
this
.
temp
=
{
user_sn
:
""
,
strategy_name
:
""
,
call_number
:
""
,
day_type
:
"
0
"
,
frequency_type
:
"
2
"
,
call_time_set
:
""
,
setdate1
:
""
,
setdate2
:
""
,
project_sn
:
""
,
disabled
:
""
,
upload
:
""
,
uploadname
:
""
}},
handleCreate
:
function
(){
this
.
list
.
length
>=
2
?
this
.
$message
({
message
:
"
最多2个外呼策略
"
,
type
:
"
warning
"
}):(
this
.
resetTemp
(),
this
.
dialogStatus
=
"
create
"
,
this
.
dialogFormVisible
=!
0
)},
goTaskData
:
function
(
t
){
this
.
$router
.
push
({
name
:
"
TaskData
"
,
query
:{
strategy_sn
:
t
.
strategy_sn
,
strategy_name
:
t
.
strategy_name
}})},
importData
:
function
(
t
){
this
.
temp
=
this
.
$publicTools
.
deepClone
(
t
),
this
.
importVisible
=!
0
},
handleDelete
:
function
(
t
){
var
e
=
this
;
this
.
$confirm
(
"
确定要删除此条数据吗?
"
,
"
删除提示
"
,{
confirmButtonText
:
"
确定
"
,
cancelButtonText
:
"
取消
"
,
type
:
"
warning
"
,
dangerouslyUseHTMLString
:
!
0
}).
then
((
function
(){
var
a
=
e
.
$loading
({
lock
:
!
0
,
text
:
"
Loading
"
,
spinner
:
"
el-icon-loading
"
,
background
:
"
rgba(0, 0, 0, 0.7)
"
});
Object
(
i
[
"
b
"
])({
user_sn
:
e
.
$publicTools
.
decrypt
(
localStorage
.
getItem
(
"
user_sn
"
)),
strategy_sn
:
t
.
strategy_sn
||
""
}).
then
((
function
(
t
){
a
.
close
(),
e
.
getList
(),
e
.
$message
({
message
:
"
[object Object]
"
===
Object
.
prototype
.
toString
.
call
(
t
)
&&
t
.
info
?
t
.
info
:
"
delete Successfully
"
,
type
:
"
success
"
})})).
catch
((
function
(){
a
.
close
()}))})).
catch
((
function
(){}))}}},
w
=
y
,
k
=
Object
(
m
[
"
a
"
])(
w
,
s
,
l
,
!
1
,
null
,
"
d887b774
"
,
null
);
e
[
"
default
"
]
=
k
.
exports
},
a43f
:
function
(
t
,
e
,
a
){
"
use strict
"
;
var
s
=
a
(
"
5946
"
),
l
=
a
.
n
(
s
);
l
.
a
},
d176
:
function
(
t
,
e
,
a
){
"
use strict
"
;
var
s
=
a
(
"
41bd
"
),
l
=
a
.
n
(
s
);
l
.
a
},
e228
:
function
(
t
,
e
,
a
){}}]);
\ No newline at end of file
public/zjtlj/dist/static/js/chunk-
741c615e.3f9b458e
.js
→
public/zjtlj/dist/static/js/chunk-
da7260b2.427dc2f2
.js
View file @
c06c205e
(
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
chunk-741c615e
"
],{
2423
:
function
(
t
,
e
,
a
){
"
use strict
"
;
a
.
d
(
e
,
"
a
"
,(
function
(){
return
i
})),
a
.
d
(
e
,
"
h
"
,(
function
(){
return
l
})),
a
.
d
(
e
,
"
g
"
,(
function
(){
return
o
})),
a
.
d
(
e
,
"
f
"
,(
function
(){
return
r
})),
a
.
d
(
e
,
"
j
"
,(
function
(){
return
s
})),
a
.
d
(
e
,
"
d
"
,(
function
(){
return
c
})),
a
.
d
(
e
,
"
c
"
,(
function
(){
return
u
})),
a
.
d
(
e
,
"
k
"
,(
function
(){
return
d
})),
a
.
d
(
e
,
"
i
"
,(
function
(){
return
p
})),
a
.
d
(
e
,
"
e
"
,(
function
(){
return
m
})),
a
.
d
(
e
,
"
b
"
,(
function
(){
return
f
}));
var
n
=
a
(
"
b775
"
);
function
i
(
t
){
return
Object
(
n
[
"
a
"
])({
url
:
"
/api/strategySet
"
,
method
:
"
post
"
,
data
:
t
})}
function
l
(
t
){
return
Object
(
n
[
"
a
"
])({
url
:
"
/api/strategySet
"
,
method
:
"
get
"
,
params
:
t
})}
function
o
(
t
){
return
Object
(
n
[
"
a
"
])({
url
:
"
/api/strategy/getProjectsList
"
,
method
:
"
post
"
,
data
:
t
})}
function
r
(
t
){
return
Object
(
n
[
"
a
"
])({
url
:
"
/api/strategy/getCallNumberList
"
,
method
:
"
post
"
,
data
:
t
})}
function
s
(
t
){
return
Object
(
n
[
"
a
"
])({
url
:
"
/api/strategy/getUsersList
"
,
method
:
"
post
"
,
data
:
t
})}
function
c
(
t
){
var
e
=
"
https://test117.ciopaas.com:81/
"
;
window
.
open
(
e
+
(
"
/
"
===
e
.
slice
(
e
.
length
-
1
)?
""
:
"
/
"
)
+
"
api/strategy/downloadModel?user_sn=
"
+
t
.
user_sn
)}
function
u
(
t
){
var
e
=
"
https://test117.ciopaas.com:81/
"
;
window
.
open
(
e
+
(
"
/
"
===
e
.
slice
(
e
.
length
-
1
)?
""
:
"
/
"
)
+
"
api/strategy/downloadFailExcel?user_sn=
"
+
t
.
user_sn
+
"
&filename=
"
+
t
.
filename
)}
function
d
(
t
){
return
Object
(
n
[
"
a
"
])({
url
:
"
/api/strategy/importExcelData
"
,
method
:
"
post
"
,
data
:
t
})}
function
p
(
t
){
return
Object
(
n
[
"
a
"
])({
url
:
"
/api/strategyTask
"
,
method
:
"
get
"
,
params
:
t
})}
function
m
(
t
){
return
Object
(
n
[
"
a
"
])({
url
:
"
/api/strategyTask/
"
.
concat
(
t
.
id
),
method
:
"
PUT
"
,
data
:
t
})}
function
f
(
t
){
return
Object
(
n
[
"
a
"
])({
url
:
"
/api/strategySet/
"
+
t
.
strategy_sn
+
"
?user_sn=
"
+
t
.
user_sn
,
method
:
"
delete
"
})}},
"
262f
"
:
function
(
t
,
e
,
a
){
"
use strict
"
;
a
.
r
(
e
);
var
n
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"
div
"
,{
staticClass
:
"
app-container
"
},[
a
(
"
div
"
,{
staticClass
:
"
filter-container
"
},[
a
(
"
div
"
,{
staticClass
:
"
title-box
"
},[
a
(
"
img
"
,{
staticClass
:
"
back-png
"
,
attrs
:{
src
:
t
.
imgsrc
,
title
:
"
返回
"
},
on
:{
click
:
t
.
goback
}}),
t
.
_v
(
"
"
),
a
(
"
span
"
,[
t
.
_v
(
"
外呼策略
"
)]),
t
.
_v
(
"
"
),
a
(
"
span
"
,[
t
.
_v
(
"
/
"
)]),
t
.
_v
(
"
"
),
a
(
"
span
"
,[
t
.
_v
(
t
.
_s
(
t
.
$route
.
query
.
strategy_name
))])]),
t
.
_v
(
"
"
),
a
(
"
el-row
"
,[
a
(
"
div
"
,{
staticClass
:
"
dis-ib
"
},[
a
(
"
el-input
"
,{
staticStyle
:{
width
:
"
200px
"
},
attrs
:{
clearable
:
""
,
maxlength
:
"
11
"
,
placeholder
:
"
请输入手机号码
"
},
model
:{
value
:
t
.
listQuery
.
phone
,
callback
:
function
(
e
){
t
.
$set
(
t
.
listQuery
,
"
phone
"
,
e
)},
expression
:
"
listQuery.phone
"
}})],
1
),
t
.
_v
(
"
"
),
a
(
"
div
"
,{
staticClass
:
"
dis-ib
"
},[
a
(
"
el-select
"
,{
attrs
:{
placeholder
:
"
请选择处理状态
"
,
clearable
:
""
},
model
:{
value
:
t
.
listQuery
.
is_created
,
callback
:
function
(
e
){
t
.
$set
(
t
.
listQuery
,
"
is_created
"
,
e
)},
expression
:
"
listQuery.is_created
"
}},
t
.
_l
(
t
.
createdData
,(
function
(
t
){
return
a
(
"
el-option
"
,{
key
:
t
.
v
,
attrs
:{
label
:
t
.
k
,
value
:
t
.
v
}})})),
1
)],
1
),
t
.
_v
(
"
"
),
a
(
"
el-date-picker
"
,{
attrs
:{
type
:
"
datetimerange
"
,
"
range-separator
"
:
"
至
"
,
"
start-placeholder
"
:
"
选择外呼开始日期
"
,
"
end-placeholder
"
:
"
选择外呼结束日期
"
},
model
:{
value
:
t
.
dates
,
callback
:
function
(
e
){
t
.
dates
=
e
},
expression
:
"
dates
"
}}),
t
.
_v
(
"
"
),
a
(
"
el-button
"
,{
staticStyle
:{
padding
:
"
10px
"
},
attrs
:{
type
:
"
primary
"
,
icon
:
"
el-icon-search
"
},
on
:{
click
:
t
.
handleFilter
}})],
1
)],
1
),
t
.
_v
(
"
"
),
a
(
"
div
"
,{
staticClass
:
"
body-container
"
},[
a
(
"
el-table
"
,{
directives
:[{
name
:
"
loading
"
,
rawName
:
"
v-loading
"
,
value
:
t
.
listLoading
,
expression
:
"
listLoading
"
}],
ref
:
"
singleTable
"
,
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
data
:
t
.
list
,
border
:
""
,
fit
:
""
,
"
highlight-current-row
"
:
""
}},[
a
(
"
el-table-column
"
,{
attrs
:{
label
:
"
客户姓名
"
,
align
:
"
center
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
default
"
,
fn
:
function
(
e
){
var
n
=
e
.
row
;
return
[
a
(
"
span
"
,[
t
.
_v
(
t
.
_s
(
n
.
name
))])]}}])}),
t
.
_v
(
"
"
),
a
(
"
el-table-column
"
,{
attrs
:{
label
:
"
手机号码
"
,
align
:
"
center
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
default
"
,
fn
:
function
(
e
){
var
n
=
e
.
row
;
return
[
a
(
"
span
"
,[
t
.
_v
(
t
.
_s
(
n
.
phone
))])]}}])}),
t
.
_v
(
"
"
),
a
(
"
el-table-column
"
,{
attrs
:{
label
:
"
值班日期
"
,
align
:
"
center
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
default
"
,
fn
:
function
(
e
){
var
n
=
e
.
row
;
return
[
a
(
"
span
"
,[
t
.
_v
(
t
.
_s
(
n
.
duty_date
))])]}}])}),
t
.
_v
(
"
"
),
a
(
"
el-table-column
"
,{
attrs
:{
label
:
"
外呼日期
"
,
align
:
"
center
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
default
"
,
fn
:
function
(
e
){
var
n
=
e
.
row
;
return
[
a
(
"
span
"
,[
t
.
_v
(
t
.
_s
(
n
.
call_date
))])]}}])}),
t
.
_v
(
"
"
),
a
(
"
el-table-column
"
,{
attrs
:{
label
:
"
呼叫时间
"
,
align
:
"
center
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
default
"
,
fn
:
function
(
e
){
var
n
=
e
.
row
;
return
[
a
(
"
span
"
,[
t
.
_v
(
t
.
_s
(
n
.
call_time
))])]}}])}),
t
.
_v
(
"
"
),
a
(
"
el-table-column
"
,{
attrs
:{
label
:
"
话术流程
"
,
align
:
"
center
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
default
"
,
fn
:
function
(
e
){
var
n
=
e
.
row
;
return
[
a
(
"
span
"
,[
t
.
_v
(
t
.
_s
(
n
.
project_name
))])]}}])}),
t
.
_v
(
"
"
),
a
(
"
el-table-column
"
,{
attrs
:{
label
:
"
处理状态
"
,
align
:
"
center
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
default
"
,
fn
:
function
(
e
){
var
n
=
e
.
row
;
return
[
a
(
"
span
"
,[
t
.
_v
(
t
.
_s
(
n
.
is_created_name
))])]}}])}),
t
.
_v
(
"
"
),
a
(
"
el-table-column
"
,{
attrs
:{
label
:
"
导入时间
"
,
align
:
"
center
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
default
"
,
fn
:
function
(
e
){
var
n
=
e
.
row
;
return
[
a
(
"
span
"
,[
t
.
_v
(
t
.
_s
(
n
.
import_date
))])]}}])}),
t
.
_v
(
"
"
),
a
(
"
el-table-column
"
,{
attrs
:{
fixed
:
"
right
"
,
label
:
"
操作
"
,
align
:
"
center
"
,
width
:
"
180
"
,
"
class-name
"
:
"
small-padding fixed-width
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
default
"
,
fn
:
function
(
e
){
var
n
=
e
.
row
;
return
[
a
(
"
el-tooltip
"
,{
attrs
:{
content
:
"
查看
"
}},[
a
(
"
el-button
"
,{
attrs
:{
size
:
"
small
"
,
plain
:
""
,
icon
:
"
el-icon-tickets
"
},
on
:{
click
:
function
(
e
){
return
t
.
handleDetail
(
n
)}}})],
1
),
t
.
_v
(
"
"
),
a
(
"
el-tooltip
"
,{
attrs
:{
content
:
"
编辑
"
}},[
a
(
"
el-button
"
,{
attrs
:{
size
:
"
small
"
,
plain
:
""
,
icon
:
"
el-icon-edit-outline
"
},
on
:{
click
:
function
(
e
){
return
t
.
handleEdit
(
n
)}}})],
1
)]}}])})],
1
)],
1
),
t
.
_v
(
"
"
),
a
(
"
pagination
"
,{
directives
:[{
name
:
"
show
"
,
rawName
:
"
v-show
"
,
value
:
t
.
total
>
0
,
expression
:
"
total>0
"
}],
attrs
:{
total
:
t
.
total
,
page
:
t
.
listQuery
.
page
,
limit
:
t
.
listQuery
.
pageSize
},
on
:{
"
update:page
"
:
function
(
e
){
return
t
.
$set
(
t
.
listQuery
,
"
page
"
,
e
)},
"
update:limit
"
:
function
(
e
){
return
t
.
$set
(
t
.
listQuery
,
"
pageSize
"
,
e
)},
pagination
:
t
.
getList
}}),
t
.
_v
(
"
"
),
a
(
"
el-dialog
"
,{
attrs
:{
title
:
t
.
textMap
[
t
.
dialogStatus
],
"
append-to-body
"
:
!
0
,
width
:
"
600px
"
,
visible
:
t
.
dialogFormVisible
,
"
destroy-on-close
"
:
!
0
,
"
close-on-click-modal
"
:
!
1
},
on
:{
"
update:visible
"
:
function
(
e
){
t
.
dialogFormVisible
=
e
}}},[
t
.
dialogFormVisible
?
a
(
"
AddOrEdit
"
,{
attrs
:{
dialogStatus
:
t
.
dialogStatus
,
temp
:
t
.
temp
},
on
:{
save
:
t
.
addCallback
}}):
t
.
_e
()],
1
)],
1
)},
i
=
[],
l
=
(
a
(
"
6b54
"
),
a
(
"
7f7f
"
),
a
(
"
2423
"
)),
o
=
a
(
"
6724
"
),
r
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"
div
"
,{
staticClass
:
"
pagination-container
"
,
class
:{
hidden
:
t
.
hidden
}},[
a
(
"
el-pagination
"
,
t
.
_b
({
attrs
:{
background
:
t
.
background
,
"
current-page
"
:
t
.
currentPage
,
"
page-size
"
:
t
.
pageSize
,
layout
:
t
.
layout
,
"
page-sizes
"
:
t
.
pageSizes
,
total
:
t
.
total
},
on
:{
"
update:currentPage
"
:
function
(
e
){
t
.
currentPage
=
e
},
"
update:current-page
"
:
function
(
e
){
t
.
currentPage
=
e
},
"
update:pageSize
"
:
function
(
e
){
t
.
pageSize
=
e
},
"
update:page-size
"
:
function
(
e
){
t
.
pageSize
=
e
},
"
size-change
"
:
t
.
handleSizeChange
,
"
current-change
"
:
t
.
handleCurrentChange
}},
"
el-pagination
"
,
t
.
$attrs
,
!
1
))],
1
)},
s
=
[];
a
(
"
c5f6
"
);
Math
.
easeInOutQuad
=
function
(
t
,
e
,
a
,
n
){
return
t
/=
n
/
2
,
t
<
1
?
a
/
2
*
t
*
t
+
e
:(
t
--
,
-
a
/
2
*
(
t
*
(
t
-
2
)
-
1
)
+
e
)};
var
c
=
function
(){
return
window
.
requestAnimationFrame
||
window
.
webkitRequestAnimationFrame
||
window
.
mozRequestAnimationFrame
||
function
(
t
){
window
.
setTimeout
(
t
,
1
e3
/
60
)}}();
function
u
(
t
){
document
.
documentElement
.
scrollTop
=
t
,
document
.
body
.
parentNode
.
scrollTop
=
t
,
document
.
body
.
scrollTop
=
t
}
function
d
(){
return
document
.
documentElement
.
scrollTop
||
document
.
body
.
parentNode
.
scrollTop
||
document
.
body
.
scrollTop
}
function
p
(
t
,
e
,
a
){
var
n
=
d
(),
i
=
t
-
n
,
l
=
20
,
o
=
0
;
e
=
"
undefined
"
===
typeof
e
?
500
:
e
;
var
r
=
function
t
(){
o
+=
l
;
var
r
=
Math
.
easeInOutQuad
(
o
,
n
,
i
,
e
);
u
(
r
),
o
<
e
?
c
(
t
):
a
&&
"
function
"
===
typeof
a
&&
a
()};
r
()}
var
m
=
{
name
:
"
Pagination
"
,
props
:{
total
:{
required
:
!
0
,
type
:
Number
},
page
:{
type
:
Number
,
default
:
1
},
limit
:{
type
:
Number
,
default
:
20
},
pageSizes
:{
type
:
Array
,
default
:
function
(){
return
[
10
,
20
,
30
,
50
]}},
layout
:{
type
:
String
,
default
:
"
total, sizes, prev, pager, next, jumper
"
},
background
:{
type
:
Boolean
,
default
:
!
0
},
autoScroll
:{
type
:
Boolean
,
default
:
!
0
},
hidden
:{
type
:
Boolean
,
default
:
!
1
}},
computed
:{
currentPage
:{
get
:
function
(){
return
this
.
page
},
set
:
function
(
t
){
this
.
$emit
(
"
update:page
"
,
t
)}},
pageSize
:{
get
:
function
(){
return
this
.
limit
},
set
:
function
(
t
){
this
.
$emit
(
"
update:limit
"
,
t
)}}},
methods
:{
handleSizeChange
:
function
(
t
){
this
.
$emit
(
"
pagination
"
,{
page
:
this
.
currentPage
,
limit
:
t
}),
this
.
autoScroll
&&
p
(
0
,
800
)},
handleCurrentChange
:
function
(
t
){
this
.
$emit
(
"
pagination
"
,{
page
:
t
,
limit
:
this
.
pageSize
}),
this
.
autoScroll
&&
p
(
0
,
800
)}}},
f
=
m
,
g
=
(
a
(
"
2faa
"
),
a
(
"
2877
"
)),
b
=
Object
(
g
[
"
a
"
])(
f
,
r
,
s
,
!
1
,
null
,
"
5d204799
"
,
null
),
h
=
b
.
exports
,
v
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"
div
"
,[
a
(
"
div
"
,[
a
(
"
el-form
"
,{
ref
:
"
dataForm
"
,
attrs
:{
rules
:
t
.
rules
,
model
:
t
.
temp
,
"
label-position
"
:
"
top
"
,
"
label-width
"
:
"
80px
"
}},[
a
(
"
el-form-item
"
,{
attrs
:{
label
:
"
手机号码
"
,
prop
:
"
phone
"
}},[
a
(
"
el-input
"
,{
attrs
:{
type
:
"
number
"
,
disabled
:
"
detail
"
===
t
.
dialogStatus
||
1
===
t
.
temp
.
is_created
,
clearable
:
""
},
model
:{
value
:
t
.
temp
.
phone
,
callback
:
function
(
e
){
t
.
$set
(
t
.
temp
,
"
phone
"
,
e
)},
expression
:
"
temp.phone
"
}})],
1
),
t
.
_v
(
"
"
),
a
(
"
el-form-item
"
,{
attrs
:{
label
:
"
客户姓名
"
,
prop
:
"
name
"
}},[
a
(
"
el-input
"
,{
attrs
:{
maxlength
:
"
20
"
,
disabled
:
"
detail
"
===
t
.
dialogStatus
||
1
===
t
.
temp
.
is_created
,
clearable
:
""
},
model
:{
value
:
t
.
temp
.
name
,
callback
:
function
(
e
){
t
.
$set
(
t
.
temp
,
"
name
"
,
e
)},
expression
:
"
temp.name
"
}})],
1
),
t
.
_v
(
"
"
),
a
(
"
el-form-item
"
,{
attrs
:{
label
:
"
值班日期
"
,
prop
:
"
duty_date
"
}},[
a
(
"
el-input
"
,{
attrs
:{
disabled
:
""
,
clearable
:
""
},
model
:{
value
:
t
.
temp
.
duty_date
,
callback
:
function
(
e
){
t
.
$set
(
t
.
temp
,
"
duty_date
"
,
e
)},
expression
:
"
temp.duty_date
"
}})],
1
),
t
.
_v
(
"
"
),
a
(
"
el-form-item
"
,{
attrs
:{
label
:
"
外呼日期
"
,
prop
:
"
call_date
"
}},[
a
(
"
el-input
"
,{
attrs
:{
disabled
:
""
,
clearable
:
""
},
model
:{
value
:
t
.
temp
.
call_date
,
callback
:
function
(
e
){
t
.
$set
(
t
.
temp
,
"
call_date
"
,
e
)},
expression
:
"
temp.call_date
"
}})],
1
),
t
.
_v
(
"
"
),
a
(
"
el-form-item
"
,{
attrs
:{
label
:
"
话术流程
"
,
prop
:
"
project_name
"
}},[
a
(
"
el-input
"
,{
attrs
:{
disabled
:
""
,
clearable
:
""
},
model
:{
value
:
t
.
temp
.
project_name
,
callback
:
function
(
e
){
t
.
$set
(
t
.
temp
,
"
project_name
"
,
e
)},
expression
:
"
temp.project_name
"
}})],
1
),
t
.
_v
(
"
"
),
a
(
"
el-form-item
"
,{
attrs
:{
label
:
"
外呼时间
"
,
prop
:
"
call_time
"
}},[
a
(
"
el-time-picker
"
,{
attrs
:{
editable
:
!
1
,
disabled
:
"
detail
"
===
t
.
dialogStatus
||
1
===
t
.
temp
.
is_created
,
"
value-format
"
:
"
HH:mm:ss
"
,
"
picker-options
"
:{
selectableRange
:
"
00:00:00 - 23:59:59
"
},
placeholder
:
"
请选择呼叫时间点
"
},
model
:{
value
:
t
.
temp
.
call_time
,
callback
:
function
(
e
){
t
.
$set
(
t
.
temp
,
"
call_time
"
,
e
)},
expression
:
"
temp.call_time
"
}})],
1
)],
1
)],
1
),
t
.
_v
(
"
"
),
a
(
"
div
"
,{
staticClass
:
"
dialog-footer text-rt
"
,
attrs
:{
slot
:
"
footer
"
},
slot
:
"
footer
"
},[
a
(
"
el-button
"
,{
on
:{
click
:
function
(
e
){
return
t
.
saveData
(
0
)}}},[
t
.
_v
(
"
取消
"
)]),
t
.
_v
(
"
"
),
"
update
"
===
t
.
dialogStatus
?
a
(
"
el-button
"
,{
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(
e
){
return
t
.
saveData
(
1
)}}},[
t
.
_v
(
"
确定
"
)]):
t
.
_e
()],
1
)])},
_
=
[],
y
=
{
name
:
"
AddOrEdit
"
,
props
:[
"
dialogStatus
"
,
"
temp
"
],
data
:
function
(){
var
t
=
function
(
t
,
e
,
a
){
/^
[
1
][
0
-
9
]{
10
}
$
/
.
test
(
String
(
e
||
""
))?
a
():
a
(
new
Error
(
"
请输入11位手机号
"
))};
return
{
typeOptions
:[{
value
:
1
,
key
:
"
Web端
"
},{
value
:
2
,
key
:
"
后台代码
"
}],
rules
:{
phone
:[{
required
:
!
0
,
message
:
"
手机号码必填且不能超过11位字符
"
,
validator
:
t
,
trigger
:
"
blur
"
}],
call_time
:[{
required
:
!
0
,
message
:
"
呼叫设置时间必选
"
,
trigger
:
"
blur
"
}]}}},
created
:
function
(){},
methods
:{
saveData
:
function
(
t
){
var
e
=
this
;
"
update
"
===
this
.
dialogStatus
&&
t
?
this
.
$refs
[
"
dataForm
"
].
validate
((
function
(
t
){
if
(
t
){
var
a
=
e
.
temp
,
n
=
a
.
name
,
i
=
a
.
phone
,
o
=
a
.
call_time
,
r
=
{
id
:
e
.
temp
.
id
,
user_sn
:
e
.
$publicTools
.
decrypt
(
localStorage
.
getItem
(
"
user_sn
"
)),
name
:
n
,
phone
:
i
,
call_time
:
o
},
s
=
e
.
$loading
({
lock
:
!
0
,
text
:
"
Loading
"
,
spinner
:
"
el-icon-loading
"
,
background
:
"
rgba(0, 0, 0, 0.7)
"
});
Object
(
l
[
"
e
"
])(
r
).
then
((
function
(
t
){
s
.
close
(),
e
.
$emit
(
"
save
"
,
1
),
e
.
$message
({
message
:
"
[object Object]
"
===
Object
.
prototype
.
toString
.
call
(
t
)
&&
t
.
info
?
t
.
info
:
"
更新成功
"
,
type
:
"
success
"
})})).
catch
((
function
(){
s
.
close
()}))}})):
this
.
$emit
(
"
save
"
)}}},
k
=
y
,
w
=
Object
(
g
[
"
a
"
])(
k
,
v
,
_
,
!
1
,
null
,
null
,
null
),
S
=
w
.
exports
,
x
=
a
(
"
a11e
"
),
$
=
a
.
n
(
x
),
j
=
{
name
:
"
TaskData
"
,
components
:{
Pagination
:
h
,
AddOrEdit
:
S
},
directives
:{
waves
:
o
[
"
a
"
]},
filters
:{},
data
:
function
(){
return
{
imgsrc
:
$
.
a
,
dates
:
""
,
textMap
:{
detail
:
"
外呼详情
"
,
update
:
"
编辑详情
"
},
createdData
:[{
v
:
0
,
k
:
"
未建
"
},{
v
:
1
,
k
:
"
已建
"
}],
list
:[],
total
:
0
,
listLoading
:
!
1
,
listQuery
:{
user_sn
:
this
.
$publicTools
.
decrypt
(
localStorage
.
getItem
(
"
user_sn
"
)),
page
:
1
,
pageSize
:
20
,
phone
:
""
,
started_at
:
""
,
stoped_at
:
""
,
is_created
:
""
,
strategy_sn
:
this
.
$route
.
query
.
strategy_sn
},
temp
:{},
dialogFormVisible
:
!
1
,
dialogStatus
:
""
}},
created
:
function
(){
this
.
getList
()},
watch
:{
dates
:
function
(
t
){
Array
.
isArray
(
t
)?(
t
.
length
>
0
&&
(
this
.
listQuery
.
started_at
=
this
.
$moment
(
t
[
0
]).
format
(
"
YYYY-MM-DD HH:mm:ss
"
)),
t
.
length
>
1
&&
(
this
.
listQuery
.
stoped_at
=
this
.
$moment
(
t
[
1
]).
format
(
"
YYYY-MM-DD HH:mm:ss
"
))):(
this
.
listQuery
.
started_at
=
""
,
this
.
listQuery
.
stoped_at
=
""
)},
$route
:
function
(
t
){
"
TaskData
"
===
t
.
name
&&
(
this
.
listQuery
.
strategy_sn
=
t
.
query
.
strategy_sn
,
this
.
getList
())}},
methods
:{
goback
:
function
(){
this
.
$router
.
go
(
-
1
)},
addCallback
:
function
(
t
){
this
.
dialogFormVisible
=!
1
,
1
===
t
&&
this
.
getList
()},
getList
:
function
(){
var
t
=
this
;
this
.
listLoading
=!
0
,
Object
(
l
[
"
i
"
])(
this
.
listQuery
).
then
((
function
(
e
){
t
.
listLoading
=!
1
,
"
[object Object]
"
===
Object
.
prototype
.
toString
.
call
(
e
.
info
)?(
t
.
total
=
e
.
info
.
total
||
0
,
Array
.
isArray
(
e
.
info
.
data
)?
t
.
list
=
e
.
info
.
data
:
t
.
list
=
[]):(
t
.
total
=
0
,
t
.
list
=
[])})).
catch
((
function
(){
t
.
listLoading
=!
1
}))},
handleFilter
:
function
(){
this
.
listQuery
.
page
=
1
,
this
.
getList
()},
handleEdit
:
function
(
t
){
this
.
temp
=
this
.
$publicTools
.
deepClone
(
t
),
this
.
dialogStatus
=
"
update
"
,
this
.
dialogFormVisible
=!
0
},
handleDetail
:
function
(
t
){
this
.
temp
=
this
.
$publicTools
.
deepClone
(
t
),
this
.
dialogStatus
=
"
detail
"
,
this
.
dialogFormVisible
=!
0
}}},
O
=
j
,
C
=
(
a
(
"
3dfd
"
),
Object
(
g
[
"
a
"
])(
O
,
n
,
i
,
!
1
,
null
,
"
75d01270
"
,
null
));
e
[
"
default
"
]
=
C
.
exports
},
"
2faa
"
:
function
(
t
,
e
,
a
){
"
use strict
"
;
var
n
=
a
(
"
c9b5
"
),
i
=
a
.
n
(
n
);
i
.
a
},
"
3dfd
"
:
function
(
t
,
e
,
a
){
"
use strict
"
;
var
n
=
a
(
"
42b1
"
),
i
=
a
.
n
(
n
);
i
.
a
},
"
42b1
"
:
function
(
t
,
e
,
a
){},
6724
:
function
(
t
,
e
,
a
){
"
use strict
"
;
a
(
"
8d41
"
);
var
n
=
"
@@wavesContext
"
;
function
i
(
t
,
e
){
function
a
(
a
){
var
n
=
Object
.
assign
({},
e
.
value
),
i
=
Object
.
assign
({
ele
:
t
,
type
:
"
hit
"
,
color
:
"
rgba(0, 0, 0, 0.15)
"
},
n
),
l
=
i
.
ele
;
if
(
l
){
l
.
style
.
position
=
"
relative
"
,
l
.
style
.
overflow
=
"
hidden
"
;
var
o
=
l
.
getBoundingClientRect
(),
r
=
l
.
querySelector
(
"
.waves-ripple
"
);
switch
(
r
?
r
.
className
=
"
waves-ripple
"
:(
r
=
document
.
createElement
(
"
span
"
),
r
.
className
=
"
waves-ripple
"
,
r
.
style
.
height
=
r
.
style
.
width
=
Math
.
max
(
o
.
width
,
o
.
height
)
+
"
px
"
,
l
.
appendChild
(
r
)),
i
.
type
){
case
"
center
"
:
r
.
style
.
top
=
o
.
height
/
2
-
r
.
offsetHeight
/
2
+
"
px
"
,
r
.
style
.
left
=
o
.
width
/
2
-
r
.
offsetWidth
/
2
+
"
px
"
;
break
;
default
:
r
.
style
.
top
=
(
a
.
pageY
-
o
.
top
-
r
.
offsetHeight
/
2
-
document
.
documentElement
.
scrollTop
||
document
.
body
.
scrollTop
)
+
"
px
"
,
r
.
style
.
left
=
(
a
.
pageX
-
o
.
left
-
r
.
offsetWidth
/
2
-
document
.
documentElement
.
scrollLeft
||
document
.
body
.
scrollLeft
)
+
"
px
"
}
return
r
.
style
.
backgroundColor
=
i
.
color
,
r
.
className
=
"
waves-ripple z-active
"
,
!
1
}}
return
t
[
n
]?
t
[
n
].
removeHandle
=
a
:
t
[
n
]
=
{
removeHandle
:
a
},
a
}
var
l
=
{
bind
:
function
(
t
,
e
){
t
.
addEventListener
(
"
click
"
,
i
(
t
,
e
),
!
1
)},
update
:
function
(
t
,
e
){
t
.
removeEventListener
(
"
click
"
,
t
[
n
].
removeHandle
,
!
1
),
t
.
addEventListener
(
"
click
"
,
i
(
t
,
e
),
!
1
)},
unbind
:
function
(
t
){
t
.
removeEventListener
(
"
click
"
,
t
[
n
].
removeHandle
,
!
1
),
t
[
n
]
=
null
,
delete
t
[
n
]}},
o
=
function
(
t
){
t
.
directive
(
"
waves
"
,
l
)};
window
.
Vue
&&
(
window
.
waves
=
l
,
Vue
.
use
(
o
)),
l
.
install
=
o
;
e
[
"
a
"
]
=
l
},
"
8d41
"
:
function
(
t
,
e
,
a
){},
a11e
:
function
(
t
,
e
,
a
){
t
.
exports
=
a
.
p
+
"
static/img/back.6a45bcc8.svg
"
},
c9b5
:
function
(
t
,
e
,
a
){}}]);
\ No newline at end of file
(
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
chunk-da7260b2
"
],{
2423
:
function
(
t
,
e
,
a
){
"
use strict
"
;
a
.
d
(
e
,
"
a
"
,(
function
(){
return
i
})),
a
.
d
(
e
,
"
h
"
,(
function
(){
return
l
})),
a
.
d
(
e
,
"
g
"
,(
function
(){
return
o
})),
a
.
d
(
e
,
"
f
"
,(
function
(){
return
r
})),
a
.
d
(
e
,
"
j
"
,(
function
(){
return
s
})),
a
.
d
(
e
,
"
d
"
,(
function
(){
return
c
})),
a
.
d
(
e
,
"
c
"
,(
function
(){
return
u
})),
a
.
d
(
e
,
"
k
"
,(
function
(){
return
d
})),
a
.
d
(
e
,
"
i
"
,(
function
(){
return
p
})),
a
.
d
(
e
,
"
e
"
,(
function
(){
return
m
})),
a
.
d
(
e
,
"
b
"
,(
function
(){
return
f
}));
var
n
=
a
(
"
b775
"
);
function
i
(
t
){
return
Object
(
n
[
"
a
"
])({
url
:
"
/api/strategySet
"
,
method
:
"
post
"
,
data
:
t
})}
function
l
(
t
){
return
Object
(
n
[
"
a
"
])({
url
:
"
/api/strategySet
"
,
method
:
"
get
"
,
params
:
t
})}
function
o
(
t
){
return
Object
(
n
[
"
a
"
])({
url
:
"
/api/strategy/getProjectsList
"
,
method
:
"
post
"
,
data
:
t
})}
function
r
(
t
){
return
Object
(
n
[
"
a
"
])({
url
:
"
/api/strategy/getCallNumberList
"
,
method
:
"
post
"
,
data
:
t
})}
function
s
(
t
){
return
Object
(
n
[
"
a
"
])({
url
:
"
/api/strategy/getUsersList
"
,
method
:
"
post
"
,
data
:
t
})}
function
c
(
t
){
var
e
=
"
https://test117.ciopaas.com:81/
"
;
window
.
open
(
e
+
(
"
/
"
===
e
.
slice
(
e
.
length
-
1
)?
""
:
"
/
"
)
+
"
api/strategy/downloadModel?user_sn=
"
+
t
.
user_sn
)}
function
u
(
t
){
var
e
=
"
https://test117.ciopaas.com:81/
"
;
window
.
open
(
e
+
(
"
/
"
===
e
.
slice
(
e
.
length
-
1
)?
""
:
"
/
"
)
+
"
api/strategy/downloadFailExcel?user_sn=
"
+
t
.
user_sn
+
"
&filename=
"
+
t
.
filename
)}
function
d
(
t
){
return
Object
(
n
[
"
a
"
])({
url
:
"
/api/strategy/importExcelData
"
,
method
:
"
post
"
,
data
:
t
})}
function
p
(
t
){
return
Object
(
n
[
"
a
"
])({
url
:
"
/api/strategyTask
"
,
method
:
"
get
"
,
params
:
t
})}
function
m
(
t
){
return
Object
(
n
[
"
a
"
])({
url
:
"
/api/strategyTask/
"
.
concat
(
t
.
id
),
method
:
"
PUT
"
,
data
:
t
})}
function
f
(
t
){
return
Object
(
n
[
"
a
"
])({
url
:
"
/api/strategySet/
"
+
t
.
strategy_sn
+
"
?user_sn=
"
+
t
.
user_sn
,
method
:
"
delete
"
})}},
"
262f
"
:
function
(
t
,
e
,
a
){
"
use strict
"
;
a
.
r
(
e
);
var
n
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"
div
"
,{
staticClass
:
"
app-container
"
},[
a
(
"
div
"
,{
staticClass
:
"
filter-container
"
},[
a
(
"
div
"
,{
staticClass
:
"
title-box
"
},[
a
(
"
img
"
,{
staticClass
:
"
back-png
"
,
attrs
:{
src
:
t
.
imgsrc
,
title
:
"
返回
"
},
on
:{
click
:
t
.
goback
}}),
t
.
_v
(
"
"
),
a
(
"
span
"
,[
t
.
_v
(
"
外呼策略
"
)]),
t
.
_v
(
"
"
),
a
(
"
span
"
,[
t
.
_v
(
"
/
"
)]),
t
.
_v
(
"
"
),
a
(
"
span
"
,[
t
.
_v
(
t
.
_s
(
t
.
$route
.
query
.
strategy_name
))])]),
t
.
_v
(
"
"
),
a
(
"
el-row
"
,[
a
(
"
div
"
,{
staticClass
:
"
dis-ib
"
},[
a
(
"
el-input
"
,{
staticStyle
:{
width
:
"
200px
"
},
attrs
:{
clearable
:
""
,
maxlength
:
"
11
"
,
placeholder
:
"
请输入手机号码
"
},
model
:{
value
:
t
.
listQuery
.
phone
,
callback
:
function
(
e
){
t
.
$set
(
t
.
listQuery
,
"
phone
"
,
e
)},
expression
:
"
listQuery.phone
"
}})],
1
),
t
.
_v
(
"
"
),
a
(
"
div
"
,{
staticClass
:
"
dis-ib
"
},[
a
(
"
el-select
"
,{
attrs
:{
placeholder
:
"
请选择处理状态
"
,
clearable
:
""
},
model
:{
value
:
t
.
listQuery
.
is_created
,
callback
:
function
(
e
){
t
.
$set
(
t
.
listQuery
,
"
is_created
"
,
e
)},
expression
:
"
listQuery.is_created
"
}},
t
.
_l
(
t
.
createdData
,(
function
(
t
){
return
a
(
"
el-option
"
,{
key
:
t
.
v
,
attrs
:{
label
:
t
.
k
,
value
:
t
.
v
}})})),
1
)],
1
),
t
.
_v
(
"
"
),
a
(
"
el-date-picker
"
,{
attrs
:{
type
:
"
datetimerange
"
,
"
range-separator
"
:
"
至
"
,
"
start-placeholder
"
:
"
选择外呼开始日期
"
,
"
end-placeholder
"
:
"
选择外呼结束日期
"
},
model
:{
value
:
t
.
dates
,
callback
:
function
(
e
){
t
.
dates
=
e
},
expression
:
"
dates
"
}}),
t
.
_v
(
"
"
),
a
(
"
el-button
"
,{
staticStyle
:{
padding
:
"
10px
"
},
attrs
:{
type
:
"
primary
"
,
icon
:
"
el-icon-search
"
},
on
:{
click
:
t
.
handleFilter
}})],
1
)],
1
),
t
.
_v
(
"
"
),
a
(
"
div
"
,{
staticClass
:
"
body-container
"
},[
a
(
"
el-table
"
,{
directives
:[{
name
:
"
loading
"
,
rawName
:
"
v-loading
"
,
value
:
t
.
listLoading
,
expression
:
"
listLoading
"
}],
ref
:
"
singleTable
"
,
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
data
:
t
.
list
,
border
:
""
,
fit
:
""
,
"
highlight-current-row
"
:
""
}},[
a
(
"
el-table-column
"
,{
attrs
:{
label
:
"
客户姓名
"
,
align
:
"
center
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
default
"
,
fn
:
function
(
e
){
var
n
=
e
.
row
;
return
[
a
(
"
span
"
,[
t
.
_v
(
t
.
_s
(
n
.
name
))])]}}])}),
t
.
_v
(
"
"
),
a
(
"
el-table-column
"
,{
attrs
:{
label
:
"
手机号码
"
,
align
:
"
center
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
default
"
,
fn
:
function
(
e
){
var
n
=
e
.
row
;
return
[
a
(
"
span
"
,[
t
.
_v
(
t
.
_s
(
n
.
phone
))])]}}])}),
t
.
_v
(
"
"
),
a
(
"
el-table-column
"
,{
attrs
:{
label
:
"
值班日期
"
,
align
:
"
center
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
default
"
,
fn
:
function
(
e
){
var
n
=
e
.
row
;
return
[
a
(
"
span
"
,[
t
.
_v
(
t
.
_s
(
n
.
duty_date
))])]}}])}),
t
.
_v
(
"
"
),
a
(
"
el-table-column
"
,{
attrs
:{
label
:
"
外呼日期
"
,
align
:
"
center
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
default
"
,
fn
:
function
(
e
){
var
n
=
e
.
row
;
return
[
a
(
"
span
"
,[
t
.
_v
(
t
.
_s
(
n
.
call_date
))])]}}])}),
t
.
_v
(
"
"
),
a
(
"
el-table-column
"
,{
attrs
:{
label
:
"
呼叫时间
"
,
align
:
"
center
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
default
"
,
fn
:
function
(
e
){
var
n
=
e
.
row
;
return
[
a
(
"
span
"
,[
t
.
_v
(
t
.
_s
(
n
.
call_time
))])]}}])}),
t
.
_v
(
"
"
),
a
(
"
el-table-column
"
,{
attrs
:{
label
:
"
话术流程
"
,
align
:
"
center
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
default
"
,
fn
:
function
(
e
){
var
n
=
e
.
row
;
return
[
a
(
"
span
"
,[
t
.
_v
(
t
.
_s
(
n
.
project_name
))])]}}])}),
t
.
_v
(
"
"
),
a
(
"
el-table-column
"
,{
attrs
:{
label
:
"
处理状态
"
,
align
:
"
center
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
default
"
,
fn
:
function
(
e
){
var
n
=
e
.
row
;
return
[
a
(
"
span
"
,[
t
.
_v
(
t
.
_s
(
n
.
is_created_name
))])]}}])}),
t
.
_v
(
"
"
),
a
(
"
el-table-column
"
,{
attrs
:{
label
:
"
导入时间
"
,
align
:
"
center
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
default
"
,
fn
:
function
(
e
){
var
n
=
e
.
row
;
return
[
a
(
"
span
"
,[
t
.
_v
(
t
.
_s
(
n
.
import_date
))])]}}])}),
t
.
_v
(
"
"
),
a
(
"
el-table-column
"
,{
attrs
:{
fixed
:
"
right
"
,
label
:
"
操作
"
,
align
:
"
center
"
,
width
:
"
180
"
,
"
class-name
"
:
"
small-padding fixed-width
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
default
"
,
fn
:
function
(
e
){
var
n
=
e
.
row
;
return
[
a
(
"
el-tooltip
"
,{
attrs
:{
content
:
"
查看
"
}},[
a
(
"
el-button
"
,{
attrs
:{
size
:
"
small
"
,
plain
:
""
,
icon
:
"
el-icon-tickets
"
},
on
:{
click
:
function
(
e
){
return
t
.
handleDetail
(
n
)}}})],
1
),
t
.
_v
(
"
"
),
a
(
"
el-tooltip
"
,{
attrs
:{
content
:
"
编辑
"
}},[
a
(
"
el-button
"
,{
attrs
:{
size
:
"
small
"
,
plain
:
""
,
icon
:
"
el-icon-edit-outline
"
},
on
:{
click
:
function
(
e
){
return
t
.
handleEdit
(
n
)}}})],
1
)]}}])})],
1
)],
1
),
t
.
_v
(
"
"
),
a
(
"
pagination
"
,{
directives
:[{
name
:
"
show
"
,
rawName
:
"
v-show
"
,
value
:
t
.
total
>
0
,
expression
:
"
total>0
"
}],
attrs
:{
total
:
t
.
total
,
page
:
t
.
listQuery
.
page
,
limit
:
t
.
listQuery
.
pageSize
},
on
:{
"
update:page
"
:
function
(
e
){
return
t
.
$set
(
t
.
listQuery
,
"
page
"
,
e
)},
"
update:limit
"
:
function
(
e
){
return
t
.
$set
(
t
.
listQuery
,
"
pageSize
"
,
e
)},
pagination
:
t
.
getList
}}),
t
.
_v
(
"
"
),
a
(
"
el-dialog
"
,{
attrs
:{
title
:
t
.
textMap
[
t
.
dialogStatus
],
"
append-to-body
"
:
!
0
,
width
:
"
600px
"
,
visible
:
t
.
dialogFormVisible
,
"
destroy-on-close
"
:
!
0
,
"
close-on-click-modal
"
:
!
1
},
on
:{
"
update:visible
"
:
function
(
e
){
t
.
dialogFormVisible
=
e
}}},[
t
.
dialogFormVisible
?
a
(
"
AddOrEdit
"
,{
attrs
:{
dialogStatus
:
t
.
dialogStatus
,
temp
:
t
.
temp
},
on
:{
save
:
t
.
addCallback
}}):
t
.
_e
()],
1
)],
1
)},
i
=
[],
l
=
(
a
(
"
6b54
"
),
a
(
"
7f7f
"
),
a
(
"
2423
"
)),
o
=
a
(
"
6724
"
),
r
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"
div
"
,{
staticClass
:
"
pagination-container
"
,
class
:{
hidden
:
t
.
hidden
}},[
a
(
"
el-pagination
"
,
t
.
_b
({
attrs
:{
background
:
t
.
background
,
"
current-page
"
:
t
.
currentPage
,
"
page-size
"
:
t
.
pageSize
,
layout
:
t
.
layout
,
"
page-sizes
"
:
t
.
pageSizes
,
total
:
t
.
total
},
on
:{
"
update:currentPage
"
:
function
(
e
){
t
.
currentPage
=
e
},
"
update:current-page
"
:
function
(
e
){
t
.
currentPage
=
e
},
"
update:pageSize
"
:
function
(
e
){
t
.
pageSize
=
e
},
"
update:page-size
"
:
function
(
e
){
t
.
pageSize
=
e
},
"
size-change
"
:
t
.
handleSizeChange
,
"
current-change
"
:
t
.
handleCurrentChange
}},
"
el-pagination
"
,
t
.
$attrs
,
!
1
))],
1
)},
s
=
[];
a
(
"
c5f6
"
);
Math
.
easeInOutQuad
=
function
(
t
,
e
,
a
,
n
){
return
t
/=
n
/
2
,
t
<
1
?
a
/
2
*
t
*
t
+
e
:(
t
--
,
-
a
/
2
*
(
t
*
(
t
-
2
)
-
1
)
+
e
)};
var
c
=
function
(){
return
window
.
requestAnimationFrame
||
window
.
webkitRequestAnimationFrame
||
window
.
mozRequestAnimationFrame
||
function
(
t
){
window
.
setTimeout
(
t
,
1
e3
/
60
)}}();
function
u
(
t
){
document
.
documentElement
.
scrollTop
=
t
,
document
.
body
.
parentNode
.
scrollTop
=
t
,
document
.
body
.
scrollTop
=
t
}
function
d
(){
return
document
.
documentElement
.
scrollTop
||
document
.
body
.
parentNode
.
scrollTop
||
document
.
body
.
scrollTop
}
function
p
(
t
,
e
,
a
){
var
n
=
d
(),
i
=
t
-
n
,
l
=
20
,
o
=
0
;
e
=
"
undefined
"
===
typeof
e
?
500
:
e
;
var
r
=
function
t
(){
o
+=
l
;
var
r
=
Math
.
easeInOutQuad
(
o
,
n
,
i
,
e
);
u
(
r
),
o
<
e
?
c
(
t
):
a
&&
"
function
"
===
typeof
a
&&
a
()};
r
()}
var
m
=
{
name
:
"
Pagination
"
,
props
:{
total
:{
required
:
!
0
,
type
:
Number
},
page
:{
type
:
Number
,
default
:
1
},
limit
:{
type
:
Number
,
default
:
20
},
pageSizes
:{
type
:
Array
,
default
:
function
(){
return
[
10
,
20
,
30
,
50
]}},
layout
:{
type
:
String
,
default
:
"
total, sizes, prev, pager, next, jumper
"
},
background
:{
type
:
Boolean
,
default
:
!
0
},
autoScroll
:{
type
:
Boolean
,
default
:
!
0
},
hidden
:{
type
:
Boolean
,
default
:
!
1
}},
computed
:{
currentPage
:{
get
:
function
(){
return
this
.
page
},
set
:
function
(
t
){
this
.
$emit
(
"
update:page
"
,
t
)}},
pageSize
:{
get
:
function
(){
return
this
.
limit
},
set
:
function
(
t
){
this
.
$emit
(
"
update:limit
"
,
t
)}}},
methods
:{
handleSizeChange
:
function
(
t
){
this
.
$emit
(
"
pagination
"
,{
page
:
this
.
currentPage
,
limit
:
t
}),
this
.
autoScroll
&&
p
(
0
,
800
)},
handleCurrentChange
:
function
(
t
){
this
.
$emit
(
"
pagination
"
,{
page
:
t
,
limit
:
this
.
pageSize
}),
this
.
autoScroll
&&
p
(
0
,
800
)}}},
f
=
m
,
g
=
(
a
(
"
2faa
"
),
a
(
"
2877
"
)),
h
=
Object
(
g
[
"
a
"
])(
f
,
r
,
s
,
!
1
,
null
,
"
5d204799
"
,
null
),
b
=
h
.
exports
,
v
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"
div
"
,[
a
(
"
div
"
,[
a
(
"
el-form
"
,{
ref
:
"
dataForm
"
,
attrs
:{
rules
:
t
.
rules
,
model
:
t
.
temp
,
"
label-position
"
:
"
top
"
,
"
label-width
"
:
"
80px
"
}},[
a
(
"
el-form-item
"
,{
attrs
:{
label
:
"
手机号码
"
,
prop
:
"
phone
"
}},[
a
(
"
el-input
"
,{
attrs
:{
type
:
"
number
"
,
disabled
:
"
detail
"
===
t
.
dialogStatus
||
1
===
t
.
temp
.
is_created
,
clearable
:
""
},
model
:{
value
:
t
.
temp
.
phone
,
callback
:
function
(
e
){
t
.
$set
(
t
.
temp
,
"
phone
"
,
e
)},
expression
:
"
temp.phone
"
}})],
1
),
t
.
_v
(
"
"
),
a
(
"
el-form-item
"
,{
attrs
:{
label
:
"
客户姓名
"
,
prop
:
"
name
"
}},[
a
(
"
el-input
"
,{
attrs
:{
maxlength
:
"
20
"
,
disabled
:
"
detail
"
===
t
.
dialogStatus
||
1
===
t
.
temp
.
is_created
,
clearable
:
""
},
model
:{
value
:
t
.
temp
.
name
,
callback
:
function
(
e
){
t
.
$set
(
t
.
temp
,
"
name
"
,
e
)},
expression
:
"
temp.name
"
}})],
1
),
t
.
_v
(
"
"
),
a
(
"
el-form-item
"
,{
attrs
:{
label
:
"
值班日期
"
,
prop
:
"
duty_date
"
}},[
a
(
"
el-input
"
,{
attrs
:{
disabled
:
""
,
clearable
:
""
},
model
:{
value
:
t
.
temp
.
duty_date
,
callback
:
function
(
e
){
t
.
$set
(
t
.
temp
,
"
duty_date
"
,
e
)},
expression
:
"
temp.duty_date
"
}})],
1
),
t
.
_v
(
"
"
),
a
(
"
el-form-item
"
,{
attrs
:{
label
:
"
外呼日期
"
,
prop
:
"
call_date
"
}},[
a
(
"
el-input
"
,{
attrs
:{
disabled
:
""
,
clearable
:
""
},
model
:{
value
:
t
.
temp
.
call_date
,
callback
:
function
(
e
){
t
.
$set
(
t
.
temp
,
"
call_date
"
,
e
)},
expression
:
"
temp.call_date
"
}})],
1
),
t
.
_v
(
"
"
),
a
(
"
el-form-item
"
,{
attrs
:{
label
:
"
话术流程
"
,
prop
:
"
project_name
"
}},[
a
(
"
el-input
"
,{
attrs
:{
disabled
:
""
,
clearable
:
""
},
model
:{
value
:
t
.
temp
.
project_name
,
callback
:
function
(
e
){
t
.
$set
(
t
.
temp
,
"
project_name
"
,
e
)},
expression
:
"
temp.project_name
"
}})],
1
),
t
.
_v
(
"
"
),
a
(
"
el-form-item
"
,{
attrs
:{
label
:
"
外呼时间
"
,
prop
:
"
call_time
"
}},[
a
(
"
el-time-picker
"
,{
attrs
:{
editable
:
!
1
,
disabled
:
"
detail
"
===
t
.
dialogStatus
||
1
===
t
.
temp
.
is_created
,
"
value-format
"
:
"
HH:mm:ss
"
,
"
picker-options
"
:{
selectableRange
:
"
00:00:00 - 23:59:59
"
},
placeholder
:
"
请选择呼叫时间点
"
},
model
:{
value
:
t
.
temp
.
call_time
,
callback
:
function
(
e
){
t
.
$set
(
t
.
temp
,
"
call_time
"
,
e
)},
expression
:
"
temp.call_time
"
}})],
1
)],
1
)],
1
),
t
.
_v
(
"
"
),
a
(
"
div
"
,{
staticClass
:
"
dialog-footer text-rt
"
,
attrs
:{
slot
:
"
footer
"
},
slot
:
"
footer
"
},[
a
(
"
el-button
"
,{
on
:{
click
:
function
(
e
){
return
t
.
saveData
(
0
)}}},[
t
.
_v
(
"
取消
"
)]),
t
.
_v
(
"
"
),
"
update
"
===
t
.
dialogStatus
?
a
(
"
el-button
"
,{
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(
e
){
return
t
.
saveData
(
1
)}}},[
t
.
_v
(
"
确定
"
)]):
t
.
_e
()],
1
)])},
_
=
[],
y
=
{
name
:
"
AddOrEdit
"
,
props
:[
"
dialogStatus
"
,
"
temp
"
],
data
:
function
(){
var
t
=
function
(
t
,
e
,
a
){
/^
[
1
][
0
-
9
]{
10
}
$
/
.
test
(
String
(
e
||
""
))?
a
():
a
(
new
Error
(
"
请输入11位手机号
"
))};
return
{
typeOptions
:[{
value
:
1
,
key
:
"
Web端
"
},{
value
:
2
,
key
:
"
后台代码
"
}],
rules
:{
phone
:[{
required
:
!
0
,
message
:
"
手机号码必填且不能超过11位字符
"
,
validator
:
t
,
trigger
:
"
blur
"
}],
call_time
:[{
required
:
!
0
,
message
:
"
呼叫设置时间必选
"
,
trigger
:
"
blur
"
}]}}},
created
:
function
(){},
methods
:{
saveData
:
function
(
t
){
var
e
=
this
;
"
update
"
===
this
.
dialogStatus
&&
t
?
this
.
$refs
[
"
dataForm
"
].
validate
((
function
(
t
){
if
(
t
){
var
a
=
e
.
temp
,
n
=
a
.
name
,
i
=
a
.
phone
,
o
=
a
.
call_time
,
r
=
{
id
:
e
.
temp
.
id
,
user_sn
:
e
.
$publicTools
.
decrypt
(
localStorage
.
getItem
(
"
user_sn
"
)),
name
:
n
,
phone
:
i
,
call_time
:
o
},
s
=
e
.
$loading
({
lock
:
!
0
,
text
:
"
Loading
"
,
spinner
:
"
el-icon-loading
"
,
background
:
"
rgba(0, 0, 0, 0.7)
"
});
Object
(
l
[
"
e
"
])(
r
).
then
((
function
(
t
){
s
.
close
(),
e
.
$emit
(
"
save
"
,
1
),
e
.
$message
({
message
:
"
[object Object]
"
===
Object
.
prototype
.
toString
.
call
(
t
)
&&
t
.
info
?
t
.
info
:
"
更新成功
"
,
type
:
"
success
"
})})).
catch
((
function
(){
s
.
close
()}))}})):
this
.
$emit
(
"
save
"
)}}},
k
=
y
,
w
=
Object
(
g
[
"
a
"
])(
k
,
v
,
_
,
!
1
,
null
,
null
,
null
),
S
=
w
.
exports
,
x
=
a
(
"
a11e
"
),
$
=
a
.
n
(
x
),
j
=
{
name
:
"
TaskData
"
,
components
:{
Pagination
:
b
,
AddOrEdit
:
S
},
directives
:{
waves
:
o
[
"
a
"
]},
filters
:{},
data
:
function
(){
return
{
imgsrc
:
$
.
a
,
dates
:
""
,
textMap
:{
detail
:
"
外呼详情
"
,
update
:
"
编辑详情
"
},
createdData
:[{
v
:
0
,
k
:
"
未建
"
},{
v
:
1
,
k
:
"
已建
"
}],
list
:[],
total
:
0
,
listLoading
:
!
1
,
listQuery
:{
user_sn
:
this
.
$publicTools
.
decrypt
(
localStorage
.
getItem
(
"
user_sn
"
)),
page
:
1
,
pageSize
:
20
,
phone
:
""
,
started_at
:
""
,
stoped_at
:
""
,
is_created
:
""
,
strategy_sn
:
this
.
$route
.
query
.
strategy_sn
},
temp
:{},
dialogFormVisible
:
!
1
,
dialogStatus
:
""
}},
created
:
function
(){
this
.
getList
()},
watch
:{
dates
:
function
(
t
){
Array
.
isArray
(
t
)?(
t
.
length
>
0
&&
(
this
.
listQuery
.
started_at
=
this
.
$moment
(
t
[
0
]).
format
(
"
YYYY-MM-DD HH:mm:ss
"
)),
t
.
length
>
1
&&
(
this
.
listQuery
.
stoped_at
=
this
.
$moment
(
t
[
1
]).
format
(
"
YYYY-MM-DD HH:mm:ss
"
))):(
this
.
listQuery
.
started_at
=
""
,
this
.
listQuery
.
stoped_at
=
""
)},
$route
:
function
(
t
){
"
TaskData
"
===
t
.
name
&&
(
this
.
resetQeury
(),
this
.
listQuery
.
strategy_sn
=
t
.
query
.
strategy_sn
,
this
.
getList
())}},
methods
:{
resetQeury
:
function
(){
this
.
listQuery
=
{
user_sn
:
this
.
$publicTools
.
decrypt
(
localStorage
.
getItem
(
"
user_sn
"
)),
page
:
1
,
pageSize
:
20
,
phone
:
""
,
started_at
:
""
,
stoped_at
:
""
,
is_created
:
""
,
strategy_sn
:
this
.
$route
.
query
.
strategy_sn
}},
goback
:
function
(){
this
.
$router
.
go
(
-
1
)},
addCallback
:
function
(
t
){
this
.
dialogFormVisible
=!
1
,
1
===
t
&&
this
.
getList
()},
getList
:
function
(){
var
t
=
this
;
this
.
listLoading
=!
0
,
Object
(
l
[
"
i
"
])(
this
.
listQuery
).
then
((
function
(
e
){
t
.
listLoading
=!
1
,
"
[object Object]
"
===
Object
.
prototype
.
toString
.
call
(
e
.
info
)?(
t
.
total
=
e
.
info
.
total
||
0
,
Array
.
isArray
(
e
.
info
.
data
)?
t
.
list
=
e
.
info
.
data
:
t
.
list
=
[]):(
t
.
total
=
0
,
t
.
list
=
[])})).
catch
((
function
(){
t
.
listLoading
=!
1
}))},
handleFilter
:
function
(){
this
.
listQuery
.
page
=
1
,
this
.
getList
()},
handleEdit
:
function
(
t
){
this
.
temp
=
this
.
$publicTools
.
deepClone
(
t
),
this
.
dialogStatus
=
"
update
"
,
this
.
dialogFormVisible
=!
0
},
handleDetail
:
function
(
t
){
this
.
temp
=
this
.
$publicTools
.
deepClone
(
t
),
this
.
dialogStatus
=
"
detail
"
,
this
.
dialogFormVisible
=!
0
}}},
O
=
j
,
C
=
(
a
(
"
715f
"
),
Object
(
g
[
"
a
"
])(
O
,
n
,
i
,
!
1
,
null
,
"
18ff08dd
"
,
null
));
e
[
"
default
"
]
=
C
.
exports
},
"
2faa
"
:
function
(
t
,
e
,
a
){
"
use strict
"
;
var
n
=
a
(
"
c9b5
"
),
i
=
a
.
n
(
n
);
i
.
a
},
6629
:
function
(
t
,
e
,
a
){},
6724
:
function
(
t
,
e
,
a
){
"
use strict
"
;
a
(
"
8d41
"
);
var
n
=
"
@@wavesContext
"
;
function
i
(
t
,
e
){
function
a
(
a
){
var
n
=
Object
.
assign
({},
e
.
value
),
i
=
Object
.
assign
({
ele
:
t
,
type
:
"
hit
"
,
color
:
"
rgba(0, 0, 0, 0.15)
"
},
n
),
l
=
i
.
ele
;
if
(
l
){
l
.
style
.
position
=
"
relative
"
,
l
.
style
.
overflow
=
"
hidden
"
;
var
o
=
l
.
getBoundingClientRect
(),
r
=
l
.
querySelector
(
"
.waves-ripple
"
);
switch
(
r
?
r
.
className
=
"
waves-ripple
"
:(
r
=
document
.
createElement
(
"
span
"
),
r
.
className
=
"
waves-ripple
"
,
r
.
style
.
height
=
r
.
style
.
width
=
Math
.
max
(
o
.
width
,
o
.
height
)
+
"
px
"
,
l
.
appendChild
(
r
)),
i
.
type
){
case
"
center
"
:
r
.
style
.
top
=
o
.
height
/
2
-
r
.
offsetHeight
/
2
+
"
px
"
,
r
.
style
.
left
=
o
.
width
/
2
-
r
.
offsetWidth
/
2
+
"
px
"
;
break
;
default
:
r
.
style
.
top
=
(
a
.
pageY
-
o
.
top
-
r
.
offsetHeight
/
2
-
document
.
documentElement
.
scrollTop
||
document
.
body
.
scrollTop
)
+
"
px
"
,
r
.
style
.
left
=
(
a
.
pageX
-
o
.
left
-
r
.
offsetWidth
/
2
-
document
.
documentElement
.
scrollLeft
||
document
.
body
.
scrollLeft
)
+
"
px
"
}
return
r
.
style
.
backgroundColor
=
i
.
color
,
r
.
className
=
"
waves-ripple z-active
"
,
!
1
}}
return
t
[
n
]?
t
[
n
].
removeHandle
=
a
:
t
[
n
]
=
{
removeHandle
:
a
},
a
}
var
l
=
{
bind
:
function
(
t
,
e
){
t
.
addEventListener
(
"
click
"
,
i
(
t
,
e
),
!
1
)},
update
:
function
(
t
,
e
){
t
.
removeEventListener
(
"
click
"
,
t
[
n
].
removeHandle
,
!
1
),
t
.
addEventListener
(
"
click
"
,
i
(
t
,
e
),
!
1
)},
unbind
:
function
(
t
){
t
.
removeEventListener
(
"
click
"
,
t
[
n
].
removeHandle
,
!
1
),
t
[
n
]
=
null
,
delete
t
[
n
]}},
o
=
function
(
t
){
t
.
directive
(
"
waves
"
,
l
)};
window
.
Vue
&&
(
window
.
waves
=
l
,
Vue
.
use
(
o
)),
l
.
install
=
o
;
e
[
"
a
"
]
=
l
},
"
715f
"
:
function
(
t
,
e
,
a
){
"
use strict
"
;
var
n
=
a
(
"
6629
"
),
i
=
a
.
n
(
n
);
i
.
a
},
"
8d41
"
:
function
(
t
,
e
,
a
){},
a11e
:
function
(
t
,
e
,
a
){
t
.
exports
=
a
.
p
+
"
static/img/back.6a45bcc8.svg
"
},
c9b5
:
function
(
t
,
e
,
a
){}}]);
\ No newline at end of file
public/zjtlj/src/views/dashboard/add.vue
View file @
c06c205e
...
...
@@ -343,13 +343,18 @@ export default {
?
this
.
temp
.
disabled
:
true
let
disabled
=
this
.
temp
.
disabled
?
0
:
1
this
.
temp
.
strategy_name
=
this
.
temp
.
strategy_name
?
this
.
temp
.
strategy_name
.
trim
()
:
''
// 0 cancel/close 1 save dialogStatus/create/update
if
(
status
)
{
this
.
$refs
[
'
dataForm
'
].
validate
(
valid
=>
{
if
(
valid
)
{
let
strategy_name
=
this
.
temp
.
strategy_name
.
trim
()
if
(
strategy_name
!==
this
.
temp
.
strategy_name
)
{
this
.
$message
({
message
:
'
策略名称前后不能输入空格
'
,
type
:
'
warning
'
})
return
false
}
if
(
this
.
temp
.
day_type
===
'
1
'
)
{
if
(
Array
.
isArray
(
this
.
temp
.
project_sn
)
&&
...
...
@@ -362,12 +367,7 @@ export default {
return
false
}
}
let
{
strategy_name
,
call_number
,
day_type
,
frequency_type
}
=
this
.
temp
let
{
call_number
,
day_type
,
frequency_type
}
=
this
.
temp
let
form
=
new
FormData
()
form
.
append
(
...
...
public/zjtlj/src/views/task-data/index.vue
View file @
c06c205e
...
...
@@ -193,12 +193,25 @@ export default {
},
$route
(
to
)
{
if
(
to
.
name
===
'
TaskData
'
)
{
this
.
resetQeury
()
this
.
listQuery
.
strategy_sn
=
to
.
query
.
strategy_sn
this
.
getList
()
}
}
},
methods
:
{
resetQeury
()
{
this
.
listQuery
=
{
user_sn
:
this
.
$publicTools
.
decrypt
(
localStorage
.
getItem
(
'
user_sn
'
)),
page
:
1
,
pageSize
:
20
,
phone
:
''
,
started_at
:
''
,
stoped_at
:
''
,
is_created
:
''
,
strategy_sn
:
this
.
$route
.
query
.
strategy_sn
}
},
goback
()
{
this
.
$router
.
go
(
-
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