Browse Source

[完善]清除打印信息

zhuzhou
邵佳豪 4 years ago
parent
commit
5964aa16f7
  1. 12
      src/app/ui/collection-tools-plan/collection-tools.component.ts

12
src/app/ui/collection-tools-plan/collection-tools.component.ts

@ -632,10 +632,10 @@ export class CollectionToolsPlanComponent implements OnInit {
AxMessageSystem.addListener('selectionChanged', ()=>{ AxMessageSystem.addListener('selectionChanged', ()=>{
if(this.canvas.selection.size() == 1){//如果是单选 if(this.canvas.selection.size() == 1){//如果是单选
this.isMultipleAsset = false this.isMultipleAsset = false
console.log('单选',this.canvas.selection.first().assetData) // console.log('单选',this.canvas.selection.first().assetData)
this.setAssetsProperty(this.canvas.selection.first().assetData) this.setAssetsProperty(this.canvas.selection.first().assetData)
}else if(this.canvas.selection.size()){ }else if(this.canvas.selection.size()){
console.log('多选') // console.log('多选')
this.multipleAssetData = this.canvas.selection.all() this.multipleAssetData = this.canvas.selection.all()
this.firstMultipleAssetData = this.canvas.selection.first() this.firstMultipleAssetData = this.canvas.selection.first()
this.multipleAsset = { this.multipleAsset = {
@ -672,7 +672,7 @@ export class CollectionToolsPlanComponent implements OnInit {
}); });
}) })
}) })
console.log(666,_this.multipleAsset.PropertyInfos) // console.log(666,_this.multipleAsset.PropertyInfos)
} }
}, this) }, this)
@ -772,7 +772,7 @@ export class CollectionToolsPlanComponent implements OnInit {
multipleAssetInputChange(i,e){ multipleAssetInputChange(i,e){
e.stopPropagation() e.stopPropagation()
this.multipleAssetData.forEach(item=>{ this.multipleAssetData.forEach(item=>{
console.log(item) // console.log(item)
item.assetData.PropertyInfos.forEach(element => { item.assetData.PropertyInfos.forEach(element => {
if(element.PropertyName == i.PropertyName){ if(element.PropertyName == i.PropertyName){
element.PropertyValue = i.PropertyValue element.PropertyValue = i.PropertyValue
@ -786,7 +786,7 @@ export class CollectionToolsPlanComponent implements OnInit {
multipleAssetRadioChange(i,value){ multipleAssetRadioChange(i,value){
// e.stopPropagation() // e.stopPropagation()
this.multipleAssetData.forEach(item=>{ this.multipleAssetData.forEach(item=>{
console.log(item) // console.log(item)
item.assetData.PropertyInfos.forEach(element => { item.assetData.PropertyInfos.forEach(element => {
if(element.PropertyName == i.PropertyName){ if(element.PropertyName == i.PropertyName){
element.PropertyValue = value element.PropertyValue = value
@ -800,7 +800,7 @@ export class CollectionToolsPlanComponent implements OnInit {
multipleSupplyArea(i,e){ multipleSupplyArea(i,e){
e.stopPropagation() e.stopPropagation()
this.multipleAssetData.forEach(item=>{ this.multipleAssetData.forEach(item=>{
console.log(item) // console.log(item)
item.assetData.PropertyInfos.forEach(element => { item.assetData.PropertyInfos.forEach(element => {
if(element.PropertyName == i.PropertyName){ if(element.PropertyName == i.PropertyName){
element.PropertyValue = i.PropertyValue element.PropertyValue = i.PropertyValue

Loading…
Cancel
Save