3
0
Prechádzať zdrojové kódy

[Fix 0000] 修复部分页面异步操作报错及全局矿名更新错误的问题

houzekong 2 mesiacov pred
rodič
commit
7999a37955

+ 1 - 0
src/views/analysis/warningAnalysis/connectAnalysis/AnalysisChart.vue

@@ -173,6 +173,7 @@
       startTime: startTime,
       endTime: endTime,
       goafId: goafId.value,
+      deptId: innerValue.value,
       ...(props.requestParams || {}),
     });
     if (res) {

+ 1 - 1
src/views/dashboard/basicInfo/dataQuality/dataQuality.data.ts

@@ -158,7 +158,7 @@ export const topFormSchema: FormSchema[] = [
     component: 'MineCascader',
     componentProps: {
       changeOnSelect: false,
-      initFromStore: false,
+      initFromStore: true,
       syncToStore: false,
     },
     required: true,

+ 1 - 1
src/views/dashboard/basicInfo/minesInfo/minesInfo.data.ts

@@ -132,7 +132,7 @@ export const searchFormSchema: FormSchema[] = [
     component: 'MineCascader',
     colProps: { span: 6 },
     componentProps: {
-      initFromStore: false,
+      initFromStore: true,
       syncToStore: false,
     },
   },

+ 0 - 5
src/views/monitor/sealedMonitor/hooks/form.ts

@@ -22,11 +22,6 @@ export function useInitForm() {
         'id'
       );
 
-  if (hiscode) {
-    // mineStore.setDepartById(code as string);
-    initGoafOptions(hiscode);
-  }
-
   // 采空区选择器
   const goafId = ref('');
   const goafOptions = ref<any[]>([]);