lisenzhou 2 anos atrás
pai
commit
7e3f74302f

+ 5
- 1
src/subpackages/pages/marketing/changeVisit/index.jsx Ver arquivo

306
     // );
306
     // );
307
     // return;
307
     // return;
308
     if (CurrentStatusId === 3) {
308
     if (CurrentStatusId === 3) {
309
+      Taro.showLoading()
309
       fetch({
310
       fetch({
310
         url: API_SURE_CHIP,
311
         url: API_SURE_CHIP,
311
         method: "put",
312
         method: "put",
319
           },
320
           },
320
         },
321
         },
321
       }).then(() => {
322
       }).then(() => {
323
+   
322
         Taro.showToast({ title: "修改成功", icon: "none", duration: 2000 });
324
         Taro.showToast({ title: "修改成功", icon: "none", duration: 2000 });
325
+        
323
         setTimeout(() => {
326
         setTimeout(() => {
324
           Taro.navigateBack({ delta: 1 });
327
           Taro.navigateBack({ delta: 1 });
325
         }, 2000);
328
         }, 2000);
350
         });
353
         });
351
         return;
354
         return;
352
       }
355
       }
353
-
356
+      Taro.showLoading()
354
       fetch({
357
       fetch({
355
         url: API_SURE_SIGN,
358
         url: API_SURE_SIGN,
356
         method: "put",
359
         method: "put",
391
         });
394
         });
392
         return;
395
         return;
393
       }
396
       }
397
+      Taro.showLoading()
394
       fetch({
398
       fetch({
395
         url: API_SURE_BUY,
399
         url: API_SURE_BUY,
396
         method: "put",
400
         method: "put",