From b533b048164a0906da20a622be88e6dce6a67e87 Mon Sep 17 00:00:00 2001 From: yangzongjia Date: Wed, 14 Jun 2023 15:05:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=A6=96=E9=A1=B5=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/components/Sidebar/index.vue | 150 +++-- src/router/index.js | 66 ++- src/views/index2.vue | 731 ++++++++++++------------ src/views/index3.vue | 170 +----- src/views/index4.vue | 438 +++++++++++++- src/views/index5.vue | 706 +++++++++-------------- src/views/index6.vue | 728 ++++++++++------------- src/views/index7.vue | 448 +++++++++++++++ src/views/index8.vue | 429 ++++++++++++++ src/views/index9.vue | 390 +++++++++++++ 10 files changed, 2816 insertions(+), 1440 deletions(-) create mode 100644 src/views/index7.vue create mode 100644 src/views/index8.vue create mode 100644 src/views/index9.vue diff --git a/src/layout/components/Sidebar/index.vue b/src/layout/components/Sidebar/index.vue index 97e250e..40860ab 100644 --- a/src/layout/components/Sidebar/index.vue +++ b/src/layout/components/Sidebar/index.vue @@ -256,66 +256,96 @@ export default { name: "", path: "/xiaoxi/xiaoxiList", }, - { - alwaysShow: true, - component: "index1", - meta: { - icon: "icon-rizhi2", - title: "index1", - }, - name: "", - path: "/index1", - }, - { - alwaysShow: true, - component: "index2", - meta: { - icon: "icon-rizhi2", - title: "index2", - }, - name: "", - path: "/index2", - }, - { - alwaysShow: true, - component: "index3", - meta: { - icon: "icon-rizhi2", - title: "index3", - }, - name: "", - path: "/index3", - }, - { - alwaysShow: true, - component: "index4", - meta: { - icon: "icon-rizhi2", - title: "index4", - }, - name: "", - path: "/index4", - }, - { - alwaysShow: true, - component: "index5", - meta: { - icon: "icon-rizhi2", - title: "index5", - }, - name: "", - path: "/index5", - }, - { - alwaysShow: true, - component: "index6", - meta: { - icon: "icon-rizhi2", - title: "index6", - }, - name: "", - path: "/index6", - }, + // { + // alwaysShow: true, + // component: "index1", + // meta: { + // icon: "icon-rizhi2", + // title: "数据报表", + // }, + // name: "", + // path: "/index1", + // }, + // { + // alwaysShow: true, + // component: "index2", + // meta: { + // icon: "icon-rizhi2", + // title: "业务审批", + // }, + // name: "", + // path: "/index2", + // }, + // { + // alwaysShow: true, + // component: "index3", + // meta: { + // icon: "icon-rizhi2", + // title: "工作调度", + // }, + // name: "", + // path: "/index3", + // }, + // { + // alwaysShow: true, + // component: "index4", + // meta: { + // icon: "icon-rizhi2", + // title: "风控管理", + // }, + // name: "", + // path: "/index4", + // }, + // { + // alwaysShow: true, + // component: "index5", + // meta: { + // icon: "icon-rizhi2", + // title: "消息中心", + // }, + // name: "", + // path: "/index5", + // }, + // { + // alwaysShow: true, + // component: "index6", + // meta: { + // icon: "icon-rizhi2", + // title: "组织结构", + // }, + // name: "", + // path: "/index6", + // }, + // { + // alwaysShow: true, + // component: "index7", + // meta: { + // icon: "icon-rizhi2", + // title: "客户管理", + // }, + // name: "", + // path: "/index7", + // }, + // { + // alwaysShow: true, + // component: "index8", + // meta: { + // icon: "icon-rizhi2", + // title: "仓库集控", + // }, + // name: "", + // path: "/index8", + // }, + // { + // alwaysShow: true, + // component: "index9", + // meta: { + // icon: "icon-rizhi2", + // title: "系统管理 ", + // }, + // name: "", + // path: "/index9", + // }, ], params: { sourceSid: '5b8b2224-7272-4c56-a8d6-1dc426e2f3df', diff --git a/src/router/index.js b/src/router/index.js index b2f260b..3ccad2d 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -84,7 +84,7 @@ export const constantRoutes = [ component: () => import("@/views/index1.vue"), name: "index1", meta: { - title: "报警", + title: "数据报表", noCache: true, affix: true, }, @@ -100,7 +100,7 @@ export const constantRoutes = [ component: () => import("@/views/index2.vue"), name: "index2", meta: { - title: "报警", + title: "业务审批", noCache: true, affix: true, }, @@ -117,7 +117,7 @@ export const constantRoutes = [ component: () => import("@/views/index3.vue"), name: "index3", meta: { - title: "报警", + title: "工作调度", noCache: true, affix: true, }, @@ -135,7 +135,7 @@ export const constantRoutes = [ component: () => import("@/views/index4.vue"), name: "index4", meta: { - title: "报警", + title: "风控管理", noCache: true, affix: true, }, @@ -153,7 +153,7 @@ export const constantRoutes = [ component: () => import("@/views/index5.vue"), name: "index5", meta: { - title: "报警", + title: "消息中心", noCache: true, affix: true, }, @@ -171,7 +171,61 @@ export const constantRoutes = [ component: () => import("@/views/index6.vue"), name: "index6", meta: { - title: "报警", + title: "组织架构", + noCache: true, + affix: true, + }, + } + + ], + }, + { + path: "/index7", + component: Layout, + redirect: "/index7", + children: [ + { + path: "/index7", + component: () => import("@/views/index7.vue"), + name: "index7", + meta: { + title: "客户管理", + noCache: true, + affix: true, + }, + } + + ], + }, + { + path: "/index8", + component: Layout, + redirect: "/index8", + children: [ + { + path: "/index8", + component: () => import("@/views/index8.vue"), + name: "index8", + meta: { + title: "仓库集控", + noCache: true, + affix: true, + }, + } + + ], + }, + { + path: "/index9", + component: Layout, + redirect: "/index9", + children: [ + { + path: "/index9", + component: () => import("@/views/index9.vue"), + name: "index9", + meta: { + title: "系统管理", noCache: true, affix: true, }, diff --git a/src/views/index2.vue b/src/views/index2.vue index 3c7e02a..fc58d79 100644 --- a/src/views/index2.vue +++ b/src/views/index2.vue @@ -1,5 +1,4 @@ diff --git a/src/views/index3.vue b/src/views/index3.vue index 3c7e02a..aa79a25 100644 --- a/src/views/index3.vue +++ b/src/views/index3.vue @@ -10,7 +10,7 @@ -
{{info.notice}}
+ @@ -23,9 +23,9 @@
- ¥27608927.45 + 506
- 当月销售商品收到现金 + 客户信息 ↑ 25.6%
@@ -39,9 +39,9 @@
- ¥1244255.22 + 121
- 其他与营业活动有关的现金 + 仓库 ↑ 9.8%
@@ -55,9 +55,9 @@
- ¥636449.84 + 624
- 分销商进货额 + 运维任务 ↓ 15.6%
@@ -71,9 +71,9 @@
- ¥3822945.45 + 509
- 实际发货额 + 工单运维 ↓ 15.6%
@@ -86,7 +86,7 @@
- 销售报表 + 运维统计
@@ -94,7 +94,7 @@
- 在途商品 + 工作占比
@@ -102,85 +102,6 @@
- - -
- -
-
- 快捷操作 - 查看更多 -
- -
- - 销售报表 - -
- -
- - 销售汇总日报表 - -
- -
- - 在途商品管理表 - -
- -
- - 在途商品汇总统计表 - -
- -
- -
- -
-
- 最新消息 - 查看更多 -
- -
-
- {{ item.name }} - {{ item.date }} -
-
- -
- -
- -
-
- 警报中心 - 查看更多 -
- -
-
- {{ item.name }} - {{ item.date }} -
-
- -
-
@@ -300,58 +221,35 @@ height: 220 }, legend: { - data: ['分销商进货额', '实际发货额'] + data: ['运维任务'] }, xAxis: [{ type: 'category', - data: ['1-1', '1-2', '1-3', '1-4', '1-5', '1-6', '1-7'], + data: ['1月', '2月', '3月', '4月', '5月', '6月', '7月'], axisPointer: { type: 'shadow' } }], yAxis: [{ type: 'value', - name: '人民币/万元', - min: 0, - max: 250, - interval: 50, - axisLabel: { - formatter: '{value}' - } - }, - { - type: 'value', - name: '百分比%', + name: '任务/次', min: 0, - max: 25, - interval: 5, + max: 90, axisLabel: { formatter: '{value}' } } ], series: [{ - name: '分销商进货额', - type: 'bar', - tooltip: { - valueFormatter: function(value) { - return value + ' 万元'; - } - }, - data: [ - 2.0, 4.9, 7.0, 23.2, 25.6, 76.7, 135.6, 162.2, 32.6, 20.0, 6.4, 3.3 - ] - }, - { - name: '实际发货额', + name: '运维任务', type: 'bar', tooltip: { valueFormatter: function(value) { - return value + ' 万元'; + return value + ' 次'; } }, data: [ - 2.6, 5.9, 9.0, 26.4, 28.7, 70.7, 175.6, 182.2, 48.7, 18.8, 6.0, 2.3 + 69,71,52,28,61,32,52 ] } ] @@ -395,7 +293,7 @@ trigger: "item" }, series: [{ - name: '在途商品', + name: '工作占比', type: 'pie', radius: [20, 100], center: ['50%', '40%'], @@ -404,39 +302,21 @@ borderRadius: 8 }, data: [{ - "value": 2313123, - "name": "订单总额" + "value": 30, + "name": "已完成巡视" }, { - "value": 4359354, - "name": "实际到货价值" + "value": 30, + "name": "运维任务" }, { - "value": 2313123, - "name": "在途货价值" - }, - { - "value": 2313123, - "name": "超出价值" + "value": 40, + "name": "工单任务" } ] }] }) }, - - // getToken(){ - // let params = { - // password: "329653", - // roleSid: "", - // token: "", - // userName: "15097329653", - // verifyCode: "" - // } - // login1(params).then(res => { - // this.token = res.data.token - // window.sessionStorage.setItem('token', res.data.token) - // }) - // } } } diff --git a/src/views/index4.vue b/src/views/index4.vue index 565f1b0..a6de258 100644 --- a/src/views/index4.vue +++ b/src/views/index4.vue @@ -1 +1,437 @@ -231 \ No newline at end of file + + + + + + diff --git a/src/views/index5.vue b/src/views/index5.vue index 3c7e02a..eecb238 100644 --- a/src/views/index5.vue +++ b/src/views/index5.vue @@ -1,148 +1,18 @@ diff --git a/src/views/index6.vue b/src/views/index6.vue index 3c7e02a..62bd484 100644 --- a/src/views/index6.vue +++ b/src/views/index6.vue @@ -1,7 +1,5 @@ diff --git a/src/views/index7.vue b/src/views/index7.vue new file mode 100644 index 0000000..4a0a366 --- /dev/null +++ b/src/views/index7.vue @@ -0,0 +1,448 @@ + + + + + + diff --git a/src/views/index8.vue b/src/views/index8.vue new file mode 100644 index 0000000..6265ad8 --- /dev/null +++ b/src/views/index8.vue @@ -0,0 +1,429 @@ + + + + + + diff --git a/src/views/index9.vue b/src/views/index9.vue new file mode 100644 index 0000000..346cec7 --- /dev/null +++ b/src/views/index9.vue @@ -0,0 +1,390 @@ + + + + + +