From cf1669ce8595989f3f5ebbb9b109785c8bd2410f Mon Sep 17 00:00:00 2001 From: WeiRan <2392355487@qq.com> Date: Wed, 28 Aug 2024 01:04:30 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9D=E6=AD=A5=E5=AE=9E=E7=8E=B0=E4=BC=81?= =?UTF-8?q?=E4=B8=9A=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/authentication/message.js | 9 + src/api/background/company.js | 17 ++ src/router/index.js | 12 ++ src/utils/request.js | 2 +- src/views/background/company/index.vue | 241 ++++++++++++++++++++++ src/views/market/authentication/index.vue | 201 ++++++++++++++++++ src/views/market/easymessage/index.vue | 121 +++++++++++ src/views/market/product/index.vue | 13 +- 8 files changed, 609 insertions(+), 7 deletions(-) create mode 100644 src/api/authentication/message.js create mode 100644 src/api/background/company.js create mode 100644 src/views/background/company/index.vue create mode 100644 src/views/market/authentication/index.vue create mode 100644 src/views/market/easymessage/index.vue diff --git a/src/api/authentication/message.js b/src/api/authentication/message.js new file mode 100644 index 0000000..bd7b4b1 --- /dev/null +++ b/src/api/authentication/message.js @@ -0,0 +1,9 @@ +import request from "@/utils/request"; + +export function linkemail(data){ + return request({ + url:"/market/company/list", + method: "POST", + data: data + }) +} diff --git a/src/api/background/company.js b/src/api/background/company.js new file mode 100644 index 0000000..4841ef7 --- /dev/null +++ b/src/api/background/company.js @@ -0,0 +1,17 @@ +import request from "@/utils/request"; + +export function selectcompanyList(data){ + return request({ + url:"/background/company/list", + method: "POST", + data: data + }) +} + +export function selectcompanystatus(data){ + return request({ + url:"/background/company/companystatus", + method: "POST", + data: data + }) +} diff --git a/src/router/index.js b/src/router/index.js index 718fccc..87207fb 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -104,6 +104,18 @@ export const constantRoutes = [ } ] }, + { + path: '/authentication', + component: Layout, + children: [ + { + path: 'index', + name: 'authentication', + component: () => import('@/views/market/authentication/index.vue'), + meta: { title: '实名认证', icon: 'form' } + } + ] + }, ] // 动态路由,基于用户权限动态去加载 diff --git a/src/utils/request.js b/src/utils/request.js index 406490d..f97c5eb 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -17,7 +17,7 @@ const service = axios.create({ // axios中请求配置有baseURL选项,表示请求URL公共部分 baseURL: process.env.VUE_APP_BASE_API, // 超时 - timeout: 10000 + timeout: 20000 }) // request拦截器 diff --git a/src/views/background/company/index.vue b/src/views/background/company/index.vue new file mode 100644 index 0000000..7f7785a --- /dev/null +++ b/src/views/background/company/index.vue @@ -0,0 +1,241 @@ + + + 企业管理/待审核企业 + + + 全部 + + 待审核企业 + 审核通过企业 + 审核未通过企业 + + + + + + + + + + + + {{ scope.row.companyId }} + + + + + + + + + {{ scope.row.registrantName }} + + + + + + + + + {{ scope.row.registrantPhone }} + + + + + + + + + {{ scope.row.registrantPosition }} + + + + + + + + + {{ scope.row.companyName }} + + + + + + + + + {{ scope.row.companyAddress }} + + + + + + + + + {{ scope.row.registrantDate }} + + + + + + + + + {{ scope.row.name }} + + + + + + + + + {{ scope.row.businessLicense }} + + + + + + + 编辑 + 删除 + + + + + + + + + + + + + + + + diff --git a/src/views/market/authentication/index.vue b/src/views/market/authentication/index.vue new file mode 100644 index 0000000..3a4885e --- /dev/null +++ b/src/views/market/authentication/index.vue @@ -0,0 +1,201 @@ + + + 实名认证 + + !实名认证决定了账号属性。实名认证一经通过,后续付款方的银行开户名必须与聚合实名信息一致,否则不给予入账!且个人和企业认证不能互转。 + 选择认证类型: + + + + + 个人认证 + + + + 认证方式 支持个人身份证认证、人脸识别实时认证 + + + + + 使用限制 个人基础认证不支持部分「企业专用」类接口 + + + + + 立即认证 + + + + + + + 企业认证 + + + + 适用群体 企业、党政及国家机关、事业单位、民办非企业单位、社会团体、个体工商户等 + + + + + 基础认证 上传企业营业执照快速认证,支持程序代码方式(api)调用接口 + + + + + 高级认证 通过对公打款、法人手机验证等方式进行认证,支持API购买(余额支付、支付宝支付、微信支付) + + + + + 立即认证 + + + + + + + + + + + + + + 基本信息填写 + + + + + + + + + 请上传清晰完整的营业执照副本照片 + + + + + + + + + + + + + + + + + + + + + + + + + + + 取 消 + 提交审核 + + + + + + + + diff --git a/src/views/market/easymessage/index.vue b/src/views/market/easymessage/index.vue new file mode 100644 index 0000000..72d272b --- /dev/null +++ b/src/views/market/easymessage/index.vue @@ -0,0 +1,121 @@ + + + + + + + + + + {{ruleForm.userName}} + + + 个人 + + + {{ruleForm.phonenumber}} + + + {{ruleForm.email}} 去绑定>> + + + 去实名认证>>>> + + + + + + + + + + + + + + 取 消 + 确 定 + + + + + + + diff --git a/src/views/market/product/index.vue b/src/views/market/product/index.vue index 9103ae9..9bed3da 100644 --- a/src/views/market/product/index.vue +++ b/src/views/market/product/index.vue @@ -111,6 +111,12 @@ export default { submitForm(){ this.getList() }, + //产品类型 + gettypeList(){ + selectTypeList().then(response=>{ + this.typeList=response.data + }) + }, //选择类型 chosetype(index1){ this.ruleForm.productType=this.typeList[index1] @@ -148,12 +154,7 @@ export default { this.ruleForm.pageNum=val this.getList() }, - //产品类型 - gettypeList(){ - selectTypeList().then(response=>{ - this.typeList=response.data - }) - } + }, //生命周期 - 创建完成(可以访问当前this实例)", created() {