From 0e944bfc16136c0a749fc6022e0dfc7f2b4af010 Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期二, 15 十月 2024 18:16:17 +0800
Subject: [PATCH] 工单图片样式调整、取消考核页面人脸和车辆的公安部按钮
---
src/api/platform/point.js | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 59 insertions(+), 0 deletions(-)
diff --git a/src/api/platform/point.js b/src/api/platform/point.js
index 5a2eecf..e858457 100644
--- a/src/api/platform/point.js
+++ b/src/api/platform/point.js
@@ -26,6 +26,15 @@
})
}
+// 鏂板杩愮淮鐐逛綅-鎵归噺
+export function addPointBatch(data) {
+ return request({
+ url: '/yw-point/batch',
+ method: 'post',
+ data: data
+ })
+}
+
// 淇敼杩愮淮鐐逛綅
export function updatePoint(data) {
return request({
@@ -35,6 +44,16 @@
})
}
+// 鎵归噺淇敼杩愮淮鐐逛綅
+export function batchEdit(data) {
+ return request({
+ url: '/yw-point/batch',
+ method: 'put',
+ data: data
+ })
+}
+
+
// 鍒犻櫎杩愮淮鐐逛綅
export function delPoint(id) {
return request({
@@ -42,3 +61,43 @@
method: 'delete'
})
}
+
+// 鐐逛綅涓嬫媺鍒楄〃
+export function pointSelectData(param) {
+ return request({
+ url: '/yw-point/select',
+ method: 'get',
+ params: param
+ })
+}
+
+// 瀵煎嚭
+export function exportData(param) {
+ return request({
+ url: '/yw-point/export',
+ method: 'get',
+ params: param,
+ responseType: 'blob'
+ })
+}
+
+// 瀵煎叆
+export function importData(data) {
+ return request({
+ url: '/yw-point/import',
+ method: 'post',
+ data: data,
+ headers: {
+ 'Content-Type': 'multipart/form-data'
+ },
+ timeout: 150000
+ })
+}
+
+// 鏍规嵁鍗曚綅id鏌ユ壘鍚堝悓
+export function timeRange(unitId) {
+ return request({
+ url: '/system/contract/time/' + unitId,
+ method: 'get'
+ })
+}
--
Gitblit v1.8.0