szRecord.vue 1.05 KB
<template>
  <div>
    <lb-table :column="tableData.columns" border :maxHeight="300" heightNumSetting :pagination="false" :key="key" :data="tableData.data">
    </lb-table>
  </div>
</template>
<script>
import { mapGetters } from 'vuex'
import { getSzRecordList } from "@/api/bdcqz.js";
import table from "@/utils/mixin/table";
import { datas } from "../javascript/szxxdata";
export default {
  components: {
    
  },
  mixins: [table],
  computed: {
    ...mapGetters(["dictData"]),
  },
  props: {
    formData: {
      type: Object,
      default: {}
    },
  },
  data () {
    return {
      key: 0,
      dataIndex: 0,
      dialog: false,
      details: {},
      tableData: {
        total: 0,
        columns: datas.columns(),
        data: [],
      },
    }
  },
  mounted() {
      this.query()
  },
  methods: {
    query(){
        getSzRecordList({bsmBdcqz: this.formData.bsmBdcqz}).then(res => {
            if(res.code == 200){
                this.tableData.data = res.result;
            }
        })
    }
  }
}
</script>
<style scoped lang='scss'>

</style>