正元同步配置

This commit is contained in:
weiwei committed 2025-03-04 15:44:25 +08:00
1 parent 23b0342601
commit 64a6f7871d
2 files changed
+20 -23

No files matched your search

@@ -33,6 +33,7 @@
></right-toolbar>
</div>
</el-row>
<el-table
:data="state.dataList"
v-loading="state.loading"
@@ -71,12 +72,7 @@
@click="formDialogRef.openDialog(scope.row.id)"
>编辑</el-button
>
<el-button
icon="delete"
text
type="primary"
v-auth="'wallet_walletRechargePackage_del'"
@click="handleDelete([scope.row.id])"
<el-button icon="delete" text type="primary" v-auth="'wallet_walletRechargePackage_del'" @click="handleDelete([scope.row.id])"
>删除</el-button
>
</template>
@@ -116,8 +112,7 @@ const state: BasicTableProps = reactive<BasicTableProps>({
})
// table hook
const { getDataList, currentChangeHandle, sizeChangeHandle, sortChangeHandle, downBlobFile, tableStyle } =
useTable(state)
const { getDataList, currentChangeHandle, sizeChangeHandle, sortChangeHandle, downBlobFile, tableStyle } = useTable(state)
// 清空搜索条件
const resetQuery = () => {
@@ -130,11 +125,7 @@ const resetQuery = () => {
// 导出excel
const exportExcel = () => {
downBlobFile(
"/wallet/wallet-recharge-package/export",
Object.assign(state.queryForm, { ids: selectObjs }),
"walletRechargePackage.xlsx",
)
downBlobFile("/wallet/wallet-recharge-package/export", Object.assign(state.queryForm, { ids: selectObjs }), "walletRechargePackage.xlsx")
}
// 多选事件
@@ -1,6 +1,15 @@
<template>
<div class="w100">
<div class="w-full">
<div class="layout-padding-auto layout-padding-view">
<el-row>
<div class="mb8" style="width: 100%">
<el-button type="primary" @click="merchantInfoSync">商户信息同步</el-button>
<el-button type="primary" @click="unitOfAccountSync">记账单位同步</el-button>
<el-button type="primary" @click="accountInfoSync">账户信息同步</el-button>
<el-button type="primary" @click="identityInfoSync">身份信息同步</el-button>
</div>
</el-row>
<el-table
:data="state.dataList"
v-loading="state.loading"
@@ -8,8 +17,9 @@
:cell-style="tableStyle.cellStyle"
:header-cell-style="tableStyle.headerCellStyle"
@sort-change="sortChangeHandle"
max-height="calc(100vh - 200px)"
>
<el-table-column type="index" label="#" width="40" />
<el-table-column type="index" label="#" width="50" />
<el-table-column prop="apiUrl" label="apiUrl" show-overflow-tooltip />
<el-table-column prop="bizType" label="同步类型" show-overflow-tooltip>
<template #default="{ row }">
@@ -41,10 +51,6 @@
<el-table-column label="操作" width="120">
<template #default="{ row }">
<el-button text type="primary" v-auth="'third_thirdZyLog_edit'" @click="formDialogRef.openDialog(row.id)">编辑</el-button>
<el-button text type="primary" @click="merchantInfoSync(row)">商户信息同步</el-button>
<el-button text type="primary" @click="unitOfAccountSync(row)">记账单位同步</el-button>
<el-button text type="primary" @click="accountInfoSync(row)">账户信息同步</el-button>
<el-button text type="primary" @click="identityInfoSync(row)">身份信息同步</el-button>
</template>
</el-table-column>
</el-table>
@@ -90,11 +96,11 @@ const handleClickJsonView = (json: any) => {
}
// 商户信息同步
const merchantInfoSync = (row: any) => {}
const merchantInfoSync = () => {}
// 记账单位同步
const unitOfAccountSync = (row: any) => {}
const unitOfAccountSync = () => {}
// 账户信息同步
const accountInfoSync = (row: any) => {}
const accountInfoSync = () => {}
// 身份信息同步
const identityInfoSync = (row: any) => {}
const identityInfoSync = () => {}
</script>