jixujiaoyunianjian.vue 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. <template>
  2. <view class="container">
  3. <view class="info-box">
  4. <view class="info-item">
  5. 用&nbsp;&nbsp;户&nbsp;名:{{user.name}}
  6. </view>
  7. <view class="info-item">
  8. 任职机构:{{user.corpName ?? '无'}}
  9. </view>
  10. <view class="info-item">
  11. 业务水平认证证书编号:{{user.corpRegNo ?? '无'}}
  12. </view>
  13. </view>
  14. <view class="list-box">
  15. <view class="list-item-box">
  16. <view class="list-item year">
  17. 年份
  18. </view>
  19. <view class="list-item fen">
  20. 应休学分
  21. </view>
  22. <view class="list-item fen">
  23. 已修学分
  24. </view>
  25. <view class="list-item btn">
  26. 年检情况
  27. </view>
  28. </view>
  29. <view class="list-item-box" v-for="(item, index) in listData" :key="index">
  30. <view class="list-item year">
  31. {{item.year}}
  32. </view>
  33. <view class="list-item fen">
  34. {{item.credit}}
  35. </view>
  36. <view class="list-item fen">
  37. {{item.gotCredit}}
  38. </view>
  39. <view class="list-item btn">
  40. <view class="button" :class="[item.finish ? 'primary' : 'error']" @click="onXuexi(item)">
  41. {{item.annIns}}
  42. </view>
  43. </view>
  44. </view>
  45. </view>
  46. <view class="desc-box">
  47. <!-- <rich-text :nodes="explain"></rich-text> -->
  48. <mp-html :content="explain" />
  49. </view>
  50. </view>
  51. </template>
  52. <script setup>
  53. import { ref } from 'vue'
  54. import { onLoad } from '@dcloudio/uni-app'
  55. import { useAuthStore } from '@/store/authStore'
  56. import { list } from '@/api/report.js'
  57. const authStore = useAuthStore()
  58. // 用户信息
  59. const user = ref({
  60. userIcon: '1',
  61. name: '某某某',
  62. corpName: '广州市xx地产有限公司',
  63. corpRegNo: '123xxxx'
  64. })
  65. const listData = ref([
  66. ])
  67. const explain = ref(`
  68. <p><span style="font-size: 12px;"><strong>会员网络教育年检规则:</strong></span></p><p>&nbsp;&nbsp;&nbsp;&nbsp;<span style="font-size: 10px;">持证人员每年需完成24个学分。</span></p><p>&nbsp;&nbsp;&nbsp;&nbsp;<span style="font-size: 10px;">持证人员会籍有效(注:已缴交当年个人会费)时,系统方可记录学分。</span></p><p>&nbsp;&nbsp;&nbsp;&nbsp;<span style="font-size: 10px;">持证人员在年检期内完成年检的,方可享受学分减免。</span></p><p>&nbsp;&nbsp;&nbsp;&nbsp;<span style="font-size: 10px;">继续教育学分获取、减免及奖励</span></p><p><span style="font-size: 10px;"><br/></span></p><p><span style="font-size: 12px;"><strong>持证人员可通过以下方式获取继续教育学分:</strong></span></p><p>&nbsp;&nbsp;&nbsp;&nbsp;<span style="font-size: 10px;">1、通过协会网络教育培训系统进行学习;&nbsp;</span></p><p>&nbsp;&nbsp;&nbsp;&nbsp;<span style="font-size: 10px;">2、参加由协会组织的培训、会议或集体活动;&nbsp;</span></p><p>&nbsp;&nbsp;&nbsp;&nbsp;<span style="font-size: 10px;">3、参加经协会认可的培训机构组织的培训;&nbsp;</span></p><p>&nbsp;&nbsp;&nbsp;&nbsp;<span style="font-size: 10px;">4、参加经协会认可的企业内部培训;&nbsp;</span></p><p>&nbsp;&nbsp;&nbsp;&nbsp;<span style="font-size: 10px;">5、参与经理人指数投票;</span></p><p>&nbsp;&nbsp;&nbsp;&nbsp;<span style="font-size: 10px;">6、在国家、省、市级刊物发表房地产专业文章,或在协会内部刊物、网站、微信等发表房地产专业文章。&nbsp;</span></p><p><span style="font-size: 12px;"><strong>&nbsp;&nbsp;&nbsp;&nbsp;其中,持证人员每年可免费参加协会组织的线下面授培训课程。</strong></span></p><p><span style="font-size: 12px;"><strong><br/></strong></span></p><p>&nbsp;&nbsp;&nbsp;&nbsp;<span style="font-size: 10px;">为鼓励持证人员规范执业,诚实守信,凡协会个人会员且年度信用评分在80分以上的持证人员,符合以下情形的可获相应的继续教育学分减免。</span></p><p>&nbsp;&nbsp;&nbsp;&nbsp;<span style="font-size: 10px;">1、连续执业满8年以上,当年需修满12学分即可;&nbsp;</span></p><p>&nbsp;&nbsp;&nbsp;&nbsp;<span style="font-size: 10px;">2、连续执业满10年以上,当年需修满6学分即可;</span></p><p>&nbsp;&nbsp;&nbsp;&nbsp;<span style="font-size: 10px;">3、连续执业15以上或年龄55周岁以上且连续执业满2年,当年可全免继续教育学分。</span></p><p><br/></p>
  69. `)
  70. function onXuexi(val) {
  71. console.log('点击学习')
  72. }
  73. onLoad(() => {
  74. user.value = authStore.userInfo
  75. list().then(res => {
  76. if (res && res.message === 'success') {
  77. listData.value = res.data.creditList
  78. explain.value = res.data.explain
  79. }
  80. })
  81. })
  82. </script>
  83. <style lang="scss" scoped>
  84. .container {
  85. height: 100vh;
  86. width: 100vw;
  87. background: rgb(141, 204, 255);
  88. background: -moz-linear-gradient( 90deg, rgb(141, 204, 255) 10%, rgb(247, 247, 247) 30%);
  89. background: -webkit-linear-gradient(90deg, rgb(141, 204, 255) 10%, rgb(247, 247, 247) 30%);
  90. background: -o-linear-gradient( 90deg, rgb(141, 204, 255) 10%, rgb(247, 247, 247) 30%);
  91. background: -ms-linear-gradient( 90deg, rgb(141, 204, 255) 10%, rgb(247, 247, 247) 30%);
  92. background: linear-gradient( 180deg, rgb(141, 204, 255) 10%, rgb(247, 247, 247) 30%);
  93. .info-box {
  94. margin: 0 20rpx;
  95. padding: 0 40rpx;
  96. padding-top: 50rpx;
  97. margin-bottom: 30rpx;
  98. .info-item {
  99. margin-bottom: 10rpx;
  100. font-size: $uni-title-font-size-2;
  101. font-weight: bold;
  102. letter-spacing: 3rpx;
  103. }
  104. }
  105. .list-box {
  106. margin: 0 20rpx;
  107. background-color: $uni-bg-color-grey;
  108. border-radius: $uni-card-border-radius;
  109. padding: 20rpx 15rpx;
  110. margin-bottom: 30rpx;
  111. .year,.fen {
  112. width: 20%;
  113. }
  114. .btn {
  115. width: 40%;
  116. }
  117. .list-item-box {
  118. &:first-child {
  119. border-bottom: 5rpx solid #E6E6E6;
  120. font-size: $uni-font-size-1;
  121. font-weight: bold;
  122. .list-item {
  123. text-align: center;
  124. &:last-child {
  125. color: #303133;
  126. font-weight: bold;
  127. }
  128. }
  129. }
  130. padding: 15rpx 0;
  131. text-align: center;
  132. font-size: $uni-font-size-3;
  133. font-weight: bold;
  134. display: flex;
  135. align-items: center;
  136. .list-item {
  137. text-align: center;
  138. &:last-child {
  139. color: $uni-text-color-inverse;
  140. font-weight: normal;
  141. }
  142. }
  143. .button {
  144. width: fit-content;
  145. border-radius: $uni-card-border-radius;
  146. margin: 0 auto;
  147. }
  148. .primary {
  149. padding: 5rpx 25rpx;
  150. background-color: $uni-color-primary;
  151. }
  152. .error {
  153. padding: 5rpx 15rpx;
  154. background-color: $uni-color-error;
  155. }
  156. }
  157. }
  158. .desc-box {
  159. margin: 0 20rpx;
  160. padding-bottom: 30rpx;
  161. font-weight: bold;
  162. }
  163. }
  164. </style>