hejianhao
2025-03-17 7976243ea0833a3ab2b90a7cca02acdc0f6dcc53
评价和审核
3个文件已修改
24 ■■■■■ 已修改文件
H5/pages/certificationAudit/certificationAudit.vue 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/pages/certificationAudit/service.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/pages/evaluate/evaluate.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/pages/certificationAudit/certificationAudit.vue
@@ -7,7 +7,7 @@
            </view>
        </view>
        <view v-else class="px-31">
            <view class="mt-38 br-19 bgColor3 shadow2 oh pb-31" v-for="(item,index) in list" :key="item.idNumber">
            <view class="mt-38 br-19 bgColor3 shadow2 oh pb-31" v-for="(item,index) in list" :key="item.id">
                <view class="pt-21 px-31 flex a-center j-between font-bold">
                    <view class="flex a-center">
                        <view class="fs-31 lh-38 mr-23">{{item.name}}</view>
@@ -56,7 +56,8 @@
                        <view class="font-bold max-w1 txt-aligin-r">{{item.partyOrganization}}</view>
                    </view>
                    <view class="flex wrap mt-19">
                        <image :src="item.avatar" class="w-142 h-142 mr-12 shrink0 br-19 mb-12" />
                        <image @tap="viewImage(item.avatar)" :src="item.avatar"
                            class="w-142 h-142 mr-12 shrink0 br-19 mb-12" />
                    </view>
                </view>
                <view class="mt-37 border1">
@@ -66,11 +67,11 @@
                        申请时间:{{ item.createTime | formatTime }}
                    </view>
                    <view class="flex a-center j-center fs-23 mt-29 txt-center">
                        <view @click.stop="auditPopup(item.idNumber,2)"
                        <view @click.stop="auditPopup(item.id,2)"
                            class="h-58 lh-58 bgColor5 w-192 br-29 color10 border2">
                            拒绝
                        </view>
                        <view @click.stop="auditPopup(item.idNumber,1)" class="ml-38 h-58 lh-58 bgColor6 w-192 br-29 color8">
                        <view @click.stop="auditPopup(item.id,1)" class="ml-38 h-58 lh-58 bgColor6 w-192 br-29 color8">
                            通过
                        </view>
                    </view>
@@ -155,13 +156,13 @@
                this.clickAgain = true
                audit(this.form).then(res => {
                    uni.showToast({
                        icon: 'none',
                        icon: 'success',
                        title: this.form.result == 1 ? '当前党员信息审核已通过。' : '当前党员信息审核已拒绝。',
                        mask: true,
                    })
                    this.searchParams.pageNum = 1
                    this.list = []
                    setTimeout(() => {
                        this.searchParams.pageNum = 1
                        this.list = []
                        this.fetchList()
                        this.closePopup()
                    }, 1500)
@@ -201,6 +202,11 @@
                    this.clickAgain = false
                })
            },
            viewImage(item) {
                uni.previewImage({
                    urls: [item]
                })
            },
        }
    }
</script>
H5/pages/certificationAudit/service.js
@@ -7,5 +7,5 @@
// 党员申请审核
export const audit = (params) => {
    return request.post(`/api/huacheng-sangeshenbian/applet/party-member/audit`, params)
    return request.post(`/api/huacheng-sangeshenbian/applet/party-member/audit`, params, false, false)
}
H5/pages/evaluate/evaluate.vue
@@ -112,7 +112,7 @@
                })
            },
            submit() {
                if (!this.rate) {
                if (this.rate == null) {
                    uni.showToast({
                        icon: 'none',
                        title: '请评价打分',