diff --git a/.env.dev b/.env.dev index d5c4851a..c6db1eca 100644 --- a/.env.dev +++ b/.env.dev @@ -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.173:48082' +# VUE_APP_BASE_API = 'http://192.168.4.173:9001' # 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/base/energyQuantityManual.js b/src/api/base/energyQuantityManual.js index d919b5a3..a44a5d70 100644 --- a/src/api/base/energyQuantityManual.js +++ b/src/api/base/energyQuantityManual.js @@ -53,4 +53,28 @@ export function energyQuantityManualExport(data) { data: data, responseType: 'blob' }) +} +// 获得能源表名配置分页 +export function energyTablePage(data) { + return request({ + url: '/base/energy-table/page', + method: 'post', + data: data + }) +} +// 获得能源表名配置 +export function energyTableGet(query) { + return request({ + url: '/base/energy-table/get', + method: 'get', + params: query + }) +} +// 更新能源表名配置 +export function energyTableUpdate(data) { + return request({ + url: '/base/energy-table/update', + method: 'put', + data: data + }) } \ No newline at end of file diff --git a/src/store/modules/dict.js b/src/store/modules/dict.js index f2dc57ac..0d21f707 100644 --- a/src/store/modules/dict.js +++ b/src/store/modules/dict.js @@ -32,6 +32,7 @@ const actions = { } // 处理 dictValue 层级 dictDataMap[dictData.dictType].push({ + id: dictData.id, value: dictData.value, label: dictData.label, colorType: dictData.colorType, diff --git a/src/views/OperationalOverview/AGVBoard.vue b/src/views/OperationalOverview/AGVBoard.vue index de1155ed..6553786f 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-29 16:49:00 + * @LastEditTime: 2024-04-03 10:54:53 * @Description: -->