diff --git a/src/components/icon/src/icons/NoMessage.vue b/src/components/icon/src/icons/NoMessage.vue new file mode 100644 index 0000000..3d63b6f --- /dev/null +++ b/src/components/icon/src/icons/NoMessage.vue @@ -0,0 +1,23 @@ + + + diff --git a/src/components/tablePro/src/TablePro.tsx b/src/components/tablePro/src/TablePro.tsx index 2744045..0a50a23 100644 --- a/src/components/tablePro/src/TablePro.tsx +++ b/src/components/tablePro/src/TablePro.tsx @@ -1,25 +1,29 @@ -import { dataTableProps } from 'naive-ui' -import { type PropType } from 'vue' -import type { SearchFormProps } from './interface' -import { type FormItemOptions } from '@/components/formPro' +import { dataTableProps } from "naive-ui"; +import { type PropType } from "vue"; +import type { SearchFormProps } from "./interface"; +import { type FormItemOptions } from "@/components/formPro"; export const tableProProps = { ...dataTableProps, + empty: { + type: String as PropType, + default: "", + }, rowKey: { type: String as PropType, - default: 'snowFlakeId', + default: "snowFlakeId", }, tableTitle: { type: String as PropType, - default: '数据列表', + default: "数据列表", }, searchFormProps: { type: Object as PropType>, default: { gridProps: { - cols: '640:1 768:2 1024:4 1280:6 1536:6', + cols: "640:1 768:2 1024:4 1280:6 1536:6", xGap: 8, - responsive: 'self', + responsive: "self", itemResponsive: true, }, }, @@ -49,4 +53,4 @@ export const tableProProps = { type: Boolean as PropType, default: true, }, -} +}; diff --git a/src/components/tablePro/src/TablePro.vue b/src/components/tablePro/src/TablePro.vue index 33372b7..1e786e4 100644 --- a/src/components/tablePro/src/TablePro.vue +++ b/src/components/tablePro/src/TablePro.vue @@ -98,7 +98,21 @@ :loading="loading" :checkedRowKeys="selectKeys" @update:checked-row-keys="onSelectRowKeysChange" - > + > + + diff --git a/src/views/IntelligentEarlyWarningCenter/index.vue b/src/views/IntelligentEarlyWarningCenter/index.vue index e5693fc..b5699c3 100644 --- a/src/views/IntelligentEarlyWarningCenter/index.vue +++ b/src/views/IntelligentEarlyWarningCenter/index.vue @@ -1,4 +1,375 @@ + - + +