| | |
| | | <el-tag v-if="row.status === 0" |
| | | type="warning">待维修</el-tag> |
| | | </template> |
| | | <template #repairTypeRef="{ row }"> |
| | | <dict-tag :options="device_repair_type" :value="row.repairType" /> |
| | | </template> |
| | | <template #operation="{ row }"> |
| | | <el-button type="primary" |
| | | link |
| | |
| | | }); |
| | | |
| | | const { proxy } = getCurrentInstance(); |
| | | const { device_repair_type } = proxy.useDict("device_repair_type"); |
| | | |
| | | // 模态框实例 |
| | | const repairModalRef = ref(); |
| | |
| | | prop: "repairName", |
| | | }, |
| | | { |
| | | label: "报修类型", |
| | | align: "center", |
| | | prop: "repairType", |
| | | dataType: "slot", |
| | | slot: "repairTypeRef", |
| | | }, |
| | | { |
| | | label: "状态", |
| | | align: "center", |
| | | prop: "status", |