Browse Source

失访标记为待随访

newMaster
1747191978@qq.com 4 months ago
parent
commit
efc9411044
  1. 8
      acupuncture-前台/src/api/followupFile.js
  2. 10
      acupuncture-前台/src/views/followFile/work.vue

8
acupuncture-前台/src/api/followupFile.js

@ -80,3 +80,11 @@ export function followPatient(data) {
data: data,
});
}
// 修改随访状态
export function followStatus(data) {
return request({
url: "/followup/status",
method: "post",
data: data,
});
}

10
acupuncture-前台/src/views/followFile/work.vue

@ -161,7 +161,7 @@
import {
queryTask,
updStatus,
followPatient
followPatient,followStatus
} from "@/api/followupFile";
export default {
name: "Notice",
@ -381,12 +381,14 @@
},
// 访
handleBeFollow(row) {
let form = JSON.parse(JSON.stringify(row));
form.status = 0;
let data = {
id: row.id,
status:0
}
this.$modal
.confirm(`是否确认将该患者(${row.name})标记为待随访?`)
.then(function() {
return updStatus(form);
return followStatus(data);
})
.then(() => {
this.getList();

Loading…
Cancel
Save