From e9fdc728c88fe19b654d1e786ce5d3190d832b5f Mon Sep 17 00:00:00 2001 From: TiaStars Date: Mon, 5 Aug 2024 15:41:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=83=A8=E5=88=86=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E6=9D=83=E9=99=90=E3=80=81=E8=B7=B3=E8=BD=AC=E5=9C=B0?= =?UTF-8?q?=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/abnormalRemind/index.vue | 8 +------- .../enterInfo/components/tabTwo/index.vue | 6 +++--- src/views/enterpriselibrary/index.vue | 3 ++- src/views/intelligentReminder/index.vue | 7 ++++--- .../onlineDeclaration/enterpriseDirectory/index.vue | 5 +++-- src/views/onlineDeclaration/template/index.vue | 10 +++++++--- src/views/policyDocument/index.vue | 7 ++++--- src/views/project/index.vue | 9 +++++++-- src/views/workbench/index.vue | 5 ++++- 9 files changed, 35 insertions(+), 25 deletions(-) diff --git a/src/views/abnormalRemind/index.vue b/src/views/abnormalRemind/index.vue index d206e88..88660cd 100644 --- a/src/views/abnormalRemind/index.vue +++ b/src/views/abnormalRemind/index.vue @@ -19,12 +19,6 @@ - - - @@ -175,6 +178,7 @@ export default { }, data() { return { + roles: this.$store.state.user.roles, // 遮罩层 loading: true, // 模版列表数据 diff --git a/src/views/policyDocument/index.vue b/src/views/policyDocument/index.vue index 7deff9e..6b2b65a 100644 --- a/src/views/policyDocument/index.vue +++ b/src/views/policyDocument/index.vue @@ -45,7 +45,7 @@ - 新增发文 + 新增发文 @@ -71,8 +71,8 @@ @@ -190,6 +190,7 @@ export default { var now = new Date(); return { userType: this.$store.state.user.userType, + roles: this.$store.state.user.roles, deptId: this.$store.state.user.deptId, now:now, total:0, diff --git a/src/views/project/index.vue b/src/views/project/index.vue index b65c157..8641d5b 100644 --- a/src/views/project/index.vue +++ b/src/views/project/index.vue @@ -54,7 +54,7 @@ - 导入新项目 + 导入新项目 @@ -132,7 +132,7 @@ @@ -370,6 +370,11 @@ export default { this.formInline.declareUnit = this.$route.params.declareUnit this.pagination = { ...this.pagination,...this.formInline }; } + if(this.$route.params.declareUnit && this.$route.params.status) { + this.formInline.declareUnit = this.$route.params.declareUnit + this.formInline.status = this.$route.params.status + this.pagination = { ...this.pagination,...this.formInline }; + } if(this.userType == "01") { this.pagination.creditCode = this.$store.state.user.name } diff --git a/src/views/workbench/index.vue b/src/views/workbench/index.vue index fdefde7..d12d014 100644 --- a/src/views/workbench/index.vue +++ b/src/views/workbench/index.vue @@ -531,7 +531,10 @@ export default { params: { declareUnit: this.search } }) } else if(this.checked == 2) { - + this.$router.push({ + name: 'Project', + params: { declareUnit: this.search, status: '5' } + }) } }, },