添加卡号信号,固件版本

jcbranch
fanluyan 1 year ago
parent 2c4959a11b
commit ca9524d248

@ -346,6 +346,15 @@
<u-table-column label="网络信号" v-if="wlcheck" key="wl">
<u-table-column label="卡1" min-width="60" prop="signature1">
<template slot-scope="scope">
<span
v-if="
scope.row.mntnStatus.reportMap !== null &&
scope.row.mntnStatus.reportMap.hasOwnProperty('XyDev')
"
>
{{ scope.row.mntnStatus.reportMap.signalLevel1 }}
</span>
<span v-else>
<el-tooltip
class="item"
effect="dark"
@ -364,11 +373,20 @@
: ""
}}</span>
</el-tooltip>
</span>
</template>
</u-table-column>
<u-table-column label="卡2" min-width="60" prop="signature2">
<template slot-scope="scope">
<span>
<span
v-if="
scope.row.mntnStatus.reportMap !== null &&
scope.row.mntnStatus.reportMap.hasOwnProperty('XyDev')
"
>
{{ scope.row.mntnStatus.reportMap.signalLevel2 }}
</span>
<span v-else>
<el-tooltip
class="item"
effect="dark"
@ -551,6 +569,16 @@
}}</span>
</template>
</u-table-column>
<u-table-column label="固件版本" v-if="fwcheck" min-width="210" key="fw">
<template slot-scope="scope">
<span>{{
scope.row.mntnStatus.reportMap !== null &&
scope.row.mntnStatus.reportMap.hasOwnProperty("XyDev")
? scope.row.mntnStatus.reportMap.firmware
: ""
}}</span>
</template>
</u-table-column>
<u-table-column
label="装置IP"
v-if="lastIpcheck"
@ -647,6 +675,9 @@
<el-checkbox v-model="MCUcheck" @change="saveLocalStorage"
>MCU版本</el-checkbox
>
<el-checkbox v-model="fwcheck" @change="saveLocalStorage"
>固件版本</el-checkbox
>
<el-checkbox v-model="lastIpcheck" @change="saveLocalStorage"
>装置IP</el-checkbox
>
@ -1073,6 +1104,7 @@ export default {
Cameracheck: false,
AIcheck: false,
MCUcheck: false,
fwcheck: false,
freecheck: false,
notecheck: false,
lastIpcheck: false,
@ -2012,6 +2044,7 @@ export default {
localStorage.setItem("Cameracheck", this.Cameracheck);
localStorage.setItem("AIcheck", this.AIcheck);
localStorage.setItem("MCUcheck", this.MCUcheck);
localStorage.setItem("fwcheck", this.fwcheck);
localStorage.setItem("freecheck", this.freecheck);
localStorage.setItem("notecheck", this.notecheck);
localStorage.setItem("lastIpcheck", this.lastIpcheck);
@ -2072,6 +2105,9 @@ export default {
this.MCUcheck = localStorage.getItem("MCUcheck")
? JSON.parse(localStorage.getItem("MCUcheck"))
: false;
this.fwcheck = localStorage.getItem("fwcheck")
? JSON.parse(localStorage.getItem("fwcheck"))
: false;
this.freecheck = localStorage.getItem("freecheck")
? JSON.parse(localStorage.getItem("freecheck"))
: false;

@ -21,7 +21,7 @@ module.exports = defineConfig({
"/api": {
//表示拦截以/api开头的请求路径
//target: "http://61.169.135.146:40101/", //
target: "http://61.169.135.146:40080/", //dell
target: "http://61.169.135.146:40085/", //dell
changOrigin: true, //是否开启跨域
pathRewrite: {
"^/api": "/api", //重写api把api变成空字符因为我们真正请求的路径是没有api的

Loading…
Cancel
Save