wangting
2024-03-27 353efff194122e281925a390be5d576c2f4fff6d
Source/ProjectWeb/src/components/dynamic-components/dynamic-form.vue
@@ -38,14 +38,24 @@
      type: String,
      default: ''
    },
    sourceData: {
    sourceData:{
      //菜单源数据或者弹窗时按钮所属区域的上一区域选中数据
      type: Object,
      type:Object,
      default: {}
    },
    dataStore:{
      //弹窗时按钮所属区域选中数据
      type:Array,
      default: []
    },
    paramVOS: {
      type: Object,
      default: {}
    },
    isShow: {
      //所在区域是否已显示,针对tab和collapse
      type: Boolean,
      default: true
    },
  },
  data() {
@@ -54,7 +64,6 @@
    }
  },
  mounted() {
    // console.log('componentVO--',this.componentVO.tableDefineVO.cols[0])
  },
  computed: {
    option() {
@@ -69,6 +78,14 @@
      return this.getColumnData(0)
    }
  },
  watch:{
    sourceData:{
      handler(newval) {
        console.log(this.areasName);
        console.log(newval);
      }
    }
  },
  methods: {
    //转化数据
    formColumn(formList) {