wangting
2023-07-13 eccdff7350f22d52347583adc8d6da1564d3b110
Source/UBCS-WEB/src/components/refer/vciWebReferDefalut.vue
@@ -50,6 +50,7 @@
        label: this.referConfig.textField || this.referConfig.options.textField || "name"
      },
      url: this.referConfig.options.url || '/api/ubcs-code/mdmEngineController/defaultReferDataGrid',
      method: this.referConfig.options.method || 'GET',
      tableDefinedUrl:'',//平台表格地址
      copyParam: ['referBo', 'textField', 'valueField', 'displayTable', 'whereSql',  'queryScheme'],
      query: {},
@@ -73,6 +74,7 @@
        border: true,
        index: true,
        selection: true,
        reserveSelection:true,
        dialogClickModal: false,
        highlightCurrentRow: true,
        column: []
@@ -81,8 +83,8 @@
  },
  created() {
    this.getParams();
    console.log('referConfig:')
    console.log(this.referConfig)
    // console.log('referConfig:')
    // console.log(this.referConfig)
  },
  mounted() {
    if(this.referConfig.options.page){
@@ -275,9 +277,9 @@
            query['conditionMap["' + key + '"]'] = this.query[key];
          }
        }
        getList(Object.assign(params,this.params,this.query, query),page.currentPage, page.pageSize, this.url).then(res => {
          this.data = res.data;
          this.page.total=res.total
        getList(Object.assign(params,this.params,this.query, query),page.currentPage, page.pageSize, this.url, this.method).then(res => {
          this.data = res.data.records;
          this.page.total=res.data.total
          this.loading = false;
          this.selectionClear();
        }).catch(error=>{