From cf3ec317dd436976df8a9e7a4dc77a9b5d47d8d3 Mon Sep 17 00:00:00 2001
From: SZH <szh_hello@163.com>
Date: Thu, 25 Aug 2022 10:35:39 +0800
Subject: [PATCH] 修改打包环境配置
---
src/api/specialWorkSystem/workApply/index.ts | 73 ++++++++++++++++++++++++++++++++++++
1 files changed, 72 insertions(+), 1 deletions(-)
diff --git a/src/api/specialWorkSystem/workApply/index.ts b/src/api/specialWorkSystem/workApply/index.ts
index 002afba..1df392e 100644
--- a/src/api/specialWorkSystem/workApply/index.ts
+++ b/src/api/specialWorkSystem/workApply/index.ts
@@ -3,7 +3,7 @@
export function workApplyApi() {
return {
// 分页获取申请列表
- getApplyListtPage: (data: object) => {
+ getApplyListPage: (data: object) => {
return request({
url: import.meta.env.VITE_API_URL + `/work/apply/applying/page/list`,
method: 'post',
@@ -11,6 +11,14 @@
});
},
+ // 分页获取申请列表
+ getAllUsers: () => {
+ return request({
+ url: import.meta.env.VITE_API_URL + `/account/list`,
+ method: 'get'
+ });
+ },
+
// 动火申请
postFireApply: (data: object) => {
return request({
@@ -20,6 +28,69 @@
});
},
+ // 受限空间申请
+ postSpaceApply: (data: object) => {
+ return request({
+ url: import.meta.env.VITE_API_URL + `/work/apply/confinedspace`,
+ method: 'post',
+ data: data
+ });
+ },
+
+ // 吊装申请
+ postHoistApply: (data: object) => {
+ return request({
+ url: import.meta.env.VITE_API_URL + `/work/apply/hoisting`,
+ method: 'post',
+ data: data
+ });
+ },
+
+ // 动土申请
+ postGroundApply: (data: object) => {
+ return request({
+ url: import.meta.env.VITE_API_URL + `/work/apply/groundBreaking`,
+ method: 'post',
+ data: data
+ });
+ },
+
+ // 断路申请
+ postBrokenApply: (data: object) => {
+ return request({
+ url: import.meta.env.VITE_API_URL + `/work/apply/brokenCircuit`,
+ method: 'post',
+ data: data
+ });
+ },
+
+ // 高处申请
+ postHeightApply: (data: object) => {
+ return request({
+ url: import.meta.env.VITE_API_URL + `/work/apply/height`,
+ method: 'post',
+ data: data
+ });
+ },
+
+ // 临时用电申请
+ postPowerApply: (data: object) => {
+ return request({
+ url: import.meta.env.VITE_API_URL + `/work/apply/temporaryPower`,
+ method: 'post',
+ data: data
+ });
+ },
+
+ // 盲板申请
+ postPlateApply: (data: object) => {
+ return request({
+ url: import.meta.env.VITE_API_URL + `/work/apply/blindPlatePlugging`,
+ method: 'post',
+ data: data
+ });
+ },
+
// 取消申请
cancelApply: (data: object) => {
return request({
--
Gitblit v1.9.2