|
|
@@ -304,24 +304,24 @@ import {ElMessage, ElMessageBox} from 'element-plus'
|
|
|
const dictStore = useDictStore()
|
|
|
// 检验性质字典
|
|
|
const getPressureInspectionNatureType = ref<Record<string, any[]>>({
|
|
|
- '200': computed(() => dictStore.getDictMap['pressure_inspection_nature_pipe']), //管道
|
|
|
- '300': computed(() => dictStore.getDictMap['pressure_inspection_nature_boiler']) //锅炉
|
|
|
+ '300': computed(() => dictStore.getDictMap['pressure_inspection_nature_pipe']), //管道
|
|
|
+ '200': computed(() => dictStore.getDictMap['pressure_inspection_nature_boiler']) //锅炉
|
|
|
})
|
|
|
|
|
|
-let getPressureInspectionNature = ref([...getPressureInspectionNatureType.value['200'], ...getPressureInspectionNatureType.value['300']])
|
|
|
-let pressureInspectionNature = ref([...getPressureInspectionNatureType.value['200'], ...getPressureInspectionNatureType.value['300']])
|
|
|
+let getPressureInspectionNature = ref([...getPressureInspectionNatureType.value['300'], ...getPressureInspectionNatureType.value['200']])
|
|
|
+let pressureInspectionNature = ref([...getPressureInspectionNatureType.value['300'], ...getPressureInspectionNatureType.value['200']])
|
|
|
// 所属设备
|
|
|
const getPressureEquipmentCategory = computed(() => [{
|
|
|
value: '-1', label: '全部设备', children: [
|
|
|
- {label: '锅炉', value: '300'},
|
|
|
- {label: '管道', value: '200'}
|
|
|
+ {label: '锅炉', value: '200'},
|
|
|
+ {label: '管道', value: '300'}
|
|
|
]
|
|
|
}])
|
|
|
|
|
|
// 设备类型字典
|
|
|
const getPressureEquipType = ref<Record<string, any[]>>({
|
|
|
- '200': computed(() => dictStore.getDictMap['system_equip_pipe_type']), //管道
|
|
|
- '300': computed(() => dictStore.getDictMap['system_equip_boiler_type']) //锅炉
|
|
|
+ '300': computed(() => dictStore.getDictMap['system_equip_pipe_type']), //管道
|
|
|
+ '200': computed(() => dictStore.getDictMap['system_equip_boiler_type']) //锅炉
|
|
|
})
|
|
|
let getPressureEquipContainerType = []
|
|
|
|