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
39e9549c
Commit
39e9549c
authored
Jul 08, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
9f27aa21
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
17 deletions
+20
-17
prepareclassDetails.vue
src/pages/course/prepareclassDetails.vue
+20
-17
No files found.
src/pages/course/prepareclassDetails.vue
View file @
39e9549c
...
@@ -355,21 +355,7 @@
...
@@ -355,21 +355,7 @@
课后总结
课后总结
</div>
</div>
</div>
</div>
<
template
v-if=
"(LessonPlanNum>0&&LessonPlanSummaryNum>0) || this.data.LessonPlanList[0].Summary!=''"
>
<
template
v-if=
"LessonPlanNum>0&&LessonPlanSummaryNum==0"
>
<div
class=
"text14-o q-pa-md Pre-ComBg rounded-borders"
style=
"margin-top:10px;background-color:rgb(251, 246, 240)"
>
{{
conclusion
}}
</div>
<div
style=
"display:flex;flex-wrap: wrap;margin-top:20px;"
>
<div
v-if=
"ImgList.length>0"
v-for=
"(item,index) in ImgList"
>
<div
class=
"pre-ImgDiv"
>
<el-image
style=
"height: 100%;height:100%"
:src=
"item"
fit=
"cover"
:preview-src-list=
"ImgList"
></el-image>
</div>
</div>
</div>
</
template
>
<
template
v-else
>
<q-input
type=
"textarea"
filled
label=
"课后总结"
v-model=
"conclusion"
:rows=
"3"
style=
"flex:1;margin-top:20px;"
/>
<q-input
type=
"textarea"
filled
label=
"课后总结"
v-model=
"conclusion"
:rows=
"3"
style=
"flex:1;margin-top:20px;"
/>
<div
style=
"display:flex;flex-wrap: wrap;margin-top:20px;"
>
<div
style=
"display:flex;flex-wrap: wrap;margin-top:20px;"
>
<div
v-if=
"ImgList.length>0"
v-for=
"(item,index) in ImgList"
>
<div
v-if=
"ImgList.length>0"
v-for=
"(item,index) in ImgList"
>
...
@@ -390,6 +376,20 @@
...
@@ -390,6 +376,20 @@
</el-upload>
</el-upload>
</div>
</div>
</
template
>
</
template
>
<
template
v-else
>
<div
class=
"text14-o q-pa-md Pre-ComBg rounded-borders"
style=
"margin-top:10px;background-color:rgb(251, 246, 240)"
>
{{
conclusion
}}
</div>
<div
style=
"display:flex;flex-wrap: wrap;margin-top:20px;"
>
<div
v-if=
"ImgList.length>0"
v-for=
"(item,index) in ImgList"
>
<div
class=
"pre-ImgDiv"
>
<el-image
style=
"height: 100%;height:100%"
:src=
"item"
fit=
"cover"
:preview-src-list=
"ImgList"
></el-image>
</div>
</div>
</div>
</
template
>
</div>
</div>
<q-btn
color=
"accent"
size=
"sm"
v-if=
"LessonPlanNum>0&&LessonPlanSummaryNum==0&&isShowBtn"
class=
"margint-15"
@
click=
"saveOrderInfo()"
<q-btn
color=
"accent"
size=
"sm"
v-if=
"LessonPlanNum>0&&LessonPlanSummaryNum==0&&isShowBtn"
class=
"margint-15"
@
click=
"saveOrderInfo()"
style=
"margin:20px 0 0 15px;width:97%;height:40px;"
label=
"提交"
/>
style=
"margin:20px 0 0 15px;width:97%;height:40px;"
label=
"提交"
/>
...
@@ -595,11 +595,10 @@
...
@@ -595,11 +595,10 @@
if
(
a
>
0
)
{
if
(
a
>
0
)
{
this
.
isUpData
=
false
;
this
.
isUpData
=
false
;
}
}
console
.
log
(
this
.
data
.
LessonPlanList
[
0
].
ProjectPicList
,
'this.data.LessonPlanList[0].ProjectPicList'
);
if
(
this
.
data
.
LessonPlanList
&&
this
.
data
.
LessonPlanList
.
length
>
0
){
if
(
this
.
data
.
LessonPlanList
&&
this
.
data
.
LessonPlanList
.
length
>
0
){
this
.
conclusion
=
this
.
data
.
LessonPlanList
[
0
].
Summary
;
this
.
conclusion
=
this
.
data
.
LessonPlanList
[
0
].
Summary
;
this
.
ImgList
=
this
.
data
.
LessonPlanList
[
0
].
ProjectPicList
;
this
.
ImgList
=
this
.
data
.
LessonPlanList
[
0
].
ProjectPicList
;
this
.
isShowBtn
=
false
//
this.isShowBtn=false
}
}
}
}
})
})
...
@@ -667,6 +666,10 @@
...
@@ -667,6 +666,10 @@
position
:
'top'
position
:
'top'
})
})
this
.
getList
();
this
.
getList
();
var
tempStr
=
'/course/teacherLesson'
this
.
$router
.
push
({
path
:
tempStr
});
}
}
})
})
},
},
...
...
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