|
|
|
@ -168,7 +168,7 @@
@@ -168,7 +168,7 @@
|
|
|
|
|
*/ |
|
|
|
|
import { BasicTitle } from '/@/components/Basic'; |
|
|
|
|
import { RedoOutlined, ColumnHeightOutlined, FullscreenOutlined, FullscreenExitOutlined } from '@ant-design/icons-vue'; |
|
|
|
|
import { ref, onMounted, computed, watch } from 'vue'; |
|
|
|
|
import { ref, onMounted, computed, watch, reactive, toRaw, unref } from 'vue'; |
|
|
|
|
import { Table, Form, Row, Col, Divider, Tooltip, Dropdown, Menu, Select, DatePicker, Alert } from 'ant-design-vue'; |
|
|
|
|
import { BasicColumn, BasicTableProps, PaginationProps, SizeType } from '/@/components/Table'; |
|
|
|
|
import { listConfig, delConfig } from '/@/api/platform/system/controller/config'; |
|
|
|
@ -177,7 +177,6 @@
@@ -177,7 +177,6 @@
|
|
|
|
|
import { columns } from './config.data'; |
|
|
|
|
import { basicProps } from "/@/components/Table/src/props"; |
|
|
|
|
import { useMessage } from '/@/hooks/web/useMessage'; |
|
|
|
|
import { reactive, toRaw, unref } from 'vue'; |
|
|
|
|
import { useModal } from "/@/components/Modal"; |
|
|
|
|
import { useDesign } from "/@/hooks/web/useDesign"; |
|
|
|
|
import { useI18n } from '/@/hooks/web/useI18n'; |
|
|
|
@ -195,7 +194,7 @@
@@ -195,7 +194,7 @@
|
|
|
|
|
single: boolean; |
|
|
|
|
multiple: boolean; |
|
|
|
|
tableInstance: ComponentRef; |
|
|
|
|
queryFormInstance: ComponentRef | any; |
|
|
|
|
queryFormInstance: ComponentRef & any; |
|
|
|
|
selectedKeys: SizeType[]; |
|
|
|
|
queryParams: { |
|
|
|
|
name: string; |
|
|
|
@ -229,8 +228,7 @@
@@ -229,8 +228,7 @@
|
|
|
|
|
const { prefixCls } = useDesign('basic-table'); |
|
|
|
|
const { prefixCls: headerPrefixCls } = useDesign('basic-table-header'); |
|
|
|
|
const { prefixCls: actionPrefixCls } = useDesign('basic-table-action'); |
|
|
|
|
const { createConfirm } = useMessage(); |
|
|
|
|
const { createMessage } = useMessage(); |
|
|
|
|
const { createConfirm, createMessage } = useMessage(); |
|
|
|
|
const { toggle, isFullscreen } = useFullscreen(wrapRef); |
|
|
|
|
const [registerModal, { openModal }] = useModal(); |
|
|
|
|
const state = reactive<TableState>({ |
|
|
|
@ -384,7 +382,7 @@
@@ -384,7 +382,7 @@
|
|
|
|
|
onOk: async () => { |
|
|
|
|
await delConfig(ids); |
|
|
|
|
createMessage.success('删除成功!'); |
|
|
|
|
handleRefreshTable(); |
|
|
|
|
handleQuery(); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|