Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-4
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
office
haoban-4
Commits
bec99656
Commit
bec99656
authored
Sep 10, 2020
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 样式调整
parent
f4d0338e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
0 deletions
+18
-0
menu-tree.vue
src/views/enterprise/edit-role/menu-tree.vue
+3
-0
create-audit-group.vue
src/views/review-center/create-audit-group.vue
+15
-0
No files found.
src/views/enterprise/edit-role/menu-tree.vue
View file @
bec99656
...
...
@@ -142,6 +142,9 @@ export default {
.all-menu
{
padding
:
20px
0
0
20px
;
width
:
calc
(
100%
-
140px
);
/deep/.el-checkbox.is-disabled
+
.el-tree-node__label
{
color
:
@
gray03
;
}
}
}
</
style
>
src/views/review-center/create-audit-group.vue
View file @
bec99656
...
...
@@ -14,6 +14,7 @@
:titles=
"['全选', '已选']"
:button-texts=
"['移除', '转入']"
:props=
"
{label: 'staffName', key: 'staffId'}"
:render-content="render"
:data="adminList">
</dm-transfer>
</el-form-item>
...
...
@@ -24,6 +25,7 @@
</
template
>
<
script
>
import
getStrLen
from
'@/common/js/strlen'
;
import
fetch
from
'@/api/review'
;
const
{
auditGroupDetail
,
editAuditGroup
,
addAuditGroup
,
getAdminList
}
=
fetch
;
...
...
@@ -42,6 +44,19 @@ export default {
groupDataRules
:
{
auditGroupName
:
[
{
required
:
true
,
message
:
'请输入审核组名称'
,
trigger
:
'blur'
}
],
auditPerson
:
[
{
required
:
true
,
message
:
'请选择管理员'
,
trigger
:
'blur'
}
]
},
render
(
n
,
options
)
{
const
str
=
`
${
options
.
staffName
}
(
${
options
.
roleName
}
)`
;
{
if
(
getStrLen
.
getZhLen
(
str
)
<=
10
)
{
return
<
span
>
{
str
}
<
/span>
;
}
else
{
return
<
el
-
tooltip
placement
=
"top"
>
<
p
slot
=
"content"
>
{
str
}
<
/p
>
<
span
>
{
str
}
<
/span
>
<
/el-tooltip>
;
}
}
}
};
},
...
...
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