Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
O
online-edu-admin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Redmine
Redmine
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
online-edu
online-edu-admin
Commits
f33c4049
Commit
f33c4049
authored
May 28, 2021
by
Liu Peng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整页面样式
parent
97a90acd
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
42 additions
and
33 deletions
+42
-33
index.vue
src/views/admin/dict/index.vue
+4
-5
index.vue
src/views/admin/menu/index.vue
+4
-2
index.vue
src/views/admin/role/index.vue
+0
-0
index.vue
src/views/admin/user/index.vue
+7
-5
index.vue
src/views/biz/course/index.vue
+8
-7
index.vue
src/views/biz/courseTag/index.vue
+0
-0
index.vue
src/views/biz/enterprise/index.vue
+0
-0
index.vue
src/views/biz/institution/index.vue
+4
-5
index.vue
src/views/biz/priceConfig/index.vue
+5
-2
index.vue
src/views/biz/teacher/index.vue
+10
-7
No files found.
src/views/admin/dict/index.vue
View file @
f33c4049
...
@@ -37,14 +37,12 @@
...
@@ -37,14 +37,12 @@
<template
slot=
"action"
slot-scope=
"text, record"
>
<template
slot=
"action"
slot-scope=
"text, record"
>
<a-button
<a-button
icon=
"edit"
icon=
"edit"
type=
"primary"
type=
"link"
class=
"btn_margin"
@
click=
"showModal(record)"
@
click=
"showModal(record)"
>
编辑
</a-button>
>
编辑
</a-button>
<a-button
<a-button
icon=
"delete"
icon=
"delete"
type=
"danger"
type=
"link"
class=
"btn_margin"
@
click=
"deleteRow(
{record})"
@
click=
"deleteRow(
{record})"
>删除
</a-button>
>删除
</a-button>
</
template
>
</
template
>
...
@@ -118,7 +116,8 @@ let columns = [
...
@@ -118,7 +116,8 @@ let columns = [
title
:
"操作"
,
title
:
"操作"
,
key
:
"action"
,
key
:
"action"
,
scopedSlots
:
{
customRender
:
"action"
},
scopedSlots
:
{
customRender
:
"action"
},
align
:
"center"
align
:
"center"
,
width
:
180
,
}
}
];
];
...
...
src/views/admin/menu/index.vue
View file @
f33c4049
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
</a-button-group>
</a-button-group>
</div>
</div>
<div>
<div>
<a-row>
<a-row
type=
"flex"
justify=
"space-between"
>
<a-col
:span=
"4"
class=
"col-h"
>
<a-col
:span=
"4"
class=
"col-h"
>
<a-tree
<a-tree
:treeData=
"menuTreeData"
:treeData=
"menuTreeData"
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
showLine
showLine
/>
/>
</a-col>
</a-col>
<a-col
:span=
"1
0
"
>
<a-col
:span=
"1
6
"
>
<a-form
:form=
"modalForm"
@
submit=
"modalHandleSubmit"
>
<a-form
:form=
"modalForm"
@
submit=
"modalHandleSubmit"
>
<a-form-item
<a-form-item
label=
"父级名称"
label=
"父级名称"
...
@@ -77,6 +77,8 @@
...
@@ -77,6 +77,8 @@
</a-form-item>
</a-form-item>
</a-form>
</a-form>
</a-col>
</a-col>
<a-col
:span=
"4"
/>
</a-row>
</a-row>
</div>
</div>
</div>
</div>
...
...
src/views/admin/role/index.vue
View file @
f33c4049
This diff is collapsed.
Click to expand it.
src/views/admin/user/index.vue
View file @
f33c4049
...
@@ -47,14 +47,13 @@
...
@@ -47,14 +47,13 @@
<template
slot=
"action"
slot-scope=
"text, record"
>
<template
slot=
"action"
slot-scope=
"text, record"
>
<a-button
<a-button
icon=
"edit"
icon=
"edit"
type=
"
primary
"
type=
"
link
"
class=
"btn_margin
"
size=
"small
"
@
click=
"showModal(record)"
@
click=
"showModal(record)"
>
修改
</a-button>
>
修改
</a-button>
<a-button
<a-button
icon=
"delete"
icon=
"delete"
type=
"danger"
type=
"link"
class=
"btn_margin"
@
click=
"deleteRow(
{record})"
@
click=
"deleteRow(
{record})"
>删除
</a-button>
>删除
</a-button>
</
template
>
</
template
>
...
@@ -135,6 +134,7 @@ let columns = [
...
@@ -135,6 +134,7 @@ let columns = [
title
:
"状态"
,
title
:
"状态"
,
dataIndex
:
"status"
,
dataIndex
:
"status"
,
align
:
"center"
,
align
:
"center"
,
width
:
'100px'
,
scopedSlots
:
{
customRender
:
"statusFlag"
}
scopedSlots
:
{
customRender
:
"statusFlag"
}
},
},
{
{
...
@@ -148,6 +148,7 @@ let columns = [
...
@@ -148,6 +148,7 @@ let columns = [
title
:
"创建时间"
,
title
:
"创建时间"
,
dataIndex
:
"createTime"
,
dataIndex
:
"createTime"
,
align
:
"center"
,
align
:
"center"
,
width
:
'180px'
,
customRender
:
(
text
,
record
)
=>
{
customRender
:
(
text
,
record
)
=>
{
return
timestampToTime
(
text
);
return
timestampToTime
(
text
);
}
}
...
@@ -156,7 +157,8 @@ let columns = [
...
@@ -156,7 +157,8 @@ let columns = [
title
:
"操作"
,
title
:
"操作"
,
key
:
"action"
,
key
:
"action"
,
scopedSlots
:
{
customRender
:
"action"
},
scopedSlots
:
{
customRender
:
"action"
},
align
:
"center"
align
:
"center"
,
width
:
'180px'
}
}
];
];
...
...
src/views/biz/course/index.vue
View file @
f33c4049
...
@@ -77,14 +77,12 @@
...
@@ -77,14 +77,12 @@
<template
slot=
"action"
slot-scope=
"text, record"
>
<template
slot=
"action"
slot-scope=
"text, record"
>
<a-button
<a-button
icon=
"edit"
icon=
"edit"
type=
"primary"
type=
"link"
class=
"btn_margin"
@
click=
"navigateDetailPage(record)"
@
click=
"navigateDetailPage(record)"
>
编辑
</a-button>
>
编辑
</a-button>
<a-button
<a-button
icon=
"edit"
icon=
"edit"
type=
"primary"
type=
"link"
class=
"btn_margin"
@
click=
"changeStatus(record)"
@
click=
"changeStatus(record)"
>
{{
record
.
status
==
'UP'
?
'下架'
:
'上架'
}}
</a-button>
>
{{
record
.
status
==
'UP'
?
'下架'
:
'上架'
}}
</a-button>
</
template
>
</
template
>
...
@@ -120,7 +118,8 @@ let columns = [
...
@@ -120,7 +118,8 @@ let columns = [
title
:
'收费模式'
,
title
:
'收费模式'
,
dataIndex
:
'chargeModel'
,
dataIndex
:
'chargeModel'
,
align
:
'center'
,
align
:
'center'
,
scopedSlots
:
{
customRender
:
'chargeModel'
}
scopedSlots
:
{
customRender
:
'chargeModel'
},
width
:
120
,
},
},
{
{
title
:
'标签'
,
title
:
'标签'
,
...
@@ -132,13 +131,15 @@ let columns = [
...
@@ -132,13 +131,15 @@ let columns = [
title
:
'状态'
,
title
:
'状态'
,
dataIndex
:
'status'
,
dataIndex
:
'status'
,
align
:
'center'
,
align
:
'center'
,
scopedSlots
:
{
customRender
:
'status'
}
scopedSlots
:
{
customRender
:
'status'
},
width
:
100
,
},
},
{
{
title
:
'操作'
,
title
:
'操作'
,
key
:
"action"
,
key
:
"action"
,
scopedSlots
:
{
customRender
:
"action"
},
scopedSlots
:
{
customRender
:
"action"
},
align
:
"center"
align
:
"center"
,
width
:
180
,
}
}
]
]
export
default
{
export
default
{
...
...
src/views/biz/courseTag/index.vue
View file @
f33c4049
This diff is collapsed.
Click to expand it.
src/views/biz/enterprise/index.vue
View file @
f33c4049
This diff is collapsed.
Click to expand it.
src/views/biz/institution/index.vue
View file @
f33c4049
...
@@ -37,18 +37,16 @@
...
@@ -37,18 +37,16 @@
<!-- 表格操作 -->
<!-- 表格操作 -->
<template
slot=
"action"
slot-scope=
"text,record"
>
<template
slot=
"action"
slot-scope=
"text,record"
>
<a-button
<a-button
type=
"
primary
"
type=
"
link
"
icon=
"edit"
icon=
"edit"
@
click=
"showModal(record)"
@
click=
"showModal(record)"
class=
"btn_margin"
>
>
修改
修改
</a-button>
</a-button>
<a-button
<a-button
type=
"danger"
icon=
"delete"
icon=
"delete"
@
click=
"deleteRow(record)"
@
click=
"deleteRow(record)"
class=
"btn_margin
"
type=
"link
"
>
>
删除
删除
</a-button>
</a-button>
...
@@ -130,7 +128,8 @@ let columns = [
...
@@ -130,7 +128,8 @@ let columns = [
title
:
'操作'
,
title
:
'操作'
,
key
:
"action"
,
key
:
"action"
,
scopedSlots
:
{
customRender
:
"action"
},
scopedSlots
:
{
customRender
:
"action"
},
align
:
"center"
align
:
"center"
,
width
:
180
,
}
}
]
]
...
...
src/views/biz/priceConfig/index.vue
View file @
f33c4049
<
template
>
<
template
>
<div>
<div
class=
"price-config-container"
>
<a-form-model
<a-form-model
:model=
"formModel"
:model=
"formModel"
:label-col=
"
{span:4}"
:label-col=
"
{span:4}"
...
@@ -168,5 +168,7 @@ export default {
...
@@ -168,5 +168,7 @@ export default {
}
}
</
script
>
</
script
>
<
style
>
<
style
>
.price-config-container
{
margin
:
10px
;
}
</
style
>
</
style
>
\ No newline at end of file
src/views/biz/teacher/index.vue
View file @
f33c4049
...
@@ -40,18 +40,18 @@
...
@@ -40,18 +40,18 @@
<!-- 表格操作 -->
<!-- 表格操作 -->
<template
slot=
"action"
slot-scope=
"text,record"
>
<template
slot=
"action"
slot-scope=
"text,record"
>
<a-button
<a-button
type=
"primary"
icon=
"edit"
icon=
"edit"
@
click=
"showModal(record)"
@
click=
"showModal(record)"
class=
"btn_margin
"
type=
"link
"
>
>
修改
修改
</a-button>
</a-button>
<a-button
<a-button
type=
"danger"
icon=
"delete"
icon=
"delete"
@
click=
"deleteRow(record)"
@
click=
"deleteRow(record)"
class=
"btn_margin
"
type=
"link
"
>
>
删除
删除
</a-button>
</a-button>
...
@@ -139,7 +139,8 @@ let columns = [
...
@@ -139,7 +139,8 @@ let columns = [
{
{
title
:
"讲师编号"
,
title
:
"讲师编号"
,
dataIndex
:
"code"
,
dataIndex
:
"code"
,
align
:
"center"
align
:
"center"
,
width
:
120
,
},
},
{
{
title
:
"讲师名称"
,
title
:
"讲师名称"
,
...
@@ -165,13 +166,15 @@ let columns = [
...
@@ -165,13 +166,15 @@ let columns = [
{
{
title
:
"课程数"
,
title
:
"课程数"
,
dataIndex
:
"courseCount"
,
dataIndex
:
"courseCount"
,
align
:
"center"
align
:
"center"
,
width
:
80
,
},
},
{
{
title
:
'操作'
,
title
:
'操作'
,
key
:
"action"
,
key
:
"action"
,
scopedSlots
:
{
customRender
:
"action"
},
scopedSlots
:
{
customRender
:
"action"
},
align
:
"center"
align
:
"center"
,
width
:
180
,
}
}
]
]
...
...
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