banzhengshuliang.vue 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <template>
  2. <view class="phone-zjzgs-page">
  3. <view class="icon-title-navBar-box">
  4. <view @click="goUpPage" class="nav-bar-icon"></view>
  5. <text class="nav-bar-title">申请办证数量</text>
  6. </view>
  7. <view class="zjzgs-body-box">
  8. <view class="zjzgs-num-box" v-for="item in certList" :key="item.jzId">
  9. <view class="zjzgs-title">{{ item.jgName }}</view>
  10. <view class="num-item-box">
  11. <view>职业等级:{{ item.zyName }}{{item.zyLevel}}</view>
  12. </view>
  13. <view class="num-item-box">
  14. <view>申请数量:{{ item.userCount }}</view>
  15. </view>
  16. <view class="list-btn-box">
  17. <view class="list-btn" @click="checkUser(item)">查看详情</view>
  18. </view>
  19. </view>
  20. </view>
  21. </view>
  22. </template>
  23. <script setup>
  24. import {
  25. onLoad
  26. } from "@dcloudio/uni-app"
  27. import {ref} from "vue"
  28. import * as httpApi from "@/api/zijiazhenggongsi"
  29. const listIds = ref([])
  30. const certList = ref([])
  31. onLoad((options) =>{
  32. listIds.value = options.listIds.split(',');
  33. getCertInfo()
  34. })
  35. function getCertInfo() {
  36. httpApi.getZiJiazhengGongsiInfo({idList:listIds.value}).then(res => {
  37. certList.value = res.data;
  38. })
  39. }
  40. function checkUser(item) {}
  41. function goUpPage() {
  42. uni.redirectTo({
  43. url:'/pages/admin/zijiazheng/index'
  44. })
  45. }
  46. </script>
  47. <style>
  48. </style>