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