|
@@ -0,0 +1,62 @@
|
|
|
+<template>
|
|
|
+ <div id="preBookList">
|
|
|
+
|
|
|
+ <a-card :bordered="false" style="marginTop:10px;">
|
|
|
+
|
|
|
+ <!-- 子表 -->
|
|
|
+ <a-table
|
|
|
+ bordered
|
|
|
+ v-if="preBookListData"
|
|
|
+ :rowKey=" (row, index) => {return index;}"
|
|
|
+ :columns="preBookListColumns"
|
|
|
+ :data-source="preBookListData"
|
|
|
+ :loading="loading"
|
|
|
+ :pagination="pagination"
|
|
|
+ @change="handleTableChange"
|
|
|
+ :scroll="{ x: 1500,y: 500 }"
|
|
|
+ >
|
|
|
+ </a-table>
|
|
|
+ </a-card>
|
|
|
+ </div>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script>
|
|
|
+import { JeecgListMixin } from '@/mixins/JeecgListMixin'
|
|
|
+import JEllipsis from '@/components/jeecg/JEllipsis'
|
|
|
+import moment from 'moment'
|
|
|
+
|
|
|
+export default {
|
|
|
+ name: 'PreBookList', // 预托书列表
|
|
|
+ mixins: [JeecgListMixin],
|
|
|
+ components: { JEllipsis, moment, addPreBookDrawer, detailsPreBookDrawer, editPreBookDrawer },
|
|
|
+ data() {
|
|
|
+ let ellipsis = (v, l = 20) => <j-ellipsis value={v} length={l} /> // 省略
|
|
|
+
|
|
|
+ return {
|
|
|
+ }
|
|
|
+ },
|
|
|
+
|
|
|
+ created() {
|
|
|
+ },
|
|
|
+ methods: {
|
|
|
+ },
|
|
|
+ computed: {},
|
|
|
+ mounted() {}
|
|
|
+}
|
|
|
+</script>
|
|
|
+<style lang="less" scoped>
|
|
|
+@import '~@assets/less/common.less';
|
|
|
+@import '~@assets/less/overwriter.less';
|
|
|
+/deep/ .ant-table-thead > tr > th {
|
|
|
+ text-align: center;
|
|
|
+ // font-weight: 700;
|
|
|
+}
|
|
|
+
|
|
|
+/deep/ .ant-table-tbody {
|
|
|
+ text-align: center;
|
|
|
+}
|
|
|
+
|
|
|
+// /deep/ th.replacecolor {
|
|
|
+// background-color: #ccc;
|
|
|
+// }
|
|
|
+</style>
|