|
|
@@ -493,7 +493,7 @@ |
|
|
|
row.recCmd == "start" ? "关闭" : "开启" |
|
|
|
}}</el-dropdown-item |
|
|
|
> |
|
|
|
<el-dropdown-item v-if="getMenuReal('equ_state_equlog')" command="equlog" |
|
|
|
<el-dropdown-item v-if="equ_state_equlog" command="equlog" |
|
|
|
>设备日志</el-dropdown-item |
|
|
|
> |
|
|
|
</el-dropdown-menu> |
|
|
@@ -854,6 +854,7 @@ export default { |
|
|
|
orgType: localStorage.getItem("orgType"), |
|
|
|
dialogVisible5: false, |
|
|
|
wifiVisible: false, |
|
|
|
equ_state_equlog: false, |
|
|
|
customColors: [ |
|
|
|
{ color: "red", percentage: 20 }, |
|
|
|
// { color: "#e6a23c", percentage: 40 }, |
|
|
@@ -876,11 +877,6 @@ export default { |
|
|
|
}, |
|
|
|
computed: { |
|
|
|
...mapGetters(["permissions"]), |
|
|
|
getMenuReal() { |
|
|
|
return name => { |
|
|
|
return this.permissions[name] |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
created() { |
|
|
|
this.equ_state_open = this.permissions["equ_state_open"]; |
|
|
@@ -892,7 +888,7 @@ export default { |
|
|
|
this.equ_state_WiFi = this.permissions["equ_state_WiFi"]; |
|
|
|
this.equ_state_Voice = this.permissions["equ_state_Voice"]; |
|
|
|
this.equ_state_downLoad = this.permissions["equ_state_downLoad"]; |
|
|
|
|
|
|
|
this.equ_state_equlog = this.permissions["equ_state_equlog"] |
|
|
|
if (this.orgType == 2 || this.orgType == 3) { |
|
|
|
this.houseTypes = ""; |
|
|
|
} |
|
|
@@ -913,6 +909,9 @@ export default { |
|
|
|
this.zkhousePage(); |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
getPermissions(name) { |
|
|
|
return this.permissions[name] |
|
|
|
}, |
|
|
|
isSystoleForm() { |
|
|
|
this.isOpen = !this.isOpen; |
|
|
|
}, |
|
|
|