|
@@ -21,10 +21,8 @@
|
21
|
21
|
<el-table ref="multipleTable" :height="height" :data="tableData" tooltip-effect="dark" style="width: 100%">
|
22
|
22
|
<el-table-column prop="name" label="标题" show-overflow-tooltip align="center" min-width="120" />
|
23
|
23
|
<el-table-column label="创建人" align="center" min-width="120">
|
24
|
|
- <template slot-scope="scope">
|
25
|
|
- <div class="customerServiceTagBox">
|
26
|
|
- <div class="customerServiceTag"><i class="el-icon-user-solid"></i> {{ scope.row.creator }}</div>
|
27
|
|
- </div>
|
|
24
|
+ <template slot-scope="{ row }">
|
|
25
|
+ <userTag icon="el-icon-user-solid" bgColor="#00b38a">{{ row.creator }}</userTag>
|
28
|
26
|
</template>
|
29
|
27
|
</el-table-column>
|
30
|
28
|
<el-table-column prop="desc" label="规则" align="center" min-width="200" />
|
|
@@ -66,9 +64,10 @@
|
66
|
64
|
<script>
|
67
|
65
|
import datePicker from '@/components/assembly/screen/datePicker.vue'
|
68
|
66
|
import selfChannel from '@/components/assembly/screen/channel.vue'
|
|
67
|
+import userTag from '@/components/assembly/screen/userTag.vue'
|
69
|
68
|
import createMassMsg from './createMassMsg.vue'
|
70
|
69
|
export default {
|
71
|
|
- components: { datePicker, selfChannel, createMassMsg, },
|
|
70
|
+ components: { datePicker, selfChannel, createMassMsg, userTag },
|
72
|
71
|
data () {
|
73
|
72
|
return {
|
74
|
73
|
massMsgFlag: false,
|