소스 검색

修订实施代办跳转进来默认选择代办。其他代办事项跳转一样的方式(进行中状态)

humingbo 1 년 전
부모
커밋
a9ee12af87
2개의 변경된 파일9개의 추가작업 그리고 2개의 파일을 삭제
  1. 8 2
      src/views/dashboard/index.vue
  2. 1 0
      src/views/enforceflow/enforceflow.vue

+ 8 - 2
src/views/dashboard/index.vue

@@ -247,13 +247,19 @@ export default {
       this.$router.push(`/material/myReceive`)
     },
     enforceTasksClick() {
-      this.$router.push('/enforceflow/enforceflow')
+      let params = {
+        status: '1'
+      }
+      this.$router.push({path: '/enforceflow/enforceflow', query: params});
     },
     todoMeetingClick() {
       this.$router.push('/meeting/meeting')
     },
     enforceRemindClick() {
-      this.$router.push('/enforceflow/enforceflow')
+      let params = {
+        status: '1'
+      }
+      this.$router.push({path: '/enforceflow/enforceflow', query: params});
     },
 
     handleAudit() {

+ 1 - 0
src/views/enforceflow/enforceflow.vue

@@ -861,6 +861,7 @@ export default {
     this.getData(this.formInline)
     this.getDeptUserTrees()
     this.fileAction = uploadFileUrl()
+    this.formInline.status = this.$route.query.status;
   },
   methods: {
     // 分页插件事件