修改正式环境

代码格式化
dev
wangpeng 2024-04-17 00:27:03 +08:00
parent 16ae293b11
commit be4df46323
17 changed files with 69 additions and 55 deletions

View File

@ -1,3 +1,3 @@
VITE_BASE_URL=http://192.168.0.69:7082/ VITE_BASE_URL=http://192.168.0.69:7082/
VITE_ON_LINE_WEB_SOCKET_URL=wss://qaaq.qhdsafety.com/zxwebsocket/ VITE_ON_LINE_WEB_SOCKET_URL=ws://192.168.0.31:8869
VITE_LEARNING_WEB_SOCKET_URL=wss://qaaq.qhdsafety.com/websocket/ VITE_LEARNING_WEB_SOCKET_URL=ws://192.168.0.31:8899

View File

@ -1,4 +1,10 @@
VITE_BASE_URL=http://192.168.0.31:7082/integrated_traffic/ VITE_BASE_URL=http://39.101.166.211:8073/integrated_traffic/
VITE_ON_LINE_WEB_SOCKET_URL=wss://qaaq.qhdsafety.com/zxwebsocket/
VITE_LEARNING_WEB_SOCKET_URL=wss://qaaq.qhdsafety.com/websocket/ #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/

8
env.d.ts vendored
View File

