From 39831f00632a457fb84f33baceb080a6000cdd2d Mon Sep 17 00:00:00 2001 From: xuechunyuan <17853500702@163.com> Date: Tue, 25 Jul 2023 18:21:07 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=95=E7=82=B9=E7=99=BB=E5=BD=95=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E4=BC=98=E5=8C=96=EF=BC=9B=E6=8A=A5=E8=AD=A6=E7=82=B9?= =?UTF-8?q?=E4=BD=8D=E7=AE=A1=E7=90=86=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.js | 2 +- src/page/login/alogin.vue | 7 +- src/permission.js | 20 + src/store/modules/common.js | 4 +- src/views/alarmcenter/point/list.vue | 448 ++++++++++++-------- src/views/wirelessintrusion/device/list.vue | 4 +- vue.config.js | 2 +- 7 files changed, 308 insertions(+), 179 deletions(-) diff --git a/src/main.js b/src/main.js index 698274d..402c607 100644 --- a/src/main.js +++ b/src/main.js @@ -20,7 +20,7 @@ import flowDesign from "./components/flow-design/main"; import avueUeditor from "avue-plugin-ueditor"; import website from "@/config/website"; import crudCommon from "@/mixins/crud"; -import "@/assets/js/rem.js"; +// import "@/assets/js/rem.js"; // 业务组件 import tenantPackage from "./views/system/tenantpackage"; diff --git a/src/page/login/alogin.vue b/src/page/login/alogin.vue index bb67ef9..b38415d 100644 --- a/src/page/login/alogin.vue +++ b/src/page/login/alogin.vue @@ -4,9 +4,6 @@ - + diff --git a/src/views/wirelessintrusion/device/list.vue b/src/views/wirelessintrusion/device/list.vue index 74ddf3f..eb089b8 100644 --- a/src/views/wirelessintrusion/device/list.vue +++ b/src/views/wirelessintrusion/device/list.vue @@ -302,7 +302,7 @@ export default { bizLogin({ appKey: 'Arf7bd4f26', appSecret: 'kb207044c8' }).then(res => { window.sessionStorage.setItem('bizToken', res.data.data.token); this.loading = true; - bizDeviceList(res.data.data.token, { ...values, pageSize: page.pageSize, pageNo: page.currentPage }).then(res2 => { + bizDeviceList(res.data.data.token, { ...values, pageSize: page.pageSize, pageNum: page.currentPage }).then(res2 => { const data = res2.data; this.page.total = data.total; this.data = data.records; @@ -312,7 +312,7 @@ export default { }) } else { this.loading = true; - bizDeviceList(token, { ...values, pageSize: page.pageSize, pageNo: page.currentPage }).then(res2 => { + bizDeviceList(token, { ...values, pageSize: page.pageSize, pageNum: page.currentPage }).then(res2 => { this.loading = false; this.selectionClear(); if(res2.data.code == 401){ diff --git a/vue.config.js b/vue.config.js index 1f1dd70..a6868c4 100644 --- a/vue.config.js +++ b/vue.config.js @@ -41,7 +41,7 @@ module.exports = { '/api': { //本地服务接口地址 // target: 'http://192.168.1.34:8008', - target: 'http://192.168.3.32:8008', + target: 'http://192.168.3.32:81', ws: true, pathRewrite: { '^/api': '/'