From dfd968650941021782d7d8c8bd6b763f05b8ebb4 Mon Sep 17 00:00:00 2001 From: tanxinkeji Date: Fri, 5 Dec 2025 17:34:34 +0800 Subject: [PATCH] 11 --- src/main.js | 2 +- src/router/modules/compliance.js | 37 +- src/styles/globalstyle.css | 54 +++ .../compliance/statistics/alertstatistics.vue | 399 ++++++++++++++++++ src/views/compliance/statistics/index.vue | 271 +++++++++++- 5 files changed, 744 insertions(+), 19 deletions(-) create mode 100644 src/styles/globalstyle.css create mode 100644 src/views/compliance/statistics/alertstatistics.vue diff --git a/src/main.js b/src/main.js index 4ad3de7a..fecbad09 100644 --- a/src/main.js +++ b/src/main.js @@ -9,7 +9,7 @@ import 'babel-polyfill' import Vue from 'vue' import 'normalize.css/normalize.css' // A modern alternative to CSS resets - +import './styles/globalstyle.css' // 配置信息 import config from '@/config' window.WKConfig = config diff --git a/src/router/modules/compliance.js b/src/router/modules/compliance.js index 26cfd95f..6fe3144d 100644 --- a/src/router/modules/compliance.js +++ b/src/router/modules/compliance.js @@ -1,26 +1,32 @@ - /** 通讯录路由 */ -import Layout from '@/views/layout/compliance' +import Layout from "@/views/layout/compliance"; const layout = function(meta = {}) { return { - path: '/compliance', + path: "/compliance", component: Layout, meta: { requiresAuth: false, ...meta } - } -} + }; +}; export default [ { ...layout(true), children: [ { - path: 'statistics', - component: () => import('@/views/compliance/statistics/index'), + path: "statistics", + component: () => import("@/views/compliance/statistics/index"), meta: { - title: '申报自检结果统计' + title: "申报自检结果统计" + } + }, + { + path: "alertstatistics", + component: () => import("@/views/compliance/statistics/alertstatistics"), + meta: { + title: "申报自检结果统计" } } ] @@ -29,10 +35,10 @@ export default [ ...layout(false), children: [ { - path: 'keypoint', - component: () => import('@/views/compliance/keypoint/index'), + path: "keypoint", + component: () => import("@/views/compliance/keypoint/index"), meta: { - title: '重点企风险排名统计' + title: "重点企风险排名统计" } } ] @@ -41,13 +47,12 @@ export default [ ...layout(false), children: [ { - path: 'warningStatistics', - component: () => import('@/views/compliance/warningStatistics/index'), + path: "warningStatistics", + component: () => import("@/views/compliance/warningStatistics/index"), meta: { - title: '指标预警排名统计' + title: "指标预警排名统计" } } ] } -] - +]; diff --git a/src/styles/globalstyle.css b/src/styles/globalstyle.css new file mode 100644 index 00000000..94a9bb5f --- /dev/null +++ b/src/styles/globalstyle.css @@ -0,0 +1,54 @@ +/************************* 全局样式 *************************/ + .el-main > .content{ + background-color: transparent !important; + border: 0 !important; + } + .searchBox{ + background-color: #fff; + padding: 15px; + border-radius: 5px; + margin-bottom: 10px; + .el-form-item__label{ + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + } + .expanded{ + display: flex; + align-items: center; + justify-content: flex-end; + .text{ + color:#409EFF; + margin-left: 10px; + font-size: 14px; + cursor: pointer; + display: inline-block; + } + .el-button+.el-button{ + margin-left: 8px; + } + } + } + .tableBox{ + background-color: #fff; + padding:15px 10px 10px 10px; + border-radius: 5px; + .el-dropdown{ + margin-left: 3px; + } + .tableBtn{ + margin-bottom: 10px; + } + .page{ + display: flex; + justify-content: flex-end; + margin-top: 5px; + } + .el-pager li{ + font-weight: normal; + } + } + .blue-text{ + color:#409EFF; + cursor: pointer; + } \ No newline at end of file diff --git a/src/views/compliance/statistics/alertstatistics.vue b/src/views/compliance/statistics/alertstatistics.vue new file mode 100644 index 00000000..36d0b94b --- /dev/null +++ b/src/views/compliance/statistics/alertstatistics.vue @@ -0,0 +1,399 @@ + + + \ No newline at end of file diff --git a/src/views/compliance/statistics/index.vue b/src/views/compliance/statistics/index.vue index 8e829185..58fb943c 100644 --- a/src/views/compliance/statistics/index.vue +++ b/src/views/compliance/statistics/index.vue @@ -1,3 +1,270 @@ \ No newline at end of file +
+ + + +
+
+ + + 导入 + + 导入EXL + 导入Doc + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+
+ + + \ No newline at end of file