|
@@ -40,9 +40,18 @@
|
|
|
</view>
|
|
</view>
|
|
|
<view class="check-title-big">岗位描述</view>
|
|
<view class="check-title-big">岗位描述</view>
|
|
|
<view class="check-select" @click="goJobContent">
|
|
<view class="check-select" @click="goJobContent">
|
|
|
|
|
+ <view class="select-txt" v-if="textList.length > 0">
|
|
|
|
|
+ <view v-for="(item, index) in textList" :key="index">
|
|
|
|
|
+ {{ item }}
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="select-txt" v-else>介绍工作内容、职位要求</view>
|
|
|
|
|
+ <u-icon name="arrow-down" color="#D3D3D6" size="22"></u-icon>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <!-- <view class="check-select" @click="goJobContent">
|
|
|
<view class="select-txt">{{ this.text ? this.text : "介绍工作内容、职位要求" }}</view>
|
|
<view class="select-txt">{{ this.text ? this.text : "介绍工作内容、职位要求" }}</view>
|
|
|
<u-icon name="arrow-down" color="#D3D3D6" size="22"></u-icon>
|
|
<u-icon name="arrow-down" color="#D3D3D6" size="22"></u-icon>
|
|
|
- </view>
|
|
|
|
|
|
|
+ </view> -->
|
|
|
<view class="txt-desc">注:职位名称、职位类型等发布后不可修改</view>
|
|
<view class="txt-desc">注:职位名称、职位类型等发布后不可修改</view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
@@ -65,6 +74,7 @@ export default {
|
|
|
update: "",
|
|
update: "",
|
|
|
vipPostTimes: 0,
|
|
vipPostTimes: 0,
|
|
|
text: "",
|
|
text: "",
|
|
|
|
|
+ textList: [],
|
|
|
status: "",
|
|
status: "",
|
|
|
companyName: "",
|
|
companyName: "",
|
|
|
companyId: "",
|
|
companyId: "",
|
|
@@ -109,6 +119,7 @@ export default {
|
|
|
}
|
|
}
|
|
|
this.descListener = uni.$on("jobDescUpdated", (data) => {
|
|
this.descListener = uni.$on("jobDescUpdated", (data) => {
|
|
|
this.text = data.desc; // 赋值给当前页变量
|
|
this.text = data.desc; // 赋值给当前页变量
|
|
|
|
|
+ this.textList = this.text.split('\n').filter(i => i.trim());
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
this.onJobEvent = (data) => {
|
|
this.onJobEvent = (data) => {
|