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' } + }) } }, },