diff --git a/.env.production b/.env.production index ca1a691..7b3f433 100644 --- a/.env.production +++ b/.env.production @@ -7,26 +7,15 @@ VUE_APP_TITLE = UDI协调平台 # 生产环境配置 ENV = 'production' -# VUE_APP_BASE_API = 'http://116.204.71.86:9150/UDI_WMS_MC/' - -#林纪裕cd -# VUE_APP_BASE_API = 'http://101.43.77.55:9150/UDI_WMS_MC/' -# VUE_APP_BASE_API = 'http://116.204.106.103:9150/UDI_WMS_MC/' -VUE_APP_BASE_API = 'http://r.jiyuudims.cloud:5004/UDI_WMS_MC/' -# VUE_APP_BASE_API = 'http://127.0.0.1:9150/UDI_WMS_MC/' -# 测试服务器 -# VUE_APP_BASE_API = 'http://192.168.0.66:9150/UDI_WMS_MC/' -# 文明东 -# VUE_APP_BASE_API = 'http://192.168.0.62:9150/UDI_WMS_MC/' - -# 吴总测试服务器 -# VUE_APP_BASE_API = 'http://116.204.106.103:9150/UDI_WMS_MC/' +# VUE_APP_BASE_API = 'http://116.204.71.86:9150/UDI_WMS_MC/' +# 叶东旭 +VUE_APP_BASE_API = 'http://192.168.0.153:9150/UDI_CPT_SERVER/' # 应用访问路径 例如使用前缀 /admin/ -VUE_APP_CONTEXT_PATH = '/UDI_WMS_NEW/' +VUE_APP_CONTEXT_PATH = '/UDI_CPT_CLIENT/' # 监控地址 VUE_APP_MONITRO_ADMIN = '/admin/login' diff --git a/.env.test b/.env.test index 4695071..fddaea9 100644 --- a/.env.test +++ b/.env.test @@ -23,7 +23,7 @@ ENV = 'test' VUE_APP_BASE_API = 'http://192.168.0.66:8883/UDI_WMS_MC/' # 应用访问路径 例如使用前缀 /admin/ -VUE_APP_CONTEXT_PATH = '/UDI_WMS_NEW/' +VUE_APP_CONTEXT_PATH = '/UDI_CPT_CLIENT/' # 监控地址 VUE_APP_MONITRO_ADMIN = '/admin/login' diff --git a/.gitignore b/.gitignore index de06ffb..ec45541 100644 --- a/.gitignore +++ b/.gitignore @@ -9,7 +9,7 @@ yarn-error.log* tests/**/coverage/ tests/e2e/reports selenium-debug.log -UDI_WMS_NEW/ +UDI_CPT_CLIENT/ # Editor directories and files .idea diff --git a/package.bat b/package.bat index aa946b3..d72d876 100644 --- a/package.bat +++ b/package.bat @@ -1,4 +1,4 @@ -rd /s /q UDI_WMS_NEW +rd /s /q UDI_CPT_CLIENT npm run build:prod diff --git a/src/api/udi/udiTrace.js b/src/api/udi/udiTrace.js index 57305c2..f18c5d5 100644 --- a/src/api/udi/udiTrace.js +++ b/src/api/udi/udiTrace.js @@ -32,6 +32,38 @@ export function getManuCodeRelList(query) { }) } +export function filterCpmctymc(query) { + return axios({ + url: "/udi/basic/dict/filterCpmctymc", + method: "get", + params: query + }); +} + +export function filterGgxh(query) { + return axios({ + url: "/udi/basic/dict/filterGgxh", + method: "get", + params: query + }); +} + +export function filterCompanyName(query) { + return axios({ + url: "/udi/auth/user/comapny/filterCompanyName", + method: "get", + params: query + }); +} + +export function filterBatchNo(query) { + return axios({ + url: "/udi/trace/order/filterBatchNo", + method: "get", + params: query + }); +} + //任务列表 export function getTraceTaskList(query) { return axios({ diff --git a/src/views/udi/trace/search/index.vue b/src/views/udi/trace/search/index.vue index 3cb507e..0b99f12 100644 --- a/src/views/udi/trace/search/index.vue +++ b/src/views/udi/trace/search/index.vue @@ -1,38 +1,199 @@