提交 e6f526a7 编写于 作者: yi.li's avatar yi.li

变更随访状态接口调整

上级 d7e07f4f
...@@ -67,20 +67,18 @@ ...@@ -67,20 +67,18 @@
if (valid) { if (valid) {
//后面更改为接口调用 //后面更改为接口调用
changeEnteringStatus({ changeEnteringStatus({
info: { fuPlanPatientTimesId: this.statusForm.fuPlanPatientTimesId,
fuPlanPatientTimesId: this.statusForm.fuPlanPatientTimesId, patientId: this.statusForm.patientId,
patientId: this.statusForm.patientId, status: this.statusForm.status,
status: this.statusForm.status, reason: this.statusForm.reason,
reason: this.statusForm.reason,
}
}).then(({data}) => { }).then(({data}) => {
if(data == 1) { if(data == 2) {
this.$message.success('随访状态变更成功!'); this.$message.success('随访状态变更成功!');
this.$emit('closeChangeStatus',false);
this.$refs['statusForm'].resetFields();
}else { }else {
return; this.$message.error('随访状态变更失败!');
} }
this.$emit('closeChangeStatus',false);
this.$refs['statusForm'].resetFields();
}) })
} else { } else {
return false; return false;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册