正常情況是有顯示的
就是在 系統(tǒng)10.13.4 瀏覽器 是11.1 上這個組件頁面是這樣顯示空白 也不報錯
其他的路由組件也都能顯示
正常情況是有顯示的
<template lang="html">
<div id="advance">
<div class="ad_content white">
<div style="position:relative;overflow:hidden;clear:both">
<a class="go_back" @click="back()"></a>
<Breadcrumb separator=">" style="float:left">
<BreadcrumbItem>個人評估報告</BreadcrumbItem>
<BreadcrumbItem>專業(yè)版查詢</BreadcrumbItem>
</Breadcrumb>
<a @click="modal1 = true" style="position:absolute;top:0;right:10px;font-size:14px;font-weight:bold;text-decoration:underline">查看報告樣例</a>
</div>
<div class="hr" style="margin:10px 0 40px"></div>
<Form ref="formInline" :model="formData" :rules="rule" inline>
<FormItem prop="name" label="姓名" :label-width="80" style="width:260px">
<Input type="text" v-model="formData.name" placeholder="請輸入姓名" @on-blur="replaceStr('name',formData.name)"></Input>
</FormItem>
<FormItem prop="idCard" label="身份證號" :label-width="80" style="width:260px">
<Input type="text" :maxlength="18" v-model="formData.idCard" placeholder="請輸入18或15位身份證號" @on-blur="replaceStr('idCard',formData.idCard)"></Input>
</FormItem>
<FormItem prop="mobile" label="手機號" :label-width="80" style="width:260px">
<Input type="text" :maxlength="11" v-model="formData.mobile" placeholder="請輸入手機號碼"></Input>
</FormItem>
</Form>
<div class="hr" style="margin-top:10px"></div>
</div>
<div class="ad_content white base_module">
<div class="ad_title"><h1 class="headline">專業(yè)版基礎查詢模塊</h1></div>
<Row style="padding:10px;">
<div v-for="(item,index) in baseModule" :key="index">
<Col span="10" style="margin-bottom:30px;margin-right:5%">
<Card shadow style="overflow:hidden;clear:both">
<p slot="title" style="color:#349dee"><img :src="item.icon" style="height:24px;vertical-align:middle;margin:-5px 8px 0 0" />{{item.text}}<span :class="'must_auth_'+item.auth">{{authText(item.auth)}}</span></p>
<p class="mt_8" v-text="item.content"></p>
</Card>
</Col>
</div>
</Row>
<div class="hr"></div>
</div>
<div class="ad_content white must_module">
<div class="ad_title"><h1 class="headline must_auth">用戶必須授權信息<span class="mark">(以下模塊用戶必須通過<i style="color: rgb(52, 157, 238);font-style: normal;">棱鏡APP或H5網(wǎng)頁</i>進行授權,否則無法生成報告)</span></h1></div>
<Row style="padding:10px">
<Col span="10" v-for="(item,index) in mustModule" :key="index" style="margin-right:5%">
<div>
<Card :bordered="true" shadow >
<p slot="title" style="color:#349dee"><img :src="item.icon" style="height:24px;vertical-align:middle;margin:-5px 8px 0 0" />{{item.platform+'信息'}}</p>
<p class="mt_8">{{item.remark}}</p>
</Card>
</div>
</Col>
</Row>
</div>
<div class="ad_content white choose_module">
<div class="hr" style="margin:20px 0"></div>
<div class="ad_title"><h1 class="headline">用戶可選授權信息<span class="mark">( 建議讓用戶通過<i style="color: rgb(52, 157, 238);font-style: normal;">棱鏡APP或H5網(wǎng)頁</i> [ 本地通訊錄只可通過APP獲取 ] 授權以下所有信息,可使報告內(nèi)容更豐富 )</span></h1></div>
<Row style="padding:10px">
<div v-for="(item,index) in chooseModule" :key="index">
<Col span="10" style="margin-right:5%;margin-bottom:30px;">
<Card shadow>
<p slot="title" style="color:#349dee;"><img :src="item.icon" style="height:24px;vertical-align:middle;margin:-5px 8px 0 0"/>{{item.platform+'信息'}}</p>
<p class="mt_8" v-text="item.remark"></p>
</Card>
</Col>
</div>
</Row>
<p style="font-size:14px"><strong>注</strong>:若您查看過此用戶的專業(yè)版報告,也可在個人中心>用戶管理>個人信息中免費查看該用戶所有最新授權信息</p>
<div class="hr" style="margin-top:40px"></div>
<Button type="primary" size="large" :class="{'disa':!formData.name||!formData.idCard||!formData.mobile}" :disabled="submit.btn" @click="submitEvent" style="margin:50px 0;width:140px">{{submit.btn?submit.num+"s":'提交'}}</Button> <span class="mark"> 點提交后,只有當您在用戶管理中生成了“專業(yè)版報告”,才會扣除相應點劵</span>
</div>
<Modal v-model="modal1" width="70%">
<p slot="header" style="text-align:center;font-weight:bold;font-size:16px;">
報告樣例
</p>
<div >
<img src="../../../static/imgs/advance.jpg" width="100%" >
</div>
<div slot="footer"></div>
</Modal>
<my-modal :guideModals="guideModal" :guideTitle="guideTitle" :userDatas="formData" @closeGuide="closeGuide"></my-modal>
</div>
</template>
<script>
import MyModal from '../common/authModal.vue';
export default {
components:{MyModal},
data(){
return{
modal1:false,
formData: {name: "",idCard: "",mobile: ""},
rule:{
name: [{ required: true, message: "您還未填寫要查詢用戶的姓名", trigger: "blur" }],
idCard: [{ required: true, message: "您還未填寫要查詢用戶的身份證號", trigger: "blur" }],
mobile: [{ required: true, message: "您還未填寫要查詢用戶的手機號", trigger: "blur" }]
},
baseModule:[
{text:"風險評分",icon:require("../../../static/imgs/icon_a_1.png"),content:"利用海量互聯(lián)網(wǎng)數(shù)據(jù),對申請人風險進行綜合評估"},
{text:"基本信息驗證",icon:require("../../../static/imgs/icon_a_2.png"),content:"驗證用戶真實信息,防止盜用他人身份進行欺詐"},
{text:"黑灰名單識別",icon:require("../../../static/imgs/icon_a_3.png"),content:"從信貸金融、身份特征、異常行為等維度全面查詢申請人風險情況"},
{text:"司法記錄查詢",icon:require("../../../static/imgs/icon_a_4.png"),content:"查詢申請人在全國司法系統(tǒng)中是否涉及經(jīng)濟類案件及判決書執(zhí)行情況"},
{text:"不良行為識別",icon:require("../../../static/imgs/icon_a_5.png"),content:"通過大數(shù)據(jù)技術搜集用戶是否涉黃賭博或是在逃犯等高風險行為特征"},
{text:"社交關系深度分析",icon:require("../../../static/imgs/icon_a_6.png"),content:"核查用戶社交圈的風險聯(lián)系人,識別社交行為潛在風險"},
{text:"貸款記錄多平臺查詢",icon:require("../../../static/imgs/icon_a_7.png"),content:"查詢申請人在各渠道的貸款情況"},
{text:"還款詳情分析",icon:require("../../../static/imgs/icon_a_8.png"),content:"查詢申請人在各渠道貸款訂單的還款詳情"}
],
mustModule:[],
switchBtn:false,
chooseModule:[],//chooseModule
guideText:true,//引導授權顯示
getDisabled:false,
guideModal:false,
guideTitle:"報告查詢提交成功",
submit:{btn:false,timer:null,num:3}
}
},//data
computed:{
},
methods:{
//提交
submitEvent(){
let verifyUser = this.userVerify();
if(verifyUser){
//先驗證是否開通高級版功能--您還沒有開通本功能,請聯(lián)系管理員進行開通
//驗證三要素--用戶姓名與身份證或姓名不一致,請檢查核對
//驗證是否有余額
const url = this.__WEBSERVERURL__+'/user/report/apply';
const params = {
type:'gjb',
name:this.formData.name,
certNo:this.formData.idCard,
mobile:this.formData.mobile
};
this.$httpData(url,params,(res)=>{
this.formData = {name: params.name,idCard: params.certNo,mobile:params.mobile};
this.guideModal = true;
});
}
},
userVerify(){//驗證個人信息
const _self = this;
const telReg = /^[1][0-9]{10}$/;
const idReg = /(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/;
for(var i in this.formData){
if(!this.formData[i]){
this.warn(_self.rule[i][0].message);
return false;
}else if(!telReg.test(this.formData.mobile)){
this.warn("手機號碼格式不正確");
return false;
}else if(!idReg.test(this.formData.idCard)){//身份證號碼15位或18位
this.warn("身份證號碼格式不正確");//身份證號碼為15位或者18位,15位時全為數(shù)字,18位前17位為數(shù)字,最后一位是校驗位,可能為數(shù)字或字符X
return false;
}
}
return true;
},
replaceStr(attr,val){//替換
this.formData[attr] = val.replace(/-|\s/g,'');
},
authText(flag){
let text = "";
switch(flag){
case 0: text = "用戶未授權";break;
case 1: text = "用戶已授權";break;
}
return text;
},
closeGuide(attr){
this.guideModal = attr;
},
chooseStatus(flag){
for(var i in this.chooseModule){
this.chooseModule[i].choose = flag;
}
},
warn(c){
this.$Message.warning({
content: c,
duration: 3,
closable: true
});
}
},
mounted(){
const url = this.__WEBSERVERURL__+'/platform/list';
// const url = 'api/mock/4c0fdc85afc6c0f01766671f4f13ace3/platform/list'
this.$httpData(url,{},(res)=>{
this.chooseModule = res.data.noMustAuth;
for(var i in res.data.noMustAuth){
this.chooseModule[i].icon = require("../../../static/imgs/icon_"+res.data.noMustAuth[i].type+".png");
}
this.mustModule = res.data.mustAuth;
for(var i in res.data.mustAuth){
this.mustModule[i].icon = require("../../../static/imgs/icon_"+res.data.mustAuth[i].type+".png");
}
});
}
}
</script>
<style lang="stylus">
.ivu-col-span-10{
max-width: 220px;
.ivu-card{
.mt_8{
padding-left:30px;
color:#878c9f;
}
}
}
.ivu-form .ivu-form-item-label{
font-size:14px;
}
.ivu-input{
font-size:14px;
}
.base_module{
.ivu-col-span-10{
.ivu-card{
height:125px;
}
}
}
}
</style>
<style lang="stylus" scoped>
$g_g=#b3b9c7;
.white{
background:#fff;
}
.pd_10{
padding-left:10px;
}
.ivu-card-shadow{
cursor:pointer;
box-shadow:0px 1px 1px 2px rgba(0, 0, 0, 0.1);
}
.ivu-switch{
margin-left:20px;
}
.send_msg{
margin-left:40px;
}
.disa{
background:#ccc!important;
color:#fff;
}
}
.mark{
color:$g_g;
font-size:13px;
font-weight:bold;
margin-left:10px;
}
.disa{
background:#ccc;
border-color:#ccc;
}
.headline {
font-size: 16px;
font-weight: 800;
border-bottom:none;
margin-bottom:10px;
padding-left:0;
&.must_auth::before{
content: '*';
display: inline-block;
margin-right: 4px;
line-height: 1;
font-family: SimSun;
font-size: 12px;
color: #ed3f14;
}
.exep{
display: inline-block;
float:right;
text-align:center;
margin-top: 10px;
background-color: #2b85e4;
height: 36px;
font-size: 14px;
line-height: 36px;
color: #fff;
width: 130px;
border-radius: 18px;
cursor: pointer;
}
}
.ad_content{
padding:20px 25px 0;
border-radius:4px;
.must_auth0{
color:red;//未授權--紅
}
.must_auth1{
color:#4cc54c;//已授權--綠
}
.choose_y{
background:url("../../../static/imgs/y.png") no-repeat right top;
}
&.base_module{
ul{
li{
display:inline-block;
width:260px;
font-size:15px;
line-height:30px;
margin-bottom:10px;
}
}
}//base_module
&.must_module{
}//must_module
&.choose_module{
.ivu-col-offset-2{
margin-left:0!important;
margin-right:8.333%!important;
margin-bottom:30px!important;
}
}
}//ad_content
.ad_footer{
text-align:center;
padding:30px 0;
p{
padding:10px;
font-size:14px;
a{
text-decoration:underline;
}
}
button{
padding:8px 20px;
}
}
}
</style>
北大青鳥APTECH成立于1999年。依托北京大學優(yōu)質(zhì)雄厚的教育資源和背景,秉承“教育改變生活”的發(fā)展理念,致力于培養(yǎng)中國IT技能型緊缺人才,是大數(shù)據(jù)專業(yè)的國家
達內(nèi)教育集團成立于2002年,是一家由留學海歸創(chuàng)辦的高端職業(yè)教育培訓機構,是中國一站式人才培養(yǎng)平臺、一站式人才輸送平臺。2014年4月3日在美國成功上市,融資1
北大課工場是北京大學校辦產(chǎn)業(yè)為響應國家深化產(chǎn)教融合/校企合作的政策,積極推進“中國制造2025”,實現(xiàn)中華民族偉大復興的升級產(chǎn)業(yè)鏈。利用北京大學優(yōu)質(zhì)教育資源及背
博為峰,中國職業(yè)人才培訓領域的先行者
曾工作于聯(lián)想擔任系統(tǒng)開發(fā)工程師,曾在博彥科技股份有限公司擔任項目經(jīng)理從事移動互聯(lián)網(wǎng)管理及研發(fā)工作,曾創(chuàng)辦藍懿科技有限責任公司從事總經(jīng)理職務負責iOS教學及管理工作。
浪潮集團項目經(jīng)理。精通Java與.NET 技術, 熟練的跨平臺面向?qū)ο箝_發(fā)經(jīng)驗,技術功底深厚。 授課風格 授課風格清新自然、條理清晰、主次分明、重點難點突出、引人入勝。
精通HTML5和CSS3;Javascript及主流js庫,具有快速界面開發(fā)的能力,對瀏覽器兼容性、前端性能優(yōu)化等有深入理解。精通網(wǎng)頁制作和網(wǎng)頁游戲開發(fā)。
具有10 年的Java 企業(yè)應用開發(fā)經(jīng)驗。曾經(jīng)歷任德國Software AG 技術顧問,美國Dachieve 系統(tǒng)架構師,美國AngelEngineers Inc. 系統(tǒng)架構師。