hd 4 weeks ago
parent
commit
f5b22552a6

+ 4 - 1
api/jbsc-api.js

@ -50,12 +50,15 @@
    },
    //		获取筛查结果
    getScreenResultDetail: function (data) {
      return httpRequest.get('doctor/screen/getScreenResultDetail', { data: data })
      return httpRequest.get('statistics/collaborate/getYdScreenResultDetail', { data: data })
    },
    //		获取居民健康
    getHealth: function (data) {
      return httpRequest.get('doctor/health_index/last', { data: data })
    },
    getLastYd(data){
      return httpRequest.get('statistics/collaborate/lastYd', { data: data })
    },
    //		获取医生基础信息
    doctorBaseinfo: function (data) {
      return httpRequest.get('doctor/baseinfo', { data: data })

+ 33 - 11
app/jbsc/html/view_screening_results.html

@ -625,6 +625,7 @@
          docInfo: JSON.parse(window.localStorage.getItem('docInfo')),
          jiayiShow: false,
          showOpt: httpData['opt'],
          flag: httpData['flag'] || false,
          messageVisible: false,
          messInfo: '',
          questionList: [],
@ -877,17 +878,38 @@
            var data = {
              patient: vm.userInfo.patient_code
            }
            jbscAPI.getHealth(data).then(function (res) {
              if (res.status == 200) {
                vm.tizhongRecord =
                  _.find(res.data, function (o) {
                    return o.type == '3'
                  }) || {}
              } else {
                top.layer.msg(res.msg, { icon: 5 })
              }
              JSON.stringify(vm.tizhongRecord) !== '{}' && (vm.noTiZhong = false)
            })
            
            if (this.flag && this.flag == 'yd') {
              // 异地医院管理情况过来的
              jbscAPI.getLastYd(data).then(function (res) {
                
                if (res.status == 200) {
                  vm.tizhongRecord =
                    _.find(res.data, function (o) {
                      return o.type == '3'
                    }) || {}
                } else {
                  top.layer.msg(res.msg, { icon: 5 })
                }
                JSON.stringify(vm.tizhongRecord) !== '{}' && (vm.noTiZhong = false)
                setTimeout(function () {
                  vm.dealAction = '住院补筛'
                }, 1000)
              })
            } else {
              jbscAPI.getHealth(data).then(function (res) {
                if (res.status == 200) {
                  vm.tizhongRecord =
                    _.find(res.data, function (o) {
                      return o.type == '3'
                    }) || {}
                } else {
                  top.layer.msg(res.msg, { icon: 5 })
                }
                JSON.stringify(vm.tizhongRecord) !== '{}' && (vm.noTiZhong = false)
              })
            }
          },
          referral: function () {
            // top.layer.msg('PC上暂不支持,请打开手机端疑似高危记录进行转诊预约', { icon: 5 })

+ 2 - 1
component/statistics/OutsideHospitalManage/index.html

@ -104,7 +104,8 @@
      <el-table-column type="index" label="序号"></el-table-column>
      <el-table-column v-for="item in dialogHeader" :label="item.label" :prop="item.prop" :render-header="renderHeader">
        <template slot-scope="scope">
          <span v-if="scope.row.id" :class="`${item.prop =='name'?'pointer c-409eff':''}`" @click="seePatientDetail(scope.row, item.prop)">{{scope.row[item.prop]}}</span>
          <!-- 有id是康复管理人群列下的 有patient是复诊列下的  -->
          <span v-if="scope.row.id || scope.row.patient" :class="`${item.prop =='name'?'pointer c-409eff':''}`" @click="seePatientDetail(scope.row, item.prop)">{{scope.row[item.prop]}}</span>
          <span v-else>{{scope.row[item.prop]}}</span>
        </template>
      </el-table-column>

+ 1 - 1
component/statistics/PersonInfo/index.js

@ -70,7 +70,7 @@ Vue.component('person-info', {
        closeBtn: 1,
        shift: 5,
        shadeClose: false, //点击遮罩关闭层
        content: '../../../app/jbsc/html/view_screening_results.html?resultCode=' + code + '&btnHide=1'
        content: '../../../app/jbsc/html/view_screening_results.html?resultCode=' + code + '&btnHide=1' + `${this.flag&&this.flag == 'yd'?'&flag=yd':''}`
      })
    },
    previewMess(item) {