diff --git a/.eslintrc b/.eslintrc index 5c6806e..72e93a1 100644 --- a/.eslintrc +++ b/.eslintrc @@ -4,6 +4,7 @@ "curly": ["error", "all"], "no-tabs":"off", "no-const-assign": "off", + "no-console": "off", "vue/component-name-in-template-casing": ["error", "kebab-case", { "registeredComponentsOnly": false, "ignores": [] diff --git a/.eslintrc b/.eslintrc index 5c6806e..72e93a1 100644 --- a/.eslintrc +++ b/.eslintrc @@ -4,6 +4,7 @@ "curly": ["error", "all"], "no-tabs":"off", "no-const-assign": "off", + "no-console": "off", "vue/component-name-in-template-casing": ["error", "kebab-case", { "registeredComponentsOnly": false, "ignores": [] diff --git a/src/router/modules/system.ts b/src/router/modules/system.ts index 1271d43..113d712 100644 --- a/src/router/modules/system.ts +++ b/src/router/modules/system.ts @@ -209,7 +209,7 @@ { path: 'list', name: 'BusinessList', - component: () => import('@/views/system/log/list.log.vue'), + component: () => import('@/views/system/log/listLog.vue'), meta: { title: '业务日志', auth: '/sys/log/biz/list', diff --git a/.eslintrc b/.eslintrc index 5c6806e..72e93a1 100644 --- a/.eslintrc +++ b/.eslintrc @@ -4,6 +4,7 @@ "curly": ["error", "all"], "no-tabs":"off", "no-const-assign": "off", + "no-console": "off", "vue/component-name-in-template-casing": ["error", "kebab-case", { "registeredComponentsOnly": false, "ignores": [] diff --git a/src/router/modules/system.ts b/src/router/modules/system.ts index 1271d43..113d712 100644 --- a/src/router/modules/system.ts +++ b/src/router/modules/system.ts @@ -209,7 +209,7 @@ { path: 'list', name: 'BusinessList', - component: () => import('@/views/system/log/list.log.vue'), + component: () => import('@/views/system/log/listLog.vue'), meta: { title: '业务日志', auth: '/sys/log/biz/list', diff --git a/src/views/system/area/listArea.vue b/src/views/system/area/listArea.vue index 7b4c159..335a6fb 100644 --- a/src/views/system/area/listArea.vue +++ b/src/views/system/area/listArea.vue @@ -1,9 +1,12 @@ - - - - - - - - - - - - - - - - - - - 清空日志 - - - - - - - - - - ㅤ详情ㅤㅤ - - - - - - - - - - - - diff --git a/.eslintrc b/.eslintrc index 5c6806e..72e93a1 100644 --- a/.eslintrc +++ b/.eslintrc @@ -4,6 +4,7 @@ "curly": ["error", "all"], "no-tabs":"off", "no-const-assign": "off", + "no-console": "off", "vue/component-name-in-template-casing": ["error", "kebab-case", { "registeredComponentsOnly": false, "ignores": [] diff --git a/src/router/modules/system.ts b/src/router/modules/system.ts index 1271d43..113d712 100644 --- a/src/router/modules/system.ts +++ b/src/router/modules/system.ts @@ -209,7 +209,7 @@ { path: 'list', name: 'BusinessList', - component: () => import('@/views/system/log/list.log.vue'), + component: () => import('@/views/system/log/listLog.vue'), meta: { title: '业务日志', auth: '/sys/log/biz/list', diff --git a/src/views/system/area/listArea.vue b/src/views/system/area/listArea.vue index 7b4c159..335a6fb 100644 --- a/src/views/system/area/listArea.vue +++ b/src/views/system/area/listArea.vue @@ -1,9 +1,12 @@ - - - - - - - - - - - - - - - - - - - 清空日志 - - - - - - - - - - ㅤ详情ㅤㅤ - - - - - - - - - - - - diff --git a/src/views/system/log/listErrorLog.vue b/src/views/system/log/listErrorLog.vue index 4b7c501..7607022 100644 --- a/src/views/system/log/listErrorLog.vue +++ b/src/views/system/log/listErrorLog.vue @@ -79,7 +79,7 @@ } // 页数发生变化后的操作,可能是页码变化,可能是每页容量变化,此函数必写 -const changePage = (val: any) => { +const changePage = (val: { size: number; page: number }) => { if (val && val.size) { listQuery.limit = val.size } diff --git a/.eslintrc b/.eslintrc index 5c6806e..72e93a1 100644 --- a/.eslintrc +++ b/.eslintrc @@ -4,6 +4,7 @@ "curly": ["error", "all"], "no-tabs":"off", "no-const-assign": "off", + "no-console": "off", "vue/component-name-in-template-casing": ["error", "kebab-case", { "registeredComponentsOnly": false, "ignores": [] diff --git a/src/router/modules/system.ts b/src/router/modules/system.ts index 1271d43..113d712 100644 --- a/src/router/modules/system.ts +++ b/src/router/modules/system.ts @@ -209,7 +209,7 @@ { path: 'list', name: 'BusinessList', - component: () => import('@/views/system/log/list.log.vue'), + component: () => import('@/views/system/log/listLog.vue'), meta: { title: '业务日志', auth: '/sys/log/biz/list', diff --git a/src/views/system/area/listArea.vue b/src/views/system/area/listArea.vue index 7b4c159..335a6fb 100644 --- a/src/views/system/area/listArea.vue +++ b/src/views/system/area/listArea.vue @@ -1,9 +1,12 @@ - - - - - - - - - - - - - - - - - - - 清空日志 - - - - - - - - - - ㅤ详情ㅤㅤ - - - - - - - - - - - - diff --git a/src/views/system/log/listErrorLog.vue b/src/views/system/log/listErrorLog.vue index 4b7c501..7607022 100644 --- a/src/views/system/log/listErrorLog.vue +++ b/src/views/system/log/listErrorLog.vue @@ -79,7 +79,7 @@ } // 页数发生变化后的操作,可能是页码变化,可能是每页容量变化,此函数必写 -const changePage = (val: any) => { +const changePage = (val: { size: number; page: number }) => { if (val && val.size) { listQuery.limit = val.size } diff --git a/src/views/system/log/listLog.vue b/src/views/system/log/listLog.vue new file mode 100644 index 0000000..eb10497 --- /dev/null +++ b/src/views/system/log/listLog.vue @@ -0,0 +1,205 @@ + + + + + + + + + + + + + + + + + + + + 清空日志 + + + + + + + + + + ㅤ详情ㅤㅤ + + + + + + + + + + + + diff --git a/.eslintrc b/.eslintrc index 5c6806e..72e93a1 100644 --- a/.eslintrc +++ b/.eslintrc @@ -4,6 +4,7 @@ "curly": ["error", "all"], "no-tabs":"off", "no-const-assign": "off", + "no-console": "off", "vue/component-name-in-template-casing": ["error", "kebab-case", { "registeredComponentsOnly": false, "ignores": [] diff --git a/src/router/modules/system.ts b/src/router/modules/system.ts index 1271d43..113d712 100644 --- a/src/router/modules/system.ts +++ b/src/router/modules/system.ts @@ -209,7 +209,7 @@ { path: 'list', name: 'BusinessList', - component: () => import('@/views/system/log/list.log.vue'), + component: () => import('@/views/system/log/listLog.vue'), meta: { title: '业务日志', auth: '/sys/log/biz/list', diff --git a/src/views/system/area/listArea.vue b/src/views/system/area/listArea.vue index 7b4c159..335a6fb 100644 --- a/src/views/system/area/listArea.vue +++ b/src/views/system/area/listArea.vue @@ -1,9 +1,12 @@ - - - - - - - - - - - - - - - - - - - 清空日志 - - - - - - - - - - ㅤ详情ㅤㅤ - - - - - - - - - - - - diff --git a/src/views/system/log/listErrorLog.vue b/src/views/system/log/listErrorLog.vue index 4b7c501..7607022 100644 --- a/src/views/system/log/listErrorLog.vue +++ b/src/views/system/log/listErrorLog.vue @@ -79,7 +79,7 @@ } // 页数发生变化后的操作,可能是页码变化,可能是每页容量变化,此函数必写 -const changePage = (val: any) => { +const changePage = (val: { size: number; page: number }) => { if (val && val.size) { listQuery.limit = val.size } diff --git a/src/views/system/log/listLog.vue b/src/views/system/log/listLog.vue new file mode 100644 index 0000000..eb10497 --- /dev/null +++ b/src/views/system/log/listLog.vue @@ -0,0 +1,205 @@ + + + + + + + + + + + + + + + + + + + + 清空日志 + + + + + + + + + + ㅤ详情ㅤㅤ + + + + + + + + + + + + diff --git a/src/views/system/log/loginLog.vue b/src/views/system/log/loginLog.vue index 429e18c..22c649d 100644 --- a/src/views/system/log/loginLog.vue +++ b/src/views/system/log/loginLog.vue @@ -95,7 +95,7 @@ } // 页数发生变化后的操作,可能是页码变化,可能是每页容量变化,此函数必写 -const changePage = (val: any) => { +const changePage = (val: { size: number; page: number }) => { if (val && val.size) { listQuery.limit = val.size } diff --git a/.eslintrc b/.eslintrc index 5c6806e..72e93a1 100644 --- a/.eslintrc +++ b/.eslintrc @@ -4,6 +4,7 @@ "curly": ["error", "all"], "no-tabs":"off", "no-const-assign": "off", + "no-console": "off", "vue/component-name-in-template-casing": ["error", "kebab-case", { "registeredComponentsOnly": false, "ignores": [] diff --git a/src/router/modules/system.ts b/src/router/modules/system.ts index 1271d43..113d712 100644 --- a/src/router/modules/system.ts +++ b/src/router/modules/system.ts @@ -209,7 +209,7 @@ { path: 'list', name: 'BusinessList', - component: () => import('@/views/system/log/list.log.vue'), + component: () => import('@/views/system/log/listLog.vue'), meta: { title: '业务日志', auth: '/sys/log/biz/list', diff --git a/src/views/system/area/listArea.vue b/src/views/system/area/listArea.vue index 7b4c159..335a6fb 100644 --- a/src/views/system/area/listArea.vue +++ b/src/views/system/area/listArea.vue @@ -1,9 +1,12 @@ - - - - - - - - - - - - - - - - - - - 清空日志 - - - - - - - - - - ㅤ详情ㅤㅤ - - - - - - - - - - - - diff --git a/src/views/system/log/listErrorLog.vue b/src/views/system/log/listErrorLog.vue index 4b7c501..7607022 100644 --- a/src/views/system/log/listErrorLog.vue +++ b/src/views/system/log/listErrorLog.vue @@ -79,7 +79,7 @@ } // 页数发生变化后的操作,可能是页码变化,可能是每页容量变化,此函数必写 -const changePage = (val: any) => { +const changePage = (val: { size: number; page: number }) => { if (val && val.size) { listQuery.limit = val.size } diff --git a/src/views/system/log/listLog.vue b/src/views/system/log/listLog.vue new file mode 100644 index 0000000..eb10497 --- /dev/null +++ b/src/views/system/log/listLog.vue @@ -0,0 +1,205 @@ + + + + + + + + + + + + + + + + + + + + 清空日志 + + + + + + + + + + ㅤ详情ㅤㅤ + + + + + + + + + + + + diff --git a/src/views/system/log/loginLog.vue b/src/views/system/log/loginLog.vue index 429e18c..22c649d 100644 --- a/src/views/system/log/loginLog.vue +++ b/src/views/system/log/loginLog.vue @@ -95,7 +95,7 @@ } // 页数发生变化后的操作,可能是页码变化,可能是每页容量变化,此函数必写 -const changePage = (val: any) => { +const changePage = (val: { size: number; page: number }) => { if (val && val.size) { listQuery.limit = val.size } diff --git a/src/views/system/notice/note.list.vue b/src/views/system/notice/note.list.vue index 61dd8e9..dd1d289 100644 --- a/src/views/system/notice/note.list.vue +++ b/src/views/system/notice/note.list.vue @@ -3,7 +3,9 @@ import { Delete } from '@element-plus/icons-vue' import tableHeader from './table.header.vue' import addNotice from './noteAdd.vue' -import { addNoticeApi, getNoticeeApi } from '@/api/system/notice' +import noticeDetail from './noticeDetail.vue' +import type { noticeType } from './notice_interface' +import { getNoticeeApi } from '@/api/system/notice' const searchQuery = reactive({ noticeNo: '', // 编号 noticePublisher: '', // 发布人 @@ -79,6 +81,11 @@ const add = () => { addDialog.value.initDialog() } +const detailDialog = ref() // 详情组件弹窗 +// 详情 +const detail = (row: noticeType) => { + detailDialog.value.initDialog(row) +} onMounted(() => { getNoticeList() }) @@ -86,7 +93,7 @@ - + @@ -96,12 +103,16 @@ - + - + @@ -110,16 +121,24 @@ - + - 新建 - 导出 - 打印 + + 新建 + + + 导出 + + + 打印 + - + - + @@ -129,16 +148,17 @@ - - + + 查看 - - + + + - - diff --git a/src/views/system/log/listErrorLog.vue b/src/views/system/log/listErrorLog.vue index 4b7c501..7607022 100644 --- a/src/views/system/log/listErrorLog.vue +++ b/src/views/system/log/listErrorLog.vue @@ -79,7 +79,7 @@ } // 页数发生变化后的操作,可能是页码变化,可能是每页容量变化,此函数必写 -const changePage = (val: any) => { +const changePage = (val: { size: number; page: number }) => { if (val && val.size) { listQuery.limit = val.size } diff --git a/src/views/system/log/listLog.vue b/src/views/system/log/listLog.vue new file mode 100644 index 0000000..eb10497 --- /dev/null +++ b/src/views/system/log/listLog.vue @@ -0,0 +1,205 @@ + + + + + + + + + + + + + + + + + + + + 清空日志 + + + + + + + + + + ㅤ详情ㅤㅤ + + + + + + + + + + + + diff --git a/src/views/system/log/loginLog.vue b/src/views/system/log/loginLog.vue index 429e18c..22c649d 100644 --- a/src/views/system/log/loginLog.vue +++ b/src/views/system/log/loginLog.vue @@ -95,7 +95,7 @@ } // 页数发生变化后的操作,可能是页码变化,可能是每页容量变化,此函数必写 -const changePage = (val: any) => { +const changePage = (val: { size: number; page: number }) => { if (val && val.size) { listQuery.limit = val.size } diff --git a/src/views/system/notice/note.list.vue b/src/views/system/notice/note.list.vue index 61dd8e9..dd1d289 100644 --- a/src/views/system/notice/note.list.vue +++ b/src/views/system/notice/note.list.vue @@ -3,7 +3,9 @@ import { Delete } from '@element-plus/icons-vue' import tableHeader from './table.header.vue' import addNotice from './noteAdd.vue' -import { addNoticeApi, getNoticeeApi } from '@/api/system/notice' +import noticeDetail from './noticeDetail.vue' +import type { noticeType } from './notice_interface' +import { getNoticeeApi } from '@/api/system/notice' const searchQuery = reactive({ noticeNo: '', // 编号 noticePublisher: '', // 发布人 @@ -79,6 +81,11 @@ const add = () => { addDialog.value.initDialog() } +const detailDialog = ref() // 详情组件弹窗 +// 详情 +const detail = (row: noticeType) => { + detailDialog.value.initDialog(row) +} onMounted(() => { getNoticeList() }) @@ -86,7 +93,7 @@ - + @@ -96,12 +103,16 @@ - + - + @@ -110,16 +121,24 @@ - + - 新建 - 导出 - 打印 + + 新建 + + + 导出 + + + 打印 + - + - + @@ -129,16 +148,17 @@ - - + + 查看 - - + + + - - diff --git a/src/views/system/log/listErrorLog.vue b/src/views/system/log/listErrorLog.vue index 4b7c501..7607022 100644 --- a/src/views/system/log/listErrorLog.vue +++ b/src/views/system/log/listErrorLog.vue @@ -79,7 +79,7 @@ } // 页数发生变化后的操作,可能是页码变化,可能是每页容量变化,此函数必写 -const changePage = (val: any) => { +const changePage = (val: { size: number; page: number }) => { if (val && val.size) { listQuery.limit = val.size } diff --git a/src/views/system/log/listLog.vue b/src/views/system/log/listLog.vue new file mode 100644 index 0000000..eb10497 --- /dev/null +++ b/src/views/system/log/listLog.vue @@ -0,0 +1,205 @@ + + + + + + + + + + + + + + + + + + + + 清空日志 + + + + + + + + + + ㅤ详情ㅤㅤ + + + + + + + + + + + + diff --git a/src/views/system/log/loginLog.vue b/src/views/system/log/loginLog.vue index 429e18c..22c649d 100644 --- a/src/views/system/log/loginLog.vue +++ b/src/views/system/log/loginLog.vue @@ -95,7 +95,7 @@ } // 页数发生变化后的操作,可能是页码变化,可能是每页容量变化,此函数必写 -const changePage = (val: any) => { +const changePage = (val: { size: number; page: number }) => { if (val && val.size) { listQuery.limit = val.size } diff --git a/src/views/system/notice/note.list.vue b/src/views/system/notice/note.list.vue index 61dd8e9..dd1d289 100644 --- a/src/views/system/notice/note.list.vue +++ b/src/views/system/notice/note.list.vue @@ -3,7 +3,9 @@ import { Delete } from '@element-plus/icons-vue' import tableHeader from './table.header.vue' import addNotice from './noteAdd.vue' -import { addNoticeApi, getNoticeeApi } from '@/api/system/notice' +import noticeDetail from './noticeDetail.vue' +import type { noticeType } from './notice_interface' +import { getNoticeeApi } from '@/api/system/notice' const searchQuery = reactive({ noticeNo: '', // 编号 noticePublisher: '', // 发布人 @@ -79,6 +81,11 @@ const add = () => { addDialog.value.initDialog() } +const detailDialog = ref() // 详情组件弹窗 +// 详情 +const detail = (row: noticeType) => { + detailDialog.value.initDialog(row) +} onMounted(() => { getNoticeList() }) @@ -86,7 +93,7 @@ - + @@ -96,12 +103,16 @@ - + - + @@ -110,16 +121,24 @@ - + - 新建 - 导出 - 打印 + + 新建 + + + 导出 + + + 打印 + - + - + @@ -129,16 +148,17 @@ - - + + 查看 - - + + + diff --git a/.eslintrc b/.eslintrc index 5c6806e..72e93a1 100644 --- a/.eslintrc +++ b/.eslintrc @@ -4,6 +4,7 @@ "curly": ["error", "all"], "no-tabs":"off", "no-const-assign": "off", + "no-console": "off", "vue/component-name-in-template-casing": ["error", "kebab-case", { "registeredComponentsOnly": false, "ignores": [] diff --git a/src/router/modules/system.ts b/src/router/modules/system.ts index 1271d43..113d712 100644 --- a/src/router/modules/system.ts +++ b/src/router/modules/system.ts @@ -209,7 +209,7 @@ { path: 'list', name: 'BusinessList', - component: () => import('@/views/system/log/list.log.vue'), + component: () => import('@/views/system/log/listLog.vue'), meta: { title: '业务日志', auth: '/sys/log/biz/list', diff --git a/src/views/system/area/listArea.vue b/src/views/system/area/listArea.vue index 7b4c159..335a6fb 100644 --- a/src/views/system/area/listArea.vue +++ b/src/views/system/area/listArea.vue @@ -1,9 +1,12 @@ - - - - - - - - - - - - - - - - - - - 清空日志 - - - - - - - - - - ㅤ详情ㅤㅤ - - - - - - - - - - - - diff --git a/src/views/system/log/listErrorLog.vue b/src/views/system/log/listErrorLog.vue index 4b7c501..7607022 100644 --- a/src/views/system/log/listErrorLog.vue +++ b/src/views/system/log/listErrorLog.vue @@ -79,7 +79,7 @@ } // 页数发生变化后的操作,可能是页码变化,可能是每页容量变化,此函数必写 -const changePage = (val: any) => { +const changePage = (val: { size: number; page: number }) => { if (val && val.size) { listQuery.limit = val.size } diff --git a/src/views/system/log/listLog.vue b/src/views/system/log/listLog.vue new file mode 100644 index 0000000..eb10497 --- /dev/null +++ b/src/views/system/log/listLog.vue @@ -0,0 +1,205 @@ + + + + + + + + + + + + + + + + + + + + 清空日志 + + + + + + + + + + ㅤ详情ㅤㅤ + + + + + + + + + + + + diff --git a/src/views/system/log/loginLog.vue b/src/views/system/log/loginLog.vue index 429e18c..22c649d 100644 --- a/src/views/system/log/loginLog.vue +++ b/src/views/system/log/loginLog.vue @@ -95,7 +95,7 @@ } // 页数发生变化后的操作,可能是页码变化,可能是每页容量变化,此函数必写 -const changePage = (val: any) => { +const changePage = (val: { size: number; page: number }) => { if (val && val.size) { listQuery.limit = val.size } diff --git a/src/views/system/notice/note.list.vue b/src/views/system/notice/note.list.vue index 61dd8e9..dd1d289 100644 --- a/src/views/system/notice/note.list.vue +++ b/src/views/system/notice/note.list.vue @@ -3,7 +3,9 @@ import { Delete } from '@element-plus/icons-vue' import tableHeader from './table.header.vue' import addNotice from './noteAdd.vue' -import { addNoticeApi, getNoticeeApi } from '@/api/system/notice' +import noticeDetail from './noticeDetail.vue' +import type { noticeType } from './notice_interface' +import { getNoticeeApi } from '@/api/system/notice' const searchQuery = reactive({ noticeNo: '', // 编号 noticePublisher: '', // 发布人 @@ -79,6 +81,11 @@ const add = () => { addDialog.value.initDialog() } +const detailDialog = ref() // 详情组件弹窗 +// 详情 +const detail = (row: noticeType) => { + detailDialog.value.initDialog(row) +} onMounted(() => { getNoticeList() }) @@ -86,7 +93,7 @@ - + @@ -96,12 +103,16 @@ - + - + @@ -110,16 +121,24 @@ - + - 新建 - 导出 - 打印 + + 新建 + + + 导出 + + + 打印 + - + - + @@ -129,16 +148,17 @@ - - + + 查看 - - + + + diff --git a/src/views/system/notice/notice_interface.ts b/src/views/system/notice/notice_interface.ts new file mode 100644 index 0000000..a1fc349 --- /dev/null +++ b/src/views/system/notice/notice_interface.ts @@ -0,0 +1,12 @@ +// 通知公告信息类型 +export interface noticeType { + id: number // 主键id(列表接口参数) + minioFileName: string // 上传文件返回名称 string + noticeCompany: string // 发布单位 string + noticeContent: string // 发布内容 string + noticeNo: string // 通知公告编号 string + noticePublisher: string // 发布人 string + noticeSketch: string // 内容简述 string + noticeTime: string // 发布时间 string + noticeTitle: string // 通知公告标题 string +} diff --git a/.eslintrc b/.eslintrc index 5c6806e..72e93a1 100644 --- a/.eslintrc +++ b/.eslintrc @@ -4,6 +4,7 @@ "curly": ["error", "all"], "no-tabs":"off", "no-const-assign": "off", + "no-console": "off", "vue/component-name-in-template-casing": ["error", "kebab-case", { "registeredComponentsOnly": false, "ignores": [] diff --git a/src/router/modules/system.ts b/src/router/modules/system.ts index 1271d43..113d712 100644 --- a/src/router/modules/system.ts +++ b/src/router/modules/system.ts @@ -209,7 +209,7 @@ { path: 'list', name: 'BusinessList', - component: () => import('@/views/system/log/list.log.vue'), + component: () => import('@/views/system/log/listLog.vue'), meta: { title: '业务日志', auth: '/sys/log/biz/list', diff --git a/src/views/system/area/listArea.vue b/src/views/system/area/listArea.vue index 7b4c159..335a6fb 100644 --- a/src/views/system/area/listArea.vue +++ b/src/views/system/area/listArea.vue @@ -1,9 +1,12 @@ - - - - - - - - - - - - - - - - - - - 清空日志 - - - - - - - - - - ㅤ详情ㅤㅤ - - - - - - - - - - - - diff --git a/src/views/system/log/listErrorLog.vue b/src/views/system/log/listErrorLog.vue index 4b7c501..7607022 100644 --- a/src/views/system/log/listErrorLog.vue +++ b/src/views/system/log/listErrorLog.vue @@ -79,7 +79,7 @@ } // 页数发生变化后的操作,可能是页码变化,可能是每页容量变化,此函数必写 -const changePage = (val: any) => { +const changePage = (val: { size: number; page: number }) => { if (val && val.size) { listQuery.limit = val.size } diff --git a/src/views/system/log/listLog.vue b/src/views/system/log/listLog.vue new file mode 100644 index 0000000..eb10497 --- /dev/null +++ b/src/views/system/log/listLog.vue @@ -0,0 +1,205 @@ + + + + + + + + + + + + + + + + + + + + 清空日志 + + + + + + + + + + ㅤ详情ㅤㅤ + + + + + + + + + + + + diff --git a/src/views/system/log/loginLog.vue b/src/views/system/log/loginLog.vue index 429e18c..22c649d 100644 --- a/src/views/system/log/loginLog.vue +++ b/src/views/system/log/loginLog.vue @@ -95,7 +95,7 @@ } // 页数发生变化后的操作,可能是页码变化,可能是每页容量变化,此函数必写 -const changePage = (val: any) => { +const changePage = (val: { size: number; page: number }) => { if (val && val.size) { listQuery.limit = val.size } diff --git a/src/views/system/notice/note.list.vue b/src/views/system/notice/note.list.vue index 61dd8e9..dd1d289 100644 --- a/src/views/system/notice/note.list.vue +++ b/src/views/system/notice/note.list.vue @@ -3,7 +3,9 @@ import { Delete } from '@element-plus/icons-vue' import tableHeader from './table.header.vue' import addNotice from './noteAdd.vue' -import { addNoticeApi, getNoticeeApi } from '@/api/system/notice' +import noticeDetail from './noticeDetail.vue' +import type { noticeType } from './notice_interface' +import { getNoticeeApi } from '@/api/system/notice' const searchQuery = reactive({ noticeNo: '', // 编号 noticePublisher: '', // 发布人 @@ -79,6 +81,11 @@ const add = () => { addDialog.value.initDialog() } +const detailDialog = ref() // 详情组件弹窗 +// 详情 +const detail = (row: noticeType) => { + detailDialog.value.initDialog(row) +} onMounted(() => { getNoticeList() }) @@ -86,7 +93,7 @@ - + @@ -96,12 +103,16 @@ - + - + @@ -110,16 +121,24 @@ - + - 新建 - 导出 - 打印 + + 新建 + + + 导出 + + + 打印 + - + - + @@ -129,16 +148,17 @@ - - + + 查看 - - + + + diff --git a/src/views/system/notice/notice_interface.ts b/src/views/system/notice/notice_interface.ts new file mode 100644 index 0000000..a1fc349 --- /dev/null +++ b/src/views/system/notice/notice_interface.ts @@ -0,0 +1,12 @@ +// 通知公告信息类型 +export interface noticeType { + id: number // 主键id(列表接口参数) + minioFileName: string // 上传文件返回名称 string + noticeCompany: string // 发布单位 string + noticeContent: string // 发布内容 string + noticeNo: string // 通知公告编号 string + noticePublisher: string // 发布人 string + noticeSketch: string // 内容简述 string + noticeTime: string // 发布时间 string + noticeTitle: string // 通知公告标题 string +} diff --git a/src/views/system/process/editProcess.vue b/src/views/system/process/editProcess.vue new file mode 100644 index 0000000..4a92993 --- /dev/null +++ b/src/views/system/process/editProcess.vue @@ -0,0 +1,229 @@ + + + + + + + 流程编辑 + + + + + 保存 + + + 关闭 + + + + + {{ form.number }} + + + {{ form.name }} + + + {{ form.business }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + 流程配置 + + + + + + diff --git a/.eslintrc b/.eslintrc index 5c6806e..72e93a1 100644 --- a/.eslintrc +++ b/.eslintrc @@ -4,6 +4,7 @@ "curly": ["error", "all"], "no-tabs":"off", "no-const-assign": "off", + "no-console": "off", "vue/component-name-in-template-casing": ["error", "kebab-case", { "registeredComponentsOnly": false, "ignores": [] diff --git a/src/router/modules/system.ts b/src/router/modules/system.ts index 1271d43..113d712 100644 --- a/src/router/modules/system.ts +++ b/src/router/modules/system.ts @@ -209,7 +209,7 @@ { path: 'list', name: 'BusinessList', - component: () => import('@/views/system/log/list.log.vue'), + component: () => import('@/views/system/log/listLog.vue'), meta: { title: '业务日志', auth: '/sys/log/biz/list', diff --git a/src/views/system/area/listArea.vue b/src/views/system/area/listArea.vue index 7b4c159..335a6fb 100644 --- a/src/views/system/area/listArea.vue +++ b/src/views/system/area/listArea.vue @@ -1,9 +1,12 @@ - - - - - - - - - - - - - - - - - - - 清空日志 - - - - - - - - - - ㅤ详情ㅤㅤ - - - - - - - - - - - - diff --git a/src/views/system/log/listErrorLog.vue b/src/views/system/log/listErrorLog.vue index 4b7c501..7607022 100644 --- a/src/views/system/log/listErrorLog.vue +++ b/src/views/system/log/listErrorLog.vue @@ -79,7 +79,7 @@ } // 页数发生变化后的操作,可能是页码变化,可能是每页容量变化,此函数必写 -const changePage = (val: any) => { +const changePage = (val: { size: number; page: number }) => { if (val && val.size) { listQuery.limit = val.size } diff --git a/src/views/system/log/listLog.vue b/src/views/system/log/listLog.vue new file mode 100644 index 0000000..eb10497 --- /dev/null +++ b/src/views/system/log/listLog.vue @@ -0,0 +1,205 @@ + + + + + + + + + + + + + + + + + + + + 清空日志 + + + + + + + + + + ㅤ详情ㅤㅤ + + + + + + + + + + + + diff --git a/src/views/system/log/loginLog.vue b/src/views/system/log/loginLog.vue index 429e18c..22c649d 100644 --- a/src/views/system/log/loginLog.vue +++ b/src/views/system/log/loginLog.vue @@ -95,7 +95,7 @@ } // 页数发生变化后的操作,可能是页码变化,可能是每页容量变化,此函数必写 -const changePage = (val: any) => { +const changePage = (val: { size: number; page: number }) => { if (val && val.size) { listQuery.limit = val.size } diff --git a/src/views/system/notice/note.list.vue b/src/views/system/notice/note.list.vue index 61dd8e9..dd1d289 100644 --- a/src/views/system/notice/note.list.vue +++ b/src/views/system/notice/note.list.vue @@ -3,7 +3,9 @@ import { Delete } from '@element-plus/icons-vue' import tableHeader from './table.header.vue' import addNotice from './noteAdd.vue' -import { addNoticeApi, getNoticeeApi } from '@/api/system/notice' +import noticeDetail from './noticeDetail.vue' +import type { noticeType } from './notice_interface' +import { getNoticeeApi } from '@/api/system/notice' const searchQuery = reactive({ noticeNo: '', // 编号 noticePublisher: '', // 发布人 @@ -79,6 +81,11 @@ const add = () => { addDialog.value.initDialog() } +const detailDialog = ref() // 详情组件弹窗 +// 详情 +const detail = (row: noticeType) => { + detailDialog.value.initDialog(row) +} onMounted(() => { getNoticeList() }) @@ -86,7 +93,7 @@ - + @@ -96,12 +103,16 @@ - + - + @@ -110,16 +121,24 @@ - + - 新建 - 导出 - 打印 + + 新建 + + + 导出 + + + 打印 + - + - + @@ -129,16 +148,17 @@ - - + + 查看 - - + + + diff --git a/src/views/system/notice/notice_interface.ts b/src/views/system/notice/notice_interface.ts new file mode 100644 index 0000000..a1fc349 --- /dev/null +++ b/src/views/system/notice/notice_interface.ts @@ -0,0 +1,12 @@ +// 通知公告信息类型 +export interface noticeType { + id: number // 主键id(列表接口参数) + minioFileName: string // 上传文件返回名称 string + noticeCompany: string // 发布单位 string + noticeContent: string // 发布内容 string + noticeNo: string // 通知公告编号 string + noticePublisher: string // 发布人 string + noticeSketch: string // 内容简述 string + noticeTime: string // 发布时间 string + noticeTitle: string // 通知公告标题 string +} diff --git a/src/views/system/process/editProcess.vue b/src/views/system/process/editProcess.vue new file mode 100644 index 0000000..4a92993 --- /dev/null +++ b/src/views/system/process/editProcess.vue @@ -0,0 +1,229 @@ + + + + + + + 流程编辑 + + + + + 保存 + + + 关闭 + + + + + {{ form.number }} + + + {{ form.name }} + + + {{ form.business }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + 流程配置 + + + + + + diff --git a/src/views/system/process/process.ts b/src/views/system/process/process.ts index 554c264..7b12a6a 100644 --- a/src/views/system/process/process.ts +++ b/src/views/system/process/process.ts @@ -9,3 +9,14 @@ offset: number limit: number } + +export interface Iform { + number: string // 编号 + name: string // 名称 + business: string // 关联业务 + desc?: string // 流程描述 + selectDecision: string // 选择的决策 + rejectTo?: string // 可驳回至 + changeData?: string // 驳回修改数据 + isMessage: string // 审批结果通知发起人 +} diff --git a/.eslintrc b/.eslintrc index 5c6806e..72e93a1 100644 --- a/.eslintrc +++ b/.eslintrc @@ -4,6 +4,7 @@ "curly": ["error", "all"], "no-tabs":"off", "no-const-assign": "off", + "no-console": "off", "vue/component-name-in-template-casing": ["error", "kebab-case", { "registeredComponentsOnly": false, "ignores": [] diff --git a/src/router/modules/system.ts b/src/router/modules/system.ts index 1271d43..113d712 100644 --- a/src/router/modules/system.ts +++ b/src/router/modules/system.ts @@ -209,7 +209,7 @@ { path: 'list', name: 'BusinessList', - component: () => import('@/views/system/log/list.log.vue'), + component: () => import('@/views/system/log/listLog.vue'), meta: { title: '业务日志', auth: '/sys/log/biz/list', diff --git a/src/views/system/area/listArea.vue b/src/views/system/area/listArea.vue index 7b4c159..335a6fb 100644 --- a/src/views/system/area/listArea.vue +++ b/src/views/system/area/listArea.vue @@ -1,9 +1,12 @@ - - - - - - - - - - - - - - - - - - - 清空日志 - - - - - - - - - - ㅤ详情ㅤㅤ - - - - - - - - - - - - diff --git a/src/views/system/log/listErrorLog.vue b/src/views/system/log/listErrorLog.vue index 4b7c501..7607022 100644 --- a/src/views/system/log/listErrorLog.vue +++ b/src/views/system/log/listErrorLog.vue @@ -79,7 +79,7 @@ } // 页数发生变化后的操作,可能是页码变化,可能是每页容量变化,此函数必写 -const changePage = (val: any) => { +const changePage = (val: { size: number; page: number }) => { if (val && val.size) { listQuery.limit = val.size } diff --git a/src/views/system/log/listLog.vue b/src/views/system/log/listLog.vue new file mode 100644 index 0000000..eb10497 --- /dev/null +++ b/src/views/system/log/listLog.vue @@ -0,0 +1,205 @@ + + + + + + + + + + + + + + + + + + + + 清空日志 + + + + + + + + + + ㅤ详情ㅤㅤ + + + + + + + + + + + + diff --git a/src/views/system/log/loginLog.vue b/src/views/system/log/loginLog.vue index 429e18c..22c649d 100644 --- a/src/views/system/log/loginLog.vue +++ b/src/views/system/log/loginLog.vue @@ -95,7 +95,7 @@ } // 页数发生变化后的操作,可能是页码变化,可能是每页容量变化,此函数必写 -const changePage = (val: any) => { +const changePage = (val: { size: number; page: number }) => { if (val && val.size) { listQuery.limit = val.size } diff --git a/src/views/system/notice/note.list.vue b/src/views/system/notice/note.list.vue index 61dd8e9..dd1d289 100644 --- a/src/views/system/notice/note.list.vue +++ b/src/views/system/notice/note.list.vue @@ -3,7 +3,9 @@ import { Delete } from '@element-plus/icons-vue' import tableHeader from './table.header.vue' import addNotice from './noteAdd.vue' -import { addNoticeApi, getNoticeeApi } from '@/api/system/notice' +import noticeDetail from './noticeDetail.vue' +import type { noticeType } from './notice_interface' +import { getNoticeeApi } from '@/api/system/notice' const searchQuery = reactive({ noticeNo: '', // 编号 noticePublisher: '', // 发布人 @@ -79,6 +81,11 @@ const add = () => { addDialog.value.initDialog() } +const detailDialog = ref() // 详情组件弹窗 +// 详情 +const detail = (row: noticeType) => { + detailDialog.value.initDialog(row) +} onMounted(() => { getNoticeList() }) @@ -86,7 +93,7 @@ - + @@ -96,12 +103,16 @@ - + - + @@ -110,16 +121,24 @@ - + - 新建 - 导出 - 打印 + + 新建 + + + 导出 + + + 打印 + - + - + @@ -129,16 +148,17 @@ - - + + 查看 - - + + + diff --git a/src/views/system/notice/notice_interface.ts b/src/views/system/notice/notice_interface.ts new file mode 100644 index 0000000..a1fc349 --- /dev/null +++ b/src/views/system/notice/notice_interface.ts @@ -0,0 +1,12 @@ +// 通知公告信息类型 +export interface noticeType { + id: number // 主键id(列表接口参数) + minioFileName: string // 上传文件返回名称 string + noticeCompany: string // 发布单位 string + noticeContent: string // 发布内容 string + noticeNo: string // 通知公告编号 string + noticePublisher: string // 发布人 string + noticeSketch: string // 内容简述 string + noticeTime: string // 发布时间 string + noticeTitle: string // 通知公告标题 string +} diff --git a/src/views/system/process/editProcess.vue b/src/views/system/process/editProcess.vue new file mode 100644 index 0000000..4a92993 --- /dev/null +++ b/src/views/system/process/editProcess.vue @@ -0,0 +1,229 @@ + + + + + + + 流程编辑 + + + + + 保存 + + + 关闭 + + + + + {{ form.number }} + + + {{ form.name }} + + + {{ form.business }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + 流程配置 + + + + + + diff --git a/src/views/system/process/process.ts b/src/views/system/process/process.ts index 554c264..7b12a6a 100644 --- a/src/views/system/process/process.ts +++ b/src/views/system/process/process.ts @@ -9,3 +9,14 @@ offset: number limit: number } + +export interface Iform { + number: string // 编号 + name: string // 名称 + business: string // 关联业务 + desc?: string // 流程描述 + selectDecision: string // 选择的决策 + rejectTo?: string // 可驳回至 + changeData?: string // 驳回修改数据 + isMessage: string // 审批结果通知发起人 +} diff --git a/src/views/system/process/process.vue b/src/views/system/process/process.vue index 84319b8..f248fe7 100644 --- a/src/views/system/process/process.vue +++ b/src/views/system/process/process.vue @@ -3,9 +3,11 @@ import { ElMessage, ElMessageBox } from 'element-plus' import { Delete } from '@element-plus/icons-vue' import type { IlistQuery } from './process' +import EditProcess from './editProcess.vue' import { delLoginLog, getLoginLogList } from '@/api/system/log' const { proxy } = getCurrentInstance() as any +const active = ref('main') const listQuery: IlistQuery = reactive({ number: '', // 编号 name: '', // 名称 @@ -104,90 +106,128 @@ } fetchData(true) } + +// 重置 +const reset = () => { + console.log('点击重置') +} +// 编辑 +const edit = (row: IlistQuery) => { + console.log('编辑') + active.value = 'edit' +} +// 详情 +const detail = (row: IlistQuery) => { + console.log('查看详情') + active.value = 'detail' +} +// 废止 +const abolish = (row: IlistQuery) => { + console.log('废止') +} +// 删除 +const del = (row: IlistQuery) => { + console.log('删除') +} +// 编辑页面点击关闭 +const close = () => { + active.value = 'main' +} - - - - - - - - - - - - - - - - - - - - - - - 重置 - - - - - - - - - - 编辑 - - - 详情 - - - 废止 - - - 删除 - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + 重置 + + + + + + + + + + 编辑 + + + 详情 + + + 废止 + + + 删除 + + + + + + + + + + + + + 详情 + diff --git a/.eslintrc b/.eslintrc index 5c6806e..72e93a1 100644 --- a/.eslintrc +++ b/.eslintrc @@ -4,6 +4,7 @@ "curly": ["error", "all"], "no-tabs":"off", "no-const-assign": "off", + "no-console": "off", "vue/component-name-in-template-casing": ["error", "kebab-case", { "registeredComponentsOnly": false, "ignores": [] diff --git a/src/router/modules/system.ts b/src/router/modules/system.ts index 1271d43..113d712 100644 --- a/src/router/modules/system.ts +++ b/src/router/modules/system.ts @@ -209,7 +209,7 @@ { path: 'list', name: 'BusinessList', - component: () => import('@/views/system/log/list.log.vue'), + component: () => import('@/views/system/log/listLog.vue'), meta: { title: '业务日志', auth: '/sys/log/biz/list', diff --git a/src/views/system/area/listArea.vue b/src/views/system/area/listArea.vue index 7b4c159..335a6fb 100644 --- a/src/views/system/area/listArea.vue +++ b/src/views/system/area/listArea.vue @@ -1,9 +1,12 @@ - - - - - - - - - - - - - - - - - - - 清空日志 - - - - - - - - - - ㅤ详情ㅤㅤ - - - - - - - - - - - - diff --git a/src/views/system/log/listErrorLog.vue b/src/views/system/log/listErrorLog.vue index 4b7c501..7607022 100644 --- a/src/views/system/log/listErrorLog.vue +++ b/src/views/system/log/listErrorLog.vue @@ -79,7 +79,7 @@ } // 页数发生变化后的操作,可能是页码变化,可能是每页容量变化,此函数必写 -const changePage = (val: any) => { +const changePage = (val: { size: number; page: number }) => { if (val && val.size) { listQuery.limit = val.size } diff --git a/src/views/system/log/listLog.vue b/src/views/system/log/listLog.vue new file mode 100644 index 0000000..eb10497 --- /dev/null +++ b/src/views/system/log/listLog.vue @@ -0,0 +1,205 @@ + + + + + + + + + + + + + + + + + + + + 清空日志 + + + + + + + + + + ㅤ详情ㅤㅤ + + + + + + + + + + + + diff --git a/src/views/system/log/loginLog.vue b/src/views/system/log/loginLog.vue index 429e18c..22c649d 100644 --- a/src/views/system/log/loginLog.vue +++ b/src/views/system/log/loginLog.vue @@ -95,7 +95,7 @@ } // 页数发生变化后的操作,可能是页码变化,可能是每页容量变化,此函数必写 -const changePage = (val: any) => { +const changePage = (val: { size: number; page: number }) => { if (val && val.size) { listQuery.limit = val.size } diff --git a/src/views/system/notice/note.list.vue b/src/views/system/notice/note.list.vue index 61dd8e9..dd1d289 100644 --- a/src/views/system/notice/note.list.vue +++ b/src/views/system/notice/note.list.vue @@ -3,7 +3,9 @@ import { Delete } from '@element-plus/icons-vue' import tableHeader from './table.header.vue' import addNotice from './noteAdd.vue' -import { addNoticeApi, getNoticeeApi } from '@/api/system/notice' +import noticeDetail from './noticeDetail.vue' +import type { noticeType } from './notice_interface' +import { getNoticeeApi } from '@/api/system/notice' const searchQuery = reactive({ noticeNo: '', // 编号 noticePublisher: '', // 发布人 @@ -79,6 +81,11 @@ const add = () => { addDialog.value.initDialog() } +const detailDialog = ref() // 详情组件弹窗 +// 详情 +const detail = (row: noticeType) => { + detailDialog.value.initDialog(row) +} onMounted(() => { getNoticeList() }) @@ -86,7 +93,7 @@ - + @@ -96,12 +103,16 @@ - + - + @@ -110,16 +121,24 @@ - + - 新建 - 导出 - 打印 + + 新建 + + + 导出 + + + 打印 + - + - + @@ -129,16 +148,17 @@ - - + + 查看 - - + + + diff --git a/src/views/system/notice/notice_interface.ts b/src/views/system/notice/notice_interface.ts new file mode 100644 index 0000000..a1fc349 --- /dev/null +++ b/src/views/system/notice/notice_interface.ts @@ -0,0 +1,12 @@ +// 通知公告信息类型 +export interface noticeType { + id: number // 主键id(列表接口参数) + minioFileName: string // 上传文件返回名称 string + noticeCompany: string // 发布单位 string + noticeContent: string // 发布内容 string + noticeNo: string // 通知公告编号 string + noticePublisher: string // 发布人 string + noticeSketch: string // 内容简述 string + noticeTime: string // 发布时间 string + noticeTitle: string // 通知公告标题 string +} diff --git a/src/views/system/process/editProcess.vue b/src/views/system/process/editProcess.vue new file mode 100644 index 0000000..4a92993 --- /dev/null +++ b/src/views/system/process/editProcess.vue @@ -0,0 +1,229 @@ + + + + + + + 流程编辑 + + + + + 保存 + + + 关闭 + + + + + {{ form.number }} + + + {{ form.name }} + + + {{ form.business }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + 流程配置 + + + + + + diff --git a/src/views/system/process/process.ts b/src/views/system/process/process.ts index 554c264..7b12a6a 100644 --- a/src/views/system/process/process.ts +++ b/src/views/system/process/process.ts @@ -9,3 +9,14 @@ offset: number limit: number } + +export interface Iform { + number: string // 编号 + name: string // 名称 + business: string // 关联业务 + desc?: string // 流程描述 + selectDecision: string // 选择的决策 + rejectTo?: string // 可驳回至 + changeData?: string // 驳回修改数据 + isMessage: string // 审批结果通知发起人 +} diff --git a/src/views/system/process/process.vue b/src/views/system/process/process.vue index 84319b8..f248fe7 100644 --- a/src/views/system/process/process.vue +++ b/src/views/system/process/process.vue @@ -3,9 +3,11 @@ import { ElMessage, ElMessageBox } from 'element-plus' import { Delete } from '@element-plus/icons-vue' import type { IlistQuery } from './process' +import EditProcess from './editProcess.vue' import { delLoginLog, getLoginLogList } from '@/api/system/log' const { proxy } = getCurrentInstance() as any +const active = ref('main') const listQuery: IlistQuery = reactive({ number: '', // 编号 name: '', // 名称 @@ -104,90 +106,128 @@ } fetchData(true) } + +// 重置 +const reset = () => { + console.log('点击重置') +} +// 编辑 +const edit = (row: IlistQuery) => { + console.log('编辑') + active.value = 'edit' +} +// 详情 +const detail = (row: IlistQuery) => { + console.log('查看详情') + active.value = 'detail' +} +// 废止 +const abolish = (row: IlistQuery) => { + console.log('废止') +} +// 删除 +const del = (row: IlistQuery) => { + console.log('删除') +} +// 编辑页面点击关闭 +const close = () => { + active.value = 'main' +} - - - - - - - - - - - - - - - - - - - - - - - 重置 - - - - - - - - - - 编辑 - - - 详情 - - - 废止 - - - 删除 - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + 重置 + + + + + + + + + + 编辑 + + + 详情 + + + 废止 + + + 删除 + + + + + + + + + + + + + 详情 + diff --git a/src/views/system/tenant/list.tenant.vue b/src/views/system/tenant/list.tenant.vue index 20256b0..eebf1df 100644 --- a/src/views/system/tenant/list.tenant.vue +++ b/src/views/system/tenant/list.tenant.vue @@ -126,7 +126,7 @@ /> - - - - + + + diff --git a/.eslintrc b/.eslintrc index 5c6806e..72e93a1 100644 --- a/.eslintrc +++ b/.eslintrc @@ -4,6 +4,7 @@ "curly": ["error", "all"], "no-tabs":"off", "no-const-assign": "off", + "no-console": "off", "vue/component-name-in-template-casing": ["error", "kebab-case", { "registeredComponentsOnly": false, "ignores": [] diff --git a/src/router/modules/system.ts b/src/router/modules/system.ts index 1271d43..113d712 100644 --- a/src/router/modules/system.ts +++ b/src/router/modules/system.ts @@ -209,7 +209,7 @@ { path: 'list', name: 'BusinessList', - component: () => import('@/views/system/log/list.log.vue'), + component: () => import('@/views/system/log/listLog.vue'), meta: { title: '业务日志', auth: '/sys/log/biz/list', diff --git a/src/views/system/area/listArea.vue b/src/views/system/area/listArea.vue index 7b4c159..335a6fb 100644 --- a/src/views/system/area/listArea.vue +++ b/src/views/system/area/listArea.vue @@ -1,9 +1,12 @@ - - - - - - - - - - - - - - - - - - - 清空日志 - - - - - - - - - - ㅤ详情ㅤㅤ - - - - - - - - - - - - diff --git a/src/views/system/log/listErrorLog.vue b/src/views/system/log/listErrorLog.vue index 4b7c501..7607022 100644 --- a/src/views/system/log/listErrorLog.vue +++ b/src/views/system/log/listErrorLog.vue @@ -79,7 +79,7 @@ } // 页数发生变化后的操作,可能是页码变化,可能是每页容量变化,此函数必写 -const changePage = (val: any) => { +const changePage = (val: { size: number; page: number }) => { if (val && val.size) { listQuery.limit = val.size } diff --git a/src/views/system/log/listLog.vue b/src/views/system/log/listLog.vue new file mode 100644 index 0000000..eb10497 --- /dev/null +++ b/src/views/system/log/listLog.vue @@ -0,0 +1,205 @@ + + + + + + + + + + + + + + + + + + + + 清空日志 + + + + + + + + + + ㅤ详情ㅤㅤ + + + + + + + + + + + + diff --git a/src/views/system/log/loginLog.vue b/src/views/system/log/loginLog.vue index 429e18c..22c649d 100644 --- a/src/views/system/log/loginLog.vue +++ b/src/views/system/log/loginLog.vue @@ -95,7 +95,7 @@ } // 页数发生变化后的操作,可能是页码变化,可能是每页容量变化,此函数必写 -const changePage = (val: any) => { +const changePage = (val: { size: number; page: number }) => { if (val && val.size) { listQuery.limit = val.size } diff --git a/src/views/system/notice/note.list.vue b/src/views/system/notice/note.list.vue index 61dd8e9..dd1d289 100644 --- a/src/views/system/notice/note.list.vue +++ b/src/views/system/notice/note.list.vue @@ -3,7 +3,9 @@ import { Delete } from '@element-plus/icons-vue' import tableHeader from './table.header.vue' import addNotice from './noteAdd.vue' -import { addNoticeApi, getNoticeeApi } from '@/api/system/notice' +import noticeDetail from './noticeDetail.vue' +import type { noticeType } from './notice_interface' +import { getNoticeeApi } from '@/api/system/notice' const searchQuery = reactive({ noticeNo: '', // 编号 noticePublisher: '', // 发布人 @@ -79,6 +81,11 @@ const add = () => { addDialog.value.initDialog() } +const detailDialog = ref() // 详情组件弹窗 +// 详情 +const detail = (row: noticeType) => { + detailDialog.value.initDialog(row) +} onMounted(() => { getNoticeList() }) @@ -86,7 +93,7 @@ - + @@ -96,12 +103,16 @@ - + - + @@ -110,16 +121,24 @@ - + - 新建 - 导出 - 打印 + + 新建 + + + 导出 + + + 打印 + - + - + @@ -129,16 +148,17 @@ - - + + 查看 - - + + + diff --git a/src/views/system/notice/notice_interface.ts b/src/views/system/notice/notice_interface.ts new file mode 100644 index 0000000..a1fc349 --- /dev/null +++ b/src/views/system/notice/notice_interface.ts @@ -0,0 +1,12 @@ +// 通知公告信息类型 +export interface noticeType { + id: number // 主键id(列表接口参数) + minioFileName: string // 上传文件返回名称 string + noticeCompany: string // 发布单位 string + noticeContent: string // 发布内容 string + noticeNo: string // 通知公告编号 string + noticePublisher: string // 发布人 string + noticeSketch: string // 内容简述 string + noticeTime: string // 发布时间 string + noticeTitle: string // 通知公告标题 string +} diff --git a/src/views/system/process/editProcess.vue b/src/views/system/process/editProcess.vue new file mode 100644 index 0000000..4a92993 --- /dev/null +++ b/src/views/system/process/editProcess.vue @@ -0,0 +1,229 @@ + + + + + + + 流程编辑 + + + + + 保存 + + + 关闭 + + + + + {{ form.number }} + + + {{ form.name }} + + + {{ form.business }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + 流程配置 + + + + + + diff --git a/src/views/system/process/process.ts b/src/views/system/process/process.ts index 554c264..7b12a6a 100644 --- a/src/views/system/process/process.ts +++ b/src/views/system/process/process.ts @@ -9,3 +9,14 @@ offset: number limit: number } + +export interface Iform { + number: string // 编号 + name: string // 名称 + business: string // 关联业务 + desc?: string // 流程描述 + selectDecision: string // 选择的决策 + rejectTo?: string // 可驳回至 + changeData?: string // 驳回修改数据 + isMessage: string // 审批结果通知发起人 +} diff --git a/src/views/system/process/process.vue b/src/views/system/process/process.vue index 84319b8..f248fe7 100644 --- a/src/views/system/process/process.vue +++ b/src/views/system/process/process.vue @@ -3,9 +3,11 @@ import { ElMessage, ElMessageBox } from 'element-plus' import { Delete } from '@element-plus/icons-vue' import type { IlistQuery } from './process' +import EditProcess from './editProcess.vue' import { delLoginLog, getLoginLogList } from '@/api/system/log' const { proxy } = getCurrentInstance() as any +const active = ref('main') const listQuery: IlistQuery = reactive({ number: '', // 编号 name: '', // 名称 @@ -104,90 +106,128 @@ } fetchData(true) } + +// 重置 +const reset = () => { + console.log('点击重置') +} +// 编辑 +const edit = (row: IlistQuery) => { + console.log('编辑') + active.value = 'edit' +} +// 详情 +const detail = (row: IlistQuery) => { + console.log('查看详情') + active.value = 'detail' +} +// 废止 +const abolish = (row: IlistQuery) => { + console.log('废止') +} +// 删除 +const del = (row: IlistQuery) => { + console.log('删除') +} +// 编辑页面点击关闭 +const close = () => { + active.value = 'main' +} - - - - - - - - - - - - - - - - - - - - - - - 重置 - - - - - - - - - - 编辑 - - - 详情 - - - 废止 - - - 删除 - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + 重置 + + + + + + + + + + 编辑 + + + 详情 + + + 废止 + + + 删除 + + + + + + + + + + + + + 详情 + diff --git a/src/views/system/tenant/list.tenant.vue b/src/views/system/tenant/list.tenant.vue index 20256b0..eebf1df 100644 --- a/src/views/system/tenant/list.tenant.vue +++ b/src/views/system/tenant/list.tenant.vue @@ -126,7 +126,7 @@ /> - - - - + + + diff --git a/src/views/system/user/listUser.vue b/src/views/system/user/listUser.vue index 8f86f10..6c9c338 100644 --- a/src/views/system/user/listUser.vue +++ b/src/views/system/user/listUser.vue @@ -1,5 +1,5 @@