Explorar el Código

修改档案查询页面

ZaiZai hace 2 años
padre
commit
906f910944
Se han modificado 1 ficheros con 13 adiciones y 32 borrados
  1. 13 32
      src/views/using/query.vue

+ 13 - 32
src/views/using/query.vue

@@ -12,10 +12,10 @@
                     </template>
                     <template #append>
                         <div class="append-search-btn-box">
-                            <el-button type="primary" class="search-btn">
+                            <el-button type="primary" class="search-btn" @click="searchFileClick">
                                 按文件查询
                             </el-button>
-                            <el-button type="primary" class="search-btn">
+                            <el-button type="primary" class="search-btn" @click="searchCaseClick">
                                 按案卷查询
                             </el-button>
                         </div>
@@ -113,36 +113,6 @@
                     </template>
                 </HcCardItem>
             </div>
-
-            <!--div class="hc-c-card-box" :class="tableAllShow?'all':''">
-                <div class="body" :class="tableFileShow?'file-table':''">
-                    <div class="hc-c-table-box">
-                        <HcTable ref="tableRef" :column="tableColumn" :datas="tableData" :loading="tableLoading" isCurrentRow isCheck @selection-change="tableSelection" @row-click="tableRowClick"   :ui="hoverHand?'hover-hand':''">
-                            <template #action="{row,index}">
-                                <el-button type="primary" size="small" @click.stop="consultFileClick">查阅案卷</el-button>
-                            </template>
-                        </HcTable>
-                    </div>
-                    <div class="hc-f-table-box" v-if="tableFileShow">
-                        <div class="header-box">
-                            <div class="header">卷内文件</div>
-                            <div class="hc-icon-close text-hover" @click="tableFileCloseClick">
-                                <HcIcon name="close"  style=" color:rgb(64, 149, 229);"/>
-                            </div>
-                        </div>
-                        <div class="hc-file-table-box">
-                            <HcTable ref="tableFileRef" :column="tableFileColumn" :datas="tableFileData" :loading="tableFileLoading" isCheck @selection-change="tableFileSelection">
-                                <template #action="{row,index}">
-                                    <el-button type="primary" size="small" @click.stop="consultFileClick">查阅文件</el-button>
-                                </template>
-                            </HcTable>
-                        </div>
-                    </div>
-                </div>
-            </div>
-            <template #action>
-                <HcPages :pages="searchForm" @change="pageChange"/>
-            </template-->
         </HcCard>
 
         <!--展开抽查-->
@@ -448,6 +418,17 @@ const filteringClick = () => {
     }
 }
 
+//按文件查询
+const searchFileClick = () => {
+    filteringShow.value = ''
+}
+
+//按案卷查询
+const searchCaseClick = () => {
+    filteringShow.value = ''
+}
+
+
 //tab数据和相关处理
 const tabKey = ref('tab1')
 const tabData = ref([