Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smart_gov_platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
smart_gov_platform
Commits
ea8f2a51
Commit
ea8f2a51
authored
Jan 25, 2024
by
赵啸非
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
b7b2f2a8
9247e58b
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
25 additions
and
8 deletions
+25
-8
base-manager-ui/admin/src/pages/basicset/surface/components/RightPreview.vue
...in/src/pages/basicset/surface/components/RightPreview.vue
+16
-0
base-manager/src/main/java/com/mortals/xhx/module/window/model/vo/WindowVo.java
...java/com/mortals/xhx/module/window/model/vo/WindowVo.java
+3
-2
portal-manager-ui/admin/src/views/signIn/signIn.vue
portal-manager-ui/admin/src/views/signIn/signIn.vue
+4
-4
portal-manager/src/main/java/com/mortals/xhx/module/role/service/impl/RoleAuthServiceImpl.java
...als/xhx/module/role/service/impl/RoleAuthServiceImpl.java
+1
-1
portal-manager/src/main/java/com/mortals/xhx/module/role/service/impl/RoleServiceImpl.java
...mortals/xhx/module/role/service/impl/RoleServiceImpl.java
+1
-1
No files found.
base-manager-ui/admin/src/pages/basicset/surface/components/RightPreview.vue
View file @
ea8f2a51
...
...
@@ -23,6 +23,9 @@
:key="v.id"
>
<img
:src=
"v.previewImagePath"
/>
<div
class=
"name"
>
{{
v
.
name
}}
</div>
</div>
</div>
<a-empty
v-else
:image=
"simpleImage"
/>
...
...
@@ -180,12 +183,25 @@ export default {
margin-bottom: 6px;
height: 120px;
background-color: #ececec;
position: relative;
cursor: pointer;
img {
width: 100%;
height: 100%;
object-fit: contain;
}
.name {
width: 100%;
background-color: rgba(0, 0, 0, 0.3);
color: #fff;
position: absolute;
left: 0px;
bottom: 0px;
text-align: center;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
}
.active {
border: 4px solid #ff8522;
...
...
base-manager/src/main/java/com/mortals/xhx/module/window/model/vo/WindowVo.java
View file @
ea8f2a51
package
com.mortals.xhx.module.window.model.vo
;
import
com.mortals.framework.model.BaseEntityLong
;
import
com.mortals.xhx.module.window.model.WindowBusinessEntity
;
import
com.mortals.xhx.module.window.model.WindowEntity
;
import
com.mortals.xhx.module.window.model.WindowMatterEntity
;
import
com.mortals.xhx.module.workman.model.WorkmanEntity
;
import
lombok.Data
;
import
java.util.ArrayList
;
import
java.util.List
;
/**
* 站点部门窗口视图对象
...
...
@@ -33,4 +31,7 @@ public class WindowVo extends BaseEntityLong {
*/
private
String
hallName
;
/** 序号,主键,自增长排除列表 */
private
List
<
Long
>
idNotList
;
}
\ No newline at end of file
portal-manager-ui/admin/src/views/signIn/signIn.vue
View file @
ea8f2a51
...
...
@@ -49,7 +49,7 @@
v-model=
"form.password"
@
pressEnter=
"handleSubmit"
>
<img
slot=
"prefix"
src=
"@/assets/images/icon-
user
.png"
/>
<img
slot=
"prefix"
src=
"@/assets/images/icon-
pwd
.png"
/>
<template
slot=
"suffix"
>
<a-space>
<img
...
...
@@ -142,7 +142,7 @@
v-model=
"changePwdForm.oldPwd"
@
pressEnter=
"changePwd"
>
<img
slot=
"prefix"
src=
"@/assets/images/icon-
user
.png"
/>
<img
slot=
"prefix"
src=
"@/assets/images/icon-
pwd
.png"
/>
<
template
slot=
"suffix"
>
<a-space>
<img
...
...
@@ -172,7 +172,7 @@
v-model=
"changePwdForm.newPwd"
@
pressEnter=
"changePwd"
>
<img
slot=
"prefix"
src=
"@/assets/images/icon-
user
.png"
/>
<img
slot=
"prefix"
src=
"@/assets/images/icon-
pwd
.png"
/>
<
template
slot=
"suffix"
>
<a-space>
<img
...
...
@@ -202,7 +202,7 @@
v-model=
"changePwdForm.newPwdAgain"
@
pressEnter=
"changePwd"
>
<img
slot=
"prefix"
src=
"@/assets/images/icon-
user
.png"
/>
<img
slot=
"prefix"
src=
"@/assets/images/icon-
pwd
.png"
/>
<
template
slot=
"suffix"
>
<a-space>
<img
...
...
portal-manager/src/main/java/com/mortals/xhx/module/role/service/impl/RoleAuthServiceImpl.java
View file @
ea8f2a51
...
...
@@ -103,7 +103,7 @@ public class RoleAuthServiceImpl extends AbstractCRUDServiceImpl<RoleAuthDao, Ro
condition
.
setRoleId
(
roleId
);
List
<
RoleAuthEntity
>
roleModelEntities
=
this
.
find
(
condition
);
if
(
CollectionUtils
.
isNotEmpty
(
roleModelEntities
))
{
List
<
Long
>
menuIds
=
roleModelEntities
.
stream
().
map
(
RoleAuthEntity:
:
getMenuId
).
collect
(
Collectors
.
toList
());
List
<
Long
>
menuIds
=
roleModelEntities
.
stream
().
filter
(
m
->
m
.
getMenuId
()!=
null
).
map
(
RoleAuthEntity:
:
getMenuId
).
collect
(
Collectors
.
toList
());
MenuQuery
query1
=
new
MenuQuery
();
query1
.
setIdList
(
menuIds
);
List
<
MenuEntity
>
menuEntities
=
menuService
.
find
(
query1
);
...
...
portal-manager/src/main/java/com/mortals/xhx/module/role/service/impl/RoleServiceImpl.java
View file @
ea8f2a51
...
...
@@ -44,7 +44,7 @@ public class RoleServiceImpl extends AbstractCRUDServiceImpl<RoleDao, RoleEntity
@Override
protected
void
findAfter
(
RoleEntity
entity
,
Context
context
,
List
<
RoleEntity
>
list
)
throws
AppException
{
list
.
stream
().
forEach
(
item
->{
List
<
Long
>
menuIds
=
roleAuthService
.
find
(
new
RoleAuthQuery
().
roleId
(
item
.
getId
())).
stream
().
map
(
m
->
m
.
getMenuId
()).
collect
(
Collectors
.
toList
());
List
<
Long
>
menuIds
=
roleAuthService
.
find
(
new
RoleAuthQuery
().
roleId
(
item
.
getId
())).
stream
().
filter
(
m
->
m
.
getMenuId
()!=
null
).
map
(
m
->
m
.
getMenuId
()).
collect
(
Collectors
.
toList
());
if
(!
ObjectUtils
.
isEmpty
(
menuIds
)){
item
.
setMenuIdList
(
menuIds
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment