|
@@ -19,7 +19,7 @@
|
|
|
</el-row>
|
|
</el-row>
|
|
|
</el-form>
|
|
</el-form>
|
|
|
|
|
|
|
|
- <kt-common-table :operationWidth="240" permsDelete="sys:user:delete" :showBatchDelete="false" :showBatchPrint="true" permsButton3="sys:user:edit" :data="pageResult" :columns="columns" @findPage="findPage" button3Name="审核并支付" button3Background="#00B0F0" @handleButton3="handleButton3" @handlePrint="handlePrint">
|
|
|
|
|
|
|
+ <kt-common-table :operationWidth="240" :showBatchDelete="false" :showBatchPrint="true" permsButton3="sys:unsettledCommissionListExamine:audit" :data="pageResult" :columns="columns" @findPage="findPage" button3Name="审核" button3Background="#00B0F0" @handleButton3="handleButton3" @handlePrint="handlePrint">
|
|
|
</kt-common-table>
|
|
</kt-common-table>
|
|
|
</el-main>
|
|
</el-main>
|
|
|
|
|
|
|
@@ -51,32 +51,14 @@
|
|
|
pageRequest: { //查询的默认条件
|
|
pageRequest: { //查询的默认条件
|
|
|
pageNum: 1,
|
|
pageNum: 1,
|
|
|
pageSize: 10,
|
|
pageSize: 10,
|
|
|
- columnFilters: {
|
|
|
|
|
- "deptid": {
|
|
|
|
|
- "name": "deptid",
|
|
|
|
|
- "value": ""
|
|
|
|
|
- },
|
|
|
|
|
- "applystatus": {
|
|
|
|
|
- "name": "applystatus",
|
|
|
|
|
- "value": "0"
|
|
|
|
|
- },
|
|
|
|
|
- "applytype": {
|
|
|
|
|
- "name": "applytype",
|
|
|
|
|
- "value": "C"
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ status:'0'
|
|
|
},
|
|
},
|
|
|
columns: [ //数据列
|
|
columns: [ //数据列
|
|
|
- {prop: "applyno",label: "提现单号",minWidth: 160},
|
|
|
|
|
- {prop: "deptid",label: "机构代码",minWidth: 100},
|
|
|
|
|
- {prop: "deptname",label: "机构名称",minWidth: 100},
|
|
|
|
|
- {prop: "accountbalance",label: "可提现账户余额",minWidth: 100},
|
|
|
|
|
- {prop: "applyamount",label: "提现金额",minWidth: 100},
|
|
|
|
|
- {prop: "balance",label: "账户余额",minWidth: 100},
|
|
|
|
|
- {prop: "disrate",label: "服务费",minWidth: 100},
|
|
|
|
|
- {prop: "bankname",label: "开户行",minWidth: 100},
|
|
|
|
|
- {prop: "accountno",label: "账号",minWidth: 100},
|
|
|
|
|
- {prop: "createtime",label: "申请时间",minWidth: 130}
|
|
|
|
|
|
|
+ {prop: "id",label: "提现单号",},
|
|
|
|
|
+ {prop: "deptId",label: "机构代码",},
|
|
|
|
|
+ {prop: "name",label: "机构名称"},
|
|
|
|
|
+ {prop: "amount",label: "提现金额"},
|
|
|
|
|
+ {prop: "createTime",label: "申请时间"}
|
|
|
],
|
|
],
|
|
|
//------------协议下拉框数据 begin-----------------
|
|
//------------协议下拉框数据 begin-----------------
|
|
|
agreementtypeoptions: [], //协议类型
|
|
agreementtypeoptions: [], //协议类型
|
|
@@ -84,14 +66,14 @@
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
created() {
|
|
created() {
|
|
|
- this.peopleid = Cookies.get('user');
|
|
|
|
|
- if(this.peopleid!='admin'){
|
|
|
|
|
- this.peopledeptid = Cookies.get('user').split('D')[0];
|
|
|
|
|
- this.pageRequest.columnFilters.deptid.value=this.peopledeptid;
|
|
|
|
|
- }else{
|
|
|
|
|
- this.peopledeptid = '9';
|
|
|
|
|
- this.pageRequest.columnFilters.deptid.value=this.peopledeptid;
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ // this.peopleid = Cookies.get('user');
|
|
|
|
|
+ // if(this.peopleid!='admin'){
|
|
|
|
|
+ // this.peopledeptid = Cookies.get('user').split('D')[0];
|
|
|
|
|
+ // this.pageRequest.columnFilters.deptid.value=this.peopledeptid;
|
|
|
|
|
+ // }else{
|
|
|
|
|
+ // this.peopledeptid = '9';
|
|
|
|
|
+ // this.pageRequest.columnFilters.deptid.value=this.peopledeptid;
|
|
|
|
|
+ // }
|
|
|
//获取所有下拉框数据
|
|
//获取所有下拉框数据
|
|
|
this.getDictItems("agreementtype");
|
|
this.getDictItems("agreementtype");
|
|
|
},
|
|
},
|
|
@@ -162,7 +144,7 @@
|
|
|
this.pageRequest.pageNum = data.pageRequest.pageNum;
|
|
this.pageRequest.pageNum = data.pageRequest.pageNum;
|
|
|
this.pageRequest.pageSize = data.pageRequest.pageSize;
|
|
this.pageRequest.pageSize = data.pageRequest.pageSize;
|
|
|
}
|
|
}
|
|
|
- that.$api.task.payApplyFindPage(that.pageRequest)
|
|
|
|
|
|
|
+ that.$api.task.WithdrawqueryStatus(that.pageRequest)
|
|
|
.then(res => {
|
|
.then(res => {
|
|
|
console.log(res.data)
|
|
console.log(res.data)
|
|
|
that.pageResult = res.data;
|
|
that.pageResult = res.data;
|
|
@@ -170,31 +152,41 @@
|
|
|
.then(data != null ? data.callback : "");
|
|
.then(data != null ? data.callback : "");
|
|
|
},
|
|
},
|
|
|
handleButton3({row,index}) {
|
|
handleButton3({row,index}) {
|
|
|
- let auditid = Cookies.get('user') // 放置token到Cookie
|
|
|
|
|
- let auditname = Cookies.get('name') // 放置token到Cookie
|
|
|
|
|
- this.$confirm('是否确认审核并线下支付?', '提示', {}).then(() => {
|
|
|
|
|
- var data = {
|
|
|
|
|
- "applyno": row.applyno,
|
|
|
|
|
- "applystatus": '2',
|
|
|
|
|
- "auditid": auditid,
|
|
|
|
|
- "auditname": auditname,
|
|
|
|
|
- "paytime": this.formatTime(new Date().getTime(), 'Y-M-D h:m:s')
|
|
|
|
|
- }
|
|
|
|
|
- this.$api.task.insPayApplyAudit(data).then(res => {
|
|
|
|
|
- this.dialogVisible = false
|
|
|
|
|
- this.findPage(null);
|
|
|
|
|
- this.$message({
|
|
|
|
|
- type: 'success',
|
|
|
|
|
- message: '已提交'
|
|
|
|
|
- });
|
|
|
|
|
|
|
+ console.log(row,222222222);
|
|
|
|
|
+ this.$prompt('是否审核通过,输入驳回原因', '提示', {
|
|
|
|
|
+ confirmButtonText: '审核驳回',
|
|
|
|
|
+ cancelButtonText: '审核通过',
|
|
|
|
|
+ inputPattern: /^.+$/,
|
|
|
|
|
+ inputErrorMessage: '输输入驳回原因!'
|
|
|
|
|
+ }).then(({ value }) => {
|
|
|
|
|
+ this.$api.task.withdraAaudit({...row,status:'2',remark:value}).then(res => {
|
|
|
|
|
+ if(res.code==200){
|
|
|
|
|
+ this.dialogVisible = false
|
|
|
|
|
+ this.findPage(null);
|
|
|
|
|
+ this.$message({
|
|
|
|
|
+ type: 'success',
|
|
|
|
|
+ message: '审核驳回通过'
|
|
|
|
|
+ });
|
|
|
|
|
+ }
|
|
|
|
|
+ else{
|
|
|
|
|
+ this.$message.error(res.msg)
|
|
|
|
|
+ }
|
|
|
});
|
|
});
|
|
|
}).catch(() => {
|
|
}).catch(() => {
|
|
|
- this.$message({
|
|
|
|
|
- type: 'info',
|
|
|
|
|
- message: '已取消审核'
|
|
|
|
|
- });
|
|
|
|
|
|
|
+ this.$api.task.withdraAaudit({...row,status:'1'}).then(res => {
|
|
|
|
|
+ if(res.code==200){
|
|
|
|
|
+ this.dialogVisible = false
|
|
|
|
|
+ this.findPage(null);
|
|
|
|
|
+ this.$message({
|
|
|
|
|
+ type: 'success',
|
|
|
|
|
+ message: '审核通过'
|
|
|
|
|
+ });
|
|
|
|
|
+ }
|
|
|
|
|
+ else{
|
|
|
|
|
+ this.$message.error(res.msg)
|
|
|
|
|
+ }
|
|
|
|
|
+ })
|
|
|
});
|
|
});
|
|
|
-
|
|
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
// 格式化日期,如月、日、时、分、秒保证为2位数
|
|
// 格式化日期,如月、日、时、分、秒保证为2位数
|