|
@@ -412,7 +412,7 @@ export default defineComponent({
|
|
|
estateCategoryID: "",
|
|
|
tagID:null,
|
|
|
website:null,
|
|
|
- companyModel: "",
|
|
|
+ companyModel: 0,
|
|
|
regionCode: null,
|
|
|
streetCode: null,
|
|
|
workSituation: null,
|
|
@@ -538,13 +538,13 @@ export default defineComponent({
|
|
|
{min: 10000, model: 7}
|
|
|
];
|
|
|
const workSituation = formState.dataModel.workSituation;
|
|
|
- formState.dataModel.companyModel = ""; // 默认值,如果所有范围都不匹配
|
|
|
+ formState.dataModel.companyModel = 1; // 默认值,如果所有范围都不匹配
|
|
|
for (const range of workSituationRanges) {
|
|
|
if (
|
|
|
(range.min === undefined || workSituation >= range.min) &&
|
|
|
(range.max === undefined || workSituation <= range.max)
|
|
|
) {
|
|
|
- formState.dataModel.companyModel = range.model + "";
|
|
|
+ formState.dataModel.companyModel = range.model;
|
|
|
break;
|
|
|
}
|
|
|
}
|