增加订单功能

pull/12/head
youngS 4 years ago
parent fb973da90e
commit 946e77b0bc
  1. 2
      fir_client/src/components/FirApps.vue
  2. 7
      fir_client/src/components/FirUserOrders.vue

@ -538,7 +538,7 @@
this.timmer = setTimeout(data => {
this.$router.push({"name": 'FirUserOrders'});
this.buy_button_disable = false;
}, 2000);
}, 1000);
} else {
this.$message.error("异常" + res.msg);
this.buy_button_disable = false;

@ -213,13 +213,14 @@
},
methods: {
goto_pay(order) {
// eslint-disable-next-line no-console
console.log(order)
my_order(res => {
//
if (res.code === 1000) {
this.$message.success("支付成功");
this.get_data_from_tabname();
this.get_data_from_tabname({
"size": this.pagination.pagesize,
"page": this.pagination.currentPage
});
} else {
this.$message.error("失败了 " + res.msg)
}

Loading…
Cancel
Save