| | |
| | | style="width: 100%" |
| | | > |
| | | <el-option |
| | | v-for="dict in dict.type.inspection_value_type" |
| | | v-for="dict in inspectionValueType" |
| | | :key="dict.value" |
| | | :label="dict.label" |
| | | :value="dict.value" |
| | |
| | | data() { |
| | | // 这里存放数据 |
| | | return { |
| | | dicts: ["inspection_value_type"], |
| | | editInspectionDia: false, |
| | | entity: { |
| | | id: 0, |
| | |
| | | inspectionValueType: "", |
| | | }, |
| | | handleEditLoading: false, |
| | | inspectionValueType: [], |
| | | }; |
| | | }, |
| | | mounted() { |
| | | this.getDicts("inspection_value_type").then((response) => { |
| | | this.inspectionValueType = this.dictToValue(response.data); |
| | | }); |
| | | }, |
| | | // 方法集合 |
| | | methods: { |
| | | showDialog(id) { |