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/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
+}