bug
This commit is contained in:
@@ -35,8 +35,8 @@
|
||||
</li>
|
||||
<li>
|
||||
<span class="label">活动状态:</span>
|
||||
<!--<view class="value">{{ $dict.getLabel('partyReportActionStatus', baseInfo.actionStatus) }}</view>-->
|
||||
<view class="value">{{ activeStatus }}</view>
|
||||
<view class="value">{{ $dict.getLabel('partyReportActionStatus', baseInfo.actionStatus) }}</view>
|
||||
<!-- <view class="value">{{ activeStatus }}</view> -->
|
||||
</li>
|
||||
<li>
|
||||
<span class="label">联系人:</span>
|
||||
@@ -141,24 +141,24 @@ export default {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
getActiveStatus(){
|
||||
uni.getStorage({
|
||||
key: "dicts",
|
||||
success: (res) => {
|
||||
const jsonDicts = JSON.parse(res.data)
|
||||
this.activeStatus = jsonDicts.find((e) => e.key == "partyReportActionStatus").values[this.baseInfo.actionStatus].dictName || "-"
|
||||
},
|
||||
fail() {
|
||||
this.activeStatus = "-"
|
||||
}
|
||||
})
|
||||
},
|
||||
// getActiveStatus(){
|
||||
// uni.getStorage({
|
||||
// key: "dicts",
|
||||
// success: (res) => {
|
||||
// const jsonDicts = JSON.parse(res.data)
|
||||
// this.activeStatus = jsonDicts.find((e) => e.key == "partyReportActionStatus").values[this.baseInfo.actionStatus].dictName || "-"
|
||||
// },
|
||||
// fail() {
|
||||
// this.activeStatus = "-"
|
||||
// }
|
||||
// })
|
||||
// },
|
||||
searchDetail(id) {
|
||||
this.$instance.post(`/app/apppartyreport/queryDetailById?id=${id}&partyId=${this.user.partyId}`).then(res => {
|
||||
if (res && res.data) {
|
||||
this.baseInfo = {...res.data};
|
||||
this.baseInfo.stopSignupTime = this.baseInfo.stopSignupTime && this.baseInfo.stopSignupTime.substring(0, 16);
|
||||
this.getActiveStatus() ;
|
||||
// this.getActiveStatus() ;
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<li v-for="(e,index) in list" :key="index">
|
||||
<p>
|
||||
<image :src="e.partyAvatar" v-if="e.partyAvatar"></image>
|
||||
<image src="https://cdn.cunwuyun.cn/img/no-content.png" v-else></image>
|
||||
<image src="https://cdn.cunwuyun.cn/img/user-img.png" v-else></image>
|
||||
<span>{{e.partyName.replace(/^./g,'*')}}</span>
|
||||
</p>
|
||||
<p>{{e.signupTime.substring(0,16)}}</p>
|
||||
|
||||
Reference in New Issue
Block a user