gridQuery.vue 499 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. <template>
  2. <view>
  3. <view >
  4. <ul >
  5. {{jobDescription}}
  6. </ul>
  7. </view>
  8. </view>
  9. </template>
  10. <script>
  11. import {
  12. getGridType
  13. } from '@/api/handleAffairs/gridType.js';
  14. export default {
  15. data() {
  16. return {
  17. jobDescription:'',
  18. };
  19. },
  20. onLoad(option){
  21. const _that = this
  22. const id = uni.getStorageSync('id');
  23. getGridType(id).then(res =>{
  24. _that.jobDescription = res.data.jobDescription
  25. })
  26. },
  27. methods: {
  28. }
  29. }
  30. </script>
  31. <style scoped>
  32. </style>