| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- <template>
- <div class="dustMonitor">
- <customHeader>束管日报表</customHeader>
- <a-table :columns="columns" :data-source="tableData" size="small" :scroll="{ y: 500 }" class="tableW"> </a-table>
- </div>
- </template>
- <script setup lang="ts">
- import { ref, onMounted } from 'vue';
- import { columns } from './bundle-table.data';
- import { getBundleInfoList } from './bundle-table.api';
- import customHeader from '/@/components/vent/customHeader.vue';
- let tableData = ref<any[]>([]);
- async function getTableList() {
- let res = await getBundleInfoList({ type: 'bundle' });
- const content = res.content;
- let contentArr = JSON.parse(content);
- tableData.value = contentArr;
- }
- onMounted(() => {
- getTableList();
- });
- </script>
- <style lang="less" scoped>
- @import '/@/design/theme.less';
- .dustMonitor {
- width: 100%;
- height: 100%;
- padding: 80px 10px 15px 10px;
- box-sizing: border-box;
- position: relative;
- }
- :deep(.zxm-table-thead > tr > th:last-child) {
- border-right: 1px solid #91e9fe !important;
- }
- :deep(.zxm-picker-input > input) {
- color: #fff;
- }
- :deep(.zxm-select:not(.zxm-select-customize-input) .zxm-select-selector) {
- border: 1px solid var(--vent-form-item-border) !important;
- background-color: #ffffff00 !important;
- }
- :deep(.zxm-select-selection-item) {
- color: #fff !important;
- }
- </style>
|