Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue-gjjs
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
fukai
vue-gjjs
Commits
5fa87666
Commit
5fa87666
authored
Jan 07, 2022
by
liushikai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
自定义列修复
parent
c2ca38cb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
11 deletions
+3
-11
Menu.vue
src/views/Business/Sptsel/Menu.vue
+3
-11
No files found.
src/views/Business/Sptsel/Menu.vue
View file @
5fa87666
...
...
@@ -513,16 +513,10 @@ export default {
saveColumnEvent
()
{
this
.
setColumnFlg
=
false
;
this
.
saveColumnFlg
=
false
;
this
.
saveColumns
=
this
.
setColumn
.
filter
((
item
)
=>
item
.
value
)
.
map
((
item
)
=>
this
.
stmData
.
columns
[
item
.
index
]);
this
.
saveColumns
=
this
.
columnGroup
.
map
((
index
)
=>
this
.
stmData
.
columns
[
index
]);
},
setAll
(
val
)
{
this
.
columnGroup
=
val
?
this
.
setColumn
.
map
((
item
)
=>
{
return
item
.
index
;
})
:
[];
this
.
columnGroup
=
val
?
this
.
setColumn
.
map
((
item
)
=>
item
.
index
)
:
[];
this
.
isIndeterminate
=
false
;
},
handleColumnChange
()
{
...
...
@@ -540,9 +534,7 @@ export default {
let
label
=
item
.
substring
(
begIdx
+
1
,
endIdx
);
return
{
label
,
value
:
true
,
index
};
});
this
.
columnGroup
=
this
.
setColumn
.
map
((
item
)
=>
{
return
item
.
index
;
});
this
.
columnGroup
=
this
.
setColumn
.
map
((
item
)
=>
item
.
index
);
},
};
</
script
>
...
...
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