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