修改卷帘位置

master
lld 2026-02-15 11:13:02 +08:00
parent 783def7c10
commit 565a5b143b
1 changed files with 4 additions and 2 deletions

View File

@ -229,8 +229,8 @@ export default {
{ type: 'jm2g', name: '卷膜2关' }, { type: 'jm2g', name: '卷膜2关' },
{ type: 'jm3k', name: '卷膜3开' }, { type: 'jm3k', name: '卷膜3开' },
{ type: 'jm3g', name: '卷膜3关' }, { type: 'jm3g', name: '卷膜3关' },
{ type: 'jlg', name: '卷帘关' }, { type: 'jlk', name: '卷帘开' },
{ type: 'jlk', name: '卷帘开' } { type: 'jlg', name: '卷帘关' }
], ],
// //
show: { show: {
@ -294,6 +294,7 @@ export default {
if (this.status[kKey] === 1) this.status[gKey] = 0; if (this.status[kKey] === 1) this.status[gKey] = 0;
if (this.status[gKey] === 1) this.status[kKey] = 0; if (this.status[gKey] === 1) this.status[kKey] = 0;
}); });
console.info(this.status)
}, },
onShow() { onShow() {
this.getAgriList(); this.getAgriList();
@ -479,6 +480,7 @@ export default {
}, },
// //
handleCardClick(status, type) { handleCardClick(status, type) {
console.info(status,type)
const funcMsg = "该功能用来开启或暂停设备,按钮亮为开启,按钮暗为暂停设备" const funcMsg = "该功能用来开启或暂停设备,按钮亮为开启,按钮暗为暂停设备"
if ((store.getters && store.getters.name !== 'admin') if ((store.getters && store.getters.name !== 'admin')
&& this.$auth.hasRole("test")) { && this.$auth.hasRole("test")) {