Browse Source

标签值未显示

corn 7 months ago
parent
commit
356534998b
3 changed files with 52 additions and 7 deletions
  1. 16 7
      src/views/recruit/recruitList.vue
  2. 18 0
      src/views/user/userDetail.vue
  3. 18 0
      src/views/user/userDetail1.vue

+ 16 - 7
src/views/recruit/recruitList.vue

@@ -127,9 +127,18 @@
 					</el-table-column>
 					<el-table-column prop="industry" label="行业" width="300">
 					</el-table-column>
-					<el-table-column prop="postType" label="招聘类型">
+					<el-table-column prop="typeDesc" label="招聘类型">
 					</el-table-column>
-					<el-table-column prop="tag" label="标签" width="200">
+					<el-table-column prop="positionTag" label="标签" width="200">
+						<template slot-scope="scope">
+							<div
+								style="display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 3;overflow: hidden;max-height:80px;">
+								<el-popover placement="top-start" title="" trigger="hover">
+									<div slot="reference"  v-html="scope.row.positionTag"></div>
+									<div style="width: 400px;" v-html="scope.row.positionTag"></div>
+								</el-popover>
+							</div>
+						</template>
 					</el-table-column>
 					<el-table-column prop="welfareTag" label="公司福利" width="200">
 						<template slot-scope="scope">
@@ -658,7 +667,7 @@
 					} else {
 						this.industry = []
 					}
-					this.postType = row.postType
+					this.postType = row.typeDesc
 					this.province = row.province
 					this.city = row.city
 					this.district = row.county
@@ -832,7 +841,7 @@
 					});
 					return
 				}
-				if (this.postType == '') {
+				if (this.typeDesc == '') {
 					this.$notify({
 						title: '提示',
 						duration: 1800,
@@ -875,7 +884,7 @@
 						'education': this.education,
 						'experience': this.experience,
 						'industry': this.industry.toString(),
-						'postType': this.postType,
+						'postType': this.typeDesc,
 						'province': this.province,
 						'city': this.city,
 						'county': this.district,
@@ -931,7 +940,7 @@
 					this.industry = rows.industry.split(',')
 				}
 
-				this.postType = rows.postType
+				this.postType = rows.typeDesc
 				this.province = rows.province
 				this.city = rows.city
 				this.district = rows.county
@@ -1056,7 +1065,7 @@
 					url: this.$http.adornUrl('sys/dict/selectDictList'),
 					method: 'get',
 					params: this.$http.adornParams({
-						'type': '工作性质'
+						'type': '招聘类型'
 					})
 				}).then(({
 					data

+ 18 - 0
src/views/user/userDetail.vue

@@ -832,8 +832,26 @@
 					<el-table-column prop="typeDesc" label="招聘类型">
 					</el-table-column>
 					<el-table-column prop="welfareTag" label="福利" width="200">
+						<template slot-scope="scope">
+							<div
+								style="display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 3;overflow: hidden;max-height:80px;">
+								<el-popover placement="top-start" title="" trigger="hover">
+									<div slot="reference"  v-html="scope.row.welfareTag"></div>
+									<div style="width: 400px;" v-html="scope.row.welfareTag"></div>
+								</el-popover>
+							</div>
+						</template>
 					</el-table-column>
 					<el-table-column prop="positionTag" label="标签" width="200">
+						<template slot-scope="scope">
+							<div
+								style="display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 3;overflow: hidden;max-height:80px;">
+								<el-popover placement="top-start" title="" trigger="hover">
+									<div slot="reference">{{scope.row.welfareTag}}</div>
+									<div style="width: 400px;">{{scope.row.welfareTag}}</div>
+								</el-popover>
+							</div>
+						</template>
 					</el-table-column>
 					<el-table-column prop="province" label="省">
 					</el-table-column>

+ 18 - 0
src/views/user/userDetail1.vue

@@ -832,8 +832,26 @@
 					<el-table-column prop="typeDesc" label="招聘类型">
 					</el-table-column>
 					<el-table-column prop="welfareTag" label="福利" width="200">
+						<template slot-scope="scope">
+							<div
+								style="display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 3;overflow: hidden;max-height:80px;">
+								<el-popover placement="top-start" title="" trigger="hover">
+									<div slot="reference"  v-html="scope.row.welfareTag"></div>
+									<div style="width: 400px;" v-html="scope.row.welfareTag"></div>
+								</el-popover>
+							</div>
+						</template>
 					</el-table-column>
 					<el-table-column prop="positionTag" label="标签" width="200">
+						<template slot-scope="scope">
+							<div
+								style="display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 3;overflow: hidden;max-height:80px;">
+								<el-popover placement="top-start" title="" trigger="hover">
+									<div slot="reference"  v-html="scope.row.positionDetails"></div>
+									<div style="width: 400px;" v-html="scope.row.positionDetails"></div>
+								</el-popover>
+							</div>
+						</template>
 					</el-table-column>
 					<el-table-column prop="province" label="省">
 					</el-table-column>