--no commit message
Showing
8 changed files
with
48 additions
and
21 deletions
1 | <?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1660118748190" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2584" xmlns:xlink="http://www.w3.org/1999/xlink" width="16" height="16"><defs><style type="text/css">@font-face { font-family: feedback-iconfont; src: url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff2?t=1630033759944") format("woff2"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff?t=1630033759944") format("woff"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.ttf?t=1630033759944") format("truetype"); } | 1 | <?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1660118748190" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2584" xmlns:xlink="http://www.w3.org/1999/xlink" width="16" height="16"><defs><style type="text/css">@font-face { font-family: feedback-iconfont; src: url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff2?t=1630033759944") format("woff2"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff?t=1630033759944") format("woff"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.ttf?t=1630033759944") format("truetype"); } |
2 | </style></defs><path d="M938.666667 98.773333c16.128 0 29.226667 13.098667 29.226666 29.226667v528.64A114.56 114.56 0 0 1 853.333333 771.2h-334.208v68.437333h228.693334a29.226667 29.226667 0 0 1 4.352 58.154667l-4.309334 0.341333H236.928a29.226667 29.226667 0 0 1-4.309333-58.154666l4.266666-0.298667 223.786667-0.042667v-68.437333h-356.266667a29.226667 29.226667 0 0 1-28.928-24.917333l-0.298666-4.266667V213.333333a114.56 114.56 0 0 1 114.56-114.56z m-29.269334 58.453334H189.738667c-30.976 0-56.106667 25.130667-56.106667 56.106666v499.413334H853.333333c29.013333 0 52.906667-22.058667 55.808-50.346667l0.298667-5.76-0.042667-499.413333zM640 292.565333a146.304 146.304 0 0 1 122.026667 226.986667l51.029333 50.986667a29.269333 29.269333 0 0 1-37.717333 44.458666l-3.626667-3.072-51.029333-51.029333A146.304 146.304 0 1 1 640 292.522667z m-271.573333 210.773334a29.226667 29.226667 0 0 1 4.352 58.154666l-4.352 0.298667H273.066667a29.226667 29.226667 0 0 1-4.309334-58.112l4.309334-0.341333h95.36zM640 351.146667a87.765333 87.765333 0 1 0 0 175.530666 87.765333 87.765333 0 0 0 0-175.530666z m-189.226667-71.125334a29.226667 29.226667 0 0 1 4.266667 58.154667l-4.266667 0.298667H273.066667a29.226667 29.226667 0 0 1-4.309334-58.154667l4.309334-0.298667h177.706666z" fill="#ffffff" p-id="2585"></path></svg> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
2 | </style></defs><path d="M938.666667 98.773333c16.128 0 29.226667 13.098667 29.226666 29.226667v528.64A114.56 114.56 0 0 1 853.333333 771.2h-334.208v68.437333h228.693334a29.226667 29.226667 0 0 1 4.352 58.154667l-4.309334 0.341333H236.928a29.226667 29.226667 0 0 1-4.309333-58.154666l4.266666-0.298667 223.786667-0.042667v-68.437333h-356.266667a29.226667 29.226667 0 0 1-28.928-24.917333l-0.298666-4.266667V213.333333a114.56 114.56 0 0 1 114.56-114.56z m-29.269334 58.453334H189.738667c-30.976 0-56.106667 25.130667-56.106667 56.106666v499.413334H853.333333c29.013333 0 52.906667-22.058667 55.808-50.346667l0.298667-5.76-0.042667-499.413333zM640 292.565333a146.304 146.304 0 0 1 122.026667 226.986667l51.029333 50.986667a29.269333 29.269333 0 0 1-37.717333 44.458666l-3.626667-3.072-51.029333-51.029333A146.304 146.304 0 1 1 640 292.522667z m-271.573333 210.773334a29.226667 29.226667 0 0 1 4.352 58.154666l-4.352 0.298667H273.066667a29.226667 29.226667 0 0 1-4.309334-58.112l4.309334-0.341333h95.36zM640 351.146667a87.765333 87.765333 0 1 0 0 175.530666 87.765333 87.765333 0 0 0 0-175.530666z m-189.226667-71.125334a29.226667 29.226667 0 0 1 4.266667 58.154667l-4.266667 0.298667H273.066667a29.226667 29.226667 0 0 1-4.309334-58.154667l4.309334-0.298667h177.706666z" p-id="2585"></path></svg> | ||
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-03-24 17:10:02 | 4 | * @LastEditTime: 2023-03-30 10:39:40 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div v-if="!item.hidden"> | 7 | <div v-if="!item.hidden"> |
... | @@ -68,11 +68,10 @@ export default { | ... | @@ -68,11 +68,10 @@ export default { |
68 | return true | 68 | return true |
69 | } | 69 | } |
70 | }) | 70 | }) |
71 | |||
72 | // When there is only one child router, the child router is displayed by default | 71 | // When there is only one child router, the child router is displayed by default |
73 | // if (showingChildren.length === 1) { | 72 | if (showingChildren.length >= 1 && (showingChildren[0].path == 'ywjr' || showingChildren[0].path == "sbbwcx" || showingChildren[0].path == "dbrzcx")) { |
74 | // return true | 73 | return true |
75 | // } | 74 | } |
76 | 75 | ||
77 | // Show parent if there are no child router to display | 76 | // Show parent if there are no child router to display |
78 | if (showingChildren.length === 0) { | 77 | if (showingChildren.length === 0) { | ... | ... |
... | @@ -77,7 +77,7 @@ export const asyncRoutes = [ | ... | @@ -77,7 +77,7 @@ export const asyncRoutes = [ |
77 | path: 'sbbwcx', | 77 | path: 'sbbwcx', |
78 | component: () => import('@/views/sthj/sbbwcx/index'), | 78 | component: () => import('@/views/sthj/sbbwcx/index'), |
79 | name: 'sbbwcx', | 79 | name: 'sbbwcx', |
80 | meta: { title: '上报报文', icon: 'zsgl' } | 80 | meta: { title: '数据上报', icon: 'zsgl' } |
81 | }, | 81 | }, |
82 | { | 82 | { |
83 | path: 'dbrzcx', | 83 | path: 'dbrzcx', | ... | ... |
... | @@ -784,6 +784,18 @@ | ... | @@ -784,6 +784,18 @@ |
784 | } | 784 | } |
785 | } | 785 | } |
786 | 786 | ||
787 | // 个人信息 | ||
788 | .information { | ||
789 | height: calc(100% - 58px); | ||
790 | display: flex; | ||
791 | flex-direction: column; | ||
792 | .from-clues-content { | ||
793 | flex: 1; | ||
794 | height: 100%; | ||
795 | } | ||
796 | } | ||
797 | |||
798 | |||
787 | // 修改基本信息界面样式 | 799 | // 修改基本信息界面样式 |
788 | .informationbase { | 800 | .informationbase { |
789 | margin: 0.1875rem 1.0417rem; | 801 | margin: 0.1875rem 1.0417rem; | ... | ... |
... | @@ -21,9 +21,11 @@ | ... | @@ -21,9 +21,11 @@ |
21 | transition: 0s width ease-in-out, 0s padding-left ease-in-out, | 21 | transition: 0s width ease-in-out, 0s padding-left ease-in-out, |
22 | 0s padding-right ease-in-out; | 22 | 0s padding-right ease-in-out; |
23 | } | 23 | } |
24 | |||
24 | .el-scrollbar { | 25 | .el-scrollbar { |
25 | height: 100%; | 26 | height: 100%; |
26 | } | 27 | } |
28 | |||
27 | .scrollbar-wrapper { | 29 | .scrollbar-wrapper { |
28 | overflow-x: hidden !important; | 30 | overflow-x: hidden !important; |
29 | margin-right: 0 !important; | 31 | margin-right: 0 !important; |
... | @@ -64,14 +66,15 @@ | ... | @@ -64,14 +66,15 @@ |
64 | 66 | ||
65 | // 有子级 | 67 | // 有子级 |
66 | .el-submenu__title { | 68 | .el-submenu__title { |
67 | padding-left: 10px !important; | ||
68 | @include font_color("menuText"); | 69 | @include font_color("menuText"); |
69 | background-color: transparent !important; | 70 | background-color: transparent !important; |
70 | 71 | ||
71 | &:hover { | 72 | &:hover { |
72 | color: $subMenuActiveText !important; | 73 | color: $subMenuActiveText !important; |
73 | @include font_color("submenuColor"); | 74 | @include font_color("submenuColor"); |
75 | border-right: 5px solid #36CEB6; | ||
74 | @include background_color("submenuBg"); | 76 | @include background_color("submenuBg"); |
77 | box-sizing: border-box; | ||
75 | 78 | ||
76 | .svg-icon, | 79 | .svg-icon, |
77 | i, | 80 | i, |
... | @@ -91,6 +94,8 @@ | ... | @@ -91,6 +94,8 @@ |
91 | &:hover { | 94 | &:hover { |
92 | @include font_color("submenuColor"); | 95 | @include font_color("submenuColor"); |
93 | @include background_color("submenuBg"); | 96 | @include background_color("submenuBg"); |
97 | border-right: 5px solid #36CEB6; | ||
98 | box-sizing: border-box; | ||
94 | 99 | ||
95 | .svg-icon { | 100 | .svg-icon { |
96 | color: #1ea6f8 !important; | 101 | color: #1ea6f8 !important; |
... | @@ -106,7 +111,8 @@ | ... | @@ -106,7 +111,8 @@ |
106 | .el-submenu__title.is-active { | 111 | .el-submenu__title.is-active { |
107 | @include background_color("submenuBg"); | 112 | @include background_color("submenuBg"); |
108 | @include font_color("submenuColor"); | 113 | @include font_color("submenuColor"); |
109 | 114 | border-right: 5px solid #36CEB6; | |
115 | box-sizing: border-box; | ||
110 | .svg-icon { | 116 | .svg-icon { |
111 | color: #1ea6f8 !important; | 117 | color: #1ea6f8 !important; |
112 | } | 118 | } |
... | @@ -319,6 +325,7 @@ | ... | @@ -319,6 +325,7 @@ |
319 | .el-submenu.is-active .el-submenu__title { | 325 | .el-submenu.is-active .el-submenu__title { |
320 | @include background_color("submenuBg"); | 326 | @include background_color("submenuBg"); |
321 | @include font_color("submenuColor"); | 327 | @include font_color("submenuColor"); |
328 | border-right: 5px solid #36CEB6; | ||
322 | } | 329 | } |
323 | 330 | ||
324 | .el-submenu.is-active .el-submenu__title:hover { | 331 | .el-submenu.is-active .el-submenu__title:hover { |
... | @@ -334,6 +341,15 @@ | ... | @@ -334,6 +341,15 @@ |
334 | align-items: center; | 341 | align-items: center; |
335 | } | 342 | } |
336 | 343 | ||
344 | .sidebar-container .submenu-title-noDropdown>i, | ||
345 | .sidebar-container .el-submenu__title>i { | ||
346 | color: #6D7278 !important; | ||
347 | } | ||
348 | |||
349 | .el-submenu.is-active .el-submenu__title>i { | ||
350 | color: #FFFFFF !important; | ||
351 | } | ||
352 | |||
337 | .el-submenu__title span { | 353 | .el-submenu__title span { |
338 | white-space: normal; | 354 | white-space: normal; |
339 | word-break: break-all; | 355 | word-break: break-all; | ... | ... |
... | @@ -111,7 +111,7 @@ export default { | ... | @@ -111,7 +111,7 @@ export default { |
111 | let code = this.BASE_API.CODE; | 111 | let code = this.BASE_API.CODE; |
112 | localStorage.setItem("token", `Bearer ${res.content}`); | 112 | localStorage.setItem("token", `Bearer ${res.content}`); |
113 | const { result: getMenuData } = (await getMenuInfo(code)) || []; | 113 | const { result: getMenuData } = (await getMenuInfo(code)) || []; |
114 | let path1 = JSON.parse(getMenuData[0].metadata)?.path + '/' + JSON.parse(getMenuData[0].children[0].metadata)?.path | 114 | let path1 = JSON.parse(getMenuData[1].metadata)?.path + '/' + JSON.parse(getMenuData[1].children[0].metadata)?.path |
115 | //登录成功后需判断有无重定向,没有重定向则跳转首页 | 115 | //登录成功后需判断有无重定向,没有重定向则跳转首页 |
116 | const accessRoutes = await this.$store.dispatch( | 116 | const accessRoutes = await this.$store.dispatch( |
117 | "permission/generateRoutes", | 117 | "permission/generateRoutes", | ... | ... |
... | @@ -37,8 +37,8 @@ | ... | @@ -37,8 +37,8 @@ |
37 | </el-form> | 37 | </el-form> |
38 | </div> | 38 | </div> |
39 | <div class="from-clues-content"> | 39 | <div class="from-clues-content"> |
40 | <lb-table :pagination="false" @size-change="handleSizeChange" :calcHeight="200" | 40 | <lb-table :pagination="false" @size-change="handleSizeChange" :calcHeight="BASE_API.calcHeight" |
41 | @p-current-change="handleCurrentChange" :column="tableData.columns" :data="listdata" | 41 | @p-current-change="handleCurrentChange" :column="tableData.columns" :data="listdata" :expand-row-keys="keyList" |
42 | row-key="dictid"> | 42 | row-key="dictid"> |
43 | </lb-table> | 43 | </lb-table> |
44 | </div> | 44 | </div> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Author: xiaomiao 1158771342@qq.com | 2 | * @Author: xiaomiao 1158771342@qq.com |
3 | * @Date: 2023-03-09 20:54:28 | 3 | * @Date: 2023-03-09 20:54:28 |
4 | * @LastEditors: xiaomiao 1158771342@qq.com | 4 | * @LastEditors: Please set LastEditors |
5 | * @LastEditTime: 2023-03-27 14:26:49 | 5 | * @LastEditTime: 2023-03-30 11:21:49 |
6 | * @FilePath: \上报\bdcjg-web\src\views\system\information\index.vue | 6 | * @FilePath: \上报\bdcjg-web\src\views\system\information\index.vue |
7 | * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE | 7 | * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE |
8 | --> | 8 | --> |
... | @@ -10,7 +10,7 @@ | ... | @@ -10,7 +10,7 @@ |
10 | <div class="information from-clues"> | 10 | <div class="information from-clues"> |
11 | <div class="from-clues-header"> | 11 | <div class="from-clues-header"> |
12 | <el-form ref="ruleForm" label-width="100px"> | 12 | <el-form ref="ruleForm" label-width="100px"> |
13 | <el-form-item v-if="BASE_API.THEME=='jg'"> | 13 | <el-form-item v-if="BASE_API.THEME == 'jg'"> |
14 | <Breadcrumb /> | 14 | <Breadcrumb /> |
15 | </el-form-item> | 15 | </el-form-item> |
16 | <el-row class="mb-5"> | 16 | <el-row class="mb-5"> |
... | @@ -25,7 +25,7 @@ | ... | @@ -25,7 +25,7 @@ |
25 | </el-row> | 25 | </el-row> |
26 | </el-form> | 26 | </el-form> |
27 | </div> | 27 | </div> |
28 | <div class="from-clues-content boxin"> | 28 | <div class="from-clues-content"> |
29 | <div class="contentbox"> | 29 | <div class="contentbox"> |
30 | <base-set v-if="isshow" :userInfo="userData" /> | 30 | <base-set v-if="isshow" :userInfo="userData" /> |
31 | <password-edit v-if="!isshow" :userInfo="userData" /> | 31 | <password-edit v-if="!isshow" :userInfo="userData" /> |
... | @@ -34,10 +34,10 @@ | ... | @@ -34,10 +34,10 @@ |
34 | </div> | 34 | </div> |
35 | </template> | 35 | </template> |
36 | <script> | 36 | <script> |
37 | import "@/utils/flexible.js"; | 37 | import "@/utils/flexible.js"; |
38 | import BaseSet from "./base-set.vue"; | 38 | import BaseSet from "./base-set.vue"; |
39 | import PasswordEdit from "./password-edit.vue"; | 39 | import PasswordEdit from "./password-edit.vue"; |
40 | export default { | 40 | export default { |
41 | components: { | 41 | components: { |
42 | BaseSet, | 42 | BaseSet, |
43 | PasswordEdit, | 43 | PasswordEdit, |
... | @@ -63,7 +63,7 @@ | ... | @@ -63,7 +63,7 @@ |
63 | this.isshow = false; | 63 | this.isshow = false; |
64 | }, | 64 | }, |
65 | }, | 65 | }, |
66 | }; | 66 | }; |
67 | </script> | 67 | </script> |
68 | 68 | ||
69 | <style scoped lang="scss"> | 69 | <style scoped lang="scss"> | ... | ... |
-
Please register or sign in to post a comment