Browse Source

[完善] 考官阅卷提交完善

master
陈鹏飞 4 years ago
parent
commit
be7945b0f6
  1. 4
      src/app/examiner/review-files/review-files.component.ts
  2. 14
      src/app/ui/collection-tools/collection-tools.component.ts

4
src/app/examiner/review-files/review-files.component.ts

@ -228,7 +228,8 @@ export class ReviewFilesComponent implements OnInit {
//提交阅卷结果
submitResult () {
let bodyData = {
let bodyData = {
id: this.paperData.id,
isMarked: true,
totalScore: 0,
examinationDataInfo: [],
@ -268,7 +269,6 @@ export class ReviewFilesComponent implements OnInit {
bodyData.examinationDataInfo = paramsData
console.log(bodyData)
this.http.put(`/api/Examinations/${this.paperData.id}`,bodyData).subscribe(data=>{
console.log(data)
const config = new MatSnackBarConfig();
config.verticalPosition = 'top';
config.duration = 5000

14
src/app/ui/collection-tools/collection-tools.component.ts

@ -1250,12 +1250,7 @@ export class CollectionToolsComponent implements OnInit {
this.canvasData.originaleveryStoreyData.version? null : this.canvasData.originaleveryStoreyData.version = "2.0"
this.canvasData.originaleveryStoreyData.sitePlanId? null : this.canvasData.originaleveryStoreyData.sitePlanId = e.id || null
this.renovateTreeData()
// this.canvas.onExaminerClickFloor()
this.canvas.createBackground(this.canvasData.selectStorey.imageUrl, this.canvasData.selectStorey.imageAngle);
this.canvas.createFloorShape(this.canvasData.originaleveryStoreyData.data);
this.canvas.createNodeShape(this.canvasData.selectPanelPoint.Data);
// 隐藏基本信息图形
this.canvas.setNameVisible(false, 0);
this.canvas.onExaminerClickFloor_CreateTestpaper()
})
}
@ -1281,12 +1276,7 @@ export class CollectionToolsComponent implements OnInit {
this.canvasData.originaleveryStoreyData.version? null : this.canvasData.originaleveryStoreyData.version = "2.0"
this.canvasData.originaleveryStoreyData.buildingAreaId? null : this.canvasData.originaleveryStoreyData.buildingAreaId = e.id || null
this.renovateTreeData()
// this.canvas.onExaminerClickFloor()
this.canvas.createBackground(this.canvasData.selectStorey.imageUrl, this.canvasData.selectStorey.imageAngle);
this.canvas.createFloorShape(this.canvasData.originaleveryStoreyData.data);
this.canvas.createNodeShape(this.canvasData.selectPanelPoint.Data);
// 隐藏基本信息图形
this.canvas.setNameVisible(false, 0);
this.canvas.onExaminerClickFloor_CreateTestpaper()
})
}

Loading…
Cancel
Save