From ff550e0ffd42d2d110603c24859b047db981a2a8 Mon Sep 17 00:00:00 2001
From: XaoLi717 <144221124+XaoLi717@users.noreply.github.com>
Date: Thu, 24 Oct 2024 19:29:58 +0800
Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E9=97=BB=E6=9B=B4=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/home/homeimg/index.ts | 16 +++--
src/views/Home/Index.vue | 78 ++++++++++++----------
src/views/Home/homeimg/imgForm.vue | 102 +++++++++++++++++++++--------
src/views/Home/homeimg/index.vue | 42 ++++++------
4 files changed, 147 insertions(+), 91 deletions(-)
diff --git a/src/api/home/homeimg/index.ts b/src/api/home/homeimg/index.ts
index cde3c58..09629d9 100644
--- a/src/api/home/homeimg/index.ts
+++ b/src/api/home/homeimg/index.ts
@@ -2,14 +2,16 @@ import request from '@/config/axios'
// 公告管理 VO
export interface imgVO {
- imgId: number // 公告id
- imgName: string // 公告名称
- imgCreatetime: Date // 发布时间
- imgImg: string // 轮换图片
- imgContent: string // 发布内容
+ id: number // 公告id
+ newsName: string // 公告名称
+ newsCreatetime: Date // 发布时间
+ newsImg: string // 轮换图片
+ newsContent: string // 发布内容
contentType: number // 公告分类
- imgStatus: number // 公告图片状态
- contentStatus: number // 公告状态
+ newsStatus: number // 公告图片状态
+ status: number // 公告状态
+ deptId: number // 公告状态
+ userId: number // 部门id
}
// 公告管理 API
diff --git a/src/views/Home/Index.vue b/src/views/Home/Index.vue
index add85b7..07b5646 100644
--- a/src/views/Home/Index.vue
+++ b/src/views/Home/Index.vue
@@ -20,14 +20,14 @@