From 1af553dbc11139d8716e145d9a697d4bb51ae6c2 Mon Sep 17 00:00:00 2001 From: "2090205686@qq.com" Date: Wed, 11 Jun 2025 17:48:47 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE=E8=B0=83=E6=95=B4=EF=BC=8C?= =?UTF-8?q?=E8=A1=8C=E6=94=BF=E4=BF=A1=E6=81=AF=E9=A1=B5=E9=9D=A2=E5=BC=80?= =?UTF-8?q?=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 2 +- .env.production | 2 +- .env.test | 4 +- src/assets/styles/custom.scss | 1 + src/components/tableComponent.vue | 3 +- src/layout/components/AppMain.vue | 5 +- src/layout/components/Sidebar/Logo.vue | 13 +- src/router/index.js | 482 +++++++++++++----------- src/settings.js | 2 +- src/store/modules/settings.js | 2 +- src/views/brand/index.vue | 6 - src/views/customer/customerCategory.vue | 325 ---------------- src/views/customer/customerManage.vue | 321 ---------------- src/views/index.vue | 57 ++- src/views/region/index.vue | 48 +++ vite.config.js | 6 +- 16 files changed, 356 insertions(+), 923 deletions(-) delete mode 100644 src/views/brand/index.vue delete mode 100644 src/views/customer/customerCategory.vue delete mode 100644 src/views/customer/customerManage.vue create mode 100644 src/views/region/index.vue diff --git a/.env.development b/.env.development index 5bbd0a4..4107d16 100644 --- a/.env.development +++ b/.env.development @@ -1,5 +1,5 @@ # 页面标题 -VITE_APP_TITLE = 运营云后台管理系统 +VITE_APP_TITLE = 政务云后台管理系统 # 开发环境配置 VITE_APP_ENV = 'development' diff --git a/.env.production b/.env.production index 5b5b061..0569ad4 100644 --- a/.env.production +++ b/.env.production @@ -1,5 +1,5 @@ # 页面标题 -VITE_APP_TITLE = 运营云后台管理系统 +VITE_APP_TITLE = 政务云后台管理系统 # 生产环境配置 VITE_APP_ENV = 'production' diff --git a/.env.test b/.env.test index 6f9491b..792ff5d 100644 --- a/.env.test +++ b/.env.test @@ -1,11 +1,11 @@ # 页面标题 -VITE_APP_TITLE = 运营云后台管理系统 +VITE_APP_TITLE = 政务云后台管理系统 # 测试环境配置 VITE_APP_ENV = 'production' # 测试环境 -VITE_APP_BASE_API = 'http://192.168.18.99:8080/' +VITE_APP_BASE_API = 'http://192.168.18.99:8080' VITE_APP_PLATFORM = 'http://192.168.18.99/platform' # 是否在打包时开启压缩,支持 gzip 和 brotli diff --git a/src/assets/styles/custom.scss b/src/assets/styles/custom.scss index 1495537..8b51175 100644 --- a/src/assets/styles/custom.scss +++ b/src/assets/styles/custom.scss @@ -218,6 +218,7 @@ height: 100%; left: 0; right: 0; + min-width: 1000px; } // 表格组件中的各插槽元素自定义样式 .custom-tooltip-content { diff --git a/src/components/tableComponent.vue b/src/components/tableComponent.vue index 983144c..7392864 100644 --- a/src/components/tableComponent.vue +++ b/src/components/tableComponent.vue @@ -59,6 +59,7 @@ :label="column.label" :width="column.width" :align="column.align || 'center'" + :fixed="column.fixed ?? false" :sortable="column.sortable" :header-class-name="column.headerClassName" > @@ -340,7 +341,7 @@ onBeforeUnmount(() => { /* 自定义鼠标悬停颜色 */ :deep(.el-table__body tr:hover > td) { - background-color: rgba(37, 191, 130, 0.1) !important; + background-color: rgba(237 255 248) !important; } /* 自定义表头样式 */ diff --git a/src/layout/components/AppMain.vue b/src/layout/components/AppMain.vue index 0bb8b7e..3f3ece1 100644 --- a/src/layout/components/AppMain.vue +++ b/src/layout/components/AppMain.vue @@ -2,9 +2,10 @@
- + + diff --git a/src/layout/components/Sidebar/Logo.vue b/src/layout/components/Sidebar/Logo.vue index dba707a..99b5036 100644 --- a/src/layout/components/Sidebar/Logo.vue +++ b/src/layout/components/Sidebar/Logo.vue @@ -7,19 +7,11 @@ class="sidebar-logo-link" to="/" > - +

{{ title }}

- +

{{ title }}

