浏览代码

知识库和范本库重置选中顶级机构

jiawuxian 1 年之前
父节点
当前提交
b8d4f9fab7
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      src/views/core/drill/drillDictionary/index.vue
  2. 1 1
      src/views/core/materials/index.vue

+ 1 - 1
src/views/core/drill/drillDictionary/index.vue

@@ -385,7 +385,7 @@ export default {
     /** 重置按钮操作 */
     resetQuery() {
       this.resetForm("queryForm");
-      this.queryParams.orgId=this.orgId
+      this.$refs["orgTree"].setSelectTop();
       this.queryParams.checkSub=true;      
       this.$refs["orgTree"].setCheckSub(this.queryParams.checkSub)
       this.handleQuery();

+ 1 - 1
src/views/core/materials/index.vue

@@ -531,7 +531,7 @@ export default {
     /** 重置按钮操作 */
     resetQuery() {
       this.resetForm("queryForm");
-      this.queryParams.orgId = this.orgId;
+      this.$refs["orgTree"].setSelectTop();
       this.queryParams.checkSub = true;
       this.$refs["orgTree"].setCheckSub(this.queryParams.checkSub)
       this.handleQuery();