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 @@ + + + + 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 @@ + + + + + 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 @@ + + + + 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() {