diff --git a/Dockerfile b/Dockerfile index 6dbf2b1..0025e9c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,3 @@ -FROM nginx:1.20-alpine +FROM 192.168.202.36:30002/library/nginx:1.20-alpine COPY default.conf /etc/nginx/conf.d/default.conf ADD dist /usr/share/nginx/html diff --git a/push-op-ui.bat b/push-op-ui.bat new file mode 100644 index 0000000..89edade --- /dev/null +++ b/push-op-ui.bat @@ -0,0 +1,27 @@ +@echo off +echo --------------------------------自定义参数,启动前先修改-------------------------------------- +set imageURI=192.168.202.36:30002/op-lanju/op-ui +::echo 获取当前日期字符串 +for /f "tokens=1,2,3 delims=/- " %%a in ("%date%") do @set D=%%a%%b%%c +::echo 获取当前时间字符串 +for /f "tokens=1,2 delims=:." %%a in ("%time%") do @set T=%%a%%b +::echo 如当前小时小于10,将空格替换为0 +set T=%T: =0% +::echo 显示输出日期时间字符串 +set imageVersion=%D%%T% +::输出发版信息 +echo 镜像库地址:%imageURI% +echo 镜像版本:%imageVersion% +echo --------------------------------执行打包-------------------------------- +call npm run build:prod + +dir +echo --------------------------------docker login...------------------------------- +docker login 192.168.202.36:30002 -u deploy -p Deploy@2023 +echo --------------------------------docker build...------------------------------- +docker build -t %imageURI%:%imageVersion% . +echo --------------------------------docker push...-------------------------------- +docker push %imageURI%:%imageVersion% +@pause + +::docker pull 192.168.3.157:8001/library/nginx:1.20-alpine \ No newline at end of file diff --git a/src/api/wms/equipment.js b/src/api/wms/equipment.js index c46a7ff..a7fb092 100644 --- a/src/api/wms/equipment.js +++ b/src/api/wms/equipment.js @@ -50,3 +50,11 @@ export function treeselect() { method: 'get' }) } + +// 鏌ヨ璁惧绫诲瀷 +export function getEquipmentTypeList() { + return request({ + url: '/wms/equipment/getEquipmentTypeList', + method: 'get' + }); +} diff --git a/src/views/mes/prepare/index.vue b/src/views/mes/prepare/index.vue index d5321b5..fef9d83 100644 --- a/src/views/mes/prepare/index.vue +++ b/src/views/mes/prepare/index.vue @@ -1,6 +1,6 @@ - + + + @@ -384,6 +392,13 @@ export default { attr4: null, factoryCode: null }, + options: [{ + status: "L0", + label: '寰呯‘璁' + }, { + status: "L1", + label: '宸茬‘璁' + }], // 琛ㄥ崟鍙傛暟 form: {}, // 琛ㄥ崟鏍¢獙 diff --git a/src/views/plan/order/index.vue b/src/views/plan/order/index.vue index af4a942..3422b20 100644 --- a/src/views/plan/order/index.vue +++ b/src/views/plan/order/index.vue @@ -134,7 +134,7 @@ - +