|
@@ -12,7 +12,7 @@
|
|
|
</div>
|
|
|
<div class="courseTop" v-else>
|
|
|
<div class="stepsNav" v-if="!examineId && !disableBack">
|
|
|
- <el-breadcrumb separator-class="el-icon-arrow-right">
|
|
|
+ <el-breadcrumb separator-class="el-icon-arrow-right" v-if="review ==='1'">
|
|
|
<el-breadcrumb-item
|
|
|
v-if="!back"
|
|
|
:to="{
|
|
@@ -2853,7 +2853,7 @@ ${JSON.stringify(forAllList)}
|
|
|
this.scoList = JSON.parse(data.message)
|
|
|
this.aiscoLoading = false
|
|
|
|
|
|
- this.uploadSCo(1)
|
|
|
+ this.uploadSCo()
|
|
|
})
|
|
|
.catch(error => {
|
|
|
this.aiscoLoading = false
|
|
@@ -2907,16 +2907,22 @@ ${JSON.stringify(forAllList)}
|
|
|
|
|
|
},
|
|
|
// 上传评分
|
|
|
- uploadSCo(val){
|
|
|
+ uploadSCo(){
|
|
|
this.aiscoLoading = true
|
|
|
|
|
|
// val有数据就是自动评分把将新老数据结合在一起
|
|
|
+
|
|
|
let scoArr = []
|
|
|
- if (val) {
|
|
|
- scoArr = [...this.scoList,...this.scoListCopy]
|
|
|
- }else{
|
|
|
- scoArr = this.scoList
|
|
|
- }
|
|
|
+ // 新添加的评分
|
|
|
+ const ids1 = this.scoList.map(item => item.id);
|
|
|
+ console.log('ids1',ids1);
|
|
|
+
|
|
|
+ jiu评分
|
|
|
+ scoArr = this.scoListCopy.filter(item => !ids1.includes(item.id));
|
|
|
+ console.log('scoArr',JSON.parse(JSON.stringify('scoArr')));
|
|
|
+
|
|
|
+
|
|
|
+ scoArr = [...this.scoList,...scoArr]
|
|
|
|
|
|
let params = [{
|
|
|
tid:this.cid,
|