diff --git a/.env.development b/.env.development index 7f392ba..e17378d 100644 --- a/.env.development +++ b/.env.development @@ -8,7 +8,7 @@ VUE_APP_BASE_API = '/api' # VUE_APP_URL = "http://jianguan.yyundong.com/shgfapi" -VUE_APP_URL = "http://192.168.2.109:7211" +VUE_APP_URL = "http://192.168.2.117:7211" VUE_APP_REPORT_URL = "http://192.168.2.106:7202" ##VUE_APP_REPORT_URL = "https://lpk.yyundong.com" ##VUE_APP_REPORT_URL = "https://supervise.yxtsoft.com/lpk" diff --git a/src/api/authentication/authentication.js b/src/api/authentication/authentication.js new file mode 100644 index 0000000..d3c8366 --- /dev/null +++ b/src/api/authentication/authentication.js @@ -0,0 +1,23 @@ +import request from '@/utils/request' + +export default { + + // 查询分页列表 + listPage: function(params) { + return request({ + url: '/enterprisecertification/listPage', + method: 'post', + data: params, + }) + }, + + + // 审核 + toExamine: function(params) { + return request({ + url: '/enterprisecertification/toExamine', + method: 'post', + data: params, + }) + }, +} \ No newline at end of file diff --git a/src/layout/components/Sidebar/index.vue b/src/layout/components/Sidebar/index.vue index f92343f..5235676 100644 --- a/src/layout/components/Sidebar/index.vue +++ b/src/layout/components/Sidebar/index.vue @@ -457,14 +457,24 @@ path: '/appletBanner/index' }, { alwaysShow: true, - component: 'OrdertoolsIndex', + component: 'appletBanner', meta: { icon: 'el-icon-menu', - title: '订单发货导出工具' + title: '企业认证审核' }, - name: '/ordertools/index', - path: '/ordertools/index' - } + name: '/authentication/index', + path: '/authentication/index' + }, + // { + // alwaysShow: true, + // component: 'OrdertoolsIndex', + // meta: { + // icon: 'el-icon-menu', + // title: '订单发货导出工具' + // }, + // name: '/ordertools/index', + // path: '/ordertools/index' + // } ] } diff --git a/src/router/index.js b/src/router/index.js index b116c57..028ab5f 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -498,20 +498,35 @@ export const constantRoutes = [{ title: '小程序轮播图' } }, ] - }, { - path: '/ordertools', + }, + { + path: '/authentication', component: Layout, - redirect: '/ordertools/index', + redirect: '/authentication/index', children: [{ - path: '/ordertools/index', + path: '/authentication/index', component: () => - import('@/views/ordertools/index.vue'), - name: 'OrdertoolsIndex', + import('@/views/authentication/index.vue'), + name: 'AuthenticationIndex', meta: { - title: '订单发货导出工具' + title: '企业认证审核' } }, ] - }, + }, + // { + // path: '/ordertools', + // component: Layout, + // redirect: '/ordertools/index', + // children: [{ + // path: '/ordertools/index', + // component: () => + // import('@/views/ordertools/index.vue'), + // name: 'OrdertoolsIndex', + // meta: { + // title: '订单发货导出工具' + // } + // }, ] + // }, ...codemenu, diff --git a/src/styles/index.scss b/src/styles/index.scss index ce38090..480ca1d 100644 --- a/src/styles/index.scss +++ b/src/styles/index.scss @@ -223,6 +223,7 @@ div:focus { .formadd { padding: 10px 40px 0 40px; font-size: 16px; + // height: calc(100vh - 200px);overflow-y: auto; .title { padding: 12px; diff --git a/src/views/authentication/index.vue b/src/views/authentication/index.vue new file mode 100644 index 0000000..c6044f8 --- /dev/null +++ b/src/views/authentication/index.vue @@ -0,0 +1,332 @@ + + + + \ No newline at end of file