From 5c21788daf1e8247abaf8977e61a2c294b1e0d77 Mon Sep 17 00:00:00 2001 From: huangyuxuan Date: Mon, 19 Aug 2024 17:03:34 +0800 Subject: [PATCH] =?UTF-8?q?[=E4=BB=A3=E7=A0=81=E6=9B=B4=E6=96=B0](pet)=20s?= =?UTF-8?q?afetyenvironmental=E7=9B=B8=E5=85=B3=E6=8E=A5=E5=8F=A3=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E4=B8=BAV2=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/components/Navbar.vue | 1 + src/views/safetyenvironmental/archive/components/assign.vue | 2 +- src/views/safetyenvironmental/archive/components/info.vue | 2 +- src/views/safetyenvironmental/hidden/components/assign.vue | 2 +- src/views/safetyenvironmental/inspection/components/info.vue | 2 +- src/views/safetyenvironmental/inspection/components/list.vue | 4 ++-- 6 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index 8f4e844..3ef1396 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -309,6 +309,7 @@ export default { } }, setShowModel(model) { + console.log("test===========================") this.$store.dispatch('permission/setShowModel', model) }, toggleSideBar() { diff --git a/src/views/safetyenvironmental/archive/components/assign.vue b/src/views/safetyenvironmental/archive/components/assign.vue index 8cbbb66..aaceb36 100644 --- a/src/views/safetyenvironmental/archive/components/assign.vue +++ b/src/views/safetyenvironmental/archive/components/assign.vue @@ -340,7 +340,7 @@ export default { }) this.listLoading = true requestFN( - '/hidden/assign', + '/safetyenvironmental/V2/assign', { ...this.form, HIDDEN_STATUS: this.$parent.HIDDEN_STATUS, INSPECTION_ID: this.$parent.INSPECTION_ID diff --git a/src/views/safetyenvironmental/archive/components/info.vue b/src/views/safetyenvironmental/archive/components/info.vue index cdc7b26..c0c30af 100644 --- a/src/views/safetyenvironmental/archive/components/info.vue +++ b/src/views/safetyenvironmental/archive/components/info.vue @@ -243,7 +243,7 @@ export default { getData() { return new Promise((resolve) => { requestFN( - '/safetyenvironmental/goShow', + '/safetyenvironmental/V2/goShow', { INSPECTION_ID: this.$parent.INSPECTION_ID } diff --git a/src/views/safetyenvironmental/hidden/components/assign.vue b/src/views/safetyenvironmental/hidden/components/assign.vue index 78a49c1..53728ea 100644 --- a/src/views/safetyenvironmental/hidden/components/assign.vue +++ b/src/views/safetyenvironmental/hidden/components/assign.vue @@ -436,7 +436,7 @@ export default { }) this.listLoading = true requestFN( - '/hidden/assign', + '/safetyenvironmental/V2/assign', { ...this.form, HIDDEN_STATUS: this.$parent.HIDDEN_STATUS, INSPECTION_ID: this.$parent.INSPECTION_ID diff --git a/src/views/safetyenvironmental/inspection/components/info.vue b/src/views/safetyenvironmental/inspection/components/info.vue index 2414b31..a0d65fd 100644 --- a/src/views/safetyenvironmental/inspection/components/info.vue +++ b/src/views/safetyenvironmental/inspection/components/info.vue @@ -306,7 +306,7 @@ export default { getData() { return new Promise((resolve) => { requestFN( - '/safetyenvironmental/goShow', + '/safetyenvironmental/V2/goShow', { INSPECTION_ID: this.$parent.INSPECTION_ID } diff --git a/src/views/safetyenvironmental/inspection/components/list.vue b/src/views/safetyenvironmental/inspection/components/list.vue index 7d38400..01382bb 100644 --- a/src/views/safetyenvironmental/inspection/components/list.vue +++ b/src/views/safetyenvironmental/inspection/components/list.vue @@ -357,7 +357,7 @@ export default { getList() { this.listLoading = true requestFN( - '/safetyenvironmental/list?showCount=' + this.listQuery.limit + '¤tPage=' + this.listQuery.page, + '/safetyenvironmental/V2/list?showCount=' + this.listQuery.limit + '¤tPage=' + this.listQuery.page, { ...this.search, INSPECTION_TIME_START: this.search.INSPECTION_TIME[0], @@ -471,7 +471,7 @@ export default { }).then(() => { this.listLoading = true requestFN( - '/safetyenvironmental/hide', + '/safetyenvironmental/V2/hide', { INSPECTION_ID: id, hide: '1'