| | |
| | | * 南京测控: 'njck' |
| | | * 云南昆明供电局:'ynkm' |
| | | */ |
| | | // name: "", |
| | | name: "", |
| | | // name: "sxty", // 请查看alarmPopup是否开启,logo是否开启且为gjdw |
| | | // name: "tydc", |
| | | // name: 'njck', |
| | | name: "ynkm", // 云南昆明定制了设备实时告警和设备历史告警名称 打包时注意设置为isChangeAlarm=true,其他设置为false |
| | | // name: "ynkm", // 云南昆明定制了设备实时告警和设备历史告警名称 打包时注意设置为isChangeAlarm=true,其他设置为false |
| | | //value: false, |
| | | isChangeAlarm: false, |
| | | }, |
| | |
| | | 50: "停电放电", |
| | | 51: "内阻测试", |
| | | 52: "充电截止到", |
| | | 53: "在线接触器状态异常", |
| | | }, |
| | | cmd: { |
| | | start: 81, // 启动测试 |
| | |
| | | :online-vol="onlineVol" |
| | | :group-vol="groupVol" |
| | | :batt-curr="battCurr" |
| | | :load-curr="loadCurr" |
| | | :dev-temp="devTemp" |
| | | :type="type" |
| | | :update="update" |
| | |
| | | :online-vol="onlineVol" |
| | | :group-vol="groupVol" |
| | | :batt-curr="battCurr" |
| | | :load-curr="loadCurr" |
| | | :dev-temp="devTemp" |
| | | :type="type" |
| | | :update="update"></no-buscouple> |
| | |
| | | type: Number, |
| | | default: -1, |
| | | }, |
| | | loadCurr: { |
| | | type: [String, Number], |
| | | default: "??", |
| | | }, |
| | | update: { |
| | | type: Boolean, |
| | | default: true, |
| | |
| | | <a @click="stopTest" href="javascript:void(0);">停止测试</a> |
| | | </li> |
| | | <li class="hdw-menu-item"> |
| | | <a @click="confirmStartResTest" href="javascript:void(0);">启动内阻测试</a> |
| | | <a @click="confirmStartResTest" :disabled="!canTest" href="javascript:void(0);">启动内阻测试</a> |
| | | </li> |
| | | <li class="hdw-menu-item"> |
| | | <a @click="stopResTest" href="javascript:void(0);">停止内阻测试</a> |
| | |
| | | :group-vol="inputs.groupVol" :batt-curr="inputs.groupCurr" :dev-temp="diagram.temp" :type="diagram.type" |
| | | :update="diagram.update" :version="devVersion" :contact-res="diagram.contactRes" |
| | | :drop-vol="diagram.dropVol" :dev-type="diagram.devType" :charge-mon="chargeMon" |
| | | :load-curr="loadCurr" |
| | | :discharge-mon="dischargeMon" :buscouple-switch="buscoupleSwitch" :bypass="diagram.bypass" |
| | | :temp="diagram.devTemperature" :hum="diagram.devHumidity"></circuit-diagram> |
| | | </el-tab-pane> |
| | |
| | | <!-- 实时历史数据 --> |
| | | <el-dialog :title="histroyDataTitle" width="1200px" :visible.sync="historyRealTimeDataDialog.show" |
| | | :close-on-click-modal="false" top="0" class="dialog-center no-bg" :modal-append-to-body="false"> |
| | | <history-realtime-data :batt="currentBattObj" v-if="historyRealTimeDataDialog.show"></history-realtime-data> |
| | | <history-realtime-data :batt="batt" v-if="historyRealTimeDataDialog.show"></history-realtime-data> |
| | | </el-dialog> |
| | | <modal name="videoModal" :draggable="true" height="auto" :clickToClose="false"> |
| | | <div class="modal-title-wrapper"> |
| | |
| | | JSON.stringify(const_61850.lastCapacityTest) |
| | | ); |
| | | return { |
| | | loadCurr: 0, |
| | | controlFailTypeName: "", |
| | | alarmParams: {}, |
| | | battInf0: {}, |
| | | battInf1: {}, |
| | | currWorkGrp: 0, |
| | | startIdx: 0, |
| | | battGroupIds: [0, 0], |
| | | battDatas: [{}, {}], |
| | | // 系统数据 |
| | | systemData: { |
| | | workState: 0, |
| | |
| | | rtstate, |
| | | tinfdata, |
| | | } = data; |
| | | this.loadCurr = res.data.data2.loadCurr; |
| | | // console.log('loadCurr', this.loadCurr, '============='); |
| | | |
| | | this.realTimeGroupss(rtstate); |
| | | // if (!this.stationInf) { |
| | | |
| | |
| | | this.dischargeDialog.show = true; |
| | | }, |
| | | confirmStartResTest() { |
| | | if (!this.canTest) { |
| | | this.$message.error("系统正在测试中, 请稍后再试"); |
| | | return false; |
| | | } |
| | | this.$layer.prompt( |
| | | { |
| | | title: "输入启动口令,并确认", |
| | |
| | | const_61853.workState[this.systemData.workState] || |
| | | `未知(${this.systemData.workState})` |
| | | ); |
| | | }, |
| | | currentBattObj() { |
| | | return { |
| | | battGroupId: this.battGroupIds[0], |
| | | monCount: this.battDatas[0].battCount, |
| | | }; |
| | | }, |
| | | canTest() { |
| | | return this.systemData.workState == 0; |