1 line
46 KiB
JavaScript
1 line
46 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-c9e84ab0","chunk-7b7f8780"],{"0b29":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"comment-info"},[n("el-form",{staticClass:"demo-form-inline",attrs:{model:t.statusList,size:"small"}},[n("el-form-item",{attrs:{label:"Comment:"}},[n("el-input",{attrs:{type:"textarea",autosize:"",readonly:""},model:{value:t.statusList.AdminComment,callback:function(e){t.$set(t.statusList,"AdminComment",e)},expression:"statusList.AdminComment"}})],1)],1)],1)},a=[],o={props:{statusList:{type:Object,default:function(){return{}}}}},r=o,s=(n("9159"),n("2877")),l=Object(s["a"])(r,i,a,!1,null,null,null);e["default"]=l.exports},"14e2":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"agreements-info"},[n("el-table",{staticStyle:{"margin-top":"10px"},attrs:{data:t.agreementList,"span-method":t.objectSpanMethod,border:"",size:"small"}},[n("el-table-column",{attrs:{type:"index",label:"No.",width:"50"}}),t._v(" "),n("el-table-column",{attrs:{prop:"TrialCode",label:"Trial ID","min-width":"50","show-overflow-tooltip":""}}),t._v(" "),n("el-table-column",{attrs:{prop:"Type",label:"File Type","min-width":"80","show-overflow-tooltip":""}}),t._v(" "),n("el-table-column",{attrs:{prop:"FileName",label:"File Name","min-width":"100","show-overflow-tooltip":""}}),t._v(" "),n("el-table-column",{attrs:{prop:"CreateTime",label:"Upload Time","min-width":"60","show-overflow-tooltip":""}}),t._v(" "),n("el-table-column",{attrs:{label:"Action","min-width":"150"},scopedSlots:t._u([{key:"default",fn:function(e){return["Statement of Work"==e.row.Type||"Acknowledgement of SOW"==e.row.Type||"Consultant Agreement"==e.row.Type?n("el-button",{attrs:{size:"small",type:"text"},on:{click:function(n){return t.preview(e.$index,e.row)}}},[t._v("View")]):t._e()]}}])})],1)],1)},a=[],o=(n("55dd"),n("ac6a"),{props:{doctorInfo:{type:Object,default:function(){return{}}}},data:function(){return{agreementList:[],spanArr:[],pos:0}},created:function(){this.initAgreement()},methods:{initAgreement:function(){var t=this;this.doctorInfo.AttachmentList&&(this.doctorInfo.AttachmentList.forEach((function(e){"Consultant Agreement"===e.Type&&(e.TrialCode="",t.agreementList.push(e))})),this.doctorInfo.SowList.forEach((function(e){e.Type="Statement of Work",t.agreementList.push(e)})),this.doctorInfo.AckSowList.forEach((function(e){e.Type="Acknowledgement of SOW",t.agreementList.push(e)})),this.agreementList=this.agreementList.sort((function(t,e){return t.TrialCode<e.TrialCode?-1:t.TrialCode===e.TrialCode?1:0})),this.getSpanArr(this.agreementList))},objectSpanMethod:function(t){t.row,t.column;var e=t.rowIndex,n=t.columnIndex;if(1===n){var i=this.spanArr[e],a=i>0?1:0;return{rowspan:i,colspan:a}}},getSpanArr:function(t){for(var e=0;e<t.length;e++)0===e?(this.spanArr.push(1),this.pos=0):t[e].TrialCode===t[e-1].TrialCode?(this.spanArr[this.pos]+=1,this.spanArr.push(0)):(this.spanArr.push(1),this.pos=e)},preview:function(t,e){var n=e.FullPath;n&&window.open(n,"_blank")},timeFormatter:function(t){return new Date(t.CreateTime).format("yyyy-MM-dd hh:mm:ss")},officalFormatter:function(t,e){return t.IsOfficial?"Yes":"No"}}}),r=o,s=(n("b0f2"),n("2877")),l=Object(s["a"])(r,i,a,!1,null,null,null);e["default"]=l.exports},"19ec":function(t,e,n){},"27a6":function(t,e,n){"use strict";n("be0c")},"2c29":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"status-info"},[n("el-form",{staticClass:"demo-form-inline",attrs:{inline:!0,model:t.basicInfo,size:"small"}},[n("el-row",[n("el-col",{attrs:{span:6}},[n("el-form-item",{attrs:{label:"Pending:"}},[t.statusList.Submitted?n("span",{staticStyle:{color:"#00d1b2"}},[n("router-link",{attrs:{to:{path:"/trialStats?name="+t.basicInfo.FirstName+" "+t.basicInfo.LastName+"&doctorId="+t.basicInfo.Id+"&status=5&TokenKey="+t.tokenKey},target:"_blank",title:"Pending client approval"}},[t._v(t._s(t.statusList.Submitted))])],1):n("span",[t._v(t._s(t.statusList.Submitted))])])],1),t._v(" "),n("el-col",{attrs:{span:6}},[n("el-form-item",{attrs:{label:"Approved:"}},[t.statusList.Approved?n("span",{staticStyle:{color:"#00d1b2"}},[n("router-link",{attrs:{to:{path:"/trialStats?name="+t.basicInfo.FirstName+" "+t.basicInfo.LastName+"&doctorId="+t.basicInfo.Id+"&status=8&TokenKey="+t.tokenKey},target:"_blank",title:"Approved, waiting for training"}},[t._v(t._s(t.statusList.Approved))])],1):n("span",[t._v(t._s(t.statusList.Approved))])])],1),t._v(" "),n("el-col",{attrs:{span:6}},[n("el-form-item",{attrs:{label:"Reading:"}},[t.statusList.Reading?n("span",{staticStyle:{color:"#00d1b2"}},[n("router-link",{attrs:{to:{path:"/trialStats?name="+t.basicInfo.FirstName+" "+t.basicInfo.LastName+"&doctorId="+t.basicInfo.Id+"&status=10&TokenKey="+t.tokenKey},target:"_blank"}},[t._v(t._s(t.statusList.Reading))])],1):n("span",[t._v(t._s(t.statusList.Reading))])])],1),t._v(" "),n("el-col",{attrs:{span:6}},[n("el-form-item",{attrs:{label:"On Vacation:"}},[n("span",{staticStyle:{"font-size":"12px","margin-right":"20px"}},[t._v(t._s(t.holiday))]),t._v(" "),n("el-button",{attrs:{type:"text",size:"small"},on:{click:t.initHolidayList}},[t._v("Planned Vacation")])],1)],1)],1)],1),t._v(" "),n("el-dialog",{attrs:{title:"Vacation",visible:t.dialogVisible,width:"35%","close-on-click-modal":!1},on:{"update:visible":function(e){t.dialogVisible=e}}},[n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],attrs:{data:t.list,size:"small"}},[n("el-table-column",{attrs:{type:"index"}}),t._v(" "),n("el-table-column",{attrs:{property:"StartDate",label:"Beginning Date","min-width":"120",formatter:t.beginTimeFormatter}}),t._v(" "),n("el-table-column",{attrs:{property:"EndDate",label:"End Date","min-width":"120",formatter:t.endTimeFormatter}})],1),t._v(" "),n("div",{staticClass:"pagination"},[n("el-pagination",{attrs:{background:"",layout:"total,sizes,prev, pager, next",total:t.total,"page-sizes":[5,10,20,50],"page-size":t.pageSize,"current-page":t.pageIndex},on:{"update:currentPage":function(e){t.pageIndex=e},"update:current-page":function(e){t.pageIndex=e},"current-change":t.handleCurrentChange,"size-change":t.handleSizeChange}})],1)],1)],1)},a=[],o=n("33ba"),r=n("7878"),s=n("5f87"),l={props:{basicInfo:{type:Object,default:function(){return{}}},statusList:{type:Object,default:function(){return{}}},doctorId:{type:String,default:""},holiday:{type:String,default:""}},data:function(){return{list:[],total:0,dialogVisible:!1,loading:!1,pageIndex:1,pageSize:10,tokenKey:Object(s["a"])()}},methods:{initHolidayList:function(){var t=this;this.dialogVisible=!0,this.loading=!0,Object(o["z"])(this.doctorId,this.pageIndex,this.pageSize).then((function(e){e.IsSuccess&&(t.list=e.Result.CurrentPageData,t.total=e.Result.TotalCount),t.loading=!1})).catch((function(){t.loading=!1}))},beginTimeFormatter:function(t){if(t.StartDate)return Object(r["fmtDate"])(t.StartDate)},endTimeFormatter:function(t){if(t.EndDate)return Object(r["fmtDate"])(t.EndDate)},handleCurrentChange:function(t){this.pageIndex=t,this.initHolidayList()},handleSizeChange:function(t){this.pageSize=t,this.initHolidayList()}}},c=l,u=(n("e51b"),n("2877")),p=Object(u["a"])(c,i,a,!1,null,null,null);e["default"]=p.exports},"2f21":function(t,e,n){"use strict";var i=n("79e5");t.exports=function(t,e){return!!t&&i((function(){e?t.call(null,(function(){}),1):t.call(null)}))}},"33ba":function(t,e,n){"use strict";n.d(e,"s",(function(){return a})),n.d(e,"n",(function(){return o})),n.d(e,"p",(function(){return r})),n.d(e,"b",(function(){return s})),n.d(e,"v",(function(){return l})),n.d(e,"C",(function(){return c})),n.d(e,"x",(function(){return u})),n.d(e,"F",(function(){return p})),n.d(e,"u",(function(){return f})),n.d(e,"c",(function(){return d})),n.d(e,"i",(function(){return h})),n.d(e,"d",(function(){return m})),n.d(e,"j",(function(){return _})),n.d(e,"w",(function(){return v})),n.d(e,"e",(function(){return b})),n.d(e,"y",(function(){return w})),n.d(e,"f",(function(){return g})),n.d(e,"k",(function(){return y})),n.d(e,"E",(function(){return I})),n.d(e,"D",(function(){return C})),n.d(e,"o",(function(){return E})),n.d(e,"B",(function(){return S})),n.d(e,"z",(function(){return x})),n.d(e,"g",(function(){return O})),n.d(e,"l",(function(){return k})),n.d(e,"m",(function(){return L})),n.d(e,"q",(function(){return N})),n.d(e,"t",(function(){return T})),n.d(e,"a",(function(){return P})),n.d(e,"h",(function(){return R})),n.d(e,"r",(function(){return D})),n.d(e,"A",(function(){return j})),n.d(e,"G",(function(){return A}));var i=n("b775");function a(t){return Object(i["a"])({url:"/doctorList/getDoctorSearchList",method:"post",data:t})}function o(t,e){return Object(i["a"])({url:"/file/downloadOfficialCV/".concat(e),method:"post",data:t})}function r(t){return Object(i["a"])({url:"/doctor/getBasicInfo/".concat(t),method:"get"})}function s(t){return Object(i["a"])({url:"/doctor/addOrUpdateDoctorBasicInfo",method:"post",data:t})}function l(t){return Object(i["a"])({url:"/doctor/getEmploymentInfo/".concat(t),method:"get"})}function c(t){return Object(i["a"])({url:"/doctor/updateEmploymentInfo",method:"post",data:t})}function u(t){return Object(i["a"])({url:"/doctor/getSpecialtyInfo/".concat(t),method:"get"})}function p(t){return Object(i["a"])({url:"/doctor/updateSpecialtyInfo",method:"post",data:t})}function f(t){return Object(i["a"])({url:"/education/getEducation/".concat(t),method:"get"})}function d(t){return Object(i["a"])({url:"/education/addOrUpdateEducationInfo",method:"post",data:t})}function h(t){return Object(i["a"])({url:"/education/deleteEducationInfo/".concat(t),method:"delete"})}function m(t){return Object(i["a"])({url:"/education/addOrUpdatePostgraduateInfo",method:"post",data:t})}function _(t){return Object(i["a"])({url:"/education/deletePostgraduateInfo/".concat(t),method:"delete"})}function v(t){return Object(i["a"])({url:"/researchPublication/getResearchPublication/".concat(t),method:"get"})}function b(t){return Object(i["a"])({url:"/researchPublication/addOrUpdateResearchPublication",method:"post",data:t})}function w(t){return Object(i["a"])({url:"/trialExperience/getTrialExperience/".concat(t),method:"get"})}function g(t){return Object(i["a"])({url:"/trialExperience/addOrUpdateTrialExperience",method:"post",data:t})}function y(t){return Object(i["a"])({url:"/trialExperience/deleteTrialExperience/".concat(t),method:"delete"})}function I(t){return Object(i["a"])({url:"/trialExperience/updateOtherExperience",method:"post",data:t})}function C(t){return Object(i["a"])({url:"/trialExperience/updateGcpExperience",method:"post",data:t})}function E(t){return Object(i["a"])({url:"/doctor/getAuditState/".concat(t),method:"get"})}function S(t){return Object(i["a"])({url:"/doctor/updateAuditResume",method:"post",data:t})}function x(t,e,n){return Object(i["a"])({url:"/vacation/getVacationList/".concat(t,"/").concat(e,"/").concat(n),method:"get"})}function O(t){return Object(i["a"])({url:"/vacation/addOrUpdateVacation",method:"post",data:t})}function k(t){return Object(i["a"])({url:"/vacation/deleteVacation/".concat(t),method:"delete"})}function L(t,e){var n={attachmentIds:e};return Object(i["a"])({url:"/file/downloadByAttachmentId/".concat(t),method:"post",data:n})}function N(t){return Object(i["a"])({url:"/doctor/getDetail/".concat(t),method:"get"})}function T(t){return Object(i["a"])({url:"/trial/getReviewerTrialListByEnrollmentStatus",method:"post",data:t})}function P(t){return Object(i["a"])({url:"/Doctor/addDoctorCriterionFile",method:"post",data:t})}function R(t){return Object(i["a"])({url:"/Doctor/deleteDoctorCriterionFile",method:"post",data:t})}function D(t){return Object(i["a"])({url:"/Doctor/getDoctorCriterionFile",method:"post",data:t})}function j(t){return Object(i["a"])({url:"/TrialSiteSurvey/sendEmialVerifyCode",method:"post",data:t})}function A(t){return Object(i["a"])({url:"/TrialSiteSurvey/verifyEmialGetDoctorInfo",method:"post",data:t})}},"36fb":function(t,e,n){},"3a1d":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"basic-info"},[n("el-form",{staticClass:"demo-form-inline",attrs:{inline:!0,model:t.basicInfo,size:"small"}},[n("el-row",[n("el-col",{attrs:{span:6}},[n("el-form-item",{attrs:{label:"Surname:"}},[n("span",[t._v(t._s(t.basicInfo.LastName))])])],1),t._v(" "),n("el-col",{attrs:{span:6}},[n("el-form-item",{attrs:{label:"Given Name:"}},[n("span",[t._v(t._s(t.basicInfo.FirstName))])])],1),t._v(" "),n("el-col",{attrs:{span:6}},[n("el-form-item",{attrs:{label:"Name CN:"}},[n("span",[t._v(t._s(t.basicInfo.ChineseName))])])],1),t._v(" "),n("el-col",{attrs:{span:6}},[n("el-form-item",{attrs:{label:"ID:"}},[n("span",[t._v(t._s(t.basicInfo.ReviewerCode))])])],1)],1),t._v(" "),n("el-row",[n("el-col",{attrs:{span:6}},[n("el-form-item",{attrs:{label:"Gender:"}},[t.isEnglish?n("span",[t._v(t._s(0===t.basicInfo.Sex?"Male":"Female"))]):n("span",[t._v(t._s(0===t.basicInfo.Sex?"男":"女"))])])],1),t._v(" "),n("el-col",{attrs:{span:6}},[n("el-form-item",{attrs:{label:"Title:"}},[t.isEnglish?n("span",[t._v("\n "+t._s(Array.isArray(t.basicInfo.Title)&&t.basicInfo.Title.length>0?t.basicInfo.TitleList.join(", "):"")+"\n ")]):n("span",[t._v("\n "+t._s(Array.isArray(t.basicInfo.TitleCNList)&&t.basicInfo.TitleCNList.length>0?t.basicInfo.TitleCNList.join(", "):"")+"\n ")])])],1),t._v(" "),n("el-col",{attrs:{span:6}},[n("el-form-item",{attrs:{label:"Phone:"}},[n("span",[t._v(t._s(t.basicInfo.Phone))])])],1),t._v(" "),n("el-col",{attrs:{span:6}},[n("el-form-item",{attrs:{label:"Email:"}},[n("span",[t._v(t._s(t.basicInfo.EMail))])])],1)],1),t._v(" "),n("el-row",[n("el-col",{attrs:{span:6}},[n("el-form-item",{attrs:{label:"WeChat:"}},[n("span",[t._v(t._s(t.basicInfo.WeChat))])])],1)],1)],1)],1)},a=[],o={props:{basicInfo:{type:Object,default:function(){return{}}},isEnglish:{type:Boolean}}},r=o,s=(n("7a70"),n("2877")),l=Object(s["a"])(r,i,a,!1,null,null,null);e["default"]=l.exports},"451c":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"education-info"},[n("div",{staticClass:"title"},[t._v("Education (in chronological order)")]),t._v(" "),n("el-table",{staticStyle:{width:"100%","margin-top":"10px"},attrs:{data:t.educationList,border:"",size:"small"}},[n("el-table-column",{attrs:{type:"index",label:"No.",width:"45"}}),t._v(" "),n("el-table-column",{attrs:{prop:"BeginDateStr",label:"Start","min-width":"55","show-overflow-tooltip":""}}),t._v(" "),n("el-table-column",{attrs:{prop:"EndDateStr",label:"End","min-width":"55","show-overflow-tooltip":""}}),t._v(" "),n("el-table-column",{attrs:{prop:"Degree",label:"Degree","min-width":"70","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",{directives:[{name:"show",rawName:"v-show",value:e.row.Degree,expression:"scope.row.Degree"}]},[t._v("\n "+t._s(t.isEnglish?e.row.Degree:e.row.DegreeCN)+"\n ")])]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"Major",label:"Major","min-width":"130","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",{directives:[{name:"show",rawName:"v-show",value:e.row.Major,expression:"scope.row.Major"}]},[t._v("\n "+t._s(t.isEnglish?e.row.Major:e.row.MajorCN)+"\n ")])]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"Organization",label:"Institution","min-width":"150","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",{directives:[{name:"show",rawName:"v-show",value:e.row.Organization,expression:"scope.row.Organization"}]},[t._v("\n "+t._s(t.isEnglish?e.row.Organization:e.row.OrganizationCN)+"\n ")])]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"City",label:"City","min-width":"70","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",{directives:[{name:"show",rawName:"v-show",value:e.row.City,expression:"scope.row.City"}]},[t._v("\n "+t._s(t.isEnglish?e.row.City:e.row.CityCN)+"\n ")])]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"Province",label:"State/Province","min-width":"80","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",{directives:[{name:"show",rawName:"v-show",value:e.row.Province,expression:"scope.row.Province"}]},[t._v("\n "+t._s(t.isEnglish?e.row.Province:e.row.ProvinceCN)+"\n ")])]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"Country",label:"Country","min-width":"70","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",{directives:[{name:"show",rawName:"v-show",value:e.row.Country,expression:"scope.row.Country"}]},[t._v("\n "+t._s(t.isEnglish?e.row.Country:e.row.CountryCN)+"\n ")])]}}])})],1),t._v(" "),n("div",{staticClass:"title"},[t._v("Postgraduate Training (in chronological order)")]),t._v(" "),n("el-table",{staticStyle:{width:"100%"},attrs:{data:t.postgraduateList,border:"",size:"small"}},[n("el-table-column",{attrs:{type:"index",label:"No.",width:"45"}}),t._v(" "),n("el-table-column",{attrs:{prop:"BeginDateStr",label:"Start","min-width":"55","show-overflow-tooltip":""}}),t._v(" "),n("el-table-column",{attrs:{prop:"EndDateStr",label:"End","min-width":"55","show-overflow-tooltip":""}}),t._v(" "),n("el-table-column",{attrs:{prop:"Training",label:"Training","min-width":"70","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",{directives:[{name:"show",rawName:"v-show",value:e.row.Training,expression:"scope.row.Training"}]},[t._v("\n "+t._s(t.isEnglish?e.row.Training:e.row.TrainingCN)+"\n ")])]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"Major",label:"Specialty / Research Field","min-width":"140","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",{directives:[{name:"show",rawName:"v-show",value:e.row.Major,expression:"scope.row.Major"}]},[t._v("\n "+t._s(t.isEnglish?e.row.Major:e.row.MajorCN)+"\n ")])]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"Hospital",label:"Hospital","min-width":"110","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",{directives:[{name:"show",rawName:"v-show",value:e.row.Hospital,expression:"scope.row.Hospital"}]},[t._v("\n "+t._s(t.isEnglish?e.row.Hospital:e.row.HospitalCN)+"\n ")])]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"School",label:"University","min-width":"120","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",{directives:[{name:"show",rawName:"v-show",value:e.row.School,expression:"scope.row.School"}]},[t._v("\n "+t._s(t.isEnglish?e.row.School:e.row.SchoolCN)+"\n ")])]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"City",label:"City","min-width":"70","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",{directives:[{name:"show",rawName:"v-show",value:e.row.City,expression:"scope.row.City"}]},[t._v("\n "+t._s(t.isEnglish?e.row.City:e.row.CityCN)+"\n ")])]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"Province",label:"State/Province","min-width":"90","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",{directives:[{name:"show",rawName:"v-show",value:e.row.Province,expression:"scope.row.Province"}]},[t._v("\n "+t._s(t.isEnglish?e.row.Province:e.row.ProvinceCN)+"\n ")])]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"Country",label:"Country","min-width":"70","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",{directives:[{name:"show",rawName:"v-show",value:e.row.Country,expression:"scope.row.Country"}]},[t._v("\n "+t._s(t.isEnglish?e.row.Country:e.row.CountryCN)+"\n ")])]}}])})],1)],1)},a=[],o={props:{educationList:{type:Array,default:function(){return[]}},postgraduateList:{type:Array,default:function(){return[]}},isEnglish:{type:Boolean}},methods:{}},r=o,s=(n("27a6"),n("2877")),l=Object(s["a"])(r,i,a,!1,null,null,null);e["default"]=l.exports},4917:function(t,e,n){"use strict";var i=n("cb7c"),a=n("9def"),o=n("0390"),r=n("5f1b");n("214f")("match",1,(function(t,e,n,s){return[function(n){var i=t(this),a=void 0==n?void 0:n[e];return void 0!==a?a.call(n,i):new RegExp(n)[e](String(i))},function(t){var e=s(n,t,this);if(e.done)return e.value;var l=i(t),c=String(this);if(!l.global)return r(l,c);var u=l.unicode;l.lastIndex=0;var p,f=[],d=0;while(null!==(p=r(l,c))){var h=String(p[0]);f[d]=h,""===h&&(l.lastIndex=o(c,a(l.lastIndex),u)),d++}return 0===d?null:f}]}))},"4d89":function(t,e,n){"use strict";n("815e")},"4e13":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"research-info"},[n("el-form",{staticClass:"demo-form-inline",attrs:{model:t.researchInfo,size:"small"}},[n("el-form-item",{attrs:{label:"Field of Research:"}},[t.isEnglish?n("el-input",{attrs:{type:"textarea",autosize:"",readonly:""},model:{value:t.researchInfo.Research,callback:function(e){t.$set(t.researchInfo,"Research",e)},expression:"researchInfo.Research"}}):n("el-input",{attrs:{type:"textarea",autosize:"",readonly:""},model:{value:t.researchInfo.ResearchCN,callback:function(e){t.$set(t.researchInfo,"ResearchCN",e)},expression:"researchInfo.ResearchCN"}})],1),t._v(" "),n("el-form-item",{attrs:{label:"Grants:"}},[t.isEnglish?n("el-input",{attrs:{type:"textarea",autosize:"",readonly:""},model:{value:t.researchInfo.Grants,callback:function(e){t.$set(t.researchInfo,"Grants",e)},expression:"researchInfo.Grants"}}):n("el-input",{attrs:{type:"textarea",autosize:"",readonly:""},model:{value:t.researchInfo.GrantsCN,callback:function(e){t.$set(t.researchInfo,"GrantsCN",e)},expression:"researchInfo.GrantsCN"}})],1),t._v(" "),n("el-form-item",{attrs:{label:"Publications:"}},[n("el-input",{attrs:{type:"textarea",autosize:"",readonly:""},model:{value:t.researchInfo.Publications,callback:function(e){t.$set(t.researchInfo,"Publications",e)},expression:"researchInfo.Publications"}})],1),t._v(" "),n("el-form-item",{attrs:{label:"Awards & Honors:"}},[t.isEnglish?n("el-input",{attrs:{type:"textarea",autosize:"",readonly:""},model:{value:t.researchInfo.AwardsHonors,callback:function(e){t.$set(t.researchInfo,"AwardsHonors",e)},expression:"researchInfo.AwardsHonors"}}):n("el-input",{attrs:{type:"textarea",autosize:"",readonly:""},model:{value:t.researchInfo.AwardsHonorsCN,callback:function(e){t.$set(t.researchInfo,"AwardsHonorsCN",e)},expression:"researchInfo.AwardsHonorsCN"}})],1)],1)],1)},a=[],o={props:{researchInfo:{type:Object,default:function(){return{}}},isEnglish:{type:Boolean}}},r=o,s=(n("643c"),n("2877")),l=Object(s["a"])(r,i,a,!1,null,null,null);e["default"]=l.exports},"55dd":function(t,e,n){"use strict";var i=n("5ca1"),a=n("d8e8"),o=n("4bf8"),r=n("79e5"),s=[].sort,l=[1,2,3];i(i.P+i.F*(r((function(){l.sort(void 0)}))||!r((function(){l.sort(null)}))||!n("2f21")(s)),"Array",{sort:function(t){return void 0===t?s.call(o(this)):s.call(o(this),a(t))}})},5923:function(t,e,n){},"62bc":function(t,e,n){"use strict";n("e9c5")},"63a0":function(t,e,n){"use strict";n("36fb")},"643c":function(t,e,n){"use strict";n("19ec")},"670a":function(t,e,n){},7148:function(t,e,n){},"744a":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-container"},[t.isInit?n("resume-info"):t._e()],1)},a=[],o=n("e2f5"),r=n("a599"),s=n("4360"),l={components:{ResumeInfo:o["default"]},data:function(){return{isInit:!1}},mounted:function(){var t=Object(r["b"])("token");t&&(s["a"].dispatch("user/setToken",t),Object(r["a"])("token","")),this.isInit=!0}},c=l,u=(n("bd4d"),n("2877")),p=Object(u["a"])(c,i,a,!1,null,"c5f8bbf2",null);e["default"]=p.exports},7878:function(t,e,n){"use strict";n.r(e),n.d(e,"formatUTCTime",(function(){return i})),n.d(e,"fmtDate",(function(){return a})),n.d(e,"parseISOLocal",(function(){return o})),n.d(e,"FormatTime",(function(){return r})),n.d(e,"fn",(function(){return s})),n.d(e,"getLast3Month",(function(){return l})),n.d(e,"num2Money",(function(){return c})),n.d(e,"fomatFloat",(function(){return u}));n("6b54"),n("28a5"),n("3b2b"),n("a481");function i(t){if("0001-01-01T00:00:00Z"!==t){var e=new Date(t);return r(e,"yyyy-MM-dd")}return""}function a(t){var e=new Date(t),n=1900+e.getYear(),i="0"+(e.getMonth()+1),a="0"+e.getDate();return n+"-"+i.substring(i.length-2,i.length)+"-"+a.substring(a.length-2,a.length)}function o(t){var e=t.split(/\D/);return new Date(e[0],e[1]-1,e[2])}function r(t,e){var n={"y+":t.getFullYear(),"M+":t.getMonth()+1,"d+":t.getDate(),"h+":t.getHours(),"m+":t.getMinutes(),"s+":t.getSeconds(),"q+":Math.floor((t.getMonth()+3)/3),"S+":t.getMilliseconds()};for(var i in n)if(new RegExp("("+i+")").test(e))if("y+"===i)e=e.replace(RegExp.$1,(""+n[i]).substr(4-RegExp.$1.length));else if("S+"===i){var a=RegExp.$1.length;a=1===a?3:a,e=e.replace(RegExp.$1,("00"+n[i]).substr((""+n[i]).length-1,a))}else e=e.replace(RegExp.$1,1===RegExp.$1.length?n[i]:("00"+n[i]).substr((""+n[i]).length));return e}function s(t){var e=new Date(t),n=t.toString().length;if(n<13){var i=13-n;i=Math.pow(10,i),e=new Date(t*i)}var a=e.getFullYear()+"-",o=e.getMonth()+1;o=(o<10?"0"+o:o)+"-";var r=e.getDate();r=(r<10?"0"+r:r)+" ";var s=e.getHours();s=(s<10?"0"+s:s)+":";var l=e.getMinutes();l=(l<10?"0"+l:l)+":";var c=e.getSeconds();return c=c<10?"0"+c:c,a+o+r+s+l+c}function l(){var t=new Date,e=t.getFullYear(),n=t.getMonth()+1,i=t.getDate(),a={};return parseInt(n)<10&&(n="0"+n),parseInt(i)<10&&(i="0"+i),a.now=e+"-"+n,1===parseInt(n)?(a.last=parseInt(e)-1+"-10",a):2===parseInt(n)?(a.last=parseInt(e)-1+"-11",a):3===parseInt(n)?(a.last=parseInt(e)-1+"-12",a):(a.last=e+"-0"+(parseInt(n)-3),a)}function c(t,e,n){if(null==t)return"0.0";t=t.toString().replace(/\$|\,/g,""),isNaN(t)&&(t="0");var i=t===(t=Math.abs(t));t=Math.floor(t*Math.pow(10,e)+.50000000001);var a=t%Math.pow(10,e);t=Math.floor(t/Math.pow(10,e)).toString(),a=a.toString();while(a.length<e)a="0"+a;if(n)for(var o=0;o<Math.floor((t.length-(1+o))/3);o++)t=t.substring(0,t.length-(4*o+3))+","+t.substring(t.length-(4*o+3));return e>0?(i?"":"-")+t+"."+a:(i?"":"-")+t}function u(t,e){return Math.round(t*Math.pow(10,e))/Math.pow(10,e)}Date.prototype.format=function(t){var e={"M+":this.getMonth()+1,"d+":this.getDate(),"h+":this.getHours(),"m+":this.getMinutes(),"s+":this.getSeconds(),"q+":Math.floor((this.getMonth()+3)/3),S:this.getMilliseconds()};for(var n in/(y+)/.test(t)&&(t=t.replace(RegExp.$1,(this.getFullYear()+"").substr(4-RegExp.$1.length))),e)new RegExp("("+n+")").test(t)&&(t=t.replace(RegExp.$1,1===RegExp.$1.length?e[n]:("00"+e[n]).substr((""+e[n]).length)));return t}},"7a70":function(t,e,n){"use strict";n("910c")},"7f1c":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"specialty-info"},[n("el-form",{staticClass:"demo-form-inline",attrs:{model:t.specialty,size:"small"}},[n("el-form-item",{attrs:{label:"Specialty:"}},[t.isEnglish?n("span",[t._v(t._s(t.specialty.Speciality))]):n("span",[t._v(t._s(t.specialty.SpecialityCN))])]),t._v(" "),n("el-form-item",{attrs:{label:"Subspeciality:"}},[t.isEnglish?n("span",[t._v(t._s(t.specialty.Subspeciality))]):n("span",[t._v(t._s(t.specialty.SubspecialityCNList))])]),t._v(" "),n("el-form-item",{attrs:{label:"Modality:"}},[t.isEnglish?n("span",[t._v(t._s(t.specialty.ReadingType))]):n("span",[t._v(t._s(t.specialty.ReadingTypeCNList))])])],1)],1)},a=[],o={props:{specialty:{type:Object,default:function(){return{}}},isEnglish:{type:Boolean}}},r=o,s=(n("62bc"),n("2877")),l=Object(s["a"])(r,i,a,!1,null,null,null);e["default"]=l.exports},"815e":function(t,e,n){},8377:function(t,e,n){"use strict";n("670a")},"850c":function(t,e,n){},"89ff":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"resume-info"},[n("el-table",{staticStyle:{"margin-top":"10px"},attrs:{data:t.list,size:"small"}},[n("el-table-column",{attrs:{type:"index",label:"No.",width:"50"}}),t._v(" "),n("el-table-column",{attrs:{prop:"FileName",label:"File Name","min-width":"60","show-overflow-tooltip":""}}),t._v(" "),n("el-table-column",{attrs:{prop:"Isoffical",label:"Offical","min-width":"50",formatter:t.officalFormatter,"show-overflow-tooltip":""}}),t._v(" "),n("el-table-column",{attrs:{prop:"Language",label:"Language","min-width":"50","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(1===e.row.Language?"CH":2===e.row.Language?"EN":"")+"\n ")]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"CreateTime",label:"Upload Time","min-width":"60","show-overflow-tooltip":""}}),t._v(" "),n("el-table-column",{attrs:{label:"Action","min-width":"150"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-button",{attrs:{type:"text",size:"small"},on:{click:function(n){return t.preview(e.$index,e.row)}}},[t._v("Download")])]}}])})],1)],1)},a=[],o=(n("ac6a"),{props:{resumeList:{type:Array,default:function(){return[]}}},data:function(){return{list:[]}},created:function(){this.list=this.filterResume(this.resumeList)},methods:{filterResume:function(t){var e=[];return t.length>0&&t.forEach((function(t){"Resume"===t.Type&&e.push(t)})),e},preview:function(t,e){var n=e.FullPath;n&&window.open(n,"_blank")},timeFormatter:function(t){return new Date(t.CreateTime).format("yyyy-MM-dd hh:mm:ss")},officalFormatter:function(t,e){return t.IsOfficial?"Yes":"No"}}}),r=o,s=(n("63a0"),n("2877")),l=Object(s["a"])(r,i,a,!1,null,null,null);e["default"]=l.exports},"910c":function(t,e,n){},9159:function(t,e,n){"use strict";n("5923")},a599:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return changeURLStatic})),__webpack_require__.d(__webpack_exports__,"b",(function(){return getQueryString}));var core_js_modules_es6_regexp_split__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("28a5"),core_js_modules_es6_regexp_split__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(core_js_modules_es6_regexp_split__WEBPACK_IMPORTED_MODULE_0__),core_js_modules_es6_regexp_match__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("4917"),core_js_modules_es6_regexp_match__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(core_js_modules_es6_regexp_match__WEBPACK_IMPORTED_MODULE_1__),core_js_modules_es6_regexp_to_string__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("6b54"),core_js_modules_es6_regexp_to_string__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(core_js_modules_es6_regexp_to_string__WEBPACK_IMPORTED_MODULE_2__),core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("a481"),core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_3__);function changeURLStatic(name,value){var url=location.href,reg=eval("/([?|&]"+name+"=)[^&]*/gi"),url2="";value=value.toString().replace(/(^\s*)|(\s*$)/g,""),url2=value?url.match(reg)?url.replace(reg,"$1"+value):url+(url.indexOf("?")>-1?"&":"?")+name+"="+value:url.replace(reg,""),history.replaceState(null,null,url2)}function getQueryString(t){var e=window.location.href,n=e.split("?");if(n.length>1){n=n[1].split("&");for(var i=0;i<n.length;i++){var a=n[i].split("=");if(a[0]==t)return a[1]}return null}return null}},a89d:function(t,e,n){"use strict";n("7148")},aacc:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"education-info"},[n("div",{staticClass:"btn-wrapper"},[n("el-button",{staticStyle:{"margin-left":"auto"},attrs:{size:"small",disabled:0==t.checkID.length},on:{click:t.downloadAttachement}},[t._v("Download")])],1),t._v(" "),n("el-table",{attrs:{data:t.tblList,"span-method":t.objectSpanMethod,size:"small"},on:{"selection-change":t.selectMore}},[n("el-table-column",{attrs:{type:"selection",align:"left",width:"50"}}),t._v(" "),n("el-table-column",{attrs:{type:"index",label:"No.",width:"50"}}),t._v(" "),n("el-table-column",{attrs:{prop:"Type",label:"Type","min-width":"50","show-overflow-tooltip":""}}),t._v(" "),n("el-table-column",{attrs:{prop:"FileName",label:"File Name","min-width":"80","show-overflow-tooltip":""}}),t._v(" "),n("el-table-column",{attrs:{prop:"CreateTime",label:"Upload Time","min-width":"50","show-overflow-tooltip":""}}),t._v(" "),n("el-table-column",{attrs:{label:"Action","min-width":"150"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-button",{attrs:{type:"text",size:"small"},on:{click:function(n){return t.preview(e.$index,e.row)}}},[t._v("View")])]}}])})],1)],1)},a=[],o=(n("ac6a"),n("33ba")),r={props:{attachmentList:{type:Array,default:function(){return[]}},doctorId:{type:String,default:""}},data:function(){return{tblList:[],checkID:[],spanArr:[],pos:0}},created:function(){this.tblList=this.filterListByType(this.attachmentList),this.getSpanArr(this.tblList)},methods:{filterListByType:function(t){var e=[];return t.length>0&&(t.forEach((function(t){"Diploma of the highest medical degree"===t.Type&&e.push(t)})),t.forEach((function(t){"Medical Qualification Certificate"===t.Type&&e.push(t)})),t.forEach((function(t){"Practice License"===t.Type&&e.push(t)})),t.forEach((function(t){"Modality Certificate(CT)"===t.Type&&e.push(t)})),t.forEach((function(t){"Modality Certificate(MRI)"===t.Type&&e.push(t)})),t.forEach((function(t){"Modality Certificate(NM)"===t.Type&&e.push(t)})),t.forEach((function(t){"Modality Certificate(US)"===t.Type&&e.push(t)}))),e},downloadAttachement:function(){Object(o["m"])(this.doctorId,this.checkID).then((function(t){if(t.IsSuccess){var e=t.Result.FullFilePath;window.open(e)}}))},preview:function(t,e){var n=e.FullPath;n&&window.open(n,"_blank")},selectMore:function(t){for(var e=[],n=0;n<t.length;n++)e.push(t[n].Id);this.checkID=e},getSpanArr:function(t){for(var e=0;e<t.length;e++)0===e?(this.spanArr.push(1),this.pos=0):t[e].Type===t[e-1].Type?(this.spanArr[this.pos]+=1,this.spanArr.push(0)):(this.spanArr.push(1),this.pos=e)},objectSpanMethod:function(t){t.row,t.column;var e=t.rowIndex,n=t.columnIndex;if(2===n){var i=this.spanArr[e],a=i>0?1:0;return{rowspan:i,colspan:a}}if(3===n){var o=this.spanArr[e],r=o>0?1:0;return{rowspan:o,colspan:r}}if(4===n){var s=this.spanArr[e],l=s>0?1:0;return{rowspan:s,colspan:l}}},timeFormatter:function(t){return new Date(t.UpdateTime).format("yyyy-MM-dd hh:mm:ss")}}},s=r,l=(n("a89d"),n("2877")),c=Object(l["a"])(s,i,a,!1,null,null,null);e["default"]=c.exports},b0f2:function(t,e,n){"use strict";n("bb6c")},b300:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"trialExperience-info"},[n("div",{staticClass:"title"},[t._v("Clinical Trial Experience")]),t._v(" "),n("el-table",{staticStyle:{width:"100%"},attrs:{data:t.GCPList,border:"",size:"small"}},[n("el-table-column",{attrs:{type:"index",label:"No.",width:"50"}}),t._v(" "),n("el-table-column",{attrs:{prop:"Phase",label:"Phase","min-width":"20","show-overflow-tooltip":""}}),t._v(" "),n("el-table-column",{attrs:{prop:"EvaluationCriteriaList",label:"Review Criteria","min-width":"40","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.EvaluationCriteriaList.length>0?e.row.EvaluationCriteriaList.join(", "):"")+"\n ")]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"VisitReadingCount",label:"Visit Reading Count","min-width":"150","show-overflow-tooltip":""}}),t._v(" "),n("el-table-column",{attrs:{prop:"EvaluationContent",label:"Indication","min-width":"150","show-overflow-tooltip":""}})],1),t._v(" "),n("el-form",{staticClass:"demo-form-inline",attrs:{model:t.form,size:"small"}},[n("el-form-item",{attrs:{label:"GCP Certificate:"}},[n("span",[t._v(t._s(t.GCP))]),t._v(" "),t.form.GCP?n("a",{staticClass:"view",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.previewGCP()}}},[t._v("View")]):t._e()]),t._v(" "),n("el-form-item",{attrs:{label:"Other Relevant Experience:"}},[t.isEnglish?n("el-input",{attrs:{type:"textarea",autosize:"",readonly:""},model:{value:t.form.OtherClinicalExperience,callback:function(e){t.$set(t.form,"OtherClinicalExperience",e)},expression:"form.OtherClinicalExperience"}}):n("el-input",{attrs:{type:"textarea",autosize:"",readonly:""},model:{value:t.form.OtherClinicalExperienceCN,callback:function(e){t.$set(t.form,"OtherClinicalExperienceCN",e)},expression:"form.OtherClinicalExperienceCN"}})],1)],1)],1)},a=[],o={props:{trialExperience:{type:Object,default:function(){return{}}},isEnglish:{type:Boolean}},data:function(){return{GCPList:[],form:{},GCP:"",GCPPath:""}},mounted:function(){this.GCPList=this.trialExperience.ClinicalTrialExperienceList,this.form=this.trialExperience,this.GCP=this.trialExperience.GCP?"Yes":"No",this.trialExperience.GCP&&(this.GCPPath=this.trialExperience.GCPFullPath)},methods:{previewGCP:function(){this.GCPPath&&window.open(this.GCPPath,"_blank")}}},r=o,s=(n("8377"),n("2877")),l=Object(s["a"])(r,i,a,!1,null,null,null);e["default"]=l.exports},b78b:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"employment-info"},[n("el-form",{staticClass:"demo-form-inline",attrs:{inline:!0,model:t.employment,size:"small"}},[n("el-row",[n("el-col",{attrs:{span:6}},[n("el-form-item",{attrs:{label:"Department:"}},[t.isEnglish?n("span",[t._v(t._s(t.employment.Department))]):n("span",[t._v(t._s(t.employment.DepartmentCN))])])],1),t._v(" "),n("el-col",{attrs:{span:6}},[n("el-form-item",{attrs:{label:"Rank:"}},[t.isEnglish?n("span",[t._v(t._s(t.employment.Rank))]):n("span",[t._v(t._s(t.employment.RankCN))])])],1),t._v(" "),n("el-col",{attrs:{span:6}},[n("el-form-item",{attrs:{label:"Physician:"}},[t.isEnglish?n("span",[t._v(t._s(t.employment.Physician))]):n("span",[t._v(t._s(t.employment.PhysicianCN))])])],1),t._v(" "),n("el-col",{attrs:{span:6}},[n("el-form-item",{attrs:{label:"Position:"}},[t.isEnglish?n("span",[t._v(t._s(t.employment.Position))]):n("span",[t._v(t._s(t.employment.PositionCN))])])],1)],1),t._v(" "),n("el-row",[n("el-col",{attrs:{span:6}},[n("el-form-item",{attrs:{label:"Hospital:"}},[t.isEnglish?n("span",[t._v(t._s(t.employment.HospitalName))]):n("span",[t._v(t._s(t.employment.HospitalNameCN))])])],1),t._v(" "),n("el-col",{attrs:{span:6}},[n("el-form-item",{attrs:{label:"Affiliated University:"}},[t.isEnglish?n("span",[t._v(t._s(t.employment.UniversityAffiliated))]):n("span",[t._v(t._s(t.employment.UniversityAffiliatedCN))])])],1),t._v(" "),n("el-col",{attrs:{span:6}},[n("el-form-item",{attrs:{label:"City:"}},[t.isEnglish?n("span",[t._v(t._s(t.employment.City))]):n("span",[t._v(t._s(t.employment.CityCN))])])],1),t._v(" "),n("el-col",{attrs:{span:6}},[n("el-form-item",{attrs:{label:"State/Province:"}},[t.isEnglish?n("span",[t._v(t._s(t.employment.Province))]):n("span",[t._v(t._s(t.employment.ProvinceCN))])])],1),t._v(" "),n("el-col",{attrs:{span:6}},[n("el-form-item",{attrs:{label:"Country:"}},[t.isEnglish?n("span",[t._v(t._s(t.employment.Country))]):n("span",[t._v(t._s(t.employment.CountryCN))])])],1)],1)],1)],1)},a=[],o={props:{employment:{type:Object,default:function(){return{}}},isEnglish:{type:Boolean}}},r=o,s=(n("4d89"),n("2877")),l=Object(s["a"])(r,i,a,!1,null,null,null);e["default"]=l.exports},b79c:function(t,e,n){},bb6c:function(t,e,n){},bd4d:function(t,e,n){"use strict";n("b79c")},be0c:function(t,e,n){},d4c3:function(t,e,n){"use strict";n("fccc")},e2f5:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"loading",rawName:"v-loading",value:t.pageLoading,expression:"pageLoading"}],staticStyle:{height:"100%",display:"flex","flex-direction":"column"}},[n("div",{staticStyle:{height:"50px"}},[n("div",{staticStyle:{"text-align":"right"}},[n("el-switch",{staticStyle:{"margin-right":"20px"},attrs:{"active-text":"EN","inactive-text":"中文"},model:{value:t.isEnglish,callback:function(e){t.isEnglish=e},expression:"isEnglish"}})],1),t._v(" "),n("div",{staticStyle:{"text-align":"center"}},[n("h3",[t._v(t._s(t.title))])])]),t._v(" "),n("div",{staticStyle:{flex:"1","margin-top":"50px","overflow-y":"auto"}},[n("el-collapse",{model:{value:t.activeNames,callback:function(e){t.activeNames=e},expression:"activeNames"}},[n("status-info",{attrs:{"basic-info":t.basicInfo,"status-list":t.statusList,"doctor-id":t.doctorId,holiday:t.holiday,"is-english":t.isEnglish}}),t._v(" "),n("el-collapse-item",{attrs:{title:"Basic Info",name:"1"}},[n("basic-info",{attrs:{"basic-info":t.doctorInfo.BasicInfoView,"is-english":t.isEnglish}})],1),t._v(" "),n("el-collapse-item",{attrs:{title:"Employment",name:"2"}},[n("Employment",{attrs:{employment:t.workInfo,"is-english":t.isEnglish}})],1),t._v(" "),n("el-collapse-item",{attrs:{title:"Specialty",name:"3"}},[n("Specialty",{attrs:{specialty:t.specialtyList,"is-english":t.isEnglish}})],1),t._v(" "),n("el-collapse-item",{attrs:{title:"Education & Training",name:"4"}},[n("education-training",{attrs:{"education-list":t.doctorInfo.EducationList,"postgraduate-list":t.doctorInfo.PostgraduateList,"is-english":t.isEnglish}})],1),t._v(" "),n("el-collapse-item",{attrs:{title:"Research & Publication",name:"5"}},[n("research-publication",{attrs:{"research-info":t.doctorInfo.ResearchPublicationView,"is-english":t.isEnglish}})],1),t._v(" "),n("el-collapse-item",{attrs:{title:"Trial Experience",name:"6"}},[t.doctorInfo.TrialExperienceView?n("trial-experience",{attrs:{"trial-experience":t.doctorInfo.TrialExperienceView,"is-english":t.isEnglish}}):t._e()],1),t._v(" "),n("el-collapse-item",{attrs:{title:"Credentials",name:"7"}},[t.doctorInfo.AttachmentList?n("Credentials",{attrs:{"attachment-list":t.doctorInfo.AttachmentList,"doctor-id":t.doctorId}}):t._e()],1),t._v(" "),n("el-collapse-item",{attrs:{title:"Resume",name:"8"}},[t.doctorInfo.AttachmentList?n("Resume",{attrs:{"resume-list":t.doctorInfo.AttachmentList}}):t._e()],1),t._v(" "),n("el-collapse-item",{attrs:{title:"Agreements",name:"9"}},[t.doctorInfo.AttachmentList?n("Agreements",{attrs:{"doctor-info":t.doctorInfo}}):t._e()],1),t._v(" "),n("el-collapse-item",{attrs:{title:"Comment",name:"10"}},[n("Comment",{attrs:{"status-list":t.statusList}})],1)],1)],1)])},a=[],o=n("33ba"),r=n("2c29"),s=n("3a1d"),l=n("b78b"),c=n("7f1c"),u=n("451c"),p=n("4e13"),f=n("b300"),d=n("aacc"),h=n("89ff"),m=n("14e2"),_=n("0b29"),v={components:{StatusInfo:r["default"],BasicInfo:s["default"],Employment:l["default"],Specialty:c["default"],EducationTraining:u["default"],ResearchPublication:p["default"],TrialExperience:f["default"],Credentials:d["default"],Resume:h["default"],Agreements:m["default"],Comment:_["default"]},data:function(){return{isEnglish:!0,htmlTitle:"",title:"",holiday:"",loading:!1,activeNames:["1","2","3","4","5","6","7","8","9","10"],statusList:{},basicInfo:{},workInfo:{},researchInfo:{},certificateTbl:[],resumeList:[],specialtyList:{Speciality:"",ReadingType:"",Subspeciality:""},doctorInfo:{},agreementList:[],pageLoading:!1,doctorId:""}},mounted:function(){this.isEnglish=!(!0!==this.$route.query.isEnglish&&"true"!==this.$route.query.isEnglish),this.doctorId=this.$route.query.doctorId,this.initForm()},methods:{initStatus:function(){if(this.doctorInfo.AuditView){var t=this.doctorInfo.AuditView;this.statusList.ResumeStatus=0===t.ResumeStatus?"":1===t.ResumeStatus?"Yes":"No",this.statusList.CooperateStatus=0===t.CooperateStatus?"":1===t.CooperateStatus?"Yes":"No",this.statusList.ReviewStatus=0===t.ReviewStatus?"":1===t.ReviewStatus?"Yes":"No",this.statusList.AcceptingNewTrial=t.AcceptingNewTrial?"Yes":"No",this.statusList.ActivelyReading=t.ActivelyReading?"Yes":"No",this.statusList.AdminComment=t.AdminComment,this.statusList.Submitted=this.doctorInfo.IntoGroupInfo?this.doctorInfo.IntoGroupInfo.Submitted:0,this.statusList.Approved=this.doctorInfo.IntoGroupInfo?this.doctorInfo.IntoGroupInfo.Approved:0,this.statusList.Reading=this.doctorInfo.IntoGroupInfo?this.doctorInfo.IntoGroupInfo.Reading:0}},initEmploymentInfo:function(){this.doctorInfo.EmploymentView&&(this.workInfo=this.doctorInfo.EmploymentView,this.workInfo.Department="ef84e9cb-f1a6-49d7-b6da-34be2c12abd5"===this.workInfo.DepartmentId?this.workInfo.DepartmentOther?this.workInfo.DepartmentOther:"Other":this.workInfo.Department,this.workInfo.DepartmentCN="ef84e9cb-f1a6-49d7-b6da-34be2c12abd5"===this.workInfo.DepartmentId?this.workInfo.DepartmentOtherCN:this.workInfo.DepartmentCN,this.workInfo.RankOther=this.workInfo.RankOther?"Other - "+this.workInfo.RankOther:"Other",this.workInfo.Rank="ef84e9cb-f1a6-49d7-b6da-34be2c12abd5"===this.workInfo.RankId?this.workInfo.RankOther:this.workInfo.Rank,this.workInfo.RankCN="ef84e9cb-f1a6-49d7-b6da-34be2c12abd5"===this.workInfo.RankId?this.workInfo.RankOtherCN:this.workInfo.RankCN,"ef84e9cb-f1a6-49d7-b6da-34be2c12abd5"===this.workInfo.PositionId?(this.workInfo.Position=this.workInfo.PositionOther,this.workInfo.PositionCN=this.workInfo.PositionOtherCN):"f30a074b-2b47-4a92-97ec-e15086d37883"===this.workInfo.PositionId?this.workInfo.Position="None":(this.workInfo.Position=this.workInfo.Position,this.workInfo.PositionCN=this.workInfo.PositionCN),this.workInfo.PositionOther=this.workInfo.PositionOther?"Other - "+this.workInfo.PositionOther:"Other")},initSpecialtyInfo:function(){if(this.doctorInfo.SpecialtyView){var t=this.doctorInfo.SpecialtyView;this.specialtyList.Department=t.DepartmentName?t.DepartmentName:"Other-"+t.DepartmentOther,t.ReadingTypeOther&&t.ReadingTypeList.push("Other-"+t.ReadingTypeOther),this.specialtyList.ReadingType=t.ReadingTypeList.length>0?t.ReadingTypeList.join(", "):"",t.ReadingTypeOtherCN&&t.ReadingTypeCNList.push(t.ReadingTypeOtherCN),this.specialtyList.ReadingTypeCNList=t.ReadingTypeCNList.length>0?t.ReadingTypeCNList.join(", "):"",t.SubspecialityOther&&t.SubspecialityList.push("Other-"+t.SubspecialityOther),t.SubspecialityOtherCN&&t.SubspecialityCNList.push(t.SubspecialityOtherCN),this.specialtyList.Subspeciality=t.SubspecialityList.length>0?t.SubspecialityList.join(", "):"",this.specialtyList.SubspecialityCNList=t.SubspecialityCNList.length>0?t.SubspecialityCNList.join(", "):"",this.specialtyList.Speciality="ef84e9cb-f1a6-49d7-b6da-34be2c12abd5"===t.SpecialityId?"Other-"+t.SpecialityOther:t.Speciality,this.specialtyList.SpecialityCN="ef84e9cb-f1a6-49d7-b6da-34be2c12abd5"===t.SpecialityId?t.SpecialityOtherCN:t.SpecialityCN}},initForm:function(){var t=this;this.doctorId&&(this.pageLoading=!0,Object(o["q"])(this.doctorId).then((function(e){t.pageLoading=!1,e.IsSuccess&&e.Result&&(t.holiday=e.Result.InHoliday?"Yes":"No",t.doctorInfo=e.Result,t.title="".concat(t.doctorInfo.BasicInfoView.FirstName," ").concat(t.doctorInfo.BasicInfoView.LastName,"'s Details"),t.htmlTitle=t.title,t.initStatus(),t.initEmploymentInfo(),t.initSpecialtyInfo())})))}}},b=v,w=(n("d4c3"),n("2877")),g=Object(w["a"])(b,i,a,!1,null,"baf50954",null);e["default"]=g.exports},e51b:function(t,e,n){"use strict";n("850c")},e9c5:function(t,e,n){},fccc:function(t,e,n){}}]); |