From 0527684883bc620febe0a1360f661cc2a7f16e00 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期五, 29 十一月 2024 17:21:35 +0800
Subject: [PATCH] Merge branch 'master' of http://139.186.142.91:10010/r/productDev/funingyunwei
---
h5/api/yw.js | 73 ++++++++++++++++++++++++++++++++++++
1 files changed, 73 insertions(+), 0 deletions(-)
diff --git a/h5/api/yw.js b/h5/api/yw.js
new file mode 100644
index 0000000..ff980d2
--- /dev/null
+++ b/h5/api/yw.js
@@ -0,0 +1,73 @@
+import { http } from '@/utils/service.js'
+
+// 宸ュ崟鍒楄〃
+export const ywWorkorder = (data) => {
+ return http({
+ url: 'visitsAdmin/cloudService/business/ywWorkorder/page',
+ data
+ })
+}
+// 宸ュ崟璇︽儏
+export const ywWorkorderD = (id) => {
+ return http({
+ url: 'visitsAdmin/cloudService/business/ywWorkorder/' + id,
+ method: 'get'
+ })
+}
+// 宸ュ崟澶勭悊
+export const ywWorkorderDeal = (data) => {
+ return http({
+ url: 'visitsAdmin/cloudService/business/ywWorkorder/dealOrder',
+ data
+ })
+}
+// 鍒涘缓宸ュ崟
+export const ywWorkorderCreate = (data) => {
+ return http({
+ url: 'visitsAdmin/cloudService/business/ywWorkorder/create',
+ data
+ })
+}
+// 椤圭洰鍒楄〃
+export const ywProjectPost = (data) => {
+ return http({
+ url: 'visitsAdmin/cloudService/business/ywProject/list',
+ data
+ })
+}
+// 妤煎畤鍒楄〃
+export const ywBuildingPost = (data) => {
+ return http({
+ url: 'visitsAdmin/cloudService/business/ywBuilding/list',
+ data
+ })
+}
+// 妤煎眰鍒楄〃
+export const ywFloorPost = (data) => {
+ return http({
+ url: 'visitsAdmin/cloudService/business/ywFloor/list',
+ data
+ })
+}
+// 鎴挎簮鍒楄〃
+export const ywRoomPost = (data) => {
+ return http({
+ url: 'visitsAdmin/cloudService/business/ywRoom/list',
+ data
+ })
+}
+
+// 杩愮淮璁板綍
+export const ywDeviceRecord = (data) => {
+ return http({
+ url: 'visitsAdmin/cloudService/business/ywDeviceRecord/page',
+ data
+ })
+}
+// 杩愮淮璁板綍璇︽儏
+export const ywDeviceDetail = (id) => {
+ return http({
+ url: 'visitsAdmin/cloudService/business/ywDeviceRecord/' + id,
+ method: 'get'
+ })
+}
\ No newline at end of file
--
Gitblit v1.9.3