Jing 1 dia atrás
pai
commit
b47d465077
1 arquivos alterados com 18 adições e 8 exclusões
  1. 18 8
      src/layout/components/Navbar.vue

+ 18 - 8
src/layout/components/Navbar.vue

@@ -115,18 +115,16 @@
           </div>
 
           <div class="noticeTabsLinkLine">
-            <div v-if="userType == 10000 || userType == 1 || userType == 3">
+            <div v-if="userType == 10000">
               <div v-if="tabsIndex == 1" @click="goToPath(1, 0)">待审核列表</div>
               <div v-if="tabsIndex == 2" @click="goToPath(2, 0)">待审核列表</div>
-              <div class="qiuFlex" v-if="tabsIndex == 3 && qiu == true && (userType == 10000 || userType == 1)"
-                @click="goToPath(3, 0)">
+              <div class="qiuFlex" v-if="tabsIndex == 3 && qiu == true && userType == 10000" @click="goToPath(3, 0)">
                 <span :class="{ 'qiuPillow': true, 'qiuPillowHover': qiu1 == true }" @mouseover="handleQiu(1)"
                   @click="goToPath(3.1, 0)">待审核列表</span>
                 <span :class="{ 'qiuPillow': true, 'qiuPillowHover': qiu2 == true }" @mouseover="handleQiu(2)"
                   @click="goToPath(3.2, 0)">职场机会</span>
               </div>
-              <div class="qiuFlex" v-if="tabsIndex == 3 && zhao == true && (userType == 10000 || userType == 3)"
-                @click="goToPath(3, 0)">
+              <div class="qiuFlex" v-if="tabsIndex == 3 && zhao == true && userType == 10000" @click="goToPath(3, 0)">
                 <span :class="{ 'qiuPillow': true, 'qiuPillowHover': zhao1 == true }" @mouseover="handleQiu(3)"
                   @click="goToPath(3.3, 0)">待审核列表</span>
                 <span :class="{ 'qiuPillow': true, 'qiuPillowHover': zhao2 == true }" @mouseover="handleQiu(4)"
@@ -152,7 +150,19 @@
             <div v-else>
               <div v-if="tabsIndex == 1" @click="goToPath(1, -1)">资讯列表</div>
               <div v-if="tabsIndex == 2" @click="goToPath(2, -1)">商品列表</div>
-              <div v-if="tabsIndex == 3" @click="goToPath(3, -1)">求职招聘列表</div>
+              <div v-if="tabsIndex == 3 && (userType == 2 || userType == 4)" @click="goToPath(3, -1)">求职招聘列表</div>
+              <div class="qiuFlex" v-if="tabsIndex == 3 && qiu == true && userType == 1" @click="goToPath(3, 0)">
+                <span :class="{ 'qiuPillow': true, 'qiuPillowHover': qiu1 == true }" @mouseover="handleQiu(1)"
+                  @click="goToPath(3.1, -1)">求职列表</span>
+                <span :class="{ 'qiuPillow': true, 'qiuPillowHover': qiu2 == true }" @mouseover="handleQiu(2)"
+                  @click="goToPath(3.2, 0)">职场机会</span>
+              </div>
+              <div class="qiuFlex" v-if="tabsIndex == 3 && zhao == true && userType == 3" @click="goToPath(3, 0)">
+                <span :class="{ 'qiuPillow': true, 'qiuPillowHover': zhao1 == true }" @mouseover="handleQiu(3)"
+                  @click="goToPath(3.3, -1)">招聘列表</span>
+                <span :class="{ 'qiuPillow': true, 'qiuPillowHover': zhao2 == true }" @mouseover="handleQiu(4)"
+                  @click="goToPath(3.4, 0)">人才库</span>
+              </div>
               <div v-if="tabsIndex == 4" @click="goToPath(4, -1)">书刊列表</div>
               <!-- <div class="qiuFlex" v-if="tabsIndex == 5">
                 <span style="cursor: default;" :class="{ 'qiuPillow': true, 'qiuPillowHover': single == true }"
@@ -827,9 +837,9 @@ export default {
     //2.1 获取通知消息列表
     getMsg() {
       this.$store.dispatch('news/getMSG').then(response => {
-        console.log('response1111111111', response);
+        // console.log('response1111111111', response);
         this.msg = response.data;
-        console.log('response1111111111msg', this.msg);
+        // console.log('response1111111111msg', this.msg);
       }).catch(error => {
         console.log(error);
       });