Explorar el Código

获取门店拜访任务失败依然返回拜访id,取消拜访使用

zhujindu hace 3 meses
padre
commit
4e6b1f2f09
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      src/views/agentList/visitPage.vue

+ 3 - 1
src/views/agentList/visitPage.vue

@@ -345,6 +345,7 @@ export default {
               that.timeN = setInterval(that.animation, 16);
               that.visitsRemarks = res.data.visitsRemarks;
             } else {
+              that.visitId = res.data;
               that.$toast(res.msg);
             }
           });
@@ -388,10 +389,11 @@ export default {
               that.timeN = setInterval(that.animation, 16);
               that.visitsRemarks = res.data.visitsRemarks;
             } else {
+              that.visitId = res.data;
               that.$toast(res.msg);
             }
           });
-        }
+        },
       );
     },
     visitTask(val, index) {