diff --git a/.env.dev b/.env.dev index 27afe917..7ff595c7 100644 --- a/.env.dev +++ b/.env.dev @@ -1,7 +1,7 @@ ### # @Author: Do not edit # @Date: 2023-08-29 09:40:39 - # @LastEditTime: 2024-02-22 09:06:57 + # @LastEditTime: 2024-02-23 16:03:51 # @LastEditors: zhp # @Description: ### @@ -14,7 +14,7 @@ VUE_APP_TITLE = MES系统 # 芋道管理系统/开发环境 # VUE_APP_BASE_API = 'http://100.64.0.26:48082' # VUE_APP_BASE_API = 'http://10.70.2.2:8080' -VUE_APP_BASE_API = 'http://192.168.0.33:48082' +# VUE_APP_BASE_API = 'http://192.168.0.33:48082' # VUE_APP_BASE_API = 'http://192.168.4.173:48080' # VUE_APP_BASE_API = 'http://192.168.2.173:48080' # VUE_APP_BASE_API = 'http://192.168.1.49:48082' @@ -22,11 +22,10 @@ VUE_APP_BASE_API = 'http://192.168.0.33:48082' # VUE_APP_BASE_API = 'http://192.168.4.159:48080' # VUE_APP_BASE_API = 'http://192.168.1.104:48082' # VUE_APP_BASE_API = 'http://192.168.0.30:8888' -# VUE_APP_BASE_API = 'http://192.168.0.33:48082' +VUE_APP_BASE_API = 'http://192.168.0.33:48082' # VUE_APP_BASE_API = 'http://192.168.0.33:48082' # VUE_APP_BASE_API = 'http://192.168.1.62:48082' # VUE_APP_BASE_API = 'http://192.168.1.78:48082' - # VUE_APP_BASE_API = 'http://192.168.1.78:48082' # socket地址 VUE_APP_Socket_API = 'ws://192.168.0.30:8888' diff --git a/src/api/equipment/base/config/config.js b/src/api/equipment/base/config/config.js new file mode 100644 index 00000000..71f73aa9 --- /dev/null +++ b/src/api/equipment/base/config/config.js @@ -0,0 +1,35 @@ +/* + * @Author: Do not edit + * @Date: 2024-02-21 13:43:02 + * @LastEditTime: 2024-02-21 15:00:17 + * @LastEditors: DY + * @Description: + */ +import request from '@/utils/request' + +// 获得关联表名 +export function getplcAllList(query) { + return request({ + url: '/base/equipment-plc/listAll', + method: 'get', + params: query + }) +} + +// 获得设备 +export function getEquipmentList(query) { + return request({ + url: '/base/core-equipment/page', + method: 'get', + params: query + }) +} + +// 根据产线获得工段 +export function listByParentId(query) { + return request({ + url: '/base/core-workshop-section/listByParentId', + method: 'get', + params: query + }) +} diff --git a/src/views/base/coreProduct/add-or-updata.vue b/src/views/base/coreProduct/add-or-updata.vue index 0b2923e3..92a55c9a 100644 --- a/src/views/base/coreProduct/add-or-updata.vue +++ b/src/views/base/coreProduct/add-or-updata.vue @@ -2,7 +2,7 @@ * @Author: zwq * @Date: 2021-11-18 14:16:25 * @LastEditors: DY - * @LastEditTime: 2024-01-08 16:11:03 + * @LastEditTime: 2024-02-21 09:04:48 * @Description: -->