"use strict";const e=require("../common/vendor.js"),n=require("../common/assets.js"),i={data(){return{cardInfo:{photoPath:"",chineseName:"",gender:"",yjrcXianDanWeiZhiWu:"",idNum:"",cardYouxiaoDate:"",cardNumber:"",cardType:"",bcardType:"",isZhuxiao:"",renCaiType:"",renCaiChengHao:"",shouJiNum:""},baseUrl:getApp().globalData.baseUrl}},onLoad(o){this.getCardInfo(o)},methods:{cardYouxiaoDate(o){return new Date().getTime()-new Date(o).getTime()},getCardInfo(o){e.index.showLoading({title:"加载中"}),e.index.request({url:this.baseUrl+"/wxsfrz/selRenCai?name="+o.name+"&sfzh="+o.sfzh,method:"POST",success:({data:c})=>{this.cardInfo=c.rclkTalentList,e.index.hideLoading()}})}}};function d(o,c,f,t,r,a){return e.e({a:n._imports_0,b:r.baseUrl+r.cardInfo.photoPath,c:e.t(r.cardInfo.chineseName),d:e.t(r.cardInfo.gender=="0"?"男":"女"),e:e.t(r.cardInfo.yjrcXianDanWeiZhiWu),f:e.t(r.cardInfo.idNum),g:e.t(r.cardInfo.cardYouxiaoDate),h:a.cardYouxiaoDate(r.cardInfo.cardYouxiaoDate)>0||r.cardInfo.cardYouxiaoDate=="长期"},a.cardYouxiaoDate(r.cardInfo.cardYouxiaoDate)>0||r.cardInfo.cardYouxiaoDate=="长期"?e.e({i:r.cardInfo.cardYouxiaoDate=="长期"},r.cardInfo.cardYouxiaoDate=="长期"?{}:{},{j:r.cardInfo.cardYouxiaoDate!="长期"&&a.cardYouxiaoDate(r.cardInfo.cardYouxiaoDate)>0?"#F56C6C":"#409EFF"}):{},{k:e.t(r.cardInfo.cardNumber),l:r.cardInfo.cardType=="A"},r.cardInfo.cardType=="A"?{m:e.t(r.cardInfo.cardType)}:{n:e.t(r.cardInfo.bcardType)},{o:r.cardInfo.cardYouxiaoDate!="长期"&&a.cardYouxiaoDate(r.cardInfo.cardYouxiaoDate)>0},r.cardInfo.cardYouxiaoDate!="长期"&&a.cardYouxiaoDate(r.cardInfo.cardYouxiaoDate)>0?{}:{p:e.t(r.cardInfo.isZhuxiao==0?"正常":"已注销")},{q:r.cardInfo.isZhuxiao==0?"#409EFF":"#F56C6C",r:e.t(r.cardInfo.yjrcXianDanWeiZhiWu),s:e.t(r.cardInfo.shouJiNum),t:e.t(r.cardInfo.renCaiType),v:e.t(r.cardInfo.renCaiChengHao),w:r.cardInfo.cardYouxiaoDate!="长期"&&a.cardYouxiaoDate(r.cardInfo.cardYouxiaoDate)>0?"red":"",x:e.t(r.cardInfo.cardYouxiaoDate),y:r.cardInfo.cardYouxiaoDate!="长期"&&a.cardYouxiaoDate(r.cardInfo.cardYouxiaoDate)>0?"red":""})}const u=e._export_sfc(i,[["render",d],["__scopeId","data-v-215ba503"]]);wx.createPage(u);
