[fix:bug74231]-1、企业端会议资料和会议纪要任何情况都可查看 2、证书缴费-缴费状态为已驳回且付款方式为打包会员不能上传凭证 3、修改管理员信息-获取公钥的时机改变

This commit is contained in:
fengchenchen
2023-07-28 00:06:10 +08:00
parent 9e0f3c9204
commit 53a7f65c45
5 changed files with 20 additions and 13 deletions
+2 -2
View File
@@ -592,7 +592,7 @@
<a-button type="primary" icon="plus" @click="uploadFileFunc">资料上传</a-button> <a-button type="primary" icon="plus" @click="uploadFileFunc">资料上传</a-button>
</div> </div>
<file-table :file-id="model.meetingData" :has-limit-bool="true" :meeting-id="model.id" <file-table :file-id="model.meetingData" :has-limit-bool="true" :meeting-id="model.id"
:show-detail-bool="showDetailBool"></file-table> show-detail-bool></file-table>
</section> </section>
<!--会议资料end--> <!--会议资料end-->
@@ -600,7 +600,7 @@
<section class="base-info"> <section class="base-info">
<h3 class="title">会议纪要</h3> <h3 class="title">会议纪要</h3>
<file-table :file-id="model.meetingMinute" :has-limit-bool="true" :meeting-id="model.id" <file-table :file-id="model.meetingMinute" :has-limit-bool="true" :meeting-id="model.id"
:show-detail-bool="showDetailBool"></file-table> show-detail-bool></file-table>
</section> </section>
<!--会议纪要end--> <!--会议纪要end-->
<!--问题征集 --标协会议:并且会议的是否需要会议征集为需要 && 报名状态是已报名 存在 begin--> <!--问题征集 --标协会议:并且会议的是否需要会议征集为需要 && 报名状态是已报名 存在 begin-->
+5 -5
View File
@@ -78,10 +78,10 @@ export default {
isLoading: false, isLoading: false,
// 秘书处信息 // 秘书处信息
secretariatInfo: { secretariatInfo: {
address: '东丽区', // 地址 address: '', // 地址
contactPerson: '郭某某', // 联系人 contactPerson: '', // 联系人
contactPhone: '022-5907252', // 联系人电话 contactPhone: '', // 联系人电话
contactMail: '113222222222222@qq.c113222222222222113222222222222113222222222222113222222222222113222222222222113222222222222113222222222222om' // 联系人邮箱 contactMail: '' // 联系人邮箱
}, },
// 本企业信息 // 本企业信息
memberInfo: { memberInfo: {
@@ -89,7 +89,7 @@ export default {
contactPerson: '', // 企业管理员 contactPerson: '', // 企业管理员
contactPhone: '', // 管理员电话 contactPhone: '', // 管理员电话
contactMail: '', // 管理员邮箱 contactMail: '', // 管理员邮箱
validDate: 'xxxx年xx月xx日到xxxx年xx月xx日' // 会员有效期 validDate: '' // 会员有效期
}, },
// 当前登录用户的信息 // 当前登录用户的信息
loginUserInfo: {}, loginUserInfo: {},
@@ -551,7 +551,7 @@ export default {
this.$refs.FreeCertificateReplaceEditModel.edit(record) this.$refs.FreeCertificateReplaceEditModel.edit(record)
} }
} else if (record.chargeType === 2 && record.certificateModality === 4) { } else if (record.chargeType === 2 && record.certificateModality === 4) {
// 收费证书编辑 // 收费证书编辑-申请
this.$refs.ChargeCertificateEditModel.edit(record) this.$refs.ChargeCertificateEditModel.edit(record)
} else if (record.chargeType === 2 && record.certificateModality === 2) { } else if (record.chargeType === 2 && record.certificateModality === 2) {
@@ -141,7 +141,8 @@
<!-- 证书缴费的相关操作--> <!-- 证书缴费的相关操作-->
<template v-else> <template v-else>
<a v-if="record.paymentStatus === 4 || record.paymentStatus === 2" @click="handleCertificateUploadRecord(record)">上传凭证</a> <!--缴费状态 已驳回|| 待上传 且 缴费方式 非打包会员-->
<a v-if="(record.paymentStatus === 4 || record.paymentStatus === 2) && record.paymentMethod !== PaymentMethodEnums.pack.index" @click="handleCertificateUploadRecord(record)">上传凭证</a>
<a @click="handleCertificateDetail(record)">查看</a> <a @click="handleCertificateDetail(record)">查看</a>
</template> </template>
@@ -150,9 +150,11 @@ export default {
}, },
handleOk() { handleOk() {
// 触发表单验证 // 触发表单验证
this.form.validateFields((err, values) => { this.form.validateFields(async (err, values) => {
if (!err) { if (!err) {
this.confirmLoading = true this.confirmLoading = true
// 获得公钥的相关信息
await this.getEncryptedStringFunc()
const formData = Object.assign(this.model, values) const formData = Object.assign(this.model, values)
let encrypt = new JSEncrypt() let encrypt = new JSEncrypt()
encrypt.setPublicKey(this.encryptedString) encrypt.setPublicKey(this.encryptedString)
@@ -200,9 +202,13 @@ export default {
}, },
// 获得加密公钥的方法 // 获得加密公钥的方法
getEncryptedStringFunc() { getEncryptedStringFunc() {
getEncryptedString().then((res) => { return new Promise(resolve => {
this.encryptedString = res.result getEncryptedString().then((res) => {
this.encryptedString = res.result
resolve()
})
}) })
}, },
/* /*
* 获取会员的详细信息 * 获取会员的详细信息
@@ -223,7 +229,7 @@ export default {
}, },
created() { created() {
// 获得公钥的相关信息 // 获得公钥的相关信息
this.getEncryptedStringFunc() // this.getEncryptedStringFunc()
} }
} }
</script> </script>