Browse Source

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

humingbo 1 năm trước cách đây
mục cha
commit
a9ee12af87
2 tập tin đã thay đổi với 9 bổ sung2 xóa
  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: {
     // 分页插件事件