| 
					
				 | 
			
			
				@@ -1,5 +1,17 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <u-sticky class="shadow-default" bgColor="#fff" style="top: 0"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <u-navbar :titleStyle="{ color: '#000' }" :autoBack="true" title="会议预约" :placeholder="true" :safeAreaInsetTop="true" bgColor="#fff"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <template #left> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <view class="u-navbar__content__left__item"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <u-icon name="arrow-left" size="20" color="#000"></u-icon> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <template #right> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <view class="u-navbar__content__right__item"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <u-icon name="more-dot-fill" size="19" color="#000" @click="handleSheet(true, 'rightMore')"></u-icon> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </u-navbar> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <view class="flex plr10"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <u--input 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -14,21 +26,15 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       ></u--input> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <view class="flex plr10" style="line-height: 20px"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <view class="flex mtb-auto ptb10 nav" style="overflow-x: auto" @click="handlePopup(true, 'switchTime', {})"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <view 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          class="radius p5 mr10" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          :style="{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            color: proxy.$settingStore.themeColor.color, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            backgroundColor: `${proxy.$settingStore.themeColor.color}30`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          }" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          {{ proxy.$dayjs(form.date).format("MM月DD日") }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          {{ weekData[proxy.$dayjs(form.date).format("d")] }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <view class="ml-auto mtb-auto pl10 nav" :style="{ color: proxy.$settingStore.themeColor.color }">重置</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <switchSlot 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      :form="form" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      :form-data="formData" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      :activeColor="proxy.$settingStore.themeColor.color" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      disabledColor="#999999" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      @changeSheet="1" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      @reset="resetSwitch()" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      @handleInit="init()" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    ></switchSlot> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </u-sticky> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <oa-scroll 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -78,38 +84,33 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         overflow: 'hidden', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <oa-calendar v-if="popup.type === 'switchTime'" :date="form.date" :showMonth="true" @change="calendarChange" @monthSwitch="calendarMonthSwitch"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <template #headerRight> </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      </oa-calendar> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <view v-if="popup.type === 'aboutMeeting'"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <view class="flex p15 font16"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <view class="mtb-auto"> {{ popup.list.roomName }}</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <view class="mtb-auto ml-auto" @click="sheet.show = true"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <view class="mtb-auto ml-auto" @click="handleSheet(true, 'popupMore')"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <u-icon name="info-circle" size="16" label="更多" labelSize="14" labelColor="#333" color="#333"></u-icon> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <u-gap height="10" bgColor="#f5f6f7"></u-gap> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <u-checkbox-group v-model="checkboxValue" placement="column" shape="circle" :borderBottom="true" @change="checkboxChange" style="height: 42vh; overflow: auto"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <view v-for="(item, index) in checkboxList" :key="index"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <u-checkbox 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              :customStyle="{ padding: '15px', margin: '0', backgroundColor: `${item.isDisabledColor}30` }" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              :label="item.timeSlot" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              :name="item.startTime" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              :disabled="item.isDisabled || item.isAbout === '已预约'" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              :activeColor="proxy.$settingStore.themeColor.color" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              <template #label> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                <view class="font15 mtb-auto" :style="{ color: item.isDisabled || item.isAbout === '已预约' ? '#c8c9cc' : '#333333' }"> {{ item.timeSlot }}</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                <view class="font15 mtb-auto ml-auto" :style="{ color: item.isDisabled || item.isAbout === '已预约' ? '#c8c9cc' : '#333333' }"> {{ item.isAbout }}</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            </u-checkbox> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        </u-checkbox-group> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <scroll-view scroll-y="true" :scroll-into-view="scrollIntoView" style="height: 42vh"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <u-checkbox-group v-model="checkboxValue" placement="column" shape="circle" :borderBottom="true" @change="checkboxChange"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <view :id="'item' + item.id" v-for="(item, index) in checkboxList" :key="index"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              <u-checkbox 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                :customStyle="{ padding: '15px', margin: '0', backgroundColor: `${item.isDisabledColor}30` }" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                :label="item.timeSlot" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                :name="item.startTime" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                :disabled="item.isDisabled || item.isAbout === '已预约'" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                :activeColor="proxy.$settingStore.themeColor.color" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <template #label> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  <view class="font15 mtb-auto" :style="{ color: item.isDisabled || item.isAbout === '已预约' ? '#c8c9cc' : '#333333' }"> {{ item.timeSlot }}</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  <view class="font15 mtb-auto ml-auto" :style="{ color: item.isDisabled || item.isAbout === '已预约' ? '#c8c9cc' : '#333333' }"> {{ item.isAbout }}</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              </u-checkbox> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          </u-checkbox-group> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        </scroll-view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <u-gap height="10" bgColor="#f5f6f7"></u-gap> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <view class="p10" style="overflow: hidden"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <u-button type="primary" @click="handleSubmit('下一步')" text="下一步" style="width: 100px; float: right"></u-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </view> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -126,7 +127,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     :closeOnClickOverlay="true" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     :safeAreaInsetBottom="true" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     @close="sheet.show = false" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    @select="handleSheet" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    @select="changeSheet" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   ></u-action-sheet> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -135,13 +136,14 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { onLoad, onShow, onReady, onHide, onLaunch, onUnload, onNavigationBarButtonTap, onPageScroll } from "@dcloudio/uni-app"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { ref, reactive, computed, getCurrentInstance, toRefs, inject } from "vue"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 /*----------------------------------接口引入-----------------------------------*/ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import { MeetingRoomList, MeetingRoomReservationList, control } from "@/api/business/meeting.js"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import { MeetingRoomList, MeetingRoomReservationList } from "@/api/business/meeting.js"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import { doorApi } from "@/api/business/door.js"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 /*----------------------------------组件引入-----------------------------------*/ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import timeSlot from "./components/timeSlot.vue"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import switchSlot from "./components/switchSlot.vue"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 /*----------------------------------store引入-----------------------------------*/ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { useStores, systemStores } from "@/store/modules/index"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 /*----------------------------------公共方法引入-----------------------------------*/ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import { storageSystem } from "@/utils/storage"; // 公共方法引用 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 /*----------------------------------公共变量-----------------------------------*/ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 const { proxy } = getCurrentInstance(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 const useStore = useStores(); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -156,6 +158,15 @@ const state = reactive({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     date: proxy.$dayjs().format("YYYY-MM-DD"), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     meetingRoomName: "", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  formData: [ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      type: "switchTime", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      prop: "date", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      label: "时间", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      fontSize: "16", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      data: [], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  ], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   popup: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     show: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     type: "", 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -164,30 +175,14 @@ const state = reactive({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   sheet: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     show: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     title: "", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    actions: [ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        name: "更多", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        fontSize: "16", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        disabled: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        name: "门禁开门", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        fontSize: "16", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        type: "meeting-room", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        name: "会议室详情", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        fontSize: "16", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        type: "meeting-details", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    ], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    actions: [], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  weekData: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   checkboxValue: [], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   checkboxList: [], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  scrollIntoView: "", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-const { loading, dataList, pageSize, total, form, popup, sheet, weekData, checkboxValue, checkboxList } = toRefs(state); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+const { loading, dataList, pageSize, total, form, formData, popup, sheet, checkboxValue, checkboxList, scrollIntoView } = toRefs(state); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 /** 初始化 */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 function init() { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -209,7 +204,6 @@ function init() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     .catch((err) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       state.loading = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   state.checkboxList = getAllTimesDay(state.form.date, 30); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -228,6 +222,7 @@ function getAllTimesDay(day, min) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     let timeSlot = proxy.$dayjs(startTime).format("HH:mm") + " - " + proxy.$dayjs(endTime).format("HH:mm"); //获取开始时间和结束时间“时、分” 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     const array = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      id: defaultList.length + 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       startTime: startTime, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       endTime: endTime, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       timeSlot: timeSlot, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -242,7 +237,6 @@ function getAllTimesDay(day, min) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       array.isAbout = "不可预约"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       array.isDisabled = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     defaultList.push(array); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   return defaultList; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -295,45 +289,32 @@ function handleSubmit() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     meetingFileList: [], //会议文件信息 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  proxy.$tab.navigateTo(`/pages/business/common/meeting/new/index`); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  proxy.$tab.navigateTo(`/pages/business/meeting/new/index`); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   state.popup.show = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-/** 实时保存填写数据 */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-function realTimeSaving() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  if (!state.form.id) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    state.saveTime = proxy.$time.formatterDate(new Date(), "hh:mm"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    storageSystem.set("project", state); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-/** 日历日期改变事件 */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-function calendarChange(e) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  state.form.date = e.fulldate; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  init(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-/** 日历月份选择事件 */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-function calendarMonthSwitch(e) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  console.log(e); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 /** 操作菜单 */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-function handleSheet(e) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  if (e.type == "meeting-details") { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    proxy.$tab.navigateTo(`/pages/business/common/meeting/detailed/index?roomId=${state.popup.list.roomId}`).then(() => {}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  } else if (e.type == "meeting-room") { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    openDoor(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+function changeSheet(e) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  if (e.name == "会议室详情") { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    proxy.$tab.navigateTo(`/pages/business/meeting/detailed/index?roomId=${state.popup.list.roomId}`).then(() => {}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  } else if (e.name == "门禁开门") { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    openDoor(e); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  } else if (e.name == "我的会议") { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    proxy.$tab.navigateTo(`/pages/business/meeting/my/index`).then(() => {}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  * @门禁开门 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-function openDoor() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  control({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    commandStr: JSON.stringify({ method: "control", params: { device_id: "223212768", command: 2 } }), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+function openDoor(e) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  doorApi() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    .doorControl({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      productCode: "502_KAT", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      deviceId: e.doorId, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      commandCode: "door_onoff", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      commandValue: 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     .then((item2) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       proxy.$modal.msg("开门成功"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }) 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -342,6 +323,33 @@ function openDoor() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+/** 操作菜单 */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+function handleSheet(show, type) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  state.sheet.show = show; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  if (type === "rightMore") { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    state.sheet.actions = [ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        name: "我的会议", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        value: "", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        type: "meeting-my", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    ]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  } else if (type === "popupMore") { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    state.sheet.actions = [ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        name: "门禁开门", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        value: "", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        type: "meeting-room", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        name: "会议室详情", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        value: "", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        type: "meeting-details", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    ]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 /** 操作弹窗 */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 function handlePopup(show, type, list) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   state.popup.show = show; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -362,9 +370,29 @@ function handlePopup(show, type, list) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    state.scrollIntoView = ""; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    setTimeout(() => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      state.checkboxList.some((e) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (e.isDisabled === false) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          state.scrollIntoView = "item" + e.id; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          return true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        return false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+/** 操作重置 */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+function resetSwitch() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  state.form = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    date: proxy.$dayjs().format("YYYY-MM-DD"), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    meetingRoomName: "", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  init(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  * @scrollView刷新数据 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  */ 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -375,14 +403,8 @@ function refresh() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 onReady(() => {}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 onShow(() => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  //设置导航栏颜色 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  uni.setNavigationBarColor({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-     frontColor: '#000000',   //字体颜色 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-     backgroundColor: '#ffffff'    //背景颜色 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-   }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   //调用系统主题颜色 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  // proxy.$settingStore.systemThemeColor([1]); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  proxy.$settingStore.systemThemeColor([1]); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   init(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 |