| | |
| | | <!-- 选择患者列表 --> |
| | | <SFtable |
| | | ref="multipleTable" |
| | | |
| | | @handleSelectionChange="handleSelectionChange" |
| | | :currentList="patientuserList" |
| | | :tableLabel="tableLabelhz" |
| | |
| | | } from "@/api/AiCentre/index"; |
| | | |
| | | import SFtable from "@/components/SFtable"; //表格组件 |
| | | import { MessageBox, } from "element-ui"; |
| | | import { MessageBox } from "element-ui"; |
| | | |
| | | export default { |
| | | name: "ServiceDetails", |
| | |
| | | // { required: true, message: "适用病区不能为空", trigger: "blur" }, |
| | | // ], |
| | | }, |
| | | belongDepts:[], |
| | | belongDepts: [], |
| | | // 科室院区查询入参 |
| | | queryParamsdept: {}, |
| | | quote: false, |
| | |
| | | this.$modal.msgError("请选择服务类型"); |
| | | return; |
| | | } |
| | | if (this.deptcodesWards[0]||this.leavehospitaldistrictcodes[0]) { |
| | | if (this.deptcodesWards[0] || this.leavehospitaldistrictcodes[0]) { |
| | | } else { |
| | | this.$modal.msgError("请选择科室或病区"); |
| | | return; |
| | |
| | | item.deptName = item.dept; |
| | | item.admindate = item.inhosptime; |
| | | item.sfzh = item.idcardno; |
| | | if (this.patientqueryParams.allhosp==6) { |
| | | item.patfrom = 1; |
| | | if (this.patientqueryParams.allhosp == 6) { |
| | | item.patfrom = 1; |
| | | } |
| | | this.overallCase.push(item); |
| | | this.form.patTaskRelevances.push(item); |
| | |
| | | "功能提示", |
| | | { |
| | | confirmButtonText: "保存任务", |
| | | cancelButtonText: "取消", |
| | | cancelButtonText: "暂存模板", |
| | | type: "warning", |
| | | } |
| | | ) |
| | |
| | | this.objyl.templateid = this.objyl.svyid; |
| | | this.form.libtemplateid = this.objyl.svyid; |
| | | this.objyl.isoperation = 1; |
| | | this.objyl.svyTaskTemplateScriptVOS = this.objyl.svyTemplateLibScripts; |
| | | this.form.svyTaskTemplateVO=this.objyl; |
| | | this.objyl.svyTaskTemplateScriptVOS = |
| | | this.objyl.svyTemplateLibScripts; |
| | | this.form.svyTaskTemplateVO = this.objyl; |
| | | this.submitForm(); |
| | | }) |
| | | .catch(() => {}); |
| | | .catch(() => { |
| | | if (Array.isArray(this.objyl.suitway)) { |
| | | this.objyl.suitway = this.objyl.suitway.join(","); |
| | | } |
| | | this.objyl.templateid = this.objyl.svyid; |
| | | this.form.libtemplateid = this.objyl.svyid; |
| | | this.objyl.isoperation = 1; |
| | | this.objyl.svyTaskTemplateScriptVOS = |
| | | this.objyl.svyTemplateLibScripts; |
| | | this.form.svyTaskTemplateVO = this.objyl; |
| | | this.form.templatename=this.objyl.svyname; |
| | | this.$modal.msgSuccess("暂存成功保存任务后模板失效"); |
| | | this.drawermb=false; |
| | | this.previewtf=false; |
| | | }); |
| | | } else { |
| | | setTimeout(() => { |
| | | this.previewFn(); |