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
c7ba5a75
Commit
c7ba5a75
authored
Mar 18, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
fd470fa6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
25 deletions
+5
-25
catagory.vue
src/pages/course/catagory.vue
+5
-25
No files found.
src/pages/course/catagory.vue
View file @
c7ba5a75
...
@@ -12,25 +12,8 @@
...
@@ -12,25 +12,8 @@
</div>
</div>
</div>
</div>
<div
class=
"page-content"
>
<div
class=
"page-content"
>
<!--<div class="q-pa-md q-gutter-sm">
<q-table
:pagination=
"msg"
:loading=
"loading"
no-data-label=
"暂无相关数据"
flat
class=
"sticky-column-table"
separator=
"none"
:data=
"dataList"
<q-tree v-if="isShow" :nodes="data" node-key="CateId" label-key="CateName" children-key="ChildList"
:columns=
"columns"
>
:filter="keyWords" :filter-method="myFilterMethod" default-expand-all no-results-label="暂无相关数据">
<template v-slot:default-header="prop">
<div class="row items-center">
<div class="text-weight-bold text-primary">{{ prop.node.CateName }}</div>
<template v-if="prop.node.ChildList && prop.node.ChildList.length>0">
<q-btn round icon="add" size="xs" @click="EditCategory(null)" />
</template>
<q-btn round icon="edit" size="xs" @click="EditCategory(prop.node)" />
</div>
</template>
</q-tree>
</div>-->
<q-table
:loading=
"loading"
no-data-label=
"暂无相关数据"
flat
class=
"sticky-column-table"
separator=
"none"
:data=
"data"
:columns=
"columns"
row-key=
"name"
>
<
template
v-slot:top=
"props"
>
<
template
v-slot:top=
"props"
>
<div
class=
"col-2 q-table__title"
>
系列信息
</div>
<div
class=
"col-2 q-table__title"
>
系列信息
</div>
<q-space
/>
<q-space
/>
...
@@ -84,7 +67,7 @@
...
@@ -84,7 +67,7 @@
PageCount
:
1
,
PageCount
:
1
,
},
},
currentUrl
:
""
,
currentUrl
:
""
,
data
:
[],
data
List
:
[],
keyWords
:
''
,
keyWords
:
''
,
isShowCategory
:
false
,
isShowCategory
:
false
,
isShow
:
false
,
isShow
:
false
,
...
@@ -184,13 +167,10 @@
...
@@ -184,13 +167,10 @@
//获取课程分类树形结构
//获取课程分类树形结构
getcoursecategorytree
()
{
getcoursecategorytree
()
{
this
.
isShow
=
false
;
this
.
isShow
=
false
;
queryCourseCategoryPage
({
queryCourseCategoryPage
(
this
.
msg
).
then
(
res
=>
{
PageSize
:
this
.
msg
.
PageSize
,
PageIndex
:
this
.
msg
.
PageIndex
}).
then
(
res
=>
{
this
.
isShow
=
true
;
this
.
isShow
=
true
;
this
.
loading
=
false
;
this
.
loading
=
false
;
this
.
data
=
res
.
Data
.
PageData
;
this
.
data
List
=
res
.
Data
.
PageData
;
this
.
msg
.
PageCount
=
res
.
Data
.
PageCount
this
.
msg
.
PageCount
=
res
.
Data
.
PageCount
})
})
},
},
...
...
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