diff --git a/src/assets/css/element.scss b/src/assets/css/element.scss index c69f671..d4c0fb9 100644 --- a/src/assets/css/element.scss +++ b/src/assets/css/element.scss @@ -1,7 +1,7 @@ :root { --el-header-height: 69px; --el-aside-scrollbar-height: calc(100vh - var(--el-header-height)); - --el-main-scrollbar-height: calc(100vh - var(--el-header-height) - 60px); + --el-main-scrollbar-height: calc(100vh - var(--el-header-height) - 40px); --el-border-color: #273868 !important; // 边框颜色 --el-text-color-regular: #fff !important; --el-fill-color-light: #0e1d44 !important; //hover背景色 diff --git a/src/assets/images/index/icon1.png b/src/assets/images/index/icon1.png new file mode 100644 index 0000000..2556d31 Binary files /dev/null and b/src/assets/images/index/icon1.png differ diff --git a/src/assets/images/index/icon2.png b/src/assets/images/index/icon2.png new file mode 100644 index 0000000..65e6457 Binary files /dev/null and b/src/assets/images/index/icon2.png differ diff --git a/src/assets/images/index/icon3.png b/src/assets/images/index/icon3.png new file mode 100644 index 0000000..7a6e830 Binary files /dev/null and b/src/assets/images/index/icon3.png differ diff --git a/src/request/index.js b/src/request/index.js new file mode 100644 index 0000000..ae5a146 --- /dev/null +++ b/src/request/index.js @@ -0,0 +1,23 @@ +import { post } from "@/request/axios.js"; + +export const getHiddenCount = (params) => + post("/hidden/getCountByUserId", params); // 隐患数量 +export const getMemoryUsage = (params) => + post("/service/notice/getMemoryUsage", params); // 储存空间 +export const getListCheckType = (params) => + post("/listmanager/goIndexCount", params); // 清单检查类型统计 +export const getChecklistCheck = (params) => + post("/checkrecord/goIndexCount", params); // 清单检查完成率统计 +export const getPlatformAnnouncement = (params) => + post("/service/notice/listByIndex", params); // 平台公告 +export const getCorporateAnnouncement = (params) => + post("/noticecorp/listByIndex", params); // 企业公告 +export const getPlatformAnnouncementView = (params) => + post("/service/notice/goEdit", params); // 平台公告查看 +export const getCorporateAnnouncementView = (params) => + post("/noticecorp/goEdit", params); // 企业公告查看 +export const getCalendar = (params) => post("/schedule/getData", params); // 日历 +export const getCalendarAdd = (params) => post("/schedule/add", params); // 日历添加 +export const getCalendarEdit = (params) => post("/schedule/edit", params); // 日历修改 +export const getWorkReminder = (params) => + post("/listmanager/checkListIndex", params); // 工作提醒 diff --git a/src/views/hidden_danger_government/ledger/index.vue b/src/views/hidden_danger_government/ledger/index.vue index 436f6f8..e723ee4 100644 --- a/src/views/hidden_danger_government/ledger/index.vue +++ b/src/views/hidden_danger_government/ledger/index.vue @@ -169,7 +169,7 @@ + + diff --git a/src/views/index/components/announcement_view.vue b/src/views/index/components/announcement_view.vue new file mode 100644 index 0000000..d657662 --- /dev/null +++ b/src/views/index/components/announcement_view.vue @@ -0,0 +1,53 @@ + + + + + {{ info.SYNOPSIS }} + + + 发布人:{{ info.CREATOR }} + 发布时间:{{ info.CREATTIME }} + + + + + + + 附件: + 下载 + + + + + + 关闭 + + + + + + + diff --git a/src/views/index/components/calendar.vue b/src/views/index/components/calendar.vue new file mode 100644 index 0000000..d55042d --- /dev/null +++ b/src/views/index/components/calendar.vue @@ -0,0 +1,159 @@ + + + + + + + + + {{ day.split("-").slice(2).join() }} + + + + + 本日工作提醒 + + + 需进行 {{ wjcNum }} 项隐患排查 + + 已进行 {{ yjcNum }} 项隐患排查 + + + + {{ currentDate }}日程安排 + + + {{ item.desc }} + + 暂无工作安排 + + + + + + + + + diff --git a/src/views/index/components/checklist_check.vue b/src/views/index/components/checklist_check.vue new file mode 100644 index 0000000..0807f54 --- /dev/null +++ b/src/views/index/components/checklist_check.vue @@ -0,0 +1,135 @@ + + + + + + 搜索 + + + + + + + + + diff --git a/src/views/index/components/count.vue b/src/views/index/components/count.vue new file mode 100644 index 0000000..3163d35 --- /dev/null +++ b/src/views/index/components/count.vue @@ -0,0 +1,140 @@ + + + + + + + + + + 已验收 + + + + 已超期 + + + + 待整改 + + + + + + + + + + + + + 存在风险 + + + + 辨识部位 + + + + 风险点(单元) + + + + + + + + + + + + + 已使用存储 + + + + + + + + + + + diff --git a/src/views/index/components/list_check_type.vue b/src/views/index/components/list_check_type.vue new file mode 100644 index 0000000..c686231 --- /dev/null +++ b/src/views/index/components/list_check_type.vue @@ -0,0 +1,136 @@ + + + + + + + + + diff --git a/src/views/index/components/risk_classification.vue b/src/views/index/components/risk_classification.vue new file mode 100644 index 0000000..89e49d4 --- /dev/null +++ b/src/views/index/components/risk_classification.vue @@ -0,0 +1,118 @@ + + + + + + + + + diff --git a/src/views/index/components/schedule_add.vue b/src/views/index/components/schedule_add.vue new file mode 100644 index 0000000..6365069 --- /dev/null +++ b/src/views/index/components/schedule_add.vue @@ -0,0 +1,84 @@ + + + + + + + + + + + + 关闭 + 保存 + + + + + + + diff --git a/src/views/index/index.vue b/src/views/index/index.vue index 677f24b..7e93c5f 100644 --- a/src/views/index/index.vue +++ b/src/views/index/index.vue @@ -1,7 +1,53 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + - + - +
+ + + + {{ day.split("-").slice(2).join() }} +