From 9718280d5172975ab3d9a6c4bca1e4a42a1b0a6d Mon Sep 17 00:00:00 2001 From: wanghongjun <1445693971@qq,com> Date: Wed, 6 Mar 2024 18:03:05 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9A=90=E7=A7=81=E7=AD=96=E7=95=A5=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E5=BC=80=E5=8F=91=EF=BC=8C=E6=96=B0=E5=A2=9E=E4=B8=AA?= =?UTF-8?q?=E4=BA=BA=E8=AE=A4=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/verify.js | 21 +- pages/help/business.vue | 175 ++++++++++ pages/help/commission.vue | 213 ++++++++++++ pages/help/trading.vue | 207 +++++++++++ pages/login/components/WhPopup.vue | 16 +- pages/user/mycertinfo/orgverify.vue | 52 +-- pages/user/mycertinfo/personverify.vue | 461 +++++++++++++++++++++++-- 7 files changed, 1094 insertions(+), 51 deletions(-) create mode 100644 pages/help/business.vue create mode 100644 pages/help/commission.vue create mode 100644 pages/help/trading.vue diff --git a/api/verify.js b/api/verify.js index 362b6db..d07b695 100644 --- a/api/verify.js +++ b/api/verify.js @@ -10,8 +10,12 @@ const api = { industry:"slb/userself/v1/industry/0", // 获取身份,认证费用 identity : "Paymentlist/CertificationFeeSetting/selectCertificationFees", - // 获取身份,认证费用 - certiaudit : "Paymentlist/certiaudit/certificationIntermediaryLists" + // 推荐中介服务机构 + certiaudit : "Paymentlist/certiaudit/certificationIntermediaryLists", + // 保存协议 + save_user: "Paymentlist/entuiprise/saveUserAgreement", + // 认证接口 + verify_url: "Paymentlist/entuiprise/mannAgeDate" } /** @@ -48,4 +52,15 @@ export const upload = files => { export function getUploadUrl() { return api.cerscan_url -} \ No newline at end of file +} + +// 验证提交 +export function verifySubmit(data){ + let option={} + return request.post(api.verify_url,data,option) +} +// 保存协议 +export function preservation(agreement) { + return request.get(api.save_user, {userId: agreement.userId, agreementIds: agreement.agreementIds}) +} + diff --git a/pages/help/business.vue b/pages/help/business.vue new file mode 100644 index 0000000..de960ca --- /dev/null +++ b/pages/help/business.vue @@ -0,0 +1,175 @@ + + + + + + \ No newline at end of file diff --git a/pages/help/commission.vue b/pages/help/commission.vue new file mode 100644 index 0000000..ee0912b --- /dev/null +++ b/pages/help/commission.vue @@ -0,0 +1,213 @@ + + + + + \ No newline at end of file diff --git a/pages/help/trading.vue b/pages/help/trading.vue new file mode 100644 index 0000000..ba8d856 --- /dev/null +++ b/pages/help/trading.vue @@ -0,0 +1,207 @@ + + + + + \ No newline at end of file diff --git a/pages/login/components/WhPopup.vue b/pages/login/components/WhPopup.vue index c8e503e..fb44e88 100644 --- a/pages/login/components/WhPopup.vue +++ b/pages/login/components/WhPopup.vue @@ -8,7 +8,13 @@ - + + + + + + + @@ -24,11 +30,17 @@ import privacy from '@/pages/help/private' import protocol from '@/pages/help/prototal' + import trading from '@/pages/help/trading' + import commission from '@/pages/help/commission' + import business from '@/pages/help/business' export default { components: { privacy, - protocol + protocol, + trading, + commission, + business, }, props: { diff --git a/pages/user/mycertinfo/orgverify.vue b/pages/user/mycertinfo/orgverify.vue index 4751c8e..32286d0 100644 --- a/pages/user/mycertinfo/orgverify.vue +++ b/pages/user/mycertinfo/orgverify.vue @@ -259,10 +259,8 @@ 身份 - - {{item.saleType}} - - + {{item.saleType}} +
法务
@@ -283,8 +281,9 @@ - 我已阅读并同意网站的 《隐私政策 》和 - 《用户注册协议》 + 我已阅读并同意网站的 《交易主体进场协议 》和 + 《文化数据交易委托协议》和 + 《临时业务机构委托协议 @@ -613,7 +612,7 @@ for (let attr in data) { let value = data[attr] if (value.userType == '机构') { - value.checked = false + value.is_show = 0 app.identityList.push(value) } } @@ -623,20 +622,28 @@ }) }, // 计算认证费用 - onCalculateAmount(){ + onCalculateAmount(id){ const app = this; app.amount = 0; - let identityList2 = app.identityList - for (let attr in identityList2) { - let data2 = identityList2[attr] - if (data2.checked) { - app.amount += data2.fee * 1 - if (data2.saleType == '中介服务机构') { - app.box05 = true; + + for (let attr in app.identityList) { + + let value = app.identityList[attr] + + if (id === value.id) { + if (value.is_show === 1) { + app.identityList[attr].is_show = 0 + value.is_show = 0 } else { - app.box05 = false; + app.identityList[attr].is_show = 1 + value.is_show = 1 } } + + if (value.is_show === 1) { + app.amount += value.fee * 1 + } + } }, // 显示蓝色 @@ -846,9 +853,9 @@ handleSubmit() { const app = this - // if (!app.isTick) { - // alert('请勾选《交易主体进场协议》和《文化数据交易委托协议》和《临时业务机构委托协议》') - // } + if (!app.isTick) { + alert('请勾选《交易主体进场协议》和《文化数据交易委托协议》和《临时业务机构委托协议》') + } console.log(app.$data) @@ -867,7 +874,7 @@ let identityList2 = app.identityList for (let attr in identityList2) { let saleTypeData = identityList2[attr] - if (saleTypeData.checked) { + if (saleTypeData.is_show === 1) { saleTypeTemp.push(saleTypeData.saleType) if (saleTypeData.saleType == '中介服务机构') { estimate = 2; @@ -911,13 +918,13 @@ regioncity: regionArr[1], //注册地区-市 regiondistrict: regionArr[2], //注册地区-区/县 address: app.address, //详细地址 - establishdate: app.establishdate, //机构成立日期 !!! + establishdate: '2024-03-05', //机构成立日期 !!! desc: app.desc, //机构简介 legalsname: app.legalsName, //法人姓名 legalstype: app.legalsType, //法人证件类型 legalsidnum: app.legalsIdnum, //法人身份证号 uscc: app.Organizationcode, //统一社会信用代码 - licensedate: app.licenseDate, //营业执照有效期 !!! + licensedate: '2030-03-05', //营业执照有效期 !!! legalscellphone: app.legalsCellPhone, //法人手机号 publicaccount: app.publicAccount, //银行账号 bankaccountname: app.bankAccountName, //开户人 @@ -957,6 +964,7 @@ institutionsdata.manageridnum = app.managerIdnum; //经办人身份证号 } + console.log(institutionsdata) let institutionsdata_json = JSON.stringify(institutionsdata) //认证(缴费)接口 var ajaxentUserDemo = new AJAX_OBJ("Paymentlist/entuiprise/mannAgeDate", onentiseSuccess, onUrlError); diff --git a/pages/user/mycertinfo/personverify.vue b/pages/user/mycertinfo/personverify.vue index 3e65466..c075c35 100644 --- a/pages/user/mycertinfo/personverify.vue +++ b/pages/user/mycertinfo/personverify.vue @@ -3,78 +3,109 @@ - + - + - + + + {{domicileStr}} + + + - + - - - + + + - + + + + + + + + + + + + - + - + - + - + - + + + {{bankStr}} + + + - + - - + + {{ certiauditList[idIndex2].name }} + 推荐中介服务机构 + - + 身份 + {{item.saleType}} - + 认证费用 + ¥ {{formData.amount}} - 我已阅读并同意网站的 《隐私政策 》和 - 《用户注册协议》 + 我已阅读并同意网站的 《交易主体进场协议 》和 + 《文化数据交易委托协议》和 + 《临时业务机构委托协议 + + + - + 提交认证 @@ -83,15 +114,397 @@