jinlin
2023-12-19 67c04bf46afc584884b73a57d3d23012126c5afc
web/src/views/modules/baselineRelease/BaselineRelease-AddOrUpdate.vue
@@ -159,12 +159,12 @@
  export default {
    data() {
      return {
        ids:'',
        dataForm: {
          id: '',
          pageCode: '',
          projectId:'',
          stepMarker: '',
          configChangeList:[],
          pageName: {
            demand: '需求基线', product:'产品基线'
          },
@@ -184,7 +184,7 @@
            softwareIdentity: '',
            softwareName: ''
          },
          remarkList: []
          configItemList: []
        }
      }
    },
@@ -221,8 +221,8 @@
      },
      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)
        })
      },
@@ -242,11 +242,11 @@
        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({