소스 검색

修复bug

hwy 5 일 전
부모
커밋
38e92c47cb
4개의 변경된 파일54개의 추가작업 그리고 13개의 파일을 삭제
  1. 15 3
      component/statistics/GxbCy/index.js
  2. 13 5
      component/statistics/GxbEvaluation/index.js
  3. 15 4
      component/statistics/GxbMz/index.js
  4. 11 1
      component/statistics/GxbTurnup/index.js

+ 15 - 3
component/statistics/GxbCy/index.js

@ -144,6 +144,7 @@ Vue.component('gxb-cy', {
      if (selectedRole.code.indexOf('350200') > -1) {
        this.level = 1 //  市卫健委
        this.areaOptions = [
          { label: '厦门市', value: '' },
          { label: '思明区', value: '350203' },
          { label: '海沧区', value: '350205' },
          { label: '湖里区', value: '350206' },
@ -166,7 +167,7 @@ Vue.component('gxb-cy', {
          { label: '团队', value: 'team' }
        ]
        this.areaOptions = [{ label: selectedRole.name.substring(0, 3), value: selectedRole.code }]
        this.hospital = [{ label: selectedRole.name, value: selectedRole.code }]
        this.hospitalOptions = [{ name: selectedRole.name, code: selectedRole.code }]
        this.form = {
          range: 'hospital',
          area: selectedRole.code.substring(0, 6),
@ -253,11 +254,14 @@ Vue.component('gxb-cy', {
    },
    eliminateClick() {
      this.resetArea()
      this.form.hospital = ''
      this.hospitalOptions = []
      this.form.team = ''
      this.teamOptions = []
      this.yearType = '1'
      this.chooseYear = new Date().getFullYear()
      this.chooseTime = null
      this.$forceUpdate()
      
    },
    getHospital(code) {
      var vm = this
@ -267,6 +271,12 @@ Vue.component('gxb-cy', {
        type: 5,
        code: code
      }
      if (!code) {
        vm.hospitalOptions = [{ name: '全部', value: '' }]
        vm.teamOptions = [{ name: '全部', value: '' }]
        return false
      }
      httpRequest.post('common/district', { data: params }).then(function (res) {
        vm.hospitalOptions = res.list
      })
@ -302,7 +312,9 @@ Vue.component('gxb-cy', {
            {
              props: {
                content: (function () {
                  return index == '6' ? '统计查询时间内,出院下转的患者中,在当年已进行ASCVD风险评估的患者人数' : '统计查询时间内,出院下转的患者中,在当年未进行ASCVD风险评估的患者人数'
                  return index == '6'
                    ? '统计查询时间内,出院下转的患者中,在当年已进行ASCVD风险评估的患者人数'
                    : '统计查询时间内,出院下转的患者中,在当年未进行ASCVD风险评估的患者人数'
                })(),
                placement: 'top'
              }

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

@ -72,6 +72,7 @@ Vue.component('gxb-evaluation', {
      if (selectedRole.code.indexOf('350200') > -1) {
        this.level = 1 //  市卫健委
        this.areaOptions = [
          { label: '厦门市', value: '' },
          { label: '思明区', value: '350203' },
          { label: '海沧区', value: '350205' },
          { label: '湖里区', value: '350206' },
@ -94,7 +95,7 @@ Vue.component('gxb-evaluation', {
          { label: '团队', value: 'team' }
        ]
        this.areaOptions = [{ label: selectedRole.name.substring(0, 3), value: selectedRole.code }]
        this.hospital = [{ label: selectedRole.name, value: selectedRole.code }]
        this.hospitalOptions = [{ name: selectedRole.name, code: selectedRole.code }]
        this.form = {
          range: 'hospital',
          area: selectedRole.code.substring(0, 6),
@ -148,8 +149,8 @@ Vue.component('gxb-evaluation', {
      httpRequest.get('statistics/collaborate/gxbScreenInfoStatistics', { data: params }).then(function (res) {
        if (res.status == 200) {
          vm.tableData = res.detailModelList
          console.log(vm.tableData,"tableData");
          
          console.log(vm.tableData, 'tableData')
          vm.total = res.totalCount
        }
        vm.loading = false
@ -183,11 +184,14 @@ Vue.component('gxb-evaluation', {
    },
    eliminateClick() {
      this.resetArea()
      this.form.hospital = ''
      this.hospitalOptions = []
      this.form.team = ''
      this.teamOptions = []
      this.yearType = '1'
      this.chooseYear = new Date().getFullYear()
      this.chooseTime = null
      this.$forceUpdate()
      
    },
    getHospital(code) {
      var vm = this
@ -197,6 +201,11 @@ Vue.component('gxb-evaluation', {
        type: 5,
        code: code
      }
      if (!code) {
        vm.hospitalOptions = [{ name: '全部', value: '' }]
        vm.teamOptions = [{ name: '全部', value: '' }]
        return false
      }
      httpRequest.post('common/district', { data: params }).then(function (res) {
        vm.hospitalOptions = res.list
      })
@ -207,7 +216,6 @@ Vue.component('gxb-evaluation', {
      var params = {
        hospital: code
      }
      httpRequest.get('statisticsExport/teamList', { data: params }).then(function (res) {
        vm.teamOptions = res.data
      })

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

@ -48,7 +48,7 @@ Vue.component('gxb-mz', {
        { label: '已下转人数', prop: 'totalNum', width: '110' },
        { label: '门诊下转人数', prop: 'mzNum', width: '110' },
        { label: '门诊下转已评估', prop: 'screenNum', width: '110' },
        { label: '门诊下转未评估', prop: 'unScreenNum', width: '110' },
        { label: '门诊下转未评估', prop: 'unScreenNum', width: '110' }
      ],
      page: 1,
      size: 10,
@ -62,6 +62,7 @@ Vue.component('gxb-mz', {
      if (selectedRole.code.indexOf('350200') > -1) {
        this.level = 1 //  市卫健委
        this.areaOptions = [
          { label: '厦门市', value: '' },
          { label: '思明区', value: '350203' },
          { label: '海沧区', value: '350205' },
          { label: '湖里区', value: '350206' },
@ -84,7 +85,7 @@ Vue.component('gxb-mz', {
          { label: '团队', value: 'team' }
        ]
        this.areaOptions = [{ label: selectedRole.name.substring(0, 3), value: selectedRole.code }]
        this.hospital = [{ label: selectedRole.name, value: selectedRole.code }]
        this.hospitalOptions = [{ name: selectedRole.name, code: selectedRole.code }]
        this.form = {
          range: 'hospital',
          area: selectedRole.code.substring(0, 6),
@ -171,11 +172,14 @@ Vue.component('gxb-mz', {
    },
    eliminateClick() {
      this.resetArea()
      this.form.hospital = ''
      this.hospitalOptions = []
      this.form.team = ''
      this.teamOptions = []
      this.yearType = '1'
      this.chooseYear = new Date().getFullYear()
      this.chooseTime = null
      this.$forceUpdate()
      
    },
    getHospital(code) {
      var vm = this
@ -185,6 +189,11 @@ Vue.component('gxb-mz', {
        type: 5,
        code: code
      }
      if (!code) {
        vm.hospitalOptions = [{ name: '全部', value: '' }]
        vm.teamOptions = [{ name: '全部', value: '' }]
        return false
      }
      httpRequest.post('common/district', { data: params }).then(function (res) {
        vm.hospitalOptions = res.list
      })
@ -220,7 +229,9 @@ Vue.component('gxb-mz', {
            {
              props: {
                content: (function () {
                  return index == '6' ? '统计查询时间内,门诊下转的患者中,在当年有进行ASCVD风险评估的患者人数' : '统计查询时间内,门诊下转的患者中,在当年未进行ASCVD风险评估的患者人数'
                  return index == '6'
                    ? '统计查询时间内,门诊下转的患者中,在当年有进行ASCVD风险评估的患者人数'
                    : '统计查询时间内,门诊下转的患者中,在当年未进行ASCVD风险评估的患者人数'
                })(),
                placement: 'top'
              }

+ 11 - 1
component/statistics/GxbTurnup/index.js

@ -61,6 +61,7 @@ Vue.component('gxb-turnup', {
      if (selectedRole.code.indexOf('350200') > -1) {
        this.level = 1 //  市卫健委
        this.areaOptions = [
          { label: '厦门市', value: '' },
          { label: '思明区', value: '350203' },
          { label: '海沧区', value: '350205' },
          { label: '湖里区', value: '350206' },
@ -83,7 +84,7 @@ Vue.component('gxb-turnup', {
          { label: '团队', value: 'team' }
        ]
        this.areaOptions = [{ label: selectedRole.name.substring(0, 3), value: selectedRole.code }]
        this.hospital = [{ label: selectedRole.name, value: selectedRole.code }]
        this.hospitalOptions = [{ name: selectedRole.name, code: selectedRole.code }]
        this.form = {
          range: 'hospital',
          area: selectedRole.code.substring(0, 6),
@ -170,6 +171,10 @@ Vue.component('gxb-turnup', {
    },
    eliminateClick() {
      this.resetArea()
      this.form.hospital = ''
      this.hospitalOptions = []
      this.form.team = ''
      this.teamOptions = []
      this.yearType = '1'
      this.chooseYear = new Date().getFullYear()
      this.chooseTime = null
@ -183,6 +188,11 @@ Vue.component('gxb-turnup', {
        type: 5,
        code: code
      }
      if (!code) {
        vm.hospitalOptions = [{ name: '全部', value: '' }]
        vm.teamOptions = [{ name: '全部', value: '' }]
        return false
      }
      httpRequest.post('common/district', { data: params }).then(function (res) {
        vm.hospitalOptions = res.list
      })