ソースを参照

人才标签状态文字调整

Xiao_123 5 日 前
コミット
ced16fb9ef

+ 3 - 4
src/views/recruit/enterprise/newTalentMap/labeling/index.vue

@@ -34,10 +34,10 @@
 		</v-card>
 
 		<!-- 标注 -->
-		<CtDialog :visible="showDialog" title="人才标注" :footer="false" widthType="1" @close="showDialog = false">
+		<CtDialog :visible="showDialog" title="人才标注" :footer="false" widthType="1" @close="showDialog = false" style="height: 95vh;">
 			<v-row>
 				<v-col cols="4">
-					<v-card elevation="3" class="pa-3" style="height: 100%">
+					<v-card elevation="3" class="pa-3 overflow-y-auto" :height="`calc(95vh - 154px)`">
 						<p :class="{'active': previewUrl}" @click="showPreview = true">
 							名片
 							<v-icon v-if="previewUrl">mdi-magnify-expand</v-icon>
@@ -48,7 +48,7 @@
 					</v-card>
 				</v-col>
 				<v-col cols="8">
-					<v-card elevation="3" class="pa-3" height="100%">
+					<v-card elevation="3" class="pa-3 overflow-y-auto" :height="`calc(95vh - 154px)`">
 						<div class="base-info pa-3">
 							<div class="mb-6">
 								{{ talentItem.name_zh }}
@@ -78,7 +78,6 @@
 									<v-icon size="18" color="primary" style="margin-left: 6px;" @click="closeClick(item)">mdi-close-circle</v-icon>
 								</v-chip>
 							</div>
-
 							<div :class="{'mt-5': talentSelectedTags?.length > 0}">
 								<v-chip
 									v-for="(item, index) in tagList" :key="index"

+ 3 - 3
src/views/recruit/enterprise/newTalentMap/tag/index.vue

@@ -29,12 +29,12 @@
         </template>
         <template #status="{ item }">
           <v-chip :color="item.status === 'active' ? 'primary' : 'error'" variant="elevated" size="small">
-            {{ item.status === 'active' ? '启用' : '禁用' }}
+            {{ item.status === 'active' ? '启用' : '禁用' }}
           </v-chip>
         </template>
 				<template #actions="{ item }">
-					<v-btn variant="text" color="primary" @click.stop="handleEdit(item)">编 辑</v-btn>
-					<v-btn variant="text" color="error" @click.stop="handleDelete(item)">删 除</v-btn>
+					<v-btn variant="text" color="primary" @click.stop="handleEdit(item)">编辑</v-btn>
+					<v-btn variant="text" color="error" @click.stop="handleDelete(item)">删除</v-btn>
 				</template>
 			</CtTable>
 		</v-card>