hwy 4 mēneši atpakaļ
vecāks
revīzija
a2c7bad54e

+ 3 - 3
component/statistics/CopdPatientRecord/index.html

@ -188,11 +188,11 @@
            <el-table-column prop="firstChargeType" label="医保类型" width="180"></el-table-column>
            <el-table-column prop="turnDownStatusName" label="下转状态" width="180"></el-table-column>
            <el-table-column prop="receiveStatusName" label="接收状态" width="180"></el-table-column>
            <el-table-column prop="receivingHospital" label="接收医院" width="180"></el-table-column>
            <el-table-column prop="receivingDoctor" label="接收医生" width="180"></el-table-column>
            <el-table-column prop="hospitalName" label="接收医院" width="180"></el-table-column>
            <el-table-column prop="doctorName" label="接收医生" width="180"></el-table-column>
            <el-table-column prop="archivesStatusName" label="随访状态" width="180"></el-table-column>
            <el-table-column prop="isLiveName" label="生存状态" width="180"></el-table-column>
            <el-table-column prop="deathDate" label="死亡日期" width="180"></el-table-column>
            <el-table-column prop="deathTime" label="死亡日期" width="180"></el-table-column>
            <el-table-column label="操作" min-width="220" fixed="right">
              <template slot-scope="{row}">
                <el-button type="text" @click="onClickEdit(row)">编辑</el-button>

+ 7 - 0
component/statistics/CopdPatientRecord/index.js

