123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175 |
- <template>
- <view class="container">
- <view class="info-box">
- <view class="info-item">
- 用 户 名:{{user.name}}
- </view>
- <view class="info-item">
- 任职机构:{{user.corpName ?? '无'}}
- </view>
- <view class="info-item">
- 业务水平认证证书编号:{{user.corpRegNo ?? '无'}}
- </view>
- </view>
- <view class="list-box">
- <view class="list-item-box">
- <view class="list-item year">
- 年份
- </view>
- <view class="list-item fen">
- 应休学分
- </view>
- <view class="list-item fen">
- 已修学分
- </view>
- <view class="list-item btn">
- 年检情况
- </view>
- </view>
- <view class="list-item-box" v-for="(item, index) in listData" :key="index">
- <view class="list-item year">
- {{item.year}}
- </view>
- <view class="list-item fen">
- {{item.credit}}
- </view>
- <view class="list-item fen">
- {{item.gotCredit}}
- </view>
- <view class="list-item btn">
- <view class="button" :class="[item.finish ? 'primary' : 'error']" @click="onXuexi(item)">
- {{item.annIns}}
- </view>
- </view>
- </view>
- </view>
- <view class="desc-box">
- <!-- <rich-text :nodes="explain"></rich-text> -->
- <mp-html :content="explain" />
- </view>
- </view>
- </template>
- <script setup>
- import { ref } from 'vue'
- import { onLoad } from '@dcloudio/uni-app'
- import { useAuthStore } from '@/store/authStore'
-
- import { list } from '@/api/report.js'
- const authStore = useAuthStore()
-
- // 用户信息
- const user = ref({
- userIcon: '1',
- name: '某某某',
- corpName: '广州市xx地产有限公司',
- corpRegNo: '123xxxx'
- })
-
- const listData = ref([
- ])
- const explain = ref(`
- <p><span style="font-size: 12px;"><strong>会员网络教育年检规则:</strong></span></p><p> <span style="font-size: 10px;">持证人员每年需完成24个学分。</span></p><p> <span style="font-size: 10px;">持证人员会籍有效(注:已缴交当年个人会费)时,系统方可记录学分。</span></p><p> <span style="font-size: 10px;">持证人员在年检期内完成年检的,方可享受学分减免。</span></p><p> <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> <span style="font-size: 10px;">1、通过协会网络教育培训系统进行学习; </span></p><p> <span style="font-size: 10px;">2、参加由协会组织的培训、会议或集体活动; </span></p><p> <span style="font-size: 10px;">3、参加经协会认可的培训机构组织的培训; </span></p><p> <span style="font-size: 10px;">4、参加经协会认可的企业内部培训; </span></p><p> <span style="font-size: 10px;">5、参与经理人指数投票;</span></p><p> <span style="font-size: 10px;">6、在国家、省、市级刊物发表房地产专业文章,或在协会内部刊物、网站、微信等发表房地产专业文章。 </span></p><p><span style="font-size: 12px;"><strong> 其中,持证人员每年可免费参加协会组织的线下面授培训课程。</strong></span></p><p><span style="font-size: 12px;"><strong><br/></strong></span></p><p> <span style="font-size: 10px;">为鼓励持证人员规范执业,诚实守信,凡协会个人会员且年度信用评分在80分以上的持证人员,符合以下情形的可获相应的继续教育学分减免。</span></p><p> <span style="font-size: 10px;">1、连续执业满8年以上,当年需修满12学分即可; </span></p><p> <span style="font-size: 10px;">2、连续执业满10年以上,当年需修满6学分即可;</span></p><p> <span style="font-size: 10px;">3、连续执业15以上或年龄55周岁以上且连续执业满2年,当年可全免继续教育学分。</span></p><p><br/></p>
- `)
- function onXuexi(val) {
- console.log('点击学习')
- }
-
- onLoad(() => {
- user.value = authStore.userInfo
- list().then(res => {
- if (res && res.message === 'success') {
- listData.value = res.data.creditList
- explain.value = res.data.explain
- }
- })
- })
- </script>
- <style lang="scss" scoped>
- .container {
- height: 100vh;
- width: 100vw;
- background: rgb(141, 204, 255);
- background: -moz-linear-gradient( 90deg, rgb(141, 204, 255) 10%, rgb(247, 247, 247) 30%);
- background: -webkit-linear-gradient(90deg, rgb(141, 204, 255) 10%, rgb(247, 247, 247) 30%);
- background: -o-linear-gradient( 90deg, rgb(141, 204, 255) 10%, rgb(247, 247, 247) 30%);
- background: -ms-linear-gradient( 90deg, rgb(141, 204, 255) 10%, rgb(247, 247, 247) 30%);
- background: linear-gradient( 180deg, rgb(141, 204, 255) 10%, rgb(247, 247, 247) 30%);
-
- .info-box {
- margin: 0 20rpx;
- padding: 0 40rpx;
- padding-top: 50rpx;
- margin-bottom: 30rpx;
- .info-item {
- margin-bottom: 10rpx;
- font-size: $uni-title-font-size-2;
- font-weight: bold;
- letter-spacing: 3rpx;
- }
- }
-
- .list-box {
- margin: 0 20rpx;
- background-color: $uni-bg-color-grey;
- border-radius: $uni-card-border-radius;
- padding: 20rpx 15rpx;
- margin-bottom: 30rpx;
-
- .year,.fen {
- width: 20%;
- }
- .btn {
- width: 40%;
- }
- .list-item-box {
- &:first-child {
- border-bottom: 5rpx solid #E6E6E6;
- font-size: $uni-font-size-1;
- font-weight: bold;
- .list-item {
- text-align: center;
- &:last-child {
- color: #303133;
- font-weight: bold;
- }
- }
- }
- padding: 15rpx 0;
- text-align: center;
- font-size: $uni-font-size-3;
- font-weight: bold;
- display: flex;
- align-items: center;
- .list-item {
- text-align: center;
- &:last-child {
- color: $uni-text-color-inverse;
- font-weight: normal;
- }
- }
-
- .button {
- width: fit-content;
- border-radius: $uni-card-border-radius;
- margin: 0 auto;
- }
- .primary {
- padding: 5rpx 25rpx;
- background-color: $uni-color-primary;
- }
- .error {
- padding: 5rpx 15rpx;
- background-color: $uni-color-error;
- }
- }
- }
-
- .desc-box {
- margin: 0 20rpx;
- padding-bottom: 30rpx;
- font-weight: bold;
- }
- }
- </style>
|