Commit d7d7923e by 前端

commit

1 parent c5deaa5c
...@@ -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) {
......
...@@ -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;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!