From 3ff2e732b2b000b4d14b29b4cd4f76440a23041d Mon Sep 17 00:00:00 2001 From: louis <869322496@qq.com> Date: Fri, 1 Mar 2024 10:47:50 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=90=88=E5=90=8C=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E9=99=84=E4=BB=B6=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env | 2 +- src/components/business/file-manage/index.vue | 11 ++ src/views/contract/columns.tsx | 6 +- src/views/contract/index.vue | 40 ++++- src/views/contract/upload-columns.tsx | 153 ++++++++++++++++++ src/views/contract/upload-contract.vue | 119 ++++++++++++++ 6 files changed, 322 insertions(+), 9 deletions(-) create mode 100644 src/components/business/file-manage/index.vue create mode 100644 src/views/contract/upload-columns.tsx create mode 100644 src/views/contract/upload-contract.vue diff --git a/.env b/.env index 692c263..c2944d5 100644 --- a/.env +++ b/.env @@ -1,5 +1,5 @@ # 项目名称 -VITE_APP_TITLE = Admin +VITE_APP_TITLE = 华信OA # 网站前缀 VITE_BASE_URL = / diff --git a/src/components/business/file-manage/index.vue b/src/components/business/file-manage/index.vue new file mode 100644 index 0000000..0e7b47b --- /dev/null +++ b/src/components/business/file-manage/index.vue @@ -0,0 +1,11 @@ + + + + + diff --git a/src/views/contract/columns.tsx b/src/views/contract/columns.tsx index b20d011..65e30c7 100644 --- a/src/views/contract/columns.tsx +++ b/src/views/contract/columns.tsx @@ -10,17 +10,17 @@ export const baseColumns = (ctx: { contractTypes: API.DictItemEntity[] }): Table const { contractTypes } = ctx; return [ { - title: '合同编号', + title: '编号', width: 120, dataIndex: 'contractNumber', }, { - title: '合同标题', + title: '标题', width: 200, dataIndex: 'title', }, { - title: '合同类型', + title: '类型', width: 80, formItemProps: { component: 'Select', diff --git a/src/views/contract/index.vue b/src/views/contract/index.vue index 906301a..c4a1ece 100644 --- a/src/views/contract/index.vue +++ b/src/views/contract/index.vue @@ -20,29 +20,34 @@ + - + +