| 
					
				 | 
			
			
				@@ -64,7 +64,6 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         :loading="loading" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         @change="handleTableChange"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        state 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				          <span slot="state" slot-scope="text, record"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            <span v-if="record.state == '0'">草稿</span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            <span v-if="record.state == '1'">计划签字中</span> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -86,8 +85,8 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                   <a>删除</a> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 </a-popconfirm> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 <a @click='plannerSubmit(record,1)' v-if="record.state == '0'">计划员提交</a> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                <a @click='plannerSubmit(record,2)' v-if="record.state == '1'">人事行政审批</a> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                <!-- <a @click='plannerSubmit(record,3)'>财务经理审批</a> --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <a @click='plannerSubmit(record,2)' v-if="record.state == '2'">人事行政审批</a> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <a @click='plannerSubmit(record,3)' v-if="record.state == '3'">财务经理审批</a> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               </a-menu-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             </a-menu> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           </a-dropdown> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -99,7 +98,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <!-- 表单区域 --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <syCarry-modal ref="modalForm" @ok="modalFormOk" @close='getList'/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <sy-carry-detail-modal ref="syCarryDetailModal"></sy-carry-detail-modal> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <sy-carry-detail-modal ref="syCarryDetailModal" @close='getList'></sy-carry-detail-modal> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </a-card> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 </template> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -201,8 +200,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       plannerSubmit(record,state){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				          getAction('/oa/syCarry/commitBatch', {ids:record.id,state:state}).then((res) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           if(res.success){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            this.getAction() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            this.$forceUpdate() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.getList() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           }else{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             this.$message.warning(res.message) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           } 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -212,49 +210,23 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        this.queryParam={} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        this.getList() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      async handleEdit(record,data){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        var zhuId = '' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        await getAction('/oa/syCarry/queryById', {id:record.id}).then((res) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          if(res.success){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-             if(data == '0'){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-               this.$refs.modalForm.formState=res.result //编辑 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-             }else{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-               this.$refs.syCarryDetailModal.formState=res.result //详情 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            zhuId = res.result.id 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          }else{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            this.$message.warning(res.message) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        getAction(this.url.editListUrl, {id:zhuId}).then((res) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          if(res.success){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if(data == '0'){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              this.$refs.modalForm.visible = true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              this.$refs.modalForm.defultMethods = 'edit' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              res.result.map(item =>{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              if(item.orderDate !==''&& item.orderDate){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                item.orderDate = moment(item.orderDate) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            this.$refs.modalForm.syCarryBTable.dataSource = res.result 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          }else{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            this.$refs.syCarryDetailModal.visible = true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              res.result.map(item =>{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              if(item.orderDate !==''&& item.orderDate){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                item.orderDate = moment(item.orderDate) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            this.$refs.syCarryDetailModal.syCarryBTable.dataSource = res.result 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          }else{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            this.$message.warning(res.message) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       handleEdit(record,data){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+         if(data == '0'){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+           this.$refs.modalForm.visible = true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.$refs.modalForm.getHeaderList(record.id) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+         }else{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+           this.$refs.syCarryDetailModal.visible = true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+           this.$refs.syCarryDetailModal.getHeaderList(record.id) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       initDictConfig() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    //   handleTableChange(pagination, filters, sorter) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    //   this.queryParam.pageNo = pagination.current 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    //   this.getList() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    // }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   } 
			 |