Commit cf1e9fd3 authored by liudong1993's avatar liudong1993

1

parent b9d8dc27
...@@ -9,9 +9,9 @@ ...@@ -9,9 +9,9 @@
<van-icon name="cross" /> <van-icon name="cross" />
</view> </view>
<view class="commentDetailsList-img flex"> <view class="commentDetailsList-img flex">
<view>学员1</view> <view>{{item.StuName}}</view>
<view class="flex"> <view class="flex">
<text>{{item.ShowType}}</text> <text>{{item.ShowTypeStr}}</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" /> <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>
<view class="Wire"></view> <view class="Wire"></view>
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
<text>{{topData.ShowTypeStr}}</text> <text>{{topData.ShowTypeStr}}</text>
</view> </view>
</view> </view>
<view class="commentDetails-setType-time flex" @click="goRules"> <view class="commentDetails-setType-time flex">
<view> <view>
来源:{{topData.CreateTypeStr}} 来源:{{topData.CreateTypeStr}}
</view> </view>
...@@ -83,8 +83,7 @@ ...@@ -83,8 +83,7 @@
CourseId: '', CourseId: '',
CommentTimes:1 CommentTimes:1
}, },
courseTimeList: [], //课程自动生成评论次数 courseTimeList: [],
courseRule: {}, //课程评价规则
topData:{ topData:{
ShowTypeStr:"", ShowTypeStr:"",
Times:1, Times:1,
...@@ -99,22 +98,6 @@ ...@@ -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(){ getStuCommentList(){
proxy.$request("/Teacher/GetStuCommentList", data.Msg).then(res => { proxy.$request("/Teacher/GetStuCommentList", data.Msg).then(res => {
if (res) { if (res) {
...@@ -137,7 +120,6 @@ ...@@ -137,7 +120,6 @@
this.topData.CreateTime = json.CreateTime; this.topData.CreateTime = json.CreateTime;
this.topData.CreateTypeStr = json.CreateTypeStr; this.topData.CreateTypeStr = json.CreateTypeStr;
this.Msg.CommentTimes = json.Times; this.Msg.CommentTimes = json.Times;
this.getCourseRule();
this.getStuCommentList(); this.getStuCommentList();
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment