diff --git a/src/router/index.ts b/src/router/index.ts index 99a72e3..6e44489 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -238,9 +238,9 @@ const routes: Array = [ }, }, { - path: '/detail-list-f', - name: 'detail-list-f', - component: () => import('views/big-screen/model-components/detailList-sy.vue'), + path: '/detail-list-new', + name: 'detail-list-new', + component: () => import('views/big-screen/model-components/details-new.vue'), meta: { title: '数据大屏', keepAlive: true, diff --git a/src/views/big-screen/index.vue b/src/views/big-screen/index.vue index 8a60c3e..e5bdba9 100644 --- a/src/views/big-screen/index.vue +++ b/src/views/big-screen/index.vue @@ -3,9 +3,9 @@
安徽机械化装备共享平台
- +
- +
diff --git a/src/views/big-screen/model-components/center-model.vue b/src/views/big-screen/model-components/center-model.vue index 87dce8e..f8357f4 100644 --- a/src/views/big-screen/model-components/center-model.vue +++ b/src/views/big-screen/model-components/center-model.vue @@ -255,27 +255,27 @@ const handleDetail = (type: any) => { if (type == 1) { params.title = '入驻装备数' params.type = 1 - path = '/detail-list-f' + path = '/detail-list-new' } else if (type == 2) { params.title = '上架装备数' params.type = 2 - path = '/detail-list-f' + path = '/detail-list-new' } else if (type == 3) { params.title = '装备总类型数' params.type = 3 - path = '/detail-list-f' + path = '/detail-list-new' } else if (type == 4) { params.title = '保养告警' params.type = 4 - path = '/detail-list-f' + path = '/detail-list-new' } else if (type == 5) { params.title = '在租赁种类' params.type = 5 - path = '/detail-list-f' + path = '/detail-list-new' } else if (type == 6) { params.title = '在租装备数' params.type = 6 - path = '/detail-list-f' + path = '/detail-list-new' } else if (type == 7) { params.title = '退租装备数' params.type = 7 diff --git a/src/views/big-screen/model-components/detailList-model.vue b/src/views/big-screen/model-components/detailList-model.vue new file mode 100644 index 0000000..fca5098 --- /dev/null +++ b/src/views/big-screen/model-components/detailList-model.vue @@ -0,0 +1,317 @@ + + + + + diff --git a/src/views/big-screen/model-components/detailList-sy.vue b/src/views/big-screen/model-components/detailList-sy.vue deleted file mode 100644 index 0c023d5..0000000 --- a/src/views/big-screen/model-components/detailList-sy.vue +++ /dev/null @@ -1,253 +0,0 @@ - - - - - diff --git a/src/views/big-screen/model-components/details-new.vue b/src/views/big-screen/model-components/details-new.vue new file mode 100644 index 0000000..c30b4f3 --- /dev/null +++ b/src/views/big-screen/model-components/details-new.vue @@ -0,0 +1,266 @@ + + + + +