123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123 |
- <template>
- <div :class="[$style.wrapHeight, $style.cover]">
- <div :class="$style.rowHeight">
- <a-card :class="$style.cardBox">
- <a-form layout="inline">
- <a-form-item label="组织机构:">
- <SdGroupPicker
- ref="dwRelSelect"
- v-model="mainSendUnit"
- :single="true"
- :read-only="false"
- style="width: 300px"
- @change="changeUnit"
- />
- </a-form-item>
- <a-form-item label="时间范围:">
- <a-date-picker style="width: 300px" />
- </a-form-item>
- <a-form-item>
- <a-button type="primary">
- 搜索
- </a-button>
- </a-form-item>
- </a-form>
- <div :class="$style.marginTop">
- <a-table :columns="columns" :data-source="tableData" bordered>
- <a slot="auditReport" slot-scope="text">报告链接</a>
- </a-table>
- </div>
- </a-card>
- </div>
- </div>
- </template>
- <script>
- import components from './_import-components/audit-cover-situation-import'
- import SdGroupPicker from '@/common/components/sd-group-picker.vue'
- export default {
- name: 'AuditCoverSituation',
- metaInfo: {
- title: 'AuditCoverSituation',
- },
- components: {
- ...components,
- SdGroupPicker,
- },
- data() {
- return {
- mainSendUnit: [],
- columns: [
- {
- title: '单位名称',
- dataIndex: 'name',
- },
- {
- title: '单位简称',
- dataIndex: 'shortName',
- },
- {
- title: '上次被审计时间',
- dataIndex: 'lastAuditTime',
- },
- {
- tilte: '被审计年度',
- dataIndex: 'auditYear',
- },
- {
- title: '原审计报告',
- dataIndex: 'auditReport',
- scopedSlots: { customRender: 'auditReport' },
- },
- ],
- tableData: [
- {
- name: 'xxxxxxx',
- shortName: 'xxxxxxx',
- lastAuditTime: 'xxxxxxx',
- auditYear: 'xxxxxxx',
- auditReport: 'xxxxxxx',
- },
- {
- name: 'xxxxxxx',
- shortName: 'xxxxxxx',
- lastAuditTime: 'xxxxxxx',
- auditYear: 'xxxxxxx',
- auditReport: 'xxxxxxx',
- },
- ],
- }
- },
- methods: {
- changeUnit() {},
- },
- }
- </script>
- <style module lang="scss">
- @use '@/common/design' as *;
- .wrap-height {
- position: relative;
- height: 100%;
- .row-height {
- display: flex;
- flex: auto;
- gap: 10px;
- min-height: 100%;
- }
- }
- .cover {
- :global(.projectlist .ant-table-empty .ant-table-body) {
- overflow-x: hidden;
- }
- .card-box {
- width: 100%;
- }
- .margin-top {
- margin-top: 20px;
- }
- }
- </style>
|