|
@ -8,7 +8,8 @@ $(function(){
|
|
|
prescriptionCode = request.code,
|
|
|
from = request.from, // 判断是否是tab页加载进来
|
|
|
fromTabIdx = request.fromTabIdx,
|
|
|
jwCode;
|
|
|
jwCode,
|
|
|
fv_id;
|
|
|
|
|
|
var $main = $('#main');
|
|
|
|
|
@ -116,6 +117,9 @@ $(function(){
|
|
|
jwHospital = prescription.jwHospital;
|
|
|
jwDoctorCode = prescription.jwDoctorCode;
|
|
|
jwCode = prescription.jwCode;
|
|
|
if(res.data.followup){
|
|
|
fv_id = res.data.followup.id;
|
|
|
}
|
|
|
var diagnosisNames = _.pluck(diagnosis,'name').join('、')
|
|
|
prescriptionDetailApis.getPrescription({
|
|
|
data: {
|
|
@ -224,10 +228,17 @@ $(function(){
|
|
|
}
|
|
|
}).then(function(res) {
|
|
|
if(res.status == 200 && res.data){
|
|
|
showSuccessMsg('提交成功')
|
|
|
setTimeout(function() {
|
|
|
location.reload(true)
|
|
|
}, 2000)
|
|
|
// showSuccessMsg('提交成功')
|
|
|
// setTimeout(function() {
|
|
|
// location.reload(true)
|
|
|
// }, 2000)
|
|
|
dialog({
|
|
|
content: "提交审核成功,记得去APP完成该居民的随访哦",
|
|
|
okValue: "我知道了",
|
|
|
ok: function(){
|
|
|
location.reload(true)
|
|
|
}
|
|
|
}).showModal();
|
|
|
} else {
|
|
|
showErrorMsg(res.msg)
|
|
|
$('#reviewBtn').removeAttr('disabled')
|