用工小程序前端代码
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
713 B

9 months ago
9 months ago
8 months ago
9 months ago
8 months ago
8 months ago
9 months ago
  1. <template>
  2. <view>
  3. <!-- 企业端 -->
  4. <enterpriseBox v-if="status==1" />
  5. <!-- 师傅端 -->
  6. <masterBox v-if="status==2" :editId="editId" />
  7. </view>
  8. </template>
  9. <script>
  10. import enterpriseBox from "./component/enterprise.vue"
  11. import masterBox from "./component/master.vue"
  12. export default {
  13. components:{
  14. enterpriseBox,
  15. masterBox
  16. },
  17. data() {
  18. return {
  19. status:0,
  20. editId: null,
  21. }
  22. },
  23. onLoad(options) {
  24. console.info(`options`,options)
  25. this.status = options.status
  26. this.editId = options.editId || null
  27. },
  28. watch: {
  29. },
  30. methods: {
  31. },
  32. onReady() {
  33. }
  34. }
  35. </script>
  36. <style lang="scss" scoped>
  37. page {
  38. background-color: #f5f5f5 !important;
  39. }
  40. </style>