1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1dbfa449"],{"943d":function(t,e,n){"use strict";n.d(e,"p",(function(){return a})),n.d(e,"g",(function(){return i})),n.d(e,"r",(function(){return o})),n.d(e,"f",(function(){return u})),n.d(e,"q",(function(){return c})),n.d(e,"c",(function(){return s})),n.d(e,"s",(function(){return d})),n.d(e,"h",(function(){return p})),n.d(e,"u",(function(){return m})),n.d(e,"A",(function(){return l})),n.d(e,"e",(function(){return f})),n.d(e,"t",(function(){return b})),n.d(e,"L",(function(){return y})),n.d(e,"v",(function(){return h})),n.d(e,"i",(function(){return g})),n.d(e,"z",(function(){return j})),n.d(e,"o",(function(){return O})),n.d(e,"d",(function(){return _})),n.d(e,"K",(function(){return v})),n.d(e,"P",(function(){return T})),n.d(e,"O",(function(){return x})),n.d(e,"N",(function(){return w})),n.d(e,"S",(function(){return k})),n.d(e,"M",(function(){return L})),n.d(e,"Q",(function(){return S})),n.d(e,"T",(function(){return E})),n.d(e,"U",(function(){return I})),n.d(e,"V",(function(){return V})),n.d(e,"R",(function(){return A})),n.d(e,"D",(function(){return D})),n.d(e,"G",(function(){return N})),n.d(e,"F",(function(){return $})),n.d(e,"E",(function(){return C})),n.d(e,"B",(function(){return P})),n.d(e,"H",(function(){return U})),n.d(e,"a",(function(){return z})),n.d(e,"m",(function(){return B})),n.d(e,"n",(function(){return J})),n.d(e,"J",(function(){return M})),n.d(e,"I",(function(){return R})),n.d(e,"b",(function(){return q})),n.d(e,"w",(function(){return F})),n.d(e,"C",(function(){return G})),n.d(e,"W",(function(){return H})),n.d(e,"j",(function(){return K})),n.d(e,"x",(function(){return Q})),n.d(e,"y",(function(){return W})),n.d(e,"l",(function(){return X})),n.d(e,"k",(function(){return Y}));var r=n("b775");function a(t){return Object(r["a"])({url:"/system/diagnosis-type/tree",method:"get",params:t})}function i(t){return Object(r["a"])({url:"/project/appointment-project/tree",method:"get",params:t})}function o(t){return Object(r["a"])({url:"/system/diagnosis-type/remove?ids=".concat(t.ids),method:"delete"})}function u(t){return Object(r["a"])({url:"/project/appointment-project/remove?ids=".concat(t.ids),method:"delete"})}function c(t){return Object(r["a"])({url:"/system/diagnosis-type",method:"post",data:t})}function s(t){return Object(r["a"])({url:"/project/appointment-project",method:"post",data:t})}function d(t){return Object(r["a"])({url:"/system/diagnosis-type",method:"put",data:t})}function p(t){return Object(r["a"])({url:"/project/appointment-project",method:"put",data:t})}function m(t){return Object(r["a"])({url:"/system/diagnosis-type-template/list",method:"get",params:t})}function l(t){return Object(r["a"])({url:"/system/diagnosis-type-template/listToPatientId",method:"get",params:t})}function f(t){return Object(r["a"])({url:"/project/appointment-project/list",method:"get",params:t})}function b(t){return Object(r["a"])({url:"/system/diagnosis-type-template",method:"post",data:t})}function y(){return Object(r["a"])({url:"/system/dict/data/type/erm_diagnosis_type_template_name",method:"get"})}function h(t){return Object(r["a"])({url:"/system/diagnosis-type-template",method:"put",data:t})}function g(t){return Object(r["a"])({url:"/project/appointment-project",method:"put",data:t})}function j(t){return Object(r["a"])({url:"/system/diagnosis-type-template/importTemplate",method:"post",data:t,responseType:"blob",timeOut:6e4})}function O(t){return Object(r["a"])({url:"/system/diagnosis-type/crumb",method:"get",params:t})}function _(t){return Object(r["a"])({url:"/project/appointment-project/crumb",method:"get",params:t})}function v(){return Object(r["a"])({url:"/system/dict/data/type/erm_citizenship",method:"get"})}function T(){return Object(r["a"])({url:"/system/dict/data/type/erm_occupation",method:"get"})}function x(){return Object(r["a"])({url:"/system/dict/data/type/erm_nationality",method:"get"})}function w(){return Object(r["a"])({url:"/system/dict/data/type/erm_marriage",method:"get"})}function k(){return Object(r["a"])({url:"/system/dict/data/type/erm_patient_source",method:"get"})}function L(){return Object(r["a"])({url:"/system/dict/data/type/erm_family_history",method:"get"})}function S(){return Object(r["a"])({url:"/system/dict/data/type/erm_past_history",method:"get"})}function E(){return Object(r["a"])({url:"/system/dict/data/type/erm_patient_tags",method:"get"})}function I(){return Object(r["a"])({url:"/system/dict/data/type/erm_personal_relationship",method:"get"})}function V(){return Object(r["a"])({url:"/system/dict/data/type/erm_reservation_status",method:"get"})}function A(){return Object(r["a"])({url:"/system/dict/data/type/erm_patient_blood",method:"get"})}function D(t){return Object(r["a"])({url:"/patient/patient",method:"post",data:t})}function N(){return Object(r["a"])({url:"/patient/patient/list",method:"get"})}function $(t){return Object(r["a"])({url:"/patient/patient/detail",method:"get",params:t})}function C(t){return Object(r["a"])({url:"/patientAppointment/patientAppointment-appointment/list",method:"get",params:t})}function P(t){return Object(r["a"])({url:"/patient/medical-record/list",method:"get",params:t})}function U(t){return Object(r["a"])({url:"/patient/medical-record",method:"post",data:t})}function z(){return Object(r["a"])({url:"/system/user/allList",method:"get"})}function B(){return Object(r["a"])({url:"/system/user/deptTree",method:"get"})}function J(t){return Object(r["a"])({url:"/system/user/deptTreeByName?deptName=".concat(t),method:"get"})}function M(t){return Object(r["a"])({url:"/patient/medical-record/detail?id=".concat(t),method:"get"})}function R(){return Object(r["a"])({url:"/project/appointment-project/list",method:"get"})}function q(t){return Object(r["a"])({url:"/patientAppointment/patientAppointment-appointment",method:"post",data:t})}function F(){return Object(r["a"])({url:"/doctor/list",method:"get"})}function G(t){return Object(r["a"])({url:"/patientAppointment/patientAppointment-appointment/modifyState",method:"post",data:t})}function H(t){return Object(r["a"])({url:"/patient/medical-record/teethListByPatientId",method:"get",params:t})}function K(t){return Object(r["a"])({url:"/system/business-dict-data/list?dictType=".concat(t),method:"get"})}function Q(t){return Object(r["a"])({url:"/patient/medical-record/findMedicalInfo?medicalRecordId=".concat(t),method:"get"})}function W(t){return Object(r["a"])({url:"/patient/medical-record/html2Pdf",method:"post",responseType:"blob",data:t,timeout:3e5})}function X(t){return Object(r["a"])({url:"/system/business-dict-data",method:"put",data:t})}function Y(t){return Object(r["a"])({url:"/system/business-dict-data",method:"post",data:t})}},"9ed7":function(t,e,n){},aba5:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.addTemplateDialogVisible?n("el-dialog",{attrs:{title:"新建",visible:t.addTemplateDialogVisible,width:"1000px","close-on-press-escape":!1,"close-on-click-modal":!1},on:{"update:visible":function(e){t.addTemplateDialogVisible=e},close:t.cancel}},[n("el-row",{staticStyle:{"margin-bottom":"15px"}},[n("el-col",{attrs:{span:24}},[t._v(" 所属目录: "+t._s(t.treeName)+" ")])],1),n("div",{staticStyle:{"max-height":"65vh",overflow:"auto"}},[n("div",{staticClass:"df_box"},t._l(t.diagnosisTypeTemplateList,(function(e){return n("div",{key:e.id,staticClass:"samll_box"},[n("span",[t._v(" 模版名称: ")]),n("div",{staticClass:"right_box"},[n("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请选择",size:"mini"},model:{value:e.dictLabel,callback:function(n){t.$set(e,"dictLabel",n)},expression:"item.dictLabel"}},t._l([e.dictLabel],(function(t){return n("el-option",{key:t,attrs:{label:t,value:t}})})),1),n("el-input",{staticStyle:{width:"100%","margin-top":"5px"},attrs:{type:"textarea",rows:4},model:{value:e.templateExample,callback:function(n){t.$set(e,"templateExample",n)},expression:"item.templateExample"}})],1)])})),0)]),n("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{on:{click:t.cancel}},[t._v("取 消")]),n("el-button",{attrs:{type:"primary"},on:{click:t.submit}},[t._v("确 定")])],1)],1):t._e()],1)},a=[],i=n("c7eb"),o=n("1da1"),u=(n("4de4"),n("d81d"),n("d3b7"),n("159b"),n("943d")),c={name:"EitcErmPcAddTemplateDialog",props:{listInId:{type:String,default:""},treeName:{type:String,default:""}},data:function(){return{addTemplateDialogVisible:!1,diagnosisTypeTemplateList:[]}},mounted:function(){this.initSysUserSexerm_diagnosis_type_template_name()},methods:{initSysUserSexerm_diagnosis_type_template_name:function(){var t=this;return Object(o["a"])(Object(i["a"])().mark((function e(){var n;return Object(i["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["L"])();case 2:if(n=e.sent,200===n.code){e.next=5;break}return e.abrupt("return",t.$message.error(n.msg));case 5:t.diagnosisTypeTemplateList=n.data.filter((function(t){return t.templateExample,t}));case 6:case"end":return e.stop()}}),e)})))()},cancel:function(){this.addTemplateDialogVisible=!1,this.initSysUserSexerm_diagnosis_type_template_name()},submit:function(){var t=this;return Object(o["a"])(Object(i["a"])().mark((function e(){var n,r;return Object(i["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t.diagnosisTypeTemplateList.forEach((function(t){return t.templateName=t.dictValue})),n={diagnosisTypeId:t.listInId,diagnosisTypeTemplateList:t.diagnosisTypeTemplateList.map((function(t){return{templateName:t.dictValue,templateExample:t.templateExample||""}}))},e.next=4,Object(u["t"])(n);case 4:if(r=e.sent,200===r.code){e.next=7;break}return e.abrupt("return",t.$message.error(r.msg));case 7:t.$message.success("新建成功!"),t.$parent.initList(),t.addTemplateDialogVisible=!1;case 10:case"end":return e.stop()}}),e)})))()}}},s=c,d=(n("c239"),n("2877")),p=Object(d["a"])(s,r,a,!1,null,"73cbbd14",null);e["default"]=p.exports},c239:function(t,e,n){"use strict";n("9ed7")}}]);
|