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
f299a6bd
Commit
f299a6bd
authored
Jan 03, 2023
by
tianxinyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gitset页面756、202问题
parent
7e97f337
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
2 deletions
+25
-2
Det202cv.vue
src/views/Business/Gitset/Det202cv.vue
+0
-0
Det756.vue
src/views/Business/Gitset/Det756.vue
+0
-0
Ovwp.vue
src/views/Business/Gitset/Ovwp.vue
+25
-2
No files found.
src/views/Business/Gitset/Det202cv.vue
View file @
f299a6bd
This diff is collapsed.
Click to expand it.
src/views/Business/Gitset/Det756.vue
View file @
f299a6bd
This diff is collapsed.
Click to expand it.
src/views/Business/Gitset/Ovwp.vue
View file @
f299a6bd
...
@@ -52,6 +52,10 @@
...
@@ -52,6 +52,10 @@
import
Gitsetp1
from
"./Gitsetp1"
;
import
Gitsetp1
from
"./Gitsetp1"
;
import
Gitsetp
from
"./Gitsetp"
;
import
Gitsetp
from
"./Gitsetp"
;
const
tabNameToRulePathMapping
=
{
"det756"
:
"setmod.setglg.setgll(2).sespay.det756"
,
"det202cv"
:
"setmod.setglg.setgll(2).sespay.det202"
}
export
default
{
export
default
{
components
:
{
components
:
{
...
@@ -94,8 +98,27 @@
...
@@ -94,8 +98,27 @@
},
},
methods
:
{
methods
:
{
...
Event
,
...
Event
,
handleChange
(
val
)
{
handleChange
(
names
){
console
.
log
(
val
);
// console.log(names);//激活的(展开的)面板的name数组集合
if
(
this
.
isInDisplay
)
{
return
}
const
arr
=
[]
for
(
let
i
=
0
;
i
<
names
.
length
;
i
++
)
{
const
n
=
names
[
i
];
const
path
=
tabNameToRulePathMapping
[
n
]
//取出激活/展开面板name对应的rulePath
if
(
path
)
{
arr
.
push
(
path
)
}
}
let
rulePath
=
arr
.
join
(
","
);
//把arr数组加入逗号分割,变成字符串
if
(
!!
rulePath
)
{
//rulePath不为空串
this
.
executeRule
(
rulePath
).
then
((
res
)
=>
{
if
(
res
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
res
.
data
);
}
});
}
},
},
},
},
created
:
function
()
{},
created
:
function
()
{},
...
...
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