Jelajahi Sumber

归档查询优化

yanshichao 1 tahun lalu
induk
melakukan
04fd26da8e

+ 1 - 0
src/views/task/archive.vue

@@ -255,6 +255,7 @@ export default {
       if (this.typeRadio === '归档项目') {
         getProjectTree({status: '1'}).then(response => {
           this.projectData = response.data
+          this.getList()
         })
       }
       if (this.typeRadio === '垃圾桶') {

+ 1 - 0
src/views/task/components/project.vue

@@ -415,6 +415,7 @@ export default {
         archiveProject(data).then(res => {
           this.$message.success('归档成功!');
           this.getProjectTree();
+          this.$emit("selectProject", null)
         })
       }).catch(() => {
       });

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

@@ -475,6 +475,7 @@ export default {
     },
     /** 搜索按钮操作 */
     handleQuery() {
+      console.log(11);
       this.queryParams.pageNum = 1;
       this.getList();
     },