| 
					
				 | 
			
			
				@@ -48,8 +48,9 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <view class="content-area-center bg-white" v-for="(el, ind) in group" :key="ind"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <view class="content-area-top menu-item" style="float:right;padding:10px 0px"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <view class="content-area-top-time"> </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <u-icon v-if="state.tabsCurrent ==1" class="content-area-top-icon" name="more-dot-fill" size="20" color="#000" @click="moreClick(el)"></u-icon> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <!-- <u-icon class="content-area-top-icon" name="edit-pen" size="20" color="rgb(20, 158, 255)" @click="handleSubmit('update',el)" v-if="state.tabsCurrent ==1" style="display:inline-block;margin-right:30px;"></u-icon> --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <u-icon class="content-area-top-icon" name="trash" size="20" color="red" @click="tips('error',`确认删除时间为 '${el.submitDate}' 的日报吗?`,el,'delete')" v-if="state.tabsCurrent ==1" style="display:inline-block;"></u-icon> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <!-- <u-icon class="content-area-top-icon" name="trash" size="20" color="red" @click="tips('error',`确认删除时间为 '${el.submitDate}' 的日报吗?`,el,'delete')" v-if="state.tabsCurrent ==1" style="display:inline-block;"></u-icon> --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <view class="flex mb10" @click="goContentDetails(el)"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <u-avatar 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -80,10 +81,80 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </oa-scroll> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <oa-tabbar :tabbarValue="0" :tabbarList="proxy.$constData.projectTabbar" :isSwitchTab="false"></oa-tabbar> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <u-popup :show="popup.show" mode="bottom" bgColor="#fff" :round="10" @close="popup.show = false"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <view 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      :style="{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        borderTopLeftRadius: '10px', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        borderTopRightRadius: '10px', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        overflow: 'hidden', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      }" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <u-button 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        class="custom-style" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        type="info" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        size="normal" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        text="编辑" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        :customStyle="{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          height: '50px', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          color: '#3c9cff', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          borderWidth: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          borderRadius: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          borderBottomWidth: '1px', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        }" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        @click="handleSubmit('update', eventList)" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      ></u-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <u-button 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        class="custom-style" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        type="info" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        size="normal" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        text="删除" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        :customStyle="{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          height: '50px', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          color: '#f56c6c', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          borderWidth: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          borderRadius: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          borderBottomWidth: '3px', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        }" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        @click="handleModal('delete', `确认删除“ ${eventList.createBy} ” 的“ ${eventList.reportDate} ” 的日报?`)" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      ></u-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <u-button 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        class="custom-style" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        type="info" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        size="normal" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        text="取消" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        :customStyle="{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          height: '50px', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          color: '#3c9cff', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          border: 'none', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          borderRadius: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        }" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        @click="popup.show = false" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      ></u-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  </u-popup> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+   
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <uni-popup ref="alertDialog" type="dialog"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <uni-popup-dialog :type="state.tip.type" cancelText="取消" confirmText="确定" title="操作提醒" :content="state.tip.content" @confirm="dialogConfirm" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       @close="dialogClose"></uni-popup-dialog> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </uni-popup> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <u-modal 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    :show="modal.show" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    title="操作提醒" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    :content="modal.content" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    :showCancelButton="true" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    :closeOnClickOverlay="true" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    @confirm="handleSubmit(state.modal.type, eventList)" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    @cancel="modal.show = false" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    @close="modal.show = false" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  ></u-modal> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <script setup> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -116,6 +187,19 @@ const state = reactive({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   modalShow: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   modalType: "", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   modalEvent: {}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  popup: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    show: false, //弹窗显示 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    content: "", //提示信息 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  modal: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    type: "", //操作类型 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    show: false, //弹窗显示 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    content: "", //提示信息 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  eventList: {}, //数据存储 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   reportData:{}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   tip:{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     type:undefined,//弹框类型 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -125,7 +209,7 @@ const state = reactive({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-const { tabsList, tabsCurrent, dataList, pageSize, current, total} = toRefs(state); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+const { tabsList, tabsCurrent, dataList, pageSize, current, total,popup,eventList,modal} = toRefs(state); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  * 操作弹框提醒 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  * @param type  弹框类型 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -208,22 +292,30 @@ function tabsClick(e) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   init(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 /** 更多按钮点击事件 */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-function moreClick(type, event) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  state.modalShow = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  state.modalType = type; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  state.modalEvent = event; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  state.reportData = event; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+function moreClick(event) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  state.popup.show = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  state.eventList = event; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+function handleModal(type, content) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  state.modal.show = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  state.modal.type = type; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  state.modal.content = content; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 /** 编辑、删除日报*/ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 function handleSubmit(type,item) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   if (type === "update") { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     proxy.$tab.navigateTo(`/pages/business/common/projectMange/write/insert?templateId=1&id=${item.id}`); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    state.modal.show = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   } else if (type === "delete") { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     projectApi() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       .ReportDelete(item.id) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       .then(() => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         proxy.$modal.msg("日报删除成功!"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        state.modal.show = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        state.popup.show = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         init(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       .catch((errors) => { 
			 |