diff --git a/.env.dev b/.env.dev index c652ac44..03228f8a 100644 --- a/.env.dev +++ b/.env.dev @@ -1,7 +1,7 @@ ### # @Author: Do not edit # @Date: 2023-08-29 09:40:39 - # @LastEditTime: 2024-03-29 14:45:32 + # @LastEditTime: 2024-04-03 11:22:19 # @LastEditors: DY # @Description: ### @@ -18,7 +18,7 @@ VUE_APP_TITLE = MES系统 # VUE_APP_BASE_API = 'http://192.168.2.173:48080' # VUE_APP_BASE_API = 'http://192.168.1.49:48082' # VUE_APP_BASE_API = 'http://192.168.1.8:48082' -# VUE_APP_BASE_API = 'http://192.168.4.159:48080' +# VUE_APP_BASE_API = 'http://192.168.4.173:48082' # VUE_APP_BASE_API = 'http://192.168.1.104:48082' VUE_APP_BASE_API = 'http://192.168.0.33:48082' # VUE_APP_BASE_API = 'http://192.168.1.62:48082' diff --git a/src/api/analysis/energyAnalysis.js b/src/api/analysis/energyAnalysis.js index 16e466bd..97b2e449 100644 --- a/src/api/analysis/energyAnalysis.js +++ b/src/api/analysis/energyAnalysis.js @@ -34,4 +34,22 @@ export function getQoq(data) { method: 'post', data: data }) +} + +// 获取能源设备树 +export function getTree() { + return request({ + url: '/analysis/energy-analysis/getTree', + method: 'get' + }) +} + +// 导出(走势分析) +export function exportTrend(data) { + return request({ + url: '/analysis/energy-analysis/exportTrend', + method: 'post', + responseType: 'blob', + data: data + }) } \ No newline at end of file diff --git a/src/api/base/energyType.js b/src/api/base/energyType.js index b8498ccb..0a8f605d 100644 --- a/src/api/base/energyType.js +++ b/src/api/base/energyType.js @@ -68,3 +68,4 @@ export function exportEnergyTypeExcel(query) { responseType: 'blob' }) } + diff --git a/src/assets/img/OperationalOverview/AGV.png b/src/assets/img/OperationalOverview/AGV.png index 9b8ad54d..63edc8bf 100644 Binary files a/src/assets/img/OperationalOverview/AGV.png and b/src/assets/img/OperationalOverview/AGV.png differ diff --git a/src/assets/img/OperationalOverview/title.png b/src/assets/img/OperationalOverview/title.png index 83d83615..464a528e 100644 Binary files a/src/assets/img/OperationalOverview/title.png and b/src/assets/img/OperationalOverview/title.png differ diff --git a/src/components/DialogForm/index.vue b/src/components/DialogForm/index.vue index 2c05e32e..1ec7eb36 100644 --- a/src/components/DialogForm/index.vue +++ b/src/components/DialogForm/index.vue @@ -12,7 +12,7 @@ :label-width="`${labelWidth}px`" :size="size" :label-position="labelPosition" - v-loading="formLoading"> + v-loading="0 && formLoading"> diff --git a/src/utils/dict.js b/src/utils/dict.js index ddd97161..259d1a07 100644 --- a/src/utils/dict.js +++ b/src/utils/dict.js @@ -97,6 +97,8 @@ export const DICT_TYPE = { TABLE_NAME: 'table_name', METHOD: 'method', PUSH: 'push', + ENERGY_TYPE: 'energy_type', + // ============== ORDER - 订单模块 ============= ORDER_STATUS: 'order_status', @@ -117,7 +119,7 @@ export const DICT_TYPE = { // ============== GROUP - 班组模块 ============= WORK_SHOP: 'workshop', - // ============== GROUP - 质量模块 ============= + // ============== GROUP - 质量模块 ============= MATERIAL_GRADE: 'material_grade' } diff --git a/src/views/OperationalOverview/AGVBoard.vue b/src/views/OperationalOverview/AGVBoard.vue index 921ecdf2..de1155ed 100644 --- a/src/views/OperationalOverview/AGVBoard.vue +++ b/src/views/OperationalOverview/AGVBoard.vue @@ -2,7 +2,7 @@ * @Author: zwq * @Date: 2021-07-19 15:18:30 * @LastEditors: zhp - * @LastEditTime: 2024-03-28 15:28:07 + * @LastEditTime: 2024-03-29 16:49:00 * @Description: -->