<template>
	<view class="page">
		<navbar title="工序卡1" leftClick @leftClick="$utils.navigateBack" />
	<view class="">
		{{StepOne.operator}}
	</view>
	</view>
	
</template>

<script>
	export default {
		data() {
			return {
				id: 0,
				StepOne: {},

			}
		},
		onLoad(arg) {
			this.id = arg.id
			console.log(arg);
			this.queryStepOne()
		},
		methods: {

			queryStepOne() {
				this.$api('queryStepOne', {
					templateId: this.id
				}, res => {

					if (res.code == 200) {
						this.StepOne = res.result.workorderGeneralStepone


					}
				})
			},

		}
	}
</script>

<style>

</style>