Browse Source

招聘会-统计分析:筛选条件注释

Xiao_123 6 days ago
parent
commit
a8c6884cd0
1 changed files with 21 additions and 12 deletions
  1. 21 12
      src/views/menduner/system/jobFair/manage/statistics/index.vue

+ 21 - 12
src/views/menduner/system/jobFair/manage/statistics/index.vue

@@ -1,7 +1,7 @@
 <template>
   <div>
     <!-- 搜索工作栏 -->
-    <ContentWrap>
+    <!-- <ContentWrap>
       <el-form
         class="-mb-15px"
         :model="queryParams"
@@ -73,7 +73,16 @@
           <el-button type="primary" :loading="exportLoading" plain @click="handleExport"><Icon icon="ep:download" class="mr-5px" /> 简历投递记录导出</el-button>
         </el-form-item>
       </el-form>
+    </ContentWrap> -->
+
+    <ContentWrap>
+      <div class="text-end">
+        <el-button type="success" plain @click="handleQuery"><Icon icon="ep:refresh" class="mr-5px" /> 刷新</el-button>
+        <el-button type="primary" :loading="exportJobLoading" plain @click="handleExportJob"><Icon icon="ep:download" class="mr-5px" /> 职位列表导出</el-button>
+        <el-button type="primary" :loading="exportLoading" plain @click="handleExport"><Icon icon="ep:download" class="mr-5px" /> 简历投递记录导出</el-button>
+      </div>
     </ContentWrap>
+    
 
     <el-row :gutter="16" class="row m-y-20px">
       <el-col v-for="item in statisticList" :key="item.name" :md="6" :sm="12" :xs="24" :loading="loading">
@@ -145,7 +154,7 @@ const page = reactive({ pageNo: 1, pageSize: 10 })
 
 const queryFormRef = ref()
 const queryParams = reactive({
-  type: '0',
+  type: '-1',
   enterpriseId: undefined,
   deptId: undefined,
   userId: undefined,
@@ -353,16 +362,16 @@ const resetQuery = () => {
   handleQuery()
 }
 
-const typeChange = (value) => { // 
-  if (value) {
-    queryParams.time = []
-  }
-  handleQuery()
-}
-const timeRangeChange = (value) => {
-  if (value?.length) queryParams.type = '99' // 自定义
-  else queryParams.type = '0'
-}
+// const typeChange = (value) => { // 
+//   if (value) {
+//     queryParams.time = []
+//   }
+//   handleQuery()
+// }
+// const timeRangeChange = (value) => {
+//   if (value?.length) queryParams.type = '99' // 自定义
+//   else queryParams.type = '0'
+// }
 
 // 企业
 const enterpriseOption = ref([])