From 7983b8d22f5b878e5a1766fa6bb4305dd6fb8f86 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Wed, 16 Nov 2022 09:47:15 +0800 Subject: [PATCH] =?UTF-8?q?vue3=E3=80=90operatelog=E3=80=91=EF=BC=9A1?= =?UTF-8?q?=EF=BC=89=E6=B5=8B=E8=AF=95=E6=93=8D=E4=BD=9C=E6=97=A5=E5=BF=97?= =?UTF-8?q?=EF=BC=9B2=EF=BC=89=E8=B0=83=E6=95=B4=20table=20=E7=9A=84?= =?UTF-8?q?=E5=B1=95=E7=A4=BA=E5=88=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/system/operatelog/index.vue | 1 + .../src/views/system/operatelog/operatelog.data.ts | 9 ++++++--- 2 files changed, 7 insertions(+), 3 deletions(-) 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 e51da43ea..baf9b85af 100644 --- a/yudao-ui-admin-vue3/src/views/system/operatelog/index.vue +++ b/yudao-ui-admin-vue3/src/views/system/operatelog/index.vue @@ -74,6 +74,7 @@ const handleDetail = (row: OperateLogApi.OperateLogVO) => { // 导出操作 const handleExport = async () => { + // TODO 星语:缺少 await 噢 exportList(xGrid, '岗位列表.xls') } diff --git a/yudao-ui-admin-vue3/src/views/system/operatelog/operatelog.data.ts b/yudao-ui-admin-vue3/src/views/system/operatelog/operatelog.data.ts index fe8955634..3aeccf921 100644 --- a/yudao-ui-admin-vue3/src/views/system/operatelog/operatelog.data.ts +++ b/yudao-ui-admin-vue3/src/views/system/operatelog/operatelog.data.ts @@ -25,11 +25,13 @@ const crudSchemas = reactive({ }, { title: '请求方法名', - field: 'requestMethod' + field: 'requestMethod', + isTable: false }, { title: '请求地址', - field: 'requestUrl' + field: 'requestUrl', + isTable: false }, { title: '操作人员', @@ -57,7 +59,8 @@ const crudSchemas = reactive({ slots: { default: 'resultCode' } - } + }, + isSearch: true // TODO 星语:这里可能有点特殊,不确定好不好处理哈。管理后台返回的是错误码,最终前台展示的是 成功 or 失败,然后筛选页是这样的 }, { title: '操作日期',