manualcentralizedMeterReading.vue 713 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <template>
  2. <view>
  3. <list ref="listRef" pageName="manualcentralizedMeterReading"></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></style>