@ -1,9 +1,5 @@
interface ImportMetaEnv { interface ImportMetaEnv {
// Auto generate by env-parse // Auto generate by env-parse
/**
* undefined
*/
readonly VITE_BASE_URL: string
/** /**
* undefined * undefined
*/ */
@ -16,6 +12,10 @@ interface ImportMetaEnv {
* undefined * undefined
*/ */
readonly VITE_TEMPLATE_URL: string readonly VITE_TEMPLATE_URL: string
/**
* undefined
*/
readonly VITE_BASE_URL: string
/** /**
* undefined * undefined
*/ */

View File

@ -20,4 +20,3 @@ export const editSafetyCustomerInfo = (params) =>
export const deleteContactInfo = (params) => export const deleteContactInfo = (params) =>
upload("/securitycustomer/deleteContactInfo", params); // 删除 upload("/securitycustomer/deleteContactInfo", params); // 删除

View File

@ -553,7 +553,6 @@ fnCustomerType();
const fnLocation = async () => { const fnLocation = async () => {
const res = await getTrafficLocationSelectList(); const res = await getTrafficLocationSelectList();
const varList = res.varList || []; const varList = res.varList || [];
console.log(res);
const StartOptionstMap = new Map(); const StartOptionstMap = new Map();
varList.forEach((item) => { varList.forEach((item) => {
if (item.LOCATIONTYPE === "1") { if (item.LOCATIONTYPE === "1") {

View File

@ -614,7 +614,6 @@ const data = reactive({
const fnGetData = async () => { const fnGetData = async () => {
const resData = await getEnterpriseInfo(); const resData = await getEnterpriseInfo();
data.form = resData.pd; data.form = resData.pd;
console.log(data.form);
data.form.bus_images = addingPrefixToFile(resData.busImgs); data.form.bus_images = addingPrefixToFile(resData.busImgs);
data.form.official_seal_file = [ data.form.official_seal_file = [
{ {

View File

@ -234,7 +234,7 @@ const reviewItem = async (row) => {
/* const fnWindow = async () => { /* const fnWindow = async () => {
window.open( window.open(
"http://192.168.0.69:8081/#/middlePage?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwYXNzd2QiOiJMZmtmcUAxMjM0NTYiLCJleHAiOjE3MTI3MTUxNDYsInVzZXIiOiJsZnlqemhkcCIsInRhcmdldCI6Imh0dHA6Ly8xOTIuMTY4LjAuNjk6ODA4Mi8jL21pZGRsZVBhZ2UifQ.xb0HD3sqJOCi4y3Ogtg27rTkKPrmdKd-DK660LpM_X8" "http://60.10.47.50:9001/#/middlePage?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwYXNzd2QiOiJMZmtmcUAxMjM0NTYiLCJleHAiOjE3MTI4OTc1NjcsInVzZXIiOiJsZnlqemhkcCIsInRhcmdldCI6Imh0dHA6Ly8xOTIuMTY4LjAuNjk6ODA4Mi8jL21pZGRsZVBhZ2UifQ.TUl_q6hcWaXMAVlVqOVQup77MjQWcxc-g8SNrhQRbzc"
); );
}; */ }; */
// //

View File

@ -8,7 +8,7 @@
<div class="info"> <div class="info">
<div> <div>
<span>公司名称</span><br /> <span>公司名称</span><br />
秦皇岛卓云科技有限公司 XXX公司
</div> </div>
<div> <div>
<span>组织机构代码证</span> <span>组织机构代码证</span>

View File

@ -62,7 +62,7 @@
> >
<div> <div>
<layout-qr-code <layout-qr-code
src="111111" src="https://file.zcloudchina.com/YTHFile/TrafficFile/uploadFiles/app/traffic_prevention_app.apk"
:width="120" :width="120"
:height="120" :height="120"
:margin="false" :margin="false"

View File

@ -345,10 +345,10 @@ getVehicle("1");
const fnBusChange = async (event) => { const fnBusChange = async (event) => {
const resData = await getTrailerListCompass({ ID: event }); const resData = await getTrailerListCompass({ ID: event });
data.busInfo = resData.list[0]; data.busInfo = resData.list[0];
if(form.value.TELEPHONE === '') { if (form.value.TELEPHONE === "") {
form.value.TELEPHONE = data.busInfo.CAR_OWNERS_TEL; form.value.TELEPHONE = data.busInfo.CAR_OWNERS_TEL;
} }
if(form.value.CAR_OWNERS === '') { if (form.value.CAR_OWNERS === "") {
form.value.CAR_OWNERS = data.busInfo.CAR_OWNERS; form.value.CAR_OWNERS = data.busInfo.CAR_OWNERS;
} }
data.busInfo.DRIVING_LICENSE_IMG = addingPrefixToFile( data.busInfo.DRIVING_LICENSE_IMG = addingPrefixToFile(

View File

@ -10,7 +10,8 @@
<el-select <el-select
v-model="form.VEHICLE_MODEL" v-model="form.VEHICLE_MODEL"
:disabled="form.INSPECTANNUALLY_ID" :disabled="form.INSPECTANNUALLY_ID"
@change="getVehicle"> @change="getVehicle"
>
<el-option <el-option
v-for="item in OPERATING_VEHICLE_TYPE_LIST" v-for="item in OPERATING_VEHICLE_TYPE_LIST"
:key="item.ID" :key="item.ID"
@ -22,9 +23,11 @@
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="年检车辆"> <el-form-item label="年检车辆">
<el-select v-model="form.PLATE_NUMBER" <el-select
:disabled="form.INSPECTANNUALLY_ID" v-model="form.PLATE_NUMBER"
@change="getBusInfo"> :disabled="form.INSPECTANNUALLY_ID"
@change="getBusInfo"
>
<el-option <el-option
v-for="item in data.vehicleList" v-for="item in data.vehicleList"
:key="item.ID" :key="item.ID"
@ -395,11 +398,11 @@ const getVehicle = async (event) => {
const fnBusChange = async (event) => { const fnBusChange = async (event) => {
const resData = await getTrailerList({ ID: event }); const resData = await getTrailerList({ ID: event });
data.busInfo = resData.list[0]; data.busInfo = resData.list[0];
if(form.value.CAR_OWNERS === '') { if (form.value.CAR_OWNERS === "") {
form.value.CAR_OWNERS = data.busInfo.CAR_OWNERS form.value.CAR_OWNERS = data.busInfo.CAR_OWNERS;
} }
if(form.value.TELEPHONE === '') { if (form.value.TELEPHONE === "") {
form.value.TELEPHONE = data.busInfo.CAR_OWNERS_TEL form.value.TELEPHONE = data.busInfo.CAR_OWNERS_TEL;
} }
data.busInfo.DRIVING_LICENSE_IMG = addingPrefixToFile( data.busInfo.DRIVING_LICENSE_IMG = addingPrefixToFile(
resData.drivingLicenseImgs resData.drivingLicenseImgs

View File

@ -9,9 +9,9 @@
<el-form-item label="年检车型" prop="VEHICLE_MODEL"> <el-form-item label="年检车型" prop="VEHICLE_MODEL">
<el-select v-model="form.VEHICLE_MODEL" @change="getVehicle"> <el-select v-model="form.VEHICLE_MODEL" @change="getVehicle">
<el-option <el-option
disabled
v-for="item in OPERATING_VEHICLE_TYPE_LIST" v-for="item in OPERATING_VEHICLE_TYPE_LIST"
:key="item.ID" :key="item.ID"
disabled
:label="item.NAME" :label="item.NAME"
:value="item.ID" :value="item.ID"
/> />
@ -20,11 +20,11 @@
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="年检车辆" prop="PLATE_NUMBER"> <el-form-item label="年检车辆" prop="PLATE_NUMBER">
<el-select v-model="form.PLATE_NUMBER" @change="getBusInfo" > <el-select v-model="form.PLATE_NUMBER" @change="getBusInfo">
<el-option <el-option
disabled
v-for="item in data.vehicleList" v-for="item in data.vehicleList"
:key="item.PLATE_NUMBER" :key="item.PLATE_NUMBER"
disabled
:label="item.PLATE_NUMBER" :label="item.PLATE_NUMBER"
:value="item.ID" :value="item.ID"
/> />

View File

@ -7,9 +7,11 @@
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="保险车型" prop="VEHICLE_MODEL"> <el-form-item label="保险车型" prop="VEHICLE_MODEL">
<el-select v-model="form.VEHICLE_MODEL" <el-select
:disabled="form.INSURE_ID" v-model="form.VEHICLE_MODEL"
@change="getVehicle"> :disabled="form.INSURE_ID"
@change="getVehicle"
>
<el-option <el-option
v-for="item in OPERATING_VEHICLE_TYPE_LIST" v-for="item in OPERATING_VEHICLE_TYPE_LIST"
:key="item.ID" :key="item.ID"
@ -21,9 +23,11 @@
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="保险车辆" prop="VEHICLE"> <el-form-item label="保险车辆" prop="VEHICLE">
<el-select v-model="form.PLATE_NUMBER" <el-select
:disabled="form.INSURE_ID" v-model="form.PLATE_NUMBER"
@change="getBusInfo"> :disabled="form.INSURE_ID"
@change="getBusInfo"
>
<el-option <el-option
v-for="item in data.vehicleList" v-for="item in data.vehicleList"
:key="item.ID" :key="item.ID"
@ -383,11 +387,11 @@ const getVehicle = async (event) => {
const fnBusChange = async (event) => { const fnBusChange = async (event) => {
const resData = await getTrailerList2({ ID: event }); const resData = await getTrailerList2({ ID: event });
data.busInfo = resData.list[0]; data.busInfo = resData.list[0];
if(form.value.CAR_OWNERS === '') { if (form.value.CAR_OWNERS === "") {
form.value.CAR_OWNERS = data.busInfo.CAR_OWNERS form.value.CAR_OWNERS = data.busInfo.CAR_OWNERS;
} }
if(form.value.TELEPHONE === '') { if (form.value.TELEPHONE === "") {
form.value.TELEPHONE = data.busInfo.CAR_OWNERS_TEL form.value.TELEPHONE = data.busInfo.CAR_OWNERS_TEL;
} }
data.busInfo.DRIVING_LICENSE_IMG = addingPrefixToFile( data.busInfo.DRIVING_LICENSE_IMG = addingPrefixToFile(
resData.drivingLicenseImgs resData.drivingLicenseImgs

View File

@ -169,7 +169,7 @@
> >
</template> </template>
</el-table-column> </el-table-column>
<!-- <el-table-column prop="CREATTIME" label="创建时间" width="150" /> <!-- <el-table-column prop="CREATTIME" label="创建时间" width="150" />
<el-table-column prop="OPERATTIME" label="修改时间" width="150" />--> <el-table-column prop="OPERATTIME" label="修改时间" width="150" />-->
<el-table-column label="操作" width="250"> <el-table-column label="操作" width="250">
<template #default="{ row }"> <template #default="{ row }">

View File

@ -392,11 +392,11 @@ getVehicle("1");
const fnBusChange = async (event) => { const fnBusChange = async (event) => {
const resData = await getTrailerListMaintenance({ ID: event }); const resData = await getTrailerListMaintenance({ ID: event });
data.busInfo = resData.list[0]; data.busInfo = resData.list[0];
if(form.value.CAR_OWNERS === '') { if (form.value.CAR_OWNERS === "") {
form.value.CAR_OWNERS = data.busInfo.CAR_OWNERS form.value.CAR_OWNERS = data.busInfo.CAR_OWNERS;
} }
if(form.value.TELEPHONE === '') { if (form.value.TELEPHONE === "") {
form.value.TELEPHONE = data.busInfo.CAR_OWNERS_TEL form.value.TELEPHONE = data.busInfo.CAR_OWNERS_TEL;
} }
data.busInfo.DRIVING_LICENSE_IMG = addingPrefixToFile( data.busInfo.DRIVING_LICENSE_IMG = addingPrefixToFile(
resData.drivingLicenseImgs resData.drivingLicenseImgs

View File

@ -7,9 +7,11 @@
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="运营车型" prop="VEHICLE_MODEL"> <el-form-item label="运营车型" prop="VEHICLE_MODEL">
<el-select v-model="form.VEHICLE_MODEL" <el-select
:disabled="form.OPERATIONS_ID" v-model="form.VEHICLE_MODEL"
@change="getVehicle"> :disabled="form.OPERATIONS_ID"
@change="getVehicle"
>
<el-option <el-option
v-for="item in OPERATING_VEHICLE_TYPE_LIST" v-for="item in OPERATING_VEHICLE_TYPE_LIST"
:key="item.ID" :key="item.ID"
@ -21,9 +23,11 @@
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="运营车辆" prop="PLATE_NUMBER"> <el-form-item label="运营车辆" prop="PLATE_NUMBER">
<el-select v-model="form.PLATE_NUMBER" <el-select
:disabled="form.OPERATIONS_ID" v-model="form.PLATE_NUMBER"
@change="getBusInfo"> :disabled="form.OPERATIONS_ID"
@change="getBusInfo"
>
<el-option <el-option
v-for="item in data.vehicleList" v-for="item in data.vehicleList"
:key="item.ID" :key="item.ID"
@ -357,11 +361,11 @@ const getVehicle = async (event) => {
const fnBusChange = async (event) => { const fnBusChange = async (event) => {
const resData = await getOperationTrailerList({ ID: event }); const resData = await getOperationTrailerList({ ID: event });
data.busInfo = resData.list[0]; data.busInfo = resData.list[0];
if(form.value.TELEPHONE === '') { if (form.value.TELEPHONE === "") {
form.value.TELEPHONE = data.busInfo.CAR_OWNERS_TEL form.value.TELEPHONE = data.busInfo.CAR_OWNERS_TEL;
} }
if(form.value.CAR_OWNERS === '') { if (form.value.CAR_OWNERS === "") {
form.value.CAR_OWNERS = data.busInfo.CAR_OWNERS form.value.CAR_OWNERS = data.busInfo.CAR_OWNERS;
} }
data.busInfo.DRIVING_LICENSE_IMG = addingPrefixToFile( data.busInfo.DRIVING_LICENSE_IMG = addingPrefixToFile(
resData.drivingLicenseImgs resData.drivingLicenseImgs

View File

@ -384,8 +384,8 @@ const fnGetTrailerInfo = async () => {
form.value.DRIVINGLICENSE_PHOTO = resData.pd.DRIVING_LICENSE_IMG; form.value.DRIVINGLICENSE_PHOTO = resData.pd.DRIVING_LICENSE_IMG;
form.value.VEHICLE_MODEL = resData.pd.TRAILER_MODEL; form.value.VEHICLE_MODEL = resData.pd.TRAILER_MODEL;
form.value.VEHICLE_BRAND = resData.pd.TRAILER_BRAND; form.value.VEHICLE_BRAND = resData.pd.TRAILER_BRAND;
form.value.VEHICLEOWNER = resData.pd.CAR_OWNERS form.value.VEHICLEOWNER = resData.pd.CAR_OWNERS;
form.value.CONTACT_NUMBER = resData.pd.CAR_OWNERS_TEL form.value.CONTACT_NUMBER = resData.pd.CAR_OWNERS_TEL;
form.value.DRIVINGLICENSE_PHOTO = addingPrefixToFile( form.value.DRIVINGLICENSE_PHOTO = addingPrefixToFile(
resData.drivingLicenseImgs resData.drivingLicenseImgs
); );