From 4ce05b1fdd3f14cd51b7cba71a190945221e7a9c Mon Sep 17 00:00:00 2001
From: suixy <2277317060@qq.com>
Date: Thu, 9 Oct 2025 18:18:18 +0800
Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20docx?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
package.json | 3 ++-
src/router/index.ts | 5 +++++
src/views/contract/index.vue | 40 ++++++++++++++++++++++++++++++++++++
3 files changed, 47 insertions(+), 1 deletion(-)
create mode 100644 src/views/contract/index.vue
diff --git a/package.json b/package.json
index 3062a60..7241135 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"$schema": "https://json.schemastore.org/package",
- "name": "经营管理系统",
+ "name": "hwBm",
"version": "5.5.0-2.5.0",
"description": "海威经营管理信息化系统",
"author": "LionLi",
@@ -28,6 +28,7 @@
"await-to-js": "3.0.0",
"axios": "1.8.4",
"crypto-js": "4.2.0",
+ "docx": "^9.5.1",
"echarts": "5.6.0",
"element-plus": "2.9.8",
"file-saver": "2.0.5",
diff --git a/src/router/index.ts b/src/router/index.ts
index a6497db..778f222 100644
--- a/src/router/index.ts
+++ b/src/router/index.ts
@@ -26,6 +26,11 @@ import Layout from '@/layout/index.vue';
// 公共路由
export const constantRoutes: RouteRecordRaw[] = [
+ {
+ path: '/contract',
+ component: () => import('@/views/contract/index.vue'),
+ hidden: true
+ },
{
path: '/redirect',
component: Layout,
diff --git a/src/views/contract/index.vue b/src/views/contract/index.vue
new file mode 100644
index 0000000..0212ce9
--- /dev/null
+++ b/src/views/contract/index.vue
@@ -0,0 +1,40 @@
+
+ 123
+
+
+
+
+