| | |
| | | top="0" |
| | | class="dialog-center" |
| | | :modal-append-to-body="false" |
| | | > |
| | | > |
| | | <div class="wx_guides"> |
| | | <p>参考线:</p> |
| | | <p><el-input v-model="guidesVal"></el-input></p> |
| | |
| | | </div> |
| | | </right-menu> |
| | | <stop-outline-curing :dev-id="batt.FBSDeviceId" :stop-time="stopTime"></stop-outline-curing> |
| | | <el-dialog |
| | | title="人脸校验" |
| | | width="480px" |
| | | :visible.sync="startFaceShow" |
| | | :close-on-click-modal="false" |
| | | top="0" |
| | | :modal="false" |
| | | class="dialog-center" |
| | | :modal-append-to-body="false" |
| | | :destroy-on-close="true"> |
| | | <check-face |
| | | v-if="startFaceShow" |
| | | @checkSuccess="startFaceSuccess"></check-face> |
| | | </el-dialog> |
| | | </flex-layout> |
| | | </template> |
| | | |
| | |
| | | import AutoCheck from "@/pages/dataTest/dialogs/autoCheck"; |
| | | import const_9120 from "@/assets/js/const/const_9120"; |
| | | import LithiumPackTab from "@/pages/dataTest/components/lithiumPackTab"; |
| | | import CheckFace from "@/components/checkFace.vue"; |
| | | import config from "@/assets/js/config"; |
| | | |
| | | /* import moment from "moment"; */ |
| | | let vol, resChart, temp, conduct, currChart, leakVol, monConnRes; |
| | | let tblData = []; |
| | | export default { |
| | | components: { |
| | | CheckFace, |
| | | LithiumPackTab, |
| | | AutoCheck, |
| | | stopOutlineCuring, |
| | |
| | | this.resize(); |
| | | }); |
| | | }, |
| | | "$store.user.realTabsConfig"(pageConfig) { |
| | | this.pageConfig = pageConfig; |
| | | } |
| | | // "diagram.type"(n) { |
| | | // // console.log(n, '===========测试类型:'); |
| | | // let batt = this.batt; |
| | |
| | | let lastCapacityTest = const_61850.lastCapacityTest; |
| | | let pageConfig = this.$store.getters["user/realTabsConfig"]; |
| | | return { |
| | | startFaceShow: false, |
| | | // 成都石化 |
| | | cdshStatus:this.cdshFan(), |
| | | guidesDialog:false, |
| | |
| | | leakVol:0 |
| | | |
| | | }, |
| | | // |
| | | // |
| | | loading: false, |
| | | workPlanDialog: false, |
| | | dcdcWorkDialog: false, |
| | |
| | | cdshFan:function(){ |
| | | return this.$CFG.clientName.name; |
| | | }, |
| | | // |
| | | // |
| | | tabClick(tab) { |
| | | this.acTabs = tab.name; |
| | | // 根据tab更新电路图 |
| | |
| | | if (regEquipType(data.FBSDeviceId, ["equip61850"])) { |
| | | this.getLastCapacityTest(data); |
| | | } |
| | | |
| | | let keyList = ["eleLine", "vol", "res", "temp", "conduct", "monConnRes", |
| | | "curr", "leakVol", "tblData", "dianchigaojing", "niBianInfoTab", "jggdInfoTab", "elePrice", "bmsInfo"]; |
| | | for(let i=0; i<keyList.length; i++) { |
| | | let key = keyList[i]; |
| | | if(this.pageConfig[key]) { |
| | | this.acTabs = key; |
| | | break; |
| | | } |
| | | } |
| | | this.loading = true; |
| | | this.changeTabsName(); |
| | | this.$nextTick(()=>{ |
| | |
| | | // }else{ |
| | | obj[key] = vm.guidesData[key]; |
| | | // } |
| | | |
| | | |
| | | } |
| | | return obj; |
| | | }(); |
| | |
| | | this.chargeMon = chargeMon; |
| | | this.dischargeMon = dischargeMon; |
| | | this.tdata = data; |
| | | |
| | | |
| | | // 更新表格 |
| | | if (this.acTabs == "tblData") { |
| | | this.table.datas = data; |
| | |
| | | closeDisChargeDialog() { |
| | | this.dischargeDialog.show = false; |
| | | }, |
| | | startFaceSuccess() { |
| | | this.startFaceShow = false; |
| | | let batt = this.batt; |
| | | let loading = this.$layer.loading(); |
| | | this.$apis.outline.restart(batt.FBSDeviceId).then((res) => { |
| | | let rs = JSON.parse(res.data.result); |
| | | if (rs.code == 1) { |
| | | this.$alert("发送重启命令成功", "系统提示"); |
| | | } else { |
| | | this.$alert("发送重启命令失败!", "系统提示"); |
| | | } |
| | | this.$layer.close(loading); |
| | | }).catch((error) => {}); |
| | | }, |
| | | restartSystem() { |
| | | let self = this; |
| | | let batt = this.batt; |
| | |
| | | confirmButtonText: "确定", |
| | | cancelButtonText: "取消", |
| | | inputType: "password", |
| | | }) |
| | | .then(({ value }) => { |
| | | }).then(({ value }) => { |
| | | if (value == resetPwd) { |
| | | let loading = this.$layer.loading(); |
| | | this.$apis.outline |
| | | .restart(batt.FBSDeviceId) |
| | | .then((res) => { |
| | | let rs = JSON.parse(res.data.result); |
| | | if (rs.code == 1) { |
| | | this.$alert("发送重启命令成功", "系统提示"); |
| | | } else { |
| | | this.$alert("发送重启命令失败!", "系统提示"); |
| | | } |
| | | this.$layer.close(loading); |
| | | }) |
| | | .catch((error) => {}); |
| | | if (config.dischargeByFace.value) { |
| | | this.startFaceShow = true; |
| | | }else { |
| | | this.startFaceSuccess(); |
| | | } |
| | | } else { |
| | | this.$layer.msg("密码不正确"); |
| | | } |
| | | }) |
| | | .catch(() => {}); |
| | | }).catch(() => {}); |
| | | }, |
| | | changeSkin() { |
| | | this.$nextTick(() => { |
| | |
| | | if(this.cdshStatus == "cdsh"){ |
| | | list.MonCount = this.inputs.MonCount; |
| | | list.MonVolStd = this.inputs.MonVolStd + "V"; |
| | | |
| | | |
| | | } |
| | | if (this.inputs.batt_state === 3) { |
| | | // 为0是不更新剩余容量 |
| | |
| | | .wx_guides p { |
| | | display: inline-block; |
| | | margin-right: 10px; |
| | | |
| | | |
| | | } |
| | | .wx_guides p /deep/.el-input__inner { |
| | | color:#000; |