<!-- * @Description: * @Autor: renchao * @LastEditTime: 2023-05-04 14:13:28 --> <template> <lb-table :column="tableData.columns" heightNumSetting :pagination="false" :key="key" :data="tableData.data"> </lb-table> </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: { /** * @description: query * @author: renchao */ query () { getSzRecordList({ bsmBdcqz: this.formData.bsmBdcqz }).then(res => { if (res.code == 200) { this.tableData.data = res.result; this.key++ } }) } } } </script> <style scoped lang='scss'> </style>