Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
tea_resources_pc
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
张伯涛
tea_resources_pc
Commits
46b248b4
Commit
46b248b4
authored
Apr 07, 2024
by
jiaxu.yan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 细节修改
parent
79e5022e
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
572 additions
and
11 deletions
+572
-11
xuexi_chuangjian.png
src/assets/icons/xuexi_chuangjian.png
+0
-0
index.scss
src/assets/style/index.scss
+3
-0
learnCenter.scss
src/assets/style/learnCenter.scss
+67
-0
index.vue
src/components/classesItem/index.vue
+7
-1
index.vue
src/components/screen/index.vue
+1
-1
group.vue
src/views/learningCenter/children/group.vue
+154
-3
participants.vue
src/views/learningCenter/children/participants.vue
+195
-3
role.vue
src/views/learningCenter/children/role.vue
+143
-3
index.vue
src/views/learningCenter/index.vue
+2
-0
No files found.
src/assets/icons/xuexi_chuangjian.png
0 → 100644
View file @
46b248b4
281 Bytes
src/assets/style/index.scss
View file @
46b248b4
...
@@ -39,4 +39,7 @@
...
@@ -39,4 +39,7 @@
color
:
#ffffff
;
color
:
#ffffff
;
// background-color: #ffffff;
// background-color: #ffffff;
background-color
:
#3684FC
;
background-color
:
#3684FC
;
}
.el-table
th
{
background-color
:
#f6f9ff
;
}
}
\ No newline at end of file
src/assets/style/learnCenter.scss
View file @
46b248b4
...
@@ -9,3 +9,70 @@
...
@@ -9,3 +9,70 @@
padding-bottom
:
2
.3rem
;
padding-bottom
:
2
.3rem
;
}
}
}
}
.search-form
{
padding-bottom
:
20px
;
border-bottom
:
1px
solid
rgba
(
53
,
139
,
254
,
0
.15
);
.flex-end
{
display
:
flex
;
justify-content
:
flex-end
;
padding
:
0
10px
;
}
.search-btn
{
background
:
linear-gradient
(
90deg
,
#3489fe
11%
,
#5ae5fc
100%
);
border
:
none
;
}
.reset-btn
{
background
:
#f8f8f8
;
border
:
none
;
}
.search-form-item
{
display
:
flex
;
align-items
:
center
;
justify-content
:
space-between
;
padding
:
0
10px
;
margin-bottom
:
20px
;
.item-label
{
min-width
:
70px
;
text-align
:
right
;
}
.item-content
{
flex
:
1
;
margin-left
:
10px
;
}
}
}
.list-box
{
margin-top
:
40px
;
display
:
flex
;
flex-flow
:
column
;
align-items
:
space-between
;
justify-content
:
space-between
;
.list-header
{
display
:
flex
;
align-items
:
center
;
justify-content
:
space-between
;
.header-title
{
font-size
:
18px
;
font-weight
:
500
;
color
:
#292929
;
line-height
:
21px
;
}
.header-add
{
color
:
#378bfb
;
display
:
flex
;
align-items
:
flex-end
;
}
}
.list-table
{
margin
:
15px
0
;
.cell
{
font-size
:
14px
;
//padding: 0;
padding-left
:
10px
;
display
:
flex
;
height
:
43px
;
justify-content
:
center
;
align-items
:
center
;
}
}
}
src/components/classesItem/index.vue
View file @
46b248b4
...
@@ -45,6 +45,7 @@
...
@@ -45,6 +45,7 @@
<span
class=
"btn-name"
>
100
</span>
<span
class=
"btn-name"
>
100
</span>
</div>
</div>
</div>
</div>
<png-icon
iconClass=
"xuexi_shiyong"
class=
"classes-test"
height=
"48px"
width=
"48px"
>
</png-icon>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
...
@@ -90,8 +91,8 @@
...
@@ -90,8 +91,8 @@
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
justify-content
:
space-between
;
.classes-tltle
{
.classes-tltle
{
width
:
800px
;
font-size
:
18px
;
font-size
:
18px
;
width
:
471px
;
font-weight
:
700
;
font-weight
:
700
;
color
:
#000000
;
color
:
#000000
;
white-space
:
nowrap
;
white-space
:
nowrap
;
...
@@ -133,5 +134,10 @@
...
@@ -133,5 +134,10 @@
margin-left
:
10px
;
margin-left
:
10px
;
}
}
}
}
.classes-test
{
position
:
absolute
;
top
:
0
;
right
:
0
;
}
}
}
</
style
>
</
style
>
src/components/screen/index.vue
View file @
46b248b4
...
@@ -56,7 +56,7 @@ export default {
...
@@ -56,7 +56,7 @@ export default {
}
}
}
}
</
script
>
</
script
>
<
style
>
<
style
scoped
>
.screen-box
{
.screen-box
{
display
:
flex
;
display
:
flex
;
margin
:
30px
0
;
margin
:
30px
0
;
...
...
src/views/learningCenter/children/group.vue
View file @
46b248b4
<
template
>
<
template
>
<page-layout>
</page-layout>
<page-layout>
<div
v-show=
"showSearch"
class=
"search-form"
"
>
<el-row>
<el-col
:span=
"12"
>
<div
class=
"search-form-item"
>
<div
class=
"item-label"
>
小组名称:
</div>
<div
class=
"item-content"
>
<el-input
v-model=
"queryParams.deptName"
placeholder=
"请输入"
clearable
@
keyup
.
enter
.
native=
"handleQuery"
/>
</div>
</div>
</el-col>
<el-col
:span=
"12"
>
<div
class=
"search-form-item"
>
<div
class=
"item-label"
>
组长:
</div>
<div
class=
"item-content"
>
<el-input
v-model=
"queryParams.deptName"
placeholder=
"请输入"
clearable
@
keyup
.
enter
.
native=
"handleQuery"
/>
</div>
</div>
</el-col>
<el-col
:span=
"12"
>
<div
class=
"search-form-item"
>
<div
class=
"item-label"
>
组员:
</div>
<div
class=
"item-content"
>
<el-input
v-model=
"queryParams.deptName"
placeholder=
"请输入"
clearable
@
keyup
.
enter
.
native=
"handleQuery"
/>
</div>
</div>
</el-col>
<el-col
:span=
"12"
class=
"flex-end"
>
<el-button
type=
"primary"
size=
"mini"
@
click=
"handleQuery"
class=
"search-btn"
>
查询
</el-button
>
<el-button
size=
"mini"
@
click=
"resetQuery"
class=
"reset-btn"
>
重置
</el-button
>
</el-col>
</el-row>
</div>
<div
class=
"list-box"
>
<div
class=
"list-header"
>
<div
class=
"header-title"
>
数据列表
</div>
<div
class=
"header-add"
>
<png-icon
iconClass=
"xuexi_chuangjian"
height=
"16px"
style=
"margin-right: 5px"
>
</png-icon>
创建小组
</div>
</div>
<el-table
class=
"list-table"
:data=
"tableData"
>
<el-table-column
type=
"index"
width=
"55"
label=
"序号"
align=
"center"
>
<template
slot-scope=
"scope"
>
<span>
{{
scope
.
$index
+
1
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"小组名称"
width=
"100"
align=
"center"
>
</el-table-column>
<el-table-column
label=
"组长"
show-overflow-tooltip
align=
"center"
>
</el-table-column>
<el-table-column
label=
"组员"
show-overflow-tooltip
align=
"center"
>
</el-table-column>
<el-table-column
label=
"操作"
width=
"210"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<el-button
type=
"text"
@
click=
"hanldleUpdate(scope.row.id)"
>
修改
</el-button
>
<el-button
type=
"text"
@
click=
"hanldleDelete(scope.row.id)"
>
删除
</el-button
>
</
template
>
</el-table-column>
</el-table>
<div
style=
"display: flex; justify-content: center"
>
<pagination
:total=
"100"
:background=
"false"
layout=
"prev, pager, next"
:page
.
sync=
"queryParams.pageNum"
:limit
.
sync=
"queryParams.pageSize"
@
pagination=
"loadData"
/>
</div>
</div>
</page-layout>
</template>
</template>
<
script
>
<
script
>
import
page
from
'@/mixins/page'
export
default
{
export
default
{
name
:
'Index'
,
name
:
'Index'
,
mixins
:
[
page
],
components
:
{},
components
:
{},
data
()
{
data
()
{
return
{}
return
{
listUrl
:
'/system/enterprise/list'
,
tableData
:
[
1
],
model
:
this
.
$modelDataSource
({
url
:
'/system/enterprise'
,
dataKey
:
'model'
,
attributes
:
{
id
:
''
}
})
}
},
},
computed
:
{}
computed
:
{},
methods
:
{
hanldleUpdate
(
id
)
{},
hanldleDelete
(
id
)
{
this
.
$confirm
(
'是否确定删除该条数据?'
,
{
type
:
'warning'
,
title
:
'删除'
,
closeOnClickModal
:
false
})
.
then
(()
=>
{
this
.
model
.
uuid
=
id
this
.
model
.
destroy
(
()
=>
{
this
.
loadData
()
this
.
$message
.
success
(
'删除成功'
)
},
error
=>
{
this
.
$message
.
error
(
error
.
data
.
msg
)
}
)
})
.
catch
(()
=>
{})
}
}
}
}
</
script
>
</
script
>
<
style
>
</
style
>
src/views/learningCenter/children/participants.vue
View file @
46b248b4
<
template
>
<
template
>
<page-layout>
</page-layout>
<page-layout>
<el-form
v-show=
"showSearch"
ref=
"queryForm"
:model=
"queryParams"
class=
"search-form"
:inline=
"true"
label-width=
"70px"
>
<el-row>
<el-col
:span=
"12"
>
<div
class=
"search-form-item"
>
<div
class=
"item-label"
>
登录名/姓名:
</div>
<div
class=
"item-content"
>
<el-input
v-model=
"queryParams.deptName"
placeholder=
"请输入"
clearable
@
keyup
.
enter
.
native=
"handleQuery"
/>
</div>
</div>
</el-col>
<el-col
:span=
"12"
>
<div
class=
"search-form-item"
>
<div
class=
"item-label"
>
手机号:
</div>
<div
class=
"item-content"
>
<el-input
v-model=
"queryParams.deptName"
placeholder=
"请输入"
clearable
@
keyup
.
enter
.
native=
"handleQuery"
/>
</div>
</div>
</el-col>
<el-col
:span=
"12"
>
<div
class=
"search-form-item"
>
<div
class=
"item-label"
>
状态:
</div>
<div
class=
"item-content"
>
<el-input
v-model=
"queryParams.deptName"
placeholder=
"请输入"
clearable
@
keyup
.
enter
.
native=
"handleQuery"
/>
</div>
</div>
</el-col>
<el-col
:span=
"12"
>
<div
class=
"search-form-item"
>
<div
class=
"item-label"
>
角色:
</div>
<div
class=
"item-content"
>
<el-input
v-model=
"queryParams.deptName"
placeholder=
"请输入"
clearable
@
keyup
.
enter
.
native=
"handleQuery"
/>
</div>
</div>
</el-col>
<el-col
:span=
"12"
>
<div
class=
"search-form-item"
>
<div
class=
"item-label"
>
小组:
</div>
<div
class=
"item-content"
>
<el-input
v-model=
"queryParams.deptName"
placeholder=
"请输入"
clearable
@
keyup
.
enter
.
native=
"handleQuery"
/>
</div>
</div>
</el-col>
<el-col
:span=
"12"
class=
"flex-end"
>
<el-button
type=
"primary"
size=
"mini"
@
click=
"handleQuery"
class=
"search-btn"
>
查询
</el-button
>
<el-button
size=
"mini"
@
click=
"resetQuery"
class=
"reset-btn"
>
重置
</el-button
>
</el-col>
</el-row>
</el-form>
<div
class=
"list-box"
>
<div
class=
"list-header"
>
<div
class=
"header-title"
>
数据列表
</div>
<div
class=
"header-add"
>
<png-icon
iconClass=
"xuexi_chuangjian"
height=
"16px"
style=
"margin-right: 5px;"
>
</png-icon>
创建角色
</div>
</div>
<el-table
class=
"list-table"
:data=
"tableData"
>
<el-table-column
type=
"index"
width=
"55"
label=
"序号"
align=
"center"
>
<template
slot-scope=
"scope"
>
<span>
{{
scope
.
$index
+
1
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"角色名称"
width=
"100"
align=
"center"
>
</el-table-column>
<el-table-column
label=
"配置课程"
show-overflow-tooltip
align=
"center"
>
</el-table-column>
<el-table-column
label=
"操作"
width=
"210"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<el-button
type=
"text"
@
click=
"hanldleUpdate(scope.row.id)"
>
修改
</el-button
>
<el-button
type=
"text"
@
click=
"hanldleDelete(scope.row.id)"
>
删除
</el-button
>
</
template
>
</el-table-column>
</el-table>
<div
style=
"display: flex;justify-content: center;"
>
<pagination
:total=
"100"
:background=
"false"
layout=
"prev, pager, next"
:page
.
sync=
"queryParams.pageNum"
:limit
.
sync=
"queryParams.pageSize"
@
pagination=
"loadData"
/>
</div>
</div>
</page-layout>
</template>
</template>
<
script
>
<
script
>
import
page
from
'@/mixins/page'
export
default
{
export
default
{
name
:
'Index'
,
name
:
'Index'
,
mixins
:
[
page
],
components
:
{},
components
:
{},
data
()
{
data
()
{
return
{}
return
{
listUrl
:
'/system/enterprise/list'
,
tableData
:
[
1
],
model
:
this
.
$modelDataSource
({
url
:
'/system/enterprise'
,
dataKey
:
'model'
,
attributes
:
{
id
:
''
}
})
}
},
},
computed
:
{}
computed
:
{},
methods
:
{
hanldleUpdate
(
id
)
{},
hanldleDelete
(
id
)
{
this
.
$confirm
(
'是否确定删除该条数据?'
,
{
type
:
'warning'
,
title
:
'删除'
,
closeOnClickModal
:
false
})
.
then
(()
=>
{
this
.
model
.
uuid
=
id
this
.
model
.
destroy
(
()
=>
{
this
.
loadData
()
this
.
$message
.
success
(
'删除成功'
)
},
error
=>
{
this
.
$message
.
error
(
error
.
data
.
msg
)
}
)
})
.
catch
(()
=>
{})
}
}
}
}
</
script
>
</
script
>
<
style
scoped
>
.search-btn
{
background
:
linear-gradient
(
90deg
,
#3489fe
11%
,
#5ae5fc
100%
);
border
:
none
;
}
.reset-btn
{
background
:
#f8f8f8
;
border
:
none
;
}
</
style
>
src/views/learningCenter/children/role.vue
View file @
46b248b4
<
template
>
<
template
>
<page-layout>
</page-layout>
<page-layout>
<div
v-show=
"showSearch"
class=
"search-form"
>
<el-row>
<el-col
:span=
"9"
>
<div
class=
"search-form-item"
>
<div
class=
"item-label"
>
角色名称:
</div>
<div
class=
"item-content"
>
<el-input
v-model=
"queryParams.deptName"
placeholder=
"请输入"
clearable
@
keyup
.
enter
.
native=
"handleQuery"
/>
</div>
</div>
</el-col>
<el-col
:span=
"9"
>
<div
class=
"search-form-item"
>
<div
class=
"item-label"
>
课程标题:
</div>
<div
class=
"item-content"
>
<el-input
v-model=
"queryParams.deptName"
placeholder=
"请输入"
clearable
@
keyup
.
enter
.
native=
"handleQuery"
/>
</div>
</div>
</el-col>
<el-col
:span=
"6"
class=
"flex-end"
>
<el-button
type=
"primary"
size=
"mini"
@
click=
"handleQuery"
class=
"search-btn"
>
查询
</el-button
>
<el-button
size=
"mini"
@
click=
"resetQuery"
class=
"reset-btn"
>
重置
</el-button
>
</el-col>
</el-row>
</div>
<div
class=
"list-box"
>
<div
class=
"list-header"
>
<div
class=
"header-title"
>
数据列表
</div>
<div
class=
"header-add"
>
<png-icon
iconClass=
"xuexi_chuangjian"
height=
"16px"
style=
"margin-right: 5px;"
>
</png-icon>
创建角色
</div>
</div>
<el-table
class=
"list-table"
:data=
"tableData"
>
<el-table-column
type=
"index"
width=
"55"
label=
"序号"
align=
"center"
>
<template
slot-scope=
"scope"
>
<span>
{{
scope
.
$index
+
1
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"角色名称"
width=
"100"
align=
"center"
>
</el-table-column>
<el-table-column
label=
"配置课程"
show-overflow-tooltip
align=
"center"
>
</el-table-column>
<el-table-column
label=
"操作"
width=
"210"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<el-button
type=
"text"
@
click=
"hanldleUpdate(scope.row.id)"
>
修改
</el-button
>
<el-button
type=
"text"
@
click=
"hanldleDelete(scope.row.id)"
>
删除
</el-button
>
</
template
>
</el-table-column>
</el-table>
<div
style=
"display: flex;justify-content: center;"
>
<pagination
:total=
"100"
:background=
"false"
layout=
"prev, pager, next"
:page
.
sync=
"queryParams.pageNum"
:limit
.
sync=
"queryParams.pageSize"
@
pagination=
"loadData"
/>
</div>
</div>
</page-layout>
</template>
</template>
<
script
>
<
script
>
import
page
from
'@/mixins/page'
export
default
{
export
default
{
name
:
'Index'
,
name
:
'Index'
,
mixins
:
[
page
],
components
:
{},
components
:
{},
data
()
{
data
()
{
return
{}
return
{
listUrl
:
'/system/enterprise/list'
,
tableData
:
[
1
],
model
:
this
.
$modelDataSource
({
url
:
'/system/enterprise'
,
dataKey
:
'model'
,
attributes
:
{
id
:
''
}
})
}
},
},
computed
:
{}
computed
:
{},
methods
:
{
hanldleUpdate
(
id
)
{},
hanldleDelete
(
id
)
{
this
.
$confirm
(
'是否确定删除该条数据?'
,
{
type
:
'warning'
,
title
:
'删除'
,
closeOnClickModal
:
false
})
.
then
(()
=>
{
this
.
model
.
uuid
=
id
this
.
model
.
destroy
(
()
=>
{
this
.
loadData
()
this
.
$message
.
success
(
'删除成功'
)
},
error
=>
{
this
.
$message
.
error
(
error
.
data
.
msg
)
}
)
})
.
catch
(()
=>
{})
}
}
}
}
</
script
>
</
script
>
<
style
scoped
>
.search-btn
{
background
:
linear-gradient
(
90deg
,
#3489fe
11%
,
#5ae5fc
100%
);
border
:
none
;
}
.reset-btn
{
background
:
#f8f8f8
;
border
:
none
;
}
</
style
>
src/views/learningCenter/index.vue
View file @
46b248b4
...
@@ -54,6 +54,8 @@ export default {
...
@@ -54,6 +54,8 @@ export default {
.learningCenter_module
{
.learningCenter_module
{
// position: relative;
// position: relative;
padding
:
50px
30px
;
padding
:
50px
30px
;
width
:
1200px
;
margin
:
auto
;
}
}
.page-left
{
.page-left
{
background
:
#ffffff
;
background
:
#ffffff
;
...
...
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