2025-05-20 18:10:18 +08:00
|
|
|
|
<template>
|
2025-06-07 18:31:27 +08:00
|
|
|
|
<!-- <view class="box flex flex-column align-items">
|
2025-05-20 18:10:18 +08:00
|
|
|
|
<view v-for="(item, index) in mysignList" :key="index" style="margin: 0 30rpx;">
|
|
|
|
|
<view class="flex align-items" style="justify-content: space-between;height: 70rpx;line-height: 70rpx;">
|
|
|
|
|
<view class="t1_name">
|
|
|
|
|
{{item.user.realname ? item.user.realname : item.user.nickname.slice(0,5)}}
|
|
|
|
|
<image v-if="item.status == 2" class="imgs" src="/static/detail/hxslice.png"> </image>
|
|
|
|
|
<image v-if="item.status == 9" class="imgs" src="/static/detail/hxall.png"> </image>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="t1_order">订单编号:{{item.order_no}}</view>
|
|
|
|
|
<view class="t1_num">数量:{{item.num}}</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
2025-06-07 18:31:27 +08:00
|
|
|
|
</view> -->
|
|
|
|
|
<view class="page">
|
|
|
|
|
<view style="padding: 30rpx;">
|
|
|
|
|
<view
|
2025-06-13 11:11:19 +08:00
|
|
|
|
style="padding: 0px 30rpx;text-align: center;display: flex;align-items: center;justify-content: space-around;background-color: #323232;height: 181rpx;border-radius: 18rpx;">
|
|
|
|
|
<view style="position: relative;">
|
2025-06-07 18:31:27 +08:00
|
|
|
|
<view style="font-size: 36rpx;color: #BBFC5B;font-weight: 600;">{{activity_info.total_num}}</view>
|
2025-06-13 11:11:19 +08:00
|
|
|
|
<view style="font-size: 28rpx;font-weight: 300;color: #FFFFFF;margin-top: 10rpx;">活动总人数</view>
|
2025-06-07 18:31:27 +08:00
|
|
|
|
</view>
|
2025-06-13 11:11:19 +08:00
|
|
|
|
<view style="width: 1rpx;height: 60rpx;background-color: #ffffff5e;"></view>
|
|
|
|
|
<view style="position: relative;">
|
2025-06-07 18:31:27 +08:00
|
|
|
|
<view style="font-size: 36rpx;color: #BBFC5B;font-weight: 600;">{{activity_info.sign_num}}</view>
|
2025-06-13 11:11:19 +08:00
|
|
|
|
<view style="font-size: 28rpx;font-weight: 300;color: #FFFFFF;margin-top: 10rpx;">报名人数</view>
|
2025-06-07 18:31:27 +08:00
|
|
|
|
</view>
|
2025-06-13 11:11:19 +08:00
|
|
|
|
<view style="width: 1rpx;height: 60rpx;background-color: #ffffff5e;"></view>
|
|
|
|
|
<view style="position: relative;">
|
|
|
|
|
<view style="font-size: 36rpx;color: #BBFC5B;font-weight: 600;">{{activity_info.verification_num}}
|
|
|
|
|
</view>
|
|
|
|
|
<view style="font-size: 28rpx;font-weight: 300;color: #FFFFFF;margin-top: 10rpx;">核销人数</view>
|
2025-06-07 18:31:27 +08:00
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view v-for="item in mysignList"
|
|
|
|
|
style="background: linear-gradient( 180deg, rgba(232,255,197,0.89) 0%, #FFFFFF 31%);border-radius: 18rpx;margin-top: 30rpx;padding-bottom: 20rpx;">
|
2025-06-13 11:11:19 +08:00
|
|
|
|
<view style="font-size: 26rpx;color: #3D3D3D;padding: 30rpx;font-weight: 600;">订单编号:{{item.order_no}}
|
|
|
|
|
</view>
|
2025-06-07 18:31:27 +08:00
|
|
|
|
<view style="width: 100%;height: 1rpx;background-color: #EEEEEE;margin: 10rpx 0;"></view>
|
|
|
|
|
<view v-for="(v,i) in item.ordercode">
|
|
|
|
|
<view style="display: flex;align-items: center;justify-content: space-between;padding:10rpx 30rpx;">
|
|
|
|
|
<view>
|
|
|
|
|
<view style="font-size: 28rpx;color: #323232;">{{v.name}}</view>
|
|
|
|
|
<view style="color: #9C9C9C;font-size: 24rpx;margin-top: 20rpx;">身份证 {{v.idnum}}</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view>
|
|
|
|
|
<text v-if="v.status==3" style="font-size: 28rpx;color: #999999;">未核销</text>
|
|
|
|
|
<text v-if="v.status==6" style="font-size: 28rpx;color: #FF4810;">已核销</text>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
2025-06-13 11:11:19 +08:00
|
|
|
|
<view v-if="i<item.ordercode.length-1"
|
|
|
|
|
style="width: 100%;height: 1rpx;background-color: #EEEEEE;margin: 10rpx 0;"></view>
|
2025-06-07 18:31:27 +08:00
|
|
|
|
</view>
|
|
|
|
|
</view>
|
2025-06-13 11:11:19 +08:00
|
|
|
|
<view v-if="mysignList.length==0" style="text-align: center;margin: 0 auto;padding-top: 300rpx;">
|
|
|
|
|
<image src="/static/detail/no_info.png" style="width: 180rpx;height: 180rpx"></image>
|
|
|
|
|
<view style="font-size: 28rpx;font-weight: 300;">暂无报名信息</view>
|
|
|
|
|
</view>
|
2025-06-07 18:31:27 +08:00
|
|
|
|
</view>
|
2025-05-20 18:10:18 +08:00
|
|
|
|
</view>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
export default {
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
2025-06-07 18:31:27 +08:00
|
|
|
|
mysignList: [],
|
2025-06-13 11:11:19 +08:00
|
|
|
|
activity_info: {}
|
2025-05-20 18:10:18 +08:00
|
|
|
|
};
|
|
|
|
|
},
|
|
|
|
|
onLoad(option) {
|
|
|
|
|
this.id = option.id;
|
|
|
|
|
},
|
|
|
|
|
onShow() {
|
|
|
|
|
this.getPeople();
|
|
|
|
|
},
|
2025-06-07 18:31:27 +08:00
|
|
|
|
methods: {
|
2025-05-20 18:10:18 +08:00
|
|
|
|
// 获取报名详情
|
|
|
|
|
getPeople() {
|
|
|
|
|
const that = this
|
|
|
|
|
uni.$u.http.get('/api/school.newworker.activity.order/order_list', {
|
|
|
|
|
params: {
|
|
|
|
|
activity_id: that.id,
|
|
|
|
|
page: 1,
|
|
|
|
|
limit: 1000,
|
|
|
|
|
},
|
|
|
|
|
}).then(res => {
|
|
|
|
|
if (res.code == 1) {
|
2025-06-13 11:11:19 +08:00
|
|
|
|
this.activity_info = res.data.activity_info;
|
2025-05-20 18:10:18 +08:00
|
|
|
|
this.mysignList = res.data.list;
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
|
|
uni.showToast({
|
|
|
|
|
title: res.msg,
|
|
|
|
|
icon: 'none',
|
|
|
|
|
duration: 2000
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
}).catch(error => {
|
|
|
|
|
uni.showToast({
|
|
|
|
|
title: '请求失败,请稍后再试',
|
|
|
|
|
icon: 'none',
|
|
|
|
|
duration: 2000
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
// 跳转订单
|
2025-06-07 18:31:27 +08:00
|
|
|
|
toDetail(status) {
|
2025-05-20 18:10:18 +08:00
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url: "/packageA/my/exercise?status=" + status
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
// 返回首页
|
|
|
|
|
goHome() {
|
|
|
|
|
uni.switchTab({
|
|
|
|
|
url: "/pages/index/index"
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
2025-06-07 18:31:27 +08:00
|
|
|
|
.page {
|
2025-05-20 18:10:18 +08:00
|
|
|
|
font-family: PingFang SC, PingFang SC;
|
2025-06-07 18:31:27 +08:00
|
|
|
|
min-height: 100vh;
|
|
|
|
|
background: #F7F7F7;
|
2025-05-20 18:10:18 +08:00
|
|
|
|
}
|
2025-06-07 18:31:27 +08:00
|
|
|
|
</style>
|