Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-outbound
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit d7d7923e
authored
Aug 16, 2022
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit
1 parent
c5deaa5c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
42 additions
and
2 deletions
src/views/outbound/details.vue
src/views/outbound/index.vue
src/views/outbound/details.vue
View file @
d7d7923
...
@@ -203,7 +203,7 @@ export default {
...
@@ -203,7 +203,7 @@ export default {
},
},
methods
:
{
methods
:
{
eval
(
data
)
{
eval
(
data
)
{
const
arr
=
data
.
replace
(
/
(
"|
\[
|
\])
/g
,
''
).
split
(
','
)
const
arr
=
data
?
data
.
replace
(
/
(
"|
\[
|
\])
/g
,
''
).
split
(
','
):
''
return
arr
return
arr
},
},
taskStatus
(
status
)
{
taskStatus
(
status
)
{
...
...
src/views/outbound/index.vue
View file @
d7d7923
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
<
template
slot-scope=
"scopeChild"
>
<
template
slot-scope=
"scopeChild"
>
<el-button
type=
"text"
v-if=
"scopeChild.row.taskStatus == 2"
@
click
.
stop=
"handleStop(scope.scope, 1)"
>
暂停
</el-button>
<el-button
type=
"text"
v-if=
"scopeChild.row.taskStatus == 2"
@
click
.
stop=
"handleStop(scope.scope, 1)"
>
暂停
</el-button>
<el-button
type=
"text"
v-if=
"scopeChild.row.taskStatus == 3 && scope.scope.stopType == '手动暂停'"
@
click
.
stop=
"handleStop(scope.scope, 2)"
>
开启外呼
</el-button>
<el-button
type=
"text"
v-if=
"scopeChild.row.taskStatus == 3 && scope.scope.stopType == '手动暂停'"
@
click
.
stop=
"handleStop(scope.scope, 2)"
>
开启外呼
</el-button>
<el-button
type=
"text"
v-if=
"scopeChild.row.taskStatus == 4"
@
click
.
stop=
"download(scopeChild.row, 'executeTaskId')"
size=
"small"
>
下载本次数据
</el-button>
<el-button
type=
"text"
v-if=
"scopeChild.row.taskStatus == 4"
@
click
.
stop=
"download(scopeChild.row, 'executeTaskId')"
>
下载本次数据
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
@@ -836,6 +836,46 @@ export default {
...
@@ -836,6 +836,46 @@ export default {
border
:
1px
solid
#e5e5e5
;
border
:
1px
solid
#e5e5e5
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
z-index
:
99
;
z-index
:
99
;
/deep/
{
.expanded
{
&
+
tr
:
hover
td
{
background
:
none
!important
;
}
}
.el-table__expand-icon
{
width
:
14px
;
height
:
14px
;
background
:
rgba
(
88
,
80
,
255
,
0.3
);
border-radius
:
2px
;
position
:
relative
;
&.el-table__expand-icon--expanded
{
transform
:
rotate
(
0deg
);
}
&
::after
{
top
:
0px
;
left
:
0px
;
content
:
'+'
;
color
:
#5850ff
;
width
:
14px
;
height
:
14px
;
font-size
:
12px
;
}
i
{
display
:
none
;
}
&
.el-table__expand-icon--expanded
{
&::after
{
top
:
0px
;
left
:
0px
;
content
:
'-'
;
color
:
#5850ff
;
width
:
14px
;
height
:
14px
;
font-size
:
12px
;
}
}
}
}
.table-tr
{
.table-tr
{
width
:
100%
;
width
:
100%
;
display
:
flex
;
display
:
flex
;
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment