| | |
| | | <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"/> |
| | | <zt-dict-tag :dict="dict" :additional=additional :value="row[prop]" :typeS="typeS" :typeI="typeI" :typeW="typeW" :typeD="typeD" :typeColor="typeColor" :size="size" :effect="effect" :hit="hit"/> |
| | | </el-table-column> |
| | | </template> |
| | | <script> |
| | |
| | | keys:{ |
| | | type:String |
| | | }, |
| | | additional: {// 添加的 |
| | | type: Array, |
| | | default: function () { |
| | | return [] |
| | | } |
| | | }, |
| | | label: String, |
| | | width: { |
| | | type: String, |