@@ -30,7 +30,7 @@ const dragOptions = {
}
export default {
- name: 'TaskCard',
+ name: 'TaskGroup',
components: {AIcon, Draggable},
props: ['title', 'group'],
data () {
@@ -47,7 +47,7 @@ export default {
diff --git a/src/components/task/Index.vue b/src/pages/components/TaskCard.vue
similarity index 65%
rename from src/components/task/Index.vue
rename to src/pages/components/TaskCard.vue
index 396ab67..9cefaa0 100644
--- a/src/components/task/Index.vue
+++ b/src/pages/components/TaskCard.vue
@@ -1,26 +1,26 @@
-
+
-
-
+
+
-
-
+
+
-
+
diff --git a/src/components/dashboard/Dashboard.vue b/src/pages/dashboard/Analysis.vue
similarity index 90%
rename from src/components/dashboard/Dashboard.vue
rename to src/pages/dashboard/Analysis.vue
index 87df5c8..1c21dde 100644
--- a/src/components/dashboard/Dashboard.vue
+++ b/src/pages/dashboard/Analysis.vue
@@ -105,19 +105,19 @@
import ACol from 'ant-design-vue/es/grid/Col'
import ARow from 'ant-design-vue/es/grid/Row'
import ACard from 'ant-design-vue/es/card/Card'
-import ChartCard from './ChartCard'
+import ChartCard from '../../components/card/ChartCard'
import ATooltip from 'ant-design-vue/es/tooltip/Tooltip'
import AIcon from 'ant-design-vue/es/icon/icon'
-import MiniArea from '../chart/MiniArea'
-import MiniBar from '../chart/MiniBar'
-import MiniProgress from '../chart/MiniProgress'
+import MiniArea from '../../components/chart/MiniArea'
+import MiniBar from '../../components/chart/MiniBar'
+import MiniProgress from '../../components/chart/MiniProgress'
import ATabs from 'ant-design-vue/es/tabs'
import ADatePicker from 'ant-design-vue/es/date-picker'
-import Bar from '../chart/Bar'
-import RankingList from '../chart/RankingList'
-import HotSearch from '../analysis/HotSearch'
-import SalesData from '../analysis/SalesData'
-import Trend from '../chart/Trend'
+import Bar from '../../components/chart/Bar'
+import RankingList from '../../components/chart/RankingList'
+import HotSearch from '../../components/analysis/HotSearch'
+import SalesData from '../../components/analysis/SalesData'
+import Trend from '../../components/chart/Trend'
const rankList = []
@@ -131,7 +131,7 @@ for (let i = 0; i < 8; i++) {
const ATabPane = ATabs.TabPane
const ARangePicker = ADatePicker.RangePicker
export default {
- name: 'dashboard',
+ name: 'analysis',
data () {
return {
rankList
diff --git a/src/components/dashboard/WorkPlace.vue b/src/pages/dashboard/WorkPlace.vue
similarity index 96%
rename from src/components/dashboard/WorkPlace.vue
rename to src/pages/dashboard/WorkPlace.vue
index a4e2110..18e8f2b 100644
--- a/src/components/dashboard/WorkPlace.vue
+++ b/src/pages/dashboard/WorkPlace.vue
@@ -87,10 +87,10 @@