1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-54f7de13"],{"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 d})),n.d(e,"s",(function(){return s})),n.d(e,"h",(function(){return p})),n.d(e,"u",(function(){return l})),n.d(e,"A",(function(){return m})),n.d(e,"e",(function(){return f})),n.d(e,"t",(function(){return b})),n.d(e,"L",(function(){return h})),n.d(e,"v",(function(){return j})),n.d(e,"i",(function(){return y})),n.d(e,"z",(function(){return g})),n.d(e,"o",(function(){return O})),n.d(e,"d",(function(){return T})),n.d(e,"K",(function(){return _})),n.d(e,"P",(function(){return v})),n.d(e,"O",(function(){return x})),n.d(e,"N",(function(){return k})),n.d(e,"S",(function(){return w})),n.d(e,"M",(function(){return A})),n.d(e,"Q",(function(){return I})),n.d(e,"T",(function(){return D})),n.d(e,"U",(function(){return N})),n.d(e,"V",(function(){return $})),n.d(e,"R",(function(){return C})),n.d(e,"D",(function(){return M})),n.d(e,"G",(function(){return P})),n.d(e,"F",(function(){return F})),n.d(e,"E",(function(){return L})),n.d(e,"B",(function(){return S})),n.d(e,"H",(function(){return B})),n.d(e,"a",(function(){return E})),n.d(e,"m",(function(){return J})),n.d(e,"n",(function(){return z})),n.d(e,"J",(function(){return R})),n.d(e,"I",(function(){return q})),n.d(e,"b",(function(){return G})),n.d(e,"w",(function(){return H})),n.d(e,"C",(function(){return K})),n.d(e,"W",(function(){return Q})),n.d(e,"j",(function(){return U})),n.d(e,"x",(function(){return V})),n.d(e,"y",(function(){return W})),n.d(e,"l",(function(){return Y})),n.d(e,"k",(function(){return X}));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 d(t){return Object(r["a"])({url:"/project/appointment-project",method:"post",data:t})}function s(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 l(t){return Object(r["a"])({url:"/system/diagnosis-type-template/list",method:"get",params:t})}function m(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 h(){return Object(r["a"])({url:"/system/dict/data/type/erm_diagnosis_type_template_name",method:"get"})}function j(t){return Object(r["a"])({url:"/system/diagnosis-type-template",method:"put",data:t})}function y(t){return Object(r["a"])({url:"/project/appointment-project",method:"put",data:t})}function g(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(t){return Object(r["a"])({url:"/project/appointment-project/crumb",method:"get",params:t})}function _(){return Object(r["a"])({url:"/system/dict/data/type/erm_citizenship",method:"get"})}function v(){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 k(){return Object(r["a"])({url:"/system/dict/data/type/erm_marriage",method:"get"})}function w(){return Object(r["a"])({url:"/system/dict/data/type/erm_patient_source",method:"get"})}function A(){return Object(r["a"])({url:"/system/dict/data/type/erm_family_history",method:"get"})}function I(){return Object(r["a"])({url:"/system/dict/data/type/erm_past_history",method:"get"})}function D(){return Object(r["a"])({url:"/system/dict/data/type/erm_patient_tags",method:"get"})}function N(){return Object(r["a"])({url:"/system/dict/data/type/erm_personal_relationship",method:"get"})}function $(){return Object(r["a"])({url:"/system/dict/data/type/erm_reservation_status",method:"get"})}function C(){return Object(r["a"])({url:"/system/dict/data/type/erm_patient_blood",method:"get"})}function M(t){return Object(r["a"])({url:"/patient/patient",method:"post",data:t})}function P(){return Object(r["a"])({url:"/patient/patient/list",method:"get"})}function F(t){return Object(r["a"])({url:"/patient/patient/detail",method:"get",params:t})}function L(t){return Object(r["a"])({url:"/patientAppointment/patientAppointment-appointment/list",method:"get",params:t})}function S(t){return Object(r["a"])({url:"/patient/medical-record/list",method:"get",params:t})}function B(t){return Object(r["a"])({url:"/patient/medical-record",method:"post",data:t})}function E(){return Object(r["a"])({url:"/system/user/allList",method:"get"})}function J(){return Object(r["a"])({url:"/system/user/deptTree",method:"get"})}function z(t){return Object(r["a"])({url:"/system/user/deptTreeByName?deptName=".concat(t),method:"get"})}function R(t){return Object(r["a"])({url:"/patient/medical-record/detail?id=".concat(t),method:"get"})}function q(){return Object(r["a"])({url:"/project/appointment-project/list",method:"get"})}function G(t){return Object(r["a"])({url:"/patientAppointment/patientAppointment-appointment",method:"post",data:t})}function H(){return Object(r["a"])({url:"/doctor/list",method:"get"})}function K(t){return Object(r["a"])({url:"/patientAppointment/patientAppointment-appointment/modifyState",method:"post",data:t})}function Q(t){return Object(r["a"])({url:"/patient/medical-record/teethListByPatientId",method:"get",params:t})}function U(t){return Object(r["a"])({url:"/system/business-dict-data/list?dictType=".concat(t),method:"get"})}function V(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 Y(t){return Object(r["a"])({url:"/system/business-dict-data",method:"put",data:t})}function X(t){return Object(r["a"])({url:"/system/business-dict-data",method:"post",data:t})}},aeec: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.addMedicalTreeDialogFlag?n("el-dialog",{attrs:{title:"选择牙齿诊断",visible:t.addMedicalTreeDialogFlag,width:"30%","close-on-press-escape":!1,"close-on-click-modal":!1,"before-close":t.beforeClose},on:{"update:visible":function(e){t.addMedicalTreeDialogFlag=e}}},[n("el-input",{attrs:{placeholder:"输入关键字进行过滤"},model:{value:t.filterText,callback:function(e){t.filterText=e},expression:"filterText"}}),n("el-tree",{ref:"tree",staticClass:"filter-tree",attrs:{data:t.deptOptions,props:t.defaultProps,"default-expand-all":"","filter-node-method":t.filterNode},on:{"node-click":t.handleNodeClick}}),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.doSubmit}},[t._v("确 定")])],1)],1):t._e()],1)},a=[],i=n("c7eb"),o=n("1da1"),u=(n("4de4"),n("d3b7"),n("943d")),c={name:"EitcErmPcAddMedicalTreeDialog",props:{addMedicalTreeDialogFlag:{type:Boolean,default:!1},ids:{type:String,default:""}},data:function(){return{deptOptions:[],filterText:"",defaultProps:{children:"childrenList",label:"diagnosisName"},diagnosisTypeId:"",tableData:{}}},watch:{filterText:function(t){this.$refs.tree.filter(t)}},mounted:function(){this.initAiagnosisTypeTree()},methods:{initAiagnosisTypeTree: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["p"])();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.deptOptions=n.data;case 6:case"end":return e.stop()}}),e)})))()},filterNode:function(t,e){return!t||-1!==e.diagnosisName.indexOf(t)},beforeClose:function(){this.$emit("cancelAll","3")},handleNodeClick:function(t,e,n){this.diagnosisTypeId=t.id},cancel:function(){this.$emit("cancelAll","3")},doSubmit: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:if(t.diagnosisTypeId){e.next=2;break}return e.abrupt("return",t.$message.error("请选择诊断类型"));case 2:return e.next=4,Object(u["A"])({diagnosisTypeId:t.diagnosisTypeId,patientId:t.ids});case 4:if(n=e.sent,200===n.code){e.next=7;break}return e.abrupt("return",t.$message.error(n.msg));case 7:t.tableData=n.data,t.$emit("cancelAll","3"),t.$emit("addYaList",t.tableData);case 10:case"end":return e.stop()}}),e)})))()}}},d=c,s=n("2877"),p=Object(s["a"])(d,r,a,!1,null,"cc179896",null);e["default"]=p.exports}}]);
|