flat: cityId

This commit is contained in:
Apcallover
2024-04-23 19:41:17 +08:00
parent 08ab1d3cea
commit 04c0c631fd
7 changed files with 36 additions and 35 deletions

View File

@@ -120,11 +120,10 @@
<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="70" prop="jobAddress" borderBottom ref="item1"
@click="showjobAddress = true; hideKeyboard()">
<PickerTree placeholder="请选择行业" :tree="area.data" valueName="value" :visibel="showjobAddress"
v-model="info.jobAddress" @cancel="showjobAddress = false" border="none" returnValue="label"
:deep="3">
<u-form-item label="工作地址" labelWidth="70" prop="cityId" borderBottom ref="item1"
@click="showCityId = true; hideKeyboard()">
<PickerTree placeholder="请选择工作地址" :tree="area.data" valueName="value" :visibel="showCityId"
v-model="info.cityId" @cancel="showCityId = false" border="none" returnValue="label" :deep="3">
</PickerTree>
</u-form-item>
<u-form-item label="详细地址" prop="address" borderBottom labelWidth="80" ref="item1">
@@ -196,7 +195,7 @@
showCalendar: false,
showStime: false,
showEtime: false,
showjobAddress: false,
showCityId: false,
info: {
jobName: '', // 招工名称
stime: '', // 发布时间
@@ -217,7 +216,7 @@
ageDesc: dic.ageArr[0][0].label, // 年龄要求
education: dic.eduArr[0][0].value, // 学历要求
experienceDesc: dic.expeArr[0][0].label, // 经验要求
jobAddress: '',
cityId: '',
jobCompanyName: '', // 企业名称
jobCompanyScale: '', // 企业信用代码
jobCompanyIndustry: '', // 所属行业
@@ -322,7 +321,7 @@
message: '请选择经验要求',
trigger: ['change']
},
jobAddress: {
cityId: {
type: 'string',
required: true,
message: '请选择工作地址',
@@ -663,7 +662,7 @@
'education',
'educationLabel',
'experienceDesc',
'jobAddress',
'cityId',
'jobCompanyName',
'jobCompanyScale',
'jobCompanyIndustry',