From af18fd6fb9e1a500be5369550b737ccce12a7d23 Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: Tue, 18 Apr 2023 14:29:22 +0800
Subject: [PATCH] 修改表单校验
---
src/views/experiment/project/index.ts | 26 ++++++++++++++++++--------
1 files changed, 18 insertions(+), 8 deletions(-)
diff --git a/src/views/experiment/project/index.ts b/src/views/experiment/project/index.ts
index 188cb14..eacbe83 100644
--- a/src/views/experiment/project/index.ts
+++ b/src/views/experiment/project/index.ts
@@ -155,7 +155,7 @@
declare interface SelectRoomType {
disabled: boolean
roomList: Array<roomListType>,
- allRoomList: Array<roomListType>,
+ allRoomList: Array<allRoomListType>,
specialDeviceList: Array<stuffType>
memberList: Array<any>
typeList: Array<any>
@@ -164,13 +164,23 @@
}
declare interface roomListType {
- siteId?: null | number,
- siteName?: string,
- floor?: string,
- room?: string,
- fireFacilities?: null | number,
- partitionStatus?: null | number,
- siteType?: string,
+ siteId: null | number,
+ siteName: string,
+ floor: string,
+ room: string,
+ fireFacilities: null | number,
+ partitionStatus: null | number,
+ siteType: string,
+}
+
+declare interface allRoomListType {
+ id: null | number,
+ siteName: string,
+ floor: string,
+ room: string,
+ fireFacilities: null | number,
+ partitionStatus: null | number,
+ siteType: string,
}
declare interface stuffType {
--
Gitblit v1.9.2