From c8b61880b1f6894d2a0c183aafcbcbffc0c11404 Mon Sep 17 00:00:00 2001 From: z9130 <984661593@qq.com> Date: Tue, 24 Sep 2024 20:04:11 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=8F=E5=90=8C=E5=8A=9E=E5=85=AC=E7=95=8C?= =?UTF-8?q?=E9=9D=A2=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/web-office/src/api/index.ts | 3 + apps/web-office/src/hooks/useRender.ts | 19 +- .../src/views/duty/standing-book/index.vue | 169 +++-- .../src/views/meeting/edit/index.vue | 578 +++++++++--------- .../meeting/edit/spoken-person-edit-modal.vue | 123 ++-- .../src/views/meeting/standing-book/index.vue | 264 ++++---- .../src/views/meeting/start/index.vue | 277 +++++---- .../src/views/supervise/feedback/crud.tsx | 12 +- .../src/views/supervise/feedback/index.vue | 47 +- .../src/views/supervise/summary/crud.tsx | 86 +-- 10 files changed, 807 insertions(+), 771 deletions(-) diff --git a/apps/web-office/src/api/index.ts b/apps/web-office/src/api/index.ts index 9482b698..aa460ec7 100644 --- a/apps/web-office/src/api/index.ts +++ b/apps/web-office/src/api/index.ts @@ -281,6 +281,9 @@ export default { /** 协同办公/督查督办/执行反馈 执行反馈已办查询 */ get_pageDone: (data?: QueryOptions) => http.get('/app/feedback/pageDone', data), + /** 协同办公/督查督办/立项发起 立项删除 */ + post_deletes: (data?: BodyOptions) => + http.post('/app/feedback/deletes', data), }, file: { /** 协同办公/文件上传/下载 多文件上传 */ diff --git a/apps/web-office/src/hooks/useRender.ts b/apps/web-office/src/hooks/useRender.ts index 1ce3dad3..86ac09db 100644 --- a/apps/web-office/src/hooks/useRender.ts +++ b/apps/web-office/src/hooks/useRender.ts @@ -1,8 +1,9 @@ import { h } from 'vue'; +import { EllipsisText } from '@vben/common-ui'; + import { Button, Tag } from 'ant-design-vue'; // import { Icon } from '@/components/Icon'; -import { Tooltip } from 'ant-design-vue'; import dayjs from 'dayjs'; import { DictTag } from '#/components/dict-tag'; @@ -55,16 +56,13 @@ export const useRender = { if (text) { params = params || {}; const classArr: string[] = params.class || []; - if (params?.maxLine && params?.maxLine > 0) { - classArr.push(`line-clamp-${params?.maxLine}`); - } + // if (params?.maxLine && params?.maxLine > 0) { + // classArr.push(`line-clamp-${params?.maxLine}`); + // } return h( - Tooltip, - { trigger: 'hover' }, - { - trigger: () => h('span', { class: classArr.join(' ') }, text), - default: () => text, - }, + EllipsisText, + { class: classArr.join(' '), line: params?.maxLine || 6 }, + text, ); } return ''; @@ -113,7 +111,6 @@ export const useRender = { * @returns 字典标签 */ renderDict: (text: string, dictType: string, params?: any) => { - debugger; if (!dictType && !params.options) { console.warn('请传入字典类型'); return ''; diff --git a/apps/web-office/src/views/duty/standing-book/index.vue b/apps/web-office/src/views/duty/standing-book/index.vue index 53961748..047b0df9 100644 --- a/apps/web-office/src/views/duty/standing-book/index.vue +++ b/apps/web-office/src/views/duty/standing-book/index.vue @@ -1,75 +1,19 @@ - - + + diff --git a/apps/web-office/src/views/meeting/edit/index.vue b/apps/web-office/src/views/meeting/edit/index.vue index cfa7cb0a..32aafb60 100644 --- a/apps/web-office/src/views/meeting/edit/index.vue +++ b/apps/web-office/src/views/meeting/edit/index.vue @@ -1,26 +1,27 @@