Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
openApi
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
hj
openApi
Commits
adce86e5
Commit
adce86e5
authored
Apr 14, 2022
by
hangjun83
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
前端:优化页面及bug修复
parent
286a94d0
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
20 deletions
+11
-20
front/src/views/Main.vue
front/src/views/Main.vue
+4
-3
front/src/views/login.vue
front/src/views/login.vue
+0
-1
front/src/views/sys/role-manage/roleManage.vue
front/src/views/sys/role-manage/roleManage.vue
+0
-3
front/src/views/sys/user-manage/userManage.vue
front/src/views/sys/user-manage/userManage.vue
+7
-13
No files found.
front/src/views/Main.vue
View file @
adce86e5
...
...
@@ -202,8 +202,6 @@ export default {
if
(
currWidth
<=
1200
)
{
this
.
sliceNum
=
2
;
}
this
.
setStore
(
"
currNav
"
,
'
page_index
'
);
this
.
$store
.
commit
(
"
setCurrNav
"
,
'
平台首页
'
);
},
getCurrNav
()
{
// 读取选中顶部菜单名
...
...
@@ -342,6 +340,9 @@ export default {
if
(
this
.
navList
&&
this
.
navList
.
length
>
0
)
{
this
.
getCurrNav
();
}
//默认取第一个菜单为默认菜单
//this.setStore("currNav", this.navList[0].name);
//this.$store.commit("setCurrNav", this.navList[0].title);
},
};
</
script
>
\ No newline at end of file
</
script
>
front/src/views/login.vue
View file @
adce86e5
...
...
@@ -20,7 +20,6 @@
</Row>
<Footer
/>
</Col>
<LangSwitch
/>
</Row>
</div>
</
template
>
...
...
front/src/views/sys/role-manage/roleManage.vue
View file @
adce86e5
...
...
@@ -10,9 +10,6 @@
<Button
@
click=
"addRole"
type=
"primary"
icon=
"md-add"
>
添加角色
</Button>
<Button
@
click=
"delAll"
icon=
"md-trash"
>
批量删除
</Button>
<Button
@
click=
"init"
icon=
"md-refresh"
>
刷新
</Button>
<Button
type=
"dashed"
@
click=
"openTip = !openTip"
>
{{
openTip
?
"
关闭提示
"
:
"
开启提示
"
}}
</Button>
</Row>
<Alert
show-icon
v-show=
"openTip"
>
已选择
...
...
front/src/views/sys/user-manage/userManage.vue
View file @
adce86e5
...
...
@@ -16,20 +16,14 @@
<FormItem
label=
"登录账号"
prop=
"username"
>
<Input
type=
"text"
v-model=
"searchForm.username"
clearable
placeholder=
"请输入登录账号"
style=
"width: 200px"
/>
</FormItem>
<FormItem
label=
"创建时间"
>
<DatePicker
:options=
"options"
v-model=
"selectDate"
type=
"daterange"
format=
"yyyy-MM-dd"
clearable
@
on-change=
"selectDateRange"
placeholder=
"选择起始时间"
style=
"width: 200px"
></DatePicker>
</FormItem>
<FormItem
style=
"margin-left: -35px"
class=
"br"
>
<Button
@
click=
"handleSearch"
type=
"primary"
icon=
"ios-search"
>
搜索
</Button>
<Button
@
click=
"handleReset"
>
重置
</Button>
<a
class=
"drop-down"
@
click=
"dropDown"
>
{{
dropDownContent
}}
<Icon
:type=
"dropDownIcon"
></Icon>
</a>
</FormItem>
</Form>
</Row>
<Row
class=
"operation"
>
<Col
span=
"12"
>
<Button
@
click=
"add"
type=
"primary"
icon=
"md-add"
>
添加用户
</Button>
<Button
@
click=
"delAll"
icon=
"md-trash"
>
批量删除
</Button>
<Dropdown
@
on-click=
"handleDropdown"
>
...
...
@@ -41,12 +35,12 @@
<DropdownItem
name=
"refresh"
>
刷新
</DropdownItem>
</DropdownMenu>
</Dropdown>
<Button
type=
"dashed"
@
click=
"openSearch = !openSearch"
>
{{
openSearch
?
"
关闭搜索
"
:
"
开启搜索
"
}}
</Button
>
<Button
type=
"dashed"
@
click=
"openTip = !openTip"
>
{{
openTip
?
"
关闭提示
"
:
"
开启提示
"
}}
</Button
>
</Col>
<Col
span=
"12"
>
<div
style=
"text-align:right;"
>
<Button
icon=
"ios-search"
style=
"margin-top:10px"
type=
"text"
@
click=
"openSearch = !openSearch"
>
关闭/开启搜索
</Button>
</div>
</Col
>
</Row>
<Alert
show-icon
v-show=
"openTip"
>
已选择
...
...
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