dymbgl.vue 1.08 KB
<template>
  <div class="dymbgl from-clues-content">
    <lb-table :page-size="pageData.size" :current-page.sync="pageData.current" heightNum="210" :total="tableData.total"
      @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns"
      :data="tableData.data">
    </lb-table>
    <editDialog v-model="isDialog" />
  </div>
</template>
<script>
import table from "@/utils/mixin/table"
import { datas, sendThis } from "./dymbgl"
import editDialog from "./components/editDialog.vue"
export default {
  name: "djbcx",
  components: {
    editDialog
  },
  mixins: [table],
  mounted () {
    sendThis(this);
  },
  data () {
    return {
      isDialog: false,
      tableData: {
        total: 0,
        columns: datas.columns(),
        data: [
          {
            slsj: "2022-5-12",
          }
        ]
      }
    }
  },
  methods: {
    // 初始化数据
    fetchData () {
    },
    editClick () {
      this.isDialog = true
    }
  },
};
</script>
<style scoped lang="scss">
@import "~@/styles/public.scss";

.dymbgl {
  margin-top: -2px;
}
</style>