瀏覽代碼

修改检验性质

xuzhancheng 1 月之前
父節點
當前提交
2ef16e3f82
共有 1 個文件被更改,包括 8 次插入8 次删除
  1. 8 8
      yudao-ui-admin-vue3/src/views/pressure2/inspectionNature/index.vue

+ 8 - 8
yudao-ui-admin-vue3/src/views/pressure2/inspectionNature/index.vue

@@ -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 = []