| | |
| | | export default { |
| | | data() { |
| | | return { |
| | | ids:'', |
| | | dataForm: { |
| | | id: '', |
| | | pageCode: '', |
| | | projectId:'', |
| | | stepMarker: '', |
| | | configChangeList:[], |
| | | pageName: { |
| | | demand: '需求基线', product:'产品基线' |
| | | }, |
| | |
| | | softwareIdentity: '', |
| | | softwareName: '' |
| | | }, |
| | | remarkList: [] |
| | | configItemList: [] |
| | | } |
| | | } |
| | | }, |
| | |
| | | }, |
| | | handleCommand() { |
| | | this.$nextTick(()=>{ |
| | | console.log(this.dataForm.projectId,'this.dataForm.projectId') |
| | | this.ids = this.dataForm.configChangeList.map(item=>item.selectId).join(',') |
| | | this.ids = this.dataForm.remarkList.map(item=>item.selectId).join(',') |
| | | console.log(this.ids,'handleCommand ids') |
| | | this.$refs.configItemList.$refs.dialog.init(this.dataForm.projectId,this.ids) |
| | | }) |
| | | }, |
| | |
| | | console.log(this.dataForm, 'this.dataForm this.dataForm') |
| | | }, |
| | | getChangeItemList(data){ |
| | | console.log(data.configChangeList,'getChangeItemList(data)') |
| | | if(data.configChangeList){ |
| | | this.dataForm.configChangeList=this.dataForm.configChangeList.concat(data.configChangeList) |
| | | console.log(data.remarkList,'getChangeItemList(data)') |
| | | if(data.remarkList){ |
| | | this.dataForm.remarkList=this.dataForm.remarkList.concat(data.remarkList) |
| | | } |
| | | console.log(this.dataForm.configChangeList,ids,'this.dataForm.configChangeList') |
| | | console.log(this.dataForm.remarkList,'this.dataForm.configChangeList') |
| | | }, |
| | | async print() { |
| | | var params = qs.stringify({ |