|
|
@@ -355,7 +355,12 @@ export default {
|
|
|
withdrawButton({ index, row }) {
|
|
|
this.sysUserAccountCardList = [];
|
|
|
this.withdrawForm.userId = row.userId;
|
|
|
- this.sysUserAccountCardList = row.sysUserAccountCardList;
|
|
|
+ // this.sysUserAccountCardList = row.sysUserAccountCardList;
|
|
|
+ this.$api.dept.queryUsableCard({
|
|
|
+ userId: row.userId
|
|
|
+ }).then((res) => {
|
|
|
+ this.sysUserAccountCardList = res.data;
|
|
|
+ })
|
|
|
this.dialogVisible = !this.dialogVisible;
|
|
|
},
|
|
|
// 绑卡
|
|
|
@@ -363,7 +368,6 @@ export default {
|
|
|
this.addCard = {}
|
|
|
this.addCard.userId = row.userId;
|
|
|
this.addCard.userName = row.name
|
|
|
- console.log(this.addCard)
|
|
|
this.dialogVisible1 = true
|
|
|
},
|
|
|
//联级选择器触发事件
|
|
|
@@ -391,8 +395,14 @@ export default {
|
|
|
})
|
|
|
.then((res) => {
|
|
|
if (res.code == 200) {
|
|
|
- this.pageResult = res.data;
|
|
|
- console.log(this.pageResult);
|
|
|
+ let resData = {
|
|
|
+ content: res.data.records,
|
|
|
+ pageNum: res.data.current,
|
|
|
+ pageSize: res.data.size,
|
|
|
+ totalPages: res.data.pages,
|
|
|
+ totalSize: res.data.total,
|
|
|
+ }
|
|
|
+ this.pageResult = resData;
|
|
|
}
|
|
|
});
|
|
|
},
|