diff --git a/src/views/Equipment/state.vue b/src/views/Equipment/state.vue index dc812e2..8bb5c08 100644 --- a/src/views/Equipment/state.vue +++ b/src/views/Equipment/state.vue @@ -493,7 +493,7 @@ row.recCmd == "start" ? "关闭" : "开启" }} - 设备日志 @@ -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; }, diff --git a/vue.config.js b/vue.config.js index bef3690..003a01e 100644 --- a/vue.config.js +++ b/vue.config.js @@ -3,7 +3,7 @@ * https://cli.vuejs.org/zh/config/ */ // const url = 'http://192.168.31.161:9999' //长龙 -const url = 'http://192.168.31.108:9999' // 胜浩 +const url = 'http://192.168.31.147:9999' // 胜浩 // const url = 'https://zanyong.hfju.com' // 正式域名 // const url = 'http://127.0.0.1:9999' // 本地 // const url = 'http://81.70.55.170:9999' // 新测试