1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
| <template>
| <el-table-column :label="label" header-align="center" align="center" :width="width" v-slot="{ row }">
| <zt-dict-tag :dict="dict" :value="row[prop]" :typeS="typeS" :typeI="typeI" :typeW="typeW" :typeD="typeD" :typeColor="typeColor" :size="size" :effect="effect" :hit="hit"/>
| </el-table-column>
| </template>
| <script>
| export default {
| name: 'ZtTableColumnDict',
| props: {
| label: String,
| width: {
| type: String,
| default: ''
| },
| prop: {
| type: String,
| required: true
| },
| dict: {
| type: String,
| required: true
| },
| typeS: String,
| typeI: String,
| typeW: String,
| typeD: String,
| typeColor: Object,
| size: String,
| effect: String,
| hit: Boolean
| },
| data() {
| return {
| }
| },
| mounted() {
| },
| methods: {
| }
| }
| </script>
|
|