Browse Source

修复bug

hwy 2 months ago
parent
commit
ba56c61601

+ 4 - 4
app/statistics/js/comprehensive-query.js

@ -193,6 +193,7 @@ new Vue({
      { label: '就诊明细查询', id: '83' },
      { label: '下转动态分析', id: '84' },
      { label: '康复随访详情', id: '86' },
      { label: '康复下转明细', id: '87' },
      { label: '签约情况统计', id: '82' },
      { label: '消息推送明细', id: '89' }
    ],
@ -654,14 +655,13 @@ new Vue({
        }
      })
    })
    EventBus.$on('preview-person-info', function(data){
    EventBus.$on('preview-person-info', function (data) {
      vm.$refs.personInfo.openDialog(data)
    })
  },
  beforeDestroy() {
    EventBus.$off("toPage")
    EventBus.$off("preview-person-info")
    EventBus.$off('toPage')
    EventBus.$off('preview-person-info')
  },
  methods: {
    getfwDictName() {

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

@ -270,7 +270,7 @@ Vue.component('gxb-cy', {
    },
    getHospital(code, flag = true) {
      var vm = this
      if(flag){
      if (flag) {
        delete this.form.hospital
        delete this.form.team
      }
@ -285,7 +285,7 @@ Vue.component('gxb-cy', {
    },
    getTeam(code, flag = true) {
      var vm = this
      if(flag){
      if (flag) {
        delete this.form.team
      }
      var params = {
@ -511,6 +511,9 @@ Vue.component('gxb-cy', {
    closeDialog() {
      this.visible = false
    },
    seePatientDetail(row) {
      EventBus.$emit('preview-person-info', { type: '1', code: row.code })
    },
    handleCurrentChange(val) {
      this.page = val
      this.dialogSearch()

+ 18 - 3
component/statistics/GxbManage/index.js

@ -134,6 +134,7 @@ Vue.component('gxb-manage', {
    gotoDetail(row, column) {
      var vm = this
      this.query = { sex: '' }
      console.log('lllllllllllllllllllllllllllll', column)
      switch (column) {
        case 'mzNum':
          vm.dialogTableHeader = vm.mzTableHeader
@ -229,6 +230,9 @@ Vue.component('gxb-manage', {
        vm.loadingTwo = false
      })
    },
    seePatientDetail(row) {
      EventBus.$emit('preview-person-info', { type: '1', code: row.code })
    },
    turnDownManageDetailPage() {
      var vm = this
      this.loadingTwo = true
@ -245,9 +249,9 @@ Vue.component('gxb-manage', {
          params.endDate = this.chooseTime[1]
        }
      }
      if ((this.title = '上转转门诊明细')) {
      if (this.title == '下转管理明细') {
        url = 'statistics/collaborate/turnDownManageDetailPage'
      } else if ((this.title = '门诊转住院明细')) {
      } else if (this.title == '门诊转住院明细') {
        url = 'statistics/collaborate/mzToInHopistalDetailPage'
      }
      httpRequest.get(url, { data: params }).then(function (res) {
@ -287,8 +291,14 @@ Vue.component('gxb-manage', {
    },
    dialogSearchFn() {
      this.page = 1
      if (this.title == '上转转门诊明细' || this.title == '门诊转住院明细') {
      if (this.title == '上转预约明细列表') {
        this.gxbTurnUpInfoPage()
      } else if (this.title == '上转转门诊明细' || this.title == '门诊转住院明细') {
        this.turnUpToMzDetailPage()
      } else if (this.title == '下转管理明细') {
        this.turnDownManageDetailPage()
      } else if (this.title == '个案数据列表') {
        this.gxbCaseDataPage()
      }
    },
    dialogExportFn() {
@ -326,6 +336,11 @@ Vue.component('gxb-manage', {
        httpRequest.downLoadFileForAjax('statistics/collaborate/exportGxbTurnUpInfoPage', fileName, params).then(function () {
          vm.dialogExportLoading = false
        })
      } else if (this.title == '下转管理明细') {
        var fileName = `下转管理明细${new Date().getTime()}.xls`
        httpRequest.downLoadFileForAjax('statistics/collaborate/exportGxbTurnUpInfoPage', fileName, params).then(function () {
          vm.dialogExportLoading = false
        })
      }
    },
    dialogReset() {

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

@ -1,5 +1,5 @@
<!-- 样式写在component/common/jtbc.css里 -->
<el-dialog :visible.sync="visible" title="黄小蕾个案详情" @close="closeDialog" width="800px">
<el-dialog :visible.sync="visible" :title="title" @close="closeDialog" width="800px">
  <div class="patient-box">
    <img :src="setImg(patientInfo.photo)" alt="" class="info-avatar" />
    <div>

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

@ -34,7 +34,8 @@ Vue.component('person-info', {
      PlanDetailItems: [],
      service: {},
      messageVisible: false,
      messInfo: ''
      messInfo: '',
      title: ''
    }
  },
  methods: {
@ -45,6 +46,7 @@ Vue.component('person-info', {
      var vm = this
      httpRequest.get('statistics/collaborate/patientDetailInfo', { data: { code: vm.code } }).then(function (res) {
        vm.patientInfo = res.data
        vm.title = vm.patientInfo.name + '个案详情'
      })
    },
    goAssessment(code) {

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

@ -16,7 +16,7 @@ Vue.component('reservation-situation', {
  props: [],
  data: function () {
    return {
      yearType: "1",
      yearType: '1',
      years: [],
      chooseYear: null,
      chooseTime: null,
@ -53,6 +53,7 @@ Vue.component('reservation-situation', {
        { label: '签约医生', prop: 'doctorName', width: '90' },
        { label: '自助预约次数', prop: 'order1Times', width: '100' },
        { label: '医生代预约次数', prop: 'order2Times', width: '100' },
        { label: '基卫平台预约次数', prop: 'order3Times', width: '100' }
      ],
      page: 1,
      size: 10,
@ -82,7 +83,7 @@ Vue.component('reservation-situation', {
          area: selectedRole.code
        }
        this.getHospital(selectedRole.code)
      }  else {
      } else {
        this.level = 3 // 社区管理
        this.rangeOptions = [
          { label: '社区', value: 'hospital' },
@ -104,7 +105,7 @@ Vue.component('reservation-situation', {
      var vm = this
      var now = new Date()
      var nowyear = vm.chooseYear = now.getFullYear()
      var nowyear = (vm.chooseYear = now.getFullYear())
      vm.years = []
      for (i = nowyear; i >= 2013; i--) {
        vm.years.push(i)
@ -127,7 +128,7 @@ Vue.component('reservation-situation', {
      this.loading = true
      var params = {
        ...this.form,
        age: this.age.join(","),
        age: this.age.join(','),
        page: this.page,
        pageSize: this.size
      }
@ -221,7 +222,6 @@ Vue.component('reservation-situation', {
    },
    openDialog(scope) {
      this.visible = true
    },
    closeDialog() {
      this.visible = false