Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
thinkApp
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
游洁
thinkApp
Commits
cf1e9fd3
Commit
cf1e9fd3
authored
Jun 01, 2022
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
b9d8dc27
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
22 deletions
+4
-22
commentDetails.vue
src/components/setComments/commentDetails.vue
+2
-2
commentDetails.vue
src/pages/setComments/commentDetails.vue
+2
-20
No files found.
src/components/setComments/commentDetails.vue
View file @
cf1e9fd3
...
...
@@ -9,9 +9,9 @@
<van-icon
name=
"cross"
/>
</view>
<view
class=
"commentDetailsList-img flex"
>
<view>
学员1
</view>
<view>
{{
item
.
StuName
}}
</view>
<view
class=
"flex"
>
<text>
{{
item
.
ShowType
}}
</text>
<text>
{{
item
.
ShowType
Str
}}
</text>
<van-image
@
click=
"editRules"
class=
"img"
width=
"31rpx"
height=
"30rpx"
fit=
"cover"
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Test/Upload/Goods/1653980151000_180.png"
/>
</view>
<view
class=
"Wire"
></view>
...
...
src/pages/setComments/commentDetails.vue
View file @
cf1e9fd3
...
...
@@ -16,7 +16,7 @@
<text>
{{
topData
.
ShowTypeStr
}}
</text>
</view>
</view>
<view
class=
"commentDetails-setType-time flex"
@
click=
"goRules"
>
<view
class=
"commentDetails-setType-time flex"
>
<view>
来源:
{{
topData
.
CreateTypeStr
}}
</view>
...
...
@@ -83,8 +83,7 @@
CourseId
:
''
,
CommentTimes
:
1
},
courseTimeList
:
[],
//课程自动生成评论次数
courseRule
:
{},
//课程评价规则
courseTimeList
:
[],
topData
:{
ShowTypeStr
:
""
,
Times
:
1
,
...
...
@@ -99,22 +98,6 @@
})
},
radioChange
(
e
)
{
console
.
log
(
"打印国家名称"
,
e
.
target
.
value
)
},
//获取课程评价规则信息
getCourseRule
()
{
proxy
.
$request
(
"/Teacher/GetCourseComment"
,
data
.
Msg
).
then
(
res
=>
{
if
(
res
)
{
data
.
courseRule
=
res
.
Data
;
}
})
},
goRules
()
{
uni
.
navigateTo
({
url
:
'/pages/setComments/commentRulesList?CourseId='
+
data
.
Msg
.
CourseId
})
},
getStuCommentList
(){
proxy
.
$request
(
"/Teacher/GetStuCommentList"
,
data
.
Msg
).
then
(
res
=>
{
if
(
res
)
{
...
...
@@ -137,7 +120,6 @@
this
.
topData
.
CreateTime
=
json
.
CreateTime
;
this
.
topData
.
CreateTypeStr
=
json
.
CreateTypeStr
;
this
.
Msg
.
CommentTimes
=
json
.
Times
;
this
.
getCourseRule
();
this
.
getStuCommentList
();
},
...
...
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