Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
apaas-ui
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
gzga-jzapi
apaas-ui
Commits
43c440e3
Commit
43c440e3
authored
Jul 10, 2020
by
徐一鸣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tablefilter组件优化
parent
00aea7ca
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
6 deletions
+13
-6
src/components/table/table-filter.vue
src/components/table/table-filter.vue
+2
-2
src/pages/workbench/yygl/yyglList.vue
src/pages/workbench/yygl/yyglList.vue
+11
-4
No files found.
src/components/table/table-filter.vue
View file @
43c440e3
...
...
@@ -95,7 +95,7 @@ export default {
20
-
// 距左侧标题的边距
110
;
// 折叠按钮的宽度
this
.
filterLength
=
Math
.
floor
(
width
/
1
1
0
);
this
.
filterLength
=
Math
.
floor
(
width
/
1
5
0
);
// console.log("每行最多可容纳" + this.filterLength + "个filter");
});
}
...
...
@@ -188,7 +188,7 @@ export default {
.ces_filter_data
>
li
>
a
{
display
:
block
;
height
:
30px
;
width
:
9
0px
;
width
:
13
0px
;
box-sizing
:
border-box
;
border-radius
:
12px
;
text-align
:
center
;
...
...
src/pages/workbench/yygl/yyglList.vue
View file @
43c440e3
...
...
@@ -951,10 +951,17 @@ export default {
callback
(
response
)
{
let
datas
=
[];
datas
=
(
response
.
body
.
data
||
[]).
map
((
v
)
=>
({
datas
=
[
{
name
:
"
全部
"
,
value
:
""
,
},
].
concat
(
(
response
.
body
.
data
||
[]).
map
((
v
)
=>
({
name
:
v
.
text
,
value
:
v
.
value
,
}));
}))
);
return
{
name
:
"
工作区域
"
,
...
...
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