| | |
| | | <el-button type="primary" @click="nextstep('ruleForm')">{{ |
| | | quote ? "立即创建" : "派发患者配置" |
| | | }}</el-button> |
| | | <el-button type="success" @click="submitForm('ruleForm')">{{ |
| | | quote ? "立即创建" : "确认服务配置" |
| | | }}</el-button> |
| | | <el-button @click="resetForm('ruleForm')">重置</el-button> |
| | | <el-button |
| | | :loading="submitLoading" |
| | | type="success" |
| | | @click="submitForm('ruleForm')" |
| | | >{{ quote ? "立即创建" : "确认服务配置" }}</el-button |
| | | > |
| | | <!-- <el-button @click="resetForm('ruleForm')">重置</el-button> --> |
| | | </div> |
| | | <!-- 任务详情 --> |
| | | <div v-if="Editprogress == 2"> |
| | |
| | | </div> |
| | | </div> |
| | | <el-button type="primary" @click="laststep()">上一步</el-button> |
| | | <el-button type="success" @click="submitForm('ruleForm')">{{ |
| | | quote ? "立即创建" : "确认服务配置" |
| | | }}</el-button> |
| | | <el-button @click="resetForm('ruleForm')">重置</el-button> |
| | | <el-button |
| | | :loading="submitLoading" |
| | | type="success" |
| | | @click="submitForm('ruleForm')" |
| | | >{{ quote ? "立即创建" : "确认服务配置" }}</el-button |
| | | > |
| | | <!-- <el-button @click="resetForm('ruleForm')">重置</el-button> --> |
| | | </div> |
| | | </div> |
| | | <!-- 添加患者 --> |
| | |
| | | previewid: "", //任务模板传递id |
| | | libName: "", |
| | | templateor: false, |
| | | submitLoading: false, // 控制按钮加载状态 |
| | | objyl: {}, |
| | | overallCase: [], //选择患者总 |
| | | allpids: [], |
| | |
| | | { label: "身份证", width: "200", prop: "idcardno" }, |
| | | { label: "性别", width: "", prop: "sex" }, |
| | | { label: "年龄", width: "", prop: "age" }, |
| | | { label: "电话", width: "180", prop: "telcode" }, |
| | | { label: "责任护士", width: "", prop: "nurseName" }, |
| | | { label: "主治医生", width: "", prop: "drname" }, |
| | | { label: "科室", width: "240", prop: "dept" }, |
| | |
| | | { label: "身份证", width: "200", prop: "sfzh" }, |
| | | { label: "性别", width: "", prop: "sex" }, |
| | | { label: "年龄", width: "", prop: "age" }, |
| | | { label: "电话", width: "180", prop: "telcode" }, |
| | | { label: "出院天数", width: "", prop: "endDay" }, |
| | | { label: "责任护士", width: "", prop: "nurseName" }, |
| | | { label: "主治医生", width: "", prop: "drname" }, |
| | |
| | | }, |
| | | // 保存 |
| | | submitForm(formName) { |
| | | console.log(this.submitLoading); |
| | | |
| | | if (this.submitLoading) { |
| | | return; |
| | | } |
| | | // 第二步:开启加载状态,禁用按钮 |
| | | this.submitLoading = true; |
| | | console.log(this.submitLoading); |
| | | |
| | | try { |
| | | if (this.time4 && this.form.sendType == 3) |
| | | this.form.showTimeMorn = this.time4; |
| | | this.form.sendTimeslot = [ |
| | |
| | | this.diagglist[0] || |
| | | this.operationcodes[0] || |
| | | this.form.longTask == 2 || |
| | | this.serviceType == 14 |
| | | this.serviceType == 3 |
| | | ) { |
| | | } else { |
| | | this.$modal.msgError("请选择任务关联条件"); |
| | |
| | | return; |
| | | } |
| | | |
| | | if ((this.form.sendType == 1 && this.time1) || this.form.sendType == 2) { |
| | | if ( |
| | | (this.form.sendType == 1 && this.time1) || |
| | | this.form.sendType == 2 |
| | | ) { |
| | | } else if ( |
| | | (this.form.sendType == 3 && this.time4) || |
| | | this.form.longTask |
| | |
| | | path: "/followvisit/tasklist", |
| | | query: { tasktopic: this.form.serviceType }, |
| | | }); |
| | | this.submitLoading = false; |
| | | } |
| | | }); |
| | | } catch (error) { |
| | | this.submitLoading = false; |
| | | } finally { |
| | | // 第四步:无论成功或失败,最终都关闭加载状态 |
| | | } |
| | | }, |
| | | |
| | | // ----------------------表格子组件事件 |
| | |
| | | { label: "身份证", width: "200", prop: "idcardno" }, |
| | | { label: "性别", width: "", prop: "sex" }, |
| | | { label: "年龄", width: "", prop: "age" }, |
| | | { label: "电话", width: "180", prop: "telcode" }, |
| | | { label: "出院天数", width: "", prop: "endDay" }, |
| | | { label: "责任护士", width: "", prop: "nurseName" }, |
| | | { label: "医生", width: "", prop: "drname" }, |
| | |
| | | { label: "身份证", width: "200", prop: "idcardno" }, |
| | | { label: "性别", width: "", prop: "sex" }, |
| | | { label: "年龄", width: "", prop: "age" }, |
| | | { label: "电话", width: "180", prop: "telcode" }, |
| | | { label: "出院天数", width: "", prop: "endDay" }, |
| | | { label: "责任护士", width: "", prop: "nurseName" }, |
| | | { label: "医生", width: "", prop: "drname" }, |
| | |
| | | { label: "电话号码", width: "180", prop: "telcode" }, |
| | | { label: "性别", width: "", prop: "sex" }, |
| | | { label: "年龄", width: "", prop: "age" }, |
| | | { label: "电话", width: "180", prop: "telcode" }, |
| | | { label: "出院天数", width: "", prop: "endDay" }, |
| | | { label: "责任护士", width: "", prop: "nurseName" }, |
| | | { label: "医生", width: "", prop: "drname" }, |
| | |
| | | { label: "身份证", width: "200", prop: "idcardno" }, |
| | | { label: "性别", width: "", prop: "sex" }, |
| | | { label: "年龄", width: "", prop: "age" }, |
| | | { label: "电话", width: "180", prop: "telcode" }, |
| | | { label: "出院天数", width: "", prop: "endDay" }, |
| | | ]; |
| | | this.patientqueryParams.pageSize = 1000; |