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

@@ -50,7 +50,7 @@
任务描述
</view>
<view class="prolist description">
{{info.missionDesc || '暂无'}}
{{info.jobDescription || '暂无'}}
</view>
<!-- 技能标签 start -->
<view class="ask">
@@ -95,7 +95,7 @@
公司地址{{info.companyAddress || '暂无'}}
</view> -->
<view class="prolist">
工作地址{{info.jobAddress || cityNamed || '暂无'}}
工作地址{{info.cityId || '暂无'}}
</view>
<view class="prolist">
详细地址{{info.address || '暂无'}}
@@ -435,7 +435,8 @@
},
cityNamed() {
console.log('val', this.info, this.area.dic)
if (this.info && this.info.cityId !== -1 && this.area.dic) {
if (this.info && this.info.cityId !== -1 && this.area
.dic) {
return this.area.dic[this.info.cityId].label
} else {
return '无'

View File

@@ -100,7 +100,7 @@
座机号{{info.callNumber}}
</view> -->
<view class="prolist">
工作地址{{`${info.province}${info.city}${info.county}` || info.jobAddress || '暂无'}}
工作地址{{ info.cityId || '暂无'}}
</view>
<view class="prolist">
详细地址{{info.address || '暂无'}}