update other api

This commit is contained in:
cmxdd
2020-08-05 17:42:06 +08:00
parent ec2bbcdc29
commit df1bad0a31
10 changed files with 1217 additions and 246 deletions

View File

@@ -132,6 +132,7 @@ export default {
showComplaint: false,
worker: {},
publishstate: false,
clickstate:false,//投诉骑手按钮点击状态
num: 1,
allorder: [], //所有订单
testlist: [], //试穿列表
@@ -147,11 +148,15 @@ export default {
onLoad() {
// 初始化轮播图
this.getswiper();
// 所有订单
this.getallorder(0);
// 获取可投诉列表
this.getcarlist();
// 订单状态: 0:全部 1已付款未发货 2已发货 3已完成 4申请退款/退货 5已退款/退货
// 订单状态: 0:全部 1已付款未发货 2已发货 3已完成 4申请退款/退货 5已退款/退货 6拒绝退款/退货
},
onShow() {
this.current=0
// 所有订单
this.getallorder(0);
this.publishstate = false;
},
onReachBottom() {
this.num++;
@@ -231,9 +236,14 @@ export default {
type: 'error'
});
} else {
// 提交后清空选择
// 提交后清空选择信息
that.reportinfo=null
// 清空投诉评价
that.reportcontent = ""
// 清空选择器返回信息
that.worker = {}
// 重新获取可投诉列表
that.getcarlist();
// 提示修改成功
that.showComplaint = true;
}
@@ -365,6 +375,7 @@ export default {
},
// 发布内容跳转页面
navto(url) {
this.publishstate = false;
this.$u.route({
url: `/pages/${url}`
});