This commit is contained in:
xuziqiang
2024-05-15 17:29:42 +08:00
commit d0155dbe3c
7296 changed files with 1832517 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
/** @format */
const RootRoute = {
path: '/root',
name: 'root',
redirect: '/operations',
meta: {
title: 'Root',
},
};
export default RootRoute;

View File

@@ -0,0 +1,169 @@
/** @format */
import { NsViewContent, NsViewDetail, NsViewSideNav } from '/nerv-lib/paas';
const SideNav = () => Promise.resolve(NsViewSideNav);
const Base = () => Promise.resolve(NsViewContent);
const operations = {
path: '/operations',
name: 'operations',
component: SideNav,
redirect: { name: 'Tenant' },
meta: {
sideMenus: {
title: '运营管理',
name: 'tenant',
menus: [
{
name: 'Tenant',
label: '租户管理',
url: '/operations/Tenant',
module: 'vm',
app: 'tenant',
},
{
name: 'Approval',
label: '审批中心',
url: '/operations/Approval',
module: 'vm',
app: 'tenant',
},
],
},
},
children: [
// 租户管理
{
path: 'Tenant',
name: 'TenantMangment',
component: Base,
// redirect: { name: 'TenantList' },
children: [
// 租户管理列表
{
path: 'list',
name: 'Tenant',
meta: { app: 'tenant' },
component: () => import('/@/view/Tenant/list.vue'),
},
{
path: 'add',
name: 'TenantAdd',
meta: { app: 'tenant' },
component: () => import('/@/view/Tenant/add.vue'),
},
{
path: ':id/edit',
name: 'TenantEdit',
meta: { app: 'tenant' },
component: () => import('/@/view/Tenant/edit.vue'),
},
],
},
// 审批中心
{
path: 'Approval',
name: 'ApprovalCenter',
component: Base,
children: [
// 租户管理列表
{
path: 'list',
name: 'Approval',
meta: { app: 'tenant' },
component: () => import('/@/view/Approval/list.vue'),
},
{
path: ':id',
name: 'ApprovalDetail',
component: NsViewDetail,
meta: { app: 'tenant' },
// component: () => import('/@/view/Approval/detail.vue'),
props: {
title: '查看',
showBack: true,
api: '/api/passport/passport/objs/ApprovalCenter/:id',
detail: [
{
title: '企业认证',
items: [
{
label: '企业名称',
name: 'companyName',
},
{
label: '营业执照注册号',
name: 'businessLicense',
},
{
label: '营业执照所在地',
name: 'licenseAddress',
},
{
label: '营业执照期限',
name: 'licenseTimeLimit',
},
{
label: '常用地址',
name: 'address',
},
{
label: '联系电话',
name: 'contactNumber',
},
{
label: '营业执照副本扫描件',
name: 'licensephoto',
type: 'image',
},
],
},
{
title: '法人认证',
items: [
{
label: '法定代表人归属地',
name: 'corporateplace',
},
{
label: '法定代表人真实姓名',
name: 'corporateRealName',
},
{
label: '法定代表人身份证号码',
name: 'corporateIDNumber',
},
{
label: '身份证类型',
name: 'IDCardType',
format: (value: any) => ['二代身份证', '临时身份证'][value],
},
{
label: '身份证正面',
name: 'IDCardFront',
type: 'image',
},
{
label: '身份证反面',
name: 'IDCardBack',
type: 'image',
},
{
label: '邮箱',
name: 'email',
},
{
label: '手机号码',
name: 'phoneNumber',
},
],
},
],
},
},
],
},
],
};
export default operations;