flat: 123
This commit is contained in:
@@ -95,7 +95,7 @@
|
|||||||
公司地址:{{info.companyAddress || '暂无'}}
|
公司地址:{{info.companyAddress || '暂无'}}
|
||||||
</view> -->
|
</view> -->
|
||||||
<view class="prolist">
|
<view class="prolist">
|
||||||
工作地址:{{`${info.cityId === -1 ? '无' : area.dic[info.cityId]}`}}
|
工作地址:{{cityNamed}}
|
||||||
</view>
|
</view>
|
||||||
<view class="prolist">
|
<view class="prolist">
|
||||||
详细地址:{{info.address}}
|
详细地址:{{info.address}}
|
||||||
@@ -412,6 +412,14 @@
|
|||||||
if (this.info.skillNames) {
|
if (this.info.skillNames) {
|
||||||
return this.info.skillNames.split(',')
|
return this.info.skillNames.split(',')
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
cityNamed() {
|
||||||
|
if (this.info && this.info.cityId !== -1 && this.area.dic) {
|
||||||
|
return this.area.dic[this.info.cityId].label
|
||||||
|
} else {
|
||||||
|
return '无'
|
||||||
|
}
|
||||||
|
console.log('val', this.info)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -270,6 +270,9 @@
|
|||||||
onShow: function() {
|
onShow: function() {
|
||||||
this.showDetail = true
|
this.showDetail = true
|
||||||
this.getData();
|
this.getData();
|
||||||
|
setTimeout(() => {
|
||||||
|
console.log(this.area.dic, this.info)
|
||||||
|
}, 1000)
|
||||||
},
|
},
|
||||||
onShareAppMessage(obj) {
|
onShareAppMessage(obj) {
|
||||||
return {
|
return {
|
||||||
@@ -414,7 +417,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
...mapGetters(['auth', 'autograph']),
|
...mapGetters(['auth', 'autograph', 'area']),
|
||||||
skillNames() {
|
skillNames() {
|
||||||
if (this.info.skillNames) {
|
if (this.info.skillNames) {
|
||||||
return this.info.skillNames.split(',')
|
return this.info.skillNames.split(',')
|
||||||
|
|||||||
Reference in New Issue
Block a user