From f03cf23f3acbd5582a16c263aa6bf83b260ec906 Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期一, 28 九月 2026 09:53:19 +0800
Subject: [PATCH] feat(inspection): 接口
---
src/api/structural/sealConfig.js | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 55 insertions(+), 0 deletions(-)
diff --git a/src/api/structural/sealConfig.js b/src/api/structural/sealConfig.js
new file mode 100644
index 0000000..60f28b0
--- /dev/null
+++ b/src/api/structural/sealConfig.js
@@ -0,0 +1,55 @@
+import request from '@/utils/request'
+
+// 鍒嗛〉鏌ヨ鎶ュ憡鍗扮珷
+export function pageSeal(query) {
+ return request({
+ url: '/sealConfig/pageSeal',
+ method: 'get',
+ params: query
+ })
+}
+
+// 鏂板鎶ュ憡鍗扮珷
+export function addSeal(data) {
+ return request({
+ url: '/sealConfig/addSeal',
+ method: 'post',
+ data
+ })
+}
+
+// 淇敼鎶ュ憡鍗扮珷
+export function updateSeal(data) {
+ return request({
+ url: '/sealConfig/updateSeal',
+ method: 'post',
+ data
+ })
+}
+
+// 鍒犻櫎鎶ュ憡鍗扮珷
+export function delSeal(id) {
+ return request({
+ url: '/sealConfig/delSeal',
+ method: 'delete',
+ params: { id }
+ })
+}
+
+// 鏌ヨ鍚敤鐨勬姤鍛婂嵃绔狅紝渚涙姤鍛婃壒鍑嗛�夋嫨
+export function selectEnabledSeals() {
+ return request({
+ url: '/sealConfig/selectEnabled',
+ method: 'get'
+ })
+}
+
+// 瀵煎嚭鎶ュ憡鍗扮珷
+export function exportSeal(query) {
+ return request({
+ url: '/sealConfig/exportSeal',
+ method: 'get',
+ params: query,
+ responseType: 'blob'
+ })
+}
--
Gitblit v1.9.3