|
@ -30,7 +30,7 @@
|
|
|
if (Request.type == '5' || Request.type == '6') {
|
|
|
fangshiAPI.getPostpartumVisitDetails({ followupId: followupId || '3' }).then(function (res) {
|
|
|
if (res.status == 200) {
|
|
|
version = isAdd != 1 ? res.data.version : lastedVersion
|
|
|
version = isAdd != '1' ? res.data.version : lastedVersion
|
|
|
location.replace('../../app/followup/' + version + '/html/fangshi-detail-5,6.html?id=' + followupId + "&version=" + version)
|
|
|
} else {
|
|
|
top.toastr.error(res.msg);
|
|
@ -56,10 +56,10 @@
|
|
|
}
|
|
|
})
|
|
|
} if (Request.type == '9') {
|
|
|
fangshiAPI.getPhthisisFirstCheckRecord({ followupId: this.followupId }).then(function (res) {
|
|
|
fangshiAPI.getPhthisisFirstCheckRecord({ followupId:followupId }).then(function (res) {
|
|
|
if (res.status == 200) {
|
|
|
if (res.data == null) {//第一次肺结核
|
|
|
version = isAdd != 1 ? res.data.version : lastedVersion
|
|
|
if (isAdd=='1') {//第一次肺结核
|
|
|
version =lastedVersion
|
|
|
location.replace('../../app/followup/' + version + '/html/fangshi-detail-9.html?id=' + followupId + "&version=" + version)
|
|
|
} else {
|
|
|
version =res.data.version
|