From 9832fe5992838680d8cb3128603bdd7b8bd89276 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sun, 13 Nov 2022 18:55:31 +0800 Subject: [PATCH] =?UTF-8?q?vue3=EF=BC=9A=E6=B5=8B=E8=AF=95=20operatelog=20?= =?UTF-8?q?=E6=A8=A1=E5=9D=97=EF=BC=8C=E5=AF=BC=E5=87=BA=E9=9C=80=E8=A6=81?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yudao-ui-admin-vue3/src/views/system/operatelog/index.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/yudao-ui-admin-vue3/src/views/system/operatelog/index.vue b/yudao-ui-admin-vue3/src/views/system/operatelog/index.vue index a9443673a..43ebfc840 100644 --- a/yudao-ui-admin-vue3/src/views/system/operatelog/index.vue +++ b/yudao-ui-admin-vue3/src/views/system/operatelog/index.vue @@ -61,6 +61,7 @@ const { gridOptions } = useVxeGrid({ allSchemas: allSchemas, getListApi: OperateLogApi.getOperateLogPageApi }) + // 弹窗相关的变量 const dialogVisible = ref(false) // 是否显示弹出层 const dialogTitle = ref('edit') // 弹出层标题 @@ -74,10 +75,11 @@ const handleDetail = (row: OperateLogApi.OperateLogVO) => { } // 导出操作 +// TODO @星语:导出需要有二次确认哈 const handleExport = async () => { const queryParams = Object.assign( {}, - JSON.parse(JSON.stringify(xGrid.value?.getRefMaps().refForm.value.data)) + JSON.parse(JSON.stringify(xGrid.value?.getRefMaps().refForm.value.data)) // TODO @星语:这个有没办法,封装个 util 获取哈? ) const res = await OperateLogApi.exportOperateLogApi(queryParams) download.excel(res, '岗位列表.xls')