steamInjectionInspectionRecord.vue 680 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <template>
  2. <view>
  3. <list ref="listRef" pageName="steamInjectionInspectionRecord"></list>
  4. </view>
  5. </template>
  6. <script>
  7. import list from './list.vue'
  8. export default {
  9. components: {
  10. list
  11. },
  12. mixins: [],
  13. data() {
  14. return {}
  15. },
  16. computed: {},
  17. created() {
  18. uni.$off('successInit')
  19. uni.$on('successInit', (data) => {
  20. this.$nextTick(() => {
  21. this.$refs.listRef.successInit()
  22. })
  23. })
  24. },
  25. onUnload() {
  26. uni.$off('successInit')
  27. },
  28. onLoad() {
  29. this.$nextTick(() => {
  30. this.$refs.listRef.getList()
  31. })
  32. uni.setNavigationBarColor({
  33. frontColor: '#000000',
  34. })
  35. },
  36. methods: {}
  37. }
  38. </script>
  39. <style lang="scss" scoped>
  40. </style>