|
|
@ -10,15 +10,15 @@ |
|
|
|
<view class="top_row"> |
|
|
|
<view class="topItem"> |
|
|
|
<view class="lab">历史服务学员</view> |
|
|
|
<view class="val">100人</view> |
|
|
|
<view class="val">{{info.historyStudentTotal}}人</view> |
|
|
|
</view> |
|
|
|
<view class="topItem"> |
|
|
|
<view class="lab">结业人数</view> |
|
|
|
<view class="val">130人</view> |
|
|
|
<view class="val">{{info.finishStudentTotal}}人</view> |
|
|
|
</view> |
|
|
|
<view class="topItem"> |
|
|
|
<view class="lab">服务中人数</view> |
|
|
|
<view class="val">13人</view> |
|
|
|
<view class="val">{{info.inServiceStudentTotal}}人</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
@ -26,29 +26,29 @@ |
|
|
|
|
|
|
|
<view class="title"> |
|
|
|
<view class="txt">结业率高达</view> |
|
|
|
<view class="num">90%</view> |
|
|
|
<view class="num">{{info.finishRate}}</view> |
|
|
|
</view> |
|
|
|
<view class="ul"> |
|
|
|
<view class="li"> |
|
|
|
<view class="li" v-if="info.finishSubjectOneTime"> |
|
|
|
<view class="lab">科目一平均通过时间</view> |
|
|
|
<view class="val">12天</view> |
|
|
|
<view class="val">{{info.finishSubjectOneTime}}天</view> |
|
|
|
</view> |
|
|
|
<view class="li"> |
|
|
|
<view class="lab">科目二平均通过时间</view> |
|
|
|
<view class="val">12天</view> |
|
|
|
<view class="val">{{info.finishSubjectTowTime ||'暂无'}}天</view> |
|
|
|
</view> |
|
|
|
<view class="li"> |
|
|
|
<view class="lab">科目三平均通过时间</view> |
|
|
|
<view class="val">12天</view> |
|
|
|
<view class="val">{{info.finishSubjectThreeTime || '暂无'}}天</view> |
|
|
|
</view> |
|
|
|
<view class="li"> |
|
|
|
<view class="li" v-if="info.finishSubjectFourTime"> |
|
|
|
<view class="lab">科目四平均通过时间</view> |
|
|
|
<view class="val">12天</view> |
|
|
|
<view class="val">{{info.finishSubjectFourTime}}天</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="title"> |
|
|
|
<view class="txt">平均拿证时间</view> |
|
|
|
<view class="num">47天</view> |
|
|
|
<view class="num">{{info.averageFinishTime || '暂无'}}天</view> |
|
|
|
</view> |
|
|
|
<!-- <view class="btnBorder" @click="shareClick">立即分享</view> |
|
|
|
<canvas canvas-id="canvas" style="width: 300px; height: 300px;opacity: 0;" class="canvas">3333</canvas> |
|
|
@ -59,13 +59,16 @@ |
|
|
|
</template> |
|
|
|
|
|
|
|
<script> |
|
|
|
import { getDrivingLearningData } from '@/config/api.js' |
|
|
|
export default { |
|
|
|
data() { |
|
|
|
return { |
|
|
|
shareImageUrl: '' |
|
|
|
shareImageUrl: '', |
|
|
|
info: {} |
|
|
|
} |
|
|
|
}, |
|
|
|
mounted() { |
|
|
|
this.getDrivingLearningDataFn() |
|
|
|
this.$nextTick(()=>{ |
|
|
|
setTimeout(()=>{ |
|
|
|
this.getCanvas() |
|
|
@ -73,6 +76,10 @@ |
|
|
|
}) |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
async getDrivingLearningDataFn() { |
|
|
|
const {data: res} = await getDrivingLearningData() |
|
|
|
this.info = res || {} |
|
|
|
}, |
|
|
|
shareClick() { |
|
|
|
|
|
|
|
}, |
|
|
@ -126,7 +133,7 @@ |
|
|
|
<style lang="scss" scoped> |
|
|
|
.teachingDataBg { |
|
|
|
width: 100%; |
|
|
|
background: url('http://192.168.1.20:81/zhili/image/20230818/409dca21dfec44eb8477e056ee23e437.png') #f6f6f6 no-repeat; |
|
|
|
background: url('../../../static/images/bigImg/teachdata.png') #f6f6f6 no-repeat; |
|
|
|
background-size: 100% 544rpx; |
|
|
|
min-height: 100vh; |
|
|
|
font-size: 28rpx; |
|
|
|