| 
					
				 | 
			
			
				@@ -7,99 +7,103 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <text class="grid-area_center_item_title" style="color: #fff;">详情</text> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </u-navbar> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <view class="menu-list m0" style="margin-bottom:50px;"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <view class="list-cell" style="color: #666666; line-height: 25px; width: auto; "> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <view class="content-area-top menu-item"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <view class="content-area-top-name" >{{ state?.detail?.createBy + '提交的' + state?.detail?.formName }} </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <view class="content-area-row_wrap menu-item"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <img class="typeIcon" src="@/static/images/oa/pass.png" v-if="state.detail.docStatus === '2' "/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <view class="content-area-row_wrap-view gray"> 上海永天科技股份有限公司 </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <view class="content-area-row_wrap-view gray"> 单据编号:{{ state.detail.docNo }} </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <view class="content-area-row_wrap-view" style="display: block"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              <span :style="{ color: proxy.$common.mapping('elTagClass', 'value', state.detail.docStatus, form_status) }" >{{ proxy.$common.mapping("label", "value", state.detail.docStatus, form_status) }} </span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <view class="content-area-row_wrap-view gray label">所在部门</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <view class="content-area-row_wrap-view gray black">{{ state.detail.deptName }}</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <view class="content-area-row_wrap-view gray label">自定义类型</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <view class="content-area-row_wrap-view gray black">{{ state.detail.deptName }}</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <view class="menu-list m0" style="overflow-y:scroll"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <view class="list-cell" style="color: #666666; line-height: 25px; width: auto; "> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <view class="content-area-top menu-item"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <view class="content-area-top-name" >{{ state?.detail?.createBy + '提交的' + state?.detail?.formName }} </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <view class="content-area-row_wrap menu-item"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <img class="typeIcon" src="@/static/images/oa/approval.png" v-if="state.approvalStatus === '1' "/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <img class="typeIcon" src="@/static/images/oa/pass.png" v-if="state.approvalStatus === '2' "/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <img class="typeIcon" src="@/static/images/oa/refuse.png" v-if="state.approvalStatus === '3' "/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <view class="content-area-row_wrap-view gray"> 上海永天科技股份有限公司 </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <view class="content-area-row_wrap-view gray"> 单据编号:{{ state.detail.docNo }} </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <view class="content-area-row_wrap-view" style="display: block"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <span :style="{ color: proxy.$common.mapping('elTagClass', 'value', state.approvalStatus, form_status) }" >{{ proxy.$common.mapping("label", "value", state.approvalStatus, form_status) }} </span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <view class="list-cell" style="color: #666666; line-height: 25px; width: auto;margin-top:10px;flex:none"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <view class="content-area-top"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <view style="width:100%;">流程</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <view class="stepBar"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              <view class="item"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                <view class="left"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  <image class="icon" src="@/static/images/oa/user.png"></image> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  <image class="status" src="@/static/images/oa/pass2.png"></image> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  <div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    <view class="title"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                      发起申请 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    <view class="name"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                      {{ state.detail.createBy }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                <view class="right"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  {{ state.detail.createTime }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <view class="content-area-row_wrap-view gray label">所在部门</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <view class="content-area-row_wrap-view gray black">{{ state.detail.deptName }}</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <view class="content-area-row_wrap-view gray label" v-if="state.detail.duration">{{ state.detail.docNo.split("-")[0] ==  "JBD" ? "加班" : state.detail.docNo.split("-")[0] == "QJD" ? "请假" : ""  }}时长</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <view class="content-area-row_wrap-view gray black" v-if="state.detail.duration">{{ state.detail.duration }}</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <view class="content-area-row_wrap-view gray label" v-if="state.detail.reason">{{ state.detail.docNo.split("-")[0] ==  "JBD" ? "加班" : state.detail.docNo.split("-")[0] == "QJD" ? "请假" : ""    }}原因</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <view class="content-area-row_wrap-view gray black" v-if="state.detail.reason">{{ state.detail.reason }}</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <view class="list-cell" style="color: #666666; line-height: 25px; width: auto;margin:10px 0 60px 0;"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <view class="content-area-top"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <view style="width:100%;">流程</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <view class="stepBar"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <view class="item"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <view class="left"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              <image class="icon" src="@/static/images/oa/user.png"></image> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              <image class="status" src="@/static/images/oa/pass2.png"></image> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              <div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <view class="title"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  发起申请 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                <view class="line sucess"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <view class="name"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  {{ state.detail.createBy }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              <view class="item" v-for="(item, index) in nodeList" :key="index"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                <view class="left"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  <image class="icon" src="@/static/images/oa/user.png" v-if="item.nodeType == 1"></image> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  <image class="icon" src="@/static/images/oa/Ccto.png" v-if="item.nodeType == 2"></image> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  <div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    <view class="title"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                      {{ item.nodeType == 1 ? '审批人' : item.nodeType == 2 ? `抄送${item.appointApprover.indexOf(",") && item.appointApprover.split(",").length>1 ? `(${item.appointApprover.split(",").length}人)` : "人"}` : "" }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    <view class="name" v-if="item.nodeType == 1"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                      {{  proxy.$common.mapping("nickName", "userId", item.appointApprover, state.userData) }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    <view class="name" v-if="item.nodeType == 2 && item.appointApprover.indexOf(',') && item.appointApprover.split(',').length == 1"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                      {{  proxy.$common.mapping("nickName", "userId", item.appointApprover, state.userData) }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    <view class="name" v-if="item.nodeType == 2 && item.appointApprover.indexOf(',') && item.appointApprover.split(',').length > 1"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                      抄送人 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <view class="right"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              {{ state.detail.createTime }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <view class="line sucess"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <view class="item" v-for="(item, index) in nodeList" :key="index"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <view class="left"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              <image class="icon" src="@/static/images/oa/user.png" v-if="item.nodeType == 1"></image> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              <image class="icon" src="@/static/images/oa/Ccto.png" v-if="item.nodeType == 2"></image> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              <div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <view class="title"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  {{ item.nodeType == 1 ? '审批人' : item.nodeType == 2 ? `抄送${item.appointApprover.indexOf(",") && item.appointApprover.split(",").length>1 ? `(${item.appointApprover.split(",").length}人)` : "人"}` : "" }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                <view class="right"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  <!-- 2021-08-01 10:30:00 --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <view class="name" v-if="item.nodeType == 1"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  {{  proxy.$common.mapping("nickName", "userId", item.appointApprover, state.userData) }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                <view class="center" v-if="item.nodeType == 2 && item.appointApprover.indexOf(',') && item.appointApprover.split(',').length > 1"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  <view class="content-area-header  mb10 text-center" style="display: inline-block"  v-for="(approver, index2) in item.appointApprover.split(',')" :key="index2"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    <img v-if='proxy.$common.mapping("avatar", "userId", approver, state.userData)' class="content-area-header-avatarImg mlr5" :src='proxy.$common.mapping("avatar", "userId", approver, state.userData)' style="display: block; width: 40px; height: 40px" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    <u-avatar 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                      class="content-area-header-avatar mlr5" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                      :text='proxy.$common.mapping("nickName", "userId", approver, state.userData).length > 2 ? proxy.$common.mapping("nickName", "userId", approver, state.userData).slice(1, 3) : proxy.$common.mapping("nickName", "userId", approver, state.userData)' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                      shape="square" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                      size="40" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                      fontSize="12" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                      color="#ffffff" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                      :bgColor="proxy.$settingStore.themeColor.color" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    ></u-avatar> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    <u-text :text='proxy.$common.mapping("nickName", "userId", approver, state.userData)' color="#000000" size="14" align="center"></u-text> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <view class="name" v-if="item.nodeType == 2 && item.appointApprover.indexOf(',') && item.appointApprover.split(',').length == 1"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  {{  proxy.$common.mapping("nickName", "userId", item.appointApprover, state.userData) }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                <view class="line gray" v-if="item.nodeType == 1"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <view class="name" v-if="item.nodeType == 2 && item.appointApprover.indexOf(',') && item.appointApprover.split(',').length > 1"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  抄送人 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <view class="right"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              <!-- 2021-08-01 10:30:00 --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <view class="center" v-if="item.nodeType == 2 && item.appointApprover.indexOf(',') && item.appointApprover.split(',').length > 1"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              <view class="content-area-header  mb10 text-center" style="display: inline-block"  v-for="(approver, index2) in item.appointApprover.split(',')" :key="index2"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <img v-if='proxy.$common.mapping("avatar", "userId", approver, state.userData)' class="content-area-header-avatarImg mlr5" :src='proxy.$common.mapping("avatar", "userId", approver, state.userData)' style="display: block; width: 40px; height: 40px" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <u-avatar 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  class="content-area-header-avatar mlr5" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  :text='proxy.$common.mapping("nickName", "userId", approver, state.userData).length > 2 ? proxy.$common.mapping("nickName", "userId", approver, state.userData).slice(1, 3) : proxy.$common.mapping("nickName", "userId", approver, state.userData)' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  shape="square" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  size="40" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  fontSize="12" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  color="#ffffff" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  :bgColor="proxy.$settingStore.themeColor.color" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                ></u-avatar> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <u-text :text='proxy.$common.mapping("nickName", "userId", approver, state.userData)' color="#000000" size="14" align="center"></u-text> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <view class="line gray" v-if="item.nodeType == 1"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <view class="fixedBottom" v-if="state.queryType == 2"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <img src="@/static/images/oa/loading.png" alt=""> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <span>再次提交</span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <view class="approval" v-if="state.queryType == 1"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <button class="refuse" @click="handle('refuse',2)">拒绝</button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <button class="pass" @click="handle('pass',2)">同意</button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <view class="fixedBottom" v-if="state.approvalStatus == 2 || state.approvalStatus == 3"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <img src="@/static/images/oa/loading.png" alt=""> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <span>再次提交</span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <view class="approval" v-if="state.approvalStatus == 1"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <button class="refuse" @click="handle('refuse',2)">拒绝</button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <button class="pass" @click="handle('pass',2)">同意</button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <script setup> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 /*----------------------------------依赖引入-----------------------------------*/ 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -126,11 +130,11 @@ const state = reactive({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   detail:{},//详情数据 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   userData:[],//用户列表 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   nodeList:[],//节点列表 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  queryType:"", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  approvalStatus:"", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   id:undefined, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-const {  queryParams,  detail,formList, userData, nodeList, queryType, id } = toRefs(state); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+const {  queryParams,  detail,formList, userData, nodeList, approvalStatus, id } = toRefs(state); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  * @页面初始化 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  */ 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -170,6 +174,7 @@ function getDetail(type) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         UserList({ pageNum: "1", pageSize: "10000" }).then((res3) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           state.userData = res3.data.rows; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          console.log(state.userData.length) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           getOaFormDefinition( {formSign:state.queryParams?.docNo?.split("-")[0]}).then((res4)=>{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if(res4.data.length){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               var info = res4.data[0] 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -178,7 +183,6 @@ function getDetail(type) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-         
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         state.loading = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     .catch((err) => { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -208,8 +212,8 @@ onLoad((options) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   if(options?.docNo){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     state.queryParams.docNo = options.docNo; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  if(options?.queryType){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    state.queryType = options.queryType; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  if(options?.approvalStatus){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    state.approvalStatus = options.approvalStatus; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   if(options?.id){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     state.id = options.id; 
			 |