Xiao_123 hai 4 meses
pai
achega
504ef8ebf3

+ 7 - 1
src/components/CtTable/index.vue

@@ -134,7 +134,7 @@ const props = defineProps({
   // 是否将最后一项固定在表格右侧
   showFixedLastItem: {
     type: Boolean,
-    default: false
+    default: true
   }
 })
 watch(() => props.modelValue, (val) => {
@@ -201,6 +201,12 @@ const handleSelect = (e) => {
   :deep(.v-table.v-table--hover > .v-table__wrapper > table > tbody > tr > td) {
     white-space: nowrap !important;
   }
+  :deep {
+    table > thead > tr > th:last-child {
+      border-bottom: 1px solid #e0e0e0 !important;
+    }
+  }
+
   .fixed-last-item {
     :deep {
       .v-table__wrapper {

+ 2 - 1
src/hooks/web/useIM.js

@@ -156,7 +156,8 @@ async function getKey () {
   const userStore = useUserStore()
 
   const keyQuery = {
-    userId: userStore.accountInfo.userId
+    // userId: userStore.accountInfo.userId
+    userId: JSON.parse(localStorage.getItem('accountInfo')).userId
   }
   if (isEnterprise()) {
     Object.assign(keyQuery, { enterpriseId: userStore.entBaseInfo.enterpriseId })

+ 1 - 1
src/utils/auth.js

@@ -12,7 +12,7 @@ export const isEnterprise = () => {
   const testUsePath = localStorage.getItem('routerTest')
   if (currentRoute?.path === '/' && (testUsePath?.includes(substr) || testUsePath?.includes('/enterpriseVerification'))) bool = true
   // console.log('currentRoute', currentRoute.path)
-  // console.log('isEnterpriseBool', bool)
+  // console.log('isEnterpriseBool', bool, currentRoute.path)
   return bool
 }
 

+ 1 - 0
src/views/integral/pointsManagement/index.vue

@@ -14,6 +14,7 @@
         :headers="headers[tab]"
         :loading="false"
         :elevation="0"
+        :showFixedLastItem="false"
         :isTools="false"
         :showPage="true"
         :total="total"

+ 1 - 0
src/views/recruit/enterprise/search/recommend/index.vue

@@ -11,6 +11,7 @@
       :elevation="0"
       :isTools="false"
       :showPage="true"
+      height="calc(100vh - 410px)"
       :total="total"
       :page-info="query"
       itemKey="id"

+ 2 - 3
src/views/recruit/enterprise/talentMap/index.vue

@@ -15,7 +15,6 @@
             class="mr-3 my-2 py-0 px-2"
             density="comfortable"
             color="primary" variant="tonal"
-            v-bind="props"
             @click="clickChip(index)"
           >
             {{ val }}
@@ -33,7 +32,6 @@
         class="mr-3 my-2 py-0 px-2"
         density="comfortable"
         color="primary" variant="tonal"
-        v-bind="props"
       >
         {{ val }}
         <v-icon class="ml-1" style="margin-top: 1px;" @click="deleteChip(index)">mdi-close</v-icon>
@@ -46,7 +44,7 @@
       >
         <v-icon>mdi-plus-box</v-icon>
       </v-btn> -->
-      <v-btn icon="mdi-plus" class="mr-8" v-bind="props" variant="outlined" size="x-small" @click="moreLabels"></v-btn>
+      <v-btn icon="mdi-plus" class="mr-8" variant="outlined" size="x-small" @click="moreLabels"></v-btn>
       <span v-if="chosenLabels?.length" class="my-2" style="font-size: 14px;cursor: pointer;color: var(--color-999);" @click="resetLabel">清空标签</span>
     </template>
     <!-- 人员信息表单 -->
@@ -57,6 +55,7 @@
       :headers="headers"
       :loading="loading"
       :elevation="0"
+      height="calc(100vh - 380px)"
       :isTools="false"
       :showPage="true"
       :total="total"

+ 1 - 0
src/views/recruit/personal/PersonalCenter/tradeOrder/dynamic/rechargeVip.vue

@@ -8,6 +8,7 @@
     :isTools="false"
     :showPage="true"
     :total="total"
+    :showFixedLastItem="false"
     :page-info="query"
     itemKey="id"
     @pageHandleChange="handleChangePage"

+ 1 - 0
src/views/recruit/personal/PersonalCenter/wallet/myBalance/index.vue

@@ -30,6 +30,7 @@
         :headers="headerList[tab]"
         :loading="false"
         :elevation="0"
+        :showFixedLastItem="false"
         :isTools="false"
         :showPage="true"
         :total="total"