| 
									
										
										
										
											2024-02-26 18:30:21 +08:00
										 |  |  | import { post, upload } from "@/request/axios.js"; | 
					
						
							|  |  |  | import { getLevelsByParentId } from "@/request/data_dictionary.js"; | 
					
						
							|  |  |  | import { ref } from "vue"; | 
					
						
							| 
									
										
										
										
											2024-02-23 19:07:36 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-02-26 18:30:21 +08:00
										 |  |  | export const getSecurityNoticeList = (params) => | 
					
						
							|  |  |  |   post("/securitynotice/listForSecurityNotice", params); // 安全通知列表
 | 
					
						
							|  |  |  | export const getSecurityNotice = (params) => | 
					
						
							|  |  |  |   post("/securitynotice/getAllReadDetail", params); // 阅读详情
 | 
					
						
							|  |  |  | export const dateteSecurityNotice = (params) => | 
					
						
							|  |  |  |   post("/securitynotice/delete", params); // 安全通知删除
 | 
					
						
							| 
									
										
										
										
											2024-02-29 18:28:57 +08:00
										 |  |  | export const dateteSecurityAllNotice = (params) => | 
					
						
							|  |  |  |   post("/securitynotice/deleteAll", params); // 安全通知批量删除
 | 
					
						
							| 
									
										
										
										
											2024-02-26 18:30:21 +08:00
										 |  |  | export const getSecurityNoticeInfo = (params) => | 
					
						
							|  |  |  |   post("/securitynotice/goEdit", params); // 安全通知详情
 | 
					
						
							|  |  |  | export const addSecurityNotice = (params) => | 
					
						
							|  |  |  |   upload("/securitynotice/add", params); // 添加安全通知
 | 
					
						
							| 
									
										
										
										
											2024-02-29 18:28:57 +08:00
										 |  |  | export const getUserListAll = (params) => post("/user/listSelect", params); | 
					
						
							| 
									
										
										
										
											2024-02-23 19:07:36 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | export const layoutFnGetNotificationsClassification = async () => { | 
					
						
							| 
									
										
										
										
											2024-02-26 18:30:21 +08:00
										 |  |  |   const resData = await getLevelsByParentId({ | 
					
						
							|  |  |  |     parentId: "aaecb47d95524b84904809671e48a777", | 
					
						
							|  |  |  |   }); | 
					
						
							|  |  |  |   return ref(resData); | 
					
						
							| 
									
										
										
										
											2024-02-23 19:07:36 +08:00
										 |  |  | }; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-02-26 18:30:21 +08:00
										 |  |  | export const layoutFnGetSIGNEDSTATUSClassification = async () => { | 
					
						
							|  |  |  |   const resData = await getLevelsByParentId({ | 
					
						
							|  |  |  |     parentId: "bbecb47d95524b84904809671e48a777", | 
					
						
							|  |  |  |   }); | 
					
						
							|  |  |  |   return ref(resData); | 
					
						
							|  |  |  | }; |