@@ -78,7 +70,6 @@ function getUser() { }); } getUser(); - diff --git a/src/views/customer/customerManage.vue b/src/views/customer/customerManage.vue deleted file mode 100644 index 597898a..0000000 --- a/src/views/customer/customerManage.vue +++ /dev/null @@ -1,321 +0,0 @@ - - - diff --git a/src/views/index.vue b/src/views/index.vue index f2cdc7e..771cae2 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -2,25 +2,22 @@
-

农业产业运营云平台 - 后台管理系统

-

​ - 是为农业产业园运营单位打造的一体化智能管理平台,旨在提升园区运营效率、优化业务流程、保障数据安全,实现运营服务的数字化、规范化和透明化。 -

- - 核心功能 - +

农业产业政务云平台 - 后台管理系统

- ✅ 权限分级管理:支持多角色(如超级管理员、部门管理员、审核员)精细化权限控制,确保数据安全与操作合规。
- ✅ 业务协同办理:集成工单流转、事项审批、数据填报等功能,实现跨域高效协作。
- ✅ 数据可视化分析:动态展示园区服务、财政支出等关键指标,辅助园区管理决策。
- ✅ 安全审计追溯:操作日志全记录,支持敏感行为预警与责任追溯,符合等保要求。
- ✅ 移动端适配:支持PC端与移动端同步操作,满足园区运营事务处理需求。 - + 是为县域监管部门打造的一体化智能管理平台,旨在提升农业政务监管效率、优化业务流程、保障数据安全,实现农业产业监管的数字化、规范化和透明化。 +

+ 核心功能 +

+ ✅ 权限分级管理:支持多角色(如超级管理员、部门管理员、审核员)精细化权限控制,确保数据安全与操作合规。
+ ✅ 业务协同办理:集成工单流转、事项审批、数据填报等功能,实现跨域高效协作。
+ ✅ 数据可视化分析:动态展示农资监管、农产品溯源等关键要素,辅助监管部门管理决策。
+ ✅ 安全审计追溯:操作日志全记录,支持敏感行为预警与责任追溯,符合等保要求。
+ ✅ 移动端适配:支持PC端与移动端同步操作,满足农业监管事务处理需求。

系统价值

- 🔹 ​提效减负​:自动化流程减少人工干预,缩短办事周期。
- 🔹 ​阳光政务​:全流程电子化留痕,增强公众监督与信任。
+ 🔹 ​提效减负​:自动化流程减少人工干预,缩短办事周期。
+ 🔹 ​阳光政务​:全流程电子化留痕,增强公众监督与信任。
🔹 ​资源整合​:打破信息孤岛,实现跨系统数据互通共享。

@@ -79,7 +76,7 @@ >http://47.109.205.240/platform

-
+
@@ -266,22 +263,22 @@ 客户端 - -
+
+ @@ -292,21 +289,21 @@ const version = ref("4.0.1"); // 获取用户这里用于临时根据账户判断角色,显示不同客户端app下载图片【没其他用途】 -import { getUserProfile } from "@/api/system/user" +import { getUserProfile } from "@/api/system/user"; const state = reactive({ user: {}, roleGroup: {}, - postGroup: {} -}) + postGroup: {}, +}); function getUser() { - getUserProfile().then(response => { - state.user = response.data - state.roleGroup = response.roleGroup - state.postGroup = response.postGroup - console.log(state.user) // 获取用户信息 - }) + getUserProfile().then((response) => { + state.user = response.data; + state.roleGroup = response.roleGroup; + state.postGroup = response.postGroup; + console.log(state.user); // 获取用户信息 + }); } -getUser() +getUser(); function goTarget(url) { window.open(url, "__blank"); diff --git a/src/views/region/index.vue b/src/views/region/index.vue new file mode 100644 index 0000000..6de17b1 --- /dev/null +++ b/src/views/region/index.vue @@ -0,0 +1,48 @@ + + + + \ No newline at end of file diff --git a/vite.config.js b/vite.config.js index e6b48b0..a651f05 100644 --- a/vite.config.js +++ b/vite.config.js @@ -33,9 +33,9 @@ export default defineConfig(({ mode, command }) => { chunkSizeWarningLimit: 2000, rollupOptions: { output: { - chunkFileNames: "static/js/[name]-[hash].js", - entryFileNames: "static/js/[name]-[hash].js", - assetFileNames: "static/[ext]/[name]-[hash].[ext]", + chunkFileNames: `static/js/[name]-${Date.now()}-[hash].js`, + entryFileNames: `static/js/[name]-${Date.now()}-[hash].js`, + assetFileNames: `static/[ext]/[name]-${Date.now()}-[hash].[ext]`, }, }, },