forked from integrated_whb/integrated_whb_vue
parent
16ae293b11
commit
be4df46323
|
@ -1,3 +1,3 @@
|
|||
VITE_BASE_URL=http://192.168.0.69:7082/
|
||||
VITE_ON_LINE_WEB_SOCKET_URL=wss://qaaq.qhdsafety.com/zxwebsocket/
|
||||
VITE_LEARNING_WEB_SOCKET_URL=wss://qaaq.qhdsafety.com/websocket/
|
||||
VITE_ON_LINE_WEB_SOCKET_URL=ws://192.168.0.31:8869
|
||||
VITE_LEARNING_WEB_SOCKET_URL=ws://192.168.0.31:8899
|
||||
|
|
|
@ -1,4 +1,10 @@
|
|||
VITE_BASE_URL=http://192.168.0.31:7082/integrated_traffic/
|
||||
VITE_ON_LINE_WEB_SOCKET_URL=wss://qaaq.qhdsafety.com/zxwebsocket/
|
||||
VITE_LEARNING_WEB_SOCKET_URL=wss://qaaq.qhdsafety.com/websocket/
|
||||
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/
|
||||
|
||||
|
|
|
@ -1,9 +1,5 @@
|
|||
interface ImportMetaEnv {
|
||||
// Auto generate by env-parse
|
||||
/**
|
||||
* undefined
|
||||
*/
|
||||
readonly VITE_BASE_URL: string
|
||||
/**
|
||||
* undefined
|
||||
*/
|
||||
|
@ -16,6 +12,10 @@ interface ImportMetaEnv {
|
|||
* undefined
|
||||
*/
|
||||
readonly VITE_TEMPLATE_URL: string
|
||||
/**
|
||||
* undefined
|
||||
*/
|
||||
readonly VITE_BASE_URL: string
|
||||
/**
|
||||
* undefined
|
||||
*/
|
||||
|
|
|
@ -20,4 +20,3 @@ export const editSafetyCustomerInfo = (params) =>
|
|||
|
||||
export const deleteContactInfo = (params) =>
|
||||
upload("/securitycustomer/deleteContactInfo", params); // 删除
|
||||
|
||||
|
|
|
@ -553,7 +553,6 @@ fnCustomerType();
|
|||
const fnLocation = async () => {
|
||||
const res = await getTrafficLocationSelectList();
|
||||
const varList = res.varList || [];
|
||||
console.log(res);
|
||||
const StartOptionstMap = new Map();
|
||||
varList.forEach((item) => {
|
||||
if (item.LOCATIONTYPE === "1") {
|
||||
|
|
|
@ -614,7 +614,6 @@ const data = reactive({
|
|||
const fnGetData = async () => {
|
||||
const resData = await getEnterpriseInfo();
|
||||
data.form = resData.pd;
|
||||
console.log(data.form);
|
||||
data.form.bus_images = addingPrefixToFile(resData.busImgs);
|
||||
data.form.official_seal_file = [
|
||||
{
|
||||
|
|
|
@ -234,7 +234,7 @@ const reviewItem = async (row) => {
|
|||
|
||||
/* const fnWindow = async () => {
|
||||
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"
|
||||
);
|
||||
}; */
|
||||
// 页面下拉选项字典获取
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<div class="info">
|
||||
<div>
|
||||
<span>公司名称:</span><br />
|
||||
秦皇岛卓云科技有限公司
|
||||
XXX公司
|
||||
</div>
|
||||
<div>
|
||||
<span>组织机构代码证:</span>
|
||||
|
|
|
@ -62,7 +62,7 @@
|
|||
>
|
||||
<div>
|
||||
<layout-qr-code
|
||||
src="111111"
|
||||
src="https://file.zcloudchina.com/YTHFile/TrafficFile/uploadFiles/app/traffic_prevention_app.apk"
|
||||
:width="120"
|
||||
:height="120"
|
||||
:margin="false"
|
||||
|
|
|
@ -345,10 +345,10 @@ getVehicle("1");
|
|||
const fnBusChange = async (event) => {
|
||||
const resData = await getTrailerListCompass({ ID: event });
|
||||
data.busInfo = resData.list[0];
|
||||
if(form.value.TELEPHONE === '') {
|
||||
if (form.value.TELEPHONE === "") {
|
||||
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;
|
||||
}
|
||||
data.busInfo.DRIVING_LICENSE_IMG = addingPrefixToFile(
|
||||
|
|
|
@ -10,7 +10,8 @@
|
|||
<el-select
|
||||
v-model="form.VEHICLE_MODEL"
|
||||
:disabled="form.INSPECTANNUALLY_ID"
|
||||
@change="getVehicle">
|
||||
@change="getVehicle"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in OPERATING_VEHICLE_TYPE_LIST"
|
||||
:key="item.ID"
|
||||
|
@ -22,9 +23,11 @@
|
|||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="年检车辆">
|
||||
<el-select v-model="form.PLATE_NUMBER"
|
||||
:disabled="form.INSPECTANNUALLY_ID"
|
||||
@change="getBusInfo">
|
||||
<el-select
|
||||
v-model="form.PLATE_NUMBER"
|
||||
:disabled="form.INSPECTANNUALLY_ID"
|
||||
@change="getBusInfo"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in data.vehicleList"
|
||||
:key="item.ID"
|
||||
|
@ -395,11 +398,11 @@ const getVehicle = async (event) => {
|
|||
const fnBusChange = async (event) => {
|
||||
const resData = await getTrailerList({ ID: event });
|
||||
data.busInfo = resData.list[0];
|
||||
if(form.value.CAR_OWNERS === '') {
|
||||
form.value.CAR_OWNERS = data.busInfo.CAR_OWNERS
|
||||
if (form.value.CAR_OWNERS === "") {
|
||||
form.value.CAR_OWNERS = data.busInfo.CAR_OWNERS;
|
||||
}
|
||||
if(form.value.TELEPHONE === '') {
|
||||
form.value.TELEPHONE = data.busInfo.CAR_OWNERS_TEL
|
||||
if (form.value.TELEPHONE === "") {
|
||||
form.value.TELEPHONE = data.busInfo.CAR_OWNERS_TEL;
|
||||
}
|
||||
data.busInfo.DRIVING_LICENSE_IMG = addingPrefixToFile(
|
||||
resData.drivingLicenseImgs
|
||||
|
|
|
@ -9,9 +9,9 @@
|
|||
<el-form-item label="年检车型" prop="VEHICLE_MODEL">
|
||||
<el-select v-model="form.VEHICLE_MODEL" @change="getVehicle">
|
||||
<el-option
|
||||
disabled
|
||||
v-for="item in OPERATING_VEHICLE_TYPE_LIST"
|
||||
:key="item.ID"
|
||||
disabled
|
||||
:label="item.NAME"
|
||||
:value="item.ID"
|
||||
/>
|
||||
|
@ -20,11 +20,11 @@
|
|||
</el-col>
|
||||
<el-col :span="12">
|
||||
<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
|
||||
disabled
|
||||
v-for="item in data.vehicleList"
|
||||
:key="item.PLATE_NUMBER"
|
||||
disabled
|
||||
:label="item.PLATE_NUMBER"
|
||||
:value="item.ID"
|
||||
/>
|
||||
|
|
|
@ -7,9 +7,11 @@
|
|||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="保险车型" prop="VEHICLE_MODEL">
|
||||
<el-select v-model="form.VEHICLE_MODEL"
|
||||
:disabled="form.INSURE_ID"
|
||||
@change="getVehicle">
|
||||
<el-select
|
||||
v-model="form.VEHICLE_MODEL"
|
||||
:disabled="form.INSURE_ID"
|
||||
@change="getVehicle"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in OPERATING_VEHICLE_TYPE_LIST"
|
||||
:key="item.ID"
|
||||
|
@ -21,9 +23,11 @@
|
|||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="保险车辆" prop="VEHICLE">
|
||||
<el-select v-model="form.PLATE_NUMBER"
|
||||
:disabled="form.INSURE_ID"
|
||||
@change="getBusInfo">
|
||||
<el-select
|
||||
v-model="form.PLATE_NUMBER"
|
||||
:disabled="form.INSURE_ID"
|
||||
@change="getBusInfo"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in data.vehicleList"
|
||||
:key="item.ID"
|
||||
|
@ -383,11 +387,11 @@ const getVehicle = async (event) => {
|
|||
const fnBusChange = async (event) => {
|
||||
const resData = await getTrailerList2({ ID: event });
|
||||
data.busInfo = resData.list[0];
|
||||
if(form.value.CAR_OWNERS === '') {
|
||||
form.value.CAR_OWNERS = data.busInfo.CAR_OWNERS
|
||||
if (form.value.CAR_OWNERS === "") {
|
||||
form.value.CAR_OWNERS = data.busInfo.CAR_OWNERS;
|
||||
}
|
||||
if(form.value.TELEPHONE === '') {
|
||||
form.value.TELEPHONE = data.busInfo.CAR_OWNERS_TEL
|
||||
if (form.value.TELEPHONE === "") {
|
||||
form.value.TELEPHONE = data.busInfo.CAR_OWNERS_TEL;
|
||||
}
|
||||
data.busInfo.DRIVING_LICENSE_IMG = addingPrefixToFile(
|
||||
resData.drivingLicenseImgs
|
||||
|
|
|
@ -169,7 +169,7 @@
|
|||
>
|
||||
</template>
|
||||
</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 label="操作" width="250">
|
||||
<template #default="{ row }">
|
||||
|
|
|
@ -392,11 +392,11 @@ getVehicle("1");
|
|||
const fnBusChange = async (event) => {
|
||||
const resData = await getTrailerListMaintenance({ ID: event });
|
||||
data.busInfo = resData.list[0];
|
||||
if(form.value.CAR_OWNERS === '') {
|
||||
form.value.CAR_OWNERS = data.busInfo.CAR_OWNERS
|
||||
if (form.value.CAR_OWNERS === "") {
|
||||
form.value.CAR_OWNERS = data.busInfo.CAR_OWNERS;
|
||||
}
|
||||
if(form.value.TELEPHONE === '') {
|
||||
form.value.TELEPHONE = data.busInfo.CAR_OWNERS_TEL
|
||||
if (form.value.TELEPHONE === "") {
|
||||
form.value.TELEPHONE = data.busInfo.CAR_OWNERS_TEL;
|
||||
}
|
||||
data.busInfo.DRIVING_LICENSE_IMG = addingPrefixToFile(
|
||||
resData.drivingLicenseImgs
|
||||
|
|
|
@ -7,9 +7,11 @@
|
|||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="运营车型" prop="VEHICLE_MODEL">
|
||||
<el-select v-model="form.VEHICLE_MODEL"
|
||||
:disabled="form.OPERATIONS_ID"
|
||||
@change="getVehicle">
|
||||
<el-select
|
||||
v-model="form.VEHICLE_MODEL"
|
||||
:disabled="form.OPERATIONS_ID"
|
||||
@change="getVehicle"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in OPERATING_VEHICLE_TYPE_LIST"
|
||||
:key="item.ID"
|
||||
|
@ -21,9 +23,11 @@
|
|||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="运营车辆" prop="PLATE_NUMBER">
|
||||
<el-select v-model="form.PLATE_NUMBER"
|
||||
:disabled="form.OPERATIONS_ID"
|
||||
@change="getBusInfo">
|
||||
<el-select
|
||||
v-model="form.PLATE_NUMBER"
|
||||
:disabled="form.OPERATIONS_ID"
|
||||
@change="getBusInfo"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in data.vehicleList"
|
||||
:key="item.ID"
|
||||
|
@ -357,11 +361,11 @@ const getVehicle = async (event) => {
|
|||
const fnBusChange = async (event) => {
|
||||
const resData = await getOperationTrailerList({ ID: event });
|
||||
data.busInfo = resData.list[0];
|
||||
if(form.value.TELEPHONE === '') {
|
||||
form.value.TELEPHONE = data.busInfo.CAR_OWNERS_TEL
|
||||
if (form.value.TELEPHONE === "") {
|
||||
form.value.TELEPHONE = data.busInfo.CAR_OWNERS_TEL;
|
||||
}
|
||||
if(form.value.CAR_OWNERS === '') {
|
||||
form.value.CAR_OWNERS = data.busInfo.CAR_OWNERS
|
||||
if (form.value.CAR_OWNERS === "") {
|
||||
form.value.CAR_OWNERS = data.busInfo.CAR_OWNERS;
|
||||
}
|
||||
data.busInfo.DRIVING_LICENSE_IMG = addingPrefixToFile(
|
||||
resData.drivingLicenseImgs
|
||||
|
|
|
@ -384,8 +384,8 @@ const fnGetTrailerInfo = async () => {
|
|||
form.value.DRIVINGLICENSE_PHOTO = resData.pd.DRIVING_LICENSE_IMG;
|
||||
form.value.VEHICLE_MODEL = resData.pd.TRAILER_MODEL;
|
||||
form.value.VEHICLE_BRAND = resData.pd.TRAILER_BRAND;
|
||||
form.value.VEHICLEOWNER = resData.pd.CAR_OWNERS
|
||||
form.value.CONTACT_NUMBER = resData.pd.CAR_OWNERS_TEL
|
||||
form.value.VEHICLEOWNER = resData.pd.CAR_OWNERS;
|
||||
form.value.CONTACT_NUMBER = resData.pd.CAR_OWNERS_TEL;
|
||||
form.value.DRIVINGLICENSE_PHOTO = addingPrefixToFile(
|
||||
resData.drivingLicenseImgs
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue