Browse Source

小修改

刘洋 1 year ago
parent
commit
592103e4ae
1 changed files with 12 additions and 12 deletions
  1. 12 12
      src/views/report/service-analysis/index.vue

+ 12 - 12
src/views/report/service-analysis/index.vue

@@ -338,11 +338,11 @@ watch(serviceId, (serviceUnitId) => {
   run7({ serviceUnitId });
   run8({ serviceUnitId });
 
-  runGetRegionList({ serviceUnitId: serviceId.value }).then((res) => {
-    if (res && res.length) {
-      regionId.value = res[0].region_id;
-    }
-  });
+  // runGetRegionList({ serviceUnitId: serviceId.value }).then((res) => {
+  //   if (res && res.length) {
+  //     regionId.value = res[0].region_id;
+  //   }
+  // });
 });
 
 const supplierId = ref('');
@@ -371,13 +371,13 @@ watch(supplierId, (supplierId) => {
       ssgcsNum.value = obj1?.count || 0;
       qyxtrNum.value = obj2?.count || 0;
     });
-    // runGetRegionList({ serviceUnitId: serviceId.value, supplierId }).then(
-    //   (res) => {
-    //     if (res && res.length) {
-    //       regionId.value = res[0].region_id;
-    //     }
-    //   }
-    // );
+    runGetRegionList({ serviceUnitId: serviceId.value, supplierId }).then(
+      (res) => {
+        if (res && res.length) {
+          regionId.value = res[0].region_id;
+        }
+      }
+    );
   }
 });
 watch(regionId, (regionId) => {