|  |  |  | 
|---|
|  |  |  | //   获取患者信息 | 
|---|
|  |  |  | export function getTaskpatient(data) { | 
|---|
|  |  |  | return request({ | 
|---|
|  |  |  | url: "/smartor/hetask/getPatientInfo", | 
|---|
|  |  |  | url: "/smartor/patarchive/getPatientInfo", | 
|---|
|  |  |  | method: "post", | 
|---|
|  |  |  | data: data, | 
|---|
|  |  |  | }); | 
|---|
|  |  |  | 
|---|
|  |  |  | ><el-form-item label="选项名称"> | 
|---|
|  |  |  | <el-input | 
|---|
|  |  |  | type="text" | 
|---|
|  |  |  | placeholder="请输入" | 
|---|
|  |  |  | placeholder="请输入(必填项)" | 
|---|
|  |  |  | v-model="item.targetvalue" | 
|---|
|  |  |  | show-word-limit | 
|---|
|  |  |  | > | 
|---|
|  |  |  | 
|---|
|  |  |  | illnesslistapi: [], | 
|---|
|  |  |  | illnesslist: [], | 
|---|
|  |  |  | defaultProps: { | 
|---|
|  |  |  | children: "svyLibTitleCategoryList", | 
|---|
|  |  |  | children: "svyLibTemplateCategoryList", | 
|---|
|  |  |  | label: "name", | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | deptList: [], | 
|---|
|  |  |  | 
|---|
|  |  |  | title="任务主体" | 
|---|
|  |  |  | description="在本部选择服务患者" | 
|---|
|  |  |  | ></el-step> | 
|---|
|  |  |  | <el-step icon="el-icon-user" title="模版确认"></el-step> | 
|---|
|  |  |  | </el-steps> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | 
|---|
|  |  |  | // this.form.preachform = this.checkList.join(","); | 
|---|
|  |  |  | this.formatFn(1); | 
|---|
|  |  |  | this.form.hospType = this.currenttype; | 
|---|
|  |  |  | if (!this.form.patTaskRelevances[0]) { | 
|---|
|  |  |  | this.$modal.msgError("请选择病人"); | 
|---|
|  |  |  | return; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | const filteredArray = this.variableList.filter( | 
|---|
|  |  |  | (item) => | 
|---|
|  |  |  | item.name !== "姓名" && item.name !== "电话" && item.name !== "地址" | 
|---|
|  |  |  | 
|---|
|  |  |  | submitForm(formName) { | 
|---|
|  |  |  | // this.form.preachform = this.checkList.join(","); | 
|---|
|  |  |  | this.formatFn(1); | 
|---|
|  |  |  | if (!this.form.patTaskRelevances[0]) { | 
|---|
|  |  |  | this.$modal.msgError("请选择病人"); | 
|---|
|  |  |  | return; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | this.form.hospType = this.currenttype; | 
|---|
|  |  |  | const filteredArray = this.variableList.filter( | 
|---|
|  |  |  | (item) => | 
|---|
|  |  |  | 
|---|
|  |  |  | submitForm(formName) { | 
|---|
|  |  |  | // this.form.preachform = this.checkList.join(","); | 
|---|
|  |  |  | this.formatFn(1); | 
|---|
|  |  |  | if (!this.form.patTaskRelevances[0]) { | 
|---|
|  |  |  | this.$modal.msgError("请选择病人"); | 
|---|
|  |  |  | return; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | const filteredArray = this.variableList.filter( | 
|---|
|  |  |  | (item) => | 
|---|
|  |  |  | item.name !== "姓名" && item.name !== "电话" && item.name !== "地址" | 
|---|