|
@@ -83,7 +83,7 @@ export default {
|
83
|
83
|
id: this.infoDATA.id,
|
84
|
84
|
}).then((result) => {
|
85
|
85
|
this.isLoading = false;
|
86
|
|
- if (result.state == 200) {
|
|
86
|
+ if (result.status == 200) {
|
87
|
87
|
uni.showToast({
|
88
|
88
|
title: "开始配药成功!",
|
89
|
89
|
success() {
|
|
@@ -119,7 +119,7 @@ export default {
|
119
|
119
|
// });
|
120
|
120
|
// }
|
121
|
121
|
// });
|
122
|
|
- } else if(result.state == 501){
|
|
122
|
+ } else if(result.status == 503){//未建单
|
123
|
123
|
uni.showToast({
|
124
|
124
|
icon: "none",
|
125
|
125
|
title: result.error,
|
|
@@ -137,7 +137,7 @@ export default {
|
137
|
137
|
id: this.infoDATA.id,
|
138
|
138
|
}).then((result) => {
|
139
|
139
|
this.isLoading = false;
|
140
|
|
- if (result.state == 200) {
|
|
140
|
+ if (result.status == 200) {
|
141
|
141
|
uni.showToast({
|
142
|
142
|
title: "完成配药成功!",
|
143
|
143
|
success() {
|