Browse Source

[合并]合并代码

master
邵佳豪 4 years ago
parent
commit
9a3ded99f0
  1. 1
      debug.log
  2. 10
      src/app/ui/collection-tools-examinee/collection-tools.component.ts
  3. 10
      src/app/ui/collection-tools-read/collection-tools.component.ts
  4. 10
      src/app/working-area/working-area.component.ts

1
debug.log

@ -2,3 +2,4 @@
[1225/152100.333:ERROR:directory_reader_win.cc(43)] FindFirstFile: 系统找不到指定的路径。 (0x3) [1225/152100.333:ERROR:directory_reader_win.cc(43)] FindFirstFile: 系统找不到指定的路径。 (0x3)
[1226/082525.401:ERROR:directory_reader_win.cc(43)] FindFirstFile: 系统找不到指定的路径。 (0x3) [1226/082525.401:ERROR:directory_reader_win.cc(43)] FindFirstFile: 系统找不到指定的路径。 (0x3)
[0104/111348.201:ERROR:directory_reader_win.cc(43)] FindFirstFile: 系统找不到指定的路径。 (0x3) [0104/111348.201:ERROR:directory_reader_win.cc(43)] FindFirstFile: 系统找不到指定的路径。 (0x3)
[0104/133113.885:ERROR:directory_reader_win.cc(43)] FindFirstFile: 系统找不到指定的路径。 (0x3)

10
src/app/ui/collection-tools-examinee/collection-tools.component.ts

@ -482,7 +482,7 @@ export class CollectionToolsExamineeComponent implements OnInit {
arr.push(item.Id) arr.push(item.Id)
}) })
this.canvasData.hiddenBasicInfoFacilities = arr this.canvasData.hiddenBasicInfoFacilities = arr
this.canvas.loadExamineeData() this.canvas.onExamineeClickFloor()
this.basicAssetLibraries = [] this.basicAssetLibraries = []
this.http.get('/api/AssetLibraries').subscribe(async(data:any) => { this.http.get('/api/AssetLibraries').subscribe(async(data:any) => {
@ -902,24 +902,24 @@ export class CollectionToolsExamineeComponent implements OnInit {
let allFireElements = JSON.parse(JSON.stringify(this.allFireElements)) let allFireElements = JSON.parse(JSON.stringify(this.allFireElements))
if(this.clickedNodeType == 0){ if(this.clickedNodeType == 0){
this.canvas.loadExaminerData() this.canvas.onExaminerClickFloor()
this.clickedNodeType = null this.clickedNodeType = null
}else{ }else{
this.canvas.loadExamineeData() this.canvas.onExamineeClickFloor()
this.clickedNodeType = null this.clickedNodeType = null
} }
return true return true
} else{ } else{
if(key == this.Facilities.length - 1){ if(key == this.Facilities.length - 1){
this.canvas.loadExaminerData() this.canvas.onExaminerClickFloor()
return false return false
} }
} }
}) })
}else{ }else{
this.canvas.loadExamineeData() this.canvas.onExamineeClickFloor()
} }
for(let key in storeyData.data){ //筛选数据 for(let key in storeyData.data){ //筛选数据
storeyData.data[key].key = storeyData.data[key].Id storeyData.data[key].key = storeyData.data[key].Id

10
src/app/ui/collection-tools-read/collection-tools.component.ts

@ -464,7 +464,7 @@ export class CollectionToolsReadComponent implements OnInit {
this.canvasData.originaleveryStoreyData.data? this.canvasData.originaleveryStoreyData.data = JSON.parse(this.canvasData.originaleveryStoreyData.data) : this.canvasData.originaleveryStoreyData.data = {} this.canvasData.originaleveryStoreyData.data? this.canvasData.originaleveryStoreyData.data = JSON.parse(this.canvasData.originaleveryStoreyData.data) : this.canvasData.originaleveryStoreyData.data = {}
this.canvasData.originaleveryStoreyData.version? null : this.canvasData.originaleveryStoreyData.version = "2.0" this.canvasData.originaleveryStoreyData.version? null : this.canvasData.originaleveryStoreyData.version = "2.0"
this.canvasData.hiddenBasicInfoFacilities = iconVisibleArr this.canvasData.hiddenBasicInfoFacilities = iconVisibleArr
this.canvas.loadExamineeData() this.canvas.onExamineeClickFloor()
} }
@ -604,10 +604,10 @@ export class CollectionToolsReadComponent implements OnInit {
}, 0); }, 0);
if(this.clickedNodeType == 0){ if(this.clickedNodeType == 0){
this.canvas.loadExaminerData() this.canvas.onExaminerClickFloor()
this.clickedNodeType = null this.clickedNodeType = null
}else{ }else{
this.canvas.loadExamineeData() this.canvas.onExamineeClickFloor()
this.clickedNodeType = null this.clickedNodeType = null
} }
@ -615,14 +615,14 @@ export class CollectionToolsReadComponent implements OnInit {
} else{ } else{
if(key == this.Facilities.length - 1){ if(key == this.Facilities.length - 1){
this.renderData = [] this.renderData = []
this.canvas.loadExaminerData() this.canvas.onExaminerClickFloor()
return false return false
} }
} }
}) })
}else{ }else{
this.canvas.loadExamineeData() this.canvas.onExamineeClickFloor()
} }
for(let key in storeyData.data){ //筛选数据 for(let key in storeyData.data){ //筛选数据
storeyData.data[key].key = storeyData.data[key].Id storeyData.data[key].key = storeyData.data[key].Id

10
src/app/working-area/working-area.component.ts

@ -1269,10 +1269,9 @@ export class WorkingAreaComponent extends EventEmitter implements OnInit, AfterV
} }
/** /**
* *
*/ */
public loadExamineeData() { public onExamineeClickFloor() {
console.log('加载考生')
// 创建背景图 // 创建背景图
this.createBackground(this.canvasData.selectStorey.imageUrl, this.canvasData.selectStorey.imageAngle); this.createBackground(this.canvasData.selectStorey.imageUrl, this.canvasData.selectStorey.imageAngle);
// 创建楼层图形 // 创建楼层图形
@ -1290,10 +1289,9 @@ export class WorkingAreaComponent extends EventEmitter implements OnInit, AfterV
} }
/** /**
* *
*/ */
public loadExaminerData() { public onExaminerClickFloor() {
console.log('加载考官')
// 创建背景图 // 创建背景图
this.createBackground(this.canvasData.selectStorey.imageUrl, this.canvasData.selectStorey.imageAngle); this.createBackground(this.canvasData.selectStorey.imageUrl, this.canvasData.selectStorey.imageAngle);
// 创建楼层图形 // 创建楼层图形

Loading…
Cancel
Save