flat: cityId备份

This commit is contained in:
Apcallover
2024-04-22 22:35:27 +08:00
parent b79f0c7fc0
commit 08ab1d3cea
2 changed files with 18 additions and 15 deletions

View File

@@ -116,10 +116,11 @@
<u-form-item label="座机" prop="callNumber" borderBottom labelWidth="80" ref="item1"> <u-form-item label="座机" prop="callNumber" borderBottom labelWidth="80" ref="item1">
<u--input v-model="info.callNumber" border="none" placeholder="请输入座机"></u--input> <u--input v-model="info.callNumber" border="none" placeholder="请输入座机"></u--input>
</u-form-item> </u-form-item>
<u-form-item label="工作地址" labelWidth="70" prop="cityId" borderBottom ref="item1" <u-form-item label="工作地址" labelWidth="70" prop="jobAddress" borderBottom ref="item1"
@click="showCityId = true; hideKeyboard()"> @click="showjobAddress = true; hideKeyboard()">
<PickerTree placeholder="请选择工作地址" :tree="area.data" valueName="value" :visibel="showCityId" <PickerTree placeholder="请选择行业" :tree="area.data" valueName="value" :visibel="showjobAddress"
v-model="info.cityId" @cancel="showCityId = false" border="none" returnValue="label" :deep="3"> v-model="info.jobAddress" @cancel="showjobAddress = false" border="none" returnValue="label"
:deep="3">
</PickerTree> </PickerTree>
</u-form-item> </u-form-item>
<u-form-item label="详细地址" prop="address" borderBottom labelWidth="80" ref="item1"> <u-form-item label="详细地址" prop="address" borderBottom labelWidth="80" ref="item1">
@@ -190,7 +191,7 @@
value: '', value: '',
showCalendar: false, showCalendar: false,
showStime: false, showStime: false,
showCityId: false, showjobAddress: false,
showEtime: false, showEtime: false,
info: { info: {
jobName: '', // 招工名称 jobName: '', // 招工名称
@@ -212,7 +213,7 @@
ageDesc: dic.ageArr[0][0].label, // 年龄要求 ageDesc: dic.ageArr[0][0].label, // 年龄要求
education: dic.eduArr[0][0].value, // 学历要求 education: dic.eduArr[0][0].value, // 学历要求
experienceDesc: dic.expeArr[0][0].label, // 经验要求 experienceDesc: dic.expeArr[0][0].label, // 经验要求
cityId: '', jobAddress: '',
jobCompanyName: '', // 企业名称 jobCompanyName: '', // 企业名称
jobCompanyScale: '', // 企业信用代码 jobCompanyScale: '', // 企业信用代码
jobCompanyIndustry: '', // 所属行业 jobCompanyIndustry: '', // 所属行业
@@ -317,7 +318,7 @@
message: '请选择经验要求', message: '请选择经验要求',
trigger: ['change'] trigger: ['change']
}, },
cityId: { jobAddress: {
type: 'string', type: 'string',
required: true, required: true,
message: '请选择工作地址', message: '请选择工作地址',
@@ -657,6 +658,7 @@
'education', 'education',
'educationLabel', 'educationLabel',
'experienceDesc', 'experienceDesc',
'jobAddress',
'jobCompanyName', 'jobCompanyName',
'jobCompanyScale', 'jobCompanyScale',
'jobCompanyIndustry', 'jobCompanyIndustry',

View File

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