<template>
	<div>
		<wf-start-dialog ref="wfStartDialog" :code="wfCode" :dataId="objId" v-if="wfStartVisible" :visible.sync="wfStartVisible"></wf-start-dialog>
		<wf-content
			:objId="objId"
			:wfCode="wfCode"
			v-if="wfReloadFlag"
			:_wfInfo="wfInfo"
			:_currentTask="currentTask"
			:_taskParam="taskParam"
			@manualCallback="manualCallback"
			@reload="reload"
		></wf-content>
		<el-dialog
			title="修改单据"
			:visible.sync="showModifyDialog"
			:append-to-body="true"
			:modal-append-to-body="true"
			:close-on-click-modal="true"
			custom-class="dialog-style list-dialog demo-sty_1"
			@close="modfyDialogClose"
			width="1400px"
			top="30px"
			v-el-drag-dialog
		>
			<div id="containt">
				<component
					v-if="showBillEdit && content"
					:is="content"
					visible-key="showBillEdit"
					:_dataId.sync="paramData.bizKey"
					:parent-target="_self"
					@reload="$reloadHandle"
				></component>
			</div>
		</el-dialog>
	</div>
</template>

<script>
import { wfIndexMixin } from './wf.js';
export default {
	mixins: [wfIndexMixin],
	components: {
		wfContent:()=>import('./content.vue'),
		wfStartDialog:()=>import('./wfStartDialog.vue')
	}
};
</script>

<style></style>
