Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
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
罗超
confucius
Commits
8c65bdba
Commit
8c65bdba
authored
Aug 02, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
1ca0d350
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
18 deletions
+16
-18
MainLayout.vue
src/layouts/MainLayout.vue
+15
-13
japaneseTrain.vue
src/pages/sale/japaneseTrain.vue
+1
-5
No files found.
src/layouts/MainLayout.vue
View file @
8c65bdba
...
...
@@ -47,8 +47,8 @@
</div>
<q-list
style=
"width:180px;overflow:hidden"
>
<template
v-for=
"(x,i) in secondNavs"
>
<q-item
:to=
"x.MenuUrl"
clickable
v-ripple
:active=
"currentPath==x.MenuUrl"
v-if=
"x.SubList.length==0"
:key=
"i"
>
<q-item
:to=
"x.MenuUrl"
clickable
v-ripple
:active=
"currentPath==x.MenuUrl"
v-if=
"x.SubList&&x.SubList.length==0"
:key=
"i"
>
<q-item-section
avatar
style=
"min-width:30px;"
>
<q-icon
:name=
"x.MenuIcon"
size=
"20px"
/>
</q-item-section>
...
...
@@ -68,7 +68,8 @@
</div>
</div>
<div
class=
"col"
style=
"background: #f2f4f7;"
>
<q-scroll-area
:thumb-style=
"thumbStyle"
:bar-style=
"barStyle"
visible
class=
"fit content-scroll full-width full-height"
>
<q-scroll-area
:thumb-style=
"thumbStyle"
:bar-style=
"barStyle"
visible
class=
"fit content-scroll full-width full-height"
>
<router-view
/>
</q-scroll-area>
</div>
...
...
@@ -119,7 +120,7 @@
isExpend
:
false
,
IsShowLeft
:
true
,
userCenterMenuList
:
[],
//用户中心菜单
socektArr
:[],
//消息数组
socektArr
:
[],
//消息数组
}
},
components
:
{
...
...
@@ -153,7 +154,8 @@
handler
:
function
(
newVal
)
{
let
i
=
this
.
tab
.
split
(
'_'
)[
1
];
if
(
newVal
&&
newVal
.
MenuList
)
{
this
.
secondNavs
=
newVal
.
MenuList
.
length
>
0
?
newVal
.
MenuList
[
i
].
SubList
:
[];
this
.
secondNavs
=
newVal
.
MenuList
.
length
>
0
?
(
newVal
.
MenuList
[
i
]
&&
newVal
.
MenuList
[
i
].
SubList
?
newVal
.
MenuList
[
i
].
SubList
:
[])
:
[];
}
if
(
newVal
&&
newVal
.
UserCenterList
)
{
this
.
userCenterMenuList
=
newVal
.
UserCenterList
;
...
...
@@ -176,11 +178,11 @@
}
this
.
tab
=
`navs_
${
i
}
`
if
(
this
.
userInfo
&&
this
.
userInfo
.
MenuList
)
{
this
.
secondNavs
=
this
.
userInfo
.
MenuList
.
length
>
0
?
this
.
userInfo
.
MenuList
[
i
].
SubList
:
[]
this
.
secondNavs
=
this
.
userInfo
.
MenuList
.
length
>
0
?
(
this
.
userInfo
.
MenuList
[
i
]
&&
this
.
userInfo
.
MenuList
[
i
]
.
SubList
?
this
.
userInfo
.
MenuList
[
i
].
SubList
:
[])
:
[]
}
this
.
$root
.
$on
(
"goworkobj"
,
(
data
)
=>
{
// this.setNavs(0)
this
.
secondNavs
=
[]
this
.
$root
.
$on
(
"goworkobj"
,
(
data
)
=>
{
this
.
secondNavs
=
[]
});
this
.
getLogList
();
this
.
getMsg
();
...
...
@@ -213,7 +215,7 @@
})
},
//获取日志列表
getLogList
(){
getLogList
()
{
GetMsgLogList
().
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
this
.
socektArr
=
res
.
Data
;
...
...
@@ -231,8 +233,8 @@
getDataFunc
(
e
)
{
if
(
e
.
data
)
{
var
newData
=
JSON
.
parse
(
e
.
data
)
if
(
newData
.
length
>
0
)
{
for
(
var
i
=
0
;
i
<
newData
.
length
;
i
++
)
{
if
(
newData
.
length
>
0
)
{
for
(
var
i
=
0
;
i
<
newData
.
length
;
i
++
)
{
this
.
socektArr
.
unshift
(
newData
[
i
])
}
}
...
...
@@ -274,7 +276,7 @@
};
// 定义通知错误事件
notify
.
onerror
=
function
()
{
};
// 定义通知显示事件 可以设置多少秒之后关闭 也可以不设置关闭
notify
.
onshow
=
function
()
{
...
...
src/pages/sale/japaneseTrain.vue
View file @
8c65bdba
...
...
@@ -341,7 +341,7 @@
ClassName
:
''
,
//班级名称
StartTime
:
''
,
//开始时间
EndTime
:
''
,
//结束时间
School_Id
:
0
,
//关联校区
School_Id
:
''
,
//关联校区
CouseId
:
0
,
//课程id
Teacher_Id
:
0
,
//教师id
Q_CanApply
:
"0"
,
//是否可以报名 1是
...
...
@@ -407,10 +407,6 @@
if
(
!
tempArray
)
{
tempArray
=
[];
}
tempArray
.
unshift
({
SId
:
0
,
SName
:
"不限"
})
this
.
schoolList
=
tempArray
;
}
})
...
...
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