|
@@ -3,7 +3,7 @@
|
|
|
<BasicTable
|
|
<BasicTable
|
|
|
:columns="reportDataCol"
|
|
:columns="reportDataCol"
|
|
|
:data-source="formList"
|
|
:data-source="formList"
|
|
|
- :row-key="(row) => row.code"
|
|
|
|
|
|
|
+ :row-key="(row) => row.id"
|
|
|
:action-column="actionColumn"
|
|
:action-column="actionColumn"
|
|
|
:tableSetting="{
|
|
:tableSetting="{
|
|
|
size: false,
|
|
size: false,
|
|
@@ -42,16 +42,15 @@
|
|
|
import { BasicTable, TableActionIcons, BasicColumn } from '@/components/Table';
|
|
import { BasicTable, TableActionIcons, BasicColumn } from '@/components/Table';
|
|
|
import { reportDataCol } from '../overviewColumns';
|
|
import { reportDataCol } from '../overviewColumns';
|
|
|
import { Plus } from '@element-plus/icons-vue';
|
|
import { Plus } from '@element-plus/icons-vue';
|
|
|
- import logIcon from '@/assets/images/reportmessage/log.png';
|
|
|
|
|
- import viewIcon from '@/assets/images/reportmessage/view.png';
|
|
|
|
|
- import editIcon from '@/assets/images/reportmessage/edit.png';
|
|
|
|
|
- import deleteIcon from '@/assets/images/reportmessage/delete.png';
|
|
|
|
|
|
|
+ import logIcon from '@/assets/icons/log.svg';
|
|
|
|
|
+ import viewIcon from '@/assets/icons/view.svg';
|
|
|
|
|
+ import editIcon from '@/assets/icons/edit.svg';
|
|
|
|
|
+ import deleteIcon from '@/assets/icons/delete.svg';
|
|
|
import { ElMessage, ElMessageBox } from 'element-plus';
|
|
import { ElMessage, ElMessageBox } from 'element-plus';
|
|
|
import LogForm from './LogForm.vue';
|
|
import LogForm from './LogForm.vue';
|
|
|
import { storeToRefs } from 'pinia';
|
|
import { storeToRefs } from 'pinia';
|
|
|
import useFormList from '../store/useFormList';
|
|
import useFormList from '../store/useFormList';
|
|
|
import { deleteReportConfig } from '@/api/message/report-message';
|
|
import { deleteReportConfig } from '@/api/message/report-message';
|
|
|
- import { PushMessageTypeEnum } from '@/types/message/constant';
|
|
|
|
|
|
|
|
|
|
const formStore = useFormList();
|
|
const formStore = useFormList();
|
|
|
const { getForm } = formStore;
|
|
const { getForm } = formStore;
|