zhujindu 1 неделя назад
Родитель
Сommit
1b23a7ca55
2 измененных файлов с 11 добавлено и 2 удалено
  1. 9 0
      src/api/index.js
  2. 2 2
      src/views/historicalVisit/perfectStore.vue

+ 9 - 0
src/api/index.js

@@ -1151,3 +1151,12 @@ export function addCollectionAnswerBatch(data) {
     data,
   });
 }
+
+// 完美门店
+export function getVisitsDetailperfectStore(query) {
+  return request({
+    url: 'mobile/storeGroup/getVisitsDetailperfectStore',
+    method: 'get',
+    params: query,
+  });
+}

+ 2 - 2
src/views/historicalVisit/perfectStore.vue

@@ -313,7 +313,7 @@
 <script>
 import deleteUploadImg from '@/components/deleteUploadImg';
 import {
-  getVisitsDetail,
+  getVisitsDetailperfectStore,
   getPhotoTypeList1,
   insertVisitRemark,
   getListHistoryList,
@@ -462,7 +462,7 @@ export default {
       this.shopSignDetail = null;
       this.tiaoSJDetail = null;
       this.taskTypeArr = null;
-      getVisitsDetail({ visitsId: this.$route.query.visitId }).then((res) => {
+      getVisitsDetailperfectStore({ visitsId: this.$route.query.visitId }).then((res) => {
         this.toastLoading().clear();
         if (res.code == 200) {
           this.list = res.data;