| 
						
						
						
					 | 
					 | 
					@ -1,16 +1,30 @@ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					<template> | 
					 | 
					 | 
					 | 
					<template> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  <div> | 
					 | 
					 | 
					 | 
					  <div> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    <BasicTable @register="registerTable" /> | 
					 | 
					 | 
					 | 
					    <BasicTable @register="registerTable"> | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      <template #bodyCell="{ column, record }"> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        <template v-if="column.key === 'action'"> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					          <TableAction | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            :actions="[ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					              { icon: IconEnum.VIEW, label: '详情', onClick: openDetail.bind(null, record) }, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					              { icon: IconEnum.VIEW, label: '流程', onClick: handleAudit.bind(null, record) } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            ]" | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					          /> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        </template> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      </template> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    </BasicTable> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  </div> | 
					 | 
					 | 
					 | 
					  </div> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					</template> | 
					 | 
					 | 
					 | 
					</template> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					<script lang="ts" setup> | 
					 | 
					 | 
					 | 
					<script lang="ts" setup> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					import { useGo } from '@/hooks/web/usePage' | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import { useI18n } from '@/hooks/web/useI18n' | 
					 | 
					 | 
					 | 
					import { useI18n } from '@/hooks/web/useI18n' | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import { BasicTable, useTable } from '@/components/Table' | 
					 | 
					 | 
					 | 
					import { BasicTable, useTable, TableAction } from '@/components/Table' | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					import { IconEnum } from '@/enums/appEnum' | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import { getDoneTaskPage } from '@/api/bpm/task' | 
					 | 
					 | 
					 | 
					import { getDoneTaskPage } from '@/api/bpm/task' | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import { columns, searchFormSchema } from './done.data' | 
					 | 
					 | 
					 | 
					import { columns, searchFormSchema } from './done.data' | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					defineOptions({ name: 'BpmDone' }) | 
					 | 
					 | 
					 | 
					defineOptions({ name: 'BpmDoneTask' }) | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					const go = useGo() | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					const { t } = useI18n() | 
					 | 
					 | 
					 | 
					const { t } = useI18n() | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					const [registerTable] = useTable({ | 
					 | 
					 | 
					 | 
					const [registerTable] = useTable({ | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -27,4 +41,12 @@ const [registerTable] = useTable({ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    fixed: 'right' | 
					 | 
					 | 
					 | 
					    fixed: 'right' | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					}) | 
					 | 
					 | 
					 | 
					}) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					function openDetail(record: Recordable) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					  console.info(record) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					} | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					function handleAudit(record: Recordable) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					  go({ name: 'BpmProcessInstanceDetail', query: { id: record.id } }) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					} | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					</script> | 
					 | 
					 | 
					 | 
					</script> | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
					 | 
					 | 
					
  |