From d53aeafc55bc2c42a65756bd73d48eba91c154f8 Mon Sep 17 00:00:00 2001 From: JEECG Date: Sun, 13 Mar 2022 22:11:35 +0800 Subject: [PATCH] Delete src/views/dashboard/analysis directory --- .../analysis/components/GrowCard.vue | 40 ---- .../analysis/components/SalesProductPie.vue | 63 ------ .../analysis/components/SiteAnalysis.vue | 38 ---- .../analysis/components/VisitAnalysis.vue | 106 --------- .../analysis/components/VisitAnalysisBar.vue | 58 ----- .../analysis/components/VisitRadar.vue | 100 --------- .../analysis/components/VisitSource.vue | 80 ------- .../dashboard/analysis/components/props.ts | 16 -- src/views/dashboard/analysis/data.ts | 208 ------------------ src/views/dashboard/analysis/index.vue | 25 --- 10 files changed, 734 deletions(-) delete mode 100644 src/views/dashboard/analysis/components/GrowCard.vue delete mode 100644 src/views/dashboard/analysis/components/SalesProductPie.vue delete mode 100644 src/views/dashboard/analysis/components/SiteAnalysis.vue delete mode 100644 src/views/dashboard/analysis/components/VisitAnalysis.vue delete mode 100644 src/views/dashboard/analysis/components/VisitAnalysisBar.vue delete mode 100644 src/views/dashboard/analysis/components/VisitRadar.vue delete mode 100644 src/views/dashboard/analysis/components/VisitSource.vue delete mode 100644 src/views/dashboard/analysis/components/props.ts delete mode 100644 src/views/dashboard/analysis/data.ts delete mode 100644 src/views/dashboard/analysis/index.vue diff --git a/src/views/dashboard/analysis/components/GrowCard.vue b/src/views/dashboard/analysis/components/GrowCard.vue deleted file mode 100644 index 821292e..0000000 --- a/src/views/dashboard/analysis/components/GrowCard.vue +++ /dev/null @@ -1,40 +0,0 @@ - - diff --git a/src/views/dashboard/analysis/components/SalesProductPie.vue b/src/views/dashboard/analysis/components/SalesProductPie.vue deleted file mode 100644 index 25bb362..0000000 --- a/src/views/dashboard/analysis/components/SalesProductPie.vue +++ /dev/null @@ -1,63 +0,0 @@ - - diff --git a/src/views/dashboard/analysis/components/SiteAnalysis.vue b/src/views/dashboard/analysis/components/SiteAnalysis.vue deleted file mode 100644 index 63a3f49..0000000 --- a/src/views/dashboard/analysis/components/SiteAnalysis.vue +++ /dev/null @@ -1,38 +0,0 @@ - - diff --git a/src/views/dashboard/analysis/components/VisitAnalysis.vue b/src/views/dashboard/analysis/components/VisitAnalysis.vue deleted file mode 100644 index 1429166..0000000 --- a/src/views/dashboard/analysis/components/VisitAnalysis.vue +++ /dev/null @@ -1,106 +0,0 @@ - - diff --git a/src/views/dashboard/analysis/components/VisitAnalysisBar.vue b/src/views/dashboard/analysis/components/VisitAnalysisBar.vue deleted file mode 100644 index 4883d87..0000000 --- a/src/views/dashboard/analysis/components/VisitAnalysisBar.vue +++ /dev/null @@ -1,58 +0,0 @@ - - diff --git a/src/views/dashboard/analysis/components/VisitRadar.vue b/src/views/dashboard/analysis/components/VisitRadar.vue deleted file mode 100644 index 518d840..0000000 --- a/src/views/dashboard/analysis/components/VisitRadar.vue +++ /dev/null @@ -1,100 +0,0 @@ - - diff --git a/src/views/dashboard/analysis/components/VisitSource.vue b/src/views/dashboard/analysis/components/VisitSource.vue deleted file mode 100644 index 4c64167..0000000 --- a/src/views/dashboard/analysis/components/VisitSource.vue +++ /dev/null @@ -1,80 +0,0 @@ - - diff --git a/src/views/dashboard/analysis/components/props.ts b/src/views/dashboard/analysis/components/props.ts deleted file mode 100644 index 8643650..0000000 --- a/src/views/dashboard/analysis/components/props.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { PropType } from 'vue'; - -export interface BasicProps { - width: string; - height: string; -} -export const basicProps = { - width: { - type: String as PropType, - default: '100%', - }, - height: { - type: String as PropType, - default: '280px', - }, -}; diff --git a/src/views/dashboard/analysis/data.ts b/src/views/dashboard/analysis/data.ts deleted file mode 100644 index 01060d4..0000000 --- a/src/views/dashboard/analysis/data.ts +++ /dev/null @@ -1,208 +0,0 @@ -export interface GrowCardItem { - icon: string; - title: string; - value?: number; - total: number; - color?: string; - action?: string; - footer?: string; -} - -export const growCardList: GrowCardItem[] = [ - { - title: '访问数', - icon: 'visit-count|svg', - value: 2000, - total: 120000, - color: 'green', - action: '月', - }, - { - title: '成交额', - icon: 'total-sales|svg', - value: 20000, - total: 500000, - color: 'blue', - action: '月', - }, - { - title: '下载数', - icon: 'download-count|svg', - value: 8000, - total: 120000, - color: 'orange', - action: '周', - }, - { - title: '成交数', - icon: 'transaction|svg', - value: 5000, - total: 50000, - color: 'purple', - action: '年', - }, -]; - -export const chartCardList: GrowCardItem[] = [ - { - title: '总销售额', - icon: 'visit-count|svg', - total: 126560, - value: 234.56, - footer: '日均销售额', - }, - { - title: '订单量', - icon: 'total-sales|svg', - value: 1234, - total: 8846, - color: 'blue', - footer: '日订单量', - }, - { - title: '支付笔数', - icon: 'download-count|svg', - value: 60, - total: 6560, - color: 'orange', - footer: '转化率', - }, - { - title: '运营活动效果', - icon: 'transaction|svg', - total: 78, - }, -]; -export const bdcCardList: GrowCardItem[] = [ - { - title: '受理量', - icon: 'ant-design:info-circle-outlined', - total: 100, - value: 60, - footer: '今日受理量', - }, - { - title: '办结量', - icon: 'ant-design:info-circle-outlined', - value: 54, - total: 87, - color: 'blue', - footer: '今日办结量', - }, - { - title: '用户受理量', - icon: 'ant-design:info-circle-outlined', - value: 13, - total: 15, - color: 'orange', - footer: '用户今日受理量', - }, - { - title: '用户办结量', - icon: 'ant-design:info-circle-outlined', - total: 9, - value: 7, - footer: '用户今日办结量', - }, -]; - -export const table = { - dataSource : [ - {reBizCode:"1",type:"转移登记",acceptBy:'张三',acceptDate:"2019-01-22",curNode:"任务分派",flowRate:60}, - {reBizCode:"2",type:"抵押登记",acceptBy:'李四',acceptDate:"2019-01-23",curNode:"领导审核",flowRate:30}, - {reBizCode:"3",type:"转移登记",acceptBy:'王武',acceptDate:"2019-01-25",curNode:"任务处理",flowRate:20}, - {reBizCode:"4",type:"转移登记",acceptBy:'赵楼',acceptDate:"2019-11-22",curNode:"部门审核",flowRate:80}, - {reBizCode:"5",type:"转移登记",acceptBy:'钱就',acceptDate:"2019-12-12",curNode:"任务分派",flowRate:90}, - {reBizCode:"6",type:"转移登记",acceptBy:'孙吧',acceptDate:"2019-03-06",curNode:"任务处理",flowRate:10}, - {reBizCode:"7",type:"抵押登记",acceptBy:'周大',acceptDate:"2019-04-13",curNode:"任务分派",flowRate:100}, - {reBizCode:"8",type:"抵押登记",acceptBy:'吴二',acceptDate:"2019-05-09",curNode:"任务上报",flowRate:50}, - {reBizCode:"9",type:"抵押登记",acceptBy:'郑爽',acceptDate:"2019-07-12",curNode:"任务处理",flowRate:63}, - {reBizCode:"20",type:"抵押登记",acceptBy:'林有',acceptDate:"2019-12-12",curNode:"任务打回",flowRate:59}, - {reBizCode:"11",type:"转移登记",acceptBy:'码云',acceptDate:"2019-09-10",curNode:"任务签收",flowRate:87} - ], - columns: [{ - title: '业务号', - align:"center", - dataIndex: 'reBizCode' - },{ - title: '业务类型', - align:"center", - dataIndex: 'type' - },{ - title: '受理人', - align:"center", - dataIndex: 'acceptBy' - },{ - title: '受理时间', - align:"center", - dataIndex: 'acceptDate' - },{ - title: '当前节点', - align:"center", - dataIndex: 'curNode' - },{ - title: '办理时长', - align:"center", - dataIndex: 'flowRate', - slots: { customRender: 'flowRate' } - }], - ipagination:{ - current: 1, - pageSize: 5, - pageSizeOptions: ['10', '20', '30'], - showTotal: (total, range) => { - return range[0] + "-" + range[1] + " 共" + total + "条" - }, - showQuickJumper: true, - showSizeChanger: true, - total: 0, - } -}; -export const table1 = { - dataSource : [ - {reBizCode:"A001",type:"转移登记",acceptBy:'张四',acceptDate:"2019-01-22",curNode:"任务分派",flowRate:12}, - {reBizCode:"A002",type:"抵押登记",acceptBy:'李吧',acceptDate:"2019-01-23",curNode:"任务签收",flowRate:3}, - {reBizCode:"A003",type:"转移登记",acceptBy:'王三',acceptDate:"2019-01-25",curNode:"任务处理",flowRate:24}, - {reBizCode:"A004",type:"转移登记",acceptBy:'赵二',acceptDate:"2019-11-22",curNode:"部门审核",flowRate:10}, - {reBizCode:"A005",type:"转移登记",acceptBy:'钱大',acceptDate:"2019-12-12",curNode:"任务签收",flowRate:8}, - {reBizCode:"A006",type:"转移登记",acceptBy:'孙就',acceptDate:"2019-03-06",curNode:"任务处理",flowRate:10}, - {reBizCode:"A007",type:"抵押登记",acceptBy:'周晕',acceptDate:"2019-04-13",curNode:"部门审核",flowRate:24}, - {reBizCode:"A008",type:"抵押登记",acceptBy:'吴有',acceptDate:"2019-05-09",curNode:"部门审核",flowRate:30}, - {reBizCode:"A009",type:"抵押登记",acceptBy:'郑武',acceptDate:"2019-07-12",curNode:"任务分派",flowRate:1}, - {reBizCode:"A0010",type:"抵押登记",acceptBy:'林爽',acceptDate:"2019-12-12",curNode:"部门审核",flowRate:16}, - {reBizCode:"A0011",type:"转移登记",acceptBy:'码楼',acceptDate:"2019-09-10",curNode:"部门审核",flowRate:7}, - ], - columns: [{ - title: '业务号', - align:"center", - dataIndex: 'reBizCode' - },{ - title: '受理人', - align:"center", - dataIndex: 'acceptBy' - },{ - title: '发起时间', - align:"center", - dataIndex: 'acceptDate' - },{ - title: '当前节点', - align:"center", - dataIndex: 'curNode' - },{ - title: '超时时间', - align:"center", - dataIndex: 'flowRate', - slots: { customRender: 'flowRate' } - }], - ipagination:{ - current: 1, - pageSize: 5, - pageSizeOptions: ['10', '20', '30'], - showTotal: (total, range) => { - return range[0] + "-" + range[1] + " 共" + total + "条" - }, - showQuickJumper: true, - showSizeChanger: true, - total: 0, - } -}; diff --git a/src/views/dashboard/analysis/index.vue b/src/views/dashboard/analysis/index.vue deleted file mode 100644 index 5c480e5..0000000 --- a/src/views/dashboard/analysis/index.vue +++ /dev/null @@ -1,25 +0,0 @@ - -