From b87b9d554a72bdc2742a929546d9c81e0d8be8ea Mon Sep 17 00:00:00 2001 From: Taric Xin Date: Thu, 30 Dec 2021 16:25:49 +0800 Subject: [PATCH 1/3] edit --- .../cost-management-detail.component.html | 53 +++++----- .../cost-management-detail.component.ts | 58 +++++++---- .../cost-management.component.html | 2 +- .../cost-management.component.ts | 99 ++++++++++++------- .../services/freight-account.service.ts | 6 ++ 5 files changed, 135 insertions(+), 83 deletions(-) diff --git a/src/app/routes/financial-management/components/cost-management/cost-management-detail/cost-management-detail.component.html b/src/app/routes/financial-management/components/cost-management/cost-management-detail/cost-management-detail.component.html index d79d4012..bf3c0f28 100644 --- a/src/app/routes/financial-management/components/cost-management/cost-management-detail/cost-management-detail.component.html +++ b/src/app/routes/financial-management/components/cost-management/cost-management-detail/cost-management-detail.component.html @@ -12,58 +12,57 @@ 基本信息(应收费用) - 天津怡亚通物流科技有限公司 + {{costInfo?.ltdid}} - 应收 + {{costInfo?.feetype}} - 天津怡亚通物流科技有限公司 + {{costInfo?.arremarks}} - C21.001-茅台集团 + {{costInfo?.artoname}} - 专票/普票 + {{costInfo?.arvattype}} - 4200.00 + {{costInfo?.armoeny}} - 4200.00 + {{costInfo?.arkpmoney}} - 4200.00 + {{costInfo?.arbrmmoney}} 基本信息(应付费用) - 天津怡亚通物流科技有限公司 + {{costInfo?.ltdid}} - 应收 + {{costInfo?.feetype}} - 是 - 天津怡亚通物流科技有限公司 + {{costInfo?.hrremarks}} - C21.001-茅台集团 + {{costInfo?.hrtoname}} - - 专票/普票 + + {{costInfo?.hrvattype}} - - 4200.00 + + {{costInfo?.hrmoney}} - 4200.00 + {{costInfo?.hrvatmoney}} - 4200.00 + {{costInfo?.hrpaymoney}} @@ -73,12 +72,20 @@ - + + + {{ index+1 }} + + - + + + {{ index+1 }} + + { + console.log(res); + + if (res) { + this.costInfo = res; + } + }); + } + goBack() { history.go(-1); } @@ -24,30 +40,30 @@ export class CostManagementDetailComponent implements OnInit { private initST(): { [key: string]: STColumn[] } { return { cost: [ - { title: '序号', index: 'no' }, - { title: '费用明细号', index: 'callNo' }, - { title: '订单号', index: 'callNo' }, + { title: '序号', render: 'no', width: 70 }, + { title: '费用明细号', index: 'feeHId' }, + { title: '订单号', index: 'billHId' }, { title: '订单日期', index: 'callNo' }, - { title: '运单号', index: 'callNo' }, - { title: '运单日期', index: 'callNo' }, + { title: '运单号', index: 'waybillHId' }, + { title: '运单日期', index: 'waybillDate' }, { title: '结算客户', index: 'callNo' }, - { title: '订单费用类型', index: 'callNo' }, - { title: '费用科目', index: 'callNo' }, - { title: '税率', index: 'callNo' }, - { title: '费用金额', index: 'callNo' }, - { title: '收/付款金额', index: 'callNo' }, - { title: '开/收票金额', index: 'callNo' } + { title: '订单费用类型', index: 'billLType' }, + { title: '费用科目', index: 'feeSubId' }, + { title: '税率', index: 'hrvatrate' }, + { title: '费用金额', index: 'hrvatmoney' }, + { title: '收/付款金额', index: 'armoney' }, + { title: '开/收票金额', index: 'arkpmoney' } ], requested: [ - { title: '序号', index: 'no' }, - { title: '费用明细号', index: 'callNo' }, - { title: '发票申请', index: 'callNo' }, - { title: '发票类型', index: 'callNo' }, - { title: '发票号', index: 'callNo' }, - { title: '发票日期', index: 'callNo' }, - { title: '发票状态', index: 'callNo' }, - { title: '应收金额', index: 'callNo' }, - { title: '开票金额', index: 'callNo' } + { title: '序号', render: 'no', width: 70 }, + { title: '费用明细号', index: 'feeHId' }, + { title: '发票申请', index: 'vatappcode' }, + { title: '发票类型', index: 'vatapptype' }, + { title: '发票号', index: 'vatappcode' }, + { title: '发票日期', index: 'vatappdate' }, + { title: '发票状态', index: 'sts' }, + { title: '应收金额', index: 'vatnotax' }, + { title: '开票金额', index: 'vatmoney' } ], collection: [ { title: '序号', index: 'no' }, diff --git a/src/app/routes/financial-management/components/cost-management/cost-management.component.html b/src/app/routes/financial-management/components/cost-management/cost-management.component.html index 269d9193..5d5c0d98 100644 --- a/src/app/routes/financial-management/components/cost-management/cost-management.component.html +++ b/src/app/routes/financial-management/components/cost-management/cost-management.component.html @@ -31,7 +31,7 @@ - { if (this.sf) { - Object.assign(requestOptions.body, { ...this.sf.value }); + Object.assign(requestOptions.body, { + ...this.sf.value, + feedate: { + start: this.sf.value.feedate?.[0] || '', + end: this.sf.value.feedate?.[1] || '' + }, + createTime: { + start: this.sf.value.createTime?.[0] || '', + end: this.sf.value.createTime?.[1] || '' + } + }); } return requestOptions; }; @@ -94,48 +104,54 @@ export class CostManagementComponent implements OnInit { hidden: true } }, - receiveName: { + feecode: { type: 'string', title: '费用单号', ui: { placeholder: '请输入' } }, - phone: { + billHId: { type: 'string', title: '订单号', ui: { placeholder: '请输入' } }, - page: { + waybillHId: { type: 'string', title: '运单号', ui: { placeholder: '请输入' } }, - createTi2me: { + feedate: { title: '费用日期', type: 'string', ui: { - widget: 'date', - mode: 'range', + widget: 'sl-from-to-search', format: 'yyyy-MM-dd', + placeholder: '请选择', + nzShowTime: true, visibleIf: { expand: (value: boolean) => value } } as SFDateWidgetSchema }, - pa2ge2: { + feetype: { type: 'string', title: '费用类型', - enum: [{ label: '全部', value: '全部' }], + enum: [ + { label: '全部', value: '' }, + { label: '应收', value: 1 }, + { label: '应付', value: 2 } + ], ui: { widget: 'select', placeholder: '请选择', visibleIf: { expand: (value: boolean) => value } - } + }, + default: '' }, - pa22ge2: { + feeSubId: { type: 'string', title: '费用科目', enum: [{ label: '全部', value: '全部' }], @@ -147,19 +163,20 @@ export class CostManagementComponent implements OnInit { } } }, - page2: { + ltdId: { type: 'string', title: '网络货运人', - enum: [{ label: '全部', value: '全部' }], ui: { widget: 'select', placeholder: '请选择', + allowClear: true, + asyncData: () => this.service.getNetworkFreightForwarder(), visibleIf: { expand: (value: boolean) => value } } }, - page21: { + hrto: { type: 'string', title: '应付对象', enum: [{ label: '全部', value: '全部' }], @@ -171,7 +188,7 @@ export class CostManagementComponent implements OnInit { } } }, - pag2e21: { + arto: { type: 'string', title: '应收对象', enum: [{ label: '全部', value: '全部' }], @@ -187,27 +204,33 @@ export class CostManagementComponent implements OnInit { title: '创建时间', type: 'string', ui: { - widget: 'date', - mode: 'range', + widget: 'sl-from-to-search', format: 'yyyy-MM-dd', + placeholder: '请选择', + nzShowTime: true, visibleIf: { expand: (value: boolean) => value } } as SFDateWidgetSchema }, - pag2e221: { + ishrhx: { type: 'string', title: '应付核销', - enum: [{ label: '全部', value: '全部' }], + enum: [ + { label: '全部', value: '' }, + { label: '否', value: 0 }, + { label: '是', value: 1 } + ], ui: { widget: 'select', placeholder: '请选择', visibleIf: { expand: (value: boolean) => value } - } + }, + default: '' }, - pag2e121: { + cno: { type: 'string', title: '结算客户', enum: [{ label: '全部', value: '全部' }], @@ -225,22 +248,22 @@ export class CostManagementComponent implements OnInit { private initST(): STColumn[] { return [ - { title: '费用单号', index: 'description', width: 120 }, - { title: '网络货运人', index: 'description', width: 120 }, - { title: '订单号', index: 'description', width: 120 }, - { title: '运单号', index: 'description', width: 120 }, - { title: '费用日期', index: 'description', width: 150 }, - { title: '费用类型', index: 'description', width: 100 }, - { title: '应付核销', index: 'description', width: 100 }, - { title: '结算客户', index: 'description', width: 100 }, - { title: '应收对象', index: 'description', width: 100 }, - { title: '应付对象', render: 'description1', width: 100 }, - { title: '应收金额', render: 'description1', width: 100 }, - { title: '应付金额', render: 'description1', width: 100 }, - { title: '收/付款金额', render: 'description1', width: 120 }, - { title: '开/收票金额', render: 'description1', width: 120 }, - { title: '创建时间', index: 'updatedAt', type: 'date', width: 150 }, - { title: '状态', render: 'description1', width: 90 }, + { title: '费用单号', index: 'feecode', width: 120 }, + { title: '网络货运人', index: 'ltdId', width: 120 }, + { title: '订单号', index: 'billHId', width: 120 }, + { title: '运单号', index: 'waybillHId', width: 120 }, + { title: '费用日期', index: 'feedate', width: 150 }, + { title: '费用类型', index: 'feetype', width: 100 }, + { title: '应付核销', index: 'ishrhx', width: 100 }, + { title: '结算客户', index: 'cno', width: 100 }, + { title: '应收对象', index: 'artoname', width: 100 }, + { title: '应付对象', render: 'hrtoname', width: 100 }, + { title: '应收金额', render: 'armoeny', width: 100 }, + { title: '应付金额', render: 'hrmoney', width: 100 }, + { title: '收/付款金额', render: 'hrpaymoney', width: 120 }, + { title: '开/收票金额', render: 'hrvatmoney', width: 120 }, + { title: '创建时间', index: 'auditTime', type: 'date', width: 150 }, + { title: '状态', render: 'sts', width: 90 }, { title: '操作', fixed: 'right', @@ -249,7 +272,7 @@ export class CostManagementComponent implements OnInit { buttons: [ { text: '浏览', - click: item => this.routeTo('/financial-management/cost-management/detail/1') + click: item => this.routeTo('/financial-management/cost-management/detail/' + item.id) }, { text: '审核', diff --git a/src/app/routes/financial-management/services/freight-account.service.ts b/src/app/routes/financial-management/services/freight-account.service.ts index f5b999fa..300228ef 100644 --- a/src/app/routes/financial-management/services/freight-account.service.ts +++ b/src/app/routes/financial-management/services/freight-account.service.ts @@ -43,6 +43,12 @@ export class FreightAccountService extends ShipperBaseService { // 运营端获取账户余额交易明细 $api_get_account_blance = '/api/fcc/accountBalanceDetail/getAccountBalanceByPage'; + + // 查询费用单抬头 + $api_get_cost_page = '/api/fcc/ficoFeeH/list/page'; + // 根据费用头ID查询费用单及开票明细 + $api_get_cost_detail = '/api/fcc/ficoFeeL/detail'; + constructor(public injector: Injector) { super(injector); } From bee71216b0ab8a84dc35c41743bf038fcf897937 Mon Sep 17 00:00:00 2001 From: Taric Xin Date: Thu, 30 Dec 2021 16:37:34 +0800 Subject: [PATCH 2/3] edit --- .../routes/menu-manager/components/index/index.component.html | 2 +- .../routes/menu-manager/components/index/index.component.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/app/routes/menu-manager/components/index/index.component.html b/src/app/routes/menu-manager/components/index/index.component.html index 0f8d5bc5..6f3f72d1 100644 --- a/src/app/routes/menu-manager/components/index/index.component.html +++ b/src/app/routes/menu-manager/components/index/index.component.html @@ -1,5 +1,5 @@ - \ No newline at end of file diff --git a/src/app/routes/menu-manager/components/index/index.component.ts b/src/app/routes/menu-manager/components/index/index.component.ts index c828397d..f267e2ed 100644 --- a/src/app/routes/menu-manager/components/index/index.component.ts +++ b/src/app/routes/menu-manager/components/index/index.component.ts @@ -32,6 +32,7 @@ export class MenuManagerComponentsIndexComponent implements OnInit { { name: '运营后台', appId: this.envSrv.env.appId, enName: 'tms-obc-web' } ]; this.selectedPlatform = this.platforms[0]; + this.platformChange(this.selectedPlatform); } platformChange(e: { name: string; appId: string }) { @@ -44,7 +45,7 @@ export class MenuManagerComponentsIndexComponent implements OnInit { } loadMenus(appId: string) { - this.service.request(this.service.$api_get_all, { appId }, 'POST', true, 'FORM').subscribe(res => { + this.service.request(this.service.$api_get_one, { appId },'POST',false).subscribe(res => { console.log(res); this.menus = res; From 98879c08d24d924f6e76a3644c0f8f64ad039aab Mon Sep 17 00:00:00 2001 From: Taric Xin Date: Thu, 30 Dec 2021 17:07:30 +0800 Subject: [PATCH 3/3] edit --- .../components/index/index.component.html | 7 +- .../components/index/index.component.ts | 9 +- src/assets/mocks/platform/tms-obc-web.json | 925 +++++++++--------- 3 files changed, 472 insertions(+), 469 deletions(-) diff --git a/src/app/routes/menu-manager/components/index/index.component.html b/src/app/routes/menu-manager/components/index/index.component.html index 6f3f72d1..46fe5229 100644 --- a/src/app/routes/menu-manager/components/index/index.component.html +++ b/src/app/routes/menu-manager/components/index/index.component.html @@ -1,5 +1,8 @@ - + \ No newline at end of file diff --git a/src/app/routes/menu-manager/components/index/index.component.ts b/src/app/routes/menu-manager/components/index/index.component.ts index f267e2ed..9e0d587b 100644 --- a/src/app/routes/menu-manager/components/index/index.component.ts +++ b/src/app/routes/menu-manager/components/index/index.component.ts @@ -32,7 +32,7 @@ export class MenuManagerComponentsIndexComponent implements OnInit { { name: '运营后台', appId: this.envSrv.env.appId, enName: 'tms-obc-web' } ]; this.selectedPlatform = this.platforms[0]; - this.platformChange(this.selectedPlatform); + // this.platformChange(this.selectedPlatform); } platformChange(e: { name: string; appId: string }) { @@ -45,7 +45,7 @@ export class MenuManagerComponentsIndexComponent implements OnInit { } loadMenus(appId: string) { - this.service.request(this.service.$api_get_one, { appId },'POST',false).subscribe(res => { + this.service.request(this.service.$api_get_one, { appId }, 'POST', false).subscribe(res => { console.log(res); this.menus = res; @@ -56,12 +56,15 @@ export class MenuManagerComponentsIndexComponent implements OnInit { console.log('editChanged', event); } - menuImport() { + menuImport(index: number) { + this.selectedPlatform = this.platforms[index]; if (!this.selectedPlatform) { return; } this.service.http.request('GET', `assets/mocks/platform/${this.selectedPlatform.enName}.json`).subscribe((res: any) => { + console.log(res); + this.addMenu(res.menu); }); } diff --git a/src/assets/mocks/platform/tms-obc-web.json b/src/assets/mocks/platform/tms-obc-web.json index fd9f7dbe..9abfd9fb 100644 --- a/src/assets/mocks/platform/tms-obc-web.json +++ b/src/assets/mocks/platform/tms-obc-web.json @@ -1,466 +1,463 @@ { - "success": true, - "data": { - "menu": [ - { - "text": "样例", - "hideInBreadcrumb": true, - "children": [ - { - "text": "用户中心", - "icon": "anticon anticon-dashboard", - "group": true, - "children": [ - { - "text": "货主管理", - "icon": "anticon anticon-dashboard", - "link": "/demo/zorro", - "children": [ - { - "text": "企业列表", - "icon": "anticon anticon-dashboard", - "link": "/usercenter/freight/list" - }, - { - "text": "道运证", - "hide": true, - "icon": "anticon anticon-dashboard", - "link": "/usercenter/freight/list/view/:id" - }, - { - "text": "货主详情", - "hide": true, - "icon": "anticon anticon-dashboard", - "link": "/usercenter/freight/list/detail/:id" - }, - { - "text": "企业认证", - "hide": true, - "icon": "anticon anticon-dashboard", - "link": "/usercenter/freight/new" - }, - { - "text": "企业审核列表", - "icon": "anticon anticon-dashboard", - "link": "/usercenter/freight/enterprise" - }, - { - "text": "企业审核列表详情", - "hide": true, - "icon": "anticon anticon-dashboard", - "link": "/usercenter/freight/enterprise/view/:id" - }, - { - "text": "货主员工列表", - "icon": "anticon anticon-dashboard", - "link": "/usercenter/freight/user" - } - ] - }, - { - "text": "司机管理", - "icon": "anticon anticon-dashboard", - "link": "/demo/zorro", - "children": [ - { - "text": "司机列表", - "icon": "anticon anticon-dashboard", - "link": "/usercenter/driver" - }, - { - "text": "司机详情", - "hide": true, - "icon": "anticon anticon-dashboard", - "link": "/usercenter/driver/detail/:id" - }, - { - "text": "车队长列表", - "icon": "anticon anticon-dashboard", - "link": "/usercenter/driver/captain" - } - ] - } - ] - }, - { - "text": "运力管理", - "icon": "anticon anticon-dashboard", - "group": true, - "children": [ - { - "text": "车辆列表", - "link": "/vehicle/list" - }, - { - "hide": true, - "text": "车辆列表详情", - "link": "/vehicle/list/detail/:id" - }, - { - "text": "车辆审核列表", - "link": "/vehicle/audit" - }, - { - "hide": true, - "text": "车辆审核列表详情", - "link": "/vehicle/audit/detail/:id" - } - ] - }, - { - "text": "货源管理", - "icon": "anticon anticon-dashboard", - "group": true, - "children": [ - { - "text": "货源管理", - "icon": "anticon anticon-dashboard", - "link": "/supply-management/index", - "reuse": true - }, - { - "text": "货源管理", - "icon": "anticon anticon-dashboard", - "link": "/supply-management/index", - "hide": true - }, - { - "text": "货源详情", - "icon": "anticon anticon-dashboard", - "link": "/supply-management/bulk-detail", - "hide": true - }, - { - "text": "修改货源", - "icon": "anticon anticon-dashboard", - "link": "/supply-management/vehicle-amend/:id", - "hide": true - }, - { - "text": "货源详情", - "icon": "anticon anticon-dashboard", - "link": "/supply-management/vehicle-detail/:id", - "hide": true - } - ] - }, - { - "text": "订单管理", - "icon": "anticon anticon-dashboard", - "group": true, - "children": [ - { - "text": "整车订单", - "icon": "anticon anticon-dashboard", - "link": "/order-management/vehicle", - "reuse": true - }, - { - "text": "大宗订单", - "icon": "anticon anticon-dashboard", - "link": "/order-management/bulk" - }, - { - "text": "结算单", - "children": [ - { - "text": "司机管理", - "icon": "anticon anticon-dashboard", - "link": "/order-management/driver-manage" - }, - { - "text": "车辆管理", - "icon": "anticon anticon-dashboard", - "link": "/order-management/car-manage" - } - ] - }, - { - "text": "补录单", - "children": [ - { - "text": "补录运单", - "icon": "anticon anticon-dashboard", - "link": "/order-management/additionalc" - }, - { - "text": "补录运单详情", - "icon": "anticon anticon-dashboard", - "link": "/order-management/additionalc-detail/:id", - "hide": true - } - ] - }, - { - "text": "风险单管理", - "icon": "anticon anticon-dashboard", - "link": "/order-management/risk" - }, - { - "text": "投诉管理", - "icon": "anticon anticon-dashboard", - "link": "/order-management/complaint" - }, - { - "text": "整车订单详情", - "icon": "anticon anticon-dashboard", - "link": "/order-management/vehicle-detail/:id", - "hide": true - }, - { - "text": "大宗订单详情", - "icon": "anticon anticon-dashboard", - "link": "/order-management/bulk-detail/:id", - "hide": true - }, - { - "text": "货源详情", - "icon": "anticon anticon-dashboard", - "link": "/order-management/vehicle-detail", - "hide": true - } - ] - }, - { - "text": "运单管理", - "icon": "anticon anticon-dashboard", - "group": true, - "children": [ - { - "text": "整车运单", - "link": "/waybill-management/vehicle" - }, - { - "hide": true, - "text": "整车运单详情", - "link": "/waybill-management/vehicle-detail/:id" - }, - { - "text": "大宗运单", - "link": "/waybill-management/bulk" - }, - { - "hide": true, - "text": "大宗运单详情", - "link": "/waybill-management/bulk-detail/:id" - } - ] - }, - { - "text": "财务管理", - "icon": "anticon anticon-dashboard", - "group": true, - "children": [ - { - "text": "费用管理", - "link": "/financial-management/cost-management" - }, - { - "text": "费用浏览", - "hide": true, - "link": "/financial-management/cost-management/detail/:id" - }, - { - "text": "应收费用单", - "hide": true, - "link": "/financial-management/cost-management/expenses-receivable/:id" - }, - { - "text": "应付费用单", - "hide": true, - "link": "/financial-management/cost-management/expenses-payable/:id" - }, - { - "text": "货主账户", - "link": "/financial-management/freight-account" - }, - { - "text": "货主账户详情", - "hide": true, - "link": "/financial-management/freight-account/detail/:id" - }, - { - "text": "司机账户", - "link": "/financial-management/driver-account" - }, - { - "text": "司机账户详情", - "hide": true, - "link": "/financial-management/driver-account/detail/:id" - }, - { - "text": "充值记录", - "link": "/financial-management/recharge-record" - }, - { - "text": "提现记录", - "link": "/financial-management/withdrawals-record" - }, - { - "text": "提现详情", - "hide": true, - "link": "/financial-management/withdrawals-record/detail/:id" - }, - { - "text": "异常入金", - "link": "/financial-management/abnormal-gold" - }, - { - "text": "支付记录", - "link": "/financial-management/payment-record" - }, - { - "text": "交易流水", - "link": "/financial-management/transaction-flow" - } - ] - }, - { - "text": "票务管理", - "icon": "anticon anticon-dashboard", - "group": true, - "children": [ - { - "text": "销项发票", - "children": [ - { - "text": "开票申请", - "link": "/ticket/invoice-requested" - }, - { - "text": "开票订单明细", - "link": "/ticket/invoice-requested/detail/:id", - "hide": true - }, - { - "text": "销票处理", - "link": "/ticket/cancellation-invoice" - }, - { - "text": "销票订单明细", - "link": "/ticket/cancellation-invoice/detail/:id", - "hide": true - }, - { - "text": "已开发票", - "link": "/ticket/invoice-list" - }, - { - "text": "已开订单明细", - "link": "/ticket/invoice-list/detail/:id", - "hide": true - } - ] - }, - { - "text": "ETC发票", - "children": [ - { - "text": "申请发票", - "link": "/ticket/etc-invoice-requested" - }, - { - "text": "运单开票记录", - "link": "/ticket/etc-invoice-list" - }, - { - "text": "已开发票", - "link": "/ticket/etc-invoiced-logs" - }, - { - "text": "黑名单", - "link": "/ticket/etc-blacklist" - } - ] - } - ] - }, - { - "text": "合同管理", - "icon": "anticon anticon-dashboard", - "group": true, - "children": [ - { - "text": "合同列表", - "link": "/contract-management/list" - } - ] - }, - { - "text": "系统设置", - "icon": "anticon anticon-dashboard", - "group": true, - "children": [ - { - "text": "员工管理", - "group": true, - "children": [ - { - "text": "员工管理", - "link": "/system/staff-management" - }, - { - "text": "角色管理", - "link": "/system/role-management" - } - ] - }, - { - "text": "CRM客户管理", - "link": "/system/crm-management" - }, - { - "text": "结算客户管理", - "link": "/system/close-account" - }, - { - "text": "网络货运人", - "link": "/system/network-freight" - }, - { - "text": "基础设置", - "link": "/system/basic-setting" - }, - { - "text": "车型车长配置", - "link": "/system/cart-config" - }, - { - "text": "基础配置", - "link": "/system/basic-config" - }, - { - "text": "系统操作日志", - "link": "/system/system-logs" - }, - { - "text": "用户登录日志", - "link": "/system/user-logs" - }, - { - "text": "版本发布记录", - "link": "/system/version-logs" - }, - { - "text": "协议配置", - "link": "/system/agreement-config" - }, - { - "text": "审核驳回理由配置", - "link": "/system/audit-reason-config" - }, - { - "text": "系统配置", - "link": "/system/system-config" - }, - { - "text": "货物名称配置", - "link": "/system/goods-name-config" - } - ] - } - ] - } - ] - } + "menu": [ + { + "text": "主导航", + "hideInBreadcrumb": true, + "children": [ + { + "text": "用户中心", + "icon": "anticon anticon-dashboard", + "group": true, + "children": [ + { + "text": "货主管理", + "icon": "anticon anticon-dashboard", + "link": "/demo/zorro", + "children": [ + { + "text": "企业列表", + "icon": "anticon anticon-dashboard", + "link": "/usercenter/freight/list" + }, + { + "text": "道运证", + "hide": true, + "icon": "anticon anticon-dashboard", + "link": "/usercenter/freight/list/view/:id" + }, + { + "text": "货主详情", + "hide": true, + "icon": "anticon anticon-dashboard", + "link": "/usercenter/freight/list/detail/:id" + }, + { + "text": "企业认证", + "hide": true, + "icon": "anticon anticon-dashboard", + "link": "/usercenter/freight/new" + }, + { + "text": "企业审核列表", + "icon": "anticon anticon-dashboard", + "link": "/usercenter/freight/enterprise" + }, + { + "text": "企业审核列表详情", + "hide": true, + "icon": "anticon anticon-dashboard", + "link": "/usercenter/freight/enterprise/view/:id" + }, + { + "text": "货主员工列表", + "icon": "anticon anticon-dashboard", + "link": "/usercenter/freight/user" + } + ] + }, + { + "text": "司机管理", + "icon": "anticon anticon-dashboard", + "link": "/demo/zorro", + "children": [ + { + "text": "司机列表", + "icon": "anticon anticon-dashboard", + "link": "/usercenter/driver" + }, + { + "text": "司机详情", + "hide": true, + "icon": "anticon anticon-dashboard", + "link": "/usercenter/driver/detail/:id" + }, + { + "text": "车队长列表", + "icon": "anticon anticon-dashboard", + "link": "/usercenter/driver/captain" + } + ] + } + ] + }, + { + "text": "运力管理", + "icon": "anticon anticon-dashboard", + "group": true, + "children": [ + { + "text": "车辆列表", + "link": "/vehicle/list" + }, + { + "hide": true, + "text": "车辆列表详情", + "link": "/vehicle/list/detail/:id" + }, + { + "text": "车辆审核列表", + "link": "/vehicle/audit" + }, + { + "hide": true, + "text": "车辆审核列表详情", + "link": "/vehicle/audit/detail/:id" + } + ] + }, + { + "text": "货源管理", + "icon": "anticon anticon-dashboard", + "group": true, + "children": [ + { + "text": "货源管理", + "icon": "anticon anticon-dashboard", + "link": "/supply-management/index", + "reuse": true + }, + { + "text": "货源管理", + "icon": "anticon anticon-dashboard", + "link": "/supply-management/index", + "hide": true + }, + { + "text": "货源详情", + "icon": "anticon anticon-dashboard", + "link": "/supply-management/bulk-detail", + "hide": true + }, + { + "text": "修改货源", + "icon": "anticon anticon-dashboard", + "link": "/supply-management/vehicle-amend/:id", + "hide": true + }, + { + "text": "货源详情", + "icon": "anticon anticon-dashboard", + "link": "/supply-management/vehicle-detail/:id", + "hide": true + } + ] + }, + { + "text": "订单管理", + "icon": "anticon anticon-dashboard", + "group": true, + "children": [ + { + "text": "整车订单", + "icon": "anticon anticon-dashboard", + "link": "/order-management/vehicle", + "reuse": true + }, + { + "text": "大宗订单", + "icon": "anticon anticon-dashboard", + "link": "/order-management/bulk" + }, + { + "text": "结算单", + "children": [ + { + "text": "司机管理", + "icon": "anticon anticon-dashboard", + "link": "/order-management/driver-manage" + }, + { + "text": "车辆管理", + "icon": "anticon anticon-dashboard", + "link": "/order-management/car-manage" + } + ] + }, + { + "text": "补录单", + "children": [ + { + "text": "补录运单", + "icon": "anticon anticon-dashboard", + "link": "/order-management/additionalc" + }, + { + "text": "补录运单详情", + "icon": "anticon anticon-dashboard", + "link": "/order-management/additionalc-detail/:id", + "hide": true + } + ] + }, + { + "text": "风险单管理", + "icon": "anticon anticon-dashboard", + "link": "/order-management/risk" + }, + { + "text": "投诉管理", + "icon": "anticon anticon-dashboard", + "link": "/order-management/complaint" + }, + { + "text": "整车订单详情", + "icon": "anticon anticon-dashboard", + "link": "/order-management/vehicle-detail/:id", + "hide": true + }, + { + "text": "大宗订单详情", + "icon": "anticon anticon-dashboard", + "link": "/order-management/bulk-detail/:id", + "hide": true + }, + { + "text": "货源详情", + "icon": "anticon anticon-dashboard", + "link": "/order-management/vehicle-detail", + "hide": true + } + ] + }, + { + "text": "运单管理", + "icon": "anticon anticon-dashboard", + "group": true, + "children": [ + { + "text": "整车运单", + "link": "/waybill-management/vehicle" + }, + { + "hide": true, + "text": "整车运单详情", + "link": "/waybill-management/vehicle-detail/:id" + }, + { + "text": "大宗运单", + "link": "/waybill-management/bulk" + }, + { + "hide": true, + "text": "大宗运单详情", + "link": "/waybill-management/bulk-detail/:id" + } + ] + }, + { + "text": "财务管理", + "icon": "anticon anticon-dashboard", + "group": true, + "children": [ + { + "text": "费用管理", + "link": "/financial-management/cost-management" + }, + { + "text": "费用浏览", + "hide": true, + "link": "/financial-management/cost-management/detail/:id" + }, + { + "text": "应收费用单", + "hide": true, + "link": "/financial-management/cost-management/expenses-receivable/:id" + }, + { + "text": "应付费用单", + "hide": true, + "link": "/financial-management/cost-management/expenses-payable/:id" + }, + { + "text": "货主账户", + "link": "/financial-management/freight-account" + }, + { + "text": "货主账户详情", + "hide": true, + "link": "/financial-management/freight-account/detail/:id" + }, + { + "text": "司机账户", + "link": "/financial-management/driver-account" + }, + { + "text": "司机账户详情", + "hide": true, + "link": "/financial-management/driver-account/detail/:id" + }, + { + "text": "充值记录", + "link": "/financial-management/recharge-record" + }, + { + "text": "提现记录", + "link": "/financial-management/withdrawals-record" + }, + { + "text": "提现详情", + "hide": true, + "link": "/financial-management/withdrawals-record/detail/:id" + }, + { + "text": "异常入金", + "link": "/financial-management/abnormal-gold" + }, + { + "text": "支付记录", + "link": "/financial-management/payment-record" + }, + { + "text": "交易流水", + "link": "/financial-management/transaction-flow" + } + ] + }, + { + "text": "票务管理", + "icon": "anticon anticon-dashboard", + "group": true, + "children": [ + { + "text": "销项发票", + "children": [ + { + "text": "开票申请", + "link": "/ticket/invoice-requested" + }, + { + "text": "开票订单明细", + "link": "/ticket/invoice-requested/detail/:id", + "hide": true + }, + { + "text": "销票处理", + "link": "/ticket/cancellation-invoice" + }, + { + "text": "销票订单明细", + "link": "/ticket/cancellation-invoice/detail/:id", + "hide": true + }, + { + "text": "已开发票", + "link": "/ticket/invoice-list" + }, + { + "text": "已开订单明细", + "link": "/ticket/invoice-list/detail/:id", + "hide": true + } + ] + }, + { + "text": "ETC发票", + "children": [ + { + "text": "申请发票", + "link": "/ticket/etc-invoice-requested" + }, + { + "text": "运单开票记录", + "link": "/ticket/etc-invoice-list" + }, + { + "text": "已开发票", + "link": "/ticket/etc-invoiced-logs" + }, + { + "text": "黑名单", + "link": "/ticket/etc-blacklist" + } + ] + } + ] + }, + { + "text": "合同管理", + "icon": "anticon anticon-dashboard", + "group": true, + "children": [ + { + "text": "合同列表", + "link": "/contract-management/list" + } + ] + }, + { + "text": "系统设置", + "icon": "anticon anticon-dashboard", + "group": true, + "children": [ + { + "text": "员工管理", + "group": true, + "children": [ + { + "text": "员工管理", + "link": "/system/staff-management" + }, + { + "text": "角色管理", + "link": "/system/role-management" + } + ] + }, + { + "text": "CRM客户管理", + "link": "/system/crm-management" + }, + { + "text": "结算客户管理", + "link": "/system/close-account" + }, + { + "text": "网络货运人", + "link": "/system/network-freight" + }, + { + "text": "基础设置", + "link": "/system/basic-setting" + }, + { + "text": "车型车长配置", + "link": "/system/cart-config" + }, + { + "text": "基础配置", + "link": "/system/basic-config" + }, + { + "text": "系统操作日志", + "link": "/system/system-logs" + }, + { + "text": "用户登录日志", + "link": "/system/user-logs" + }, + { + "text": "版本发布记录", + "link": "/system/version-logs" + }, + { + "text": "协议配置", + "link": "/system/agreement-config" + }, + { + "text": "审核驳回理由配置", + "link": "/system/audit-reason-config" + }, + { + "text": "系统配置", + "link": "/system/system-config" + }, + { + "text": "货物名称配置", + "link": "/system/goods-name-config" + } + ] + } + ] + } + ] } \ No newline at end of file