工单小程序2024-11-20
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

46 lines
604 B

<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>