From 8e3865214943c20e1269a06d6e1cbbc4c8c7890f Mon Sep 17 00:00:00 2001
From: guanqb <18720758508@163.com>
Date: Tue, 16 Jan 2024 16:02:46 +0800
Subject: [PATCH] 派遣服务地图标点
---
src/api/dispatch/dispatch.js | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/src/api/dispatch/dispatch.js b/src/api/dispatch/dispatch.js
index e9283f4..50e57c6 100644
--- a/src/api/dispatch/dispatch.js
+++ b/src/api/dispatch/dispatch.js
@@ -1,4 +1,4 @@
-import request from '@/router/axios';
+import request from '@/router/axios'
export const getdata = (current, size, params) => {
return request({
@@ -12,6 +12,15 @@
})
}
+export const getAlldata = (params) => {//不分页
+ return request({
+ url: '/api/dispatcherUnit/getAll',
+ method: 'get',
+ params: {
+ ...params
+ }
+ })
+}
export const getDispatcherUnitByDeptId = (deptId) => {
return request({
--
Gitblit v1.9.3