diff --git a/screen-vue/src/api/bizHome.js b/screen-vue/src/api/bizHome.js new file mode 100644 index 0000000..710cffd --- /dev/null +++ b/screen-vue/src/api/bizHome.js @@ -0,0 +1,36 @@ +import request from '@/utils/request' + +/** + * 获取指标信息列表 + */ +export function getAlertList(params) { + return request({ + url: '/biz/homeDesktop/alertList', + method: 'get', + params: params + }) +} + + +/** + * 获取指标信息列表 + */ +export function getNoteList(params) { + return request({ + url: '/biz/homeDesktop/noteList', + method: 'get', + params: params + }) +} + + +/** + * 获取指标信息列表 + */ +export function getQuickList(params) { + return request({ + url: '/biz/homeDesktop/quickList', + method: 'get', + params: params + }) +} \ No newline at end of file diff --git a/screen-vue/src/views/desktop/components/Alert.vue b/screen-vue/src/views/desktop/components/Alert.vue index c40c539..8836a84 100644 --- a/screen-vue/src/views/desktop/components/Alert.vue +++ b/screen-vue/src/views/desktop/components/Alert.vue @@ -16,57 +16,40 @@ v-loading="loading" > - - - - - - - + + + + + @@ -77,42 +60,32 @@ @@ -183,6 +156,23 @@ onMounted(() => { overflow: auto; } +:deep(.el-table td), +:deep(.el-table th.is-leaf) { + border-right: none !important; +} +:deep(.el-table__fixed-left) { + border-right: none !important; + box-shadow: none !important; +} +:deep(.el-table__fixed-right) { + border-left: none !important; + box-shadow: none !important; +} +:deep(.el-table__fixed td), +:deep(.el-table__fixed th) { + border-right: none !important; +} + :deep(.el-table__body-wrapper) { overflow: auto; } @@ -207,14 +197,6 @@ onMounted(() => { background: #c0c4cc; } -:deep(.el-table__fixed-left) { - box-shadow: 2px 0 6px rgba(0, 0, 0, 0.05); -} - -:deep(.el-table__fixed-right) { - box-shadow: -2px 0 6px rgba(0, 0, 0, 0.05); -} - :deep(.el-table th) { font-weight: 600; color: #303133; diff --git a/screen-vue/src/views/desktop/components/ChartNote.vue b/screen-vue/src/views/desktop/components/ChartNote.vue new file mode 100644 index 0000000..76552df --- /dev/null +++ b/screen-vue/src/views/desktop/components/ChartNote.vue @@ -0,0 +1,430 @@ + + + + + \ No newline at end of file diff --git a/screen-vue/src/views/desktop/components/Note.vue b/screen-vue/src/views/desktop/components/Note.vue index ee1e7aa..8b8d858 100644 --- a/screen-vue/src/views/desktop/components/Note.vue +++ b/screen-vue/src/views/desktop/components/Note.vue @@ -16,57 +16,46 @@ v-loading="loading" > - - - - - - - + + + + + + + + + @@ -76,43 +65,45 @@ @@ -183,7 +174,23 @@ onMounted(() => { overflow: auto; } -/* 表格滚动条样式优化 */ +:deep(.el-table td), +:deep(.el-table th.is-leaf) { + border-right: none !important; +} +:deep(.el-table__fixed-left) { + border-right: none !important; + box-shadow: none !important; +} +:deep(.el-table__fixed-right) { + border-left: none !important; + box-shadow: none !important; +} +:deep(.el-table__fixed td), +:deep(.el-table__fixed th) { + border-right: none !important; +} + :deep(.el-table__body-wrapper) { overflow: auto; } @@ -208,15 +215,6 @@ onMounted(() => { background: #c0c4cc; } -/* 固定表头样式优化 */ -:deep(.el-table__fixed-left) { - box-shadow: 2px 0 6px rgba(0, 0, 0, 0.05); -} - -:deep(.el-table__fixed-right) { - box-shadow: -2px 0 6px rgba(0, 0, 0, 0.05); -} - :deep(.el-table th) { font-weight: 600; color: #303133; diff --git a/screen-vue/src/views/desktop/components/Quick.vue b/screen-vue/src/views/desktop/components/Quick.vue index 15f79bb..2795fcc 100644 --- a/screen-vue/src/views/desktop/components/Quick.vue +++ b/screen-vue/src/views/desktop/components/Quick.vue @@ -15,9 +15,9 @@ @click="handleCardClick(item)" >
- +
-
{{ item.name }}
+
{{ item.systemName }}
@@ -45,18 +45,22 @@