吃个甘蔗嚼一年 3 gadus atpakaļ
vecāks
revīzija
d2e4ce935a

Binārs
src/assets/icons/landlord/复制.png Parādīt failu


+ 1
- 1
src/components/BossCard/style.less Parādīt failu

281
         margin-top: 3em;
281
         margin-top: 3em;
282
         background-color: #274190;
282
         background-color: #274190;
283
         border-radius: 12px;
283
         border-radius: 12px;
284
-        width: 690px;
284
+        width: calc(100% - 60px);
285
         height: 92px;
285
         height: 92px;
286
         color: @whiteColor;
286
         color: @whiteColor;
287
         // position: absolute;
287
         // position: absolute;

+ 1
- 1
src/components/CompoentsOrder/AlreadyUsed/style.less Parādīt failu

314
 
314
 
315
     .button-box {
315
     .button-box {
316
       margin: 60px 0;
316
       margin: 60px 0;
317
-      width: 690px;
317
+      width: calc(100% - 60px);
318
       height: 88px;
318
       height: 88px;
319
       line-height: 88px;
319
       line-height: 88px;
320
       background: #274291;
320
       background: #274291;

+ 1
- 1
src/components/CompoentsOrder/TobePaid/style.less Parādīt failu

257
 
257
 
258
     .button-box {
258
     .button-box {
259
       margin: 60px 0;
259
       margin: 60px 0;
260
-      width: 690px;
260
+      width: calc(100% - 60px);
261
       height: 88px;
261
       height: 88px;
262
       line-height: 88px;
262
       line-height: 88px;
263
       background: #274291;
263
       background: #274291;

+ 1
- 1
src/components/CompoentsOrder/TobeWritten/style.less Parādīt failu

258
 
258
 
259
     .button-box {
259
     .button-box {
260
       margin: 60px 0;
260
       margin: 60px 0;
261
-      width: 690px;
261
+      width: calc(100% - 60px);
262
       height: 88px;
262
       height: 88px;
263
       line-height: 88px;
263
       line-height: 88px;
264
       background: #274291;
264
       background: #274291;

+ 1
- 1
src/components/PayOrderCard/style.less Parādīt failu

281
         margin-top: 3em;
281
         margin-top: 3em;
282
         background-color: #274190;
282
         background-color: #274190;
283
         border-radius: 12px;
283
         border-radius: 12px;
284
-        width: 690px;
284
+        width: calc(100% - 60px);
285
         height: 92px;
285
         height: 92px;
286
         color: @whiteColor;
286
         color: @whiteColor;
287
         // position: absolute;
287
         // position: absolute;

+ 38
- 41
src/hotel/components/HouseManage/houseManage.jsx Parādīt failu

1
-import Taro, {useDidShow } from '@tarojs/taro'
1
+import Taro, { useDidShow } from '@tarojs/taro'
2
 import see from '@/assets/icons/landlord/查看入住人.png'
2
 import see from '@/assets/icons/landlord/查看入住人.png'
3
 import share from '@/assets/icons/landlord/分享链接.png'
3
 import share from '@/assets/icons/landlord/分享链接.png'
4
 import del from '@/assets/icons/landlord/删除.png'
4
 import del from '@/assets/icons/landlord/删除.png'
5
 import addImg from '@/assets/icons/landlord/添加.png'
5
 import addImg from '@/assets/icons/landlord/添加.png'
6
 import iconsearch from '@/assets/icons/housemantj/search.png'
6
 import iconsearch from '@/assets/icons/housemantj/search.png'
7
-import React,{useState, useEffect,useRef, useImperativeHandle } from 'react'
8
-import {getRoomList,deleteRoom} from '@/services/landlord'
7
+import React, { useState, useEffect, useRef, useImperativeHandle } from 'react'
8
+import { getRoomList, deleteRoom } from '@/services/landlord'
9
 import ShareRoom from '../shareRoom/ShareRoom.jsx'
9
 import ShareRoom from '../shareRoom/ShareRoom.jsx'
10
 import ShareCard from '../shareCard/shareCard'
10
 import ShareCard from '../shareCard/shareCard'
11
 import './houseManage.less'
11
 import './houseManage.less'
12
 
12
 
13
 export default React.forwardRef((props, ref) => {
13
 export default React.forwardRef((props, ref) => {
14
-  const {hotel}=props
14
+  const { hotel } = props
15
   const [detail, setDetail] = useState([])
15
   const [detail, setDetail] = useState([])
16
 
16
 
17
   const shareDataRef = useRef()
17
   const shareDataRef = useRef()
19
   // 判断是否首次加载
19
   // 判断是否首次加载
20
   const mounted = useRef(false)
20
   const mounted = useRef(false)
21
 
21
 
22
-  const handelClick=()=>{
22
+  const handelClick = () => {
23
     Taro.navigateTo({ url: `/hotel/pages/landlord/addRoom/addRoom?hotelId=${hotel.hotelId}&hotelName=${hotel.hotelName}` });
23
     Taro.navigateTo({ url: `/hotel/pages/landlord/addRoom/addRoom?hotelId=${hotel.hotelId}&hotelName=${hotel.hotelName}` });
24
   }
24
   }
25
-  const handelDelete=(roomId)=>{
26
-    deleteRoom(roomId).then(()=>{
25
+  const handelDelete = (roomId) => {
26
+    deleteRoom(roomId).then(() => {
27
       Taro.showToast({
27
       Taro.showToast({
28
         title: '删除房源成功',
28
         title: '删除房源成功',
29
         icon: 'none',
29
         icon: 'none',
30
       })
30
       })
31
-      getRoomList({hotelId:hotel.hotelId}).then((res)=>{
32
-        setDetail(res.records||[])
31
+      getRoomList({ hotelId: hotel.hotelId }).then((res) => {
32
+        setDetail(res.records || [])
33
       })
33
       })
34
     })
34
     })
35
   }
35
   }
44
   const onClose = () => {
44
   const onClose = () => {
45
     setShowCutover(false)
45
     setShowCutover(false)
46
   }
46
   }
47
-  useEffect(()=>{
47
+  useEffect(() => {
48
     //首次加载页面时
48
     //首次加载页面时
49
     if (!mounted.current && hotel.hotelId) {
49
     if (!mounted.current && hotel.hotelId) {
50
-      getRoomList({hotelId:hotel.hotelId}).then((res)=>{
51
-        setDetail(res.records||[])
50
+      getRoomList({ hotelId: hotel.hotelId }).then((res) => {
51
+        setDetail(res.records || [])
52
         mounted.current = true
52
         mounted.current = true
53
       })
53
       })
54
     }
54
     }
55
-  },[hotel?.hotelId])
55
+  }, [hotel?.hotelId])
56
 
56
 
57
   //当前页面切换到前台时
57
   //当前页面切换到前台时
58
   useDidShow(() => {
58
   useDidShow(() => {
59
     if (mounted.current) {
59
     if (mounted.current) {
60
-      getRoomList({hotelId:hotel.hotelId}).then((res)=>{
61
-        setDetail(res.records||[])
60
+      getRoomList({ hotelId: hotel.hotelId }).then((res) => {
61
+        setDetail(res.records || [])
62
       })
62
       })
63
     }
63
     }
64
   })
64
   })
81
     // 打开分享弹窗
81
     // 打开分享弹窗
82
     setShowCard(true)
82
     setShowCard(true)
83
   }
83
   }
84
-
84
+  const handelOrder = (val) => {
85
+    Taro.navigateTo({ url: `/hotel/pages/landlord/roomOrder/roomOrder?roomId=${val.roomId}&roomName=${val.roomName}` });
86
+  }
85
   return (
87
   return (
86
     <view>
88
     <view>
87
       <view style={{ padding: '0 30rpx', height: '100%' }}>
89
       <view style={{ padding: '0 30rpx', height: '100%' }}>
88
-          <view className='search'>
89
-            <input className='searchInput' disabled />
90
-            <image className='searchicon' src={iconsearch} />
91
-            <view className="searchword">请输入关键字搜索</view>
92
-          </view>
93
-          <ShareRoom showCutover={showCutover} onClose={onClose}  room={room} onFinish={handleFinish} />
94
-          <ShareCard showCutover={showCard} onClose={onClose}/>
90
+        <view className='search'>
91
+          <input className='searchInput' disabled />
92
+          <image className='searchicon' src={iconsearch} />
93
+          <view className="searchword">请输入关键字搜索</view>
94
+        </view>
95
+        <ShareRoom showCutover={showCutover} onClose={onClose} room={room} onFinish={handleFinish} />
96
+        <ShareCard showCutover={showCard} onClose={onClose} />
95
         <scroll-view scroll-y="true" scroll-view='true' bindscrolltoupper="upper" bindscrolltolower="lower" bindscroll="scroll" style={{ height: 'calc(100vh - 255px)' }}>
97
         <scroll-view scroll-y="true" scroll-view='true' bindscrolltoupper="upper" bindscrolltolower="lower" bindscroll="scroll" style={{ height: 'calc(100vh - 255px)' }}>
96
-
97
-          <view>
98
-            {
99
-              detail?.map((item)=>
98
+          {
99
+            detail?.map((item) =>
100
               <view className='houseCard'>
100
               <view className='houseCard'>
101
-              <view className='houseName'>{item.roomName}</view>
102
-              <view className='operation'>
103
-                <view><image src={see} />查看入住人</view>
104
-                <view onClick={()=>ShowMoldeOn(item)}><image src={share}/>分享链接</view>
105
-                <view onClick={()=>{handelDelete(item.roomId)}}><image src={del} />删除房源</view>
101
+                <view className='houseName'>{item.roomName}</view>
102
+                <view className='operation'>
103
+                  <view onClick={() => handelOrder(item)}><image src={see} />查看入住人</view>
104
+                  <view onClick={() => ShowMoldeOn(item)}><image src={share} />分享链接</view>
105
+                  <view onClick={() => handelDelete(item.roomId)}><image src={del} />删除房源</view>
106
+                </view>
106
               </view>
107
               </view>
107
-            </view>
108
-              )
109
-            }
110
-            
111
-           
112
-          </view>
113
-        </scroll-view>        
108
+            )
109
+          }
110
+        </scroll-view>
114
       </view>
111
       </view>
115
       <view className='addHouse' onClick={handelClick}>
112
       <view className='addHouse' onClick={handelClick}>
116
         <image className='addImg' src={addImg} />添加房源
113
         <image className='addImg' src={addImg} />添加房源
117
       </view>
114
       </view>
118
-    
119
-      </view>
115
+
116
+    </view>
120
   )
117
   )
121
 })
118
 })

+ 1
- 1
src/hotel/pages/landlord/addRoom/addRoom.less Parādīt failu

8
   display: inline;
8
   display: inline;
9
 }
9
 }
10
 button {
10
 button {
11
-  width: 690px;
11
+  width: calc(100% - 60px);
12
   height: 92px;
12
   height: 92px;
13
   background: #1A3B83;
13
   background: #1A3B83;
14
   margin: 0 auto;
14
   margin: 0 auto;

+ 6
- 0
src/hotel/pages/landlord/roomOrder/roomOrder.config.js Parādīt failu

1
+export default {
2
+  navigationBarTitleText: '',
3
+  navigationStyle: 'custom',
4
+  usingComponents: {
5
+  }
6
+}

+ 78
- 0
src/hotel/pages/landlord/roomOrder/roomOrder.jsx Parādīt failu

1
+import withLayout from '@/layouts'
2
+import React, { useState, useEffect, useRef } from 'react'
3
+import CustomNav from '@/components/CustomNav'
4
+import Taro from '@tarojs/taro'
5
+import copy from '@/assets/icons/landlord/复制.png'
6
+import { Input, Button, View, Picker, Label, Image } from '@tarojs/components'
7
+import { getRoomOrderList } from '@/services/landlord'
8
+import './roomOrder.less'
9
+
10
+
11
+
12
+
13
+export default withLayout((props) => {
14
+  const { roomId, roomName } = props.router.params
15
+  const [detail, setDetail] = useState([])
16
+  useEffect(() => {
17
+    getRoomOrderList({ roomId: roomId }).then((res) => {
18
+      setDetail(res.records || [])
19
+    })
20
+  }, [])
21
+  const CopyName = (val) => {
22
+    Taro.setClipboardData({
23
+      data: val,
24
+      success: e => {
25
+        Taro.showToast({
26
+          title: '入住人姓名已复制',
27
+          icon: 'success',
28
+          duration: 2000,
29
+        })
30
+      }
31
+    })
32
+  }
33
+  const CopyPhone = (val) => {
34
+    Taro.setClipboardData({
35
+      data: val,
36
+      success: e => {
37
+        Taro.showToast({
38
+          title: '入住人电话已复制',
39
+          icon: 'success',
40
+          duration: 2000,
41
+        })
42
+      }
43
+    })
44
+  }
45
+  return (
46
+    <View style={{ padding: '0 30px' }}>
47
+      <CustomNav title={roomName ? roomName : '房间名'} />
48
+      <scroll-view scroll-y="true" scroll-view='true' bindscrolltoupper="upper" bindscrolltolower="lower" bindscroll="scroll" style={{ height: 'calc(100vh - 65px)' }}>
49
+
50
+        {
51
+          detail.length==0?<View className='houseCard'>暂无入住人数据</View>
52
+           :detail?.map((item) =>
53
+            <View className='houseCard'>
54
+              {
55
+                item.personList?.map((item2) =>
56
+                  <View className='operation'>
57
+                    <View style={{display:'inline-block'}} onClick={()=>CopyName(item2.customerName)}>
58
+                      <Label>{item2.customerName}</Label>
59
+                      <Image src={copy} />
60
+                    </View>
61
+                    <View style={{display:'inline-block',marginLeft:'40rpx'}} onClick={()=>CopyPhone(item2.customerPhone)}>
62
+                      <Label>{item2.customerPhone}</Label>
63
+                      <Image src={copy} />
64
+                    </View>
65
+                  </View>
66
+
67
+                )
68
+              }              
69
+              <View className='operation'>入住时间:{item.startDate}  -  {item.endDate}</View>
70
+
71
+            </View>
72
+          )
73
+        }
74
+        
75
+      </scroll-view>
76
+    </View>
77
+  )
78
+})

+ 19
- 0
src/hotel/pages/landlord/roomOrder/roomOrder.less Parādīt failu

1
+.houseCard{
2
+  background: #1A3B83;
3
+  border-radius: 60px;
4
+  padding: 40px 30px 41px 30px;
5
+  text-align: center;
6
+  margin: 30px 0;
7
+  font-size: 28px;
8
+  color: #fff;  
9
+  Image{
10
+    width: 35px;
11
+    height: 35px;
12
+    margin-left:40px;
13
+    position: relative;
14
+    top: 5px;
15
+  }
16
+  .operation{
17
+    margin: 10px 0;
18
+  }
19
+}

+ 1
- 1
src/pages/MineUserAll/RefundMoney/CheckRefund/style.less Parādīt failu

402
 
402
 
403
     .button-box {
403
     .button-box {
404
       margin: 60px 0;
404
       margin: 60px 0;
405
-      width: 690px;
405
+      width: calc(100% - 60px);
406
       height: 88px;
406
       height: 88px;
407
       line-height: 88px;
407
       line-height: 88px;
408
       background: #274291;
408
       background: #274291;

+ 1
- 1
src/pages/PayOrder/style.less Parādīt failu

281
         margin-top: 3em;
281
         margin-top: 3em;
282
         background-color: #274190;
282
         background-color: #274190;
283
         border-radius: 12px;
283
         border-radius: 12px;
284
-        width: 690px;
284
+        width: calc(100% - 60px);
285
         height: 92px;
285
         height: 92px;
286
         color: @whiteColor;
286
         color: @whiteColor;
287
         // position: absolute;
287
         // position: absolute;

+ 1
- 1
src/pages/RoomOrder/style.less Parādīt failu

1
 button {
1
 button {
2
-  width: 690px;
2
+  width: calc(100% - 60px);
3
   height: 92px;
3
   height: 92px;
4
   background: #1A3B83;
4
   background: #1A3B83;
5
   margin: 0 auto;
5
   margin: 0 auto;

+ 1
- 1
src/pages/TobeShop/style.less Parādīt failu

303
 
303
 
304
     .button-box {
304
     .button-box {
305
       margin: 60px 0;
305
       margin: 60px 0;
306
-      width: 690px;
306
+      width: calc(100% - 60px);
307
       height: 88px;
307
       height: 88px;
308
       line-height: 88px;
308
       line-height: 88px;
309
       background: #274291;
309
       background: #274291;

+ 6
- 25
src/pages/index/index.jsx Parādīt failu

1
+
2
+
1
 import React, { useState, useEffect, useRef } from 'react'
3
 import React, { useState, useEffect, useRef } from 'react'
2
 import Taro from '@tarojs/taro'
4
 import Taro from '@tarojs/taro'
3
 import CustomNav from '@/components/CustomNav'
5
 import CustomNav from '@/components/CustomNav'
17
   const { router, person, location } = props
19
   const { router, person, location } = props
18
   const { params, path } = router
20
   const { params, path } = router
19
   const { tab } = params || {}
21
   const { tab } = params || {}
20
-
21
   const [currentTab, setCurrentTab] = useState(0)
22
   const [currentTab, setCurrentTab] = useState(0)
22
-
23
-  const locRef = useRef()
24
-
25
-
26
   const handleTabChange = (e) => {
23
   const handleTabChange = (e) => {
27
     const { index } = e.detail
24
     const { index } = e.detail
28
     setCurrentTab(index)
25
     setCurrentTab(index)
29
   }
26
   }
30
-
31
-  const [queryParams, setQueryParams] = useState({ location: '', pageNum: 1, pageSize: 10, typeId: '' })
32
-
33
-
34
-  useEffect(() => {
35
-    getLocation().then((res) => {
36
-      locRef.current = `${res.longitude},${res.latitude}`
37
-      setQueryParams({
38
-        ...queryParams,
39
-        location: locRef.current
40
-      })
41
-    })
42
-  }, [])
43
-
44
   useEffect(() => {
27
   useEffect(() => {
45
     if (tab) {
28
     if (tab) {
46
       setCurrentTab(tab - 0)
29
       setCurrentTab(tab - 0)
52
         <CustomNav logo={logo} title='十公里' />
35
         <CustomNav logo={logo} title='十公里' />
53
       </view>
36
       </view>
54
       <view className='index-container'>
37
       <view className='index-container'>
55
-        {currentTab === 0 && <Recommend loc={locRef} qp={queryParams} />}
56
-        {currentTab === 1 && <Guide person={person} router={router} iflocation={location} />}
57
-        {/* {currentTab === 2 && <Strategy />} */}
38
+        {currentTab === 0 && <Recommend location={location} />}
39
+        {currentTab === 1 && <Guide person={person} router={router} />}
40
+        {/* {currentTab === 2 && <Strategy />} */}
58
         {currentTab === 2 && <Mine person={person} />}
41
         {currentTab === 2 && <Mine person={person} />}
59
       </view>
42
       </view>
60
       <view className='index-tabbar'>
43
       <view className='index-tabbar'>
61
         <mp-tabbar extClass='custom-tabbar' current={currentTab} list={tabList} onChange={handleTabChange}></mp-tabbar>
44
         <mp-tabbar extClass='custom-tabbar' current={currentTab} list={tabList} onChange={handleTabChange}></mp-tabbar>
62
       </view>
45
       </view>
63
     </view>
46
     </view>
64
-
65
   )
47
   )
66
-
67
-})
48
+})

+ 2
- 2
src/pages/index/tabs/GuideCss/style.less Parādīt failu

5
   width: 94%;
5
   width: 94%;
6
   margin: auto;
6
   margin: auto;
7
   .MessageCard {
7
   .MessageCard {
8
-    width: 690px;
8
+    width: calc(100% - 60px);
9
     height: 175px;
9
     height: 175px;
10
     background: @whiteColor;
10
     background: @whiteColor;
11
     border-radius: 12px;
11
     border-radius: 12px;
135
 
135
 
136
   .articleCard {
136
   .articleCard {
137
     margin-top: 60px;
137
     margin-top: 60px;
138
-    width: 690px;
138
+    width: calc(100% - 60px);
139
     // height: 1066px;
139
     // height: 1066px;
140
     background: #ffffff;
140
     background: #ffffff;
141
     border-radius: 12px;
141
     border-radius: 12px;

+ 1
- 1
src/pages/index/tabs/MineCss/style.less Parādīt failu

169
   .Badge-box {
169
   .Badge-box {
170
     margin-top: 30px;
170
     margin-top: 30px;
171
     .Badge-list {
171
     .Badge-list {
172
-      width: 690px;
172
+      width: calc(100% - 60px);
173
       height: 102px;
173
       height: 102px;
174
       background: #ffffff;
174
       background: #ffffff;
175
       box-shadow: 0px 4px 24px 0px rgba(0, 0, 0, 0.08);
175
       box-shadow: 0px 4px 24px 0px rgba(0, 0, 0, 0.08);

+ 7
- 26
src/pages/index/tabs/Recommend.jsx Parādīt failu

11
 
11
 
12
 
12
 
13
 export default (props) => {
13
 export default (props) => {
14
-  const { router, person, loc,qp } = props
14
+  const { router, person, location } = props
15
   const [activeTab, setActiveTab] = useState(0)
15
   const [activeTab, setActiveTab] = useState(0)
16
   const { params } = useRouter()
16
   const { params } = useRouter()
17
   const { tabJump } = params || {}
17
   const { tabJump } = params || {}
18
   const [typeList, setTypeList] = useState([])
18
   const [typeList, setTypeList] = useState([])
19
   
19
   
20
-  const locRef = useRef(loc)
21
-  // if(locRef.current==null){
22
-  //     Taro.showLoading()
23
-  //   }
24
-  //   if (locRef.current!=null) {
25
-  //     Taro.hideLoading()
26
-  //   }
27
-  const [queryParams, setQueryParams] = useState(qp)
20
+  
21
+  const [queryParams, setQueryParams] = useState({ location: location, pageNum: 1, pageSize: 10, typeId: '' })
28
 
22
 
29
   // 获取资源表信息
23
   // 获取资源表信息
30
   const [alllist, setAllList] = useState([])
24
   const [alllist, setAllList] = useState([])
40
       typeId: tab
34
       typeId: tab
41
     })
35
     })
42
     if (index == 0) {
36
     if (index == 0) {
43
-      setQueryParams({ location:  locRef.current, pageNum: 1, pageSize: 10, typeId: '' })
37
+      setQueryParams({ location: location, pageNum: 1, pageSize: 10, typeId: '' })
44
     }
38
     }
45
   }
39
   }
46
 
40
 
47
-  useEffect(() => {
48
-    
41
+  useEffect(() => {    
49
     //查询分类标签表
42
     //查询分类标签表
50
     getIndexType({ pageSize: 20 }).then((res) => {
43
     getIndexType({ pageSize: 20 }).then((res) => {
51
       setTypeList(res.records || [])
44
       setTypeList(res.records || [])
52
-    })
53
-    
45
+    })    
54
   }, [])
46
   }, [])
55
 
47
 
56
   useEffect(() => {
48
   useEffect(() => {
57
-    if (tabJump) {
58
-      // 更新 typeId
59
-      // 更新 分页
60
-    }
61
-    setActiveTab(tabJump - 0)
62
-  }, [tabJump])
63
-
64
-
65
-  useEffect(() => {
66
-    if (locRef.current) {
67
       getResourceList(queryParams).then((res) => {
49
       getResourceList(queryParams).then((res) => {
68
         setAllList(res.records || [])
50
         setAllList(res.records || [])
69
       })
51
       })
70
-    }
71
-  }, [queryParams])
52
+    }, [queryParams])
72
 
53
 
73
   const onSearch = () => {
54
   const onSearch = () => {
74
     // 用绝对路径
55
     // 用绝对路径

+ 1
- 1
src/pages/index/tabs/less/Recommend.less Parādīt failu

2
     padding: 10px 30px 0 30px;
2
     padding: 10px 30px 0 30px;
3
     position: relative;
3
     position: relative;
4
     .searchInput{    
4
     .searchInput{    
5
-        width: 690px;
5
+        width: calc(100% - 60px);
6
         height: 68px;
6
         height: 68px;
7
         background: #F8F8F8;
7
         background: #F8F8F8;
8
         border-radius: 34px;
8
         border-radius: 34px;

+ 4
- 0
src/routes.js Parādīt failu

80
     title: '新增房源',
80
     title: '新增房源',
81
     page: 'pages/landlord/addRoom/addRoom',
81
     page: 'pages/landlord/addRoom/addRoom',
82
   },
82
   },
83
+  {
84
+    title: '查看入住人',
85
+    page: 'pages/landlord/roomOrder/roomOrder',
86
+  },
83
 ];
87
 ];
84
 
88
 
85
 // 所有的页面
89
 // 所有的页面

+ 7
- 1
src/services/landlord.js Parādīt failu

57
  * @param {*} data 
57
  * @param {*} data 
58
  * @returns 
58
  * @returns 
59
  */
59
  */
60
- export const shareRoom = (data) => request('/roomOrder', { method: 'post', data })
60
+ export const shareRoom = (data) => request('/roomOrder', { method: 'post', data })
61
+ /**
62
+ * 查看历史入住人列表
63
+ * @param {*} id 
64
+ * @returns 
65
+ */
66
+  export const getRoomOrderList = (params) => request('/roomOrder',{params})