Commit 3c3372c9 by 前端

commit

1 parent bc7a4b02
......@@ -5,9 +5,7 @@
<div class="outbound-info-title">外呼基本信息</div>
<glsx-rows class="glsx-rows-wrap" :layoutData="detailData" :layoutParams="outboundParams">
<template slot="callerNums" slot-scope="scope">
<template v-for="item in eval(scope.scope.callerNums)">
<span class="font-14 color3 line-20" :key="item">{{ item }}</span>
</template>
<span class="font-14 color3 line-20" >{{ eval(scope.scope.callerNums) }}</span>
</template>
<template slot="dialTime" slot-scope="scope">
<span class="font-14 color3 line-20">{{ scope.scope.dialStartTime }}-{{ scope.scope.dialEndTime }}</span>
......@@ -203,7 +201,7 @@ export default {
},
methods: {
eval(data) {
const arr = data?data.replace(/("|\[|\])/g, '').split(','):''
const arr = data ? data.replace(/(\[|\])/g, ''): ''
return arr
},
taskStatus(status) {
......@@ -285,7 +283,7 @@ export default {
}
&.task_icon1 {
&::after {
background: #999999;
background: #999999;
}
}
&.task_icon2 {
......@@ -295,7 +293,7 @@ export default {
}
&.task_icon3 {
&::after {
background:#5850ff;
background: #5850ff;
}
}
&.task_icon4 {
......@@ -305,7 +303,7 @@ export default {
}
}
.container-detail {
padding:0 0 20px 0;
padding: 0 0 20px 0;
overflow-y: scroll;
height: 100%;
.outbound-info {
......@@ -382,5 +380,4 @@ export default {
background-color: #fff;
}
}
</style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!