(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-user_license"],{"0526":function(t,e,i){"use strict";i.r(e);var a=i("1725"),n=i("4f48");for(var s in n)["default"].indexOf(s)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(s);i("cdfa");var o=i("828b"),c=Object(o["a"])(n["default"],a["b"],a["c"],!1,null,"ae6c40da",null,!1,a["a"],void 0);e["default"]=c.exports},1631:function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,".user-license[data-v-ae6c40da]{padding:%?20?%;background-color:#f5f5f5}.info-item[data-v-ae6c40da]{background-color:#fff;padding:%?20?%;margin-bottom:%?20?%;border-radius:%?10?%;display:flex;align-items:center}.avatar[data-v-ae6c40da]{width:%?150?%;height:%?150?%;border-radius:%?75?%;margin:%?20?% auto;display:block}.label[data-v-ae6c40da]{color:#666;width:%?200?%;font-size:%?28?%}.content[data-v-ae6c40da]{color:#333;flex:1;font-size:%?28?%}.license-image[data-v-ae6c40da]{flex-direction:column;align-items:flex-start}.license-img[data-v-ae6c40da]{width:100%;height:%?400?%;margin-top:%?20?%}",""]),t.exports=e},1725:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"user-license"},[i("v-uni-view",{staticClass:"info-item"},[i("v-uni-image",{staticClass:"avatar",attrs:{src:t.userInfo.avatar||"/static/default-avatar.png",mode:"aspectFill"}})],1),i("v-uni-view",{staticClass:"info-list"},[i("v-uni-view",{staticClass:"info-item"},[i("v-uni-text",{staticClass:"label"},[t._v("姓名：")]),i("v-uni-text",{staticClass:"content"},[t._v(t._s(t.userInfo.nickname))])],1),i("v-uni-view",{staticClass:"info-item"},[i("v-uni-text",{staticClass:"label"},[t._v("手机号：")]),i("v-uni-text",{staticClass:"content"},[t._v(t._s(t.userInfo.mobile))])],1),i("v-uni-view",{staticClass:"info-item"},[i("v-uni-text",{staticClass:"label"},[t._v("科室：")]),i("v-uni-text",{staticClass:"content"},[t._v(t._s(t.userInfo.user_group_name))])],1),i("v-uni-view",{staticClass:"info-item"},[i("v-uni-text",{staticClass:"label"},[t._v("岗位名称：")]),i("v-uni-text",{staticClass:"content"},[t._v(t._s(t.userInfo.position))])],1),i("v-uni-view",{staticClass:"info-item"},[i("v-uni-text",{staticClass:"label"},[t._v("资格证编码：")]),i("v-uni-text",{staticClass:"content"},[t._v(t._s(t.userInfo.certificate_code))])],1),i("v-uni-view",{staticClass:"info-item"},[i("v-uni-text",{staticClass:"label"},[t._v("执业证编码：")]),i("v-uni-text",{staticClass:"content"},[t._v(t._s(t.userInfo.license_code))])],1),i("v-uni-view",{staticClass:"info-item license-image"},[i("v-uni-text",{staticClass:"label"},[t._v("执业证图片：")]),i("v-uni-image",{staticClass:"license-img",attrs:{src:t.userInfo.license_image,mode:"aspectFit"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.previewImage.apply(void 0,arguments)}}})],1)],1)],1)},n=[]},"1eb2":function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=i("870c"),n={data:function(){return{userInfo:{},id:0}},onLoad:function(t){console.log(t),this.id=t.id,this.info()},methods:{info:function(){var t=this;(0,a.getUserInfo)({user_id:this.id}).then((function(e){console.log(e),0==e.code?uni.showToast({title:e.msg,icon:"none",duration:2e3}):t.userInfo=e.data})).catch((function(t){uni.showToast({title:t,icon:"none",duration:2e3})}))},previewImage:function(){uni.previewImage({urls:[this.userInfo.license_image]})}}};e.default=n},"4f48":function(t,e,i){"use strict";i.r(e);var a=i("1eb2"),n=i.n(a);for(var s in a)["default"].indexOf(s)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(s);e["default"]=n.a},cdfa:function(t,e,i){"use strict";var a=i("e001"),n=i.n(a);n.a},e001:function(t,e,i){var a=i("1631");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("1be5abc8",a,!0,{sourceMap:!1,shadowMode:!1})}}]);