<template>
	<web-view :src="`${webviewServer}/mobile/dealTask?definitionId=${definitionId}&category=${category}&taskId=${taskId}&withDealTask=${withDealTask}&processInstanceId=${processInstanceId}&fromMobile=true&authtoken=${authtoken}`"></web-view>
</template>

<script>
	import webview from './webview'
	export default {
		mixins: [webview],
		data() {
			return {
				definitionId: '',
				processInstanceId: '',
				taskId: '',
				category: '',
				withDealTask: '',
			};
		},
		onLoad(options) {
			this.processInstanceId = options.instId
			this.definitionId = options.definitionId
			this.taskId = options.id
			this.category = options.category
			this.withDealTask = options.allowDeal
		}
	}
</script>

<style lang="scss">

</style>
