添加卡号信号,固件版本

jcbranch
fanluyan 1 year ago
parent 2c4959a11b
commit ca9524d248

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

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

Loading…
Cancel
Save