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_ON_LINE_WEB_SOCKET_URL=ws://192.168.0.31:8869
|
||||
VITE_LEARNING_WEB_SOCKET_URL=ws://192.168.0.31:8899
|
||||
VITE_BASE_URL=http://192.168.0.16:7082/
|
||||
VITE_ON_LINE_WEB_SOCKET_URL=ws://192.168.20.240:8869
|
||||
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掉线
|
||||
VITE_ON_LINE_WEB_SOCKET_URL=ws://39.101.166.211:8869
|
||||
# VITE_ON_LINE_WEB_SOCKET_URL=wss://qaaqjt.qhdsafety.com/disconnected/
|
||||
|
||||
VITE_ON_LINE_WEB_SOCKET_URL=ws://192.168.20.240:8869
|
||||
#websocket 在线学习
|
||||
VITE_LEARNING_WEB_SOCKET_URL=ws://39.101.166.211:8899
|
||||
# VITE_LEARNING_WEB_SOCKET_URL=wss://qaaqjt.qhdsafety.com/onlinelearning/
|
||||
VITE_LEARNING_WEB_SOCKET_URL=ws://192.168.20.240:8899
|
||||
|
||||
##正式
|
||||
#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 FREIGHTTRAILER_ID = route.query.FREIGHTTRAILER_ID;
|
||||
const formRef = ref(null);
|
||||
let plateNumber = '';
|
||||
let plateNumber = "";
|
||||
const form = ref({
|
||||
NUM: "",
|
||||
PLATE_NUMBER: "",
|
||||
|
@ -294,7 +294,6 @@ const isVehicleNumber = (rule, vehicleNumber, callback) => {
|
|||
if (creg.test(vehicleNumber) === false) {
|
||||
callback(new Error("格式错误"));
|
||||
} else callback();
|
||||
|
||||
} else if (vehicleNumber.length === 8) {
|
||||
if (xreg.test(vehicleNumber) === false) {
|
||||
callback(new Error("格式错误"));
|
||||
|
@ -338,7 +337,7 @@ const fnGetData = async () => {
|
|||
resData.operCertificateImgs
|
||||
);
|
||||
form.value.TRAILER_INFO = addingPrefixToFile(resData.trailerInfoImgs);
|
||||
plateNumber = form.value.PLATE_NUMBER
|
||||
plateNumber = form.value.PLATE_NUMBER;
|
||||
};
|
||||
fnGetData();
|
||||
|
||||
|
|
Loading…
Reference in New Issue