This commit is contained in:
dengxin
2024-03-29 12:06:31 +08:00
parent c58d21a0d6
commit 49036b29a8

View File

@@ -332,12 +332,15 @@ export default {
const res = await findTradeList() const res = await findTradeList()
const tenantArray = res.data.data?.filter(item => item.id === tradeId) const tenantArray = res.data.data?.filter(item => item.id === tradeId)
console.log(res, tenantArray, '----------------'); console.log(res, tenantArray, '----------------');
if (tenantArray?.length === 0) return;
this.info.jobCompanyIndustry = tenantArray[0].name this.info.jobCompanyIndustry = tenantArray[0].name
} }
if (nature / 1 !== -1) { if (nature / 1 !== -1) {
const tenantArray = companyEnum?.filter(item => item.value === nature) const tenantArray = companyEnum?.filter(item => item.value === nature)
console.log(tenantArray, "00000000000000000000000"); console.log(tenantArray, "00000000000000000000000");
if (tenantArray?.length === 0) return;
this.info.jobCompanyNature = tenantArray[0].label this.info.jobCompanyNature = tenantArray[0].label
} }
}, },