diff --git a/src/api/dashboard.js b/src/api/dashboard.js index 96ce688c..d08f398d 100644 --- a/src/api/dashboard.js +++ b/src/api/dashboard.js @@ -28,6 +28,16 @@ const getOverseasStandardList = (params) => postAction('/laws/standard/overseas/ // 企标的高级搜索,查询列表数据 const getEnterStandardList = (params) => postAction('/laws/standard/enterprise/getCommonPageNoPermissions', params) +// 快捷入口-显示模块列表 +const getQuickEntryModuleList = (params) => getAction('/home/lawsHomeQuickAccess/queryMenuList', params) +// 快捷入口可选列表 +const getQuickEntryList = (params) => getAction('/home/lawsHomeQuickAccess/queryPermissionMenuList', params) +// 快捷入口-保存显示模块列表 +const saveQuickEntryModuleList = (params) => postAction('/home/lawsHomeQuickAccess/saveMenu', params) + +// 待办任务-列表 +const getTodoList = (params) => getAction('/home/lawsHomeBacklogTask/queryBacklogTaskList', params) + export { getSearchHistoryData, deleteSearchHistoryById, @@ -41,5 +51,9 @@ export { getEnterStandardQuery, getDomesticStandardList, getOverseasStandardList, - getEnterStandardList + getEnterStandardList, + getQuickEntryModuleList, + getQuickEntryList, + saveQuickEntryModuleList, + getTodoList } diff --git a/src/assets/image/dashboard/browsing-history.png b/src/assets/image/dashboard/browsing-history.png new file mode 100644 index 00000000..2644f52a Binary files /dev/null and b/src/assets/image/dashboard/browsing-history.png differ diff --git a/src/assets/image/dashboard/contact-management.png b/src/assets/image/dashboard/contact-management.png new file mode 100644 index 00000000..82126624 Binary files /dev/null and b/src/assets/image/dashboard/contact-management.png differ diff --git a/src/assets/image/dashboard/custom-comparison.png b/src/assets/image/dashboard/custom-comparison.png new file mode 100644 index 00000000..fd65cbf4 Binary files /dev/null and b/src/assets/image/dashboard/custom-comparison.png differ diff --git a/src/assets/image/dashboard/data-dictionary.png b/src/assets/image/dashboard/data-dictionary.png new file mode 100644 index 00000000..66dba90a Binary files /dev/null and b/src/assets/image/dashboard/data-dictionary.png differ diff --git a/src/assets/image/dashboard/department-management.png b/src/assets/image/dashboard/department-management.png new file mode 100644 index 00000000..04cfc065 Binary files /dev/null and b/src/assets/image/dashboard/department-management.png differ diff --git a/src/assets/image/dashboard/document-splitting.png b/src/assets/image/dashboard/document-splitting.png new file mode 100644 index 00000000..7ba85df2 Binary files /dev/null and b/src/assets/image/dashboard/document-splitting.png differ diff --git a/src/assets/image/dashboard/domestic-standards.png b/src/assets/image/dashboard/domestic-standards.png new file mode 100644 index 00000000..ea216741 Binary files /dev/null and b/src/assets/image/dashboard/domestic-standards.png differ diff --git a/src/assets/image/dashboard/dynamic-message.png b/src/assets/image/dashboard/dynamic-message.png new file mode 100644 index 00000000..cdaca821 Binary files /dev/null and b/src/assets/image/dashboard/dynamic-message.png differ diff --git a/src/assets/image/dashboard/enterprise-standard.png b/src/assets/image/dashboard/enterprise-standard.png new file mode 100644 index 00000000..742127f8 Binary files /dev/null and b/src/assets/image/dashboard/enterprise-standard.png differ diff --git a/src/assets/image/dashboard/friend-link-management.png b/src/assets/image/dashboard/friend-link-management.png new file mode 100644 index 00000000..0e966daf Binary files /dev/null and b/src/assets/image/dashboard/friend-link-management.png differ diff --git a/src/assets/image/dashboard/internal-working-group.png b/src/assets/image/dashboard/internal-working-group.png new file mode 100644 index 00000000..e32f7910 Binary files /dev/null and b/src/assets/image/dashboard/internal-working-group.png differ diff --git a/src/assets/image/dashboard/my-favorites.png b/src/assets/image/dashboard/my-favorites.png new file mode 100644 index 00000000..041c6df6 Binary files /dev/null and b/src/assets/image/dashboard/my-favorites.png differ diff --git a/src/assets/image/dashboard/my-messages.png b/src/assets/image/dashboard/my-messages.png new file mode 100644 index 00000000..64ae0acf Binary files /dev/null and b/src/assets/image/dashboard/my-messages.png differ diff --git a/src/assets/image/dashboard/new-old-split-comparison.png b/src/assets/image/dashboard/new-old-split-comparison.png new file mode 100644 index 00000000..6dfb65d8 Binary files /dev/null and b/src/assets/image/dashboard/new-old-split-comparison.png differ diff --git a/src/assets/image/dashboard/new-process.png b/src/assets/image/dashboard/new-process.png new file mode 100644 index 00000000..74472d73 Binary files /dev/null and b/src/assets/image/dashboard/new-process.png differ diff --git a/src/assets/image/dashboard/non-compliance-items.png b/src/assets/image/dashboard/non-compliance-items.png new file mode 100644 index 00000000..a8778574 Binary files /dev/null and b/src/assets/image/dashboard/non-compliance-items.png differ diff --git a/src/assets/image/dashboard/overseas-standards.png b/src/assets/image/dashboard/overseas-standards.png new file mode 100644 index 00000000..a128d0e5 Binary files /dev/null and b/src/assets/image/dashboard/overseas-standards.png differ diff --git a/src/assets/image/dashboard/process-center.png b/src/assets/image/dashboard/process-center.png new file mode 100644 index 00000000..0821f062 Binary files /dev/null and b/src/assets/image/dashboard/process-center.png differ diff --git a/src/assets/image/dashboard/process-configuration.png b/src/assets/image/dashboard/process-configuration.png new file mode 100644 index 00000000..90c823e9 Binary files /dev/null and b/src/assets/image/dashboard/process-configuration.png differ diff --git a/src/assets/image/dashboard/project-library.png b/src/assets/image/dashboard/project-library.png new file mode 100644 index 00000000..2d2ed025 Binary files /dev/null and b/src/assets/image/dashboard/project-library.png differ diff --git a/src/assets/image/dashboard/questions-answers-library.png b/src/assets/image/dashboard/questions-answers-library.png new file mode 100644 index 00000000..5f7e8287 Binary files /dev/null and b/src/assets/image/dashboard/questions-answers-library.png differ diff --git a/src/assets/image/dashboard/received-shares.png b/src/assets/image/dashboard/received-shares.png new file mode 100644 index 00000000..d306befa Binary files /dev/null and b/src/assets/image/dashboard/received-shares.png differ diff --git a/src/assets/image/dashboard/resource-center.png b/src/assets/image/dashboard/resource-center.png new file mode 100644 index 00000000..e20daed0 Binary files /dev/null and b/src/assets/image/dashboard/resource-center.png differ diff --git a/src/assets/image/dashboard/role-center.png b/src/assets/image/dashboard/role-center.png new file mode 100644 index 00000000..f787cc10 Binary files /dev/null and b/src/assets/image/dashboard/role-center.png differ diff --git a/src/assets/image/dashboard/shared-items.png b/src/assets/image/dashboard/shared-items.png new file mode 100644 index 00000000..11a02086 Binary files /dev/null and b/src/assets/image/dashboard/shared-items.png differ diff --git a/src/assets/image/dashboard/soliciting-opinions.png b/src/assets/image/dashboard/soliciting-opinions.png new file mode 100644 index 00000000..d8580903 Binary files /dev/null and b/src/assets/image/dashboard/soliciting-opinions.png differ diff --git a/src/assets/image/dashboard/standard-audit.png b/src/assets/image/dashboard/standard-audit.png new file mode 100644 index 00000000..24d04ecb Binary files /dev/null and b/src/assets/image/dashboard/standard-audit.png differ diff --git a/src/assets/image/dashboard/standard-level-mapping.png b/src/assets/image/dashboard/standard-level-mapping.png new file mode 100644 index 00000000..b8044542 Binary files /dev/null and b/src/assets/image/dashboard/standard-level-mapping.png differ diff --git a/src/assets/image/dashboard/standard-plan.png b/src/assets/image/dashboard/standard-plan.png new file mode 100644 index 00000000..b8b16d75 Binary files /dev/null and b/src/assets/image/dashboard/standard-plan.png differ diff --git a/src/assets/image/dashboard/standard-promotion.png b/src/assets/image/dashboard/standard-promotion.png new file mode 100644 index 00000000..54990482 Binary files /dev/null and b/src/assets/image/dashboard/standard-promotion.png differ diff --git a/src/assets/image/dashboard/standard-review-minutes.png b/src/assets/image/dashboard/standard-review-minutes.png new file mode 100644 index 00000000..86a3d0e6 Binary files /dev/null and b/src/assets/image/dashboard/standard-review-minutes.png differ diff --git a/src/assets/image/dashboard/standard-review-plan.png b/src/assets/image/dashboard/standard-review-plan.png new file mode 100644 index 00000000..8158dacf Binary files /dev/null and b/src/assets/image/dashboard/standard-review-plan.png differ diff --git a/src/assets/image/dashboard/standard-warning.png b/src/assets/image/dashboard/standard-warning.png new file mode 100644 index 00000000..676bdf50 Binary files /dev/null and b/src/assets/image/dashboard/standard-warning.png differ diff --git a/src/assets/image/dashboard/standardization-activities.png b/src/assets/image/dashboard/standardization-activities.png new file mode 100644 index 00000000..9d977778 Binary files /dev/null and b/src/assets/image/dashboard/standardization-activities.png differ diff --git a/src/assets/image/dashboard/tag-management.png b/src/assets/image/dashboard/tag-management.png new file mode 100644 index 00000000..515d5406 Binary files /dev/null and b/src/assets/image/dashboard/tag-management.png differ diff --git a/src/assets/image/dashboard/user-center.png b/src/assets/image/dashboard/user-center.png new file mode 100644 index 00000000..abee8139 Binary files /dev/null and b/src/assets/image/dashboard/user-center.png differ diff --git a/src/assets/image/dashboard/vehicle-project-library.png b/src/assets/image/dashboard/vehicle-project-library.png new file mode 100644 index 00000000..8bd32a00 Binary files /dev/null and b/src/assets/image/dashboard/vehicle-project-library.png differ diff --git a/src/common/lang/dashboard/en.js b/src/common/lang/dashboard/en.js index 6068cf3a..c186fa22 100644 --- a/src/common/lang/dashboard/en.js +++ b/src/common/lang/dashboard/en.js @@ -26,5 +26,23 @@ module.exports = { releaseDate: '发布日期', materialDate: '实施日期', standardStatus: '标准状态' + }, + // 快捷入口 + quickEnter: { + quickEnter: '快捷入口', + menuManage: '菜单管理', + custom: '自定义', + optionModules: '可选模块', + personalDisplayModule: '个人展示模块', + itemUnit: '项', + itemsUnit: '项', + listEmpty: '列表为空', + pleaseEnterSearchContent: '请输入搜索内容', + maxSelectedNine: '最多选择9个模块' + }, + // 待办任务 + todoTask: { + todoTask: '待办任务', + more: '更多' } } diff --git a/src/common/lang/dashboard/zh.js b/src/common/lang/dashboard/zh.js index c6cae41c..6149f545 100644 --- a/src/common/lang/dashboard/zh.js +++ b/src/common/lang/dashboard/zh.js @@ -26,5 +26,23 @@ module.exports = { releaseDate: '发布日期', materialDate: '实施日期', standardStatus: '标准状态' + }, + // 快捷入口 + quickEnter: { + quickEnter: '快捷入口', + menuManage: '菜单管理', + custom: '自定义', + optionModules: '可选模块', + personalDisplayModule: '个人展示模块', + itemUnit: '项', + itemsUnit: '项', + listEmpty: '列表为空', + pleaseEnterSearchContent: '请输入搜索内容', + maxSelectedNine: '最多选择9个模块' + }, + // 待办任务 + todoTask: { + todoTask: '待办任务', + more: '更多' } } diff --git a/src/views/dashboard/modules/FriendLinkCard.vue b/src/views/dashboard/modules/FriendLinkCard.vue index 43c7b9a3..9796e661 100644 --- a/src/views/dashboard/modules/FriendLinkCard.vue +++ b/src/views/dashboard/modules/FriendLinkCard.vue @@ -75,11 +75,17 @@ export default { text-overflow: ellipsis; white-space: nowrap; font-size: 16px; - font-family: PingFang SC-Regular, PingFang SC; + font-family: PingFang SC-Regular, PingFang SC, sans-serif; font-weight: 400; color: @primary-color; text-align: center; background-image: url('../../../assets/image/dashboardLinkBack.png'); cursor: pointer; } +@media screen and (max-width: 1366px) { + .content-div { + height: 40px; + line-height: 40px; + } +} diff --git a/src/views/dashboard/modules/MenuManageModal.vue b/src/views/dashboard/modules/MenuManageModal.vue new file mode 100644 index 00000000..1536c7d2 --- /dev/null +++ b/src/views/dashboard/modules/MenuManageModal.vue @@ -0,0 +1,145 @@ + + + + + diff --git a/src/views/dashboard/modules/QuickEnterCard.vue b/src/views/dashboard/modules/QuickEnterCard.vue index eaa159b1..4a52647c 100644 --- a/src/views/dashboard/modules/QuickEnterCard.vue +++ b/src/views/dashboard/modules/QuickEnterCard.vue @@ -2,38 +2,124 @@
-

快捷入口

-

菜单管理

+

{{ this.$t('dashboard.quickEnter.quickEnter') }}

+

{{ this.$t('dashboard.quickEnter.menuManage') }}

-
- -

{{ item.name }}

+
+ + + + +

{{ item.name }}

+
-
- +
+
+ + @@ -45,13 +131,14 @@ export default { //flex-wrap: wrap; //justify-content: space-between; display: grid; - grid-template-columns: repeat(auto-fill, 100px); + grid-template-columns: repeat(auto-fill, calc((100% - 20px) / 3)); grid-gap: 10px; grid-auto-flow: row; margin-top: 10px; & > div { - width: 100px; - height: 100px; + //width: 100px; + //height: 100px; + min-height: 50px; border-radius: 8px 8px 8px 8px; display: flex; flex-direction: column; @@ -59,21 +146,33 @@ export default { align-items: center; } .content-div { + // (总高度 - 内边距 - 标题 - 上下边距) / 3 + height: calc((306px - 48px - 31px - 20px) / 3); + cursor: pointer; background: rgba(213,44,38,0.08); + .icon-img { + width: 27px; + } .iconfont { font-size: 27px; color: @primary-color; } p { + width: 90%; + text-align: center; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; margin-bottom: 0; font-size: 16px; - font-family: PingFang SC, PingFang SC; + font-family: PingFang SC, PingFang SC, sans-serif; font-weight: 400; color: #000000; line-height: 28px; } } .plus-div { + cursor: pointer; border: 1px dashed @primary-color; box-sizing: border-box; .anticon { @@ -81,4 +180,17 @@ export default { } } } +.text-primary-color { + color: @primary-color +} + +@media screen and (max-width: 1366px) { + .content-wrapper { + .content-div { + p { + font-size: 14px; + } + } + } +} diff --git a/src/views/dashboard/modules/SearchAndWarningCard.vue b/src/views/dashboard/modules/SearchAndWarningCard.vue index 00053f66..874ba146 100644 --- a/src/views/dashboard/modules/SearchAndWarningCard.vue +++ b/src/views/dashboard/modules/SearchAndWarningCard.vue @@ -20,10 +20,13 @@
新车型实施预警
在产车实施预警
+ diff --git a/src/views/dashboard/modules/ToDoTaskCard.vue b/src/views/dashboard/modules/ToDoTaskCard.vue index 793b2357..1a67c0b1 100644 --- a/src/views/dashboard/modules/ToDoTaskCard.vue +++ b/src/views/dashboard/modules/ToDoTaskCard.vue @@ -1,15 +1,209 @@ -