| | |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-form-item label="随访方式" prop="resource"> |
| | | <el-form-item label="随访类型" prop="resource"> |
| | | <el-radio-group v-model="form.resource"> |
| | | <el-radio label="1">本病区随访</el-radio> |
| | | <el-radio label="2">随访中心随访</el-radio> |
| | | </el-radio-group> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="随访记录"> |
| | | <el-form-item label="随访记录" :required="form.resource == '2'"> |
| | | <el-input type="textarea" v-model="form.remark"></el-input> |
| | | </el-form-item> |
| | | </el-form> |
| | |
| | | }).then((res) => { |
| | | if (res.code === 200) { |
| | | // 针对再次随访服务进行删除结果赋值 |
| | | if (this.again && res.data.upScriptResult) { |
| | | res.data.upScriptResult.forEach((itemA) => { |
| | | const itemB = res.data.scriptResult.find( |
| | | (item) => item.scriptContent === itemA.scriptContent |
| | | ); |
| | | if (itemB) { |
| | | itemB.scriptResult = itemA.scriptResult; |
| | | } |
| | | }); |
| | | } |
| | | // if (this.again && res.data.upScriptResult) { |
| | | // res.data.upScriptResult.forEach((itemA) => { |
| | | // const itemB = res.data.scriptResult.find( |
| | | // (item) => item.scriptContent === itemA.scriptContent |
| | | // ); |
| | | // if (itemB) { |
| | | // itemB.scriptResult = itemA.scriptResult; |
| | | // } |
| | | // }); |
| | | // } |
| | | this.tableDatatop = res.data.scriptResult; |
| | | |
| | | this.tableDatatop.forEach((item) => { |
| | |
| | | } |
| | | }); |
| | | this.Editsingletasksonyic(6); |
| | | if (this.form.isVisitAgain != 1) { |
| | | const orgName = localStorage.getItem("orgname"); |
| | | console.log(orgName, "orgName"); |
| | | |
| | | if (this.form.isVisitAgain != 1 || orgName == "丽水市中医院") { |
| | | this.Torouter(); |
| | | return; |
| | | } |
| | |
| | | param2: this.patid, |
| | | subId: this.id, |
| | | }; |
| | | if (this.form.isVisitAgain != 1) { |
| | | const orgName = localStorage.getItem("orgname"); |
| | | console.log(orgName, "orgName"); |
| | | |
| | | if (this.form.isVisitAgain != 1 || orgName == "丽水市中医院") { |
| | | this.Torouter(); |
| | | return; |
| | | } |
| | |
| | | this.$message.error("随访时间不能小于当前时间"); |
| | | return false; |
| | | } |
| | | if (this.form.resource == "2" && !this.form.remark) { |
| | | this.$message.error("当前选择为随访中心随访需输入随访记录"); |
| | | return false; |
| | | } |
| | | this.form.remark = |
| | | this.form.remark + "【" + this.getCurrentTime() + "】"; |
| | | let form = structuredClone(this.form); |