(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-da55b426"],{"210d":function(t,e,n){},"4fc2":function(t,e,n){"use strict";n("210d")},"63ce":function(t,e,n){"use strict";n.d(e,"h",(function(){return r})),n.d(e,"c",(function(){return o})),n.d(e,"i",(function(){return i})),n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return u})),n.d(e,"d",(function(){return c})),n.d(e,"e",(function(){return l})),n.d(e,"f",(function(){return d})),n.d(e,"g",(function(){return m}));var a=n("b775");n("c38a");function r(t){return Object(a["a"])({url:"/base/tag/edit",method:"post",data:t})}function o(t,e){var n={tagid:t,isupload:e};return Object(a["a"])({url:"/base/tag/edit",method:"post",data:n})}function i(t){return Object(a["a"])({url:"/system/tagcategory/edit",method:"post",data:t})}function s(t){return Object(a["a"])({url:"/base/tag/add",method:"post",data:t})}function u(t){return Object(a["a"])({url:"/system/tagcategory",method:"post",data:t})}function c(t){return Object(a["a"])({url:"/base/tag/remove/"+t,method:"get"})}function l(t){return Object(a["a"])({url:"/system/tagcategory/remove/"+t,method:"get"})}function d(t){return Object(a["a"])({url:"/base/tag/list",method:"post",data:t})}function m(t){return Object(a["a"])({url:"/system/tagcategory/baseTagCategoryByName",method:"post",params:t})}},"958b":function(t,e,n){"use strict";n.d(e,"l",(function(){return r})),n.d(e,"n",(function(){return o})),n.d(e,"e",(function(){return i})),n.d(e,"d",(function(){return s})),n.d(e,"m",(function(){return u})),n.d(e,"g",(function(){return c})),n.d(e,"c",(function(){return l})),n.d(e,"j",(function(){return d})),n.d(e,"i",(function(){return m})),n.d(e,"a",(function(){return p})),n.d(e,"h",(function(){return h})),n.d(e,"k",(function(){return f})),n.d(e,"f",(function(){return g})),n.d(e,"b",(function(){return b}));var a=n("b775");n("c38a");function r(t){return Object(a["a"])({url:"/smartor/patarchive/patInfoByContion",method:"post",data:t})}function o(t){return Object(a["a"])({url:"/smartor/patarchive/list",method:"post",data:t})}function i(t){return Object(a["a"])({url:"/smartor/patarchive/saveOrUpdatePatInfo",method:"post",data:t})}function s(t){return Object(a["a"])({url:"/smartor/patarchive/add",method:"post",data:t})}function u(t){return Object(a["a"])({url:"/smartor/patarchive/getInfo/"+t,method:"get"})}function c(t){return Object(a["a"])({url:"/smartor/patarchive/remove/"+t,method:"get"})}function l(t){return Object(a["a"])({url:"/medicalhistory/add",method:"post",data:t})}function d(t){return Object(a["a"])({url:"/medicalhistory/selectMedicalHistoryList",method:"post",data:t})}function m(t){return Object(a["a"])({url:"/medicalhistory/edit",method:"post",data:t})}function p(t){return Object(a["a"])({url:"/archivecontact/add",method:"post",data:t})}function h(t){return Object(a["a"])({url:"/archivecontact/edit",method:"post",data:t})}function f(t){return Object(a["a"])({url:"/archivecontact/selectPatArchivecontactList",method:"post",data:t})}function g(t){return Object(a["a"])({url:"/archivecontact/remove/"+t,method:"get"})}function b(t){return Object(a["a"])({url:"/smartor/filterlist/add",method:"post",data:t})}},b780:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-container"},[n("el-row",{attrs:{gutter:20}},[n("el-col",{attrs:{span:24,xs:24}},[n("el-form",{directives:[{name:"show",rawName:"v-show",value:t.showSearch,expression:"showSearch"}],ref:"queryForm",attrs:{model:t.queryParams,size:"small",inline:!0,"label-width":"98px"}},[n("el-form-item",{attrs:{label:"患者姓名",width:"100",prop:"name"}},[n("el-input",{staticStyle:{width:"200px"},attrs:{placeholder:"请输入姓名",clearable:""},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleQuery(e)}},model:{value:t.queryParams.name,callback:function(e){t.$set(t.queryParams,"name",e)},expression:"queryParams.name"}})],1),n("el-form-item",{attrs:{label:"过滤医生",width:"100",prop:"filterDrname"}},[n("el-input",{staticStyle:{width:"200px"},attrs:{placeholder:"请输入医生姓名",clearable:""},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleQuery(e)}},model:{value:t.queryParams.filterDrname,callback:function(e){t.$set(t.queryParams,"filterDrname",e)},expression:"queryParams.filterDrname"}})],1),n("el-row",[n("el-form-item",[n("el-button",{attrs:{type:"primary",icon:"el-icon-search",size:"medium"},on:{click:t.handleQuery}},[t._v("搜索")]),n("el-button",{attrs:{icon:"el-icon-refresh",size:"medium"},on:{click:t.resetQuery}},[t._v("重置")])],1)],1)],1),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],attrs:{data:t.userList},on:{"selection-change":t.handleSelectionChange}},[n("el-table-column",{attrs:{type:"selection",width:"50",align:"center"}}),n("el-table-column",{key:"name",attrs:{fixed:"",label:"姓名",width:"100",align:"center",prop:"name"}}),n("el-table-column",{key:"sex",attrs:{label:"性别",width:"100",align:"center",prop:"sex"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(1==e.row.sex?"男":"女"))])]}}])}),n("el-table-column",{key:"age",attrs:{label:"年龄",align:"center",prop:"age",width:"60"}}),n("el-table-column",{key:"birthdate",attrs:{label:"出生年月",align:"center",prop:"birthdate",width:"160"}}),n("el-table-column",{key:"notrequiredreason",attrs:{label:"过滤原因",align:"center",prop:"notrequiredreason",width:"190"}}),n("el-table-column",{key:"placeOfResidence",attrs:{label:"居住地",align:"center",prop:"placeOfResidence",width:"180","show-overflow-tooltip":!0}}),n("el-table-column",{key:"filterDrname",attrs:{label:"过滤医生",align:"center",prop:"filterDrname"}}),n("el-table-column",{key:"tagList",attrs:{label:"患者标签",align:"center",prop:"tagList",width:"160","show-overflow-tooltip":!0},scopedSlots:t._u([{key:"default",fn:function(e){return t._l(e.row.tagList,(function(e){return n("span",[t._v(t._s(e.tagname)+" ")])}))}}])}),n("el-table-column",{key:"idcardno",attrs:{label:"证件号码",align:"center",prop:"idcardno",width:"190"}}),n("el-table-column",{key:"telcode",attrs:{label:"联系方式",align:"center",prop:"telcode",width:"120"}}),n("el-table-column",{key:"createTime",attrs:{label:"建档日期",align:"center",prop:"createTime",width:"160"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(t.formatTime(e.row.createTime)))])]}}])}),n("el-table-column",{attrs:{label:"操作",align:"center",fixed:"right",width:"190","class-name":"small-padding fixed-width"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-button",{attrs:{size:"medium",type:"text"},on:{click:function(n){return t.$router.push({path:"/patient/patient/profile/",query:{id:e.row.id}})}}},[n("span",{staticClass:"button-textsc"},[n("i",{staticClass:"el-icon-zoom-in"}),t._v("查看")])]),n("el-button",{attrs:{size:"medium",type:"text"},on:{click:function(n){return t.handleDelete(e.row)}}},[n("span",{staticClass:"button-textxga"},[n("i",{staticClass:"el-icon-edit"}),t._v("取消过滤")])])]}}])})],1),n("pagination",{directives:[{name:"show",rawName:"v-show",value:t.total>0,expression:"total > 0"}],attrs:{total:t.total,page:t.queryParams.pageNum,limit:t.queryParams.pageSize},on:{"update:page":function(e){return t.$set(t.queryParams,"pageNum",e)},"update:limit":function(e){return t.$set(t.queryParams,"pageSize",e)},pagination:t.getList}})],1)],1)],1)},r=[],o=n("025b"),i=n("b3d7"),s=(n("9364"),n("2f82"),n("6e70"),n("f24b"),n("21b9"),n("cfee"),n("c0c7"),n("958b")),u=n("63ce"),c=n("5f87"),l=n("b84a"),d=n.n(l),m=n("4360"),p=(n("2c60"),{name:"Userhuanze",dicts:["sys_normal_disable","sys_user_sex","futter_patient"],components:{Treeselect:d.a},data:function(){var t;return t={loading:!0,ids:[],single:!0,multiple:!0,showSearch:!0,total:0,userList:null,title:"",deptOptions:void 0,open:!1,deptName:void 0,initPassword:void 0,amendtag:!1,dateRange:[],paperstypes:[{papersname:"身份证"},{papersname:"护照"},{papersname:"中国港澳居民身份证"},{papersname:"中国台湾居民身份证"}],form:{name:"",age:"",sex:"",tagList:[],idcardno:"",telcode:"",idcardtype:"",relativetelcode:""},dractive:1,uploadingData:{}},Object(i["a"])(Object(i["a"])(Object(i["a"])(Object(i["a"])(Object(i["a"])(Object(i["a"])(Object(i["a"])(Object(i["a"])(Object(i["a"])(Object(i["a"])(t,"total",0),"ImportQuantity",999),"Labelchange",!1),"propss",{multiple:!0}),"optionstag",[]),"Patientrange",[{value:0,label:"所属患者"},{value:1,label:"科室患者"},{value:2,label:"病区患者"}]),"whether",[{name:"是",id:1},{name:"否",id:2}]),"Filterreason",[]),"defaultProps",{children:"children",label:"label"}),"upload",{open:!1,title:"",isUploading:!1,updateSupport:0,headers:{Authorization:"Bearer "+Object(c["a"])()},url:"/prod-api/system/user/importData"}),Object(i["a"])(Object(i["a"])(t,"queryParams",{pageNum:1,pageSize:10,allhosp:"1",notrequiredFlag:1,idcardno:void 0,name:void 0,status:void 0,tagIds:void 0,telcode:void 0}),"rules",{})},watch:{deptName:function(t){this.$refs.tree.filter(t)}},created:function(){this.getList(),this.gettabList(),this.Filterreason=m["a"].getters.Filterreason},methods:{getList:function(){var t=this;this.loading=!0,Object(s["n"])(this.queryParams).then((function(e){console.log(e),t.userList=e.rows,t.total=e.total,t.loading=!1}))},gettabList:function(){var t=this,e={pageNum:1,pageSize:1e3,tagname:void 0,tagdescription:void 0,tagcategoryid:"0"};Object(u["f"])(e).then((function(e){console.log(e),t.optionstag=e.rows}))},geterryList:function(){var t=this;this.loading=!0,listJob(this.queryParams).then((function(e){t.jobList=1,t.total=1,t.loading=!1}))},filterNode:function(t,e){return!t||-1!==e.label.indexOf(t)},handleNodeClick:function(t){this.queryParams.deptId=t.id,this.handleQuery()},cancel:function(){this.Labelchange=!1,this.reset()},reset:function(){this.form={name:"",age:"",sex:"",tagList:[],idcardno:"",telcode:"",idcardtype:"",relativetelcode:""}},handleQuery:function(){this.queryParams.pageNum=1,this.getList()},resetQuery:function(){this.queryParams={pageNum:1,pageSize:10,allhosp:"1",notrequiredFlag:1},this.handleQuery()},handleSelectionChange:function(t){this.ids=t.map((function(t){return t.patid})),this.single=1!=t.length,this.multiple=!t.length},handleAdd:function(){this.reset(),this.Labelchange=!0,this.amendtag=!1},submitForm:function(){var t=this;this.amendtag?Object(s["e"])(this.form).then((function(t){console.log(t)})).then((function(){t.getList(),t.$modal.msgSuccess("修改成功")})):Object(s["b"])(this.form).then((function(t){console.log(t)})).then((function(){t.getList(),t.$modal.msgSuccess("添加成功")})),this.reset(),this.Labelchange=!1},handleDelete:function(t){var e=this,n=t.id||this.ids;this.$modal.confirm('是否确认取消用户编号为"'+n+'"的数据项过滤?').then((function(){t.notrequiredFlag=0,Object(s["e"])(t).then((function(t){console.log(t)})).then((function(){e.getList(),e.$modal.msgSuccess("修改成功")}))})).catch((function(){}))},handleExport:function(){this.download("smartor/patarchive/export",Object(o["a"])({},this.queryParams),"user_".concat((new Date).getTime(),".xlsx"))},handleImport:function(){this.upload.title="用户导入",this.upload.open=!0},importTemplate:function(){this.download("smartor/import/getImportPatTemplate",{},"user_template_".concat((new Date).getTime(),".xlsx"))},handleFileUploadProgress:function(t,e,n){this.upload.isUploading=!0},handleFileSuccess:function(t,e,n){this.upload.open=!1,this.upload.isUploading=!1,this.$refs.upload.clearFiles(),this.$alert("
","导入结果",{dangerouslyUseHTMLString:!0}),this.getList()},submitFileForm:function(){1==this.dractive?(this.$refs.upload.submit(),this.dractive++):this.dractive++},submitclose:function(){this.upload.open=!1,this.dractive=1}}}),h=p,f=(n("4fc2"),n("1805")),g=Object(f["a"])(h,a,r,!1,null,"1d077569",null);e["default"]=g.exports},c0c7:function(t,e,n){"use strict";n.d(e,"k",(function(){return o})),n.d(e,"i",(function(){return i})),n.d(e,"a",(function(){return s})),n.d(e,"p",(function(){return u})),n.d(e,"d",(function(){return c})),n.d(e,"m",(function(){return l})),n.d(e,"c",(function(){return d})),n.d(e,"j",(function(){return m})),n.d(e,"q",(function(){return p})),n.d(e,"g",(function(){return h})),n.d(e,"h",(function(){return f})),n.d(e,"n",(function(){return g})),n.d(e,"r",(function(){return b})),n.d(e,"s",(function(){return y})),n.d(e,"f",(function(){return v})),n.d(e,"o",(function(){return O})),n.d(e,"l",(function(){return j})),n.d(e,"e",(function(){return w})),n.d(e,"b",(function(){return k}));var a=n("b775"),r=n("c38a");function o(t){return Object(a["a"])({url:"/system/user/list",method:"get",params:t})}function i(t){return Object(a["a"])({url:"/system/user/getInfo/"+Object(r["g"])(t),method:"get"})}function s(t){return Object(a["a"])({url:"/system/user/add",method:"post",data:t})}function u(t){return Object(a["a"])({url:"/system/user/edit",method:"post",data:t})}function c(t){return Object(a["a"])({url:"/system/user/remove/"+t,method:"get"})}function l(t,e){var n={userId:t,password:e};return Object(a["a"])({url:"/system/user/resetPwd",method:"post",data:n})}function d(t,e){var n={userId:t,status:e};return Object(a["a"])({url:"/system/user/changeStatus/edit",method:"post",data:n})}function m(){return Object(a["a"])({url:"/system/user/profile",method:"get"})}function p(t){return Object(a["a"])({url:"/system/user/profile/edit",method:"post",data:t})}function h(t){return Object(a["a"])({url:"/smartor/serviceSubtask/getSfStatistics",method:"post",data:t})}function f(t){return Object(a["a"])({url:"/smartor/serviceSubtask/getSfStatisticsJoy",method:"post",data:t})}function g(t){return Object(a["a"])({url:"/smartor/servicetask/selectTimelyRate",method:"post",data:t})}function b(t,e){var n={oldPassword:t,newPassword:e};return Object(a["a"])({url:"/system/user/profile/updatePwd",method:"post",params:n})}function y(t){return Object(a["a"])({url:"/system/user/profile/avatar",method:"post",data:t})}function v(t){return Object(a["a"])({url:"/system/user/authRole/"+t,method:"get"})}function O(t){return Object(a["a"])({url:"/system/user/authRole/insertAuthRole",method:"post",data:t})}function j(t,e){return Object(a["a"])({url:"/smartor/userdept/removeByCode/"+t+"/"+e,method:"get"})}function w(t){var e={deptType:t,orgid:localStorage.getItem("orgid")};return Object(a["a"])({url:"/system/user/deptTree",method:"get",params:e})}function k(t){return Object(a["a"])({url:"/smartor/userdept/add",method:"post",data:t})}}}]);