flat: 修改添加
This commit is contained in:
@@ -102,10 +102,12 @@
|
||||
placeholder="请输入企业信用代码"></u--input>
|
||||
</u-form-item>
|
||||
<u-form-item label="所属行业" prop="jobCompanyIndustry" borderBottom labelWidth="80" ref="item1">
|
||||
<u--input v-model="info.jobCompanyIndustry" border="none" placeholder="请输入所属行业"></u--input>
|
||||
<u--input v-model="info.jobCompanyIndustry" border="none" placeholder="请输入所属行业" :disabled="true"
|
||||
disabledColor="#ffffff"></u--input>
|
||||
</u-form-item>
|
||||
<u-form-item label="企业性质" prop="jobCompanyNature" borderBottom labelWidth="80" ref="item1">
|
||||
<u--input v-model="info.jobCompanyNature" border="none" placeholder="请输入企业性质"></u--input>
|
||||
<u--input v-model="info.jobCompanyNature" border="none" placeholder="请输入企业性质" :disabled="true"
|
||||
disabledColor="#ffffff"></u--input>
|
||||
</u-form-item>
|
||||
<u-form-item label="企业介绍" labelWidth="80" ref="item1"></u-form-item>
|
||||
<view>
|
||||
@@ -464,33 +466,16 @@
|
||||
this.info.callTel = info.callTel
|
||||
this.info.callNumber = info.callNumber
|
||||
this.info.address = info.address
|
||||
return
|
||||
}
|
||||
const {
|
||||
companyTid,
|
||||
comname,
|
||||
manager,
|
||||
telphone,
|
||||
companyDesc,
|
||||
tradeId,
|
||||
nature
|
||||
} = this.company
|
||||
this.info.jobCompanyScale = companyTid
|
||||
this.info.jobCompanyName = comname
|
||||
this.info.callName = manager
|
||||
this.info.callTel = telphone
|
||||
this.info.jobCompanyDescription = companyDesc
|
||||
if (tradeId / 1 !== -1) {
|
||||
const res = await findTradeList()
|
||||
const tenantArray = res.data.data?.filter(item => item.id === tradeId)
|
||||
if (tenantArray?.length === 0) return;
|
||||
this.info.jobCompanyIndustry = tenantArray[0]?.name
|
||||
}
|
||||
|
||||
if (nature / 1 !== -1) {
|
||||
const tenantArray = dic.companyEnum?.filter(item => item.value === nature)
|
||||
if (tenantArray?.length === 0) return;
|
||||
this.info.jobCompanyNature = tenantArray[0]?.label
|
||||
} else {
|
||||
this.info.jobCompanyScale = info.companyTid
|
||||
this.info.jobCompanyName = info.comname
|
||||
this.info.callName = info.manager
|
||||
this.info.callTel = info.telphone
|
||||
this.info.jobCompanyDescription = info.companyDesc
|
||||
this.info.jobCompanyNature = info.companyNature
|
||||
// this.info.tradeId = info.tradeId
|
||||
// this.info.tradeNames = info.tradeNames
|
||||
this.info.jobCompanyIndustry = info.tradeNames
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user