1 |
- {"version":3,"sources":["webpack:///./src/components/Page.vue?6863","webpack:///./src/views/patient/Index.vue?d119","webpack:///./src/components/Page.vue?7e04","webpack:///src/components/Page.vue","webpack:///./src/components/Page.vue?5b6c","webpack:///./src/components/Page.vue","webpack:///./src/views/patient/Index.vue?7f57","webpack:///src/views/patient/Index.vue","webpack:///./src/views/patient/Index.vue?5a03","webpack:///./src/views/patient/Index.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","page_size","current","total","on","getData","handleSizeChange","staticRenderFns","component","staticClass","_v","$event","model","value","queryParams","callback","$$v","$set","expression","remoteMethod","_l","item","key","name","id","staticStyle","directives","rawName","list","scopedSlots","_u","fn","scope","del","row","ref","form","page","gopage","title","open","rules","$const","label","slot","submitForm","components","Page","data","loading","form1","form2","doctorList","methods","$confirm","type","size","$refs","pageButton","$api","getPatientCaseList","then","handleAdd","edit","handleAvatarSuccess","img","res","url","beforeAvatarUpload","validate","valid","code","query","created"],"mappings":"kHAAA,W,yDCAA,W,2DCAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,gBAAgB,CAACE,MAAM,CAAC,WAAa,GAAG,YAAYN,EAAIO,UAAUP,EAAIO,UAAU,GAAG,eAAeP,EAAIQ,QAAQ,aAAa,CAAC,GAAG,GAAI,GAAI,GAAI,GAAG,GAAG,GAAG,GAAG,GAAG,KAAK,OAAS,gCAAgC,MAAQR,EAAIS,OAAOC,GAAG,CAAC,iBAAiBV,EAAIW,QAAQ,cAAcX,EAAIY,qBAC7WC,EAAkB,GCwBtB,GACE,KADF,WAEI,MAAJ,CACM,KAAN,IAGE,MAAF,CACI,MAAJ,GACI,UAAJ,GACI,QAAJ,IAEE,QAAF,CACI,QADJ,SACA,GAMM,KAAN,OACM,KAAN,qBAEI,iBAVJ,SAUA,GACM,KAAN,wBAGE,QAzBF,cCzB8U,I,wBCQ1UC,E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D,aA9FJ,SA8FA,cACoB,KAAVqD,EAEF7E,KAAKgE,KACb,sBACU,KAAV,IAEA,kBACU,EAAV,uBACU,EAAV,kCAIQhE,KAAKyD,WAAa,KAIxBqB,QApIF,WAqII9E,KAAKU,YCnTqV,I,wBCQ1VG,EAAY,eACd,EACAf,EACAc,GACA,EACA,KACA,KACA,MAIa,aAAAC,E","file":"js/chunk-2d7011f0.a46c8ec2.js","sourcesContent":["export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Page.vue?vue&type=style&index=0&lang=scss&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Index.vue?vue&type=style&index=0&lang=scss&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-pagination',{attrs:{\"background\":\"\",\"page-size\":_vm.page_size?_vm.page_size:20,\"current-page\":_vm.current,\"page-sizes\":[10,20, 30, 40, 50,60,70,80,90,100],\"layout\":\"total,sizes,prev, pager, next\",\"total\":_vm.total},on:{\"current-change\":_vm.getData,\"size-change\":_vm.handleSizeChange}})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<style lang=\"scss\">\r\n @import '../style/style.scss';\r\n .el-pagination{\r\n li,button{\r\n border: 1px solid #CACACA !important;\r\n background-color: #fff !important;\r\n }\r\n .active{\r\n border:none !important;\r\n background: #3895FE !important;\r\n }\r\n }\r\n</style>\r\n<template>\r\n <el-pagination\r\n @current-change=\"getData\"\r\n background :page-size='page_size?page_size:20'\r\n @size-change=\"handleSizeChange\"\r\n :current-page=\"current\"\r\n :page-sizes=\"[10,20, 30, 40, 50,60,70,80,90,100]\"\r\n layout=\"total,sizes,prev, pager, next\"\r\n :total=\"total\">\r\n </el-pagination>\r\n</template>\r\n<script>\r\nexport default {\r\n data(){\r\n return{\r\n page:1\r\n }\r\n },\r\n props: {\r\n total:'',\r\n page_size:'',\r\n current:''\r\n },\r\n methods:{\r\n getData(type){\r\n // if(type == 1){\r\n // this.data.pageNumber=this.data.pageNumber-1\r\n // }else if(type == 2){\r\n // this.data.pageNumber=this.data.pageNumber+1\r\n // }\r\n this.page=type\r\n this.$emit('pageChange')\r\n },\r\n handleSizeChange(val){\r\n this.$emit('pageChange',val)\r\n }\r\n },\r\n created(){\r\n }\r\n}\r\n</script>","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Page.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Page.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Page.vue?vue&type=template&id=df237d3a&\"\nimport script from \"./Page.vue?vue&type=script&lang=js&\"\nexport * from \"./Page.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Page.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',{staticClass:\"content\"},[_c('h4',[_vm._v(\"病例列表\")]),_c('el-divider'),_c('el-form',{staticClass:\"filter-form\",attrs:{\"label-width\":\"80px\"}},[_c('el-row',[_c('el-col',{attrs:{\"span\":4}},[_c('el-form-item',{attrs:{\"label\":\"名称\"}},[_c('el-input',{attrs:{\"clearable\":\"\",\"placeholder\":\"请输入名称\",\"size\":\"mini\"},on:{\"clear\":function($event){return _vm.getData()}},model:{value:(_vm.queryParams.name),callback:function ($$v) {_vm.$set(_vm.queryParams, \"name\", $$v)},expression:\"queryParams.name\"}})],1)],1),_c('el-col',{attrs:{\"span\":4}},[_c('el-form-item',{attrs:{\"label\":\"手机号\"}},[_c('el-input',{attrs:{\"clearable\":\"\",\"placeholder\":\"请输入手机号\",\"size\":\"mini\"},on:{\"clear\":function($event){return _vm.getData()}},model:{value:(_vm.queryParams.phone),callback:function ($$v) {_vm.$set(_vm.queryParams, \"phone\", $$v)},expression:\"queryParams.phone\"}})],1)],1),_c('el-col',{attrs:{\"span\":4}},[_c('el-form-item',{attrs:{\"label\":\"录入医生\",\"prop\":\"doctor_id\"}},[_c('el-select',{attrs:{\"placeholder\":\"请选择\",\"clearable\":\"\",\"filterable\":\"\",\"remote\":\"\",\"remote-method\":_vm.remoteMethod},on:{\"change\":_vm.getData,\"clear\":_vm.getData},model:{value:(_vm.queryParams.doctor_id),callback:function ($$v) {_vm.$set(_vm.queryParams, \"doctor_id\", $$v)},expression:\"queryParams.doctor_id\"}},_vm._l((_vm.doctorList),function(item){return _c('el-option',{key:item.value,attrs:{\"label\":item.name,\"value\":item.id}})}),1)],1)],1),_c('el-col',{attrs:{\"span\":4}},[_c('el-form-item',{staticStyle:{\"margin-left\":\"10px\"},attrs:{\"label-width\":\"10\"}},[_c('el-button',{attrs:{\"type\":\"primary\",\"size\":\"mini\"},on:{\"click\":_vm.getData}},[_vm._v(\"筛选\")])],1)],1)],1)],1),_c('el-table',{directives:[{name:\"loading\",rawName:\"v-loading\",value:(_vm.loading),expression:\"loading\"}],attrs:{\"data\":_vm.list,\"height\":\"50vh\"}},[_c('el-table-column',{attrs:{\"align\":\"center\",\"prop\":\"name\",\"label\":\"名称\"}}),_c('el-table-column',{attrs:{\"align\":\"center\",\"prop\":\"code\",\"label\":\"编码\"}}),_c('el-table-column',{attrs:{\"align\":\"center\",\"prop\":\"sex\",\"label\":\"性别\"}}),_c('el-table-column',{attrs:{\"align\":\"center\",\"prop\":\"age\",\"label\":\"年龄\"}}),_c('el-table-column',{attrs:{\"align\":\"center\",\"prop\":\"phone\",\"label\":\"手机号\"}}),_c('el-table-column',{attrs:{\"align\":\"center\",\"prop\":\"doctor_name\",\"label\":\"录入医生\"}}),_c('el-table-column',{attrs:{\"align\":\"center\",\"prop\":\"mpro\",\"label\":\"注射产品\"}}),_c('el-table-column',{attrs:{\"align\":\"center\",\"prop\":\"mfreq\",\"label\":\"注射频次\"}}),_c('el-table-column',{attrs:{\"align\":\"center\",\"prop\":\"bltz\",\"label\":\"病例体重\"}}),_c('el-table-column',{attrs:{\"align\":\"center\",\"prop\":\"zsjl\",\"label\":\"注射剂量\"}}),_c('el-table-column',{attrs:{\"align\":\"center\",\"prop\":\"zssjt0\",\"label\":\"注射时间t0\"}}),_c('el-table-column',{attrs:{\"align\":\"center\",\"prop\":\"jchx\",\"label\":\"基础活性\"}}),_c('el-table-column',{attrs:{\"align\":\"center\",\"prop\":\"zs30hx\",\"label\":\"注射半小时后活性\"}}),_c('el-table-column',{attrs:{\"align\":\"center\",\"prop\":\"cxsjt1\",\"label\":\"采血时间t1\"}}),_c('el-table-column',{attrs:{\"align\":\"center\",\"prop\":\"t1hx\",\"label\":\"t1点活性\"}}),_c('el-table-column',{attrs:{\"align\":\"center\",\"prop\":\"cxsjt2\",\"label\":\"采血时间t2\"}}),_c('el-table-column',{attrs:{\"align\":\"center\",\"prop\":\"t2hx\",\"label\":\"t2点活性\"}}),_c('el-table-column',{attrs:{\"align\":\"center\",\"prop\":\"cxsjt3\",\"label\":\"采血时间t3\"}}),_c('el-table-column',{attrs:{\"align\":\"center\",\"prop\":\"t3hx\",\"label\":\"t3点活性\"}}),_c('el-table-column',{attrs:{\"align\":\"center\",\"prop\":\"yfghx\",\"label\":\"预防谷活性\"}}),_c('el-table-column',{attrs:{\"align\":\"center\",\"prop\":\"zspc\",\"label\":\"注射频次\"}}),_c('el-table-column',{attrs:{\"align\":\"center\",\"prop\":\"yqfzhx\",\"label\":\"预期峰值活性\"}}),_c('el-table-column',{attrs:{\"align\":\"center\",\"prop\":\"bsq\",\"label\":\"半衰期\"}}),_c('el-table-column',{attrs:{\"align\":\"center\",\"prop\":\"mczsjl\",\"label\":\"每次注射剂量\"}}),_c('el-table-column',{attrs:{\"align\":\"center\",\"prop\":\"ctime\",\"label\":\"录入时间\"}}),_c('el-table-column',{attrs:{\"align\":\"center\",\"prop\":\"date\",\"label\":\"操作\",\"width\":\"160\",\"fixed\":\"right\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-button',{attrs:{\"size\":\"mini\",\"type\":\"danger\"},on:{\"click\":function($event){return _vm.del(scope.row.id)}}},[_vm._v(\"删除\")])]}}])})],1),_c('Page',{ref:\"pageButton\",attrs:{\"current\":_vm.form.page,\"page_size\":_vm.form.page_size,\"total\":_vm.total},on:{\"pageChange\":_vm.gopage}}),_c('el-dialog',{attrs:{\"title\":_vm.title,\"visible\":_vm.open,\"width\":\"500px\",\"append-to-body\":\"\"},on:{\"update:visible\":function($event){_vm.open=$event}}},[_c('el-form',{ref:\"form\",attrs:{\"model\":_vm.form,\"rules\":_vm.rules,\"label-width\":\"80px\"}},[_c('el-form-item',{attrs:{\"label\":\"名称\",\"prop\":\"name\"}},[_c('el-input',{attrs:{\"clearable\":\"\",\"placeholder\":\"请输入名称\"},model:{value:(_vm.form.name),callback:function ($$v) {_vm.$set(_vm.form, \"name\", $$v)},expression:\"form.name\"}})],1),_c('el-form-item',{attrs:{\"label\":\"手机号\",\"prop\":\"phone\"}},[_c('el-input',{attrs:{\"clearable\":\"\",\"placeholder\":\"请输入手机号\"},model:{value:(_vm.form.phone),callback:function ($$v) {_vm.$set(_vm.form, \"phone\", $$v)},expression:\"form.phone\"}})],1),_c('el-form-item',{attrs:{\"label\":\"医生类型\",\"prop\":\"role\"}},[_c('el-select',{attrs:{\"placeholder\":\"请选择医生类型\",\"filterable\":\"\"},model:{value:(_vm.form.role),callback:function ($$v) {_vm.$set(_vm.form, \"role\", $$v)},expression:\"form.role\"}},_vm._l((_vm.$const.doctorRoleList),function(item){return _c('el-option',{key:item.value,attrs:{\"label\":item.label,\"value\":item.value}})}),1)],1),_c('el-form-item',{attrs:{\"label\":\"医院\",\"prop\":\"hospital_name\"}},[_c('el-input',{attrs:{\"clearable\":\"\",\"placeholder\":\"请输入医院\"},model:{value:(_vm.form.hospital_name),callback:function ($$v) {_vm.$set(_vm.form, \"hospital_name\", $$v)},expression:\"form.hospital_name\"}})],1)],1),_c('div',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.submitForm}},[_vm._v(\"确 定\")]),_c('el-button',{on:{\"click\":function($event){_vm.open = false}}},[_vm._v(\"取 消\")])],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<style lang=\"scss\">\r\n.avatar-uploader .el-upload {\r\n border: 1px dashed #d9d9d9;\r\n border-radius: 6px;\r\n cursor: pointer;\r\n position: relative;\r\n overflow: hidden;\r\n}\r\n\r\n.avatar-uploader .el-upload:hover {\r\n border-color: #409eff;\r\n}\r\n\r\n.avatar-uploader-icon {\r\n font-size: 28px;\r\n color: #8c939d;\r\n width: 178px;\r\n height: 178px;\r\n line-height: 178px;\r\n text-align: center;\r\n}\r\n\r\n.avatar {\r\n width: 178px;\r\n height: 178px;\r\n display: block;\r\n}\r\n</style>\r\n<template>\r\n <section class=\"content\">\r\n <h4>病例列表</h4>\r\n <el-divider></el-divider>\r\n <el-form label-width=\"80px\" class=\"filter-form\">\r\n <el-row>\r\n <el-col :span=\"4\">\r\n <el-form-item label=\"名称\">\r\n <el-input\r\n clearable\r\n @clear=\"getData()\"\r\n v-model=\"queryParams.name\"\r\n placeholder=\"请输入名称\"\r\n size=\"mini\"\r\n ></el-input>\r\n </el-form-item>\r\n </el-col>\r\n <el-col :span=\"4\">\r\n <el-form-item label=\"手机号\">\r\n <el-input\r\n clearable\r\n @clear=\"getData()\"\r\n v-model=\"queryParams.phone\"\r\n placeholder=\"请输入手机号\"\r\n size=\"mini\"\r\n ></el-input>\r\n </el-form-item>\r\n </el-col>\r\n <el-col :span=\"4\">\r\n <el-form-item label=\"录入医生\" prop=\"doctor_id\">\r\n <el-select @change=\"getData\" v-model=\"queryParams.doctor_id\" placeholder=\"请选择\" @clear=\"getData\" clearable filterable remote\r\n :remote-method=\"remoteMethod\">\r\n <el-option v-for=\"item in doctorList\" :key=\"item.value\" :label=\"item.name\" :value=\"item.id\">\r\n </el-option>\r\n </el-select>\r\n </el-form-item>\r\n </el-col>\r\n <el-col :span=\"4\">\r\n <el-form-item label-width=\"10\" style=\"margin-left: 10px\">\r\n <el-button type=\"primary\" @click=\"getData\" size=\"mini\">筛选</el-button>\r\n <!-- <el-button type=\"primary\" plain icon=\"el-icon-plus\" size=\"mini\" @click=\"handleAdd\">新增医生</el-button> -->\r\n </el-form-item>\r\n </el-col>\r\n </el-row>\r\n </el-form>\r\n <el-table v-loading=\"loading\" :data=\"list\" height=\"50vh\">\r\n <el-table-column align=\"center\" prop=\"name\" label=\"名称\" />\r\n <el-table-column align=\"center\" prop=\"code\" label=\"编码\" />\r\n <el-table-column align=\"center\" prop=\"sex\" label=\"性别\" />\r\n <el-table-column align=\"center\" prop=\"age\" label=\"年龄\" />\r\n <el-table-column align=\"center\" prop=\"phone\" label=\"手机号\" />\r\n <el-table-column align=\"center\" prop=\"doctor_name\" label=\"录入医生\" />\r\n <el-table-column align=\"center\" prop=\"mpro\" label=\"注射产品\" />\r\n <el-table-column align=\"center\" prop=\"mfreq\" label=\"注射频次\" />\r\n <el-table-column align=\"center\" prop=\"bltz\" label=\"病例体重\" />\r\n <el-table-column align=\"center\" prop=\"zsjl\" label=\"注射剂量\" />\r\n <el-table-column align=\"center\" prop=\"zssjt0\" label=\"注射时间t0\" />\r\n <el-table-column align=\"center\" prop=\"jchx\" label=\"基础活性\" />\r\n <el-table-column align=\"center\" prop=\"zs30hx\" label=\"注射半小时后活性\" />\r\n <el-table-column align=\"center\" prop=\"cxsjt1\" label=\"采血时间t1\" />\r\n <el-table-column align=\"center\" prop=\"t1hx\" label=\"t1点活性\" />\r\n <el-table-column align=\"center\" prop=\"cxsjt2\" label=\"采血时间t2\" />\r\n <el-table-column align=\"center\" prop=\"t2hx\" label=\"t2点活性\" />\r\n <el-table-column align=\"center\" prop=\"cxsjt3\" label=\"采血时间t3\" />\r\n <el-table-column align=\"center\" prop=\"t3hx\" label=\"t3点活性\" />\r\n <el-table-column align=\"center\" prop=\"yfghx\" label=\"预防谷活性\" />\r\n <el-table-column align=\"center\" prop=\"zspc\" label=\"注射频次\" />\r\n <el-table-column align=\"center\" prop=\"yqfzhx\" label=\"预期峰值活性\" />\r\n <el-table-column align=\"center\" prop=\"bsq\" label=\"半衰期\" />\r\n <el-table-column align=\"center\" prop=\"mczsjl\" label=\"每次注射剂量\" />\r\n <el-table-column align=\"center\" prop=\"ctime\" label=\"录入时间\" />\r\n <el-table-column align=\"center\" prop=\"date\" label=\"操作\" width=\"160\" fixed=\"right\">\r\n <template slot-scope=\"scope\">\r\n <!-- <el-button @click=\"edit(scope.row.id)\" size=\"mini\" type=\"warning\">编辑</el-button> -->\r\n <el-button @click=\"del(scope.row.id)\" size=\"mini\" type=\"danger\">删除</el-button>\r\n </template>\r\n </el-table-column>\r\n </el-table>\r\n <Page\r\n ref=\"pageButton\"\r\n :current=\"form.page\"\r\n :page_size=\"form.page_size\"\r\n :total=\"total\"\r\n @pageChange=\"gopage\"\r\n />\r\n <!-- 新增医生 -->\r\n <el-dialog :title=\"title\" :visible.sync=\"open\" width=\"500px\" append-to-body>\r\n <el-form ref=\"form\" :model=\"form\" :rules=\"rules\" label-width=\"80px\">\r\n <el-form-item label=\"名称\" prop=\"name\">\r\n <el-input\r\n clearable\r\n v-model=\"form.name\"\r\n placeholder=\"请输入名称\"\r\n ></el-input>\r\n </el-form-item>\r\n <el-form-item label=\"手机号\" prop=\"phone\">\r\n <el-input\r\n clearable\r\n v-model=\"form.phone\"\r\n placeholder=\"请输入手机号\"\r\n ></el-input>\r\n </el-form-item>\r\n <el-form-item label=\"医生类型\" prop=\"role\">\r\n <el-select\r\n v-model=\"form.role\"\r\n placeholder=\"请选择医生类型\"\r\n filterable\r\n >\r\n <el-option\r\n v-for=\"item in $const.doctorRoleList\"\r\n :key=\"item.value\"\r\n :label=\"item.label\"\r\n :value=\"item.value\"\r\n ></el-option>\r\n </el-select>\r\n </el-form-item>\r\n <el-form-item label=\"医院\" prop=\"hospital_name\">\r\n <el-input\r\n clearable\r\n v-model=\"form.hospital_name\"\r\n placeholder=\"请输入医院\"\r\n ></el-input>\r\n </el-form-item>\r\n <!-- <el-form-item label=\"图片\" prop>\r\n <el-upload\r\n class=\"avatar-uploader\"\r\n action=\"/api/admin/uploadfile\"\r\n :data=\"{watermark:0}\"\r\n :show-file-list=\"false\"\r\n :on-success=\"handleAvatarSuccess\"\r\n :before-upload=\"beforeAvatarUpload\"\r\n >\r\n <img v-if=\"form.img\" :src=\"form.img\" class=\"avatar\" />\r\n <i v-else class=\"el-icon-plus avatar-uploader-icon\"></i>\r\n </el-upload>\r\n </el-form-item> -->\r\n </el-form>\r\n <div slot=\"footer\" class=\"dialog-footer\">\r\n <el-button type=\"primary\" @click=\"submitForm\">确 定</el-button>\r\n <el-button @click=\"open = false\">取 消</el-button>\r\n </div>\r\n </el-dialog>\r\n </section>\r\n</template>\r\n<script>\r\nimport Page from \"../../components/Page\";\r\nexport default {\r\n components: {\r\n Page\r\n },\r\n data() {\r\n return {\r\n loading: false,\r\n queryParams: {\r\n page: 1\r\n },\r\n form: {},\r\n form1: {},\r\n form2: {},\r\n list: [{}, {}],\r\n total: 0,\r\n title: \"新增用户\",\r\n open: false,\r\n doctorList: [],\r\n rules: {}\r\n };\r\n },\r\n methods: {\r\n del(id) {\r\n this.$confirm(\"确认删除?\", \"提示\", {\r\n type: \"warning\"\r\n }).then(() => {\r\n this.$api\r\n .delPatientCaseInfo({\r\n id: id\r\n })\r\n .then(res => {\r\n if(!res.data.code){\r\n this.$msgSuccess(\"删除成功\")\r\n this.getData();\r\n }else{\r\n this.$msgError(res.data.message)\r\n }\r\n });\r\n });\r\n },\r\n gopage(size) {\r\n if (size) {\r\n this.queryParams.page_size = size;\r\n }\r\n this.queryParams.page = this.$refs.pageButton.page;\r\n this.getData();\r\n },\r\n getData() {\r\n this.loading = true;\r\n this.$api.getPatientCaseList(this.queryParams).then(res => {\r\n this.list = res.data.data.list;\r\n this.total = res.data.data.total;\r\n this.loading = false;\r\n });\r\n },\r\n handleAdd() {\r\n this.open = true;\r\n this.title = \"新增医生\";\r\n this.form = {};\r\n },\r\n edit(id) {\r\n this.title = \"编辑医生\";\r\n this.$api\r\n .getPatientCaseInfo({\r\n id: id\r\n })\r\n .then(res => {\r\n this.form = res.data.data;\r\n this.open = true;\r\n });\r\n },\r\n handleAvatarSuccess(res, file) {\r\n this.form.img = res.data.url;\r\n },\r\n beforeAvatarUpload(file) {\r\n return;\r\n const isJPG = file.type === \"image/jpeg\";\r\n const isLt2M = file.size / 1024 / 1024 < 2;\r\n\r\n if (!isJPG) {\r\n this.$message.error(\"上传头像图片只能是 JPG 格式!\");\r\n }\r\n if (!isLt2M) {\r\n this.$message.error(\"上传头像图片大小不能超过 2MB!\");\r\n }\r\n return isJPG && isLt2M;\r\n },\r\n /** 提交按钮 */\r\n submitForm() {\r\n this.$refs[\"form\"].validate(valid => {\r\n if (valid) {\r\n if (this.form.id != null) {\r\n this.$api.editPatientCaseInfo(this.form).then(res => {\r\n if (res.data.code == 0) {\r\n this.msgSuccess(\"成功!\");\r\n this.open = false;\r\n this.getData();\r\n } else {\r\n this.msgError(res.data.message);\r\n }\r\n });\r\n } else {\r\n this.$api.addPatientCaseInfo(this.form).then(res => {\r\n if (res.data.code == 0) {\r\n this.msgSuccess(\"成功!\");\r\n this.open = false;\r\n this.getData();\r\n } else {\r\n this.msgError(res.data.message);\r\n }\r\n });\r\n }\r\n }\r\n });\r\n },\r\n remoteMethod(query) {\r\n if (query !== \"\") {\r\n // this.loading = true;\r\n this.$api\r\n .getDoctorsSearchList({\r\n name: query\r\n })\r\n .then(res => {\r\n this.doctorList = res.data.data;\r\n this.$set(this.doctorList, res.data.data);\r\n // this.loading = false;\r\n });\r\n } else {\r\n this.doctorList = [];\r\n }\r\n }\r\n },\r\n created() {\r\n this.getData();\r\n }\r\n};\r\n</script>","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Index.vue?vue&type=template&id=c0a8aa74&\"\nimport script from \"./Index.vue?vue&type=script&lang=js&\"\nexport * from \"./Index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Index.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}
|