gridQuery.vue 514 B

12345678910111213141516171819202122232425262728293031323334353637383940
  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. console.log(id)
  24. getGridType(id).then(res =>{
  25. _that.jobDescription = res.data.jobDescription
  26. })
  27. },
  28. methods: {
  29. }
  30. }
  31. </script>
  32. <style scoped>
  33. </style>