From 2b1b21ececaa9a954656dd272c3a87c3ba382ef4 Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期一, 30 九月 2024 05:50:48 +0800
Subject: [PATCH] 合同页面初步调整
---
src/api/platform/point.js | 15 ++++++++++++---
1 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/src/api/platform/point.js b/src/api/platform/point.js
index 21abe48..e858457 100644
--- a/src/api/platform/point.js
+++ b/src/api/platform/point.js
@@ -82,13 +82,22 @@
}
// 瀵煎叆
-export function importData(data, unitId) {
+export function importData(data) {
return request({
- url: '/yw-point/import/' + unitId,
+ 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