diff --git a/push-op-ui-prod.bat b/push-op-ui-prod.bat new file mode 100644 index 0000000..89edade --- /dev/null +++ b/push-op-ui-prod.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/push-op-ui-test.bat b/push-op-ui-test.bat new file mode 100644 index 0000000..bae3fb2 --- /dev/null +++ b/push-op-ui-test.bat @@ -0,0 +1,28 @@ +@echo off +echo --------------------------------自定义参数,启动前先修改-------------------------------------- +set imageURI=140.249.53.142:30002/op-lanju/ld-op-front +::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 logout 140.249.53.142:30002 +docker login 140.249.53.142:30002 -u deploy -p Deploy@2022 +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/device/faultReport.js b/src/api/device/faultReport.js new file mode 100644 index 0000000..cf42c1c --- /dev/null +++ b/src/api/device/faultReport.js @@ -0,0 +1,62 @@ +import request from '@/utils/request' + +// 鏌ヨ鏁呴殰鎶ヤ慨鍒楄〃 +export function listFaultReport(query) { + return request({ + url: '/device/faultReport/list', + method: 'get', + params: query + }); +} + +// 鏌ヨ鏁呴殰鎶ヤ慨璇︾粏 +export function getFaultReport(orderId) { + return request({ + url: '/device/faultReport/' + orderId, + method: 'get' + }); +} + +// 鏂板鏁呴殰鎶ヤ慨 +export function addFaultReport(data) { + return request({ + url: '/device/faultReport', + method: 'post', + data: data + }); +} + +// 淇敼鏁呴殰鎶ヤ慨 +export function updateFaultReport(data) { + return request({ + url: '/device/faultReport', + method: 'put', + data: data + }); +} + +// 鍒犻櫎鏁呴殰鎶ヤ慨 +export function delFaultReport(orderId) { + return request({ + url: '/device/faultReport/' + orderId, + method: 'delete' + }); +} + +// 鏌ヨ鏁呴殰鎶ヤ慨鍒楄〃 +export function getEquipmentList(query) { + return request({ + url: '/device/faultReport/getEquipmentList', + method: 'get', + params: query + }); +} + +// 鏌ヨ璁惧绫诲瀷 +export function getEquipmentTypeList() { + return request({ + url: '/device/faultReport/getEquipmentTypeList', + method: 'get' + }); +} + diff --git a/src/api/device/sparePartsApplicationRecord.js b/src/api/device/sparePartsApplicationRecord.js new file mode 100644 index 0000000..ed6fb54 --- /dev/null +++ b/src/api/device/sparePartsApplicationRecord.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 鏌ヨ鐢抽璁板綍鍒楄〃 +export function listSparePartsApplicationRecord(query) { + return request({ + url: '/device/sparePartsApplicationRecord/list', + method: 'get', + params: query + }); +} + +// 鏌ヨ鐢抽璁板綍璇︾粏 +export function getSparePartsApplicationRecord(applyId) { + return request({ + url: '/device/sparePartsApplicationRecord/' + applyId, + method: 'get' + }); +} + +// 鏂板鐢抽璁板綍 +export function addSparePartsApplicationRecord(data) { + return request({ + url: '/device/sparePartsApplicationRecord', + method: 'post', + data: data + }); +} + +// 淇敼鐢抽璁板綍 +export function updateSparePartsApplicationRecord(data) { + return request({ + url: '/device/sparePartsApplicationRecord', + method: 'put', + data: data + }); +} + +// 鍒犻櫎鐢抽璁板綍 +export function delSparePartsApplicationRecord(applyId) { + return request({ + url: '/device/sparePartsApplicationRecord/' + applyId, + method: 'delete' + }); +} diff --git a/src/views/device/faultReport/index.vue b/src/views/device/faultReport/index.vue new file mode 100644 index 0000000..8b53004 --- /dev/null +++ b/src/views/device/faultReport/index.vue @@ -0,0 +1,477 @@ + + + diff --git a/src/views/device/faultReport/single.vue b/src/views/device/faultReport/single.vue new file mode 100644 index 0000000..534d12f --- /dev/null +++ b/src/views/device/faultReport/single.vue @@ -0,0 +1,279 @@ + + + diff --git a/src/views/device/sparePartsApplicationRecord/index.vue b/src/views/device/sparePartsApplicationRecord/index.vue new file mode 100644 index 0000000..7cdbe54 --- /dev/null +++ b/src/views/device/sparePartsApplicationRecord/index.vue @@ -0,0 +1,437 @@ + + + diff --git a/src/views/login.vue b/src/views/login.vue index 1a7e5d8..8a26445 100644 --- a/src/views/login.vue +++ b/src/views/login.vue @@ -72,8 +72,8 @@ export default { return { codeUrl: "", loginForm: { - username: "admin", - password: "admin123", + username: "",//admin + password: "",//admin123 rememberMe: false, code: "", uuid: "" diff --git a/src/views/technology/process/single.vue b/src/views/technology/process/single.vue index 72dbd7e..a8d54fb 100644 --- a/src/views/technology/process/single.vue +++ b/src/views/technology/process/single.vue @@ -9,7 +9,7 @@ > - + 璇烽夋嫨璁惧绫诲瀷锛
@@ -28,7 +28,7 @@ - + - + 璇烽夋嫨璁惧绫诲瀷锛
@@ -28,7 +28,7 @@ - +