From e76d4ea86796b81009c68330a2f1699576ff0fe8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AE=B8=E5=AE=8F=E6=9D=B0?= <1943105267@qq.com> Date: Wed, 5 Feb 2025 09:55:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=A8=E7=BA=BF=E7=94=B3=E6=8A=A5=E8=AE=B0?= =?UTF-8?q?=E5=BD=95=E4=BF=AE=E6=94=B9=E5=88=86=E9=A1=B5=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 6 +- package.json | 2 +- src/router/index.js | 80 +- src/views/onlineDeclaration/records/index.vue | 687 +++++++++++------- 4 files changed, 481 insertions(+), 294 deletions(-) diff --git a/.env.development b/.env.development index 4bec0c5..a847f9c 100644 --- a/.env.development +++ b/.env.development @@ -5,9 +5,9 @@ VUE_APP_TITLE = 金鸡湖现代服务业品牌管理系统 ENV = 'development' # 金鸡湖现代服务业品牌管理系统/开发环境 -# VUE_APP_BASE_API = 'http://192.168.0.116:9040' +VUE_APP_BASE_API = 'http://192.168.0.115:9040' # 测试环境数据库 -VUE_APP_BASE_API = 'http://39.101.188.84:9040' +# VUE_APP_BASE_API = 'http://39.101.188.84:9040' # 脱敏三方测试用数据库 # VUE_APP_BASE_API = 'http://39.101.188.84:9031' # 正式环境数据库 @@ -24,4 +24,4 @@ VUE_CLI_BABEL_TRANSPILE_MODULES = true #4.部署环境 # 堡垒机地址:https://58.209.81.144:9443/  用户名:admin47   密码:Jinjihu@123456 # 登录后选择IP地址为:192.114.0.197:22  用户名:root   密码:Cloud@1234 -# 登录IP地址后进入部署/var/www/html文件夹 \ No newline at end of file +# 登录IP地址后进入部署/var/www/html文件夹 diff --git a/package.json b/package.json index 3ddc637..c5e339e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ruoyi", - "version": "1.0.202501061704", + "version": "1.0.202502050928", "description": "金鸡湖现代服务业品牌管理系统", "author": "若依", "license": "MIT", diff --git a/src/router/index.js b/src/router/index.js index 3c5c191..d787560 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -43,8 +43,8 @@ export const constantRoutes = [ }, { path: "/login", - // component: () => import("@/views/login"), // 测试环境登录页 - component: () => import("@/views/login_v1"), // 正式环境登录页 + // component: () => import("@/views/login"), // 测试环境登录页 + component: () => import("@/views/login_v1"), // 正式环境登录页 hidden: true, }, { @@ -95,61 +95,65 @@ export const constantRoutes = [ // ], // }, { - path: '/user', + path: "/user", component: Layout, hidden: true, - redirect: 'noredirect', + redirect: "noredirect", children: [ { - path: 'profile', - component: () => import('@/views/system/user/profile/index'), - name: 'Profile', - meta: { title: '个人中心', icon: 'user' } + path: "profile", + component: () => import("@/views/system/user/profile/index"), + name: "Profile", + meta: { title: "个人中心", icon: "user" }, }, { - path: 'onlineDeclareAdd', - component: () => import('@/views/onlineDeclaration/declareAddContent/index'), - name: 'onlineDeclareAdd', - meta: { title: '新增申报', icon: 'user' } + path: "onlineDeclareAdd", + component: () => + import("@/views/onlineDeclaration/declareAddContent/index"), + name: "onlineDeclareAdd", + meta: { title: "新增申报", icon: "user" }, }, { - path: 'onlineDeclareInfo', - component: () => import('@/views/onlineDeclaration/declareDetailContent/index'), - name: 'onlineDeclareInfo', - meta: { title: '申报详情', icon: 'user' } + path: "onlineDeclareInfo", + component: () => + import("@/views/onlineDeclaration/declareDetailContent/index"), + name: "onlineDeclareInfo", + meta: { title: "申报详情", icon: "user" }, }, { - path: 'onlineDeclareDetail', - component: () => import('@/views/onlineDeclaration/templateDetail/index'), - name: 'onlineDeclareDetail', - meta: { title: '模版详情', icon: 'user' } + path: "onlineDeclareDetail", + component: () => + import("@/views/onlineDeclaration/templateDetail/index"), + name: "onlineDeclareDetail", + meta: { title: "模版详情", icon: "user" }, }, { - path: 'onlineDeclareTInfo', - component: () => import('@/views/onlineDeclaration/supplementary/index'), - name: 'onlineDeclareTInfo', - meta: { title: '模版详情', icon: 'user' } + path: "onlineDeclareTInfo", + component: () => + import("@/views/onlineDeclaration/supplementary/index"), + name: "onlineDeclareTInfo", + meta: { title: "模版详情", icon: "user" }, }, { - path: 'projectInfo', - component: () => import('@/views/project/projectInfo/index'), - name: 'projectInfo', - meta: { title: '项目详情', icon: 'user' } + path: "projectInfo", + component: () => import("@/views/project/projectInfo/index"), + name: "projectInfo", + meta: { title: "项目详情", icon: "user" }, }, { - path: 'enterpriselibraryInfo', - component: () => import('@/views/enterpriselibrary/enterInfo/index'), - name: 'enterpriselibraryInfo', - meta: { title: '企业详情', icon: 'user' } + path: "enterpriselibraryInfo", + component: () => import("@/views/enterpriselibrary/enterInfo/index"), + name: "enterpriselibraryInfo", + meta: { title: "企业详情", icon: "user" }, }, { - path: 'onlineDeclarebBuild', - component: () => import('@/views/tool/build/index'), - name: 'onlineDeclarebBuild', - meta: { title: '表单构建', icon: 'user' } + path: "onlineDeclarebBuild", + component: () => import("@/views/tool/build/index"), + name: "onlineDeclarebBuild", + meta: { title: "表单构建", icon: "user" }, }, - ] - } + ], + }, ]; // 动态路由,基于用户权限动态去加载 diff --git a/src/views/onlineDeclaration/records/index.vue b/src/views/onlineDeclaration/records/index.vue index 0a8d2ec..bb061f0 100644 --- a/src/views/onlineDeclaration/records/index.vue +++ b/src/views/onlineDeclaration/records/index.vue @@ -1,6 +1,13 @@