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 @@ - +