jinlin
2024-03-07 12b1901605e51506a0fde960a376eb8fc6b2a593
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
42
43
44
45
<template>
  <el-table-column :label="label" :key="keys" 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: {
      keys:{
        type:String
      },
      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>