|
@@ -1,13 +1,6 @@
|
|
|
<template>
|
|
|
<view class="f-straight wrapper">
|
|
|
<uni-forms ref="form" :modelValue="formData" :rules="rules" validateTrigger="bind" label-width="90px" label-align="right">
|
|
|
- <template v-if="!props.isFair && jobFairLIst?.length">
|
|
|
- <!-- 设置为招聘会职位 -->
|
|
|
- <uni-forms-item label="招聘会" name="bizId" >
|
|
|
- <uni-data-picker class="picker" popup-title="请选择招聘会" v-model="formData.bizId" :localdata="jobFairLIst" :clear-icon="false" :map="{ text: 'title', value: 'id'}"></uni-data-picker>
|
|
|
- <view style="color: #777; font-size: 12px;" class="ss-m-t-8 ss-m-l-10">职位会在对应的招聘会显示</view>
|
|
|
- </uni-forms-item>
|
|
|
- </template>
|
|
|
<uni-forms-item label="职位类型" name="positionId" required>
|
|
|
<view class="positionTemplate">
|
|
|
<uni-data-picker class="picker" popup-title="请选择职位类型" v-model="formData.positionId" :localdata="dictObj?.positionTreeData || []" :clear-icon="false" :map="{ text: 'nameCn', value: 'id'}"></uni-data-picker>
|
|
@@ -17,6 +10,13 @@
|
|
|
<uni-forms-item required label="职位名称" name="name">
|
|
|
<uni-easyinput v-model="formData.name" placeholder="请填写职位名称"></uni-easyinput>
|
|
|
</uni-forms-item>
|
|
|
+ <template v-if="!props.isFair && jobFairLIst?.length">
|
|
|
+ <!-- 设置为招聘会职位 -->
|
|
|
+ <uni-forms-item label="招聘会" name="bizId" >
|
|
|
+ <uni-data-picker class="picker" popup-title="请选择招聘会" v-model="formData.bizId" :localdata="jobFairLIst" :clear-icon="false" :map="{ text: 'title', value: 'id'}"></uni-data-picker>
|
|
|
+ <view style="color: #777; font-size: 12px;" class="ss-m-t-8 ss-m-l-10">职位会在对应的招聘会显示</view>
|
|
|
+ </uni-forms-item>
|
|
|
+ </template>
|
|
|
<uni-forms-item label="到期时间" name="expireTime" required>
|
|
|
<view class="d-flex">
|
|
|
<picker mode="date" :value="formData.expireTime" :disabled="expireTimeDisabled" :start="startDate" @change="expireTimeChange">
|