xuzhancheng 1 месяц назад
Родитель
Сommit
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 dictStore = useDictStore()
 // 检验性质字典
 // 检验性质字典
 const getPressureInspectionNatureType = ref<Record<string, any[]>>({
 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(() => [{
 const getPressureEquipmentCategory = computed(() => [{
   value: '-1', label: '全部设备', children: [
   value: '-1', label: '全部设备', children: [
-    {label: '锅炉', value: '300'},
-    {label: '管道', value: '200'}
+    {label: '锅炉', value: '200'},
+    {label: '管道', value: '300'}
   ]
   ]
 }])
 }])
 
 
 // 设备类型字典
 // 设备类型字典
 const getPressureEquipType = ref<Record<string, any[]>>({
 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 = []
 let getPressureEquipContainerType = []