| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208 |
- <template>
- <view>
- <Headers></Headers>
- <view class="project">
- <view style="width: 1200px;margin: auto;">证书查询系统</view>
- </view>
-
- <view class="project-content ddflex">
- <!-- 成绩区域 -->
- <view class="test-box">
- <view class="test-title">{{info.cateName}}证书查询结果</view>
- <!-- 表格 -->
- <view class="ddflex border table" style="">
- <!-- 左边 -->
- <view>
- <view class="height56 ddflex-jc width140 bg-color border-bottom">姓 名</view>
- <view class="height56 ddflex-jc width140 bg-color border-bottom">性 别</view>
- <view class="height56 ddflex-jc width140 bg-color border-bottom">身份证号</view>
- <view class="height56 ddflex-jc width140 bg-color border-bottom">培训工种</view>
- <view class="height56 ddflex-jc width140 bg-color border-bottom">培训学校</view>
- <view class="height56 ddflex-jc width140 bg-color border-bottom">办学编号</view>
- <view class="height56 ddflex-jc width140 bg-color border-bottom">证书编号</view>
- <view class="height56 ddflex-jc width140 bg-color border-bottom">培训结论</view>
- <view class="height56 ddflex-jc width140 bg-color">发证日期</view>
- </view>
- <!-- 右边 -->
- <view class="fflex">
- <view class="dflex" style="align-items: stretch;">
- <view>
- <view class="height56 ddflex padding-left border border-right-none border-top-none">{{info.userName?info.userName:'*'}}</view>
- <view>
- <view class="ddflex">
- <view class="height56 ddflex padding-left width200 border border-bottom-none border-right-none border-top-none">{{info.sex==1?'男':info.sex==2?'女':'*'}}</view>
- <view class="height56 ddflex-jc width140 bg-color border border-bottom-none border-right-none border-top-none">出生日期</view>
- <view class="height56 ddflex-jc width140 border border-bottom-none border-right-none border-top-none">{{info.birthday?info.birthday:'*'}}</view>
- </view>
- <view class="ddflex">
- <view class="height56 ddflex-jc width200 border border-bottom-none border-right-none">{{info.idNumber?info.idNumber:'*'}}</view>
- <view class="height56 ddflex-jc width140 bg-color border border-bottom-none border-right-none">培训时间</view>
- <view class="height56 ddflex-jc width140 border border-bottom-none border-right-none">{{info.trainingDate?info.trainingDate:'*'}}</view>
- </view>
- <view class="ddflex">
- <view class="height56 ddflex padding-left width200 border border-right-none">{{info.cateName?info.cateName:'*'}}</view>
- <view class="height56 ddflex-jc width140 bg-color border border-right-none">培训等级</view>
- <view class="height56 ddflex padding-left width140 border border-right-none">{{info.trainingLevel?info.trainingLevel:'*'}}</view>
- </view>
- </view>
- </view>
- <view class="border fflex border-right-none border-top-none" style="box-sizing: border-box;padding: 20px;">
- <image style="width: 100%;" :src="info.avatar" mode="widthFix"></image>
- </view>
- </view>
- <view class="height56 border ddflex border-top-none border-right-none padding-left">
- 湖南现代职业培训学校
- </view>
- <view class="height56 border ddflex border-top-none border-right-none padding-left">
- {{info.schoolNo?info.schoolNo:'*'}}
- </view>
- <view class="height56 border ddflex border-top-none border-right-none padding-left">
- {{info.certificateNo?info.certificateNo:'*'}}
- </view>
- <view class="height56 border ddflex border-top-none border-right-none padding-left">
- {{info.conclusion==0?'培训中':info.conclusion==1?'成绩不合格':info.conclusion==2?'成绩合格':'*'}}
- </view>
- <view class="height56 border ddflex border-top-none border-right-none padding-left border-bottom-none">
- {{info.issueDate?info.issueDate:'*'}}
- </view>
- </view>
- </view>
- <!-- 声明 -->
- <view style="margin-top: 34px;">
- <view style="font-size: 16px;font-weight: bold;">声明:</view>
- <view style="font-size: 14px;line-height: 30px">
- 1、未经证书信息权属人同意,不得将本材料用于违背权属人意愿之用途。证书信息内容标注“*”号,表示该项内容不详。证书信息如有修改,请以网站在线查询内容为准。<br>
- 2、本材料是打印的证书查询结果凭证,仅供查询人使用,不具有再验证功能。
- </view>
- </view>
- </view>
- <!-- 答题卡区域 -->
- <view class="test-info ddflex">
- <view class="note-box">
- <view class="note-title ddflex">
- <image class="note-title-icon" src="/static/images/wzgg.png"></image>
- <view>网站提醒</view>
- </view>
- <view>
- <view class="note-item ddflex" v-for="item,index in wztxList" :key="index" @click="jumpUrl('/pages/contentDetail/contentDetail?id='+item.id)">
- <view class="note-item-content">{{item.title}}</view>
- </view>
- </view>
- </view>
- <!-- 学习资料 -->
- <view class="note-box">
- <view class="note-title ddflex">
- <image class="note-title-icon" src="/static/images/xxzl.png"></image>
- <view>学习资料</view>
- </view>
- <view>
- <view class="note-item ddflex" v-for="item,index in xxzlList" :key="index" @click="jumpUrl('/pages/contentDetail/contentDetail?id='+item.id)">
- <view class="note-item-content">{{item.title}}</view>
- </view>
- </view>
- </view>
- <!-- 常见问题 -->
- <view class="note-box">
- <view class="note-title ddflex">
- <image class="note-title-icon" src="/static/images/cjwt.png"></image>
- <view>常见问题</view>
- </view>
- <view>
- <view class="note-item ddflex" v-for="item,index in cjwtList" :key="index" @click="jumpUrl('/pages/contentDetail/contentDetail?id='+item.id)">
- <view class="note-item-content">{{item.title}}</view>
- </view>
- </view>
- </view>
- </view>
- </view>
-
- <Foot></Foot>
- </view>
- </template>
- <script>
- const app = getApp();
- const req = require('../../utils/request.js');
- const utils = require('../../utils/util.js');
- const api = require('../../utils/api.js')
- export default {
- data() {
- return {
- options:{},
- info:{},
- wztxList:[],
- xxzlList:[],
- cjwtList:[],
- }
- },
- onReady() {},
- onLoad() {
- if(!req.getStorage('options')){
- uni.reLaunch({
- url:'/pages/certificateQuery/certificateQuery'
- })
- return false
- }
- this.options = req.getStorage('options')
- this.getDetail()
-
- this.getTextwztxInfo()
- this.getTextxxzlInfo()
- this.getTextcjwtInfo()
- },
- onUnload() {
- req.removeStorage('options')
- },
- methods: {
- jumpUrl(url){
- uni.navigateTo({
- url:url
- })
- },
- getDetail(){
- req.getRequest('/api/v3/exam/user/manager/certificate',this.options,res=>{
- this.info = res
- })
- },
- // 网站提醒
- getTextwztxInfo(){
- let form={
- code:req.public.wztxCode,
- page:1,
- limit:5
- }
- req.getRequest('/api/content/list',form,res=>{
- this.wztxList = res
- })
- },
- // 学习资料
- getTextxxzlInfo(){
- let form={
- code:req.public.xxzlCode,
- page:1,
- limit:5
- }
- req.getRequest('/api/content/list',form,res=>{
- this.xxzlList = res
- })
- },
- // 常见问题
- getTextcjwtInfo(){
- let form={
- code:req.public.cjwtCode,
- page:1,
- limit:5
- }
- req.getRequest('/api/content/list',form,res=>{
- this.cjwtList = res
- })
- },
- }
- }
- </script>
- <style>
- @import url('./certificateDetail.css');
- </style>
|