浏览代码

hide search button

deason 6 年之前
父节点
当前提交
4c1edcacb8
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/modules/print/view/ProjectStatistic.vue

+ 3 - 0
src/modules/print/view/ProjectStatistic.vue

@@ -47,6 +47,7 @@
               size="small"
               size="small"
               type="primary"
               type="primary"
               icon="el-icon-search"
               icon="el-icon-search"
+              v-show="showSearch"
               @click="searchRecords"
               @click="searchRecords"
               >查询
               >查询
             </el-button>
             </el-button>
@@ -407,6 +408,7 @@ export default {
       loaded: false,
       loaded: false,
       hasPermit: false,
       hasPermit: false,
       loading: false,
       loading: false,
+      showSearch: true,
       showGoBack: false,
       showGoBack: false,
       tableData: [],
       tableData: [],
       projectId: "",
       projectId: "",
@@ -891,6 +893,7 @@ export default {
       this.loaded = true;
       this.loaded = true;
       this.loadOrgList();
       this.loadOrgList();
       this.loadExamList(orgId);
       this.loadExamList(orgId);
+      this.showSearch = false;
       this.showGoBack = true;
       this.showGoBack = true;
       this.formSearch.orgId = parseInt(orgId);
       this.formSearch.orgId = parseInt(orgId);
       this.formSearch.examId = parseInt(examId);
       this.formSearch.examId = parseInt(examId);