Commit 013b516b authored by pengyunqian's avatar pengyunqian

update:bugfix按钮顺序

parent 2f08dfcc
...@@ -120,7 +120,7 @@ ...@@ -120,7 +120,7 @@
align="center" align="center"
></el-table-column> ></el-table-column>
<!-- 操作快捷键 --> <!-- 操作快捷键 -->
<el-table-column label="操作" align="center" fixed="right" width="200"> <el-table-column label="操作" align="center" width="120">
<template v-slot:default="scope"> <template v-slot:default="scope">
<el-button <el-button
type="text" type="text"
...@@ -227,6 +227,12 @@ ...@@ -227,6 +227,12 @@
dialogData.showData.history_share dialogData.showData.history_share
}}</span> }}</span>
</li> </li>
<li>
<span class="list-left">历史下载留存 :</span
><span class="list-right">{{
dialogData.showData.history_download_keep
}}</span>
</li>
</ul> </ul>
<el-form-item class="text-area" label="奖励明细:"> <el-form-item class="text-area" label="奖励明细:">
<el-table <el-table
......
...@@ -76,7 +76,7 @@ ...@@ -76,7 +76,7 @@
> >
<!-- <page :totalNum="totalNum" @update="update" /> --> <!-- <page :totalNum="totalNum" @update="update" /> -->
<el-pagination <el-pagination
:class="totalNum/params.page_size>=7? 'page': ''" :class="totalNum / params.page_size >= 7 ? 'page' : ''"
@current-change="handleCurrentChange" @current-change="handleCurrentChange"
v-model:currentPage="params.page" v-model:currentPage="params.page"
:page-size="params.page_size" :page-size="params.page_size"
...@@ -108,16 +108,16 @@ export default { ...@@ -108,16 +108,16 @@ export default {
amount: 4, amount: 4,
balance: 555, balance: 555,
trade_type: "提现", trade_type: "提现",
status: "失败" status: "失败",
} },
], ],
tableLoading: false, tableLoading: false,
params: { params: {
page: 1, page: 1,
currentPage: 1, currentPage: 1,
page_size: 20 page_size: 20,
}, },
totalNum: null totalNum: null,
}; };
}, },
...@@ -148,7 +148,7 @@ export default { ...@@ -148,7 +148,7 @@ export default {
wallet_id, wallet_id,
page, page,
page_size, page_size,
type type,
}; };
getRecordList(params_list) getRecordList(params_list)
.then((res) => { .then((res) => {
...@@ -168,9 +168,15 @@ export default { ...@@ -168,9 +168,15 @@ export default {
}, },
// 返回 // 返回
handleBack() { handleBack() {
this.$router.back(); this.$router.push({
}, path: "/op/withdrawal/walletaccount",
}, query: {
search_id: this.$route.query.search_id || undefined,
search_type: this.$route.query.search_type || undefined
}
});
}
}
}; };
</script> </script>
...@@ -183,9 +189,8 @@ export default { ...@@ -183,9 +189,8 @@ export default {
padding: 20px; padding: 20px;
} }
.page { .page {
/deep/ .el-pager>li:last-of-type { /deep/ .el-pager > li:last-of-type {
display: none; display: none;
}
} }
}
</style> </style>
\ No newline at end of file
...@@ -119,7 +119,7 @@ ...@@ -119,7 +119,7 @@
<!-- 分页 --> <!-- 分页 -->
<!-- <page :totalNum="totalNum" @update="update" ref="params" /> --> <!-- <page :totalNum="totalNum" @update="update" ref="params" /> -->
<el-pagination <el-pagination
:class="totalNum/params.page_size>=7? 'page': ''" :class="totalNum / params.page_size >= 7 ? 'page' : ''"
@current-change="handleCurrentChange" @current-change="handleCurrentChange"
v-model:currentPage="params.page" v-model:currentPage="params.page"
:page-size="params.page_size" :page-size="params.page_size"
...@@ -167,6 +167,8 @@ export default { ...@@ -167,6 +167,8 @@ export default {
}, },
created() { created() {
this.tableLoading = true; this.tableLoading = true;
this.searchProps.user_id = this.$route.query.search_id || "";
this.searchProps.type = +this.$route.query.search_type || "";
this.getAccountList(); this.getAccountList();
// this.getPermissionsAll(); // this.getPermissionsAll();
}, },
...@@ -224,24 +226,28 @@ export default { ...@@ -224,24 +226,28 @@ export default {
}是否继续?`, }是否继续?`,
"提示", "提示",
{ {
confirmButtonText: "确定", confirmButtonText: "取消",
cancelButtonText: "取消", cancelButtonText: "确定",
cancelButtonClass: "cancel",
confirmButtonClass: "confirm",
dangerouslyUseHTMLString: true,
closeOnClickModal: false,
type: "warning", type: "warning",
center: true, center: true,
} }
) )
.then(() => { .then(() => {
this.$message({
type: "info",
message: "已取消",
});
})
.catch(() => {
if (+type === 0) { if (+type === 0) {
this.handleBlackList(user_id, wallet_id); this.handleBlackList(user_id, wallet_id);
} else { } else {
this.release(user_id, wallet_id); this.release(user_id, wallet_id);
} }
})
.catch(() => {
this.$message({
type: "info",
message: "已取消",
});
}); });
}, },
...@@ -265,7 +271,12 @@ export default { ...@@ -265,7 +271,12 @@ export default {
handelRecord(row) { handelRecord(row) {
this.$router.push({ this.$router.push({
path: "/op/withdrawal/flowrecord", path: "/op/withdrawal/flowrecord",
query: { user_id: row.user_id, wallet_id: row.wallet_id }, query: {
user_id: row.user_id,
wallet_id: row.wallet_id,
search_id: this.searchProps.user_id || undefined,
search_type: this.searchProps.type || undefined,
},
}); });
}, },
//黑名单 //黑名单
...@@ -301,11 +312,14 @@ export default { ...@@ -301,11 +312,14 @@ export default {
margin: 0 2px; margin: 0 2px;
} }
.page { .page {
/deep/ .el-pager>li:last-of-type { /deep/ .el-pager > li:last-of-type {
display: none; display: none;
}
} }
} // /deep/ .el-button el-button--default el-button--small .cancel {
// float: right;
// margin-left: 10px;
// }
</style> </style>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment