index.vue 889 B

123456789101112131415161718192021222324252627282930313233343536
  1. <template>
  2. <view class="page-container">
  3. <inquiryVerificationList :type="type" ref="verificationRef"></inquiryVerificationList>
  4. </view>
  5. </template>
  6. <script>
  7. import inquiryVerificationList from '@/components/inquiry-verification-list/index.vue'
  8. export default {
  9. components: {
  10. inquiryVerificationList
  11. },
  12. data() {
  13. return {
  14. type:2//1:询价 2:核价
  15. }
  16. },
  17. onPullDownRefresh() {
  18. this.$nextTick(()=>{
  19. this.$refs.verificationRef.onRefresh();
  20. uni.stopPullDownRefresh();
  21. })
  22. },
  23. onShow() {
  24. this.$nextTick(()=>{
  25. this.$refs.verificationRef.getList();
  26. })
  27. },
  28. }
  29. </script>
  30. <style>
  31. .page-container {
  32. width: 100%;
  33. overflow: hidden;
  34. }
  35. </style>