|
@ -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(); |
|
|