From b1215d08f498e460302ed4b6f4fa27423866f043 Mon Sep 17 00:00:00 2001 From: TiaStars Date: Wed, 3 Jul 2024 15:31:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=E6=8E=A5=E6=99=BA=E8=83=BD=E6=8F=90?= =?UTF-8?q?=E9=86=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- .../jin_ji_hu/intelligentReminder/index.js | 15 +- src/assets/styles/public.scss | 51 +++++ .../FixedHeader/components/MenuMain/index.vue | 9 +- src/views/intelligentReminder/index.vue | 36 +++- .../declareAddContent/index.vue | 25 +-- .../declareDetailContent/index.vue | 22 +- .../projectInfo/components/tabFive/index.vue | 116 ++++++----- src/views/project/projectInfo/index.vue | 4 +- src/views/workbench/index.vue | 188 +++++++----------- 10 files changed, 261 insertions(+), 207 deletions(-) diff --git a/package.json b/package.json index 588f82f..6ced82a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ruoyi", - "version": "1.0.202407021010", + "version": "1.0.202407030918", "description": "金鸡湖现代服务业品牌管理系统", "author": "若依", "license": "MIT", diff --git a/src/api/jin_ji_hu/intelligentReminder/index.js b/src/api/jin_ji_hu/intelligentReminder/index.js index 7ce99dc..49f3b37 100644 --- a/src/api/jin_ji_hu/intelligentReminder/index.js +++ b/src/api/jin_ji_hu/intelligentReminder/index.js @@ -18,10 +18,19 @@ export function jSmartRemindersNew(data) { }) } -// 修改智能提醒 -export function jSmartRemindersChange(data) { +// 修改不定期智能提醒 +export function updateNdqChange(data) { return request({ - url: "/jjh/jSmartReminders", + url: "/jjh/jSmartReminders/updateNdq", + method: "put", + data + }) +} + +// 修改定期智能提醒 +export function updateDqChange(data) { + return request({ + url: "/jjh/jSmartReminders/updateDq", method: "put", data }) diff --git a/src/assets/styles/public.scss b/src/assets/styles/public.scss index 2c55049..8f1d9bb 100644 --- a/src/assets/styles/public.scss +++ b/src/assets/styles/public.scss @@ -468,6 +468,7 @@ .remind-top { display: flex; align-items: center; + margin-bottom: 30px; .remind-title { font-weight: bold; font-size: 14px; @@ -479,6 +480,13 @@ display: grid; grid-template-columns: 1fr; grid-gap: 10px; + .el-card { + background-color: #F5F8FA; + border: none; + } + .el-card-border { + border: 1px solid rgba(245, 95, 95, 0.4); // #FD5F5F + } .warn-main { display: flex; justify-content: space-between; @@ -511,6 +519,13 @@ } } } + .different-left { + .warn-main-content { + display: flex; + flex-direction: column; + justify-content: space-between; + } + } .warn-main-right { padding-right: 10px; display: flex; @@ -527,6 +542,7 @@ font-weight: 500; font-size: 14px; color: #134EE6; + margin-bottom: 10px; } .warn-main-right-status { padding: 5px 15px; @@ -1012,6 +1028,8 @@ height: 100%; .main-left { padding: 10px 20px; + height: 100%; + overflow-y: auto; .left-header { // display: flex; // justify-content: space-between; @@ -1029,6 +1047,8 @@ display: grid; grid-template-columns: 1fr; grid-gap: 10px; + // height: 100%; + // overflow-y: auto; .el-card { background-color: #F5F8FA; border: none; @@ -1068,6 +1088,13 @@ } } } + .different-left { + .warn-main-content { + display: flex; + flex-direction: column; + justify-content: space-between; + } + } .warn-main-right { padding-right: 10px; display: flex; @@ -1084,6 +1111,7 @@ font-weight: 500; font-size: 14px; color: #134EE6; + margin-bottom: 10px; } .warn-main-right-status { padding: 5px 15px; @@ -1184,4 +1212,27 @@ .btn-prev,.btn-next { padding: 0px 15px; } +} + +.team-main { + display: flex; + justify-content: space-between; + margin-bottom: 15px; + + &>div:nth-of-type(1) { + color: #8E9298; + width: 25%; + text-align: right; + } + + &>div:nth-of-type(2) { + color: #292F38; + width: 70%; + } + + .activityContent { + p { + margin: 0; + } + } } \ No newline at end of file diff --git a/src/layout/components/FixedHeader/components/MenuMain/index.vue b/src/layout/components/FixedHeader/components/MenuMain/index.vue index d8791db..a06cd4c 100644 --- a/src/layout/components/FixedHeader/components/MenuMain/index.vue +++ b/src/layout/components/FixedHeader/components/MenuMain/index.vue @@ -33,6 +33,8 @@ export default { data() { return { topMenus: [], + // 判断登陆用户是何身份⌈ 01 : 企业 02 : 政务 ⌋ + userType: this.$store.state.user.userType, }; }, @@ -53,6 +55,9 @@ export default { } } }); + if(this.userType == "01") { + this.topMenus[0].meta.title = "首页" + } this.addParentId(this.topMenus, null); this.$store.commit("SET_FIRST_ROUTER", this.topMenus[0].fullPath); }, @@ -75,7 +80,9 @@ export default { //是否当前路由 isCurrentRoute(key) { - console.log(this.$route.path); + if(this.$route.path == '/user/projectInfo' && this.userType == '01' && key.indexOf("/enterpriseService") > -1) { + return true; + } return this.$route.path.indexOf(key) > -1; }, diff --git a/src/views/intelligentReminder/index.vue b/src/views/intelligentReminder/index.vue index c04ef7b..e287431 100644 --- a/src/views/intelligentReminder/index.vue +++ b/src/views/intelligentReminder/index.vue @@ -138,7 +138,7 @@