优化系统_3_22
This commit is contained in:
parent
c9f52a5315
commit
783a467b26
|
@ -1,4 +1,6 @@
|
||||||
window.g = {
|
window.g = {
|
||||||
MQTT_IP: '172.16.1.146:1884',
|
MQTT_IP: '172.16.1.146:1884',
|
||||||
H5_IP:'http://172.16.1.177:8081'
|
// H5_IP:'http://172.16.1.177:8081/#/pages/index/index' //深度检测
|
||||||
|
H5_IP:'http://172.16.1.177:8081/#/pages/batteryHealth/index' //车辆安全检测报告
|
||||||
|
// H5_IP:'http://172.16.1.177:8081/#/pages/balanced/index' //均衡检测报告
|
||||||
}
|
}
|
Binary file not shown.
Before Width: | Height: | Size: 90 KiB After Width: | Height: | Size: 84 KiB |
Binary file not shown.
After Width: | Height: | Size: 90 KiB |
|
@ -39,13 +39,13 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="box5 box">
|
<div class="box5 box">
|
||||||
<p>VIN</p>
|
<p>VIN</p>
|
||||||
<p style="font-size: 12px">{{ frameInfo.VIN }}</p>
|
<p style="font-size: 12px" v-show="carNumShow">{{ frameInfo.VIN }}</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="box6 box">
|
<div class="box6 box">
|
||||||
<p>电池标称能量</p>
|
<p>电池标称能量</p>
|
||||||
<p v-show="batteryShow">{{ batteryInfo.BatteryNominalEnergy }}</p>
|
<p v-show="batteryShow">{{ batteryInfo.BatteryNominalEnergy }}</p>
|
||||||
</div>
|
</div>
|
||||||
<p class="title title2"><span>充电检测</span></p>
|
<p class="title title2"><span>电池健康度检测</span></p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
<span>电压</span>
|
<span>电压</span>
|
||||||
|
@ -102,7 +102,7 @@
|
||||||
<span>充电结束时间</span
|
<span>充电结束时间</span
|
||||||
><span v-show="batteryShow">{{ batteryInfo.ChargingEndTime }}</span>
|
><span v-show="batteryShow">{{ batteryInfo.ChargingEndTime }}</span>
|
||||||
</p>
|
</p>
|
||||||
<p class="title title3"><span>车辆外观检测</span></p>
|
<p class="title title3"><span>360°车体探伤检测</span></p>
|
||||||
<div class="carAppearance">
|
<div class="carAppearance">
|
||||||
<!-- <div class="overall">
|
<!-- <div class="overall">
|
||||||
<img src="../assets/shouye/carAll.png" alt="" />
|
<img src="../assets/shouye/carAll.png" alt="" />
|
||||||
|
@ -117,7 +117,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="m-main">
|
<div class="m-main">
|
||||||
<!-- <img @click="getQrcode()" src="../assets/car.png" alt="" /> -->
|
<!-- <img @click="getQrcode()" src="../assets/car.png" alt="" /> -->
|
||||||
<canvas ref="bgcode" class="bgcode" @click="getQrcode()"> </canvas>
|
<canvas ref="bgcode" class="bgcode"> </canvas>
|
||||||
<!-- <canvas ref="jhcode" class="jhcode" @click="getJhcode()"> </canvas> -->
|
<!-- <canvas ref="jhcode" class="jhcode" @click="getJhcode()"> </canvas> -->
|
||||||
</div>
|
</div>
|
||||||
<div class="rightBg"></div>
|
<div class="rightBg"></div>
|
||||||
|
@ -220,6 +220,7 @@ export default {
|
||||||
carNumShow: false, //车牌号展示
|
carNumShow: false, //车牌号展示
|
||||||
batteryShow: false, //电池数据展示
|
batteryShow: false, //电池数据展示
|
||||||
voiceprintShow: false, //声纹检测
|
voiceprintShow: false, //声纹检测
|
||||||
|
reportShow:false, //报告评分展示
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
|
@ -253,6 +254,7 @@ export default {
|
||||||
getCode(val) {
|
getCode(val) {
|
||||||
if (val == "二维码") {
|
if (val == "二维码") {
|
||||||
this.getQrcode();
|
this.getQrcode();
|
||||||
|
this.reportShow = true
|
||||||
} else if (val == "车牌识别") {
|
} else if (val == "车牌识别") {
|
||||||
this.carNumShow = true;
|
this.carNumShow = true;
|
||||||
} else if (val == "电池检测") {
|
} else if (val == "电池检测") {
|
||||||
|
@ -276,7 +278,7 @@ export default {
|
||||||
getQrcode() {
|
getQrcode() {
|
||||||
var text1 =
|
var text1 =
|
||||||
window.g.H5_IP +
|
window.g.H5_IP +
|
||||||
"/#/pages/index/index?DetectionReportId=21ad44647c8a4b9c871af5bae82d160a";
|
"?DetectionReportId="+this.reportInfo.DetectionReportId;
|
||||||
QRCode.toCanvas(this.$refs.bgcode, text1, function (error) {
|
QRCode.toCanvas(this.$refs.bgcode, text1, function (error) {
|
||||||
if (error) {
|
if (error) {
|
||||||
console.error("生成二维码时出错:", error);
|
console.error("生成二维码时出错:", error);
|
||||||
|
@ -1732,5 +1734,6 @@ for(var i=0; i<256; i++) {
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
margin-top: 8px;
|
margin-top: 8px;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Reference in New Issue