工单小程序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.

44 lines
533 B

5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
  1. <template>
  2. <view>
  3. <navbar
  4. title="工序卡2"
  5. leftClick
  6. @leftClick="$utils.navigateBack"/>
  7. </view>
  8. </template>
  9. <script>
  10. export default {
  11. data() {
  12. return {
  13. id: 0,
  14. StepTwo:{},
  15. }
  16. },
  17. onLoad(arg) {
  18. this.id = arg.id
  19. console.log(arg);
  20. this.queryStepTwo()
  21. },
  22. methods: {
  23. queryStepTwo(){
  24. this.$api('queryStepTwo',{
  25. templateId: this.id
  26. },res =>{
  27. if(res.code == 200){
  28. this.StepTwo = res.result
  29. }
  30. })
  31. },
  32. }
  33. }
  34. </script>
  35. <style>
  36. </style>