From a6842851a844e63a8766d63c5410a8e2f27a7d45 Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期二, 20 八月 2024 11:56:30 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 src/api/platform/point.js |   49 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 49 insertions(+), 0 deletions(-)

diff --git a/src/api/platform/point.js b/src/api/platform/point.js
index b203118..54de0d7 100644
--- a/src/api/platform/point.js
+++ b/src/api/platform/point.js
@@ -44,6 +44,16 @@
   })
 }
 
+// 鎵归噺淇敼杩愮淮鐐逛綅
+export function batchEdit(data) {
+  return request({
+    url: '/yw-point/batch',
+    method: 'put',
+    data: data
+  })
+}
+
+
 // 鍒犻櫎杩愮淮鐐逛綅
 export function delPoint(id) {
   return request({
@@ -51,3 +61,42 @@
     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, unitId) {
+  return request({
+    url: '/yw-point/import/' + unitId,
+    method: 'post',
+    data: data,
+    headers: {
+      'Content-Type': 'multipart/form-data'
+    }
+  })
+}
+
+// 鏍规嵁鍗曚綅id鏌ユ壘鍚堝悓
+export function timeRange(unitId) {
+  return request({
+    url: '/system/contract/time/' + unitId,
+    method: 'get'
+  })
+}

--
Gitblit v1.8.0