Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fns_backend
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Zhang Xiaojie
fns_backend
Commits
88e907e3
Commit
88e907e3
authored
Sep 25, 2021
by
chenqikuai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
store layout code
parent
6b94b3ff
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
29 deletions
+32
-29
topBar.vue
src/components/UserManage/topBar.vue
+4
-1
userManagerCol.ts
src/const/columns/userManagerCol.ts
+0
-1
index.vue
src/views/Root/index.vue
+28
-27
No files found.
src/components/UserManage/topBar.vue
View file @
88e907e3
...
...
@@ -117,10 +117,11 @@ export default Vue.extend({
this
.
searchPageReqParams
.
endTime
=
endTime
},
query
()
{
if
(
this
.
type
===
addUser
.
superManager
)
{
this
.
platformSave
({
page
:
1
,
})
this
.
platformQuery
()
this
.
platformQuery
()
}
},
reset
()
{
this
.
searchPageReqParams
.
queryName
=
''
...
...
@@ -128,10 +129,12 @@ export default Vue.extend({
this
.
searchPageReqParams
.
startTime
=
undefined
this
.
searchPageReqParams
.
endTime
=
undefined
this
.
$nextTick
(()
=>
{
if
(
this
.
type
===
addUser
.
superManager
)
{
this
.
platformSave
({
page
:
1
,
})
this
.
query
()
}
})
},
showModal
()
{
...
...
src/const/columns/userManagerCol.ts
View file @
88e907e3
...
...
@@ -152,7 +152,6 @@ const columns:Array<column> =
align
:
'center'
,
scopedSlots
:
{
customRender
:
'firstSubClientManager'
},
role
:[
eRole
.
firstLevel_sub_branch
]
},
{
...
...
src/views/Root/index.vue
View file @
88e907e3
<
template
>
<div>
<a-layout
id=
"components-layout-demo-fixed-sider"
>
<a-layout-sider
width=
"256"
style=
"background: white"
>
<div
class=
"text-center text-lg my-3"
>
中小企业协会综合服务平台
</div>
<a-menu
style=
"width: 256px"
:open-keys
.
sync=
"openKeys"
mode=
"inline"
:selectedKeys=
"selectedKeys"
>
<component
v-for=
"menu in filteredMenuList"
:key=
"menu.routeName"
@
click=
"handleClickMenu"
:is=
"hasChildren(menu) ? 'a-sub-menu' : 'a-menu-item'"
<a-layout-header>
sdlkfj
</a-layout-header>
<a-layout
style=
"min-height: 100vh"
>
<a-layout-sider
width=
"256"
style=
"background: white"
>
<div
class=
"text-center text-lg my-3"
>
中小企业协会综合服务平台
</div>
<a-menu
style=
"width: 256px"
:open-keys
.
sync=
"openKeys"
mode=
"inline"
:selectedKeys=
"selectedKeys"
>
{{
hasChildren
(
menu
)
?
""
:
menu
.
getName
()
}}
<span
slot=
"title"
v-if=
"hasChildren(menu)"
><span>
{{
menu
.
getName
()
}}
</span></span
<component
v-for=
"menu in filteredMenuList"
:key=
"menu.routeName"
@
click=
"handleClickMenu"
:is=
"hasChildren(menu) ? 'a-sub-menu' : 'a-menu-item'"
>
<a-menu-item
v-for=
"subItem in getMenuChildren(menu)"
:key=
"subItem.routeName"
>
{{
subItem
.
getName
()
}}
</a-menu-item>
</component>
</a-menu>
</a-layout-sider>
<a-layout
style=
"min-height: 100vh"
>
{{
hasChildren
(
menu
)
?
""
:
menu
.
getName
()
}}
<span
slot=
"title"
v-if=
"hasChildren(menu)"
><span>
{{
menu
.
getName
()
}}
</span></span
>
<a-menu-item
v-for=
"subItem in getMenuChildren(menu)"
:key=
"subItem.routeName"
>
{{
subItem
.
getName
()
}}
</a-menu-item>
</component>
</a-menu>
</a-layout-sider>
<a-layout-content
:style=
"
{ margin: '24px 16px 0', overflow: 'initial' }"
>
...
...
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