| | |
| | | icon="el-icon-upload2" |
| | | size="medium" |
| | | @click="handleImport" |
| | | |
| | | >导入</el-button |
| | | > |
| | | </el-col> |
| | |
| | | <el-table-column prop="serial" label="患者id"> </el-table-column> |
| | | <el-table-column prop="name" label="姓名"> </el-table-column> |
| | | <el-table-column prop="sex" label="性别"> </el-table-column> |
| | | <el-table-column prop="idcardno" width="300" label="证件号码"> </el-table-column> |
| | | <el-table-column prop="idcardno" width="300" label="证件号码"> |
| | | </el-table-column> |
| | | <el-table-column prop="goday" label="出生日期"> </el-table-column> |
| | | <el-table-column prop="telcode" width="200" label="联系方式"> </el-table-column> |
| | | <el-table-column prop="telcode" width="200" label="联系方式"> |
| | | </el-table-column> |
| | | <el-table-column prop="createTime" width="200" label="创建日期"> |
| | | </el-table-column> |
| | | </el-table> |
| | |
| | | this.$modal.msgError("未选择模板"); |
| | | return; |
| | | } |
| | | if (this.form.deptcode || this.form.leavehospitaldistrictcode) { |
| | | } else { |
| | | this.$modal.msgError("请选择科室或病区"); |
| | | return; |
| | | } |
| | | const filteredArray = this.variableList.filter( |
| | | (item) => |
| | | item.name !== "姓名" && item.name !== "电话" && item.name !== "地址" |
| | |
| | | item.sfzh = item.idcardno; |
| | | } |
| | | if (type) { |
| | | item.hospType=type |
| | | item.hospType = type; |
| | | }else{ |
| | | item.hospType = this.patientqueryParams.allhosp; |
| | | } |
| | |
| | | previewFn() { |
| | | this.Tasktemplate.id = null; |
| | | |
| | | this.Tasktemplate.templateid = this.libId; |
| | | this.Tasktemplate.isoperation = 1; |
| | | TaskQuestioncomit(this.Tasktemplate).then((response) => { |
| | | console.log(response); |
| | | this.previewtf = false; |
| | | this.form.templateid = response.data; |
| | | this.form.libtemplateid = this.libId; |
| | | this.form.templateid = this.libId; |
| | | this.form.templatename = this.libName; |
| | | this.$modal.msgSuccess("选择模板成功"); |
| | | }); |
| | | this.previewtf = false; |
| | | |
| | | // this.Tasktemplate.isoperation = 1; |
| | | // TaskQuestioncomit(this.Tasktemplate).then((response) => { |
| | | // console.log(response); |
| | | // this.previewtf = false; |
| | | // this.form.templateid = response.data; |
| | | // this.form.libtemplateid = this.libId; |
| | | // this.form.templatename = this.libName; |
| | | // }); |
| | | }, |
| | | // 处理服务形式 |
| | | formatFn(type) { |
| | |
| | | } else if (this.dractive == 2) { |
| | | this.handleSelectionChange(this.uploadingData,4); |
| | | this.upload.open = false; |
| | | this.dractive = 1 |
| | | this.dractive = 1; |
| | | } |
| | | }, |
| | | |