diff --git a/dist.zip b/dist.zip deleted file mode 100644 index c337e0d..0000000 Binary files a/dist.zip and /dev/null differ diff --git a/src/api/form.js b/src/api/form.js index 617d3f3..d4e920b 100644 --- a/src/api/form.js +++ b/src/api/form.js @@ -83,7 +83,7 @@ export const payAgentUser = { // 更新密钥 upGoogleCaptcha: (data) => { return request({ - url: '/system/user/upGoogleCaptcha?userId='+data.userId, + url: '/system/user/upGoogleCaptcha?userId=' + data.userId, method: 'PUT', headers: { Authorization: "Bearer " + getToken(), @@ -811,6 +811,13 @@ export const payDfOrder = { * 商户代付订单管理 */ export const payOutOrder = { + //点击审核 + orderReview: (data) => { + return request({ + url: '/order/TransferOrder/orderReview?' + qs.stringify(data), + method: 'post', + }) + }, // 获取该卡商绑定的银行卡列表(区分代收代付) getCarddealerCardList: (query) => { return request({ diff --git a/src/views/carddealer/carddealer/index.vue b/src/views/carddealer/carddealer/index.vue index 5770ccf..7230e44 100644 --- a/src/views/carddealer/carddealer/index.vue +++ b/src/views/carddealer/carddealer/index.vue @@ -637,9 +637,6 @@ export default { debug: true, }, methods: { - sortNum(a, b) {//排序方法 - return a - b; - }, tableRowClassName({ row, rowIndex }) { if (row.limitReceiveStatus == 1) { return "greenOrder"; @@ -710,16 +707,17 @@ export default { this.form = response.data; type == 'limitReceiveStatus' ? this.form.limitReceiveStatus = row.limitReceiveStatus : this.form.status = row.status payCard.updateInfo(this.form).then((res) => { - if (type == 'limitReceiveStatus') { - if (row.limitReceiveStatus == 1) { - this.infoList.unshift(...this.infoList.splice(rowIndex, 1)) - } - if (row.limitReceiveStatus == 2) { - this.getList() - } - } + // if (type == 'limitReceiveStatus') { + // if (row.limitReceiveStatus == 1) { + // this.infoList.unshift(...this.infoList.splice(rowIndex, 1)) + // } + // if (row.limitReceiveStatus == 2) { + // this.getList() + // } + // } if (res.code === 200) { this.$message.success("编辑成功"); + this.getList() } }); }); @@ -736,33 +734,18 @@ export default { this.allList = response.data }); }, - timerHandler(queryParams) { - listCarddealer(this.addSESDateRange(this.queryParams, this.dateRange)).then(response => { - this.infoList = response.rows; - // this.infoList = this.infoList.sort(this.sortNum)//调用排序方法 - for (var i = 0; i < this.infoList.length; i++) { - if (this.infoList[i].limitReceiveStatus == 1) { - this.ceshi = this.infoList[i] //声明一个对象保存符合要求的数据 - this.infoList.splice(i, 1)//先把符合条件的数据从当前数组中删除 - this.infoList.unshift(this.ceshi)//通过unshift函数把符合要求的数据放到第一位 - } - } - this.total = Number(response.total); - }); - }, /** 查询码商列表 */ getList() { this.loading = true; listCarddealer(this.addSESDateRange(this.queryParams, this.dateRange)).then(response => { this.infoList = response.rows; - // this.infoList = this.infoList.sort(this.sortNum)//调用排序方法 - for (var i = 0; i < this.infoList.length; i++) { - if (this.infoList[i].limitReceiveStatus == 1) { - this.ceshi = this.infoList[i] //声明一个对象保存符合要求的数据 - this.infoList.splice(i, 1)//先把符合条件的数据从当前数组中删除 - this.infoList.unshift(this.ceshi)//通过unshift函数把符合要求的数据放到第一位 - } - } + // for (var i = 0; i < this.infoList.length; i++) { + // if (this.infoList[i].limitReceiveStatus == 1) { + // this.ceshi = this.infoList[i] //声明一个对象保存符合要求的数据 + // this.infoList.splice(i, 1)//先把符合条件的数据从当前数组中删除 + // this.infoList.unshift(this.ceshi)//通过unshift函数把符合要求的数据放到第一位 + // } + // } this.total = Number(response.total); this.loading = false; this.startTimer(this.queryParams) @@ -914,6 +897,7 @@ export default { amount: amount, googleCode: this.form.googleCode, type: this.form.type, + remark:this.form.remark }).then((response) => { this.msgSuccess("操作成功"); this.openBalance = false; @@ -925,6 +909,7 @@ export default { amount: amount, googleCode: this.form.googleCode, type: this.form.type, + remark:this.form.remark }).then((response) => { this.msgSuccess("操作成功"); this.openBalance = false; diff --git a/src/views/merchant/merchant/index.vue b/src/views/merchant/merchant/index.vue index fdac2b3..46c87be 100644 --- a/src/views/merchant/merchant/index.vue +++ b/src/views/merchant/merchant/index.vue @@ -84,11 +84,29 @@ + + + + @@ -228,6 +246,9 @@ + + +