Browse Source

简历管理显示多个求职岗位和薪资

corn 6 months ago
parent
commit
3efaa97169
1 changed files with 10 additions and 2 deletions
  1. 10 2
      src/views/universalMission/carBrandList.vue

+ 10 - 2
src/views/universalMission/carBrandList.vue

@@ -178,7 +178,11 @@
 			</el-table-column>
 			<el-table-column prop="industryName" label="期望行业">
 			</el-table-column>
-			<el-table-column prop="resumesPost" label="求职岗位">
+			<el-table-column prop="resumesPost" label="求职岗位" width="150">
+				<!-- 核心:通过slot-scope获取行数据,用v-html解析HTML -->
+				<template slot-scope="scope">
+					<div v-html="scope.row.resumesPost"></div>
+				</template>
 			</el-table-column>
 			<!-- <el-table-column prop="resumesImageName" label="资格证书" width="150">
 			</el-table-column>
@@ -198,7 +202,11 @@
 			</el-table-column>
 			<!-- <el-table-column prop="address" label="简历" width="160">
 			</el-table-column> -->
-			<el-table-column prop="resumesCompensation" label="期望薪资" width="100">
+			<el-table-column prop="resumesCompensation" label="期望薪资" width="120">
+				<!-- 核心:通过slot-scope获取行数据,用v-html解析HTML -->
+				<template slot-scope="scope">
+					<div v-html="scope.row.resumesCompensation"></div>
+				</template>
 			</el-table-column>
 			<!-- <el-table-column prop="money" label="核定薪资" width="160">
 			</el-table-column> -->