fix: BUG修改
This commit is contained in:
parent
8dd86dd72c
commit
bc78543744
@ -13,7 +13,7 @@ NODE_ENV = 'development'
|
||||
# 沈阳合盈线上
|
||||
# VITE_API_URL = "http://101.43.164.214:45022"
|
||||
# 演示平台
|
||||
VITE_API_URL = 'http://jxj.zhgdyun.com:9809'
|
||||
# VITE_API_URL = 'http://jxj.zhgdyun.com:9809'
|
||||
# 百色七参数线上地址
|
||||
# VITE_API_URL = 'http://101.43.164.214:11111'
|
||||
# 七参数标准版(测试平台)
|
||||
@ -21,7 +21,7 @@ VITE_API_URL = 'http://jxj.zhgdyun.com:9809'
|
||||
# 七参数标准版(测试平台)
|
||||
# VITE_API_URL = 'http://182.90.224.237:15551'
|
||||
# agjt
|
||||
# VITE_API_URL = 'http://47.93.215.234:9809'
|
||||
VITE_API_URL = 'http://47.93.215.234:9809'
|
||||
# 上传
|
||||
VITE_ULD_API_URL = 'http://192.168.34.155:8012/onlinePreview?url='
|
||||
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 501 KiB After Width: | Height: | Size: 5.0 KiB |
BIN
src/assets/images/vehicleManagement/car2.png
Normal file
BIN
src/assets/images/vehicleManagement/car2.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 501 KiB |
@ -23,9 +23,9 @@ export const BAIDU_MAP_KEY: string = "";
|
||||
export const BASE_IMAGE_URL = import.meta.env.VITE_BASE_IMAGE_URL;
|
||||
|
||||
// 项目环境标识配置 部署时需更改对应的项目
|
||||
export const COMPANY: string = ""; //标准版
|
||||
// export const COMPANY: string = ""; //标准版
|
||||
// export const COMPANY: string = "as"; //鞍山项目
|
||||
// export const COMPANY: string = "agjt"; //鞍钢集团
|
||||
export const COMPANY: string = "agjt"; //鞍钢集团
|
||||
// export const COMPANY: string = "hfqc"; //合肥启程项目
|
||||
// export const COMPANY: string = "jsyc"; // 江苏盐城项目
|
||||
// export const COMPANY: string = "syhy"; //沈阳合盈盘锦项目 (需要去src\routers\modules\staticRouter.ts更换首页)
|
||||
|
||||
@ -103,6 +103,7 @@ import { COMPANY } from "@/config/config";
|
||||
import { useRouter } from "vue-router";
|
||||
import { GlobalStore } from "@/stores";
|
||||
const store = GlobalStore();
|
||||
const BASEURL = import.meta.env.VITE_API_URL;
|
||||
let nowTime = ref("2023-04-16 09:22:12" as any);
|
||||
|
||||
let nowDate = ref("2023.11.16" as any);
|
||||
@ -560,8 +561,7 @@ function jumpBgd() {
|
||||
}else if(COMPANY === "as"){
|
||||
window.location.replace("http://182.90.224.237:15551/#/login?token=" + store.token);
|
||||
}else if(COMPANY === "agjt"){
|
||||
console.log('123123')
|
||||
window.location.replace("http://angang.xingzong.tech:9809/#/login?token=" + store.token);
|
||||
window.location.replace(BASEURL + "/#/login?token=" + store.token);
|
||||
} else {
|
||||
// 新项目通用(百色服务器)
|
||||
window.location.replace("http://101.43.164.214:11111/#/login?token=" + store.token);
|
||||
|
||||
@ -102,7 +102,7 @@ function initOption() {
|
||||
// x: "right",
|
||||
top: "25%",
|
||||
// right: 400,
|
||||
right: "30%",
|
||||
right: "0%",
|
||||
// bottom: 30,
|
||||
align: "left",
|
||||
textStyle: {
|
||||
|
||||
@ -20,30 +20,34 @@
|
||||
<el-scrollbar class="listBox" ref="refScrollbar">
|
||||
<template v-if="vehicleData.length > 0">
|
||||
<div v-for="(item, index) in vehicleData" class="listStyle" :key="item.id">
|
||||
<div>{{ index + 1 }}</div>
|
||||
<div>{{ item.carNumber }}</div>
|
||||
<div>{{ item.passTime }}</div>
|
||||
<div>{{ item.type == 1 ? "出" : "进" }}</div>
|
||||
<div>{{ item.location }}</div>
|
||||
<div>{{ item.carColor }}</div>
|
||||
<div>{{ item.carType ? carTypeList[item.carType - 1].name : "" }}</div>
|
||||
<div><span>{{ index + 1 }}</span></div>
|
||||
<div><span>{{ item.carNumber }}</span></div>
|
||||
<div><span>{{ item.passTime }}</span></div>
|
||||
<div><span>{{ item.type == 1 ? "出" : "进" }}</span></div>
|
||||
<div><span>{{ item.location }}</span></div>
|
||||
<div><span>{{ item.carColor }}</span></div>
|
||||
<div><span>{{ item.carType ? carTypeList[item.carType - 1].name : "" }}</span></div>
|
||||
<div class="list-img">
|
||||
<el-image
|
||||
<!-- <el-image
|
||||
v-if="item.imageUrl"
|
||||
fit="contain"
|
||||
class="el-img"
|
||||
:src="BASEURL + '/image/' + item.imageUrl"
|
||||
:preview-src-list="[BASEURL + '/image/' + item.imageUrl]"
|
||||
>
|
||||
</el-image>
|
||||
</el-image> -->
|
||||
<img src="@/assets/images/vehicleManagement/car.png" alt="" />
|
||||
</div>
|
||||
<div class="list-img">
|
||||
<el-image
|
||||
v-if="item.panoramaUrl"
|
||||
fit="contain"
|
||||
class="el-img"
|
||||
:src="BASEURL + '/image/' + item.panoramaUrl"
|
||||
:preview-src-list="[BASEURL + '/image/' + item.panoramaUrl]"
|
||||
>
|
||||
</el-image>
|
||||
<img v-else src="@/assets/images/vehicleManagement/car.png" alt="" />
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
@ -60,6 +64,7 @@
|
||||
import { reactive, ref, onMounted } from "vue";
|
||||
import { getEntryAndExitListApi } from "@/api/modules/vehicle";
|
||||
import { GlobalStore } from "@/stores";
|
||||
import noDataImage from "@/assets/images/vehicleManagement/car.png"
|
||||
const store = GlobalStore();
|
||||
const BASEURL = import.meta.env.VITE_API_URL;
|
||||
const pageNo = ref(1 as any);
|
||||
@ -214,17 +219,24 @@ onMounted(async () => {
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
color: #fff;
|
||||
line-height: 25px;
|
||||
// line-height: 25px;
|
||||
font-size: calc(100vw * 12 / 1920);
|
||||
.list-img {
|
||||
.el-img {
|
||||
width: 50px;
|
||||
height: 25px;
|
||||
}
|
||||
img{
|
||||
width: 62px;
|
||||
height: 62px;
|
||||
}
|
||||
}
|
||||
div {
|
||||
text-align: center;
|
||||
width: 11%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center
|
||||
}
|
||||
}
|
||||
.listStyle:hover {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
<div class="imgDiv">
|
||||
<!-- 全景图 panoramaUrl -->
|
||||
<img v-if="entryCarData.panoramaUrl" :src="BASEURL + '/image/' + entryCarData.panoramaUrl" alt="" />
|
||||
<img v-else src="@/assets/images/vehicleManagement/car.png" alt="" />
|
||||
<img v-else src="@/assets/images/vehicleManagement/car.png" class="noDataImg" alt="" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="rightMenu">
|
||||
@ -20,7 +20,7 @@
|
||||
<!-- 车牌图片 imageurl -->
|
||||
<div class="carNumOne">
|
||||
<img v-if="entryCarData.imageUrl" :src="BASEURL + '/image/' + entryCarData.imageUrl" alt="" />
|
||||
<img v-else src="@/assets/images/vehicleManagement/carNum.png" alt="" />
|
||||
<img v-else src="@/assets/images/vehicleManagement/car.png" class="noDataImg" alt="" />
|
||||
</div>
|
||||
<div class="carNumTwo">
|
||||
<div>识别车牌号</div>
|
||||
@ -113,11 +113,18 @@ onMounted(async () => {
|
||||
height: 90%;
|
||||
background: url("@/assets/images/vehicleManagement/leftImg.png") no-repeat;
|
||||
background-size: 100% 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
img {
|
||||
width: 91%;
|
||||
height: 92%;
|
||||
margin: 2% 4%;
|
||||
}
|
||||
.noDataImg{
|
||||
width: 12%;
|
||||
height: 20%;
|
||||
}
|
||||
}
|
||||
}
|
||||
.rightMenu {
|
||||
@ -132,11 +139,18 @@ onMounted(async () => {
|
||||
width: 100%;
|
||||
background: url("@/assets/images/vehicleManagement/carNumImg.png") no-repeat;
|
||||
background-size: 100% 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
img {
|
||||
width: 91%;
|
||||
height: 86%;
|
||||
margin: 2% 4%;
|
||||
}
|
||||
.noDataImg{
|
||||
width: 25%;
|
||||
height: 78%;
|
||||
}
|
||||
}
|
||||
.carNumTwo {
|
||||
margin-top: 7%;
|
||||
|
||||
@ -6,7 +6,8 @@
|
||||
<div class="imgDiv">
|
||||
<!-- 全景图 panoramaUrl -->
|
||||
<img v-if="entryCarData.panoramaUrl" :src="BASEURL + '/image/' + entryCarData.panoramaUrl" alt="" />
|
||||
<img v-else src="@/assets/images/vehicleManagement/goCar.png" alt="" />
|
||||
<!-- <img v-else src="@/assets/images/vehicleManagement/goCar.png" alt="" /> -->
|
||||
<img v-else src="@/assets/images/vehicleManagement/car.png" class="noDataImg" alt="" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="rightMenu">
|
||||
@ -20,7 +21,8 @@
|
||||
<!-- 车牌图片 imageurl -->
|
||||
<div class="carNumOne">
|
||||
<img v-if="entryCarData.imageUrl" :src="BASEURL + '/image/' + entryCarData.imageUrl" alt="" />
|
||||
<img v-else src="@/assets/images/vehicleManagement/goCarNum.png" alt="" />
|
||||
<img v-else src="@/assets/images/vehicleManagement/car.png" class="noDataImg" alt="" />
|
||||
<!-- <img v-else src="@/assets/images/vehicleManagement/goCarNum.png" alt="" /> -->
|
||||
</div>
|
||||
<div class="carNumTwo">
|
||||
<div>识别车牌号</div>
|
||||
@ -112,11 +114,18 @@ onMounted(async () => {
|
||||
height: 90%;
|
||||
background: url("@/assets/images/vehicleManagement/leftImg.png") no-repeat;
|
||||
background-size: 100% 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
img {
|
||||
width: 91%;
|
||||
height: 92%;
|
||||
margin: 2% 4%;
|
||||
}
|
||||
.noDataImg{
|
||||
width: 12%;
|
||||
height: 20%;
|
||||
}
|
||||
}
|
||||
}
|
||||
.rightMenu {
|
||||
@ -131,11 +140,18 @@ onMounted(async () => {
|
||||
width: 100%;
|
||||
background: url("@/assets/images/vehicleManagement/carNumImg.png") no-repeat;
|
||||
background-size: 100% 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
img {
|
||||
width: 91%;
|
||||
height: 86%;
|
||||
margin: 2% 4%;
|
||||
}
|
||||
.noDataImg{
|
||||
width: 25%;
|
||||
height: 78%;
|
||||
}
|
||||
}
|
||||
.carNumTwo {
|
||||
margin-top: 7%;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user