Explorar o código

feature_20260319_质感服务商拜访任务

zhujindu hai 3 semanas
pai
achega
5015493d76

+ 2 - 1
src/views/storeManagement/FSQStoreDetail.vue

@@ -159,7 +159,8 @@
         </van-tab>
         <!-- 质感服务商档案 -->
         <van-tab title="服务商档案" name="outsidePlan">
-          <FSQattributeDetail :storeCode="fromData.storeCode"></FSQattributeDetail>
+          <FSQattributeDetail
+            :storeArchives="fromData.serviceProviderArchives"></FSQattributeDetail>
         </van-tab>
       </van-tabs>
     </div>

+ 13 - 13
src/views/storeManagement/FSQattributeDetail.vue

@@ -30,28 +30,28 @@
 import { getServiceProviderArchives } from '@/api/index';
 export default {
   props: {
-    storeCode: {
-      type: [String, Number],
+    storeArchives: {
+      type: Object,
     },
   },
   data() {
     return {
-      storeArchives: {},
+      // storeArchives: {},
     };
   },
   created() {
-    this.getDetail();
+    // this.getDetail();
   },
   methods: {
-    getDetail() {
-      getServiceProviderArchives({ storeCode: this.storeCode }).then((res) => {
-        if (res.code == 200) {
-          this.storeArchives = res.data;
-        } else {
-          this.$toast.fail(res.msg);
-        }
-      });
-    },
+    // getDetail() {
+    //   getServiceProviderArchives({ storeCode: this.storeCode }).then((res) => {
+    //     if (res.code == 200) {
+    //       this.storeArchives = res.data;
+    //     } else {
+    //       this.$toast.fail(res.msg);
+    //     }
+    //   });
+    // },
   },
 };
 </script>