Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
tea-resources-web
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-web
Commits
095ba7bd
Commit
095ba7bd
authored
Mar 27, 2024
by
YuY
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/1.0' into 1.0
parents
b43bf446
047900b3
Changes
8
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
237 additions
and
168 deletions
+237
-168
indexApi.js
src/api/courseManagement/indexApi.js
+20
-0
index.vue
src/views/contentManagement/centralCase/index.vue
+3
-3
index.vue
src/views/contentManagement/centralCase/info/index.vue
+2
-2
index.vue
src/views/contentManagement/developmentCourse/index.vue
+28
-18
index.vue
src/views/contentManagement/newsInformation/index.vue
+4
-4
index.vue
src/views/contentManagement/newsInformation/info/index.vue
+1
-1
courseCatalogues.vue
...s/courseInformation/courseManagement/courseCatalogues.vue
+166
-139
index.vue
src/views/courseInformation/courseManagement/index.vue
+13
-1
No files found.
src/api/courseManagement/indexApi.js
View file @
095ba7bd
...
@@ -147,3 +147,23 @@ export function uploadVideo(data) {
...
@@ -147,3 +147,23 @@ export function uploadVideo(data) {
data
data
})
})
}
}
// 课程管理-章节查询PDF信息
export
function
findPdfInfo
(
data
)
{
data
=
Qs
.
stringify
(
data
)
return
request
({
url
:
'/bfile/findPdfInfo'
,
method
:
'post'
,
data
,
headers
:
{}
})
}
// 课程管理-章节查询PDF_url信息
export
function
findPdfUrl
(
data
)
{
data
=
Qs
.
stringify
(
data
)
return
request
({
url
:
'/bfile/findPdfUrl '
,
method
:
'post'
,
data
,
headers
:
{}
})
}
src/views/contentManagement/centralCase/index.vue
View file @
095ba7bd
...
@@ -336,11 +336,11 @@ export default {
...
@@ -336,11 +336,11 @@ export default {
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
::v-deep
.el-table
th
.cell
{
::v-deep
.el-table
th
.cell
{
justify-content
:
center
!
important
;
justify-content
:
left
!
important
;
}
}
::v-deep
.el-table
td
.cell
{
::v-deep
.el-table
td
.cell
{
margin
:
10px
;
margin
:
10px
0
10px
0
;
text-align
:
center
!
important
;
text-align
:
left
!
important
;
}
}
}
}
#courseManage
.table_box
{
#courseManage
.table_box
{
...
...
src/views/contentManagement/centralCase/info/index.vue
View file @
095ba7bd
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
<el-input
<el-input
v-model
.
trim=
"form.title"
v-model
.
trim=
"form.title"
:disabled=
"secondFromDisabled"
:disabled=
"secondFromDisabled"
placeholder=
"请输入
案例
标题"
placeholder=
"请输入标题"
size=
"small"
size=
"small"
class=
"normalInput"
class=
"normalInput"
/>
/>
...
@@ -316,7 +316,7 @@ export default {
...
@@ -316,7 +316,7 @@ export default {
}
}
.btn-box
{
.btn-box
{
margin-top
:
3
0px
;
margin-top
:
5
0px
;
margin-bottom
:
30px
;
margin-bottom
:
30px
;
}
}
...
...
src/views/contentManagement/developmentCourse/index.vue
View file @
095ba7bd
...
@@ -111,19 +111,19 @@
...
@@ -111,19 +111,19 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"正文"
prop=
"text"
:show-overflow-tooltip=
"true"
width=
"
3
00px"
>
<el-table-column
label=
"正文"
prop=
"text"
:show-overflow-tooltip=
"true"
width=
"
5
00px"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
text
||
'-'
}}
{{
scope
.
row
.
text
||
'-'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"日期"
prop=
"developDate"
:show-overflow-tooltip=
"true"
>
<el-table-column
label=
"日期"
prop=
"developDate"
:show-overflow-tooltip=
"true"
width=
"120px"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
developDate
|
transformDateByFormat
(
'YYYY-MM-DD'
)
}}
</span>
<span>
{{
scope
.
row
.
developDate
|
transformDateByFormat
(
'YYYY-MM-DD'
)
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"状态"
prop=
"flag"
>
<el-table-column
label=
"状态"
prop=
"flag"
width=
"90px"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-switch
<el-switch
v-model=
"scope.row.flag"
v-model=
"scope.row.flag"
...
@@ -168,7 +168,7 @@
...
@@ -168,7 +168,7 @@
@
pagination=
"getList"
@
pagination=
"getList"
/>
/>
<!-- 添加或修改发展表配置对话框 -->
<!-- 添加或修改发展表配置对话框 -->
<el-dialog
:title=
"title"
:visible
.
sync=
"open"
width=
"
5
00px"
append-to-body
>
<el-dialog
:title=
"title"
:visible
.
sync=
"open"
width=
"
7
00px"
append-to-body
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
size=
"small"
label-width=
"90px"
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
size=
"small"
label-width=
"90px"
>
<el-form-item
label=
"标题"
prop=
"title"
>
<el-form-item
label=
"标题"
prop=
"title"
>
<el-input
v-model
.
trim=
"form.title"
show-word-limit
:maxlength=
"50"
placeholder=
"请输入标题"
/>
<el-input
v-model
.
trim=
"form.title"
show-word-limit
:maxlength=
"50"
placeholder=
"请输入标题"
/>
...
@@ -176,15 +176,8 @@
...
@@ -176,15 +176,8 @@
<el-form-item
label=
"正文"
prop=
"text"
>
<el-form-item
label=
"正文"
prop=
"text"
>
<el-input
v-model
.
trim=
"form.text"
type=
"textarea"
:rows=
"6"
show-word-limit
:maxlength=
"200"
placeholder=
"请输入正文"
/>
<el-input
v-model
.
trim=
"form.text"
type=
"textarea"
:rows=
"6"
show-word-limit
:maxlength=
"200"
placeholder=
"请输入正文"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"日期"
prop=
"developDate"
>
<el-row>
<el-date-picker
<el-col
span=
"8"
>
v-model=
"form.developDate"
style=
"width: 330px"
value-format=
"yyyy-MM-dd"
type=
"date"
placeholder=
"选择日期"
/>
</el-form-item>
<el-form-item
label=
"封面"
prop=
"img"
>
<el-form-item
label=
"封面"
prop=
"img"
>
<el-upload
<el-upload
:show-file-list=
"false"
:show-file-list=
"false"
...
@@ -204,6 +197,19 @@
...
@@ -204,6 +197,19 @@
<!-- <img width="100%" :src="form.url" alt="">-->
<!-- <img width="100%" :src="form.url" alt="">-->
<!-- </el-dialog>-->
<!-- </el-dialog>-->
</el-form-item>
</el-form-item>
</el-col>
<el-col
span=
"12"
>
<el-form-item
label=
"日期"
prop=
"developDate"
>
<el-date-picker
v-model=
"form.developDate"
style=
"width: 310px"
value-format=
"yyyy-MM-dd"
type=
"date"
placeholder=
"选择日期"
/>
</el-form-item>
</el-col>
</el-row>
<el-form-item
label=
"状态"
>
<el-form-item
label=
"状态"
>
<el-radio-group
v-model=
"form.flag"
>
<el-radio-group
v-model=
"form.flag"
>
...
@@ -536,12 +542,16 @@ export default {
...
@@ -536,12 +542,16 @@ export default {
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.app-container
{
.app-container
{
::v-deep
.el-table
th
.cell
{
//::v-deep .el-table th(2) .cell{
//justify-content: center!important;
// justify-content: center!important;
}
//}
::v-deep
.el-table
td
.cell
{
//::v-deep .el-table td(2) .cell{
// margin: 10px;
// text-align: center!important;
//}
::v-deep
.el-table
td
:nth-child
(
2
)
.cell
{
margin
:
10px
;
margin
:
10px
;
//
text-align: center!important;
text-align
:
center
!
important
;
}
}
font-size
:
18px
;
font-size
:
18px
;
...
...
src/views/contentManagement/newsInformation/index.vue
View file @
095ba7bd
...
@@ -74,7 +74,7 @@
...
@@ -74,7 +74,7 @@
</div>
</div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
align=
"left"
prop=
"title"
label=
"
新闻
标题"
width=
"600"
show-overflow-tooltip
/>
<el-table-column
align=
"left"
prop=
"title"
label=
"标题"
width=
"600"
show-overflow-tooltip
/>
<el-table-column
align=
"left"
prop=
"releaseDate"
label=
"发布日期"
show-overflow-tooltip
>
<el-table-column
align=
"left"
prop=
"releaseDate"
label=
"发布日期"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
...
@@ -425,11 +425,11 @@ export default {
...
@@ -425,11 +425,11 @@ export default {
height
:
100%
;
height
:
100%
;
::v-deep
.el-table
th
.cell
{
::v-deep
.el-table
th
.cell
{
justify-content
:
center
!
important
;
justify-content
:
left
!
important
;
}
}
::v-deep
.el-table
td
.cell
{
::v-deep
.el-table
td
.cell
{
margin
:
10px
;
margin
:
10px
0
10px
0
;
text-align
:
center
!
important
;
text-align
:
left
!
important
;
}
}
}
}
#courseManage
.table_box
{
#courseManage
.table_box
{
...
...
src/views/contentManagement/newsInformation/info/index.vue
View file @
095ba7bd
...
@@ -358,7 +358,7 @@ export default {
...
@@ -358,7 +358,7 @@ export default {
}
}
.btn-box
{
.btn-box
{
margin-top
:
3
0px
;
margin-top
:
5
0px
;
margin-bottom
:
30px
;
margin-bottom
:
30px
;
//position: absolute;
//position: absolute;
//bottom: 50px;
//bottom: 50px;
...
...
src/views/courseInformation/courseManagement/courseCatalogues.vue
View file @
095ba7bd
This diff is collapsed.
Click to expand it.
src/views/courseInformation/courseManagement/index.vue
View file @
095ba7bd
...
@@ -257,7 +257,7 @@
...
@@ -257,7 +257,7 @@
<span>
已发布
</span>
<span>
已发布
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
align=
"center"
label=
"操作"
width=
"
19
0"
>
<el-table-column
align=
"center"
label=
"操作"
width=
"
25
0"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
<el-button
:class=
"commonField.updateClass"
:class=
"commonField.updateClass"
...
@@ -271,6 +271,12 @@
...
@@ -271,6 +271,12 @@
:size=
"commonField.size"
:size=
"commonField.size"
@
click=
"loadCurCat(scope.$index)"
@
click=
"loadCurCat(scope.$index)"
>
目录
</el-button>
>
目录
</el-button>
<el-button
:class=
"commonField.updateClass"
:type=
"commonField.typeParent"
:size=
"commonField.size"
@
click=
"handleExamination(scope.$index)"
>
考试管理
</el-button>
<el-button
<el-button
:class=
"commonField.updateClass"
:class=
"commonField.updateClass"
:type=
"commonField.typeParent"
:type=
"commonField.typeParent"
...
@@ -749,6 +755,12 @@ export default {
...
@@ -749,6 +755,12 @@ export default {
})
})
}
}
},
},
// 跳转考试管理
handleExamination
(
index
)
{
this
.
$router
.
push
({
path
:
'/courseInformation/examinationManagement/index'
})
},
// 下载模板
// 下载模板
exportmould
()
{
exportmould
()
{
// eduUtil.ajaxGetUtil(globalUrl + 'excelWithoutAuth', {
// eduUtil.ajaxGetUtil(globalUrl + 'excelWithoutAuth', {
...
...
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