Browse Source

访视表单修改

zhangyanfang 5 years ago
parent
commit
8d799a54cf
2 changed files with 5 additions and 5 deletions
  1. 4 4
      app/followup/index.html
  2. 1 1
      app/followup/v1/html/fangshi-detail-10.html

+ 4 - 4
app/followup/index.html

@ -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 

+ 1 - 1
app/followup/v1/html/fangshi-detail-10.html

@ -849,7 +849,7 @@
                    yongyao4: [],  //用药
                    followupId: Request['id'],
                    parient: {
                        "version": Request['version']||1,
                        "version": Request['version']||'1',
                        "followup_id":  Request['id']||'1', //随访id
                        "followup_project": '',//随访项目 
                        "number": '', //随访编号