@ -105,6 +105,12 @@ Vue.component('copd-patient-record', {
      vm.editViewVisable = false
      vm.serviceRecordVisable = false
      vm.healthRecordVisable = false
      vm.transferStatusOptions=[{code:'',value:'全部'}],
      vm.recordStatusOptions=[{code:'',value:'全部'}],
      vm.followStatusArr=[{code:'',value:'全部'}],
      vm.receivingHospitalList=[{code:'',name:'全部'}],
      vm.receiveStatusOptions=[{value:'',label:'全部'},{value:'1',label:' 已接收'},{value:'0',label:' 未接收'}],
      vm.survivalStatusOption=[{code:'',value:'全部'}],
      vm.getJkCopdPatientPage()
      vm.dicName.forEach(function(item) {
        vm.getDictByDictName(item)
@ -184,6 +190,7 @@ Vue.component('copd-patient-record', {
      var params = {
        startTime: this.chooseYear=='全部'?'': this.chooseYear+'-01-01',
        endTime:this.chooseYear=='全部'?'': this.chooseYear+'-12-31',
        name:this.name,
        turnDownStatus:this.turnDownStatus,
        receiveStatus:this.receiveStatus,
        archivesStatus:this.archivesStatus,

+ 4 - 4
component/statistics/CopdPatientRecordEdit/index.html

@ -115,7 +115,7 @@
              <el-date-picker
              class="copd-edit-datepicker"
              v-model="formData.deathTime"
              type="datetime"
              value-format="yyyy-MM-dd"
              placeholder="选择日期时间"
            ></el-date-picker>
            </el-form-item>
@ -204,7 +204,7 @@
              <el-input class="copd-form-input" disabled readonly :value="formData.doctorName" ></el-input>
            </el-form-item>
            <el-form-item label="随访状态:" class="copd-form-item">
              <el-select placeholder="请选择" v-model="formData.status" style="width: 100%;">
              <el-select placeholder="请选择" v-model="formData.archivesStatus" style="width: 100%;">
                <el-option
                  v-for="item in followupArr"
                  :key="item.value"
@ -330,7 +330,7 @@
            <el-form-item label="首次诊断时间:"  class="copd-form-item">
              <el-date-picker
                v-model="formData.firstVisitTime"
                type="datetime"
                value-format="yyyy-MM-dd"
                placeholder="选择日期时间"
              ></el-date-picker>
            </el-form-item>
@ -408,7 +408,7 @@
            <el-form-item label="检验报告时间:"  class="copd-form-item">
              <el-date-picker
                v-model="formData.checkReportTime"
                type="datetime"
                value-format="yyyy-MM-dd"
                placeholder="选择日期时间"
              ></el-date-picker>
            </el-form-item>

+ 1 - 2
component/statistics/CopdPatientRecordEdit/index.js

@ -71,6 +71,7 @@ Vue.component('copd-patient-record-edit', {
  mounted() {
    var vm=this
    this.formData=  JSON.parse(window.localStorage.getItem('editDetail'))
    console.log(this.formData,'00000000000000000000000000000')
    if(this.formData.liveStreet){
    this.addressVal=[this.formData.liveProvince,this.formData.liveCity,this.formData.liveTown,this.formData.liveStreet]
    this.getDistrict(0)
@ -151,7 +152,6 @@ Vue.component('copd-patient-record-edit', {
      var vm=this
       statisticAPI.getNationDict().then(function(res){
           vm.nationDict= res.data
           console.log('2222222222222222',vm.nationDict)
       })
    },
    getDistrict(id){
@ -271,7 +271,6 @@ Vue.component('copd-patient-record-edit', {
      homeAPI.getDistrict({ type:4,code:val[2] }).then( function(res){
        if (res.status == 200) {
          var detailModelList = res.list
          console.log(vm.addressOptions, 'vm.addressOptions')
          if (vm.addressOptions[provinceIndex].children[activeIndex].children[xIndex]) {
            vm.addressOptions[provinceIndex].children[activeIndex].children[xIndex].children = detailModelList
          }

+ 70 - 45
component/statistics/CopdServiceRecord/index.html

@ -59,9 +59,9 @@
              <div class="data-item">
                <div class="data-title">
                  {{event.type==1?'下转患者':event.type==2?'医生接收':event.type==3?'居民流转':
                  event.type==4?'医生退回':event.type==5?'医生随访':'档案修改'}}
                  event.type==4?'医生退回':event.type==5?'医生随访':event.type==6?'档案修改':'档案同步'}}
                </div>
                <div class="data-cont" v-if="event.type!=5&&event.type!=6">
                <div class="data-cont" v-if="event.type!=5&&event.type!=6&&event.type!=7">
                  <div style="width: 50%">
                    <span style="color: #9fa2a8">下转状态:</span>
                    <span style="color: #656565">
@ -74,18 +74,21 @@
                      <template>{{event.receiveStatus==0?'未接收':'已接收'}}</template>
                    </span>
                  </div>
                  <div style="width: 50%">
                    <span style="color: #9fa2a8">接收医生:</span>
                    <span style="color: #656565">
                      <template>{{event.doctorName}}</template>
                    </span>
                  </div>
                  <div style="width: 50%">
                    <span style="color: #9fa2a8">接收医院:</span>
                    <span style="color: #656565">
                      <template>{{event.hospitalName}}</template>
                    </span>
                  </div>
                  <template v-if="event.receiveStatus!=0">
                    
                    <div style="width: 50%">
                      <span style="color: #9fa2a8">接收医生:</span>
                      <span style="color: #656565">
                        <template>{{event.doctorName}}</template>
                      </span>
                    </div>
                    <div style="width: 50%">
                      <span style="color: #9fa2a8">接收医院:</span>
                      <span style="color: #656565">
                        <template>{{event.hospitalName}}</template>
                      </span>
                    </div>
                  </template>
                  <div style="width: 50%">
                    <span style="color: #9fa2a8">是否流转:</span>
                    <span style="color: #656565">
@ -155,18 +158,21 @@
                      <template>{{event.receiveStatus==0?'未接收':'已接收'}}</template>
                    </span>
                  </div>
                  <div style="width: 50%">
                    <span style="color: #9fa2a8">接收医院:</span>
                    <span style="color: #656565">
                      <template>{{event.hospitalName}}</template>
                    </span>
                  </div>
                  <div style="width: 50%">
                    <span style="color: #9fa2a8">接收医生:</span>
                    <span style="color: #656565">
                      <template>{{event.doctorName}}</template>
                    </span>
                  </div>
                  <template v-if="event.receiveStatus==1">
                    <div style="width: 50%">
                      <span style="color: #9fa2a8">接收医院:</span>
                      <span style="color: #656565">
                        <template>{{event.hospitalName}}</template>
                      </span>
                    </div>
                    <div style="width: 50%">
                      <span style="color: #9fa2a8">接收医生:</span>
                      <span style="color: #656565">
                        <template>{{event.doctorName}}</template>
                      </span>
                    </div>
                  </template>
                  <div style="width: 50%">
                    <span style="color: #9fa2a8">是否流转:</span>
                    <span style="color: #656565">
@ -226,6 +232,26 @@
                  </div>
                  
                </div>
                <div class="data-cont" v-else-if="event.type==7">
                  <div style="width: 50%">
                    <span style="color: #9fa2a8">常住地址:</span>
                    <span style="color: #656565">
                      <template>{{event.backReason}}</template>
                    </span>
                  </div>
                  <div style="width: 50%">
                    <span style="color: #9fa2a8">操作医生:</span>
                    <span style="color: #656565">
                      <template>{{event.operaterName}}</template>
                    </span>
                  </div>
                  <div style="width: 50%">
                    <span style="color: #9fa2a8">操作机构:</span>
                    <span style="color: #656565">
                      <template>{{event.orgName}}</template>
                    </span>
                  </div>
                  </div>
                <div class="data-title" style="color: #12B7F5; font-size: 14px" v-if="event.type==5" @click="showDetail(event)"> 查看随访详情</div>
                <div class="data-cont" v-else>
                  <div style="width: 50%" v-for="item in event.achievesRecordList" :key="item.id">
@ -235,6 +261,7 @@
                    </span>
                  </div>
                </div>
                
              </div>
            </div>
          </div>
@ -245,7 +272,7 @@
  <div class="cops-service-record-bottom-box">
    <el-button @click="recordBack">返回</el-button>
  </div>
  <el-dialog title="随访详情" :visible.sync="dialog" width="50%">
  <el-dialog title="随访详情" :visible.sync="dialog" width="50%" :destroy-on-close="true">
    <div class="copd-follow-up-dialog-box">
      <div class="copd-bb-record-info">
        <div class="title ki-title ta-title">
@ -278,6 +305,10 @@
            <div class="copd-bb-base-info-item"  v-if="followInfo.sex">
              性别:{{followInfo.sex==1?'男':'女'}}
            </div>
            <div class="copd-bb-base-info-item"  v-if="nationName">
              民族:{{nationName}}
            </div>
            <div class="copd-bb-base-info-item"  v-if="followInfo.birthday">
              出生日期:{{followInfo.birthday}}
            </div>
@ -305,14 +336,11 @@
            <div class="copd-bb-base-info-item" v-if="followInfo.liveAddress">
              常住地址:{{followInfo.liveAddress}}
            </div>
            <div class="copd-bb-base-info-item" v-if="followInfo.registProvinceName">
              <div class="copd-bb-base-info-item" >
              户籍区区:{{followInfo.registProvinceName}}{{followInfo.registCityName}}{{followInfo.registTownName}}{{followInfo.registStreetName}}
              <div class="copd-bb-base-info-item" v-if="followInfo.registProvinceName" >
              户籍地区:{{followInfo.registProvinceName}}{{followInfo.registCityName}}{{followInfo.registTownName}}{{followInfo.registStreetName}}
            </div>
            <div class="copd-bb-base-info-item" v-if="followInfo.registAddress">
              <div class="copd-bb-base-info-item" >
              户籍地址:{{followInfo.registAddress}}
            </div>
          </div>
        </div>
        <div class="copd-bb-record-info">
@ -350,21 +378,22 @@
            <div class="copd-bb-base-info-item" v-if="followInfo.firstVisitTime">
              慢阻肺首次诊断时间:{{followInfo.firstVisitTime}}
            </div>
            <div class="copd-bb-base-info-item" v-if="followInfo.firstVisitArea">
              慢阻肺首次诊断地区:{{followInfo.firstVisitArea}}
            <div class="copd-bb-base-info-item" v-if="firstAreaName">
              慢阻肺首次诊断地区:{{firstAreaName}}
            </div>
            <div class="copd-bb-base-info-item" v-if="followInfo.firstVisitOrgLevel">
              慢阻肺首次诊断机构级别:{{
            <div class="copd-bb-base-info-item" v-if="orGlevelName">
              <!-- 慢阻肺首次诊断机构级别:{{
                followInfo.firstVisitOrgLevel == 1 ? '三级医院' :
                followInfo.firstVisitOrgLevel == 2 ? '二级医院' :
                followInfo.firstVisitOrgLevel == 3 ? '村卫生室' :
                followInfo.firstVisitOrgLevel == 4 ? '乡镇卫生院/社区卫生服务机构' :
                followInfo.firstVisitOrgLevel == 5 ? '其他医疗卫生机构' :
                ''
              }}
              }} -->
              慢阻肺首次诊断机构级别:{{orGlevelName}}
            </div>
            <div class="copd-bb-base-info-item" v-if="followInfo.diagnosticBasis">
              最高诊断依据:{{followInfo.diagnosticBasis}}
            <div class="copd-bb-base-info-item" v-if="diagnosticBasisName">
              最高诊断依据:{{diagnosticBasisName}}
            </div>
            <div class="copd-bb-base-info-item" v-if="symptom">
              症状:{{symptom}}
@ -377,16 +406,12 @@
            </div>
          </div>
        </div>
        <div class="copd-bb-record-info">
        <div class="copd-bb-record-info" v-if="followInfo.isLive!=1">
          <div class="title ki-title ta-title">
            死亡情况
          </div>
          <div class="copd-bb-base-content">
            <div class="copd-bb-base-info-item">
              死亡情况:{{followInfo.isLive==1?'生存':'死亡'}}
            </div>
          <div class="copd-bb-base-content" >
            <template v-if="followInfo.isLive!=1">
  
              <div class="copd-bb-base-info-item" v-if="followInfo.deathTime">
                死亡时间:{{followInfo.deathTime}}
              </div>

+ 61 - 9
component/statistics/CopdServiceRecord/index.js

@ -34,16 +34,20 @@ Vue.component('copd-service-record', {
        {date: '2026年', description: 'Description for event 4'},
        {title: 'Event 5', date: '2027年', description: 'Description for event 5'}
      ],
      dicName:['jkcopd_followup_status','jkcopd_symptom','jkcopd_isLive','jkcopd_first_area','jkcopd_first_org_level', 'jkcopd_marriage','jkcopd_occupation','jkcopd_smoke','jkcopd_drink','jkcopd_archivesStatus','jkcopd_disease_conversion','jkcopd_firstVisitType','jkcopd_educational','idCardType'],
      dicName:['jkcopd_followup_status','jkcopd_symptom','jkcopd_isLive','jkcopd_first_area','jkcopd_first_org_level', 'jkcopd_marriage','jkcopd_occupation','jkcopd_smoke','jkcopd_drink','jkcopd_archivesStatus','jkcopd_disease_conversion','jkcopd_firstVisitType','jkcopd_educational','idCardType','jkcopd_diagnosticBasis'],
      marriageArr:[],
      diagnosticBasisName:'',
      marriageName:'',
      symptom:'',
      symptomsArr:[],
      followupArr:[],
      followup:'',
      idCardTypeArr:[],
      firstAreaArr:[],
      firstAreaName:'',
      isLiveArr:[],
      orgLevelArr:[],
      orGlevelName:'',
      occupationArr:[],
      occupation:'',
      smokeArr:[],
@ -53,10 +57,23 @@ Vue.component('copd-service-record', {
      conversionArr:[],
      firstVisitTypeArr:[],
      educationalArr:[],
      educational:''
      educational:'',
      nationDict:[],
      nationName:''
    }
  },
  methods: {
    getNation(){
      var vm=this
       statisticAPI.getNationDict().then(function(res){
           vm.nationDict= res.data
           vm.nationDict.forEach(function(item){
            if(item.NATION_CODE==vm.followInfo.nation){
              vm.nationName=item.NATION_NAME
            }
           })
       })
    },
    setLeftHeights() {
      this.$nextTick(() => {
        this.events.forEach((event, index) => {
@ -80,11 +97,18 @@ Vue.component('copd-service-record', {
            }
          })
        }else if(value=='jkcopd_smoke'){
          vm.smokeArr=res.list
          // var vm=this
          // vm.smokeArr=res.list
        }else if(value=='jkcopd_drink'){
          vm.drinkArr=res.list
          // var vm=this
          // vm.drinkArr=res.list
        }else if(value=='jkcopd_first_area'){
          vm.areaArr=res.list
          var arr = res.list
          arr.forEach(function(item){
            if(item.code==vm.followInfo.firstVisitArea){
              vm.firstAreaName=item.value
            }
          })
        }else if(value=='jkcopd_disease_conversion'){
          var arr = res.list
          arr.forEach(function(item){
@ -93,9 +117,15 @@ Vue.component('copd-service-record', {
            }
          })
        }else if(value=='jkcopd_firstVisitType'){
          vm.firstVisitTypeArr=res.list
          // vm.firstVisitTypeArr=res.list
        }else if(value=='jkcopd_first_org_level'){
          vm.orGlevelArr=res.list
          var arr = res.list
          arr.forEach(function(item){
            if(item.code==vm.followInfo.firstVisitOrgLevel){
              vm.orGlevelName=item.value
            }
          })
          
        }else if(value=='jkcopd_followup_status'){
          vm.followupArr= res.list
          vm.followupArr.forEach(function(item){
@ -126,11 +156,31 @@ Vue.component('copd-service-record', {
          })
          
        }else if(value=='jkcopd_symptom'){
          var arr = res.list
          vm.symptomsArr=[]
          var symptoms=vm.followInfo.symptom.split(',')
    
          arr.forEach(function(item){
            // if(item.code==vm.followInfo.symptom){
            //   vm.symptom=item.value
            // }
            symptoms.forEach(function(v){
              if(v==item.code){
                vm.symptomsArr.push(item.value)
              }
            })
          })
          vm.symptom=vm.symptomsArr.join()
          console.log('-----------------',vm.symptomsArr,vm.symptom)
        }
        else if(value=='jkcopd_diagnosticBasis'){
          var arr = res.list
          arr.forEach(function(item){
            if(item.code==vm.followInfo.symptom){
              vm.symptom=item.value
            if(item.code==vm.followInfo.diagnosticBasis){
              vm.diagnosticBasisName=item.value
            }
          })
        }
       
@ -186,6 +236,8 @@ Vue.component('copd-service-record', {
        vm.dicName.forEach(function(item) {
          vm.getDictByDictName(item)
        });
    vm.getNation()
        // statisticAPI.getDictByDictName({name:'idCardType'}).then(function(res){
        //   res.list.forEach(function(item){
        //     if(item.code==vm.followInfo.idcardType){