feat:申请备注

This commit is contained in:
dzc committed 2025-01-20 15:56:50 +08:00
1 parent 9bf7f7af6d
commit eb295d35f9
3 files changed
+350 -331

No files matched your search

@@ -84,6 +84,7 @@
<dict-tag :options="check_status" :value="row.processStatus" />
</template>
</el-table-column>
<el-table-column prop="remark" label="备注" show-overflow-tooltip />
<el-table-column prop="createTime" label="创建时间" show-overflow-tooltip />
<el-table-column label="操作" width="300">
<template #default="{ row }">
@@ -3,7 +3,14 @@
<div class="layout-padding-auto layout-padding-view">
<el-row>
<div class="mb8" style="width: 100%">
<right-toolbar class="ml10 mr20" style="float: right" :search="false" @queryTable="getList" />
<right-toolbar
class="ml10 mr20"
style="float: right"
:search="false"
@queryTable="getList"
:export="true"
@exportExcel="exportExcel"
/>
</div>
</el-row>
<el-table :data="data.list" v-loading="state.loading" border :header-cell-style="tableStyle.headerCellStyle">
@@ -60,6 +67,7 @@ import { BasicTableProps, useTable } from "/@/hooks/table"
import { useDict } from "/@/hooks/dict"
import { displayPrice } from "/@/utils/formatMoney"
import * as walletRechargeApplyApi from "/@/api/wallet/wallet-recharge-apply"
import { downBlobFile } from "/@/utils/other"
const { query } = useRoute()
@@ -103,6 +111,11 @@ const currentChangeHandle = (e: any) => {
getList()
}
// 导出excel
const exportExcel = () => {
downBlobFile("/wallet/wallet-recharge-apply/export-excel", Object.assign(state.queryForm), "walletManage.xlsx")
}
/** 查询列表 */
const getList = async () => {
state.loading = true