From 9f0e384be65bb43cb91c2b23df40874a9e84a402 Mon Sep 17 00:00:00 2001 From: JiangQiming <291854119@qq.com> Date: Mon, 30 Jan 2023 10:55:15 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E9=80=9A=E7=9F=A5=E6=A8=A1=E6=9D=BF?= =?UTF-8?q?=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/notice/Template/Log/index.vue | 4 ++-- src/views/notice/Template/index.vue | 28 ++++++++++++------------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/src/views/notice/Template/Log/index.vue b/src/views/notice/Template/Log/index.vue index 2be0156c..4718e6a7 100644 --- a/src/views/notice/Template/Log/index.vue +++ b/src/views/notice/Template/Log/index.vue @@ -10,7 +10,7 @@ -import configApi from '@/api/notice/config'; +import templateApi from '@/api/notice/template'; import { PropType } from 'vue'; import moment from 'moment'; import { Modal } from 'ant-design-vue'; diff --git a/src/views/notice/Template/index.vue b/src/views/notice/Template/index.vue index c71f1130..7af08260 100644 --- a/src/views/notice/Template/index.vue +++ b/src/views/notice/Template/index.vue @@ -179,7 +179,7 @@ const params = ref>({}); const columns = [ { - title: '配置名称', + title: '模板名称', dataIndex: 'name', key: 'name', search: { @@ -234,9 +234,9 @@ const columns = [ * @param params */ const handleSearch = (e: any) => { - console.log('handleSearch:', e); + // console.log('handleSearch:', e); params.value = e; - console.log('params.value: ', params.value); + // console.log('params.value: ', params.value); }; /** @@ -338,6 +338,17 @@ const getActions = ( currentConfig.value = data; }, }, + { + key: 'debug', + text: '导出', + tooltip: { + title: '导出', + }, + icon: 'ArrowDownOutlined', + onClick: () => { + downloadObject(data, `通知配置`); + }, + }, { key: 'debug', text: '通知记录', @@ -350,17 +361,6 @@ const getActions = ( currentConfig.value = data; }, }, - { - key: 'debug', - text: '导出', - tooltip: { - title: '导出', - }, - icon: 'ArrowDownOutlined', - onClick: () => { - downloadObject(data, `通知配置`); - }, - }, { key: 'delete', text: '删除',