|
@@ -767,7 +767,6 @@ export default {
|
|
|
],
|
|
|
},
|
|
|
|
|
|
- loading: false,
|
|
|
id: "",
|
|
|
};
|
|
|
},
|
|
@@ -992,9 +991,8 @@ export default {
|
|
|
return;
|
|
|
}
|
|
|
}
|
|
|
- this.loading = false;
|
|
|
let res = await asyncRequest.consultorder(model);
|
|
|
- this.loading = false;
|
|
|
+
|
|
|
if (res && res.code === 0) {
|
|
|
this.$notify.success({
|
|
|
title: "下单成功!",
|
|
@@ -1003,9 +1001,12 @@ export default {
|
|
|
this.showModelThis = false;
|
|
|
// 刷新
|
|
|
this.$emit("refresh");
|
|
|
+ this.loading = false;
|
|
|
} else if (res && res.code >= 100 && res.code <= 104) {
|
|
|
+ this.loading = false;
|
|
|
await this.logout();
|
|
|
} else {
|
|
|
+ this.loading = false;
|
|
|
this.$message.warning(res.message);
|
|
|
}
|
|
|
} else {
|