From c6f56d1696cecab1c0a3d6be39afdae64e604dc2 Mon Sep 17 00:00:00 2001 From: DU Date: Mon, 14 Sep 2026 13:09:25 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=E6=8E=A5=E9=9A=90=E6=82=A3=E6=B5=81?= =?UTF-8?q?=E7=A8=8B=EF=BC=8C=20UI=20+=20=E6=8E=A5=E5=8F=A3=EF=BC=8C=20?= =?UTF-8?q?=E8=B0=83=E6=95=B4=E7=99=BB=E5=BD=95=E9=A1=B5=E9=9D=A2UI=20?= =?UTF-8?q?=EF=BC=8C=E8=B7=B3=E8=BD=ACtitle=20=E7=AD=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.production | 2 +- .env.staging | 2 +- package.json | 2 +- src/api/flowable/hazardConfig.js | 60 +++ src/layout/components/Sidebar/Logo.vue | 8 +- src/views/flowable/hazardConfig/index.vue | 614 +++++++++++++++++++++- src/views/login.vue | 55 +- 7 files changed, 722 insertions(+), 21 deletions(-) create mode 100644 src/api/flowable/hazardConfig.js diff --git a/.env.production b/.env.production index 929edce..bf8137e 100644 --- a/.env.production +++ b/.env.production @@ -1,5 +1,5 @@ # 页面标题 -VUE_APP_TITLE = 陈山智慧油库 +VUE_APP_TITLE = 积分管理系统 # 生产环境配置 ENV = 'production' diff --git a/.env.staging b/.env.staging index 361859f..8164afb 100644 --- a/.env.staging +++ b/.env.staging @@ -1,5 +1,5 @@ # 页面标题 -VUE_APP_TITLE = 若依管理系统 +VUE_APP_TITLE = 积分管理系统 NODE_ENV = production diff --git a/package.json b/package.json index ad77a78..9b44375 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "chenshan", + "name": "jifenguanlixitong", "version": "3.8.7", "scripts": { "dev": "vue-cli-service serve", diff --git a/src/api/flowable/hazardConfig.js b/src/api/flowable/hazardConfig.js new file mode 100644 index 0000000..b812216 --- /dev/null +++ b/src/api/flowable/hazardConfig.js @@ -0,0 +1,60 @@ +import request from '@/utils/request' + +export function listHazardFlowConfigs(params) { + return request({ + url: '/flowable/hazardFlowConfig/list', + method: 'get', + params + }) +} + +export function getHazardFlowConfig(id) { + return request({ + url: '/flowable/hazardFlowConfig/' + id, + method: 'get' + }) +} + +export function addHazardFlowConfig(data) { + return request({ + url: '/flowable/hazardFlowConfig', + method: 'post', + data + }) +} + +export function updateHazardFlowConfig(data) { + return request({ + url: '/flowable/hazardFlowConfig', + method: 'put', + data + }) +} + +export function deleteHazardFlowConfig(id) { + return request({ + url: '/flowable/hazardFlowConfig/' + id, + method: 'delete' + }) +} + +export function listMyFactoryHazardFlowConfigs() { + return request({ + url: '/flowable/hazardFlowConfig/myFactoryConfigs', + method: 'get' + }) +} + +export function listFactoryDepartments() { + return request({ + url: '/system/dept/factoryList', + method: 'get' + }) +} + +export function getMyFactoryDepartment() { + return request({ + url: '/system/dept/myFactory', + method: 'get' + }) +} diff --git a/src/layout/components/Sidebar/Logo.vue b/src/layout/components/Sidebar/Logo.vue index 8216e2a..529ade0 100644 --- a/src/layout/components/Sidebar/Logo.vue +++ b/src/layout/components/Sidebar/Logo.vue @@ -2,10 +2,12 @@ @@ -76,7 +78,7 @@ export default { & .sidebar-title { display: inline-block; margin: 0; - color: #fff; + color: #666; font-weight: 600; line-height: 52px; font-size: 14px; diff --git a/src/views/flowable/hazardConfig/index.vue b/src/views/flowable/hazardConfig/index.vue index 53d759e..a29bafb 100644 --- a/src/views/flowable/hazardConfig/index.vue +++ b/src/views/flowable/hazardConfig/index.vue @@ -1,9 +1,619 @@ + + diff --git a/src/views/login.vue b/src/views/login.vue index 2911410..a74be83 100644 --- a/src/views/login.vue +++ b/src/views/login.vue @@ -7,7 +7,7 @@
-
智慧油库系统
+
积分管理系统