1 line
138 KiB
JavaScript
1 line
138 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6b34a22a","chunk-7b7f8780"],{"08a6":function(e,t,a){"use strict";a("55c6")},"14b9":function(e,t,a){var i=a("5ca1");i(i.P,"String",{repeat:a("9744")})},1772:function(e,t,a){},"1bd1":function(e,t,a){},2021:function(e,t,a){"use strict";a.r(t);var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"form-container"},[a("div",{staticClass:"title-wrapper"},[a("p",[e._v("Education (in chronological order)")]),e._v(" "),a("el-button",{staticClass:"add",attrs:{disabled:"1"===e.$route.query.ReviewStatus,size:"small"},on:{click:e.handleAddEducation}},[e._v("Add")])],1),e._v(" "),a("el-table",{ref:"educationTbl",staticClass:"table",attrs:{data:e.educationList,border:"",size:"small"}},[a("el-table-column",{attrs:{type:"index",width:"30"}}),e._v(" "),a("el-table-column",{attrs:{prop:"BeginDateStr",label:"Start","min-width":"55","show-overflow-tooltip":""}}),e._v(" "),a("el-table-column",{attrs:{prop:"EndDateStr",label:"End","min-width":"55","show-overflow-tooltip":""}}),e._v(" "),a("el-table-column",{attrs:{prop:"Degree",label:"Degree","min-width":"70","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.DegreeCN?t.row.Degree+" / "+t.row.DegreeCN:t.row.Degree)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"Major",label:"Major","min-width":"120","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.MajorCN?t.row.Major+" / "+t.row.MajorCN:t.row.Major)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"Organization",label:"Institution","min-width":"150","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.OrganizationCN?t.row.Organization+" / "+t.row.OrganizationCN:t.row.Organization)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"City",label:"City","min-width":"90","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.CityCN?t.row.City+" / "+t.row.CityCN:t.row.City)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"Province",label:"State/Province","min-width":"90","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.ProvinceCN?t.row.Province+" / "+t.row.ProvinceCN:t.row.Province)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"Country",label:"Country","min-width":"80","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.CountryCN?t.row.Country+" / "+t.row.CountryCN:t.row.Country)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"Operation","min-width":"120"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text",size:"small",disabled:"1"===e.$route.query.ReviewStatus},on:{click:function(a){return e.handleEducationEdit(t.row)}}},[e._v("Edit")]),e._v(" "),a("el-button",{attrs:{type:"text",size:"small",disabled:"1"===e.$route.query.ReviewStatus},on:{click:function(a){return e.handleEducationDelete(t.row)}}},[e._v("Delete")])]}}])})],1),e._v(" "),a("div",{staticClass:"title-wrapper",staticStyle:{"margin-top":"40px"}},[a("p",[e._v("Postgraduate Training (in chronological order)")]),e._v(" "),a("el-button",{staticClass:"add",attrs:{size:"small",disabled:"1"===e.$route.query.ReviewStatus},on:{click:e.handleAddPostgraduate}},[e._v("Add")])],1),e._v(" "),a("el-table",{ref:"postgraduateTbl",staticClass:"table",attrs:{data:e.postgraduateList,border:"",size:"small"}},[a("el-table-column",{attrs:{type:"index",width:"30"}}),e._v(" "),a("el-table-column",{attrs:{prop:"BeginDateStr",label:"Start","min-width":"55","show-overflow-tooltip":""}}),e._v(" "),a("el-table-column",{attrs:{prop:"EndDateStr",label:"End","min-width":"55","show-overflow-tooltip":""}}),e._v(" "),a("el-table-column",{attrs:{prop:"Training",label:"Training","min-width":"70","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.TrainingCN?t.row.Training+" / "+t.row.TrainingCN:t.row.Training)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"Major",label:"Specialty/Research Field","min-width":"155","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.MajorCN?t.row.Major+" / "+t.row.MajorCN:t.row.Major)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"Hospital",label:"Hospital","min-width":"120","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.HospitalCN?t.row.Hospital+" / "+t.row.HospitalCN:t.row.Hospital)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"School",label:"University","min-width":"120","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.SchoolCN?t.row.School+" / "+t.row.SchoolCN:t.row.School)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"City",label:"City","min-width":"100","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.CityCN?t.row.City+" / "+t.row.CityCN:t.row.City)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"Province",label:"State/Province","min-width":"100","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.ProvinceCN?t.row.Province+" / "+t.row.ProvinceCN:t.row.Province)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"Country",label:"Country","min-width":"90","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.CountryCN?t.row.Country+" / "+t.row.CountryCN:t.row.Country)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"Operation","min-width":"120"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text",size:"small",disabled:"1"===e.$route.query.ReviewStatus},on:{click:function(a){return e.handlePostgraduateEdit(t.row)}}},[e._v("Edit")]),e._v(" "),a("el-button",{attrs:{type:"text",size:"small",disabled:"1"===e.$route.query.ReviewStatus},on:{click:function(a){return e.handlePostgraduateDelete(t.row)}}},[e._v("Delete")])]}}])})],1),e._v(" "),e.educationDialogVisible?a("el-dialog",{attrs:{title:e.educationDialogTitle,visible:e.educationDialogVisible,width:"40%","close-on-click-modal":!1},on:{"update:visible":function(t){e.educationDialogVisible=t}}},[e.educationDialogVisible?a("el-form",{ref:"educationForm",attrs:{size:"small","label-width":"120px",model:e.educationForm,rules:e.educationRules}},[a("el-form-item",{attrs:{label:"Start",prop:"BeginDate"}},[a("el-date-picker",{attrs:{type:"month",placeholder:"select date","value-format":"yyyy-MM",format:"yyyy-MM",size:"small","picker-options":e.beginPickerOption},model:{value:e.educationForm.BeginDate,callback:function(t){e.$set(e.educationForm,"BeginDate",t)},expression:"educationForm.BeginDate"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"End",prop:"EndDate"}},[a("el-date-picker",{attrs:{type:"month",placeholder:"select date","value-format":"yyyy-MM",format:"yyyy-MM",size:"small","picker-options":e.endpickerOption},model:{value:e.educationForm.EndDate,callback:function(t){e.$set(e.educationForm,"EndDate",t)},expression:"educationForm.EndDate"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"Degree",prop:"Degree"}},[a("el-select",{attrs:{placeholder:"Please select",size:"small"},model:{value:e.educationForm.Degree,callback:function(t){e.$set(e.educationForm,"Degree",t)},expression:"educationForm.Degree"}},e._l(e.degreeOptions,(function(e){return a("el-option",{key:e.value,attrs:{label:e.value,value:e.value}})})),1)],1),e._v(" "),a("el-form-item",{attrs:{label:"Major",prop:"Major"}},[a("el-row",{attrs:{type:"flex",justify:"space-between"}},[a("el-col",{attrs:{span:11}},[a("el-input",{attrs:{placeholder:"请注明 in English",size:"small"},model:{value:e.educationForm.Major,callback:function(t){e.$set(e.educationForm,"Major",t)},expression:"educationForm.Major"}})],1),e._v(" "),a("el-col",{attrs:{span:11}},[a("el-input",{attrs:{placeholder:"请用中文注明",size:"small"},model:{value:e.educationForm.MajorCN,callback:function(t){e.$set(e.educationForm,"MajorCN",t)},expression:"educationForm.MajorCN"}})],1)],1)],1),e._v(" "),a("el-form-item",{attrs:{label:"Institution",prop:"Organization"}},[a("el-row",{attrs:{type:"flex",justify:"space-between"}},[a("el-col",{attrs:{span:11}},[a("el-input",{attrs:{placeholder:"请注明 in English",size:"small"},model:{value:e.educationForm.Organization,callback:function(t){e.$set(e.educationForm,"Organization",t)},expression:"educationForm.Organization"}})],1),e._v(" "),a("el-col",{attrs:{span:11}},[a("el-input",{attrs:{placeholder:"请用中文注明",size:"small"},model:{value:e.educationForm.OrganizationCN,callback:function(t){e.$set(e.educationForm,"OrganizationCN",t)},expression:"educationForm.OrganizationCN"}})],1)],1)],1),e._v(" "),a("el-form-item",{attrs:{label:"City",prop:"City"}},[a("el-row",{attrs:{type:"flex",justify:"space-between"}},[a("el-col",{attrs:{span:11}},[a("el-input",{attrs:{placeholder:"请注明 in English",size:"small"},model:{value:e.educationForm.City,callback:function(t){e.$set(e.educationForm,"City",t)},expression:"educationForm.City"}})],1),e._v(" "),a("el-col",{attrs:{span:11}},[a("el-input",{attrs:{placeholder:"请用中文注明",size:"small"},model:{value:e.educationForm.CityCN,callback:function(t){e.$set(e.educationForm,"CityCN",t)},expression:"educationForm.CityCN"}})],1)],1)],1),e._v(" "),a("el-form-item",{attrs:{label:"State/Province",prop:"Province"}},[a("el-row",{attrs:{type:"flex",justify:"space-between"}},[a("el-col",{attrs:{span:11}},[a("el-input",{attrs:{placeholder:"请注明 in English",size:"small"},model:{value:e.educationForm.Province,callback:function(t){e.$set(e.educationForm,"Province",t)},expression:"educationForm.Province"}})],1),e._v(" "),a("el-col",{attrs:{span:11}},[a("el-input",{attrs:{placeholder:"请用中文注明",size:"small"},model:{value:e.educationForm.ProvinceCN,callback:function(t){e.$set(e.educationForm,"ProvinceCN",t)},expression:"educationForm.ProvinceCN"}})],1)],1)],1),e._v(" "),a("el-form-item",{attrs:{label:"Country",prop:"Country"}},[a("el-row",{attrs:{type:"flex",justify:"space-between"}},[a("el-col",{attrs:{span:11}},[a("el-input",{attrs:{placeholder:"请注明 in English",size:"small"},model:{value:e.educationForm.Country,callback:function(t){e.$set(e.educationForm,"Country",t)},expression:"educationForm.Country"}})],1),e._v(" "),a("el-col",{attrs:{span:11}},[a("el-input",{attrs:{placeholder:"请用中文注明",size:"small"},model:{value:e.educationForm.CountryCN,callback:function(t){e.$set(e.educationForm,"CountryCN",t)},expression:"educationForm.CountryCN"}})],1)],1)],1)],1):e._e(),e._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{attrs:{type:"primary",size:"small",loading:e.isDisabled},on:{click:e.handleEducationSave}},[e._v("Save")])],1)],1):e._e(),e._v(" "),e.postgraduateDialogVisible?a("el-dialog",{attrs:{title:e.postgraduateDialogTitle,visible:e.postgraduateDialogVisible,width:"40%","close-on-click-modal":!1},on:{"update:visible":function(t){e.postgraduateDialogVisible=t}}},[e.postgraduateDialogVisible?a("el-form",{ref:"postgraduateForm",attrs:{size:"small","label-width":"190px",model:e.postgraduateForm,rules:e.postgraduateRules}},[a("el-form-item",{attrs:{label:"Start",prop:"BeginDate"}},[a("el-date-picker",{attrs:{type:"month",placeholder:"select date","value-format":"yyyy-MM",format:"yyyy-MM","picker-options":e.postgraduateBeginPickerOption,size:"small"},model:{value:e.postgraduateForm.BeginDate,callback:function(t){e.$set(e.postgraduateForm,"BeginDate",t)},expression:"postgraduateForm.BeginDate"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"End",prop:"EndDate"}},[a("el-date-picker",{attrs:{type:"month",placeholder:"select date","value-format":"yyyy-MM",format:"yyyy-MM","picker-options":e.postgraduateEndpickerOption,size:"small"},model:{value:e.postgraduateForm.EndDate,callback:function(t){e.$set(e.postgraduateForm,"EndDate",t)},expression:"postgraduateForm.EndDate"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"Training",prop:"Training"}},[a("el-select",{attrs:{placeholder:"Please select",size:"small"},model:{value:e.postgraduateForm.Training,callback:function(t){e.$set(e.postgraduateForm,"Training",t)},expression:"postgraduateForm.Training"}},e._l(e.TrainingOptions,(function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1),e._v(" "),a("el-form-item",{attrs:{label:"Specialty / Research Field",prop:"Major"}},[a("el-row",{attrs:{type:"flex",justify:"space-between"}},[a("el-col",{attrs:{span:11}},[a("el-input",{attrs:{placeholder:"请注明 in English",size:"small"},model:{value:e.postgraduateForm.Major,callback:function(t){e.$set(e.postgraduateForm,"Major",t)},expression:"postgraduateForm.Major"}})],1),e._v(" "),a("el-col",{attrs:{span:11}},[a("el-input",{attrs:{placeholder:"请用中文注明",size:"small"},model:{value:e.postgraduateForm.MajorCN,callback:function(t){e.$set(e.postgraduateForm,"MajorCN",t)},expression:"postgraduateForm.MajorCN"}})],1)],1)],1),e._v(" "),a("el-form-item",{attrs:{label:"Hospital",prop:"Hospital"}},[a("el-row",{attrs:{type:"flex",justify:"space-between"}},[a("el-col",{attrs:{span:11}},[a("el-input",{attrs:{placeholder:"请注明 in English",size:"small"},model:{value:e.postgraduateForm.Hospital,callback:function(t){e.$set(e.postgraduateForm,"Hospital",t)},expression:"postgraduateForm.Hospital"}})],1),e._v(" "),a("el-col",{attrs:{span:11}},[a("el-input",{attrs:{placeholder:"请用中文注明",size:"small"},model:{value:e.postgraduateForm.HospitalCN,callback:function(t){e.$set(e.postgraduateForm,"HospitalCN",t)},expression:"postgraduateForm.HospitalCN"}})],1)],1)],1),e._v(" "),a("el-form-item",{attrs:{label:"University",prop:"School"}},[a("el-row",{attrs:{type:"flex",justify:"space-between"}},[a("el-col",{attrs:{span:11}},[a("el-input",{attrs:{placeholder:"请注明 in English",size:"small"},model:{value:e.postgraduateForm.School,callback:function(t){e.$set(e.postgraduateForm,"School",t)},expression:"postgraduateForm.School"}})],1),e._v(" "),a("el-col",{attrs:{span:11}},[a("el-input",{attrs:{placeholder:"请用中文注明",size:"small"},model:{value:e.postgraduateForm.SchoolCN,callback:function(t){e.$set(e.postgraduateForm,"SchoolCN",t)},expression:"postgraduateForm.SchoolCN"}})],1)],1)],1),e._v(" "),a("el-form-item",{attrs:{label:"City",prop:"City"}},[a("el-row",{attrs:{type:"flex",justify:"space-between"}},[a("el-col",{attrs:{span:11}},[a("el-input",{attrs:{placeholder:"请注明 in English",size:"small"},model:{value:e.postgraduateForm.City,callback:function(t){e.$set(e.postgraduateForm,"City",t)},expression:"postgraduateForm.City"}})],1),e._v(" "),a("el-col",{attrs:{span:11}},[a("el-input",{attrs:{placeholder:"请用中文注明",size:"small"},model:{value:e.postgraduateForm.CityCN,callback:function(t){e.$set(e.postgraduateForm,"CityCN",t)},expression:"postgraduateForm.CityCN"}})],1)],1)],1),e._v(" "),a("el-form-item",{attrs:{label:"State/Province",prop:"Province"}},[a("el-row",{attrs:{type:"flex",justify:"space-between"}},[a("el-col",{attrs:{span:11}},[a("el-input",{attrs:{placeholder:"请注明 in English",size:"small"},model:{value:e.postgraduateForm.Province,callback:function(t){e.$set(e.postgraduateForm,"Province",t)},expression:"postgraduateForm.Province"}})],1),e._v(" "),a("el-col",{attrs:{span:11}},[a("el-input",{attrs:{placeholder:"请用中文注明",size:"small"},model:{value:e.postgraduateForm.ProvinceCN,callback:function(t){e.$set(e.postgraduateForm,"ProvinceCN",t)},expression:"postgraduateForm.ProvinceCN"}})],1)],1)],1),e._v(" "),a("el-form-item",{attrs:{label:"Country",prop:"Country"}},[a("el-row",{attrs:{type:"flex",justify:"space-between"}},[a("el-col",{attrs:{span:11}},[a("el-input",{attrs:{placeholder:"请注明 in English",size:"small"},model:{value:e.postgraduateForm.Country,callback:function(t){e.$set(e.postgraduateForm,"Country",t)},expression:"postgraduateForm.Country"}})],1),e._v(" "),a("el-col",{attrs:{span:11}},[a("el-input",{attrs:{placeholder:"请用中文注明",size:"small"},model:{value:e.postgraduateForm.CountryCN,callback:function(t){e.$set(e.postgraduateForm,"CountryCN",t)},expression:"postgraduateForm.CountryCN"}})],1)],1)],1)],1):e._e(),e._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{attrs:{size:"small",type:"primary",loading:e.isDisabled},on:{click:e.handlePostgraduateSave}},[e._v("Save")])],1)],1):e._e()],1)},n=[],r=(a("20d6"),a("a8db")),l=a("33ba"),o=["BeginDateStr","EndDateStr"],s=["BeginDateStr","EndDateStr"],c=function(){return{Id:"",DoctorId:"",BeginDate:"",EndDate:"",Degree:"",Major:"",MajorCN:"",Organization:"",OrganizationCN:"",City:"",CityCN:"",Province:"",ProvinceCN:"",Country:"",CountryCN:""}},u=function(){return{Id:"",DoctorId:"",BeginDate:"",EndDate:"",Training:"",Major:"",MajorCN:"",Hospital:"",HospitalCN:"",School:"",SchoolCN:"",City:"",CityCN:"",Province:"",ProvinceCN:"",Country:"",CountryCN:""}},d={name:"EducationTraining",data:function(){var e=this;return{educationList:[],postgraduateList:[],educationDialogTitle:"",educationForm:c(),educationRules:{BeginDate:[{required:!0,message:"Please select a start date",trigger:"blur"}],EndDate:[{required:!0,message:"Please select a valid date",trigger:"blur"}],Degree:[{required:!0,message:"Please enter the degree",trigger:"blur"},{max:100,message:"最大长度为 100"}],Major:[{required:!0,message:"Please enter the major",trigger:"blur"},{max:100,message:"最大长度为 100"}],Organization:[{required:!0,message:"Please enter the institution",trigger:"blur"},{max:100,message:"最大长度为 100"}],City:[{required:!0,message:"Please enter the city",trigger:"blur"},{max:50,message:"最大长度为 50"}],Province:[{required:!0,message:"Please enter the state/province",trigger:"blur"},{max:50,message:"最大长度为 50"}],Country:[{required:!0,message:"Please enter the country",trigger:"blur"},{max:50,message:"最大长度为 50"}]},educationDialogVisible:!1,degreeOptions:[{value:"Bachelor"},{value:"Master"},{value:"Doctorate"}],TrainingOptions:[{value:"Residency"},{value:"Fellowship"},{value:"Post-Doc"},{value:"Visiting Scholar"}],beginPickerOption:{disabledDate:function(t){return e.educationForm.EndDate?t.getTime()>new Date(e.educationForm.EndDate).getTime():t.getTime()>Date.now()}},endpickerOption:{disabledDate:function(t){return e.educationForm.BeginDate?t.getTime()>Date.now()||t.getTime()<=new Date(e.educationForm.BeginDate).getTime():t.getTime()>Date.now()}},postgraduateDialogTitle:"",postgraduateDialogVisible:!1,postgraduateForm:u(),postgraduateRules:{BeginDate:[{required:!0,message:"Please select a start date",trigger:"blur"}],EndDate:[{required:!0,message:"Please select a valid date",trigger:"blur"}],Training:[{required:!0,message:"Please enter the degree",trigger:"blur"},{max:100,message:"最大长度为 100"}],Major:[{required:!0,message:"Please enter the major",trigger:"blur"},{max:100,message:"最大长度为 100"}],City:[{required:!0,message:"Please enter the city",trigger:"blur"},{max:50,message:"最大长度为 50"}],Province:[{required:!0,message:"Please enter the state/province",trigger:"blur"},{max:50,message:"最大长度为 50"}],Country:[{required:!0,message:"Please enter the country",trigger:"blur"},{max:50,message:"最大长度为 50"}]},postgraduateBeginPickerOption:{disabledDate:function(t){return e.postgraduateForm.EndDate?t.getTime()>new Date(e.postgraduateForm.EndDate).getTime():t.getTime()>Date.now()}},postgraduateEndpickerOption:{disabledDate:function(t){return e.postgraduateForm.BeginDate?t.getTime()>Date.now()||t.getTime()<=new Date(e.postgraduateForm.BeginDate).getTime():t.getTime()>Date.now()}},isDisabled:!1,loading:!1}},mounted:function(){this.initPage()},methods:{initPage:function(){var e=this,t=this.$route.query.Id;t&&(this.loading=!0,Object(l["u"])(t).then((function(t){e.educationList=t.Result.EducationList,e.postgraduateList=t.Result.PostgraduateList,e.loading=!1})).catch((function(){e.loading=!1})))},handleAddEducation:function(){this.educationDialogTitle="New",this.educationDialogVisible=!0,Object.assign(this.educationForm,c())},handleEducationEdit:function(e){e.BeginDateStr,e.EndDateStr;var t=Object(r["a"])(e,o);this.educationDialogTitle="Edit",this.educationDialogVisible=!0,this.educationForm=t},handleEducationSave:function(){var e=this;this.$refs.educationForm.validate((function(t){t&&(e.isDisabled=!0,e.educationForm.DoctorId=e.$route.query.Id,"Bachelor"===e.educationForm.Degree?e.educationForm.DegreeCN="学士":"Master"===e.educationForm.Degree?e.educationForm.DegreeCN="硕士":"Doctorate"===e.educationForm.Degree&&(e.educationForm.DegreeCN="博士"),Object(l["c"])(e.educationForm).then((function(t){e.isDisabled=!1,e.educationDialogVisible=!1,e.initPage(),e.educationForm.Id?e.$message({message:"Updated successfully",type:"success"}):e.$message({message:"Addedd successfully",type:"success"}),e.$refs["educationForm"].resetFields()})).catch((function(){e.isDisabled=!1})))}))},handleEducationDelete:function(e){var t=this;this.$confirm("Confirm to delete?",{type:"warning",distinguishCancelAndClose:!0,confirmButtonText:"OK",cancelButtonText:"Cancel"}).then((function(){Object(l["i"])(e.Id).then((function(a){t.educationList.splice(t.educationList.findIndex((function(t){return t.Id===e.Id})),1),t.$message.success("Deleted successfully !")}))})).catch((function(e){}))},handleAddPostgraduate:function(){this.postgraduateDialogTitle="New",this.postgraduateDialogVisible=!0,Object.assign(this.postgraduateForm,u())},handlePostgraduateEdit:function(e){e.BeginDateStr,e.EndDateStr;var t=Object(r["a"])(e,s);this.postgraduateDialogTitle="Edit",this.postgraduateDialogVisible=!0,this.postgraduateForm=t},handlePostgraduateSave:function(){var e=this;this.$refs.postgraduateForm.validate((function(t){t&&(e.isDisabled=!0,e.postgraduateForm.DoctorId=e.$route.query.Id,"Residency"===e.postgraduateForm.Training?e.postgraduateForm.TrainingCN="规培":"Fellowship"===e.postgraduateForm.Training?e.postgraduateForm.TrainingCN="专科培训":"Post-Doc"===e.postgraduateForm.Training?e.postgraduateForm.TrainingCN="博士后":"Visiting Scholar"===e.postgraduateForm.Training&&(e.postgraduateForm.TrainingCN="访问学者"),Object(l["d"])(e.postgraduateForm).then((function(t){e.isDisabled=!1,e.postgraduateDialogVisible=!1,e.initPage(),e.postgraduateForm.Id?e.$message({message:"Updated successfully",type:"success"}):e.$message({message:"Addedd successfully",type:"success"}),e.$refs["postgraduateForm"].resetFields()})).catch((function(t){e.isDisabled=!1,console.log(t)})))}))},handlePostgraduateDelete:function(e){var t=this;this.$confirm("Confirm to delete?",{type:"warning",distinguishCancelAndClose:!0,confirmButtonText:"OK",cancelButtonText:"Cancel"}).then((function(){Object(l["j"])(e.Id).then((function(a){t.postgraduateList.splice(t.postgraduateList.findIndex((function(t){return t.Id===e.Id})),1),t.$message.success("Deleted successfully !")}))})).catch((function(e){}))}}},m=d,p=a("2877"),f=Object(p["a"])(m,i,n,!1,null,null,null);t["default"]=f.exports},"2b6c":function(e,t,a){},3290:function(e,t,a){"use strict";a.r(t);var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"form-container"},[a("div",{staticClass:"title-wrapper"},[a("p",[e._v("Clinical Trial Experience")]),e._v(" "),a("el-button",{staticClass:"add",attrs:{disabled:"1"===e.$route.query.ReviewStatus,size:"small"},on:{click:e.handleAddClinicalTrial}},[e._v("Add")])],1),e._v(" "),a("div",{staticStyle:{padding:"0 40px"}},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"clinicalTrialTbl",staticClass:"table",attrs:{data:e.clinicalTrialList,size:"small"}},[a("el-table-column",{attrs:{type:"index",width:"40"}}),e._v(" "),a("el-table-column",{attrs:{prop:"Phase",label:"Phase","min-width":"50"}}),e._v(" "),a("el-table-column",{attrs:{prop:"EvaluationCriteriaList",label:"Review Criteria","min-width":"100"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.EvaluationCriteriaList.length>0?t.row.EvaluationCriteriaList.join(", "):"")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"EvaluationCriteriaList",label:"Starting And Ending Date","min-width":"100"},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.StartTime?a("span",[e._v(e._s(t.row.StartTime.split("-")[0])+"-"+e._s(t.row.EndTime?t.row.EndTime.split("-")[0]:"至今"))]):e._e()]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"VisitReadingCount",label:"Visit Reading Count","min-width":"70"}}),e._v(" "),a("el-table-column",{attrs:{prop:"EvaluationContent",label:"Indication","min-width":"70"}}),e._v(" "),a("el-table-column",{attrs:{label:"Operation","min-width":"200"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text",size:"small",disabled:"1"===e.$route.query.ReviewStatus},on:{click:function(a){return e.handleEdit(t.row)}}},[e._v("Edit")]),e._v(" "),a("el-button",{attrs:{type:"text",size:"small",disabled:"1"===e.$route.query.ReviewStatus},on:{click:function(a){return e.handleDel(t.row)}}},[e._v("Delete")])]}}])})],1)],1),e._v(" "),e._m(0),e._v(" "),a("div",{staticStyle:{"margin-left":"40px",width:"40%"}},[a("gcp-certificate",{attrs:{"doctor-id":e.doctorId,gcp:e.GCP,"gcp-id":e.GCPID}})],1),e._v(" "),e._m(1),e._v(" "),a("div",{staticStyle:{padding:"0 40px"}},[a("el-row",{attrs:{type:"flex",justify:"space-between"}},[a("el-col",{attrs:{span:11}},[a("el-input",{attrs:{type:"textarea",rows:"5",placeholder:"请注明 in English",size:"small"},model:{value:e.OtherClinicalExperience,callback:function(t){e.OtherClinicalExperience=t},expression:"OtherClinicalExperience"}})],1),e._v(" "),a("el-col",{attrs:{span:11}},[a("el-input",{attrs:{disabled:"1"===e.$route.query.ReviewStatus,type:"textarea",rows:"5",placeholder:"请用中文注明",size:"small"},model:{value:e.OtherClinicalExperienceCN,callback:function(t){e.OtherClinicalExperienceCN=t},expression:"OtherClinicalExperienceCN"}})],1)],1),e._v(" "),a("el-button",{staticStyle:{"margin-top":"20px"},attrs:{type:"primary",size:"small",disabled:e.isBtnDisabled||"1"===e.$route.query.ReviewStatus},on:{click:e.handleSaveOtherClinical}},[e._v("Save")])],1),e._v(" "),e.clinicalTrialDialogVisible?a("el-dialog",{attrs:{title:e.clinicalTrialDialogTitle,visible:e.clinicalTrialDialogVisible,width:"480px","close-on-click-modal":!1},on:{"update:visible":function(t){e.clinicalTrialDialogVisible=t}}},[a("el-form",{ref:"clinicalTrialForm",staticClass:"demo-ruleForm",attrs:{"label-width":"150px",rules:e.clinicalTrialRules,model:e.clinicalTrialForm,size:"small"}},[a("el-form-item",{attrs:{label:"Phase",prop:"PhaseId"}},[a("el-select",{attrs:{placeholder:"Please select"},model:{value:e.clinicalTrialForm.PhaseId,callback:function(t){e.$set(e.clinicalTrialForm,"PhaseId",t)},expression:"clinicalTrialForm.PhaseId"}},e._l(e.dictionaryList.Trial_Phase,(function(e){return a("el-option",{key:e.Id,attrs:{label:e.Value,value:e.Id}})})),1)],1),e._v(" "),a("el-form-item",{attrs:{label:"Review Criteria",prop:"EvaluationCriteriaIdList"}},[a("el-select",{attrs:{placeholder:"Please select",multiple:""},model:{value:e.clinicalTrialForm.EvaluationCriteriaIdList,callback:function(t){e.$set(e.clinicalTrialForm,"EvaluationCriteriaIdList",t)},expression:"clinicalTrialForm.EvaluationCriteriaIdList"}},e._l(e.dictionaryList.ReadingStandard,(function(e){return a("el-option",{key:e.Id,attrs:{label:e.Value,value:e.Id}})})),1)],1),e._v(" "),a("el-form-item",{attrs:{label:"Start Time",prop:"StartTime"}},[a("el-date-picker",{attrs:{type:"year",placeholder:"Select Start Time"},model:{value:e.clinicalTrialForm.StartTime,callback:function(t){e.$set(e.clinicalTrialForm,"StartTime",t)},expression:"clinicalTrialForm.StartTime"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"End Time",prop:"EndTime"}},[a("el-date-picker",{attrs:{type:"year",placeholder:"Select End Time"},model:{value:e.clinicalTrialForm.EndTime,callback:function(t){e.$set(e.clinicalTrialForm,"EndTime",t)},expression:"clinicalTrialForm.EndTime"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"Visit Reading Count",prop:"VisitReadingCount"}},[a("el-input",{staticStyle:{width:"100%"},attrs:{oninput:"value=value.replace(/[^\\d]/g,'')","controls-position":"right",min:0},model:{value:e.clinicalTrialForm.VisitReadingCount,callback:function(t){e.$set(e.clinicalTrialForm,"VisitReadingCount",t)},expression:"clinicalTrialForm.VisitReadingCount"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"Indication",prop:"EvaluationContent"}},[a("el-input",{model:{value:e.clinicalTrialForm.EvaluationContent,callback:function(t){e.$set(e.clinicalTrialForm,"EvaluationContent",t)},expression:"clinicalTrialForm.EvaluationContent"}})],1)],1),e._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{attrs:{type:"primary",size:"small",loading:e.isDisabled},on:{click:e.handleSave}},[e._v("Save")])],1)],1):e._e()],1)},n=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"title-wrapper",staticStyle:{"margin-top":"10px"}},[a("p",[e._v("GCP Certificate")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"title-wrapper",staticStyle:{"margin-top":"10px"}},[a("p",[e._v("Other Relevant Experience")])])}],r=(a("20d6"),a("db72")),l=(a("96cf"),a("3b8d")),o=a("33ba"),s=a("86a6"),c=a("642b"),u=function(){return{PhaseId:"",EvaluationCriteriaIdList:[],EvaluationContent:"",VisitReadingCount:0,StartTime:null,EndTime:null}},d={name:"TrialExperience",components:{GcpCertificate:c["default"]},data:function(){return{loading:!1,clinicalTrialList:[],clinicalTrialDialogTitle:"",clinicalTrialDialogVisible:!1,clinicalTrialForm:u(),clinicalTrialRules:{PhaseId:[{required:!0,message:"Please select",trigger:["blur","change"]}],EvaluationCriteriaIdList:[{required:!0,message:"Please select",trigger:["blur","change"]}],VisitReadingCount:[{required:!0,message:"请注明",trigger:"blur"}],EvaluationContent:[{required:!0,message:"请注明",trigger:"blur"},{max:300,message:"最大长度为 300"}],StartTime:[{required:!0,message:"请注明",trigger:"blur"}]},GCP:0,GCPID:"",OtherClinicalExperience:"",OtherClinicalExperienceCN:"",isDisabled:!1,doctorId:this.$route.query.Id,isBtnDisabled:!1,selectId:"00000000-0000-0000-0000-000000000000",dictionaryList:{}}},created:function(){this.initForm()},methods:{initForm:function(){var e=Object(l["a"])(regeneratorRuntime.mark((function e(){var t,a=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this.getDicData();case 2:t=this.$route.query.Id,t&&(this.loading=!0,Object(o["y"])(t).then((function(e){a.clinicalTrialList=e.Result.ClinicalTrialExperienceList,a.GCP=e.Result.GCP,a.GCPID=e.Result.GCPId,a.OtherClinicalExperience=e.Result.OtherClinicalExperience,a.OtherClinicalExperienceCN=e.Result.OtherClinicalExperienceCN,a.loading=!1})).catch((function(){a.loading=!1})));case 4:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),getDicData:function(){var e=this;Object(s["c"])(["Trial_Phase","ReadingStandard"]).then((function(t){e.dictionaryList=Object(r["a"])({},t.Result)}))},handleAddClinicalTrial:function(){this.clinicalTrialDialogTitle="New",this.clinicalTrialDialogVisible=!0,this.clinicalTrialForm.Id=null,this.clinicalTrialForm=Object.assign({},u())},handleEdit:function(e){var t=e.Id,a=e.PhaseId,i=e.EvaluationCriteriaIdList,n=e.EvaluationContent,r=e.StartTime,l=e.EndTime,o=e.VisitReadingCount;this.clinicalTrialForm=Object.assign({},u()),this.clinicalTrialDialogTitle="Edit",this.clinicalTrialDialogVisible=!0,this.clinicalTrialForm.Id=t,this.clinicalTrialForm.StartTime=r,this.clinicalTrialForm.EndTime=l,this.clinicalTrialForm.PhaseId=a,this.clinicalTrialForm.VisitReadingCount=o,this.clinicalTrialForm.EvaluationCriteriaIdList=i,this.clinicalTrialForm.EvaluationContent=n},handleSave:function(){var e=this;this.$refs.clinicalTrialForm.validate((function(t){var a;t&&(e.isDisabled=!0,e.clinicalTrialForm.DoctorId=e.$route.query.Id,e.clinicalTrialForm.StartTime&&(a=new Date(e.clinicalTrialForm.StartTime),e.clinicalTrialForm.StartTime=new Date(a.setDate(a.getDate()+1))),e.clinicalTrialForm.EndTime&&(a=new Date(e.clinicalTrialForm.EndTime),e.clinicalTrialForm.EndTime=new Date(a.setDate(a.getDate()+1))),Object(o["f"])(e.clinicalTrialForm).then((function(t){e.isDisabled=!1,e.initForm(),e.clinicalTrialForm.Id?e.$message({message:"Updated successfully",type:"success"}):e.$message({message:"Addedd successfully",type:"success"}),e.clinicalTrialDialogVisible=!1})).catch((function(){e.isDisabled=!1})))}))},handleDel:function(e){var t=this;this.$confirm("Confirm to delete?",{type:"warning",distinguishCancelAndClose:!0,confirmButtonText:"OK",cancelButtonText:"Cancel"}).then((function(){Object(o["k"])(e.Id).then((function(a){t.clinicalTrialList.splice(t.clinicalTrialList.findIndex((function(t){return t.Id===e.Id})),1),t.$message.success("Deleted successfully !")}))})).catch((function(e){}))},handleSaveOtherClinical:function(){var e=this,t={DoctorId:this.doctorId,OtherClinicalExperience:this.OtherClinicalExperience,OtherClinicalExperienceCN:this.OtherClinicalExperienceCN};Object(o["E"])(t).then((function(t){t.IsSuccess&&(e.id?e.$message.success("Updated successfully"):e.$message.success("Addedd successfully"))}))}}},m=d,p=a("2877"),f=Object(p["a"])(m,i,n,!1,null,null,null);t["default"]=f.exports},"33ba":function(e,t,a){"use strict";a.d(t,"s",(function(){return n})),a.d(t,"n",(function(){return r})),a.d(t,"p",(function(){return l})),a.d(t,"b",(function(){return o})),a.d(t,"v",(function(){return s})),a.d(t,"C",(function(){return c})),a.d(t,"x",(function(){return u})),a.d(t,"F",(function(){return d})),a.d(t,"u",(function(){return m})),a.d(t,"c",(function(){return p})),a.d(t,"i",(function(){return f})),a.d(t,"d",(function(){return h})),a.d(t,"j",(function(){return b})),a.d(t,"w",(function(){return g})),a.d(t,"e",(function(){return v})),a.d(t,"y",(function(){return y})),a.d(t,"f",(function(){return _})),a.d(t,"k",(function(){return C})),a.d(t,"E",(function(){return w})),a.d(t,"D",(function(){return F})),a.d(t,"o",(function(){return O})),a.d(t,"B",(function(){return I})),a.d(t,"z",(function(){return S})),a.d(t,"g",(function(){return R})),a.d(t,"l",(function(){return D})),a.d(t,"m",(function(){return x})),a.d(t,"q",(function(){return P})),a.d(t,"t",(function(){return k})),a.d(t,"a",(function(){return T})),a.d(t,"h",(function(){return $})),a.d(t,"r",(function(){return N})),a.d(t,"A",(function(){return j})),a.d(t,"G",(function(){return E}));var i=a("b775");function n(e){return Object(i["a"])({url:"/doctorList/getDoctorSearchList",method:"post",data:e})}function r(e,t){return Object(i["a"])({url:"/file/downloadOfficialCV/".concat(t),method:"post",data:e})}function l(e){return Object(i["a"])({url:"/doctor/getBasicInfo/".concat(e),method:"get"})}function o(e){return Object(i["a"])({url:"/doctor/addOrUpdateDoctorBasicInfo",method:"post",data:e})}function s(e){return Object(i["a"])({url:"/doctor/getEmploymentInfo/".concat(e),method:"get"})}function c(e){return Object(i["a"])({url:"/doctor/updateEmploymentInfo",method:"post",data:e})}function u(e){return Object(i["a"])({url:"/doctor/getSpecialtyInfo/".concat(e),method:"get"})}function d(e){return Object(i["a"])({url:"/doctor/updateSpecialtyInfo",method:"post",data:e})}function m(e){return Object(i["a"])({url:"/education/getEducation/".concat(e),method:"get"})}function p(e){return Object(i["a"])({url:"/education/addOrUpdateEducationInfo",method:"post",data:e})}function f(e){return Object(i["a"])({url:"/education/deleteEducationInfo/".concat(e),method:"delete"})}function h(e){return Object(i["a"])({url:"/education/addOrUpdatePostgraduateInfo",method:"post",data:e})}function b(e){return Object(i["a"])({url:"/education/deletePostgraduateInfo/".concat(e),method:"delete"})}function g(e){return Object(i["a"])({url:"/researchPublication/getResearchPublication/".concat(e),method:"get"})}function v(e){return Object(i["a"])({url:"/researchPublication/addOrUpdateResearchPublication",method:"post",data:e})}function y(e){return Object(i["a"])({url:"/trialExperience/getTrialExperience/".concat(e),method:"get"})}function _(e){return Object(i["a"])({url:"/trialExperience/addOrUpdateTrialExperience",method:"post",data:e})}function C(e){return Object(i["a"])({url:"/trialExperience/deleteTrialExperience/".concat(e),method:"delete"})}function w(e){return Object(i["a"])({url:"/trialExperience/updateOtherExperience",method:"post",data:e})}function F(e){return Object(i["a"])({url:"/trialExperience/updateGcpExperience",method:"post",data:e})}function O(e){return Object(i["a"])({url:"/doctor/getAuditState/".concat(e),method:"get"})}function I(e){return Object(i["a"])({url:"/doctor/updateAuditResume",method:"post",data:e})}function S(e,t,a){return Object(i["a"])({url:"/vacation/getVacationList/".concat(e,"/").concat(t,"/").concat(a),method:"get"})}function R(e){return Object(i["a"])({url:"/vacation/addOrUpdateVacation",method:"post",data:e})}function D(e){return Object(i["a"])({url:"/vacation/deleteVacation/".concat(e),method:"delete"})}function x(e,t){var a={attachmentIds:t};return Object(i["a"])({url:"/file/downloadByAttachmentId/".concat(e),method:"post",data:a})}function P(e){return Object(i["a"])({url:"/doctor/getDetail/".concat(e),method:"get"})}function k(e){return Object(i["a"])({url:"/trial/getReviewerTrialListByEnrollmentStatus",method:"post",data:e})}function T(e){return Object(i["a"])({url:"/Doctor/addDoctorCriterionFile",method:"post",data:e})}function $(e){return Object(i["a"])({url:"/Doctor/deleteDoctorCriterionFile",method:"post",data:e})}function N(e){return Object(i["a"])({url:"/Doctor/getDoctorCriterionFile",method:"post",data:e})}function j(e){return Object(i["a"])({url:"/TrialSiteSurvey/sendEmialVerifyCode",method:"post",data:e})}function E(e){return Object(i["a"])({url:"/TrialSiteSurvey/verifyEmialGetDoctorInfo",method:"post",data:e})}},"383a":function(e,t,a){},"383e":function(e,t,a){"use strict";a.r(t);var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"form-container basic-form"},[a("el-card",{staticClass:"box-card"},[a("div",{staticStyle:{width:"1000px"}},[a("el-form",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"basicInfoForm",staticClass:"demo-ruleForm",attrs:{inline:!0,rules:e.rules,model:e.basicInfo,"label-width":"120px",size:"small"}},[a("el-row",[a("el-col",{attrs:{span:12}},[e.basicInfo.ReviewerCode?a("el-form-item",{attrs:{label:"ID: "}},[a("el-input",{attrs:{disabled:"",size:"small"},model:{value:e.basicInfo.ReviewerCode,callback:function(t){e.$set(e.basicInfo,"ReviewerCode",t)},expression:"basicInfo.ReviewerCode"}})],1):e._e()],1)],1),e._v(" "),a("el-row",[a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"Surname: ",prop:"LastName"}},[a("el-input",{attrs:{disabled:"1"===e.$route.query.ReviewStatus,size:"small"},model:{value:e.basicInfo.LastName,callback:function(t){e.$set(e.basicInfo,"LastName",t)},expression:"basicInfo.LastName"}})],1)],1),e._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"Given Name: ",prop:"FirstName"}},[a("el-input",{attrs:{disabled:"1"===e.$route.query.ReviewStatus,size:"small"},model:{value:e.basicInfo.FirstName,callback:function(t){e.$set(e.basicInfo,"FirstName",t)},expression:"basicInfo.FirstName"}})],1)],1)],1),e._v(" "),a("el-row",[a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"Name CN: ",prop:"ChineseName"}},[a("el-input",{attrs:{disabled:"1"===e.$route.query.ReviewStatus,size:"small"},model:{value:e.basicInfo.ChineseName,callback:function(t){e.$set(e.basicInfo,"ChineseName",t)},expression:"basicInfo.ChineseName"}})],1)],1),e._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"Gender: ",prop:"Sex"}},[a("el-select",{attrs:{prop:"Sex",placeholder:"Please select gender",size:"small",disabled:"1"===e.$route.query.ReviewStatus},model:{value:e.basicInfo.Sex,callback:function(t){e.$set(e.basicInfo,"Sex",t)},expression:"basicInfo.Sex"}},e._l(e.genderOptions,(function(e,t){return a("el-option",{key:t,attrs:{label:e.label,value:e.value}})})),1)],1)],1)],1),e._v(" "),a("el-row",[a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"Phone: ",prop:"Phone"}},[a("el-input",{attrs:{disabled:"1"===e.$route.query.ReviewStatus,size:"small"},model:{value:e.basicInfo.Phone,callback:function(t){e.$set(e.basicInfo,"Phone",t)},expression:"basicInfo.Phone"}})],1)],1),e._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"Title: ",prop:"TitleIds"}},[a("el-select",{attrs:{disabled:"1"===e.$route.query.ReviewStatus,placeholder:"Please select Title",size:"small"},model:{value:e.basicInfo.TitleIds[0],callback:function(t){e.$set(e.basicInfo.TitleIds,0,t)},expression:"basicInfo.TitleIds[0]"}},e._l(e.dictionaryList.Title,(function(e){return a("el-option",{key:e.Id,attrs:{label:e.Value,value:e.Id}})})),1)],1)],1)],1),e._v(" "),a("el-row",[a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"EMail: ",prop:"EMail"}},[a("el-input",{attrs:{disabled:"1"===e.$route.query.ReviewStatus,size:"small"},model:{value:e.basicInfo.EMail,callback:function(t){e.$set(e.basicInfo,"EMail",t)},expression:"basicInfo.EMail"}})],1)],1),e._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"WeChat: ",prop:"WeChat"}},[a("el-input",{attrs:{disabled:"1"===e.$route.query.ReviewStatus,size:"small"},model:{value:e.basicInfo.WeChat,callback:function(t){e.$set(e.basicInfo,"WeChat",t)},expression:"basicInfo.WeChat"}})],1)],1)],1),e._v(" "),a("el-row",[a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"Payment Type: ",prop:"Nation"}},[a("el-select",{staticClass:"mr",attrs:{disabled:"1"===e.$route.query.ReviewStatus,size:"small",clearable:""},model:{value:e.basicInfo.Nation,callback:function(t){e.$set(e.basicInfo,"Nation",t)},expression:"basicInfo.Nation"}},[a("el-option",{attrs:{value:0,label:"CN"}}),e._v(" "),a("el-option",{attrs:{value:1,label:"Abroad"}})],1)],1)],1)],1),e._v(" "),a("el-row",[a("el-form-item",{staticStyle:{"margin-left":"120px"}},[a("el-button",{attrs:{disabled:"1"===e.$route.query.ReviewStatus,type:"primary",loading:e.isDisabled,size:"small"},on:{click:e.handleSave}},[e._v("Save")])],1)],1)],1)],1)])],1)},n=[],r=a("db72"),l=a("a8db"),o=(a("96cf"),a("3b8d")),s=a("33ba"),c=a("a599"),u=a("86a6"),d=["TitleList"],m={data:function(){return{basicInfo:{Id:"",ReviewerCode:"",FirstName:"",LastName:"",ChineseName:"",Sex:"",TitleIds:[],Phone:"",EMail:"",WeChat:"",Introduction:"",Nation:0},rules:{FirstName:[{required:!0,message:"Please enter FirstName",trigger:"blur"},{max:50,message:"最大长度为 50"}],LastName:[{required:!0,message:"Please enter LastName",trigger:"blur"},{max:50,message:"最大长度为 50"}],ChineseName:[{max:50,message:"最大长度为 50"}],Sex:[{required:!0,message:"Please select gender",trigger:"blur"}],TitleIds:[{required:!0,message:"Please select Title",trigger:"blur"}],Phone:[{required:!0,message:"Please enter phone number",trigger:"blur"},{max:20,min:7,message:"The length is 7 to 20"}],EMail:[{required:!0,message:"请输入邮箱地址",trigger:"blur"},{type:"email",message:"请输入邮箱地址",trigger:"blur,change"},{max:50,message:"最大长度为 50"}],WeChat:[{max:50,message:"最大长度为 50"}]},isDisabled:!1,loading:!1,genderOptions:[{label:"Male",value:0},{label:"Female",value:1}],dictionaryList:{}}},mounted:function(){this.initForm()},methods:{handleSave:function(){var e=this;this.$refs.basicInfoForm.validate((function(t){t&&(e.loading=!0,e.isDisabled=!0,Object(s["b"])(e.basicInfo).then((function(t){e.isDisabled=!1,e.loading=!1,e.$message.success("Saved successfully"),e.id||(e.basicInfo.Id=t.Result.Id,Object(c["a"])("Id",t.Result.Id),e.basicInfo.ReviewerCode=t.Result.ReviewerCode)})).catch((function(){e.isDisabled=!1,e.loading=!1})))}))},initForm:function(){var e=Object(o["a"])(regeneratorRuntime.mark((function e(){var t,a=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this.getDicData();case 2:t=this.$route.query.Id,t&&(this.loading=!0,Object(s["p"])(t).then((function(e){var t=e.Result,i=(t.TitleList,Object(l["a"])(t,d));a.basicInfo=i,a.loading=!1})).catch((function(){a.loading=!1})));case 4:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),getDicData:function(){var e=this;Object(u["c"])(["Title"]).then((function(t){e.dictionaryList=Object(r["a"])({},t.Result)})).catch((function(){}))}}},p=m,f=(a("6abe"),a("2877")),h=Object(f["a"])(p,i,n,!1,null,"7ab23bbe",null);t["default"]=h.exports},"386d":function(e,t,a){"use strict";var i=a("cb7c"),n=a("83a1"),r=a("5f1b");a("214f")("search",1,(function(e,t,a,l){return[function(a){var i=e(this),n=void 0==a?void 0:a[t];return void 0!==n?n.call(a,i):new RegExp(a)[t](String(i))},function(e){var t=l(a,e,this);if(t.done)return t.value;var o=i(e),s=String(this),c=o.lastIndex;n(c,0)||(o.lastIndex=0);var u=r(o,s);return n(o.lastIndex,c)||(o.lastIndex=c),null===u?-1:u.index}]}))},4917:function(e,t,a){"use strict";var i=a("cb7c"),n=a("9def"),r=a("0390"),l=a("5f1b");a("214f")("match",1,(function(e,t,a,o){return[function(a){var i=e(this),n=void 0==a?void 0:a[t];return void 0!==n?n.call(a,i):new RegExp(a)[t](String(i))},function(e){var t=o(a,e,this);if(t.done)return t.value;var s=i(e),c=String(this);if(!s.global)return l(s,c);var u=s.unicode;s.lastIndex=0;var d,m=[],p=0;while(null!==(d=l(s,c))){var f=String(d[0]);m[p]=f,""===f&&(s.lastIndex=r(c,n(s.lastIndex),u)),p++}return 0===p?null:m}]}))},"4aa2":function(e,t,a){"use strict";a.r(t);var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"resumes-container"},[a("div",{staticClass:"resume-content"},[a("p",[e._v("Resume")]),e._v(" "),a("div",{staticClass:"upload-content"},[a("div",{staticClass:"uploadFile-container"},[a("el-upload",{staticClass:"upload-demo",attrs:{data:{language:2},action:"","show-file-list":!1,"http-request":e.handleUploadFile,"file-list":e.resumeList,accept:".doc,.docx"}},[a("el-button",{attrs:{size:"small",type:"primary",disabled:e.isDisabled||"1"===e.$route.query.ReviewStatus}},[e._v("Upload")])],1)],1)]),e._v(" "),a("p",[e._v("(must be in doc,docx format)")])]),e._v(" "),a("div",{staticClass:"resumeTbl"},[a("el-table",{attrs:{data:e.resumeListEN,size:"small"}},[a("el-table-column",{attrs:{type:"index",width:"40"}}),e._v(" "),a("el-table-column",{attrs:{prop:"FileName",label:"Resume",width:"180","show-overflow-tooltip":""}}),e._v(" "),a("el-table-column",{attrs:{prop:"CreateTime",label:"Upload Time",width:"150","show-overflow-tooltip":""}}),e._v(" "),a("el-table-column",{attrs:{prop:"IsOfficial",label:"Official",width:"100"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(!0===t.row.IsOfficial?"Yes":"No")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"Language",label:"Language",width:"100","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(1===t.row.Language?"中文":"English")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"Action",width:"400"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){return e.handlePreview(t.row)}}},[e._v("Download")]),e._v(" "),a("el-button",{attrs:{type:"text",size:"small",disabled:"1"===e.$route.query.ReviewStatus},on:{click:function(a){return e.handleRemoveFile(t.row)}}},[e._v("Delete")]),e._v(" "),a("el-button",{attrs:{type:"text",size:"small",disabled:t.row.IsOfficial||"1"===e.$route.query.ReviewStatus},on:{click:function(a){return e.handleSetOfiical(t.row)}}},[e._v("Set as Official")])]}}])})],1)],1),e._v(" "),a("div",{staticClass:"resume-content",staticStyle:{"margin-top":"10px"}},[a("p",[e._v("中文简历")]),e._v(" "),a("div",{staticClass:"upload-content"},[a("div",{staticClass:"uploadFile-container"},[a("el-upload",{staticClass:"upload-demo",attrs:{data:{language:1},action:"","show-file-list":!1,"http-request":e.handleUploadFile,"file-list":e.resumeList,accept:".doc, .docx"}},[a("el-button",{attrs:{size:"small",type:"primary",disabled:e.isDisabled||"1"===e.$route.query.ReviewStatus}},[e._v("上传")])],1)],1)]),e._v(" "),a("p",[e._v("(必须是 doc,docx 格式)")])]),e._v(" "),a("div",{staticClass:"resumeTbl"},[a("el-table",{attrs:{data:e.resumeListCN,size:"small"}},[a("el-table-column",{attrs:{type:"index",width:"40"}}),e._v(" "),a("el-table-column",{attrs:{prop:"FileName",label:"Resume",width:"180","show-overflow-tooltip":""}}),e._v(" "),a("el-table-column",{attrs:{prop:"CreateTime",label:"Upload Time",width:"150","show-overflow-tooltip":""}}),e._v(" "),a("el-table-column",{attrs:{prop:"IsOfficial",label:"Official",width:"100"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(!0===t.row.IsOfficial?"Yes":"No")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"Language",label:"Language",width:"100","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(1===t.row.Language?"中文":"English")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"Action",width:"400"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){return e.handlePreview(t.row)}}},[e._v("Download")]),e._v(" "),a("el-button",{attrs:{type:"text",size:"small",disabled:"1"===e.$route.query.ReviewStatus},on:{click:function(a){return e.handleRemoveFile(t.row)}}},[e._v("Delete")]),e._v(" "),a("el-button",{attrs:{type:"text",size:"small",disabled:t.row.IsOfficial},on:{click:function(a){return e.handleSetOfiical(t.row)}}},[e._v("Set as Official")])]}}])})],1)],1),e._v(" "),a("el-dialog",{attrs:{title:e.$t("trials:seletctedReviews:title:language"),visible:e.dialogVisible,width:"30%",size:"small"},on:{"update:visible":function(t){e.dialogVisible=t}}},[a("span",[e._v("Language: ")]),e._v(" "),a("el-radio-group",{attrs:{disabled:"1"===e.$route.query.ReviewStatus},model:{value:e.language,callback:function(t){e.language=t},expression:"language"}},[a("el-radio",{attrs:{label:2}},[e._v("English")]),e._v(" "),a("el-radio",{attrs:{label:1}},[e._v("中文")])],1),e._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{attrs:{size:"small",disabled:"1"===e.$route.query.ReviewStatus},on:{click:function(t){e.dialogVisible=!1}}},[e._v("Cancel")]),e._v(" "),a("el-button",{attrs:{type:"primary",disabled:"1"===e.$route.query.ReviewStatus,size:"small"},on:{click:e.setResumeLanguage}},[e._v("Ok")])],1)],1)],1)},n=[],r=(a("20d6"),a("14b9"),a("7f7f"),a("a796")),l={props:{id:{type:String,default:function(){return""}}},data:function(){return{doctorId:this.$route.query.Id,resumeList:[],resumeListEN:[],resumeListCN:[],language:0,dialogVisible:!1,currentRow:{},repeat:!1,isDisabled:!1,loading:!1}},created:function(){this.getResumeList()},methods:{getResumeList:function(){var e=this;this.loading=!0,Object(r["b"])(this.doctorId,"Resume").then((function(t){t.IsSuccess&&t.Result.length>0&&(e.resumeList=t.Result,e.filterByLanguage()),e.loading=!1})).catch((function(){e.loading=!1}))},handleUploadFile:function(e){var t=this;if(this.repeat=!1,this.checkFileSuffix(e.file.name)>-1){var a=this.resumeList.some((function(t){return t.FileName===e.file.name}));a?this.$confirm("Override the existing resume?",{type:"warning",distinguishCancelAndClose:!0,confirmButtonText:"OK",cancelButtonText:"Cancel"}).then((function(){t.repeat=!0,t.uploadFile(e.file,e.data.language)})).catch((function(e){})):this.uploadFile(e.file,e.data.language)}else this.$message.error("Must be in ".concat(this.accept," format"))},uploadFile:function(e,t){var a=this;this.isDisabled=!0;var i=this.resumeList;Object(r["f"])(e,"Resume",this.doctorId).then((function(n){if(a.repeat){var r=i.findIndex((function(t,a){return t.FileName===e.name}));i[r].Path=n.Result.FilePath,i[r].FullPath=n.Result.FullFilePath,i[r].ReUpload=!0,i[r].Language=t}else{var l={DoctorId:a.doctorId,Type:"Resume",Path:n.Result.FilePath,FullPath:n.Result.FullFilePath,FileName:e.name,Language:t};i.push(l)}a.saveUploadFiles(i)})).catch((function(){a.isDisabled=!1}))},saveUploadFiles:function(e){var t=this;Object(r["c"])(e).then((function(e){t.resumeList=e.Result,t.filterByLanguage(),t.isDisabled=!1,t.$message.success("Uploaded successfully")})).catch((function(){t.isDisabled=!1}))},filterByLanguage:function(){var e=this;this.resumeListEN=[],this.resumeListCN=[],this.resumeList.map((function(t){2===t.Language?e.resumeListEN.push(t):1===t.Language&&e.resumeListCN.push(t)}))},checkFileSuffix:function(e){var t=".doc, .docx",a=e.lastIndexOf("."),i=e.substring(a+1,e.length).toLocaleLowerCase();return t.search(i)},handlePreview:function(e){e.FullPath&&window.open(e.FullPath,"_blank")},handleRemoveFile:function(e){var t=this;this.$confirm("Sure to delete?",{type:"warning",distinguishCancelAndClose:!0,confirmButtonText:"Ok",cancelButtonText:"Cancel"}).then((function(){Object(r["a"])(e.Id,e.Path).then((function(a){a.IsSuccess&&(t.resumeList.splice(t.resumeList.findIndex((function(t){return t.Id===e.Id})),1),t.filterByLanguage(),t.$message({message:"Deleted successfully!",type:"success"}))}))})).catch((function(e){}))},handleSetOfiical:function(e){var t=this;Object(r["e"])(this.doctorId,e.Id,e.Language).then((function(e){e.IsSuccess&&(t.getResumeList(),t.$message({message:"Saved successfully!",type:"success"}))}))},handleLanguageClick:function(e){this.dialogVisible=!0,this.language=e.Language,this.currentRow=e},setResumeLanguage:function(){var e=this;Object(r["d"])(this.doctorId,this.currentRow.Id,this.language).then((function(t){t.IsSuccess&&(e.dialogVisible=!1,e.getResumeList(),e.$message({message:"Saved successfully!",type:"success"}))}))}}},o=l,s=(a("bddc"),a("2877")),c=Object(s["a"])(o,i,n,!1,null,null,null);t["default"]=c.exports},"55c6":function(e,t,a){},"5e36":function(e,t,a){"use strict";a("b202")},"63a6":function(e,t,a){"use strict";a.r(t);var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"credentials-container"},[a("div",{staticClass:"clearfix"},[a("el-card",{staticClass:"e-card"},[a("p",{staticClass:"title"},[e._v("Diploma of the highest medical degree 最高医学学位毕业证书\n ")]),e._v(" "),a("upload-file",{attrs:{"doctor-id":e.doctorId,type:"Diploma of the highest medical degree"}}),e._v(" "),a("el-button",{staticStyle:{position:"absolute",bottom:"10px",right:"10px"},attrs:{size:"mini",type:"primary"},on:{click:function(t){return e.handleDownload("Reviewer_DiplomaOfTheHighestMedicalDegree_Template")}}},[a("i",{staticClass:"el-icon-view el-icon-download"}),e._v("\n Template\n ")])],1),e._v(" "),a("el-card",{staticClass:"e-card"},[a("p",{staticClass:"title"},[e._v("Medical Qualification Certificate 医师资格证\n "),a("el-button",{staticStyle:{position:"absolute",bottom:"10px",right:"10px"},attrs:{size:"mini",type:"primary"},on:{click:function(t){return e.handleDownload("Reviewer_MedicalQualificationCertificate_Template")}}},[a("i",{staticClass:"el-icon-view el-icon-download"}),e._v("\n Template\n ")])],1),e._v(" "),a("upload-file",{attrs:{"doctor-id":e.doctorId,type:"Medical Qualification Certificate"}})],1),e._v(" "),a("el-card",{staticClass:"e-card"},[a("p",{staticClass:"title"},[e._v("Practice License 医师执业证\n "),a("el-button",{staticStyle:{position:"absolute",bottom:"10px",right:"10px"},attrs:{size:"mini",type:"primary"},on:{click:function(t){return e.handleDownload("Reviewer_PracticeLicense_Template")}}},[a("i",{staticClass:"el-icon-view el-icon-download"}),e._v("\n Template\n ")])],1),e._v(" "),a("upload-file",{attrs:{"doctor-id":e.doctorId,type:"Practice License"}})],1)],1),e._v(" "),a("h6",{staticStyle:{"line-height":"30px","font-size":"13px"}},[e._v("Modality Certificate 大型医用设备上岗证")]),e._v(" "),a("div",{staticClass:"clearfix"},[a("el-card",{staticClass:"e-card"},[a("p",{staticClass:"title"},[e._v("CT\n "),a("el-button",{staticStyle:{position:"absolute",bottom:"10px",right:"10px"},attrs:{size:"mini",type:"primary"},on:{click:function(t){return e.handleDownload("Reviewer_CT_Template")}}},[a("i",{staticClass:"el-icon-view el-icon-download"}),e._v("\n Template\n ")])],1),e._v(" "),a("upload-file",{attrs:{"doctor-id":e.doctorId,type:"Modality Certificate(CT)"}})],1),e._v(" "),a("el-card",{staticClass:"e-card"},[a("p",{staticClass:"title"},[e._v("MRI\n "),a("el-button",{staticStyle:{position:"absolute",bottom:"10px",right:"10px"},attrs:{size:"mini",type:"primary"},on:{click:function(t){return e.handleDownload("Reviewer_MRI_Template")}}},[a("i",{staticClass:"el-icon-view el-icon-download"}),e._v("\n Template\n ")])],1),e._v(" "),a("upload-file",{attrs:{"doctor-id":e.doctorId,type:"Modality Certificate(MRI)"}})],1),e._v(" "),a("el-card",{staticClass:"e-card"},[a("p",{staticClass:"title"},[e._v("NM\n "),a("el-button",{staticStyle:{position:"absolute",bottom:"10px",right:"10px"},attrs:{size:"mini",type:"primary"},on:{click:function(t){return e.handleDownload("Reviewer_NM_Template")}}},[a("i",{staticClass:"el-icon-view el-icon-download"}),e._v("\n Template\n ")])],1),e._v(" "),a("upload-file",{attrs:{"doctor-id":e.doctorId,type:"Modality Certificate(NM)"}})],1),e._v(" "),a("el-card",{staticClass:"e-card"},[a("p",{staticClass:"title"},[e._v("US\n "),a("el-button",{staticStyle:{position:"absolute",bottom:"10px",right:"10px"},attrs:{size:"mini",type:"primary"},on:{click:function(t){return e.handleDownload("Reviewer_US_Template")}}},[a("i",{staticClass:"el-icon-view el-icon-download"}),e._v("\n Template\n ")])],1),e._v(" "),a("upload-file",{attrs:{"doctor-id":e.doctorId,type:"Modality Certificate(US)"}})],1)],1)])},n=[],r=a("b418"),l=a("e56e"),o={components:{UploadFile:r["default"]},data:function(){return{doctorId:this.$route.query.Id}},methods:{handleDownload:function(e){var t=this;this.loading=!0,Object(l["a"])(e).then((function(e){t.loading=!1})).catch((function(){t.loading=!1}))}}},s=o,c=(a("d55c"),a("2877")),u=Object(c["a"])(s,i,n,!1,null,null,null);t["default"]=u.exports},"642b":function(e,t,a){"use strict";a.r(t);var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"gcp-container"},[a("el-radio-group",{staticStyle:{"margin-bottom":"20px"},model:{value:e.GCP,callback:function(t){e.GCP=t},expression:"GCP"}},[a("el-radio",{attrs:{label:1}},[e._v("Yes")]),e._v(" "),a("el-radio",{attrs:{label:0}},[e._v("No")])],1),e._v(" "),e.GCP?a("div",{staticClass:"upload-container"},[a("el-upload",{staticClass:"upload-demo",attrs:{action:"","http-request":e.uploadFile,"before-upload":e.beforeUpload,"file-list":e.fileList,"before-remove":e.beforeRemove,"on-remove":e.handleRemoveFile,"on-preview":e.handlePreview,limit:1,"on-exceed":e.handleExceed,accept:".pdf"}},[a("el-button",{attrs:{size:"small",type:"primary",loading:e.btnDisabled}},[e._v("Upload")]),e._v(" "),a("span",{staticClass:"el-upload__tip",staticStyle:{"margin-left":"10px"},attrs:{slot:"tip"},slot:"tip"},[e._v("(must be in pdf format)")])],1)],1):e._e(),e._v(" "),a("div",[a("el-button",{staticStyle:{"margin-top":"20px"},attrs:{loading:e.saveBtnLoading,disabled:0===e.fileList.length&&1===e.GCP,type:"primary",size:"small"},on:{click:e.handleSaveGCP}},[e._v("\n Save\n ")])],1)],1)},n=[],r=(a("7f7f"),a("ac6a"),a("c5f6"),a("a796")),l=a("33ba"),o={name:"UploadFile",props:{doctorId:{type:String,required:!0},gcp:{type:Number,default:0},gcpId:{type:String,default:""}},data:function(){return{fileList:[],btnDisabled:!1,saveBtnLoading:!1,GCP:0,GCPID:""}},watch:{gcp:function(e){this.GCP=e},gcpId:function(e){this.GCPID=e}},mounted:function(){this.initFileList()},methods:{handleSaveGCP:function(){var e=this;if(this.GCP&&""===this.GCPID)this.$message.info("Please upload the GCP certificate");else{var t={Id:this.doctorId,GCP:this.GCP,GCPId:this.GCPID};this.saveBtnLoading=!0,Object(l["D"])(t).then((function(t){0===e.GCP&&(e.fileList=[]),e.saveBtnLoading=!1,e.$message.success("Saved successfully")})).catch((function(){e.saveBtnLoading=!1}))}},initFileList:function(){var e=this;Object(r["b"])(this.doctorId,"GCP").then((function(t){t.IsSuccess&&(t.Result.length>0?e.fileList=e.formatterFileList(t.Result):e.fileList=[])}))},formatterFileList:function(e){var t=[];return e.forEach((function(e){var a={name:e.FileName,path:e.Path,fullPath:e.FullPath,id:e.Id,type:e.Type};t.push(a)})),t},uploadFile:function(e){var t=this,a=e.file.name;this.btnDisabled=!0,Object(r["f"])(e.file,"GCP",this.doctorId).then((function(e){e.IsSuccess&&(t.fileList.push({name:a,path:e.Result.FilePath,fullPath:e.Result.FullFilePath,type:"GCP"}),t.saveFile())})).catch((function(){t.btnDisabled=!1}))},saveFile:function(){var e=this,t=this.fileList[0],a=t.name,i=t.path,n=t.fullPath,l=t.type,o=[{DoctorId:this.doctorId,Type:l,Path:i,FullPath:n,FileName:a}];Object(r["c"])(o).then((function(t){e.btnDisabled=!1,t.IsSuccess&&(e.fileList[0].id=t.Result[0].Id,e.GCPID=t.Result[0].Id,e.$message.success("Uploaded successfully"))})).catch((function(){e.btnDisabled=!1}))},beforeUpload:function(e,t){var a=this.fileValid(e.name,["pdf"]);if(!a)return this.$message.error("must be in pdf format"),!1;this.fileList=[]},beforeRemove:function(e,t){if(e&&"success"===e.status)return this.$confirm("Sure to remove ".concat(e.name,"?"))},handleRemoveFile:function(e,t){var a=this;e&&"success"===e.status&&(e.id?Object(r["a"])(e.id,e.path).then((function(e){e.IsSuccess&&(a.fileList=[],a.GCPID="",a.$message({message:"Deleted successfully!",type:"success"}))})):this.fileList=[])},handlePreview:function(e){e.fullPath&&window.open(e.fullPath,"_blank")},handleExceed:function(e,t){this.$message.warning("Upload is currently limited to 1 file")},fileValid:function(e,t){var a=e.substring(e.lastIndexOf(".")+1).toLocaleLowerCase();return t.indexOf(a)>-1}}},s=o,c=(a("b381"),a("2877")),u=Object(c["a"])(s,i,n,!1,null,null,null);t["default"]=u.exports},"6abe":function(e,t,a){"use strict";a("f7f2")},"6cce":function(e,t,a){"use strict";a.r(t);var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"resumes-container"},[e.$route.query.ReviewStatus?e._e():a("div",{staticClass:"resume-content"},[a("p",[e._v("Consultant Agreement")]),e._v(" "),a("div",{staticClass:"upload-content"},[a("upload-files",{ref:"uploadAgreement",attrs:{disabled:"1"===e.$route.query.ReviewStatus,"doctor-id":e.doctorId,type:"Consultant Agreement",accept:".pdf"},on:{getFileList:e.getFileList}})],1),e._v(" "),a("p",[e._v("(must be in pdf format)")])]),e._v(" "),e.$route.query.ReviewStatus?e._e():a("div",[a("el-table",{attrs:{data:e.agreementList,size:"small"}},[a("el-table-column",{attrs:{type:"index",width:"40"}}),e._v(" "),a("el-table-column",{attrs:{prop:"FileName",label:"Consultant Agreement",width:"300"}}),e._v(" "),a("el-table-column",{attrs:{prop:"CreateTime",label:"Upload Time",width:"150"}}),e._v(" "),a("el-table-column",{attrs:{label:"Action",width:"400"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){return e.handlePreview(t.row)}}},[e._v("View")]),e._v(" "),a("el-button",{attrs:{type:"text",size:"small",disabled:"1"===e.$route.query.ReviewStatus},on:{click:function(a){return e.handleRemoveFile(t.row)}}},[e._v("Delete")])]}}],null,!1,3024921981)})],1)],1),e._v(" "),a("div",{staticStyle:{"margin-top":"20px"}},[a("span",{staticStyle:{"margin-right":"20px"}},[e._v("\n "+e._s(e.$t("trials:enrolledReviews:button:sow"))+"\n ")]),e._v(" "),a("el-button",{attrs:{size:"small",type:"primary",disabled:"1"===e.$route.query.ReviewStatus},on:{click:function(t){e.addCol(0,e.$t("trials:enrolledReviews:button:sow"))}}},[e._v("Upload")]),e._v(" "),a("el-button",{attrs:{size:"small",type:"primary"},on:{click:function(t){return e.handleDownload("Reviewer_SOW_Template")}}},[a("i",{staticClass:"el-icon-view el-icon-download"}),e._v("\n Template\n ")])],1),e._v(" "),a("el-table",{attrs:{data:e.sowList,size:"small"}},[a("el-table-column",{attrs:{type:"index",width:"40"}}),e._v(" "),a("el-table-column",{attrs:{label:"Criterion Type",width:"120"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.CriterionName)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"FileName",label:"Statement of Work",width:"400"}}),e._v(" "),a("el-table-column",{attrs:{prop:"IsEnable",label:"Is Enable",width:"100"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-switch",{attrs:{"active-value":!0,"inactive-value":!1,disabled:""},model:{value:t.row.IsEnable,callback:function(a){e.$set(t.row,"IsEnable",a)},expression:"scope.row.IsEnable"}})]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"Remark",label:"Remark",width:"200"}}),e._v(" "),a("el-table-column",{attrs:{prop:"CreateTime",label:"Upload Time",width:"150"}}),e._v(" "),a("el-table-column",{attrs:{label:"Action",width:"400"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text",size:"small",disabled:"1"===e.$route.query.ReviewStatus},on:{click:function(a){return e.handlePreview3(t.row)}}},[e._v("View")]),e._v(" "),a("el-button",{attrs:{type:"text",size:"small",disabled:"1"===e.$route.query.ReviewStatus},on:{click:function(a){e.handleEditCol(t.row,0,e.$t("trials:enrolledReviews:button:sow"))}}},[e._v("Edit")]),e._v(" "),a("el-button",{attrs:{type:"text",size:"small",disabled:"1"===e.$route.query.ReviewStatus},on:{click:function(a){return e.handleRemoveFile3(t.row)}}},[e._v("Delete")])]}}])})],1),e._v(" "),e.$route.query.ReviewStatus?e._e():a("div",{staticStyle:{"margin-top":"20px"}},[a("span",{staticStyle:{"margin-right":"20px"}},[e._v("\n "+e._s(e.$t("trials:enrolledReviews:button:asow"))+"\n ")]),e._v(" "),a("el-button",{attrs:{size:"small",type:"primary",disabled:"1"===e.$route.query.ReviewStatus},on:{click:function(t){e.addCol(1,e.$t("trials:enrolledReviews:button:asow"))}}},[e._v("Upload")])],1),e._v(" "),e.$route.query.ReviewStatus?e._e():a("el-table",{attrs:{data:e.ackSowList,size:"small"}},[a("el-table-column",{attrs:{type:"index",width:"40"}}),e._v(" "),a("el-table-column",{attrs:{label:"Criterion Type",width:"120"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.CriterionName)+"\n ")]}}],null,!1,3649527081)}),e._v(" "),a("el-table-column",{attrs:{prop:"FileName",label:"Acknowledgement of SOW",width:"400"}}),e._v(" "),a("el-table-column",{attrs:{prop:"IsEnable",label:"Is Enable",width:"100"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-switch",{attrs:{"active-value":!0,"inactive-value":!1,disabled:""},model:{value:t.row.IsEnable,callback:function(a){e.$set(t.row,"IsEnable",a)},expression:"scope.row.IsEnable"}})]}}],null,!1,3524721952)}),e._v(" "),a("el-table-column",{attrs:{prop:"Remark",label:"Remark",width:"200"}}),e._v(" "),a("el-table-column",{attrs:{prop:"CreateTime",label:"Upload Time",width:"150"}}),e._v(" "),a("el-table-column",{attrs:{label:"Action",width:"400"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text",size:"small",disabled:"1"===e.$route.query.ReviewStatus},on:{click:function(a){return e.handlePreview3(t.row)}}},[e._v("View")]),e._v(" "),a("el-button",{attrs:{type:"text",size:"small",disabled:"1"===e.$route.query.ReviewStatus},on:{click:function(a){e.handleEditCol(t.row,1,e.$t("trials:enrolledReviews:button:asow"))}}},[e._v("Edit")]),e._v(" "),a("el-button",{attrs:{type:"text",size:"small",disabled:"1"===e.$route.query.ReviewStatus},on:{click:function(a){return e.handleRemoveFile3(t.row)}}},[e._v("Delete")])]}}],null,!1,3895284633)})],1),e._v(" "),a("BaseModel",{attrs:{config:e.model_cfg}},[a("template",{slot:"dialog-body"},[a("el-form",{ref:"DictionaryTypeConfigForm",attrs:{model:e.form,rules:e.rules,"label-width":"120px",size:"small"}},[a("el-form-item",{attrs:{label:"Criterion Type ",prop:"CriterionType"}},[a("el-select",{model:{value:e.form.CriterionType,callback:function(t){e.$set(e.form,"CriterionType",t)},expression:"form.CriterionType"}},e._l(e.$d.CriterionType,(function(e){return a("el-option",{key:e.id,attrs:{value:e.value,label:e.label}})})),1)],1),e._v(" "),a("el-form-item",{attrs:{label:"File",prop:"FilePath"}},[a("el-upload",{staticClass:"upload-demo",attrs:{action:"","before-upload":e.beforeUpload,"http-request":e.handleUploadFile,"on-preview":e.handlePreview2,"on-remove":e.handleRemoveFile2,"show-file-list":!0,limit:1,"file-list":e.fileList}},[a("el-button",{attrs:{size:"small",type:"primary",disabled:e.fileList.length>0}},[e._v("点击上传")])],1)],1),e._v(" "),a("el-form-item",{attrs:{label:"Remark"}},[a("el-input",{attrs:{type:"textarea",autosize:{minRows:2,maxRows:4}},model:{value:e.form.Remark,callback:function(t){e.$set(e.form,"Remark",t)},expression:"form.Remark"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"Is Enable"}},[a("el-switch",{attrs:{"active-value":!0,"inactive-value":!1},model:{value:e.form.IsEnable,callback:function(t){e.$set(e.form,"IsEnable",t)},expression:"form.IsEnable"}})],1)],1)],1),e._v(" "),a("template",{slot:"dialog-footer"},[a("el-button",{attrs:{disabled:e.btnLoading,size:"small",type:"primary"},on:{click:e.handleCancle}},[e._v("Cancel")]),e._v(" "),a("el-button",{attrs:{size:"small",type:"primary",loading:e.btnLoading},on:{click:e.handleSave}},[e._v("Save")])],1)],2)],1)},n=[],r=(a("7f7f"),a("a796")),l=a("c006"),o=a("33ba"),s=a("7eeb"),c=a("e56e"),u={name:"Agreements",components:{UploadFiles:l["default"],BaseModel:s["default"]},data:function(){return{doctorId:this.$route.query.Id,agreementList:[],sowList:[],ackSowList:[],loading:!1,isOpen:!1,btnLoading:!1,model_cfg:{visible:!1,showClose:!0,width:"600px",title:"",appendToBody:!0},form:{Remark:null,FileType:null,FileName:null,FilePath:null,DoctorId:null,CriterionType:null,IsEnable:!1},rules:{CriterionType:[{required:!0,message:this.$t("common:ruleMessage:specify"),trigger:["blur"]}],FilePath:[{required:!0,message:this.$t("common:ruleMessage:specify"),trigger:["blur"]}]},fileList:[]}},mounted:function(){this.initSowList()},methods:{handleDownload:function(e){var t=this;this.loading=!0,Object(c["a"])(e).then((function(e){t.loading=!1})).catch((function(){t.loading=!1}))},handleEditCol:function(e,t,a){this.model_cfg.visible=!0,this.form=Object.assign({},e),this.fileList[0]={name:e.FileName,path:e.FilePath},this.form.FileType=t,this.model_cfg.title=a},handleRemoveFile3:function(e){var t=this;this.$confirm("确定删除?").then((function(){Object(o["h"])({Id:e.Id}).then((function(){t.initSowList(),t.$message.success("删除成功")}))}))},handleRemoveFile2:function(){this.form.FileName=null,this.form.FilePath=null,this.fileList=[]},beforeUpload:function(){this.fileList.length>0&&this.$message.error("最多只能传一个附件")},handlePreview3:function(e){e.FilePath&&window.open(e.FilePath,"_blank")},handlePreview2:function(e,t){e.fullPath&&window.open(e.fullPath,"_blank")},handleUploadFile:function(e){var t=this;this.btnLoading=!0;var a=new FormData;a.append("file",e.file),this.form.FileName=e.file.name,Object(r["f"])(e.file,0===this.form.FileType?"既往阅片情况声明":"入项资格确认书",this.doctorId).then((function(a){t.form.FilePath=a.Result.FilePath,t.btnLoading=!1,t.fileList[0]={name:e.file.name,path:a.Result.FilePath,fullPath:a.Result.FullFilePath}}))},handleCancle:function(){this.model_cfg.visible=!1},handleSave:function(){var e=this;this.$refs["DictionaryTypeConfigForm"].validate((function(t){t&&(e.form.DoctorId=e.doctorId,e.form.CriterionName=e.$fd("CriterionType",e.form.CriterionType),Object(o["a"])(e.form).then((function(t){e.$message.success("添加成功"),e.initSowList(),e.handleCancle()})))}))},addCol:function(e,t){this.model_cfg.visible=!0,this.form={Remark:null,FileType:null,FileName:null,FilePath:null,DoctorId:null,CriterionType:null},this.handleRemoveFile2(),this.form.FileType=e,this.model_cfg.title=t},initSowList:function(){var e=this;Object(o["r"])({fileType:0,DoctorId:this.doctorId}).then((function(t){e.sowList=t.Result})),Object(o["r"])({fileType:1,DoctorId:this.doctorId}).then((function(t){e.ackSowList=t.Result}))},handlePreview:function(e){e.FullPath&&window.open(e.FullPath,"_blank")},handleRemoveFile:function(e){this.$refs.uploadAgreement.handleDeleteFile(e)},getFileList:function(e){this.agreementList=e}}},d=u,m=(a("df2d"),a("2877")),p=Object(m["a"])(d,i,n,!1,null,"3d0bb65a",null);t["default"]=p.exports},"77f5":function(e,t,a){"use strict";a.r(t);var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"form-container",staticStyle:{width:"80%"}},[a("el-form",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"researchForm",attrs:{"label-width":"140px",model:e.researchForm,size:"small"}},[a("el-form-item",{attrs:{label:"Field of Research: "}},[a("el-row",{attrs:{type:"flex",justify:"space-between"}},[a("el-col",{attrs:{span:11}},[a("el-input",{attrs:{disabled:"1"===e.$route.query.ReviewStatus,type:"textarea",rows:"5",placeholder:"请注明 in English",size:"small"},model:{value:e.researchForm.Research,callback:function(t){e.$set(e.researchForm,"Research",t)},expression:"researchForm.Research"}})],1),e._v(" "),a("el-col",{attrs:{span:11}},[a("el-input",{attrs:{disabled:"1"===e.$route.query.ReviewStatus,type:"textarea",rows:"5",placeholder:"请用中文注明",size:"small"},model:{value:e.researchForm.ResearchCN,callback:function(t){e.$set(e.researchForm,"ResearchCN",t)},expression:"researchForm.ResearchCN"}})],1)],1)],1),e._v(" "),a("el-form-item",{attrs:{label:"Grants: "}},[a("el-row",{attrs:{type:"flex",justify:"space-between"}},[a("el-col",{attrs:{span:11}},[a("el-input",{attrs:{disabled:"1"===e.$route.query.ReviewStatus,type:"textarea",rows:"5",placeholder:"请注明 in English",size:"small"},model:{value:e.researchForm.Grants,callback:function(t){e.$set(e.researchForm,"Grants",t)},expression:"researchForm.Grants"}})],1),e._v(" "),a("el-col",{attrs:{span:11}},[a("el-input",{attrs:{disabled:"1"===e.$route.query.ReviewStatus,type:"textarea",rows:"5",placeholder:"请用中文注明",size:"small"},model:{value:e.researchForm.GrantsCN,callback:function(t){e.$set(e.researchForm,"GrantsCN",t)},expression:"researchForm.GrantsCN"}})],1)],1)],1),e._v(" "),a("el-form-item",{attrs:{label:"Publications: "}},[a("el-row",{attrs:{type:"flex",justify:"space-between"}},[a("el-col",{attrs:{span:11}},[a("el-input",{attrs:{disabled:"1"===e.$route.query.ReviewStatus,type:"textarea",rows:"5",placeholder:"请注明 in English",size:"small"},model:{value:e.researchForm.Publications,callback:function(t){e.$set(e.researchForm,"Publications",t)},expression:"researchForm.Publications"}})],1),e._v(" "),a("el-col",{attrs:{span:11}})],1)],1),e._v(" "),a("el-form-item",{attrs:{label:"Awards & Honors: "}},[a("el-row",{attrs:{type:"flex",justify:"space-between"}},[a("el-col",{attrs:{span:11}},[a("el-input",{attrs:{disabled:"1"===e.$route.query.ReviewStatus,type:"textarea",rows:"5",placeholder:"请注明 in English",size:"small"},model:{value:e.researchForm.AwardsHonors,callback:function(t){e.$set(e.researchForm,"AwardsHonors",t)},expression:"researchForm.AwardsHonors"}})],1),e._v(" "),a("el-col",{attrs:{span:11}},[a("el-input",{attrs:{disabled:"1"===e.$route.query.ReviewStatus,type:"textarea",rows:"5",placeholder:"请用中文注明",size:"small"},model:{value:e.researchForm.AwardsHonorsCN,callback:function(t){e.$set(e.researchForm,"AwardsHonorsCN",t)},expression:"researchForm.AwardsHonorsCN"}})],1)],1)],1),e._v(" "),a("el-form-item",[a("el-button",{attrs:{disabled:"1"===e.$route.query.ReviewStatus,type:"primary",loading:e.isDisabled},on:{click:e.handleSave}},[e._v("Save")])],1)],1)],1)},n=[],r=a("33ba"),l={name:"ResearchPublication",props:{id:{type:String,default:function(){return""}}},data:function(){return{researchForm:{Research:"",ResearchCN:"",Grants:"",GrantsCN:"",Publications:"",AwardsHonors:"",AwardsHonorsCN:""},loading:!1,isDisabled:!1}},mounted:function(){this.initForm()},methods:{initForm:function(){var e=this,t=this.$route.query.Id;t&&Object(r["w"])(t).then((function(t){t.Result&&(e.researchForm.Research=t.Result.Research,e.researchForm.ResearchCN=t.Result.ResearchCN,e.researchForm.Grants=t.Result.Grants,e.researchForm.GrantsCN=t.Result.GrantsCN,e.researchForm.Publications=t.Result.Publications,e.researchForm.AwardsHonors=t.Result.AwardsHonors,e.researchForm.AwardsHonorsCN=t.Result.AwardsHonorsCN,e.researchForm.Id=t.Result.Id)}))},handleSave:function(){var e=this;this.loading=!0,this.isDisabled=!0,this.researchForm.DoctorId=this.$route.query.Id,Object(r["e"])(this.researchForm).then((function(t){e.loading=!1,e.isDisabled=!1,e.$message.success("Saved successfully"),e.researchForm.Id||(e.researchForm.Id=t.Result)})).catch((function(){e.loading=!1,e.isDisabled=!1}))}}},o=l,s=a("2877"),c=Object(s["a"])(o,i,n,!1,null,null,null);t["default"]=c.exports},7878:function(e,t,a){"use strict";a.r(t),a.d(t,"formatUTCTime",(function(){return i})),a.d(t,"fmtDate",(function(){return n})),a.d(t,"parseISOLocal",(function(){return r})),a.d(t,"FormatTime",(function(){return l})),a.d(t,"fn",(function(){return o})),a.d(t,"getLast3Month",(function(){return s})),a.d(t,"num2Money",(function(){return c})),a.d(t,"fomatFloat",(function(){return u}));a("6b54"),a("28a5"),a("3b2b"),a("a481");function i(e){if("0001-01-01T00:00:00Z"!==e){var t=new Date(e);return l(t,"yyyy-MM-dd")}return""}function n(e){var t=new Date(e),a=1900+t.getYear(),i="0"+(t.getMonth()+1),n="0"+t.getDate();return a+"-"+i.substring(i.length-2,i.length)+"-"+n.substring(n.length-2,n.length)}function r(e){var t=e.split(/\D/);return new Date(t[0],t[1]-1,t[2])}function l(e,t){var a={"y+":e.getFullYear(),"M+":e.getMonth()+1,"d+":e.getDate(),"h+":e.getHours(),"m+":e.getMinutes(),"s+":e.getSeconds(),"q+":Math.floor((e.getMonth()+3)/3),"S+":e.getMilliseconds()};for(var i in a)if(new RegExp("("+i+")").test(t))if("y+"===i)t=t.replace(RegExp.$1,(""+a[i]).substr(4-RegExp.$1.length));else if("S+"===i){var n=RegExp.$1.length;n=1===n?3:n,t=t.replace(RegExp.$1,("00"+a[i]).substr((""+a[i]).length-1,n))}else t=t.replace(RegExp.$1,1===RegExp.$1.length?a[i]:("00"+a[i]).substr((""+a[i]).length));return t}function o(e){var t=new Date(e),a=e.toString().length;if(a<13){var i=13-a;i=Math.pow(10,i),t=new Date(e*i)}var n=t.getFullYear()+"-",r=t.getMonth()+1;r=(r<10?"0"+r:r)+"-";var l=t.getDate();l=(l<10?"0"+l:l)+" ";var o=t.getHours();o=(o<10?"0"+o:o)+":";var s=t.getMinutes();s=(s<10?"0"+s:s)+":";var c=t.getSeconds();return c=c<10?"0"+c:c,n+r+l+o+s+c}function s(){var e=new Date,t=e.getFullYear(),a=e.getMonth()+1,i=e.getDate(),n={};return parseInt(a)<10&&(a="0"+a),parseInt(i)<10&&(i="0"+i),n.now=t+"-"+a,1===parseInt(a)?(n.last=parseInt(t)-1+"-10",n):2===parseInt(a)?(n.last=parseInt(t)-1+"-11",n):3===parseInt(a)?(n.last=parseInt(t)-1+"-12",n):(n.last=t+"-0"+(parseInt(a)-3),n)}function c(e,t,a){if(null==e)return"0.0";e=e.toString().replace(/\$|\,/g,""),isNaN(e)&&(e="0");var i=e===(e=Math.abs(e));e=Math.floor(e*Math.pow(10,t)+.50000000001);var n=e%Math.pow(10,t);e=Math.floor(e/Math.pow(10,t)).toString(),n=n.toString();while(n.length<t)n="0"+n;if(a)for(var r=0;r<Math.floor((e.length-(1+r))/3);r++)e=e.substring(0,e.length-(4*r+3))+","+e.substring(e.length-(4*r+3));return t>0?(i?"":"-")+e+"."+n:(i?"":"-")+e}function u(e,t){return Math.round(e*Math.pow(10,t))/Math.pow(10,t)}Date.prototype.format=function(e){var t={"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 a in/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(this.getFullYear()+"").substr(4-RegExp.$1.length))),t)new RegExp("("+a+")").test(e)&&(e=e.replace(RegExp.$1,1===RegExp.$1.length?t[a]:("00"+t[a]).substr((""+t[a]).length)));return e}},"7dd4":function(e,t,a){"use strict";a("d7ac")},"7eeb":function(e,t,a){"use strict";a.r(t);var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"base-model-wrapper"},[e.config.visible?a("el-dialog",{directives:[{name:"dialogDrag",rawName:"v-dialogDrag"}],attrs:{title:e.config.title,"append-to-body":e.config.appendToBody,visible:e.config.visible,"close-on-click-modal":!1,"show-close":e.config.showClose,width:e.config.width,fullscreen:e.config.fullscreen},on:{"update:visible":function(t){return e.$set(e.config,"visible",t)}}},[a("div",{staticClass:"base-modal-body"},[e._t("dialog-body")],2),e._v(" "),a("div",{staticClass:"base-modal-footer",attrs:{slot:"footer"},slot:"footer"},[e._t("dialog-footer")],2)]):e._e()],1)},n=[],r={name:"BaseDialog",props:{config:{type:Object,default:function(){return{visible:!1,title:"",closeOnClickModal:!1,showClose:!0,appendToBody:!1,width:"100px",fullscreen:!1}}}}},l=r,o=(a("ebc9"),a("2877")),s=Object(o["a"])(l,i,n,!1,null,null,null);t["default"]=s.exports},"83a1":function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e===1/t:e!=e&&t!=t}},"8e8a":function(e,t,a){"use strict";a("9595")},9595:function(e,t,a){},9744:function(e,t,a){"use strict";var i=a("4588"),n=a("be13");e.exports=function(e){var t=String(n(this)),a="",r=i(e);if(r<0||r==1/0)throw RangeError("Count can't be negative");for(;r>0;(r>>>=1)&&(t+=t))1&r&&(a+=t);return a}},"9e95":function(e,t,a){"use strict";a.r(t);var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-container"},[a("el-tabs",{attrs:{"before-leave":e.checkLeave},on:{"tab-click":e.clickTab},model:{value:e.active,callback:function(t){e.active=t},expression:"active"}},[a("el-tab-pane",{attrs:{label:"Basic Info",name:"BasicInfo"}},[e.load.BasicInfo?a("basic-info"):e._e()],1),e._v(" "),a("el-tab-pane",{attrs:{label:"Employment",name:"Employment"}},[e.load.Employment?a("Employment"):e._e()],1),e._v(" "),a("el-tab-pane",{attrs:{label:"Specialty",name:"Specialty"}},[e.load.Specialty?a("specialty"):e._e()],1),e._v(" "),a("el-tab-pane",{attrs:{label:"Education & Training",name:"EducationTraining"}},[e.load.EducationTraining?a("education-training"):e._e()],1),e._v(" "),a("el-tab-pane",{attrs:{label:"Research & Publication",name:"ResearchPublication"}},[e.load.ResearchPublication?a("research-publication"):e._e()],1),e._v(" "),a("el-tab-pane",{attrs:{label:"Trial Experience",name:"TrialExperience"}},[e.load.TrialExperience?a("trial-experience"):e._e()],1),e._v(" "),a("el-tab-pane",{attrs:{label:"Credentials",name:"Credentials"}},[e.load.Credentials?a("Credentials"):e._e()],1),e._v(" "),a("el-tab-pane",{attrs:{label:"Resumes",name:"Resumes"}},[e.load.Resumes?a("Resumes"):e._e()],1),e._v(" "),a("el-tab-pane",{attrs:{label:"Agreements",name:"Agreements"}},[e.load.Agreements?a("Agreements"):e._e()],1)],1)],1)},n=[],r=(a("386d"),a("4917"),a("3b2b"),a("7f7f"),a("383e")),l=a("cf4f"),o=a("ff7e"),s=a("2021"),c=a("77f5"),u=a("3290"),d=a("63a6"),m=a("4aa2"),p=a("6cce"),f=a("ca86"),h=a("a599"),b={components:{BasicInfo:r["default"],Employment:l["default"],Specialty:o["default"],EducationTraining:s["default"],ResearchPublication:c["default"],TrialExperience:u["default"],Credentials:d["default"],Resumes:m["default"],Agreements:p["default"],Setting:f["default"]},data:function(){return{active:"BasicInfo",load:{BasicInfo:!0,Employment:!1,Specialty:!1,EducationTraining:!1,ResearchPublication:!1,TrialExperience:!1,Credentials:!1,Resumes:!1,Agreements:!1,Setting:!1}}},mounted:function(){this.active=this.$route.query.tabActive,""===this.$route.query.Id&&"BasicInfo"!==this.active&&this.$router.push({path:"/ReviewersResearch"}),this.load[this.active]=!0},methods:{clickTab:function(e,t){!1===this.load[e.name]&&(this.load[e.name]=!0),Object(h["a"])("tabActive",e.name);var a=Object(h["b"])("Id");this.$router.push({path:"/ReviewersResearchForm?Id=".concat(a,"&tabActive=").concat(e.name,"&ReviewStatus=").concat(Object(h["b"])("ReviewStatus"))})},checkLeave:function(){var e=Object(h["b"])("Id");return!!e||(this.$message({message:"Please fill in the basic information first",type:"warning"}),!1)},getQueryString:function(e){console.log(window.location.href);var t=new RegExp("(^|&)"+e+"=([^&]*)(&|$)"),a=window.location.search.substr(1).match(t);return null!=a?unescape(a[2]):null}}},g=b,v=(a("5e36"),a("2877")),y=Object(v["a"])(g,i,n,!1,null,"96a3c784",null);t["default"]=y.exports},a255:function(e,t,a){"use strict";a("1772")},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(e){var t=window.location.href,a=t.split("?");if(a.length>1){a=a[1].split("&");for(var i=0;i<a.length;i++){var n=a[i].split("=");if(n[0]==e)return n[1]}return null}return null}},a796:function(e,t,a){"use strict";a.d(t,"f",(function(){return r})),a.d(t,"a",(function(){return l})),a.d(t,"b",(function(){return o})),a.d(t,"c",(function(){return s})),a.d(t,"e",(function(){return c})),a.d(t,"g",(function(){return u})),a.d(t,"d",(function(){return d}));var i=a("db72"),n=a("b775");function r(e,t,a){var i=new FormData;return i.append("file",e),Object(n["a"])({url:"/file/uploadFile/".concat(t,"/").concat(a),method:"post",data:i})}function l(e,t){return Object(n["a"])({url:"/attachment/deleteAttachment",method:"delete",data:{Id:e,Path:t}})}function o(e,t){return Object(n["a"])({url:"/attachment/getAttachmentByType/".concat(e,"/").concat(t),method:"get"})}function s(e){return Object(n["a"])({url:"/attachment/saveAttachments",method:"post",data:e})}function c(e,t,a){return Object(n["a"])({url:"/attachment/setOfficial/".concat(e,"/").concat(t,"/").concat(a),method:"post"})}function u(e,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=new FormData;return r.append("file",e),Object(n["a"])(Object(i["a"])({url:"/file/uploadNonDoctorFile/".concat(t),method:"post",data:r},a))}function d(e,t,a){return Object(n["a"])({url:"/attachment/setLanguage/".concat(e,"/").concat(t,"/").concat(a),method:"post"})}},a8db:function(e,t,a){"use strict";var i=a("e265"),n=a.n(i),r=a("a4bb"),l=a.n(r);function o(e,t){if(null==e)return{};var a,i,n={},r=l()(e);for(i=0;i<r.length;i++)a=r[i],t.indexOf(a)>=0||(n[a]=e[a]);return n}function s(e,t){if(null==e)return{};var a,i,r=o(e,t);if(n.a){var l=n()(e);for(i=0;i<l.length;i++)a=l[i],t.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}a.d(t,"a",(function(){return s}))},b202:function(e,t,a){},b381:function(e,t,a){"use strict";a("383a")},b418:function(e,t,a){"use strict";a.r(t);var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"upload-container"},[a("el-upload",{staticClass:"upload-demo",attrs:{action:"","http-request":e.uploadFile,"before-upload":e.beforeUpload,"file-list":e.fileList,"before-remove":e.beforeRemove,"on-remove":e.handleRemoveFile,"on-preview":e.handlePreview,limit:1,"on-exceed":e.handleExceed,accept:".pdf"}},[a("el-button",{attrs:{size:"small",type:"primary",disabled:e.btnDisabled||"1"===e.$route.query.ReviewStatus}},[e._v("Upload")]),e._v(" "),a("span",{staticClass:"el-upload__tip",attrs:{slot:"tip"},slot:"tip"},[e._v("(must be in pdf format)")])],1)],1)},n=[],r=(a("7f7f"),a("ac6a"),a("a796")),l={name:"UploadFile",props:{type:{type:String,required:!0},doctorId:{type:String,required:!0}},data:function(){return{fileList:[],btnDisabled:!1}},mounted:function(){this.initFileList()},methods:{initFileList:function(){var e=this;Object(r["b"])(this.doctorId,this.type).then((function(t){t.IsSuccess&&(t.Result.length>0?e.fileList=e.formatterFileList(t.Result):e.fileList=[])}))},formatterFileList:function(e){var t=[];return e.forEach((function(e){var a={name:e.FileName,path:e.Path,fullPath:e.FullPath,id:e.Id,type:e.Type};t.push(a)})),t},uploadFile:function(e){var t=this;this.$emit("handleUpload",!0);var a=e.file.name;this.btnDisabled=!0,Object(r["f"])(e.file,this.type,this.doctorId).then((function(e){e.IsSuccess&&(t.fileList.push({name:a,path:e.Result.FilePath,fullPath:e.Result.FullFilePath,type:t.type}),t.saveFile())})).catch((function(){t.btnDisabled=!1,t.$emit("handleUpload",!1)}))},saveFile:function(){var e=this,t=this.fileList[0],a=t.name,i=t.path,n=t.fullPath,l=t.type,o=[{DoctorId:this.doctorId,Type:l,Path:i,FullPath:n,FileName:a}];Object(r["c"])(o).then((function(t){e.btnDisabled=!1,t.IsSuccess&&(e.fileList[0].id=t.Result[0].Id,e.$message.success("Uploaded successfully"),e.$emit("getFileList",t.Result[0].Id,t.Result[0].Path))})).catch((function(){e.btnDisabled=!1,e.$emit("handleUpload",!1)}))},beforeUpload:function(e,t){var a=this.fileValid(e.name,["pdf","PDF"]);if(!a)return this.$message.error("must be in pdf format"),!1;this.fileList=[]},beforeRemove:function(e,t){if(e&&"success"===e.status)return this.$confirm("Sure to remove ".concat(e.name,"?"))},handleRemoveFile:function(e,t){var a=this;e&&"success"===e.status&&(e.id?Object(r["a"])(e.id,e.path).then((function(e){e.IsSuccess&&(a.fileList=[],a.$emit("getFileList","",""),a.$message({message:"Deleted successfully!",type:"success"}))})):this.fileList=[])},handlePreview:function(e){e.fullPath&&window.open(e.fullPath,"_blank")},handleExceed:function(e,t){this.$message.warning("Upload is currently limited to 1 file")},fileValid:function(e,t){var a=e.substring(e.lastIndexOf(".")+1).toLocaleLowerCase();return t.indexOf(a)>-1}}},o=l,s=(a("08a6"),a("2877")),c=Object(s["a"])(o,i,n,!1,null,null,null);t["default"]=c.exports},b946:function(e,t,a){},bddc:function(e,t,a){"use strict";a("b946")},c006:function(e,t,a){"use strict";a.r(t);var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"uploadFiles-container"},[a("el-upload",{staticClass:"upload-demo",attrs:{action:"","show-file-list":!1,"http-request":e.handleUploadFile,"file-list":e.fileList,accept:e.accept}},[a("el-button",{attrs:{size:"small",type:"primary",disabled:e.isDisabled}},[e._v("Upload")])],1)],1)},n=[],r=(a("386d"),a("20d6"),a("14b9"),a("7f7f"),a("ac6a"),a("a796")),l={name:"UploadFiles",props:{type:{type:String,required:!0},doctorId:{type:String,required:!0},accept:{type:String,required:!0}},data:function(){return{fileList:[],repeat:!1,isDisabled:!1}},mounted:function(){this.initFileList()},methods:{initFileList:function(){var e=this,t=this.$loading({fullscreen:!1,lock:!0,text:"Loading",spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.07)"});Object(r["b"])(this.doctorId,this.type).then((function(a){t.close(),a.IsSuccess&&(a.Result.length>0?(e.fileList=e.formatterFileList(a.Result),e.$emit("getFileList",e.fileList)):e.fileList=[])})).catch((function(){t.close()}))},formatterFileList:function(e){var t=[];return e.forEach((function(e){var a={DoctorId:e.DoctorId,Type:e.Type,Path:e.Path,FullPath:e.FullPath,FileName:e.FileName,CreateTime:e.CreateTime,Id:e.Id};t.push(a)})),t},handleUploadFile:function(e){var t=this;if(this.repeat=!1,this.checkFileSuffix(e.file.name)){var a=this.fileList.some((function(t){return t.FileName===e.file.name}));a?this.$confirm("Override the existing resume?",{type:"warning",distinguishCancelAndClose:!0,confirmButtonText:"OK",cancelButtonText:"Cancel"}).then((function(){t.repeat=!0,t.uploadFile(e.file)})).catch((function(e){})):this.uploadFile(e.file)}else this.$message.error("Must be in ".concat(this.accept," format"))},uploadFile:function(e){var t=this;this.isDisabled=!0,Object(r["f"])(e,this.type,this.doctorId).then((function(a){if(t.repeat){var i=t.fileList.findIndex((function(t,a){return t.FileName===e.name}));t.fileList[i].Path=a.Result.FilePath,t.fileList[i].FullPath=a.Result.FullFilePath,t.fileList[i].ReUpload=!0}else{var n={DoctorId:t.doctorId,Type:t.type,Path:a.Result.FilePath,FullPath:a.Result.FullFilePath,FileName:e.name};t.fileList.push(n)}t.saveUploadFiles()})).catch((function(){t.isDisabled=!1}))},saveUploadFiles:function(){var e=this;Object(r["c"])(this.fileList).then((function(t){e.fileList=e.formatterFileList(t.Result),e.isDisabled=!1,e.$message.success("Uploaded successfully"),e.$emit("getFileList",e.fileList)})).catch((function(){e.isDisabled=!1}))},handleDeleteFile:function(e){var t=this;this.$confirm("Sure to remove?",{type:"warning",distinguishCancelAndClose:!0,confirmButtonText:"Ok",cancelButtonText:"Cancel"}).then((function(){Object(r["a"])(e.Id,e.Path).then((function(a){a.IsSuccess&&(t.fileList.splice(t.fileList.findIndex((function(t){return t.Id===e.Id})),1),t.$emit("getFileList",t.fileList),t.$message({message:"Deleted successfully!",type:"success"}))}))})).catch((function(e){}))},checkFileSuffix:function(e){var t=e.lastIndexOf("."),a=e.substring(t+1,e.length);return 1===this.accept.toLocaleLowerCase().search(a.toLocaleLowerCase())}}},o=l,s=(a("a255"),a("2877")),c=Object(s["a"])(o,i,n,!1,null,null,null);t["default"]=c.exports},ca86:function(e,t,a){"use strict";a.r(t);var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"check-container form-container"},[a("el-form",{ref:"checkForm",attrs:{model:e.checkForm,"label-width":"200px",size:"small",rules:e.rules}},[a("div",{staticClass:"title-wrapper"},[a("p",[e._v("盲化信息")])]),e._v(" "),a("div",{staticClass:"check-content"},[a("el-form-item",{attrs:{label:"Blind Name",prop:"BlindName"}},[a("el-input",{staticStyle:{width:"300px"},model:{value:e.checkForm.BlindName,callback:function(t){e.$set(e.checkForm,"BlindName",t)},expression:"checkForm.BlindName"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"Blind NameCN",prop:"BlindNameCN"}},[a("el-input",{staticStyle:{width:"300px"},model:{value:e.checkForm.BlindNameCN,callback:function(t){e.$set(e.checkForm,"BlindNameCN",t)},expression:"checkForm.BlindNameCN"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"Blind Publications",prop:"BlindPublications"}},[a("el-input",{staticStyle:{width:"60%"},attrs:{type:"textarea",rows:"8",size:"small"},model:{value:e.checkForm.BlindPublications,callback:function(t){e.$set(e.checkForm,"BlindPublications",t)},expression:"checkForm.BlindPublications"}})],1)],1),e._v(" "),a("div",{staticClass:"title-wrapper"},[a("p",[e._v("Setting")])]),e._v(" "),a("div",{staticClass:"check-content"},[a("el-form-item",{attrs:{label:"Information Confirmed?"}},[a("el-radio-group",{on:{change:e.handleChange},model:{value:e.checkForm.ReviewStatus,callback:function(t){e.$set(e.checkForm,"ReviewStatus",t)},expression:"checkForm.ReviewStatus"}},[a("el-radio",{attrs:{label:1}},[e._v("Yes")]),e._v(" "),a("el-radio",{attrs:{label:2}},[e._v("No")])],1)],1),e._v(" "),a("el-form-item",{attrs:{label:"Contractor Status?"}},[a("el-radio-group",{on:{change:e.handleChange},model:{value:e.checkForm.CooperateStatus,callback:function(t){e.$set(e.checkForm,"CooperateStatus",t)},expression:"checkForm.CooperateStatus"}},[a("el-radio",{attrs:{label:1}},[e._v("Yes")]),e._v(" "),a("el-radio",{attrs:{label:2}},[e._v("No")])],1)],1),e._v(" "),a("el-form-item",{attrs:{label:"Accepting New Trials?"}},[a("el-radio-group",{attrs:{disabled:e.radioDisabled},model:{value:e.checkForm.AcceptingNewTrial,callback:function(t){e.$set(e.checkForm,"AcceptingNewTrial",t)},expression:"checkForm.AcceptingNewTrial"}},[a("el-radio",{attrs:{label:!0}},[e._v("Yes")]),e._v(" "),a("el-radio",{attrs:{label:!1}},[e._v("No")])],1)],1),e._v(" "),a("el-form-item",{attrs:{label:"Actively Reading?"}},[a("el-radio-group",{attrs:{disabled:e.radioDisabled},model:{value:e.checkForm.ActivelyReading,callback:function(t){e.$set(e.checkForm,"ActivelyReading",t)},expression:"checkForm.ActivelyReading"}},[a("el-radio",{attrs:{label:!0}},[e._v("Yes")]),e._v(" "),a("el-radio",{attrs:{label:!1}},[e._v("No")])],1)],1),e._v(" "),a("el-form-item",{attrs:{label:"Is Virtual?"}},[a("el-radio-group",{attrs:{disabled:e.radioDisabled},model:{value:e.checkForm.IsVirtual,callback:function(t){e.$set(e.checkForm,"IsVirtual",t)},expression:"checkForm.IsVirtual"}},[a("el-radio",{attrs:{label:!0}},[e._v("Yes")]),e._v(" "),a("el-radio",{attrs:{label:!1}},[e._v("No")])],1)],1),e._v(" "),a("el-form-item",{attrs:{label:"On Vacation: "}},[a("span",{staticStyle:{"font-size":"12px","margin-right":"20px"}},[e._v(e._s(e.checkForm.InHoliday))]),e._v(" "),a("el-button",{attrs:{type:"text"},on:{click:e.handleView}},[e._v("Planned Vacation")])],1),e._v(" "),a("el-form-item",{attrs:{label:"Comment: ",prop:"AdminComment"}},[a("el-input",{staticStyle:{width:"60%"},attrs:{type:"textarea",rows:"8"},model:{value:e.checkForm.AdminComment,callback:function(t){e.$set(e.checkForm,"AdminComment",t)},expression:"checkForm.AdminComment"}})],1),e._v(" "),a("el-form-item",{staticStyle:{"margin-top":"20px"}},[a("el-button",{attrs:{type:"primary",disabled:e.isDisabled},on:{click:e.handleSave}},[e._v("Save")])],1)],1)]),e._v(" "),a("el-dialog",{attrs:{title:"Vacation",visible:e.dialogVisible,width:"50%","close-on-click-modal":!1},on:{"update:visible":function(t){e.dialogVisible=t},close:e.closeDialog}},[a("div",[a("el-date-picker",{attrs:{"value-format":"yyyy-MM-dd",format:"yyyy-MM-dd",type:"daterange","range-separator":"to","start-placeholder":"Beginning Date","end-placeholder":"End Date",size:"small"},model:{value:e.daterange,callback:function(t){e.daterange=t},expression:"daterange"}}),e._v(" "),a("el-button",{staticStyle:{"margin-left":"10px"},attrs:{type:"primary",size:"small"},on:{click:e.handleAddHoliday}},[e._v("Add")])],1),e._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading2,expression:"loading2"}],attrs:{data:e.gridData,size:"small"}},[a("el-table-column",{attrs:{type:"index"}}),e._v(" "),a("el-table-column",{attrs:{property:"StartDate",label:"Beginning Date","min-width":"120",formatter:e.beginTimeFormatter}}),e._v(" "),a("el-table-column",{attrs:{property:"EndDate",label:"End Date","min-width":"120",formatter:e.endTimeFormatter}}),e._v(" "),a("el-table-column",{attrs:{label:"Action",fixed:"right","min-width":"200"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.handleDelete(t.row)}}},[e._v("Delete")])]}}])})],1),e._v(" "),a("div",{staticClass:"pagination"},[a("el-pagination",{attrs:{background:"",layout:"total,sizes,prev, pager, next",total:e.totalItems,"page-sizes":[5,10,20,50],"page-size":e.pageSize,"current-page":e.pageIndex},on:{"update:currentPage":function(t){e.pageIndex=t},"update:current-page":function(t){e.pageIndex=t},"current-change":e.handleCurrentChange,"size-change":e.handleSizeChange}})],1)],1)],1)},n=[],r=(a("20d6"),a("33ba")),l=a("7878"),o={name:"Setting",props:{id:{type:String,default:function(){return""}}},data:function(){return{loading:!1,checkForm:{Id:"",CooperateStatus:2,ResumeStatus:2,ReviewStatus:2,AcceptingNewTrial:!1,ActivelyReading:!1,IsVirtual:!1,BlindName:"",AdminComment:"",InHoliday:"",BlindNameCN:"",BlindPublications:""},rules:{AdminComment:[{max:500,message:"最大长度为 500"}],BlindName:[{required:!0,message:"请注明",trigger:"blur"}],BlindNameCN:[{required:!0,message:"请注明",trigger:"blur"}]},doctorId:this.$route.query.Id,isDisabled:!1,radioDisabled:!1,dialogVisible:!1,gridData:[],daterange:"",pageIndex:1,pageSize:5,totalItems:0,loading2:!1}},mounted:function(){this.initForm()},methods:{initForm:function(){var e=this;Object(r["o"])(this.doctorId).then((function(t){t.Result&&(e.checkForm=t.Result,e.checkForm.InHoliday=t.Result.InHoliday?"Yes":"No")}))},handleSave:function(){var e=this;this.$refs.checkForm.validate((function(t){if(t){e.isDisabled=!0;var a={};Object.assign(a,e.checkForm),a.InHoliday="Yes"===e.checkForm.InHoliday,a.ResumeStatus=a.ReviewStatus,Object(r["B"])(a).then((function(t){t.IsSuccess&&(t.Result&&(e.checkForm.Id=t.Result),e.isDisabled=!1,e.$message.success("Saved successfully"))})).catch((function(){e.isDisabled=!1}))}}))},handleView:function(){this.dialogVisible=!0,this.initHolidayList()},initHolidayList:function(){var e=this;this.loading2=!0,Object(r["z"])(this.doctorId,this.pageIndex,this.pageSize).then((function(t){t.IsSuccess&&(e.gridData=t.Result.CurrentPageData,e.totalItems=t.Result.TotalCount),e.loading2=!1})).catch((function(){e.loading2=!1}))},handleAddHoliday:function(){var e=this;if(this.daterange){var t={DoctorId:this.doctorId,StartDate:this.daterange[0],EndDate:this.daterange[1]};this.loading2=!0,Object(r["g"])(t).then((function(a){a.IsSuccess?(t.Id=a.Result,e.gridData.push(t),e.totalItems=e.totalItems+1,e.daterange=""):e.$message.error(a.ErrorMessage),e.loading2=!1})).catch((function(){e.daterange="",e.loading2=!1}))}},handleDelete:function(e){var t=this;this.$confirm("Sure to delete?",{type:"warning",distinguishCancelAndClose:!0,confirmButtonText:"Ok",cancelButtonText:"Cancel"}).then((function(){t.loading2=!0,Object(r["l"])(e.Id).then((function(a){if(a.IsSuccess){var i=t.gridData.findIndex((function(t){return t.Id===e.Id}));-1!==i&&(t.gridData.splice(i,1),t.totalItems=t.totalItems-1),t.$message.success("Deleted successfully!")}t.loading2=!1})).catch((function(){t.loading2=!1}))})).catch((function(e){}))},closeDialog:function(){this.initForm()},handleChange:function(){2===this.checkForm.ReviewStatus||2===this.checkForm.cooperateStatus?(this.checkForm.ActivelyReading=!1,this.checkForm.AcceptingNewTrial=!1,this.radioDisabled=!0):this.radioDisabled=!1},beginTimeFormatter:function(e){if(e.StartDate)return Object(l["fmtDate"])(e.StartDate)},endTimeFormatter:function(e){if(e.EndDate)return Object(l["fmtDate"])(e.EndDate)},statusFormatter:function(e){return e.Status?"on vacation":""},handleCurrentChange:function(e){this.pageIndex=e,this.initHolidayList()},handleSizeChange:function(e){this.pageSize=e,this.initHolidayList()}}},s=o,c=a("2877"),u=Object(c["a"])(s,i,n,!1,null,null,null);t["default"]=u.exports},cf4f:function(e,t,a){"use strict";a.r(t);var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"form-container"},[a("el-card",{staticClass:"box-card"},[a("div",{staticStyle:{width:"80%"}},[a("el-form",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"employmentForm",staticClass:"demo-ruleForm",attrs:{rules:e.employmentRules,model:e.employmentForm,"label-width":"150px"}},[a("el-row",[a("el-col",{attrs:{span:14}},[a("el-form-item",{attrs:{label:"Hospital: ",prop:"HospitalId"}},[a("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"select",disabled:"1"===e.$route.query.ReviewStatus,size:"small"},on:{change:e.handleHospitalChange},model:{value:e.employmentForm.HospitalId,callback:function(t){e.$set(e.employmentForm,"HospitalId",t)},expression:"employmentForm.HospitalId"}},e._l(e.hospitalList,(function(t,i){return a("el-option",{key:i,attrs:{label:t.HospitalName,value:t.Id}},[a("span",[e._v("\n "+e._s(t.HospitalName)+"\n ")])])})),1)],1)],1)],1),e._v(" "),a("el-row",[a("el-col",{attrs:{span:14}},[a("el-form-item",{attrs:{label:"Affiliated University: "}},[a("el-input",{attrs:{disabled:"1"===e.$route.query.ReviewStatus,type:"textarea",autosize:"",disabled:"",size:"small"},model:{value:e.UniversityAffiliated,callback:function(t){e.UniversityAffiliated=t},expression:"UniversityAffiliated"}})],1)],1)],1),e._v(" "),a("el-row",[a("el-col",{attrs:{span:14}},[a("el-form-item",{attrs:{label:"City: "}},[a("el-input",{attrs:{disabled:"1"===e.$route.query.ReviewStatus,disabled:"",size:"small"},model:{value:e.City,callback:function(t){e.City=t},expression:"City"}})],1)],1)],1),e._v(" "),a("el-row",[a("el-col",{attrs:{span:14}},[a("el-form-item",{attrs:{label:"State/Province: "}},[a("el-input",{attrs:{disabled:"1"===e.$route.query.ReviewStatus,disabled:"",size:"small"},model:{value:e.Province,callback:function(t){e.Province=t},expression:"Province"}})],1)],1)],1),e._v(" "),a("el-row",[a("el-col",{attrs:{span:14}},[a("el-form-item",{attrs:{label:"Country: "}},[a("el-input",{attrs:{disabled:"1"===e.$route.query.ReviewStatus,disabled:"",size:"small"},model:{value:e.Country,callback:function(t){e.Country=t},expression:"Country"}})],1)],1)],1),e._v(" "),a("el-row",[a("el-col",{attrs:{span:14}},[a("el-form-item",{attrs:{label:"Department: ",prop:"DepartmentId"}},[a("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"select",disabled:"1"===e.$route.query.ReviewStatus,size:"small"},model:{value:e.employmentForm.DepartmentId,callback:function(t){e.$set(e.employmentForm,"DepartmentId",t)},expression:"employmentForm.DepartmentId"}},[e._l(e.dictionaryList.Department,(function(e){return a("el-option",{key:e.Id,attrs:{label:e.Value,value:e.Id}})})),e._v(" "),a("el-option",{attrs:{label:"Other",value:e.otherId}})],2)],1)],1),e._v(" "),a("el-col",{attrs:{span:5}},[e.employmentForm.DepartmentId===e.otherId?a("el-form-item",{staticClass:"other-item",attrs:{prop:"DepartmentOther"}},[a("el-input",{attrs:{disabled:"1"===e.$route.query.ReviewStatus,placeholder:"请注明 (required)",size:"small"},model:{value:e.employmentForm.DepartmentOther,callback:function(t){e.$set(e.employmentForm,"DepartmentOther",t)},expression:"employmentForm.DepartmentOther"}})],1):e._e()],1),e._v(" "),a("el-col",{attrs:{span:5}},[e.employmentForm.DepartmentId===e.otherId?a("el-form-item",{staticClass:"other-item",attrs:{prop:"DepartmentOtherCN"}},[a("el-input",{attrs:{disabled:"1"===e.$route.query.ReviewStatus,placeholder:"请用中文注明",size:"small"},model:{value:e.employmentForm.DepartmentOtherCN,callback:function(t){e.$set(e.employmentForm,"DepartmentOtherCN",t)},expression:"employmentForm.DepartmentOtherCN"}})],1):e._e()],1)],1),e._v(" "),a("el-row",[a("el-col",{attrs:{span:14}},[a("el-form-item",{attrs:{label:"Rank: ",prop:"RankId"}},[a("el-select",{staticStyle:{width:"100%"},attrs:{disabled:"1"===e.$route.query.ReviewStatus,placeholder:"select",size:"small"},on:{change:e.RankChange},model:{value:e.employmentForm.RankId,callback:function(t){e.$set(e.employmentForm,"RankId",t)},expression:"employmentForm.RankId"}},e._l(e.$d.Rank,(function(e){return a("el-option",{key:e.id,attrs:{label:e.raw.Value,value:e.id}})})),1)],1)],1),e._v(" "),a("el-col",{attrs:{span:5}},["其它"===e.$fd("Rank",e.employmentForm.RankId,"id")||"Other"===e.$fd("Rank",e.employmentForm.RankId,"id")?a("el-form-item",{staticClass:"other-item",attrs:{prop:"RankOther"}},[a("el-input",{attrs:{disabled:"1"===e.$route.query.ReviewStatus,placeholder:"请注明",size:"small"},model:{value:e.employmentForm.RankOther,callback:function(t){e.$set(e.employmentForm,"RankOther",t)},expression:"employmentForm.RankOther"}})],1):e._e()],1),e._v(" "),a("el-col",{attrs:{span:5}},["其它"===e.$fd("Rank",e.employmentForm.RankId,"id")||"Other"===e.$fd("Rank",e.employmentForm.RankId,"id")?a("el-form-item",{staticClass:"other-item",attrs:{prop:"RankOtherCN"}},[a("el-input",{attrs:{disabled:"1"===e.$route.query.ReviewStatus,placeholder:"请用中文注明",size:"small"},model:{value:e.employmentForm.RankOtherCN,callback:function(t){e.$set(e.employmentForm,"RankOtherCN",t)},expression:"employmentForm.RankOtherCN"}})],1):e._e()],1)],1),e._v(" "),a("el-row",[a("el-col",{attrs:{span:14}},[a("el-form-item",{attrs:{label:"Physician: ",prop:"PhysicianId"}},[a("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"select",disabled:"1"===e.$route.query.ReviewStatus,size:"small"},on:{change:e.PhysicianChange},model:{value:e.employmentForm.PhysicianId,callback:function(t){e.$set(e.employmentForm,"PhysicianId",t)},expression:"employmentForm.PhysicianId"}},e._l(e.$d.PhysicianOriginal,(function(e){return a("el-option",{key:e.id,attrs:{label:e.raw.Value,value:e.id}})})),1)],1)],1),e._v(" "),a("el-col",{attrs:{span:5}},["其它"===e.$fd("PhysicianOriginal",e.employmentForm.PhysicianId,"id")||"Other"===e.$fd("PhysicianOriginal",e.employmentForm.PhysicianId,"id")?a("el-form-item",{staticClass:"other-item",attrs:{prop:"Physician"}},[a("el-input",{attrs:{disabled:"1"===e.$route.query.ReviewStatus,placeholder:"请注明",size:"small"},model:{value:e.employmentForm.Physician,callback:function(t){e.$set(e.employmentForm,"Physician",t)},expression:"employmentForm.Physician"}})],1):e._e()],1),e._v(" "),a("el-col",{attrs:{span:5}},["其它"===e.$fd("PhysicianOriginal",e.employmentForm.PhysicianId,"id")||"Other"===e.$fd("PhysicianOriginal",e.employmentForm.PhysicianId,"id")?a("el-form-item",{staticClass:"other-item",attrs:{prop:"PhysicianCN"}},[a("el-input",{attrs:{disabled:"1"===e.$route.query.ReviewStatus,placeholder:"请用中文注明",size:"small"},model:{value:e.employmentForm.PhysicianCN,callback:function(t){e.$set(e.employmentForm,"PhysicianCN",t)},expression:"employmentForm.PhysicianCN"}})],1):e._e()],1)],1),e._v(" "),a("el-row",[a("el-col",{attrs:{span:14}},[a("el-form-item",{attrs:{label:"Position: ",prop:"Position"}},[a("el-select",{staticStyle:{width:"100%"},attrs:{disabled:"1"===e.$route.query.ReviewStatus,placeholder:"select",size:"small"},model:{value:e.employmentForm.PositionId,callback:function(t){e.$set(e.employmentForm,"PositionId",t)},expression:"employmentForm.PositionId"}},[e._l(e.dictionaryList.Position,(function(e){return a("el-option",{key:e.Id,attrs:{label:e.Value,value:e.Id}})})),e._v(" "),a("el-option",{attrs:{label:"Other",value:e.otherId}}),e._v(" "),a("el-option",{attrs:{label:"None",value:"f30a074b-2b47-4a92-97ec-e15086d37883"}})],2)],1)],1),e._v(" "),a("el-col",{attrs:{span:5}},[e.employmentForm.PositionId===e.otherId?a("el-form-item",{staticClass:"other-item",attrs:{prop:"PositionOther"}},[a("el-input",{attrs:{disabled:"1"===e.$route.query.ReviewStatus,placeholder:"请注明",size:"small"},model:{value:e.employmentForm.PositionOther,callback:function(t){e.$set(e.employmentForm,"PositionOther",t)},expression:"employmentForm.PositionOther"}})],1):e._e()],1),e._v(" "),a("el-col",{attrs:{span:5}},[e.employmentForm.PositionId===e.otherId?a("el-form-item",{staticClass:"other-item",attrs:{prop:"PositionOtherCN"}},[a("el-input",{attrs:{disabled:"1"===e.$route.query.ReviewStatus,placeholder:"请用中文注明",size:"small"},model:{value:e.employmentForm.PositionOtherCN,callback:function(t){e.$set(e.employmentForm,"PositionOtherCN",t)},expression:"employmentForm.PositionOtherCN"}})],1):e._e()],1)],1),e._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary",disabled:e.isDisabled||"1"===e.$route.query.ReviewStatus,size:"small"},on:{click:e.handleSave}},[e._v("Save")])],1)],1)],1)])],1)},n=[],r=(a("96cf"),a("3b8d")),l=(a("7514"),a("db72")),o=a("33ba"),s=a("86a6"),c=a("4360"),u=a("2f62"),d={name:"Employment",data:function(){return{employmentForm:{Id:this.$route.query.Id,DepartmentId:"",DepartmentOther:"",DepartmentOtherCN:"",RankId:"",RankOther:"",RankOtherCN:"",PositionId:"",PositionOther:"",PositionOtherCN:"",HospitalId:"",PhysicianId:"",Physician:"",PhysicianCN:"",PhysicianOriginal:null},UniversityAffiliated:"",City:"",Province:"",Country:"",employmentRules:{DepartmentId:[{required:!0,message:"Please select department",trigger:"blur"}],DepartmentOther:[{required:!0,message:"请注明",trigger:"blur"},{max:50,message:"最大长度为 50"}],DepartmentOtherCN:[{max:50,message:"最大长度为 50"}],RankId:[{required:!0,message:"Please select rank",trigger:"blur"}],RankOther:[{required:!0,message:"Please select rank",trigger:"blur"},{max:50,message:"最大长度为 50"}],RankOtherCN:[{required:!0,message:"Please select rank",trigger:"blur"},{max:50,message:"最大长度为 50"}],PhysicianId:[{required:!0,message:"Please select Physician",trigger:"blur"}],Physician:[{required:!0,message:"Please select Physician",trigger:"blur"},{max:50,message:"最大长度为 50"}],PhysicianCN:[{required:!0,message:"Please select Physician",trigger:"blur"},{max:50,message:"最大长度为 50"}],PositionId:[{required:!0,message:"Please select position",trigger:"blur"}],PositionOther:[{max:50,message:"最大长度为 50"}],PositionOtherCN:[{max:50,message:"最大长度为 50"}],HospitalId:[{required:!0,message:"Please select hospital",trigger:"blur"}]},isDisabled:!1,selectId:"00000000-0000-0000-0000-000000000000",otherId:"ef84e9cb-f1a6-49d7-b6da-34be2c12abd5",loading:!1,dictionaryList:{}}},computed:Object(l["a"])({},Object(u["b"])(["hospitalList"])),mounted:function(){this.initEmployment()},methods:{RankChange:function(e){var t=this.$d.Rank.find((function(t){return t.id===e}));"其它"===t.label||"Other"===t.label?(this.employmentForm.RankOther="",this.employmentForm.RankOtherCN=""):(this.employmentForm.RankOther=t.raw.Value,this.employmentForm.RankOtherCN=t.raw.ValueCN)},PhysicianChange:function(e){var t=this.$d.PhysicianOriginal.find((function(t){return t.id===e}));"其它"===t.label||"Other"===t.label?(this.employmentForm.Physician="",this.employmentForm.PhysicianCN=""):(this.employmentForm.Physician=t.raw.Value,this.employmentForm.PhysicianCN=t.raw.ValueCN)},handleSave:function(){var e=this;this.$refs.employmentForm.validate((function(t){if(t){e.loading=!0,e.isDisabled=!0;var a={},i=e.$d.PhysicianOriginal.find((function(t){return t.id===e.employmentForm.PhysicianId}));a.Id=e.$route.query.Id,a.DepartmentId=e.employmentForm.DepartmentId,a.DepartmentOther=e.employmentForm.DepartmentId===e.otherId?e.employmentForm.DepartmentOther:"",a.DepartmentOtherCN=e.employmentForm.DepartmentId===e.otherId?e.employmentForm.DepartmentOtherCN:"",a.RankId=e.employmentForm.RankId,a.RankOther=e.employmentForm.RankId===e.otherId?e.employmentForm.RankOther:"",a.RankOtherCN=e.employmentForm.RankId===e.otherId?e.employmentForm.RankOtherCN:"",a.PhysicianId=e.employmentForm.PhysicianId,a.Physician="其它"!==i.label&&"Other"!==i.label?i.raw.Value:e.employmentForm.Physician,a.PhysicianCN="其它"!==i.label&&"Other"!==i.label?i.raw.ValueCN:e.employmentForm.PhysicianCN,a.PositionId=e.employmentForm.PositionId,a.PositionOther=e.employmentForm.PositionId===e.otherId?e.employmentForm.PositionOther:"",a.PositionOtherCN=e.employmentForm.PositionId===e.otherId?e.employmentForm.PositionOtherCN:"",a.HospitalId=e.employmentForm.HospitalId,Object(o["C"])(a).then((function(t){e.isDisabled=!1,e.loading=!1,e.$message.success("Saved successfully"),e.id||(e.employmentForm.Id=t.Result)})).catch((function(){e.isDisabled=!1,e.loading=!1}))}}))},initForm:function(){var e=this,t=this.$route.query.Id;t&&(this.loading=!0,Object(o["v"])(t).then((function(a){var i=a.Result,n=i.PhysicianId,r=i.Physician,l=i.PhysicianCN,o=i.DepartmentId,s=i.DepartmentOther,c=i.DepartmentOtherCN,u=i.RankId,d=i.RankOther,m=i.RankOtherCN,p=i.PositionId,f=i.PositionOther,h=i.PositionOtherCN,b=i.HospitalId;e.employmentForm.Id=t,e.employmentForm.DepartmentId=o===e.selectId?"":o,e.employmentForm.DepartmentOther=s,e.employmentForm.DepartmentOtherCN=c,e.employmentForm.RankId=u===e.selectId?"":u,e.employmentForm.RankOther=d,e.employmentForm.RankOtherCN=m,e.employmentForm.PositionId=p===e.selectId?"":p,e.employmentForm.PositionOther=f,e.employmentForm.PhysicianId=n,e.employmentForm.Physician=r,e.employmentForm.PhysicianCN=l,e.employmentForm.PositionOtherCN=h,e.employmentForm.HospitalId=b===e.selectId?"":b,e.handleHospitalChange(e.employmentForm.HospitalId),e.loading=!1})).catch((function(){e.loading=!1})))},handleHospitalChange:function(e){var t=this.hospitalList.filter((function(t){return t.Id===e}));t.length&&(this.UniversityAffiliated=t[0].UniversityAffiliated,this.City=t[0].City,this.Province=t[0].Province,this.Country=t[0].Country)},initEmployment:function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this.getDicData();case 2:return e.next=4,c["a"].dispatch("global/getHospital");case 4:this.initForm();case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),getDicData:function(){var e=this;Object(s["c"])(["Department","Rank","Position"]).then((function(t){e.dictionaryList=Object(l["a"])({},t.Result)}))}}},m=d,p=(a("7dd4"),a("2877")),f=Object(p["a"])(m,i,n,!1,null,null,null);t["default"]=f.exports},d55c:function(e,t,a){"use strict";a("e3da")},d7ac:function(e,t,a){},df2d:function(e,t,a){"use strict";a("1bd1")},e3da:function(e,t,a){},e56e:function(e,t,a){"use strict";a.d(t,"eb",(function(){return r})),a.d(t,"gb",(function(){return l})),a.d(t,"h",(function(){return o})),a.d(t,"C",(function(){return s})),a.d(t,"ib",(function(){return c})),a.d(t,"j",(function(){return u})),a.d(t,"E",(function(){return d})),a.d(t,"vb",(function(){return m})),a.d(t,"r",(function(){return p})),a.d(t,"M",(function(){return f})),a.d(t,"X",(function(){return h})),a.d(t,"g",(function(){return b})),a.d(t,"z",(function(){return g})),a.d(t,"wb",(function(){return v})),a.d(t,"s",(function(){return y})),a.d(t,"N",(function(){return _})),a.d(t,"pb",(function(){return C})),a.d(t,"l",(function(){return w})),a.d(t,"G",(function(){return F})),a.d(t,"ob",(function(){return O})),a.d(t,"y",(function(){return I})),a.d(t,"lb",(function(){return S})),a.d(t,"m",(function(){return R})),a.d(t,"H",(function(){return D})),a.d(t,"mb",(function(){return x})),a.d(t,"n",(function(){return P})),a.d(t,"I",(function(){return k})),a.d(t,"Bb",(function(){return T})),a.d(t,"v",(function(){return $})),a.d(t,"R",(function(){return N})),a.d(t,"Qb",(function(){return j})),a.d(t,"ab",(function(){return E})),a.d(t,"e",(function(){return L})),a.d(t,"Pb",(function(){return z})),a.d(t,"a",(function(){return q})),a.d(t,"b",(function(){return M})),a.d(t,"hb",(function(){return A})),a.d(t,"D",(function(){return B})),a.d(t,"i",(function(){return U})),a.d(t,"V",(function(){return V})),a.d(t,"zb",(function(){return Q})),a.d(t,"P",(function(){return H})),a.d(t,"u",(function(){return G})),a.d(t,"Y",(function(){return W})),a.d(t,"yb",(function(){return K})),a.d(t,"xb",(function(){return Y})),a.d(t,"t",(function(){return J})),a.d(t,"O",(function(){return Z})),a.d(t,"W",(function(){return X})),a.d(t,"c",(function(){return ee})),a.d(t,"fb",(function(){return te})),a.d(t,"Z",(function(){return ae})),a.d(t,"d",(function(){return ie})),a.d(t,"A",(function(){return ne})),a.d(t,"tb",(function(){return re})),a.d(t,"ub",(function(){return le})),a.d(t,"q",(function(){return oe})),a.d(t,"L",(function(){return se})),a.d(t,"Ab",(function(){return ce})),a.d(t,"Db",(function(){return ue})),a.d(t,"Nb",(function(){return de})),a.d(t,"sb",(function(){return me})),a.d(t,"J",(function(){return pe})),a.d(t,"o",(function(){return fe})),a.d(t,"Fb",(function(){return he})),a.d(t,"nb",(function(){return be})),a.d(t,"qb",(function(){return ge})),a.d(t,"rb",(function(){return ve})),a.d(t,"jb",(function(){return ye})),a.d(t,"kb",(function(){return _e})),a.d(t,"k",(function(){return Ce})),a.d(t,"F",(function(){return we})),a.d(t,"db",(function(){return Fe})),a.d(t,"f",(function(){return Oe})),a.d(t,"B",(function(){return Ie})),a.d(t,"Hb",(function(){return Se})),a.d(t,"w",(function(){return Re})),a.d(t,"S",(function(){return De})),a.d(t,"p",(function(){return xe})),a.d(t,"K",(function(){return Pe})),a.d(t,"U",(function(){return ke})),a.d(t,"T",(function(){return Te})),a.d(t,"Kb",(function(){return $e})),a.d(t,"Jb",(function(){return Ne})),a.d(t,"Eb",(function(){return je})),a.d(t,"Mb",(function(){return Ee})),a.d(t,"cb",(function(){return Le})),a.d(t,"Gb",(function(){return ze})),a.d(t,"Ib",(function(){return qe})),a.d(t,"Lb",(function(){return Me})),a.d(t,"Cb",(function(){return Ae})),a.d(t,"bb",(function(){return Be})),a.d(t,"x",(function(){return Ue})),a.d(t,"Q",(function(){return Ve})),a.d(t,"Ob",(function(){return Qe}));var i=a("b775"),n=a("c5af");function r(){return Object(i["a"])({url:"/dictionary/getDicTree",method:"get"})}function l(e){return Object(i["a"])({url:"/dictionary/getDictionarySelectList",method:"post",data:e})}function o(e){return Object(i["a"])({url:"/dictionary/addOrUpdateDictionary",method:"post",data:e})}function s(e){return Object(i["a"])({url:"/dictionary/deleteDictionary/".concat(e),method:"delete"})}function c(e){return Object(i["a"])({url:"/hospital/getHospitalPageList",method:"post",data:e})}function u(e){return Object(i["a"])({url:"/hospital/addOrUpdateHospital",method:"post",data:e})}function d(e){return Object(i["a"])({url:"/hospital/deleteHospital/".concat(e),method:"delete"})}function m(e){return Object(i["a"])({url:"/site/getSiteList",method:"post",data:e})}function p(e){return Object(i["a"])({url:"/site/addOrUpdateSite",method:"post",data:e})}function f(e){return Object(i["a"])({url:"/site/deleteSite/".concat(e),method:"delete"})}function h(e){return Object(i["a"])({url:"/cro/getCROList",method:"post",data:e})}function b(e){return Object(i["a"])({url:"/cro/addOrUpdateCro",method:"post",data:e})}function g(e){return Object(i["a"])({url:"/cro/deleteCro/".concat(e),method:"delete"})}function v(e){return Object(i["a"])({url:"/sponsor/getSponsorList",method:"post",data:e})}function y(e){return Object(i["a"])({url:"/sponsor/addOrUpdateSponsor",method:"post",data:e})}function _(e){return Object(i["a"])({url:"/sponsor/deleteSponsor/".concat(e),method:"delete"})}function C(e){return Object(i["a"])({url:"/QATemplate/GetQaTemplateList",method:"post",data:e})}function w(e){return Object(i["a"])({url:"/QATemplate/AddOrUpdateQATemplate",method:"post",data:e})}function F(e){return Object(i["a"])({url:"/QATemplate/DeleteQATemplate/".concat(e),method:"delete"})}function O(e,t){return Object(i["a"])({url:"/QATemplate/GetQATemplateConfigedList/".concat(e,"/").concat(t),method:"get"})}function I(e){return Object(i["a"])({url:"/QATemplate/ConfigQATemplateItem",method:"post",data:e})}function S(e){return Object(i["a"])({url:"/QATemplate/GetQATemplateItemList",method:"post",data:e})}function R(e){return Object(i["a"])({url:"/QATemplate/AddOrUpdateQATemplateItem",method:"post",data:e})}function D(e){return Object(i["a"])({url:"/QATemplate/DeleteQATemplateItem/".concat(e),method:"delete"})}function x(e){return Object(i["a"])({url:"/QCQuestionConfigure/getQCQuestionConfigureList",method:"post",data:e})}function P(e){return Object(i["a"])({url:"/QCQuestionConfigure/addOrUpdateQCQuestionConfigure",method:"post",data:e})}function k(e){return Object(i["a"])({url:"/QCQuestionConfigure/deleteQCQuestionConfigure/".concat(e),method:"delete"})}function T(e){return Object(i["a"])({url:"/SystemDocument/getSystemDocumentList",method:"post",data:e})}function $(e){return Object(i["a"])({url:"/SystemDocument/addOrUpdateSystemDocument",method:"post",data:e})}function N(e){return Object(i["a"])({url:"/SystemDocument/deleteSystemDocument/".concat(e),method:"delete"})}function j(e){var t=new FormData;return t.append("file",e),Object(i["a"])({url:"/TrialDocument/UploadSystemDoc",method:"post",data:t})}function E(e){return Object(i["a"])({url:"/CommonDocument/getCommonDocumentList",method:"post",data:e})}function L(e){return Object(i["a"])({url:"/CommonDocument/addOrUpdateCommonDocument",method:"post",data:e})}function z(e){var t=new FormData;return t.append("file",e),Object(i["a"])({url:"/CommonDocument/UploadCommonDoc",method:"post",data:t})}function q(e){return Object(n["a"])({url:"/CommonDocument/DownloadCommonDoc?code=".concat(e),method:"get",responseType:"blob"})}function M(e){return Object(n["a"])({url:"/CommonDocument/DownloadSystemClinicalFile?clinicalDataSystemSetId=".concat(e),method:"get",responseType:"blob"})}function A(e){return Object(i["a"])({url:"/EmailNoticeConfig/getEmailNoticeConfigList",method:"post",data:e})}function B(e){return Object(i["a"])({url:"/EmailNoticeConfig/deleteEmailNoticeConfig/".concat(e),method:"delete"})}function U(e){return Object(i["a"])({url:"/EmailNoticeConfig/addOrUpdateEmailNoticeConfig",method:"post",data:e})}function V(e){return Object(i["a"])({url:"/SystemBasicData/getBasicDataSelect",method:"post",data:e})}function Q(e){return Object(i["a"])({url:"/SystemBasicData/getSystemBasicDataList",method:"post",data:e})}function H(e){return Object(i["a"])({url:"/SystemBasicData/deleteSystemBasicData/".concat(e),method:"delete"})}function G(e){return Object(i["a"])({url:"/SystemBasicData/addOrUpdateSystemBasicData",method:"post",data:e})}function W(e){return Object(i["a"])({url:"/SystemBasicData/getChildList/".concat(e),method:"get"})}function K(e){return Object(i["a"])({url:"/SystemBasicData/getSystemBasicData/".concat(e),method:"get"})}function Y(e){return Object(i["a"])({url:"/SystemAnonymization/getSystemAnonymizationList",method:"post",data:e})}function J(e){return Object(i["a"])({url:"/SystemAnonymization/addOrUpdateSystemAnonymization",method:"post",data:e})}function Z(e){return Object(i["a"])({url:"/SystemAnonymization/deleteSystemAnonymization/".concat(e),method:"delete"})}function X(e){return Object(i["a"])({url:"/Dictionary/getBasicDicList",method:"post",data:e})}function ee(e){return Object(i["a"])({url:"/Dictionary/addOrUpdateBasicDic",method:"post",data:e})}function te(e){return Object(i["a"])({url:"/Dictionary/getChildList/".concat(e),method:"get"})}function ae(e){return Object(i["a"])({url:"/ClinicalDataSet/getSystemClinicalDataSystemSetList",method:"post",data:e})}function ie(e){return Object(i["a"])({url:"/ClinicalDataSet/addOrUpdateClinicalDataSystemSet",method:"post",data:e})}function ne(e){return Object(i["a"])({url:"/ClinicalDataSet/deleteClinicalSystemSetData/".concat(e),method:"delete"})}function re(e){return Object(i["a"])({url:"/ReadingQuestion/getReadingQuestionCriterionSystemList",method:"post",data:e})}function le(e){return Object(i["a"])({url:"/ReadingQuestion/getReadingQuestionSystemList",method:"post",data:e})}function oe(e){return Object(i["a"])({url:"/ReadingQuestion/addOrUpdateReadingQuestionSystem",method:"post",data:e})}function se(e){return Object(i["a"])({url:"/ReadingQuestion/deleteReadingQuestionSystem/".concat(e),method:"delete"})}function ce(e){return Object(i["a"])({url:"/ReadingQuestion/getSystemCriterionOtherQuestion",method:"post",data:e})}function ue(e){return Object(i["a"])({url:"/ReadingQuestion/getSystemGroupNameList",method:"post",data:e})}function de(e){return Object(i["a"])({url:"/ReadingQuestion/setSystemReadingQuestionCriterionIsCompleteConfig",method:"post",data:e})}function me(e){return Object(i["a"])({url:"/ReadingMedicineQuestion/getReadingMedicineSystemQuestionList",method:"post",data:e})}function pe(e){return Object(i["a"])({url:"/ReadingMedicineQuestion/deleteReadingMedicineSystemQuestion/".concat(e),method:"delete"})}function fe(e){return Object(i["a"])({url:"/ReadingMedicineQuestion/addOrUpdateReadingMedicineSystemQuestion",method:"post",data:e})}function he(e){return Object(i["a"])({url:"/ReadingImageTask/getSystemReadingQuestion",method:"post",data:e})}function be(e){return Object(i["a"])({url:"/QCQuestionConfigure/GetQCQuestionSelectList",method:"post",data:e})}function ge(e){return Object(i["a"])({url:"/QCQuestionConfigure/getQuestionView",method:"post",data:e})}function ve(e){return Object(i["a"])({url:"/ReadingMedicineQuestion/getReadingMedicineSystemOtherQuestion",method:"post",data:e})}function ye(e){return Object(i["a"])({url:"/OrganInfo/getOrganInfoList",method:"post",data:e})}function _e(e){return Object(i["a"])({url:"/OrganInfo/getOrganPageList",method:"post",data:e})}function Ce(e){return Object(i["a"])({url:"/OrganInfo/addOrUpdateOrganInfo",method:"post",data:e})}function we(e){return Object(i["a"])({url:"/OrganInfo/deleteOrganInfo/".concat(e),method:"delete"})}function Fe(e){return Object(i["a"])({url:"/OrganInfo/getCriterionNidusList",method:"post",data:e})}function Oe(e){return Object(i["a"])({url:"/OrganInfo/addOrUpdateCriterionNidus",method:"post",data:e})}function Ie(e){return Object(i["a"])({url:"/OrganInfo/deleteCriterionNidus/".concat(e),method:"delete"})}function Se(e){return Object(i["a"])({url:"/ReadingQuestion/getTumorAssessmentPageList",method:"post",data:e})}function Re(e){return Object(i["a"])({url:"/ReadingQuestion/addOrUpdateTumorAssessment",method:"post",data:e})}function De(e){return Object(i["a"])({url:"/ReadingQuestion/deleteTumorAssessment/".concat(e),method:"delete"})}function xe(e){return Object(i["a"])({url:"/ReadingQuestion/addOrUpdateReadingQuestionCriterionSystem",method:"post",data:e})}function Pe(e){return Object(i["a"])({url:"/ReadingQuestion/deleteReadingQuestionCriterionSystem/".concat(e),method:"delete"})}function ke(e){return Object(i["a"])({url:"/Dictionary/getBasicConfigSelect?searchKey=".concat(e),method:"get"})}function Te(e){return Object(i["a"])({url:"/ReadingQuestion/getAssessType",method:"post",data:e})}function $e(e){return Object(i["a"])({url:"/ReadingQuestion/setDictionaryFollowVisitUse",method:"post",data:e})}function Ne(e){return Object(i["a"])({url:"/ReadingQuestion/setDictionaryBaseLineUse",method:"post",data:e})}function je(e){return Object(i["a"])({url:"/ReadingQuestion/getSystemOncologyInfo",method:"post",data:e})}function Ee(e){return Object(i["a"])({url:"/ReadingQuestion/setSystemOncologyInfo",method:"post",data:e})}function Le(e){return Object(i["a"])({url:"/Dictionary/getCriterionDictionaryList?SystemCriterionId=".concat(e.SystemCriterionId),method:"get"})}function ze(e){return Object(i["a"])({url:"/Dictionary/getTrialCriterionDictionaryList?TrialCriterionId=".concat(e.TrialCriterionId),method:"get"})}function qe(e){return Object(i["a"])({url:"/ReadingQuestion/setCriterionDictionary",method:"post",data:e})}function Me(e){return Object(i["a"])({url:"/ReadingQuestion/setSystemGlobalInfo",method:"post",data:e})}function Ae(e){return Object(i["a"])({url:"/ReadingQuestion/getSystemGlobalInfo",method:"post",data:e})}function Be(e){return Object(i["a"])({url:"/Dictionary/getCriterionDictionary",method:"post",data:e})}function Ue(e){return Object(i["a"])({url:"/ReadingQuestion/addSystemCriterionDictionaryCode",method:"post",data:e})}function Ve(e){return Object(i["a"])({url:"/ReadingQuestion/deleteSystemCriterionDictionary",method:"post",data:e})}function Qe(e){return Object(i["a"])({url:"/OrganInfo/synchronizeSystemOrgan",method:"post",data:e})}},ebc9:function(e,t,a){"use strict";a("2b6c")},f7f2:function(e,t,a){},ff7e:function(e,t,a){"use strict";a.r(t);var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"form-container"},[a("el-card",{staticClass:"box-card"},[a("div",{staticStyle:{width:"80%"}},[a("el-form",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"specialtyForm",staticClass:"demo-ruleForm",attrs:{rules:e.specialtyRules,model:e.specialtyForm,"label-width":"150px"}},[a("el-row",[a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"Specialty: ",prop:"SpecialityId"}},[a("el-select",{staticStyle:{width:"100%"},attrs:{disabled:"1"===e.$route.query.ReviewStatus,placeholder:"Please select",size:"small"},model:{value:e.specialtyForm.SpecialityId,callback:function(t){e.$set(e.specialtyForm,"SpecialityId",t)},expression:"specialtyForm.SpecialityId"}},[e._l(e.dictionaryList.Department,(function(e){return a("el-option",{key:e.Id,attrs:{label:e.Value,value:e.Id}})})),e._v(" "),a("el-option",{attrs:{label:"Other",value:e.otherId}})],2)],1)],1),e._v(" "),a("el-col",{attrs:{span:6}},[e.specialtyForm.SpecialityId==e.otherId?a("el-form-item",{staticClass:"other-item",attrs:{prop:"SpecialityOther"}},[a("el-input",{attrs:{disabled:"1"===e.$route.query.ReviewStatus,placeholder:"请注明 (required)",size:"small"},model:{value:e.specialtyForm.SpecialityOther,callback:function(t){e.$set(e.specialtyForm,"SpecialityOther",t)},expression:"specialtyForm.SpecialityOther"}})],1):e._e()],1),e._v(" "),a("el-col",{attrs:{span:6}},[e.specialtyForm.SpecialityId==e.otherId?a("el-form-item",{staticClass:"other-item",attrs:{prop:"SpecialityOtherCN"}},[a("el-input",{attrs:{disabled:"1"===e.$route.query.ReviewStatus,placeholder:"请用中文注明",size:"small"},model:{value:e.specialtyForm.SpecialityOtherCN,callback:function(t){e.$set(e.specialtyForm,"SpecialityOtherCN",t)},expression:"specialtyForm.SpecialityOtherCN"}})],1):e._e()],1)],1),e._v(" "),a("el-row",[a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"Subspeciality: ",prop:"SubspecialityIds"}},[a("el-select",{staticStyle:{width:"100%"},attrs:{disabled:"1"===e.$route.query.ReviewStatus,placeholder:"select",multiple:"",size:"small"},model:{value:e.specialtyForm.SubspecialityIds,callback:function(t){e.$set(e.specialtyForm,"SubspecialityIds",t)},expression:"specialtyForm.SubspecialityIds"}},[e._l(e.dictionaryList.Subspeciality,(function(e){return a("el-option",{key:e.Id,attrs:{label:e.Value,value:e.Id}})})),e._v(" "),a("el-option",{attrs:{label:"Other",value:e.otherId}})],2)],1)],1),e._v(" "),a("el-col",{attrs:{span:6}},[e.specialtyForm.SubspecialityIds&&e.specialtyForm.SubspecialityIds.indexOf(e.otherId)>-1?a("el-form-item",{staticClass:"other-item",attrs:{prop:"SubspecialityOther"}},[a("el-input",{attrs:{disabled:"1"===e.$route.query.ReviewStatus,placeholder:"请注明 (required)",size:"small"},model:{value:e.specialtyForm.SubspecialityOther,callback:function(t){e.$set(e.specialtyForm,"SubspecialityOther",t)},expression:"specialtyForm.SubspecialityOther"}})],1):e._e()],1),e._v(" "),a("el-col",{attrs:{span:6}},[e.specialtyForm.SubspecialityIds&&e.specialtyForm.SubspecialityIds.indexOf(e.otherId)>-1?a("el-form-item",{staticClass:"other-item",attrs:{prop:"SubspecialityOtherCN"}},[a("el-input",{attrs:{disabled:"1"===e.$route.query.ReviewStatus,placeholder:"请用中文注明",size:"small"},model:{value:e.specialtyForm.SubspecialityOtherCN,callback:function(t){e.$set(e.specialtyForm,"SubspecialityOtherCN",t)},expression:"specialtyForm.SubspecialityOtherCN"}})],1):e._e()],1)],1),e._v(" "),a("el-row",[a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"Modality: ",prop:"ReadingTypeIds"}},[a("el-select",{staticStyle:{width:"100%"},attrs:{disabled:"1"===e.$route.query.ReviewStatus,placeholder:"Please select",multiple:"",size:"small"},model:{value:e.specialtyForm.ReadingTypeIds,callback:function(t){e.$set(e.specialtyForm,"ReadingTypeIds",t)},expression:"specialtyForm.ReadingTypeIds"}},[e._l(e.dictionaryList.ReadingType,(function(e){return a("el-option",{key:e.Id,attrs:{label:e.Value,value:e.Id}})})),e._v(" "),a("el-option",{attrs:{label:"Other",value:e.otherId}})],2)],1)],1),e._v(" "),a("el-col",{attrs:{span:6}},[e.specialtyForm.ReadingTypeIds&&e.specialtyForm.ReadingTypeIds.indexOf(e.otherId)>-1?a("el-form-item",{staticClass:"other-item",attrs:{prop:"ReadingTypeOther"}},[a("el-input",{attrs:{disabled:"1"===e.$route.query.ReviewStatus,placeholder:"请注明 (required)",size:"small"},model:{value:e.specialtyForm.ReadingTypeOther,callback:function(t){e.$set(e.specialtyForm,"ReadingTypeOther",t)},expression:"specialtyForm.ReadingTypeOther"}})],1):e._e()],1),e._v(" "),a("el-col",{attrs:{span:6}},[e.specialtyForm.ReadingTypeIds&&e.specialtyForm.ReadingTypeIds.indexOf(e.otherId)>-1?a("el-form-item",{staticClass:"other-item",attrs:{prop:"ReadingTypeOtherCN"}},[a("el-input",{attrs:{disabled:"1"===e.$route.query.ReviewStatus,placeholder:"请用中文注明",size:"small"},model:{value:e.specialtyForm.ReadingTypeOtherCN,callback:function(t){e.$set(e.specialtyForm,"ReadingTypeOtherCN",t)},expression:"specialtyForm.ReadingTypeOtherCN"}})],1):e._e()],1)],1),e._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary",disabled:e.isDisabled||"1"===e.$route.query.ReviewStatus,size:"small"},on:{click:e.handleSave}},[e._v("Save")])],1)],1)],1)])],1)},n=[],r=a("db72"),l=(a("96cf"),a("3b8d")),o=a("33ba"),s=a("86a6"),c={name:"Specialty",data:function(){return{specialtyForm:{ReadingTypeIds:[],ReadingTypeOther:"",ReadingTypeOtherCN:"",SubspecialityIds:[],SubspecialityOther:"",SubspecialityOtherCN:"",SpecialityId:"",SpecialityOther:"",SpecialityOtherCN:""},specialtyRules:{SpecialityId:[{required:!0,message:"Please select speciality",trigger:"blur"}],SpecialityOther:[{required:!0,message:"请注明",trigger:"blur"},{max:50,message:"最大长度为 50"}],SpecialityOtherCN:[{max:50,message:"最大长度为 50"}],ReadingTypeIds:[{required:!0,message:"Please select clinical reading type",trigger:"blur"}],ReadingTypeOther:[{required:!0,message:"请注明",trigger:"blur"},{max:50,message:"最大长度为 50"}],ReadingTypeOtherCN:[{max:50,message:"最大长度为 50"}],SubspecialityIds:[{required:!0,message:"Please select subspecialty",trigger:"blur"}],SubspecialityOther:[{required:!0,message:"请注明",trigger:"blur"},{max:50,message:"最大长度为 50"}],SubspecialityOtherCN:[{max:50,message:"最大长度为 50"}]},selectId:"00000000-0000-0000-0000-000000000000",otherId:"ef84e9cb-f1a6-49d7-b6da-34be2c12abd5",isDisabled:!1,loading:!1,dictionaryList:{}}},mounted:function(){this.initSpecialty()},methods:{handleSave:function(){var e=this;this.$refs.specialtyForm.validate((function(t){if(t){e.isDisabled=!0;var a={};a.ReadingTypeIds=e.specialtyForm.ReadingTypeIds,a.ReadingTypeOther=a.ReadingTypeIds.indexOf(e.otherId)>-1?e.specialtyForm.ReadingTypeOther:"",a.ReadingTypeOtherCN=a.ReadingTypeIds.indexOf(e.otherId)>-1?e.specialtyForm.ReadingTypeOtherCN:"",a.SubspecialityIds=e.specialtyForm.SubspecialityIds,a.SubspecialityOther=a.SubspecialityIds.indexOf(e.otherId)>-1?e.specialtyForm.SubspecialityOther:"",a.SubspecialityOtherCN=a.SubspecialityIds.indexOf(e.otherId)>-1?e.specialtyForm.SubspecialityOtherCN:"",a.SpecialityId=e.specialtyForm.SpecialityId,a.SpecialityOther=a.SpecialityId===e.otherId?e.specialtyForm.SpecialityOther:"",a.SpecialityOtherCN=a.SpecialityId===e.otherId?e.specialtyForm.SpecialityOtherCN:"",a.Id=e.$route.query.Id,Object(o["F"])(a).then((function(t){e.isDisabled=!1,e.$message.success("Saved successfully"),e.specialtyForm.Id=t.Result})).catch((function(){e.isDisabled=!1}))}}))},initForm:function(){var e=this;this.loading=!0;var t=this.$route.query.Id;t&&Object(o["x"])(t).then((function(t){e.specialtyForm.ReadingTypeIds=t.Result.ReadingTypeIds.length>0?t.Result.ReadingTypeIds:[],e.specialtyForm.ReadingTypeOther=t.Result.ReadingTypeOther,e.specialtyForm.ReadingTypeOtherCN=t.Result.ReadingTypeOtherCN,e.specialtyForm.SubspecialityIds=t.Result.SubspecialityIds,e.specialtyForm.SubspecialityOther=t.Result.SubspecialityOther,e.specialtyForm.SubspecialityOtherCN=t.Result.SubspecialityOtherCN,e.specialtyForm.SpecialityId=t.Result.SpecialityId===e.selectId?"":t.Result.SpecialityId,e.specialtyForm.SpecialityOther=t.Result.SpecialityOther,e.specialtyForm.SpecialityOtherCN=t.Result.SpecialityOtherCN,e.loading=!1})).catch((function(){e.loading=!1}))},initSpecialty:function(){var e=Object(l["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this.getDicData();case 2:this.initForm();case 3:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),getDicData:function(){var e=this;Object(s["c"])(["Department","Subspeciality","ReadingType"]).then((function(t){e.dictionaryList=Object(r["a"])({},t.Result)}))}}},u=c,d=(a("8e8a"),a("2877")),m=Object(d["a"])(u,i,n,!1,null,null,null);t["default"]=m.exports}}]); |