Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
Project
Project
Details
Activity
Releases
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
周远喜
mes-ui
Commits
ad3c1d76
Commit
ad3c1d76
authored
Mar 29, 2020
by
周远喜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
多标签页支持
parent
fb799d06
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
5 deletions
+4
-5
organization.js
api/organization.js
+0
-1
default.vue
layouts/default.vue
+2
-2
api.js
pages/basicData/dic/api.js
+1
-1
index.vue
pages/basicData/dic/index.vue
+1
-1
No files found.
api/organization.js
View file @
ad3c1d76
...
...
@@ -170,7 +170,6 @@ export default {
let
roots
=
arrs
.
filter
(
c
=>
c
.
parent_Id
==
0
);
if
(
roots
.
length
==
0
)
return
;
//let root=roots[0];
console
.
table
(
roots
);
for
(
let
a
=
0
;
a
<
roots
.
length
;
a
++
)
{
let
root
=
roots
[
a
];
let
tree0
=
{
...
...
layouts/default.vue
View file @
ad3c1d76
...
...
@@ -63,7 +63,7 @@ export default {
console
.
log
(
"openNames"
,
openNames
,
path
)
this
.
$store
.
commit
(
"admin/menu/setOpenNames"
,
openNames
);
}
this
.
appRouteChange
(
to
,
from
);
//
this.appRouteChange(to, from);
}
},
methods
:
{
...
...
@@ -104,7 +104,7 @@ export default {
this
.
toMenu
(
this
.
menus
);
let
headerName
=
"home"
;
this
.
$store
.
commit
(
"admin/menu/setHeaderName"
,
headerName
);
this
.
$store
.
commit
(
"admin/page/init"
,
this
.
menus
);
const
filterMenuSider
=
getMenuSider
(
this
.
menus
,
headerName
);
this
.
$store
.
commit
(
"admin/menu/setSider"
,
filterMenuSider
);
this
.
$store
.
commit
(
"admin/menu/setActivePath"
,
to
.
path
);
...
...
pages/basicData/dic/api.js
View file @
ad3c1d76
...
...
@@ -2,7 +2,7 @@ import api from '@/plugins/request'
const
u
=
(
path
)
=>
`
${
systemUrl
}
/Dictionary/
${
path
}
`
export
default
{
getChildren
(
id
)
{
return
api
.
get
(
u
(
"GetChildren"
),
{
id
})
return
api
.
get
(
u
(
"GetChildren"
),
{
id
:
id
})
},
getTree
(){
return
api
.
get
(
u
(
'GetTree'
))
...
...
pages/basicData/dic/index.vue
View file @
ad3c1d76
...
...
@@ -112,7 +112,7 @@
</template>
<
script
>
import
Edit
from
'./components/edit'
import
api
from
'
@/plugins/request
'
import
api
from
'
./api.js
'
import
Clipboard
from
'clipboard'
const
root
=
{
id
:
0
,
...
...
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