From 0f49a23a9d4dc7d3eb9a7309f8cd85a316cd4d97 Mon Sep 17 00:00:00 2001 From: zhangyanpeng <bob.zhang@highdatas.com> Date: 星期四, 30 四月 2020 17:39:22 +0800 Subject: [PATCH] 功能调整 --- src/router/index.ts | 50 ++++++++++++++++++++++++++++++++++---------------- 1 files changed, 34 insertions(+), 16 deletions(-) diff --git a/src/router/index.ts b/src/router/index.ts index c338d49..99df1cb 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -7,6 +7,16 @@ import Overview from "../views/Overview.vue"; import list from "../views/list.vue"; import calendarTask from "../views/calendarTask.vue"; +import square from "../components/square.vue"; + + +import actualPayment from "../components/finance/actualPayment.vue"; +import completeStatistics from "../components/finance/completeStatistics.vue"; +import partTimeExpenses from "../components/finance/partTimeExpenses.vue"; +import costAccounting from "../components/finance/costAccounting.vue"; +import collectionStatistics from "../components/finance/collectionStatistics.vue"; + + Vue.use(VueRouter); @@ -59,40 +69,48 @@ } }, { - path: "project2", - name: "project2", + path: "square", + name: "square", components:{ - home: Project + home: square + } + }, + + { + path: "actualPayment", + name: "actualPayment", + components:{ + home: actualPayment } }, { - path: "project3", - name: "project3", + path: "completeStatistics", + name: "completeStatistics", components:{ - home: Project + home: completeStatistics } }, { - path: "project4", - name: "project4", + path: "partTimeExpenses", + name: "partTimeExpenses", components:{ - home: Project + home: partTimeExpenses } }, { - path: "project5", - name: "project5", + path: "costAccounting", + name: "costAccounting", components:{ - home: Project + home: costAccounting } }, { - path: "project6", - name: "project6", + path: "collectionStatistics", + name: "collectionStatistics", components:{ - home: Project + home: collectionStatistics } - } + }, ] }, -- Gitblit v1.8.0