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

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

Loading…
Cancel
Save