Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-3
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-3
Commits
297337c0
Commit
297337c0
authored
Feb 23, 2022
by
crushh
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/2月迭代' into dev
parents
d56832b0
f4808be0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
salutatory.vue
src/views/enterprise/salutatory.vue
+4
-4
salutatorySet.vue
src/views/enterprise/salutatorySet.vue
+1
-1
No files found.
src/views/enterprise/salutatory.vue
View file @
297337c0
...
...
@@ -54,16 +54,16 @@
<el-table-column
prop=
"operatorName"
label=
"操作人"
width=
"120"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"suitDepartmentName"
label=
"适用范围"
min-width=
"80"
>
<
template
slot-scope=
"{ row }"
>
<el-popover
placement=
"top-start"
trigger=
"hover"
v-if=
"row.suitDepartmentName.join('
,
').length > 40"
>
<el-popover
placement=
"top-start"
trigger=
"hover"
v-if=
"row.suitDepartmentName.join('
,
').length > 40"
>
<div
class=
"popoverBox"
>
{{
row
.
suitDepartmentName
.
join
(
'
,
'
)
}}
{{
row
.
suitDepartmentName
.
join
(
'
,
'
)
}}
</div>
<div
slot=
"reference"
>
{{
row
.
suitDepartmentName
.
join
(
'
,
'
).
slice
(
0
,
40
)
+
'...'
}}
{{
row
.
suitDepartmentName
.
join
(
'
,
'
).
slice
(
0
,
40
)
+
'...'
}}
</div>
</el-popover>
<div
v-else
>
{{
row
.
suitDepartmentName
.
join
(
'
,
'
)
}}
{{
row
.
suitDepartmentName
.
join
(
'
,
'
)
}}
</div>
</
template
>
</el-table-column>
...
...
src/views/enterprise/salutatorySet.vue
View file @
297337c0
...
...
@@ -141,7 +141,7 @@
<div
class=
"scopeBox"
>
<div
class=
"left"
>
<el-input
placeholder=
"请输入部门名称"
maxlength=
"50"
v-model=
"filterText"
style=
"width: 398px;"
clearable
@
clear=
"handlefilterTextClear"
@
keyup
.
native=
"value => toInput(value, searchInput)"
>
<i
slot=
"prefix"
class=
"el-input__icon el-icon-search"
></i>
</el-input>
<el-tree
v-loading=
"loading"
ref=
"tree"
:data=
"treeData"
:check-on-click-node=
"true"
show-checkbox
node-key=
"departmentId"
:props=
"defaultProps"
:expand-on-click-node=
"false"
class=
"tree"
@
check-change=
"handleCheckChange"
@
check=
"handleCheck"
>
<el-tree
v-loading=
"loading"
ref=
"tree"
:data=
"treeData"
:check-on-click-node=
"true"
show-checkbox
node-key=
"departmentId"
:props=
"defaultProps"
:expand-on-click-node=
"false"
class=
"tree"
:render-after-expand=
"false"
@
check-change=
"handleCheckChange"
@
check=
"handleCheck"
>
<span
class=
"custom-tree-node"
slot-scope=
"
{ node }">
<span
class=
"font-14 color-2f54eb opacity80 iconfont-hb3 iconqiye-tianchong"
></span>
<span>
{{
node
.
label
}}
</span>
...
...
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