| | |
| | | msg: '取值范围1~285' |
| | | } |
| | | }, |
| | | // 一期 |
| | | stateList0: [ |
| | | { |
| | | id: 1, |
| | | name: "workState", |
| | | type: "", |
| | | icon: "", |
| | | text: "设备工作状态:", |
| | | value: "在线浮充", |
| | | show: true |
| | | }, |
| | | { |
| | | id: 8, |
| | | name: 'chargeType', |
| | | type: '', |
| | | icon: '', |
| | | text: "充电状态:", |
| | | value: '', |
| | | show: false |
| | | }, |
| | | { |
| | | id: 9, |
| | | name: 'activateCounter', |
| | | type: '', |
| | | icon: '', |
| | | text: "活化阶段:", |
| | | value: '', |
| | | show: false |
| | | }, |
| | | { |
| | | id: 2, |
| | | name: "temp0", |
| | | type: "", |
| | | icon: "el-icon-wendu", |
| | | text: "温度告警阀值:", |
| | | value: 45, |
| | | unit: "℃", |
| | | show: true |
| | | }, |
| | | { |
| | | id: 3, |
| | | name: "temp1", |
| | | type: "", |
| | | icon: "el-icon-wendu", |
| | | text: "温度1:", |
| | | value: 0, |
| | | unit: "℃", |
| | | show: true |
| | | }, |
| | | { |
| | | id: 4, |
| | | name: "temp2", |
| | | type: "", |
| | | icon: "el-icon-wendu", |
| | | text: "温度2:", |
| | | value: 0, |
| | | unit: "℃", |
| | | show: true |
| | | }, |
| | | { |
| | | id: 5, |
| | | name: "temp3", |
| | | type: "", |
| | | icon: "el-icon-wendu", |
| | | text: "温度3:", |
| | | value: 0, |
| | | unit: "℃", |
| | | show: true |
| | | }, |
| | | { |
| | | id: 6, |
| | | name: "stopreason", |
| | | type: "", |
| | | icon: "", |
| | | text: "告警状态:", |
| | | value: '', |
| | | unit: "", |
| | | show: true |
| | | }, |
| | | { |
| | | id: 7, |
| | | name: "alarm", |
| | | type: "", |
| | | icon: "", |
| | | text: "烟雾报警:", |
| | | value: 0, |
| | | show: true |
| | | }, |
| | | ], |
| | | // 二期 |
| | | stateList: [ |
| | | { |
| | | id: 1, |
| | |
| | | data () { |
| | | let permits = this.$store.state.user.permits; |
| | | let isCanTest = isHasPermit('batt_test_op_permit', permits); |
| | | let stateList = const_aio.stateList; |
| | | let stateList = const_aio.stateList0; |
| | | return { |
| | | acTabs: "eleLine", |
| | | isCanTest: isCanTest, |
| | |
| | | // k4状态 |
| | | main: false, |
| | | confirmBtnShow: 0, |
| | | ratio: 1, |
| | | // 上次停止原因 |
| | | lastStopReason: '', |
| | | /* 电池状态 模块 组端展示 */ |
| | |
| | | this.timer2.open(); |
| | | }, |
| | | beforeDestroy () { |
| | | this.timer.stop(); |
| | | this.timer2.stop(); |
| | | stop(); |
| | | } |