forked from integrated_whb/integrated_whb_vue
更换开发和测试环境
parent
c8e57d376e
commit
126c2f048e
|
@ -1,3 +1,3 @@
|
||||||
VITE_BASE_URL=http://192.168.0.69:7082/
|
VITE_BASE_URL=http://192.168.0.16:7082/
|
||||||
VITE_ON_LINE_WEB_SOCKET_URL=ws://192.168.0.31:8869
|
VITE_ON_LINE_WEB_SOCKET_URL=ws://192.168.20.240:8869
|
||||||
VITE_LEARNING_WEB_SOCKET_URL=ws://192.168.0.31:8899
|
VITE_LEARNING_WEB_SOCKET_URL=ws://192.168.20.240:8899
|
||||||
|
|
|
@ -1,10 +1,16 @@
|
||||||
VITE_BASE_URL=http://39.101.166.211:8073/integrated_traffic/
|
#测试
|
||||||
|
VITE_BASE_URL=http://192.168.20.240:8412/integrated_traffic/
|
||||||
#websocket t掉线
|
#websocket t掉线
|
||||||
VITE_ON_LINE_WEB_SOCKET_URL=ws://39.101.166.211:8869
|
VITE_ON_LINE_WEB_SOCKET_URL=ws://192.168.20.240:8869
|
||||||
# VITE_ON_LINE_WEB_SOCKET_URL=wss://qaaqjt.qhdsafety.com/disconnected/
|
|
||||||
|
|
||||||
#websocket 在线学习
|
#websocket 在线学习
|
||||||
VITE_LEARNING_WEB_SOCKET_URL=ws://39.101.166.211:8899
|
VITE_LEARNING_WEB_SOCKET_URL=ws://192.168.20.240:8899
|
||||||
# VITE_LEARNING_WEB_SOCKET_URL=wss://qaaqjt.qhdsafety.com/onlinelearning/
|
|
||||||
|
##正式
|
||||||
|
#VITE_BASE_URL=http://39.101.166.211:8073/integrated_traffic/
|
||||||
|
##websocket t掉线
|
||||||
|
#VITE_ON_LINE_WEB_SOCKET_URL=ws://39.101.166.211:8869
|
||||||
|
## VITE_ON_LINE_WEB_SOCKET_URL=wss://qaaqjt.qhdsafety.com/disconnected/
|
||||||
|
##websocket 在线学习
|
||||||
|
#VITE_LEARNING_WEB_SOCKET_URL=ws://39.101.166.211:8899
|
||||||
|
## VITE_LEARNING_WEB_SOCKET_URL=wss://qaaqjt.qhdsafety.com/onlinelearning/
|
||||||
|
|
||||||
|
|
|
@ -244,7 +244,7 @@ const route = useRoute();
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
const FREIGHTTRAILER_ID = route.query.FREIGHTTRAILER_ID;
|
const FREIGHTTRAILER_ID = route.query.FREIGHTTRAILER_ID;
|
||||||
const formRef = ref(null);
|
const formRef = ref(null);
|
||||||
let plateNumber = '';
|
let plateNumber = "";
|
||||||
const form = ref({
|
const form = ref({
|
||||||
NUM: "",
|
NUM: "",
|
||||||
PLATE_NUMBER: "",
|
PLATE_NUMBER: "",
|
||||||
|
@ -294,7 +294,6 @@ const isVehicleNumber = (rule, vehicleNumber, callback) => {
|
||||||
if (creg.test(vehicleNumber) === false) {
|
if (creg.test(vehicleNumber) === false) {
|
||||||
callback(new Error("格式错误"));
|
callback(new Error("格式错误"));
|
||||||
} else callback();
|
} else callback();
|
||||||
|
|
||||||
} else if (vehicleNumber.length === 8) {
|
} else if (vehicleNumber.length === 8) {
|
||||||
if (xreg.test(vehicleNumber) === false) {
|
if (xreg.test(vehicleNumber) === false) {
|
||||||
callback(new Error("格式错误"));
|
callback(new Error("格式错误"));
|
||||||
|
@ -338,7 +337,7 @@ const fnGetData = async () => {
|
||||||
resData.operCertificateImgs
|
resData.operCertificateImgs
|
||||||
);
|
);
|
||||||
form.value.TRAILER_INFO = addingPrefixToFile(resData.trailerInfoImgs);
|
form.value.TRAILER_INFO = addingPrefixToFile(resData.trailerInfoImgs);
|
||||||
plateNumber = form.value.PLATE_NUMBER
|
plateNumber = form.value.PLATE_NUMBER;
|
||||||
};
|
};
|
||||||
fnGetData();
|
fnGetData();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue