Browse Source

feature_20260425_完美门店陈列奖励案图片上传方式修改

zhujindu 14 hours ago
parent
commit
1c21f93ab4
1 changed files with 3 additions and 2 deletions
  1. 3 2
      src/views/deviceWithin/taskPhotoTaking.vue

+ 3 - 2
src/views/deviceWithin/taskPhotoTaking.vue

@@ -174,6 +174,7 @@ export default {
     this.insert = this.$route.query.insert;
     // 授权
     // getTicketFun(['uploadImage']).then(() => {});
+    this.toastLoading(0, '加载中...', true);
     if (this.$route.query.source == 'historicalDetails') {
       this.getVisitsDetailFun();
     } else {
@@ -253,7 +254,6 @@ export default {
       }
     },
     getVisitsDetailFun() {
-      this.toastLoading(0, '加载中...', true);
       getVisitsDetail({ visitsId: this.visitsId }).then((res) => {
         this.toastLoading().clear();
         if (res.data.sfaTaskList) {
@@ -273,6 +273,7 @@ export default {
         id: this.visitsId,
         taskIds: this.taskIds.split(','),
       }).then((res) => {
+        this.toastLoading().clear();
         if (res.data && res.data.length) {
           this.dataList = res.data;
           this.formData = res.data[0];
@@ -283,7 +284,7 @@ export default {
       });
     },
     isEditFun() {
-      this.getTicketFunfun();
+      // this.getTicketFunfun();
     },
     openDialog(item) {
       this.vanPopup = true;