|
|
@@ -285,13 +285,6 @@
|
|
|
} from "vue";
|
|
|
export default {
|
|
|
components: {},
|
|
|
- watch: {
|
|
|
- stageIndex(newVal, oldVal) {
|
|
|
- if (newVal !== oldVal) {
|
|
|
- this.pageRequest.orderStatus = newVal;
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
data() {
|
|
|
return {
|
|
|
closeOrderShow: false,
|
|
|
@@ -465,6 +458,7 @@
|
|
|
"date": "2024-08-01 08:49:12"
|
|
|
}
|
|
|
],
|
|
|
+ orderno: "",
|
|
|
}
|
|
|
},
|
|
|
onReachBottom() {
|
|
|
@@ -481,7 +475,7 @@
|
|
|
}, 1000)
|
|
|
},
|
|
|
computed: {
|
|
|
- ...mapState(['userInfo', 'typeIndex', 'stageIndex'])
|
|
|
+ ...mapState(['userInfo', 'typeIndex'])
|
|
|
},
|
|
|
|
|
|
// 页面滚动触发
|
|
|
@@ -521,17 +515,18 @@
|
|
|
});
|
|
|
},
|
|
|
async closeOrderconfirm() {
|
|
|
- let res = await this.$http.get('/insurance/order/shutDown/' + orderno);
|
|
|
+ let res = await this.$http.get('/insurance/order/shutDown/' + this.orderno);
|
|
|
if (res.code == '200') {
|
|
|
+ this.getOrdersList(1, 20);
|
|
|
uni.showToast({
|
|
|
title: "关闭成功",
|
|
|
icon: 'none',
|
|
|
});
|
|
|
- this.getOrdersList(1, 20);
|
|
|
}
|
|
|
},
|
|
|
//关闭订单
|
|
|
closeOrder(orderno) {
|
|
|
+ this.orderno = orderno;
|
|
|
this.closeOrderShow = true;
|
|
|
},
|
|
|
btn_click() {
|