Browse Source

修复bug

hwy 1 month ago
parent
commit
78d042f265

+ 1 - 1
app/home/html/menu.html

@ -56,7 +56,7 @@
          </a>
        </div>
        <div class="col-xs-6" :class="{'active': selectedTab == 4, 'disabled': disableTabs.indexOf(4)>-1}">
          <a href="../../statistics/html/comprehensive-query.html" target="view_frame" @click="chooseTab(4)">
          <a href="../../statistics/html/home.html" target="view_frame" @click="chooseTab(4)">
            <img :src="selectedTab == 4?'../../../images/tongjifenxi_icon.png' : '../../../images/tongjifenxi02_icon.png'" />
            <div class="mt10 c-f16">统计分析</div>
          </a>

BIN
app/statistics/html/template.xls


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

@ -36,7 +36,7 @@
    <div class="searchDiv pb20">
      <el-button type="primary" size="mini" @click="search">查询</el-button>
      <el-button type="success" size="mini" @click="toggle(true)">导入</el-button>
      <el-button type="ff9526" size="mini" @click="exportTable">导出</el-button>
      <el-button type="ff9526" size="mini" @click="exportTable" v-if="isShowBtn">导出</el-button>
      <span class="eliminate" @click="resetDate">清除筛选条件</span>
    </div>
    <!--=======================================================-->

+ 6 - 4
component/statistics/CopdServeNum/index.js

@ -56,6 +56,7 @@ Vue.component('copd-serve-num', {
      teamCode: '',
      userRoleCode: '',
      docInfo: JSON.parse(window.localStorage.getItem('docInfo')),
      isShowBtn: 0,
      isGuGan: false,
      areaList: [],
      tabledata: [],
@ -134,10 +135,10 @@ Vue.component('copd-serve-num', {
      vm.nowyear = vm.chooseYear = now.getFullYear()
      // vm.chooseYear = '2022'
      vm.nowmonth = now.getMonth() + 1
      vm.years = []
      for (i = vm.nowyear; i >= 2013; i--) {
        vm.years.push(i)
      }
      vm.years = ['2025']
      // for (i = vm.nowyear; i >= 2013; i--) {
      //   vm.years.push(i)
      // }
    },
    // 数据范围初始化
    initScope(type) {
@ -158,6 +159,7 @@ Vue.component('copd-serve-num', {
        this.areaCode = null
        this.communityCode = null
        if (vm.userRole.code == '350200' || vm.userRole.code == 'jk_350200') {
          vm.isShowBtn = 1
          vm.getDistrict(type, 350200, '厦门市')
        } else if (vm.userRole.code.indexOf('jk_') > -1) {
          vm.getDistrict(type, vm.userRole.code.substring(3), vm.areaTitle.substring(0, 3))