正元同步配置
This commit is contained in:
1 parent
23b0342601
commit
64a6f7871d
2 files changed
+20
-23
No files matched your search
@@ -33,6 +33,7 @@
|
|||||||
></right-toolbar>
|
></right-toolbar>
|
||||||
</div>
|
</div>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
|
||||||
<el-table
|
<el-table
|
||||||
:data="state.dataList"
|
:data="state.dataList"
|
||||||
v-loading="state.loading"
|
v-loading="state.loading"
|
||||||
@@ -71,12 +72,7 @@
|
|||||||
@click="formDialogRef.openDialog(scope.row.id)"
|
@click="formDialogRef.openDialog(scope.row.id)"
|
||||||
>编辑</el-button
|
>编辑</el-button
|
||||||
>
|
>
|
||||||
<el-button
|
<el-button icon="delete" text type="primary" v-auth="'wallet_walletRechargePackage_del'" @click="handleDelete([scope.row.id])"
|
||||||
icon="delete"
|
|
||||||
text
|
|
||||||
type="primary"
|
|
||||||
v-auth="'wallet_walletRechargePackage_del'"
|
|
||||||
@click="handleDelete([scope.row.id])"
|
|
||||||
>删除</el-button
|
>删除</el-button
|
||||||
>
|
>
|
||||||
</template>
|
</template>
|
||||||
@@ -116,8 +112,7 @@ const state: BasicTableProps = reactive<BasicTableProps>({
|
|||||||
})
|
})
|
||||||
|
|
||||||
// table hook
|
// table hook
|
||||||
const { getDataList, currentChangeHandle, sizeChangeHandle, sortChangeHandle, downBlobFile, tableStyle } =
|
const { getDataList, currentChangeHandle, sizeChangeHandle, sortChangeHandle, downBlobFile, tableStyle } = useTable(state)
|
||||||
useTable(state)
|
|
||||||
|
|
||||||
// 清空搜索条件
|
// 清空搜索条件
|
||||||
const resetQuery = () => {
|
const resetQuery = () => {
|
||||||
@@ -130,11 +125,7 @@ const resetQuery = () => {
|
|||||||
|
|
||||||
// 导出excel
|
// 导出excel
|
||||||
const exportExcel = () => {
|
const exportExcel = () => {
|
||||||
downBlobFile(
|
downBlobFile("/wallet/wallet-recharge-package/export", Object.assign(state.queryForm, { ids: selectObjs }), "walletRechargePackage.xlsx")
|
||||||
"/wallet/wallet-recharge-package/export",
|
|
||||||
Object.assign(state.queryForm, { ids: selectObjs }),
|
|
||||||
"walletRechargePackage.xlsx",
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// 多选事件
|
// 多选事件
|
||||||
|
|||||||
@@ -1,6 +1,15 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="w100">
|
<div class="w-full">
|
||||||
<div class="layout-padding-auto layout-padding-view">
|
<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
|
<el-table
|
||||||
:data="state.dataList"
|
:data="state.dataList"
|
||||||
v-loading="state.loading"
|
v-loading="state.loading"
|
||||||
@@ -8,8 +17,9 @@
|
|||||||
:cell-style="tableStyle.cellStyle"
|
:cell-style="tableStyle.cellStyle"
|
||||||
:header-cell-style="tableStyle.headerCellStyle"
|
:header-cell-style="tableStyle.headerCellStyle"
|
||||||
@sort-change="sortChangeHandle"
|
@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="apiUrl" label="apiUrl" show-overflow-tooltip />
|
||||||
<el-table-column prop="bizType" label="同步类型" show-overflow-tooltip>
|
<el-table-column prop="bizType" label="同步类型" show-overflow-tooltip>
|
||||||
<template #default="{ row }">
|
<template #default="{ row }">
|
||||||
@@ -41,10 +51,6 @@
|
|||||||
<el-table-column label="操作" width="120">
|
<el-table-column label="操作" width="120">
|
||||||
<template #default="{ row }">
|
<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" 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>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</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>
|
</script>
|
||||||
Reference in new issue
Block a user