Browse Source

修复bug

hwy 2 months ago
parent
commit
2475996bb6

+ 2 - 2
component/statistics/GxbCy/index.html

@ -69,10 +69,10 @@
      </el-form-item>
      <template v-if="title=='康复随访记录明细'">
        <el-form-item label="下转医生:">
          <el-input v-model="query.doctor" placeholder="请输入下转医生查询"></el-input>
          <el-input v-model="query.turnDoctorName" placeholder="请输入下转医生查询"></el-input>
        </el-form-item>
        <el-form-item label="随访医生:">
          <el-input v-model="query.mobile" placeholder="请输入手机号码查询"></el-input>
          <el-input v-model="query.doctorName" placeholder="请输入随访医生查询"></el-input>
        </el-form-item>
      </template>
      <template v-else>

+ 5 - 5
component/statistics/GxbCy/index.js

@ -520,17 +520,17 @@ Vue.component('gxb-cy', {
      }
      this.query = {
        visitCount: params.visitCount,
        range: params.range,
        area: params.area,
        hospital: params.hospital,
        team: params.team
        range: typeof params.range == 'undefined' ? '' : params.range,
        area: typeof params.area == 'undefined' ? '' : params.area,
        hospital: typeof params.hospital == 'undefined' ? '' : params.hospital,
        team: typeof params.team == 'undefined' ? '' : params.team
      }
    },
    closeDialog() {
      this.visible = false
    },
    seePatientDetail(row, prop) {
      if(prop == 'patientName'){
      if (prop == 'patientName') {
        EventBus.$emit('preview-person-info', { type: '5', code: row.code })
      }
    },

+ 13 - 13
component/statistics/GxbEvaluation/index.js

@ -299,37 +299,37 @@ Vue.component('gxb-evaluation', {
      this.query = {}
      switch (prop) {
        case 'totalNum':
          this.query.screenResultCode = "" 
          this.query.screenResultCode = ''
          this.title = '个案数据列表'
          break
        case 'dailyNum':
          this.query.screenResultCode = ""
          this.query.screenResultCode = ''
          this.query.surveyStatus = 1
          this.title = '个案数据列表'
          break
        case 'inScreenNum':
          this.query.screenResultCode = ""
          this.query.screenResultCode = ''
          this.query.surveyStatus = 2
          this.title = '个案数据列表'
          break
        case 'lRiskNum':
          this.query.screenResultCode = "5"
          this.query.screenResultCode = '5'
          this.title = '个案数据列表'
          break
        case 'mRiskNum':
          this.query.screenResultCode = "4"
          this.query.screenResultCode = '4'
          this.title = '个案数据列表'
          break
        case 'hRiskNum':
          this.query.screenResultCode = "3"
          this.query.screenResultCode = '3'
          this.title = '个案数据列表'
          break
        case 'uhRiskNum':
          this.query.screenResultCode = "2"
          this.query.screenResultCode = '2'
          this.title = '个案数据列表'
          break
        case 'ehRiskNum':
          this.query.screenResultCode = "1"
          this.query.screenResultCode = '1'
          this.title = '个案数据列表'
          break
        case 'messageTimes':
@ -485,7 +485,7 @@ Vue.component('gxb-evaluation', {
      this.visible = false
    },
    seePatientDetail(row, prop) {
      if(prop == 'name' || prop == 'patientName'){
      if (prop == 'name' || prop == 'patientName') {
        EventBus.$emit('preview-person-info', { type: '1', code: row.code })
      }
    },
@ -496,10 +496,10 @@ Vue.component('gxb-evaluation', {
      this.query = {
        sex: '',
        screenResultCode: '',
        range: params.range,
        area: params.area,
        hospital: params.hospital,
        team: params.team
        range: typeof params.range == 'undefined' ? '' : params.range,
        area: typeof params.area == 'undefined' ? '' : params.area,
        hospital: typeof params.hospital == 'undefined' ? '' : params.hospital,
        team: typeof params.team == 'undefined' ? '' : params.team
      }
    },
    previewMess(row) {

+ 14 - 10
component/statistics/GxbManage/index.js

@ -231,8 +231,12 @@ Vue.component('gxb-manage', {
      })
    },
    seePatientDetail(row, prop) {
      if(prop == 'name'){
        EventBus.$emit('preview-person-info', { type: '1', code: row.code })
      if (prop == 'name') {
        if (this.title == '上转预约明细列表') {
          EventBus.$emit('preview-person-info', { type: '2', code: row.code })
        } else {
          EventBus.$emit('preview-person-info', { type: '1', code: row.code })
        }
      }
    },
    turnDownManageDetailPage() {
@ -353,18 +357,18 @@ Vue.component('gxb-manage', {
        this.query = {
          sex: '',
          screenResultCode: '',
          range: params.range,
          area: params.area,
          hospital: params.hospital,
          team: params.team
          range: typeof params.range == 'undefined' ? '' : params.range,
          area: typeof params.area == 'undefined' ? '' : params.area,
          hospital: typeof params.hospital == 'undefined' ? '' : params.hospital,
          team: typeof params.team == 'undefined' ? '' : params.team
        }
      } else {
        this.query = {
          sex: '',
          range: params.range,
          area: params.area,
          hospital: params.hospital,
          team: params.team
          range: typeof params.range == 'undefined' ? '' : params.range,
          area: typeof params.area == 'undefined' ? '' : params.area,
          hospital: typeof params.hospital == 'undefined' ? '' : params.hospital,
          team: typeof params.team == 'undefined' ? '' : params.team
        }
      }
    },

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

@ -68,10 +68,10 @@
      </el-form-item>
      <template v-if="title=='康复下转明细列表'">
        <el-form-item label="下转医生:">
          <el-input v-model="query.hospitalDoctor" placeholder="请输入预约医院查询"></el-input>
          <el-input v-model="query.hospitalDoctor" placeholder="请输入下转医生查询"></el-input>
        </el-form-item>
        <el-form-item label="接收医生:">
          <el-input v-model="query.doctor" placeholder="请输入科室名称查询"></el-input>
          <el-input v-model="query.doctor" placeholder="请输入接收医生查询"></el-input>
        </el-form-item>
        <el-form-item label="下转状态:">
          <el-select v-model="query.status" placeholder="请选择">
@ -90,7 +90,7 @@
        </el-form-item>
        <el-form-item label="档案状态:">
          <el-select v-model="query.archiveStatus" placeholder="请选择">
            <el-option v-for="(item,index) in archiveList"  :value="item.code" :label="item.value" :key="item.code"></el-option>
            <el-option v-for="(item,index) in archiveList" :value="item.code" :label="item.value" :key="item.code"></el-option>
          </el-select>
        </el-form-item>
        <el-form-item label="患者类型:">

+ 14 - 15
component/statistics/GxbMz/index.js

@ -356,10 +356,10 @@ Vue.component('gxb-mz', {
          orgCode: '',
          archiveStatus: '',
          patientType: '',
          range: params.range,
          area: params.area,
          hospital: params.hospital,
          team: params.team
          range: typeof params.range == 'undefined' ? '' : params.range,
          area: typeof params.area == 'undefined' ? '' : params.area,
          hospital: typeof params.hospital == 'undefined' ? '' : params.hospital,
          team: typeof params.team == 'undefined' ? '' : params.team
        }
      } else if (this.title == '下转情况数据列表') {
        this.query = {
@ -372,7 +372,6 @@ Vue.component('gxb-mz', {
          team: params.team
        }
      }
      
    },
    handleCurrentChange(val) {
      this.page = val
@ -442,7 +441,7 @@ Vue.component('gxb-mz', {
          archiveStatus: '',
          patientType: ''
        }
        
        this.visible = true
        this.title = '康复下转明细列表'
        this.dialogHeader = [
@ -462,10 +461,10 @@ Vue.component('gxb-mz', {
        ]
        switch (prop) {
          case 'mzTimes':
            this.query.patientType = "1"
            this.query.patientType = '1'
            break
          case 'zyTimes':
            this.query.patientType = "2"
            this.query.patientType = '2'
            break
        }
      } else if (['totalNum', 'mzNum', 'zyNum'].includes(prop)) {
@ -490,10 +489,10 @@ Vue.component('gxb-mz', {
        ]
        switch (prop) {
          case 'mzNum':
            this.query.eventType = "1"
            this.query.eventType = '1'
            break
          case 'zyNum':
            this.query.eventType = "2"
            this.query.eventType = '2'
            break
        }
      }
@ -636,14 +635,14 @@ Vue.component('gxb-mz', {
      this.searchFn()
    },
    seePatientDetail(row, prop) {
      if(prop == 'name'){
        if(row.patient){
      if (prop == 'name') {
        if (row.patient) {
          EventBus.$emit('preview-person-info', { type: '4', code: row.patient })
        }else{
          this.$message.warning("未查询到该患者信息")
        } else {
          this.$message.warning('未查询到该患者信息')
        }
      }
    },
    }
  },
  mounted() {
    this.init()

+ 7 - 7
component/statistics/GxbTurnup/index.js

@ -216,7 +216,7 @@ Vue.component('gxb-turnup', {
    },
    getHospital(code, flag = true) {
      var vm = this
      if(flag){
      if (flag) {
        delete this.form.hospital
        delete this.form.team
      }
@ -231,7 +231,7 @@ Vue.component('gxb-turnup', {
    },
    getTeam(code, flag) {
      var vm = this
      if(flag){
      if (flag) {
        delete this.form.team
      }
      var params = {
@ -309,10 +309,10 @@ Vue.component('gxb-turnup', {
      }
      this.query = {
        sex: '',
        range: params.range,
        area: params.area,
        hospital: params.hospital,
        team: params.team
        range: typeof params.range == 'undefined' ? '' : params.range,
        area: typeof params.area == 'undefined' ? '' : params.area,
        hospital: typeof params.hospital == 'undefined' ? '' : params.hospital,
        team: typeof params.team == 'undefined' ? '' : params.team
      }
    },
    handleCurrentChange(val) {
@ -381,7 +381,7 @@ Vue.component('gxb-turnup', {
      })
    },
    seePatientDetail(row, prop) {
      if(prop == 'name'){
      if (prop == 'name') {
        EventBus.$emit('preview-person-info', { type: '2', code: row.code })
      }
    },