|
@ -1172,7 +1172,7 @@
|
|
|
// 完成随访状态修改
|
|
|
finish: function () {
|
|
|
var vm = this
|
|
|
fangshiAPI.updateFollowStatus({ followupId: this.followupid }).then(function (res) {
|
|
|
fangshiAPI.updateFollowStatus({ followupId: this.followupId }).then(function (res) {
|
|
|
if (res.status == 200) {
|
|
|
vm.getStatus()
|
|
|
top.toastr.info("完成随访成功")
|
|
@ -1209,7 +1209,7 @@
|
|
|
// }
|
|
|
fangshiAPI.savePhthisis({ jsonData: JSON.stringify(vm.parient) }).then(function (res) {
|
|
|
if (res.status == 200) {
|
|
|
vm.finishedStatus ? vm.getStatus() : vm.finish()
|
|
|
vm.finishedStatus ? '' : vm.finish()
|
|
|
vm.finishedStatus ? top.toastr.info('保存成功') : ''
|
|
|
} else {
|
|
|
top.toastr.error(res.msg);
|
|
@ -1245,8 +1245,6 @@
|
|
|
fangshiAPI.getFollowupInfo({ followupId: Request['id']||'1'}).then(function (res) {
|
|
|
if (res.status == 200) {
|
|
|
res.data.status != 1 ? vm.finishedStatus = false : vm.finishedStatus = true
|
|
|
vm.parient.patient.name=res.data.patient.name
|
|
|
vm.parient.management.signature_doctor_name=res.data.doctorName
|
|
|
vm.setEditBtn()
|
|
|
} else {
|
|
|
top.toastr.error(res.msg);
|