Browse Source

Merge branch 'dev' of https://git.citupro.com/zhengnaiwen_citu/menduner into dev

lifanagju_citu 11 months ago
parent
commit
c5b475f246

+ 0 - 19
src/router/modules/enterprise.js

@@ -43,25 +43,6 @@ const enterprise = [
       }
     ]
   },
-  {
-    path: '/enterprise/resumeManagement',
-    component: Layout,
-    name: 'resumeManagement',
-    meta: {
-      title: '简历管理',
-      enName: 'Resume Management',
-      icon: 'mdi-file-account-outline'
-    },
-    children: [
-      {
-        path: '/enterprise/resumeManagement/receive',
-        meta: {
-          title: '收到的简历'
-        },
-        component: () => import('@/views/enterprise/resumeManagement/receive/index.vue')
-      }
-    ]
-  },
   {
     path: '/enterprise/position',
     component: Layout,

+ 4 - 3
src/views/enterprise/positionManagement/components/item.vue

@@ -1,9 +1,10 @@
 <template>
   <div>
-    <div class="d-flex align-center">
+    <div v-if="props.items.length" class="d-flex align-center mb-1">
       <v-checkbox v-model="selectAll" :label="!selectAll ? '全选' : `已选中${selectList.length}条`" hide-details color="primary" @update:model-value="handleChangeSelectAll"></v-checkbox>
-      <v-btn class="ml-8" :disabled="!selectAll" color="primary" @click="handleRefreshAll">刷新</v-btn>
-      <v-btn class="ml-3" :disabled="!selectAll" color="primary">关闭</v-btn>
+      <v-btn v-if="tab === 1" class="ml-8" :disabled="!selectAll" @click="handleRefreshAll" color="primary" variant="tonal">刷新</v-btn>
+      <v-btn v-if="tab === 1" class="ml-3" :disabled="!selectAll" color="primary" variant="tonal">关闭</v-btn>
+      <v-btn v-if="tab === 2" class="ml-8" color="primary" variant="tonal">激活</v-btn>
     </div>
     <div v-for="val in items" :key="val.id" class="itemBox mb-3">
       <div class="d-flex justify-space-between pa-5">

+ 2 - 4
src/views/enterprise/positionManagement/index.vue

@@ -2,10 +2,9 @@
   <div>
     <v-card class="card-box pa-5">
       <div class="d-flex justify-center mt-3">
-        <TextUI :item="textItem" @enter="handleEnter"></TextUI>
+        <TextUI :item="textItem" @enter="handleEnter" @appendInnerClick="handleEnter"></TextUI>
       </div>
       <div class="text-end">
-        <!-- <v-btn class="btn mr-3" prepend-icon="mdi-filter-outline" color="primary" variant="outlined" @click="handleScreen">{{ $t('position.screen') }}</v-btn> -->
         <v-btn class="btn" prepend-icon="mdi-plus" color="primary" @click="handleAdd">{{ $t('position.newPositionsAdded') }}</v-btn>
       </div>
       
@@ -15,7 +14,7 @@
           <v-tab :value="2"> {{ $t('position.closed') }}</v-tab>
           <v-tab :value="3"> {{ $t('position.expiredPosition') }}</v-tab>
         </v-tabs>
-        <v-window v-model="tab" class="mt-3">
+        <v-window v-model="tab" class="mt-1">
           <v-window-item :value="1">
             <PositionItem v-if="items.length" :tab="tab" :items="items" @refresh="getPositionList"></PositionItem>
           </v-window-item>
@@ -66,7 +65,6 @@ const textItem = ref({
   appendInnerIcon: 'mdi-magnify'
 })
 
-// const handleScreen = () => {}
 const handleAdd = () => {
   router.push('/enterprise/position/add')
 }

+ 0 - 11
src/views/enterprise/resumeManagement/receive/index.vue

@@ -1,11 +0,0 @@
-<template>
-  <div>收到的简历</div>
-</template>
-
-<script setup>
-defineOptions({ name: 'enterprise-resume-management-receive'})
-</script>
-
-<style scoped lang="scss">
-
-</style>