flat: 添加工作地址、添加审核回填等

This commit is contained in:
Apcallover
2024-04-19 15:02:55 +08:00
parent dced4cf379
commit 4b8b50a923
10 changed files with 315 additions and 86 deletions

View File

@@ -120,12 +120,13 @@
<u-form-item label="座机" prop="callNumber" borderBottom labelWidth="80" ref="item1">
<u--input v-model="info.callNumber" border="none" placeholder="请输入座机"></u--input>
</u-form-item>
<!-- <u-form-item label="工作地址" labelWidth="80" prop="jobAddress" borderBottom ref="item1"
<u-form-item label="工作地址" labelWidth="70" prop="jobAddress" borderBottom ref="item1"
@click="showjobAddress = true; hideKeyboard()">
<PickerList placeholder="请选择行业" :columns="dic.tradeArr" labelName="name" valueName="id"
:visibel="showjobAddress" v-model="info.jobAddress" @cancel="showjobAddress = false">
</PickerList>
</u-form-item> -->
<PickerTree placeholder="请选择行业" :tree="area.data" valueName="value" :visibel="showjobAddress"
v-model="info.jobAddress" @cancel="showjobAddress = false" border="none" returnValue="label"
:deep="3">
</PickerTree>
</u-form-item>
<u-form-item label="详细地址" prop="address" borderBottom labelWidth="80" ref="item1">
<u--input v-model="info.address" border="none" placeholder="请输入详细地址"></u--input>
</u-form-item>
@@ -164,14 +165,13 @@
<script>
import dic from '@/common/dic.js'
// import area from '@/untils/area.js'
import {
submitInfo,
getWorktypesBaseList,
findTradeList,
getDictionary
} from '@/api/userrecruit.js'
import PickerList from './enterpriceCertification/pickerList.vue'
import PickerTree from './enterpriceCertification/pickerTree.vue'
import {
mapGetters
} from 'vuex'
@@ -217,6 +217,7 @@
ageDesc: dic.ageArr[0][0].label, // 年龄要求
education: dic.eduArr[0][0].value, // 学历要求
experienceDesc: dic.expeArr[0][0].label, // 经验要求
jobAddress: '',
jobCompanyName: '', // 企业名称
jobCompanyScale: '', // 企业信用代码
jobCompanyIndustry: '', // 所属行业
@@ -321,6 +322,12 @@
message: '请选择经验要求',
trigger: ['change']
},
jobAddress: {
type: 'string',
required: true,
message: '请选择工作地址',
trigger: ['change']
},
jobCompanyName: {
type: 'string',
required: true,
@@ -378,7 +385,10 @@
}
},
components: {
PickerList
PickerTree
},
computed: {
...mapGetters(['area'])
},
created() {
const {
@@ -387,7 +397,7 @@
} = dic.wageUnitCategoryState[0].filter(item => item.id == 3)[0]
this.info.wageUnitCategory = staId
this.info.wageUnitCategoryName = staLabel
// console.log(area)
console.log(this.area)
this.getWorkTypes()
this.dictionary()
if (this.company) {
@@ -653,6 +663,7 @@
'education',
'educationLabel',
'experienceDesc',
'jobAddress',
'jobCompanyName',
'jobCompanyScale',
'jobCompanyIndustry',