hwy 3 kuukautta sitten
vanhempi
commit
5a07ee088e

+ 11 - 0
app/statistics/js/comprehensive-query.js

@ -1276,6 +1276,17 @@ new Vue({
      //   EventBus.$emit('jtbc-table-page', { type, id: item.id })
      //   console.log('家庭病床')
      // }
      vm.$nextTick(function () {
        if (vm.handleNodeId == 77) {
          vm.$refs.gxbEvaluation.getData()
        } else if (vm.handleNodeId == 78) {
          vm.$refs.gxbTurnup.getData()
        } else if (vm.handleNodeId == 79) {
          vm.$refs.gxbMz.getData()
        } else if (vm.handleNodeId == 80) {
          vm.$refs.gxbCy.getData()
        }
      })
    },
    expertFamily: function (id) {
      var vm = this

+ 22 - 18
component/statistics/GxbCy/index.js

@ -579,27 +579,31 @@ Vue.component('gxb-cy', {
      this.messageVisible = false
    },
    getData(data) {
      this.yearType = data.yearType
      this.form.range = data.range
      this.form.area = data.area
      if (data) {
        this.yearType = data.yearType
        this.form.range = data.range
        this.form.area = data.area
      this.form.hospital = data.hospital
      this.form.team = data.team
        this.form.hospital = data.hospital
        this.form.team = data.team
      if (this.yearType == 1) {
        this.chooseYear = data.time
        if (this.yearType == 1) {
          this.chooseYear = data.time
        } else {
          this.chooseTime = data.time
        }
        if (this.form.hospital) {
          // 如果有社区code传过来就调社区医院列表接口
          this.getHospital(data.area, false)
        }
        if (this.form.team) {
          // 如果有团队code传过来就调团队列表接口
          this.getTeam(data.hospital, false)
        }
        this.searchFn()
      } else {
        this.chooseTime = data.time
        this.init()
      }
      if (this.form.hospital) {
        // 如果有社区code传过来就调社区医院列表接口
        this.getHospital(data.area, false)
      }
      if (this.form.team) {
        // 如果有团队code传过来就调团队列表接口
        this.getTeam(data.hospital, false)
      }
      this.searchFn()
    },
    renderHeader: function (h, item) {
      var label = item.column.label
@ -640,6 +644,6 @@ Vue.component('gxb-cy', {
    }
  },
  mounted() {
    this.init()
    // this.init()
  }
})

+ 26 - 23
component/statistics/GxbEvaluation/index.js

@ -380,7 +380,6 @@ Vue.component('gxb-evaluation', {
          { label: '签约医生', prop: 'doctorName' },
          { label: '提醒类型', prop: 'typeName' },
          { label: '消息推送时间', prop: 'createTime' },
          { label: '出院下转时间', prop: 'turnTime' },
          { label: '消息推送人', prop: 'senderName' }
        ]
        this.selectSmsInfoList()
@ -445,12 +444,12 @@ Vue.component('gxb-evaluation', {
      params.page = this.page
      params.size = this.size
      if (this.yearType == '1') {
        params.startDate = this.chooseYear + '-01-01'
        params.endDate = this.chooseYear + '-12-31'
        params.startTime = this.chooseYear + '-01-01'
        params.endTime = this.chooseYear + '-12-31'
      } else {
        if (this.chooseTime) {
          params.startDate = this.chooseTime[0]
          params.endDate = this.chooseTime[1]
          params.startTime = this.chooseTime[0]
          params.endTime = this.chooseTime[1]
        }
      }
      httpRequest.get('statistics/collaborate/selectSmsInfoList', { data: params }).then(function (res) {
@ -523,27 +522,31 @@ Vue.component('gxb-evaluation', {
      this.messageVisible = false
    },
    getData(data) {
      this.yearType = data.yearType
      this.form.range = data.range
      this.form.area = data.area
      if (data) {
        this.yearType = data.yearType
        this.form.range = data.range
        this.form.area = data.area
      this.form.hospital = data.hospital
      this.form.team = data.team
        this.form.hospital = data.hospital
        this.form.team = data.team
      if (this.yearType == 1) {
        this.chooseYear = data.time
        if (this.yearType == 1) {
          this.chooseYear = data.time
        } else {
          this.chooseTime = data.time
        }
        if (this.form.hospital) {
          // 如果有社区code传过来就调社区医院列表接口
          this.getHospital(data.area, false)
        }
        if (this.form.team) {
          // 如果有团队code传过来就调团队列表接口
          this.getTeam(data.hospital, false)
        }
        this.searchFn()
      } else {
        this.chooseTime = data.time
      }
      if (this.form.hospital) {
        // 如果有社区code传过来就调社区医院列表接口
        this.getHospital(data.area, false)
        this.init()
      }
      if (this.form.team) {
        // 如果有团队code传过来就调团队列表接口
        this.getTeam(data.hospital, false)
      }
      this.searchFn()
    },
    renderHeader: function (h, item) {
      var label = item.column.label
@ -584,6 +587,6 @@ Vue.component('gxb-evaluation', {
    }
  },
  mounted() {
    this.init()
    // this.init()
  }
})

+ 22 - 20
component/statistics/GxbMz/index.js

@ -614,27 +614,31 @@ Vue.component('gxb-mz', {
      this.dialogVisible = false
    },
    getData(data) {
      this.yearType = data.yearType
      this.form.range = data.range
      this.form.area = data.area
      if (data) {
        this.yearType = data.yearType
        this.form.range = data.range
        this.form.area = data.area
      this.form.hospital = data.hospital
      this.form.team = data.team
        this.form.hospital = data.hospital
        this.form.team = data.team
      if (this.yearType == 1) {
        this.chooseYear = data.time
        if (this.yearType == 1) {
          this.chooseYear = data.time
        } else {
          this.chooseTime = data.time
        }
        if (this.form.hospital) {
          // 如果有社区code传过来就调社区医院列表接口
          this.getHospital(data.area, false)
        }
        if (this.form.team) {
          // 如果有团队code传过来就调团队列表接口
          this.getTeam(data.hospital, false)
        }
        this.searchFn()
      } else {
        this.chooseTime = data.time
        this.init()
      }
      if (this.form.hospital) {
        // 如果有社区code传过来就调社区医院列表接口
        this.getHospital(data.area, false)
      }
      if (this.form.team) {
        // 如果有团队code传过来就调团队列表接口
        this.getTeam(data.hospital, false)
      }
      this.searchFn()
    },
    seePatientDetail(row, prop) {
      if (prop == 'name') {
@ -683,7 +687,5 @@ Vue.component('gxb-mz', {
      }
    }
  },
  mounted() {
    this.init()
  }
  mounted() {}
})

+ 23 - 19
component/statistics/GxbTurnup/index.js

@ -300,7 +300,7 @@ Vue.component('gxb-turnup', {
      }
      this.dialogExportLoading = true
      var fileName = `上转预约明细列表${new Date().getTime()}.xls`
      httpRequest.downLoadFileForAjax('statistics/collaborate/exportGxbTurnUpInfoPage', fileName, params).then(function () {
      httpRequest.downLoadFileForAjax('statistics/collaborate/exportGxbTurnUpInfoPage2', fileName, params).then(function () {
        vm.dialogExportLoading = false
      })
    },
@ -377,7 +377,7 @@ Vue.component('gxb-turnup', {
          params.endDate = this.chooseTime[1]
        }
      }
      httpRequest.get('statistics/collaborate/gxbTurnUpInfoPage', { data: params }).then(function (res) {
      httpRequest.get('statistics/collaborate/gxbTurnUpInfoPage2', { data: params }).then(function (res) {
        if (res.status == 200) {
          vm.dialogTableData = res.detailModelList
          vm.total = res.totalCount
@ -394,27 +394,31 @@ Vue.component('gxb-turnup', {
      this.visible = false
    },
    getData(data) {
      this.yearType = data.yearType
      this.form.range = data.range
      this.form.area = data.area
      if (data) {
        this.yearType = data.yearType
        this.form.range = data.range
        this.form.area = data.area
      this.form.hospital = data.hospital
      this.form.team = data.team
        this.form.hospital = data.hospital
        this.form.team = data.team
      if (this.yearType == 1) {
        this.chooseYear = data.time
        if (this.yearType == 1) {
          this.chooseYear = data.time
        } else {
          this.chooseTime = data.time
        }
        if (this.form.hospital) {
          // 如果有社区code传过来就调社区医院列表接口
          this.getHospital(data.area, false)
        }
        if (this.form.team) {
          // 如果有团队code传过来就调团队列表接口
          this.getTeam(data.hospital, false)
        }
        this.searchFn()
      } else {
        this.chooseTime = data.time
        this.init()
      }
      if (this.form.hospital) {
        // 如果有社区code传过来就调社区医院列表接口
        this.getHospital(data.area, false)
      }
      if (this.form.team) {
        // 如果有团队code传过来就调团队列表接口
        this.getTeam(data.hospital, false)
      }
      this.searchFn()
    },
    renderHeader: function (h, item) {
      var label = item.column.label