报到服务bug
This commit is contained in:
@@ -192,6 +192,10 @@ export default {
|
||||
url: `./partyDetail?id=${e.id}&listType=${this.navId}`,
|
||||
});
|
||||
},
|
||||
signUp(e) {
|
||||
console.log(e);
|
||||
uni.navigateTo({url: `./signUp?reportId=${e.id}`})
|
||||
}
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
<text v-if="baseInfo.signupStatus==0">({{ "剩余" + baseInfo.timeRemaining }})</text>
|
||||
</view>
|
||||
<!-- <view class="value" v-else>-</view> -->
|
||||
</li>
|
||||
</li>
|
||||
<li>
|
||||
<span class="label">活动报名人数:</span>
|
||||
<view class="value">{{ baseInfo.signupCount || '-' }}</view>
|
||||
@@ -91,13 +91,11 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
||||
import {mapState} from "vuex"
|
||||
export default {
|
||||
name: 'partyDetail',
|
||||
computed: {
|
||||
user() {
|
||||
return uni.getStorageSync("userInfo")
|
||||
}
|
||||
...mapState(['user'])
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
@@ -156,6 +154,7 @@ export default {
|
||||
searchDetail(id) {
|
||||
this.$instance.post(`/app/apppartyreport/queryDetailById?id=${id}&partyId=${this.user.partyId}`).then(res => {
|
||||
if (res && res.data) {
|
||||
console.log(res.data,222);
|
||||
this.baseInfo = {...res.data};
|
||||
this.baseInfo.stopSignupTime = this.baseInfo.stopSignupTime && this.baseInfo.stopSignupTime.substring(0, 16);
|
||||
// this.getActiveStatus() ;
|
||||
|
||||
Reference in New Issue
Block a user