From a1df9699594b0a0e46d26a0394eafb1eb030c68b Mon Sep 17 00:00:00 2001
From: yyb <995253665@qq.com>
Date: 星期三, 20 五月 2026 17:42:09 +0800
Subject: [PATCH] 企业新闻

---
 src/views/officeProcessAutomation/NoticeAnnouncement/notice-manage/noticeAnnouncementUtils.js |   85 ------------------------------------------
 1 files changed, 0 insertions(+), 85 deletions(-)

diff --git a/src/views/officeProcessAutomation/NoticeAnnouncement/notice-manage/noticeAnnouncementUtils.js b/src/views/officeProcessAutomation/NoticeAnnouncement/notice-manage/noticeAnnouncementUtils.js
index f6b789d..7fe3d6d 100644
--- a/src/views/officeProcessAutomation/NoticeAnnouncement/notice-manage/noticeAnnouncementUtils.js
+++ b/src/views/officeProcessAutomation/NoticeAnnouncement/notice-manage/noticeAnnouncementUtils.js
@@ -38,8 +38,6 @@
   { value: "106", label: "浜哄姏璧勬簮閮�" },
 ];
 
-export const STORAGE_KEY = "oa_notice_announcement_v1";
-
 export function noticeTypeLabel(v) {
   return NOTICE_TYPE_OPTIONS.find((x) => x.value === v)?.label || v || "鈥�";
 }
@@ -88,89 +86,6 @@
     createTime: "",
     updateTime: "",
   };
-}
-
-export function createInitialMockNotices() {
-  return [
-    {
-      id: "notice_1",
-      noticeNo: "NA202605100001",
-      title: "鍏充簬鍙伴澶╂皵灞呭鍔炲叕鐨勭揣鎬ラ�氱煡",
-      noticeType: "emergency",
-      priority: "urgent",
-      contentHtml:
-        "<p><strong>绱ф�ラ�氱煡</strong></p><p>鍙楀彴椋庡奖鍝嶏紝鏄庢棩锛�5鏈�17鏃ワ級鍏ㄤ綋鍛樺伐灞呭鍔炲叕锛岃鍚勯儴闂ㄨ礋璐d汉鍋氬ソ宸ヤ綔瀹夋帓涓庡憳宸ヨ仈缁溿��</p>",
-      publishDate: "2026-05-16",
-      expireDate: "2026-05-20",
-      readScope: "all",
-      targetDeptIds: [],
-      requireReadConfirm: true,
-      publishStatus: "published",
-      publisherName: "琛屾斂閮�",
-      publishTime: "2026-05-16 08:30:00",
-      readCount: 128,
-      createTime: "2026-05-16 08:00:00",
-      updateTime: "2026-05-16 08:30:00",
-    },
-    {
-      id: "notice_2",
-      noticeNo: "NA202605120002",
-      title: "2026骞寸鍗堣妭鏀惧亣瀹夋帓鍏憡",
-      noticeType: "employee",
-      priority: "high",
-      contentHtml:
-        "<p>鏍规嵁鍥藉娉曞畾鑺傚亣鏃ュ畨鎺掞紝绔崍鑺傛斁鍋囨椂闂翠负 6鏈�8鏃ヨ嚦6鏈�10鏃ワ紝鍏�3澶┿��6鏈�7鏃ワ紙鍛ㄥ叚锛夋甯镐笂鐝��</p>",
-      publishDate: "2026-05-12",
-      expireDate: "2026-06-15",
-      readScope: "all",
-      targetDeptIds: [],
-      requireReadConfirm: false,
-      publishStatus: "published",
-      publisherName: "浜哄姏璧勬簮閮�",
-      publishTime: "2026-05-12 10:00:00",
-      readCount: 256,
-      createTime: "2026-05-12 09:30:00",
-      updateTime: "2026-05-12 10:00:00",
-    },
-    {
-      id: "notice_3",
-      noticeNo: "NA202605140003",
-      title: "鍔炲叕鍖哄煙娑堥槻婕旂粌閫氱煡",
-      noticeType: "company",
-      priority: "normal",
-      contentHtml: "<p>瀹氫簬 5鏈�25鏃� 14:00 鍦ㄦ�婚儴澶фゼ杩涜娑堥槻婕旂粌锛岃鍚勯儴闂ㄦ彁鍓嶅畨鎺掍汉鍛樺弬鍔犮��</p>",
-      publishDate: "2026-05-14",
-      expireDate: "2026-05-26",
-      readScope: "department",
-      targetDeptIds: ["101", "102", "103"],
-      requireReadConfirm: false,
-      publishStatus: "draft",
-      publisherName: "琛屾斂閮�",
-      publishTime: "",
-      readCount: 0,
-      createTime: "2026-05-14 15:00:00",
-      updateTime: "2026-05-14 15:00:00",
-    },
-  ];
-}
-
-export function loadStoredNotices() {
-  try {
-    const raw = localStorage.getItem(STORAGE_KEY);
-    if (!raw) return null;
-    const data = JSON.parse(raw);
-    return Array.isArray(data) ? data : null;
-  } catch {
-    return null;
-  }
-}
-
-export function saveStoredNotices(rows) {
-  try {
-    localStorage.setItem(STORAGE_KEY, JSON.stringify(rows));
-  } catch {
-    /* ignore */
-  }
 }
 
 export function nextNoticeNo() {

--
Gitblit v1.9.3