diff --git a/src/view/put-money.vue b/src/view/put-money.vue
index 8fd8c38..e5d95af 100644
--- a/src/view/put-money.vue
+++ b/src/view/put-money.vue
@@ -84,24 +84,24 @@ export default {
this.$vux.toast.text("请登录微信进行操作", "middle");
return;
}
- putMoney.putMoney({ amount: this.inputVal * 100 }).then(res => {
- if (res.code == 0) {
- this.$router.push({
- name: "提现成功",
- params: { amount: this.inputVal }
- });
- } else if (res.code == 666) {
- this.$vux.toast.text(res.msg, "middle");
- setTimeout(function() {
- window.location.href =
- locationUrl +
- "/mall/web/user/login?callback=" +
- encodeURIComponent(window.location.href);
- }, 1000);
- } else {
- this.$vux.toast.text(res.msg, "middle");
- }
- // this.$vux.toast.text(res)
+ putMoney.putMoney({ num : this.inputVal * 100 }).then(res => {
+ if (res.code == 0) {
+ this.$router.push({
+ name: "提现成功",
+ params: { amount: this.inputVal }
+ });
+ } else if (res.code == 666) {
+ this.$vux.toast.text(res.msg, "middle");
+ setTimeout(function() {
+ window.location.href =
+ locationUrl +
+ "/mall/web/user/login?callback=" +
+ encodeURIComponent(window.location.href);
+ }, 1000);
+ } else {
+ this.$vux.toast.text(res.msg, "middle");
+ }
+ // this.$vux.toast.text(res)
});
}
},
diff --git a/src/view/service-evaluation-status.vue b/src/view/service-evaluation-status.vue
index ab84807..3833a1a 100644
--- a/src/view/service-evaluation-status.vue
+++ b/src/view/service-evaluation-status.vue
@@ -20,11 +20,13 @@
-
+
+
评价成功
不可重复评价
已过期
账号不一致
+ 订单不存在·
diff --git a/src/view/service-evaluation.vue b/src/view/service-evaluation.vue
index 63f15dc..30fe922 100644
--- a/src/view/service-evaluation.vue
+++ b/src/view/service-evaluation.vue
@@ -210,7 +210,7 @@ export default {
this.isCanEvaluation = true;
}
} else if (code == 1) {
- if (res.msg == "已过期") {
+ if (res.msg == "已过期" ) {
//已过期
this.code = 3;
this.statusShow = true;
@@ -222,7 +222,11 @@ export default {
//账号不一致
this.code = 4;
this.statusShow = true;
- }
+ } else if (res.msg == "订单不存在") {
+ //订单不存在
+ this.code = 4;
+ this.statusShow = true;
+ }
}
});
}