lin
2024-03-27 bfea41dd162013c6b7979d428b3f3153228857d7
传入houseCode
1 files modified
11 ■■■■■ changed files
subPackage/article/detail.vue 11 ●●●●● patch | view | raw | blame | history
subPackage/article/detail.vue
@@ -42,10 +42,10 @@
                            </view>
                            <text class="f-28 c-99">共{{applyList.length}}人</text>
                        </view>
                        <button v-if="computeEndTime > 0 && !applyInfo.userId" class="apply-btn bgc-main c-ff "
                        <button v-if="computeEndTime > 0 && !applyInfo.householdId" class="apply-btn bgc-main c-ff "
                            @click="handleApply()">报名</button>
                        <button v-if="applyInfo.userId && computeEndTime > 0"
                        <button v-if="applyInfo.householdId && computeEndTime > 0"
                            class="apply-btn bgc-lightblue c-main  border-current">已报名</button>
                        <button v-if="computeEndTime <= 0"
@@ -275,6 +275,7 @@
            },
            getDetailInfo() {
                this.params.houseCode = uni.getStorageSync("curHouseCode")
                getDetail(this.params).then(res => {
                    this.detailInfo = res.data;
                    this.type = res.data.type
@@ -307,7 +308,8 @@
            //报名列表
            getApplyList() {
                communityModel.getApplyList({
                    articleId: this.params.id
                    articleId: this.params.id,
                    houseCode: uni.getStorageSync("curHouseCode")
                }).then(res => {
                    // console.log(res)
                    if (res.code == 200) {
@@ -319,7 +321,8 @@
            //报名、投票详情
            getApplyDetail() {
                communityModel.getApplyDetail({
                    articleId: this.params.id
                    articleId: this.params.id,
                    houseCode: uni.getStorageSync("curHouseCode")
                }).then(res => {
                    // console.log(res)
                    if (res.code == 200) {