Bladeren bron

厦心接口联调完成

hd 1 week geleden
bovenliggende
commit
5177dfe6e9

+ 1 - 0
app/statistics/html/comprehensive-query.html

@ -903,6 +903,7 @@
    <script src="../../../js/jquery-2.2.4.js" type="text/javascript" charset="utf-8"></script>
    <script src="../../../js/element-ui.js" type="text/javascript" charset="utf-8"></script>
    <script src="../../../plugins/toastr/toastr.min.js"></script>
    <script type="text/javascript" src="../../../plugins/layer/layer.min.js"></script>
    <script src="../../../js/es6-promise.js" type="text/javascript" charset="utf-8"></script>
    <script src="../../../js/underscore.js" type="text/javascript" charset="utf-8"></script>
    <script src="../../../js/util.js" type="text/javascript" charset="utf-8"></script>

+ 27 - 0
component/common/jtbc.css

@ -126,4 +126,31 @@
}
.nodata img{
  margin-bottom: 20px;
}
/* follow-record 康复随访记录样式 */
.follow-record  .el-radio__input.is-disabled .el-radio__inner, 
.follow-record  .el-radio__input.is-disabled.is-checked .el-radio__inner{
  background-color: #fff
}
.follow-record .el-radio__input.is-disabled+span.el-radio__label{
  color: #606266;
}
.follow-record .el-checkbox__input.is-disabled+span.el-checkbox__label{
  color: #606266;
}
.follow-record .el-checkbox__input.is-disabled.is-checked .el-checkbox__inner{
  background-color: #fff;
}
.follow-dialog-form{
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: 8px;
  padding: 20px 24px;
}
.follow-col{
  padding-bottom: 10px;
  font-size: 16px;
}

+ 0 - 8
component/statistics/FollowDetail/index.html

@ -73,11 +73,6 @@
    <el-table-column :label="item.label" v-for="item in tableHeader" :min-width="item.width" :key="item.prop">
      <template slot-scope="scope">{{scope.row[item.prop]}}</template>
    </el-table-column>
    <el-table-column label="操作" align="center" width="130px">
      <template slot-scope="scope">
        <el-button type="text" @click="openDialog(scope)">查看筛查表单</el-button>
      </template>
    </el-table-column>
  </el-table>
  <el-pagination
    @current-change="handleCurrentChange"
@ -88,7 +83,4 @@
    layout="total, sizes, prev, pager, next, jumper"
    :total="total"
    class="pagination"></el-pagination>
    <el-dialog :visible="visible" title="查看随访结果" @close="closeDialog">
      
    </el-dialog>
</div>

+ 1 - 9
component/statistics/FollowDetail/index.js

@ -62,8 +62,7 @@ Vue.component('follow-detail', {
      page: 1,
      size: 10,
      total: 0,
      level: 0,
      visible: false
      level: 0
    }
  },
  methods: {
@ -220,13 +219,6 @@ Vue.component('follow-detail', {
    handleSizeChange(val) {
      this.size = val
      this.getList()
    },
    openDialog(scope) {
      this.visible = true
    },
    closeDialog() {
      this.visible = false
    }
  },
  mounted() {

+ 85 - 3
component/statistics/FollowRecord/index.html

@ -88,7 +88,89 @@
    layout="total, sizes, prev, pager, next, jumper"
    :total="total"
    class="pagination"></el-pagination>
    <el-dialog :visible="visible" title="查看随访结果" @close="closeDialog">
      
    </el-dialog>
  <el-dialog :visible="visible" title="查看随访结果" @close="closeDialog" width="850px">
    <el-row :gutter="20" style="margin-top: -20px;">
      <el-col :span="12" class="follow-col">随访表单:冠心病日常随访(社区)</el-col>
      <el-col :span="12" class="follow-col">随访医生:{{info.doctorName}}</el-col>
      <el-col :span="12" class="follow-col">随访对象:{{info.name}}({{info.sex}} {{info.age}}岁)</el-col>
    </el-row>
    <el-form label-position="left" label-width="120px" class="follow-dialog-form">
      <el-form-item label="姓名" required>
        <el-input v-model="record.patientName" placeholder="请输入姓名" :readonly="true"></el-input>
      </el-form-item>
      <el-form-item label="随访日期" required>
        <el-date-picker v-model="record.followupDate" type="datetime" format="yyyy-MM-dd HH:mm" value-format="yyyy-MM-dd HH:mm" placeholder="请选择随访日期"></el-date-picker>
      </el-form-item>
      <el-form-item label="随访医生" required>
        <el-input v-model="record.doctorName" placeholder="请输入随访医生" :readonly="true"></el-input>
      </el-form-item>
      <el-form-item label="血压" required>
        <el-row :gutter="10" style="display: flex">
          <el-col :span="8">
            <el-input v-model="record.bloodPressure" placeholder="" readonly></el-input>
          </el-col>
          <el-col :span="2">/</el-col>
          <el-col :span="8">
            <el-input v-model="record.bloodPressureDown" placeholder="" readonly></el-input>
          </el-col>
          <el-col :span="6">mmHg</el-col>
        </el-row>
      </el-form-item>
      <el-form-item label="心率" required>
        <el-input v-model="record.heartRate" placeholder="请输入心率" readonly>
          <template slot="append">次/分钟</template>
        </el-input>
      </el-form-item>
      <el-form-item label="LDL-C" required>
        <el-input v-model="record.ldlc" placeholder="请输入LDL-C" readonly>
          <template slot="append">mmol/L</template>
        </el-input>
      </el-form-item>
      <el-form-item label="糖化血红蛋白" required>
        <el-input v-model="record.thxhdb" placeholder="请输入糖化血红蛋白" readonly>
          <template slot="append">%</template>
        </el-input>
      </el-form-item>
      <el-form-item label="吸烟情况" required>
        <el-radio-group v-model="record.smoking" disabled class="follow-record">
          <el-radio label="1">已戒烟或从未吸烟</el-radio>
          <el-radio label="5">仍吸烟</el-radio>
        </el-radio-group>
      </el-form-item>
      <el-form-item label="饮酒情况" required>
        <el-radio-group v-model="record.drinking" disabled class="follow-record">
          <el-radio label="1">戒酒或不饮酒</el-radio>
          <el-radio label="4">仍饮酒</el-radio>
        </el-radio-group>
      </el-form-item>
      <el-form-item label="目前服用药物" required>
        <el-checkbox-group v-model="takingListChecked" disabled v-if="selectTak.length==0" class="follow-record">
          <el-checkbox v-for="(item,index) in takingList" :key="item.code" :label="index">{{ item.value }}</el-checkbox>
        </el-checkbox-group>
        <el-checkbox-group v-model="takingListChecked" disabled v-else class="follow-record">
          <el-checkbox v-for="(item,index) in selectTak" :key="item.code" :label="item.index">{{ item.value }}</el-checkbox>
        </el-checkbox-group>
      </el-form-item>
      <el-form-item label="不良事件种类">
        <el-checkbox-group v-model="adverseEventArr" disabled v-if="selectAdverse.length==0" class="follow-record">
          <el-checkbox v-for="(item,index) in badEventList1" :key="item.key" :label="index">{{ item.name }}</el-checkbox>
        </el-checkbox-group>
        <el-checkbox-group v-model="adverseEventArr" disabled v-else class="follow-record">
          <el-checkbox v-for="(item,index) in selectAdverse" :key="item.key" :label="item.index">{{ item.name }}</el-checkbox>
        </el-checkbox-group>
      </el-form-item>
      <el-form-item label="其他事件">
        <el-input type="textarea" v-model="record.otherEvents" placeholder="请输入其他事件情况" :rows="3" :maxlength="200" show-word-limit readonly></el-input>
      </el-form-item>
      <el-form-item label="是否转诊上级医院" required label-width="150px">
        <el-radio-group v-model="record.isMoveSuperiorHospital" disabled class="follow-record">
          <el-radio label="1">是</el-radio>
          <el-radio label="2">否</el-radio>
        </el-radio-group>
      </el-form-item>
      <el-form-item label="随访医院" required>
        <el-input v-model="record.followHospital" placeholder="请输入随访医院" :readonly="true"></el-input>
      </el-form-item>
    </el-form>
  </el-dialog>
</div>

+ 79 - 3
component/statistics/FollowRecord/index.js

@ -52,13 +52,32 @@ Vue.component('follow-record', {
        { label: '所属机构', prop: 'hospitalName', width: '130' },
        { label: '随访医生', prop: 'doctorName', width: '90' },
        { label: '计划随访时间', prop: 'followupPlanDate', width: '140' },
        { label: '实际随访时间', prop: 'followupDate', width: '140' },
        { label: '实际随访时间', prop: 'followupDate', width: '140' }
      ],
      page: 1,
      size: 10,
      total: 0,
      level: 0,
      visible: false
      visible: false,
      record: {},
      selectTak: [],
      takingListChecked: [],
      takingList: [],
      selectAdverse: [],
      adverseEventArr: [],
      badEventList1: [
        { name: '无不良事件', checkBox: false, key: 'badEventNo' },
        { name: '心源性原因再次入院', checkBox: false, key: 'badEventCardiac' },
        { name: '再发心梗', checkBox: false, key: 'badEventMyocardial' },
        { name: '脑卒中', checkBox: false, key: 'badEventStroke' },
        { name: '严重出血', checkBox: false, key: 'badEventBleeding' },
        { name: '外周血管栓塞', checkBox: false, key: 'badEventVascular' },
        { name: '恶性心律失常(室速/室颤)', checkBox: false, key: 'badEventMalignant' },
        { name: '左室附壁血栓', checkBox: false, key: 'badEventBlood' },
        { name: '死亡', checkBox: false, key: 'badEventBusy' },
        { name: '其他', checkBox: false, key: 'badEventOther' }
      ],
      info: {}
    }
  },
  methods: {
@ -208,6 +227,18 @@ Vue.component('follow-record', {
        vm.teamOptions = res.data
      })
    },
    getDictByDictName: function () {
      var vm = this
      httpRequest.get('/common/getDictByDictName', { data: { name: 'CurrentlyTakingMedication' } }).then(function (res) {
        if (res.status == 200) {
          var data = res.list
          data.forEach(function (v) {
            v.checkBox = false
          })
          vm.takingList = data
        }
      })
    },
    handleCurrentChange(val) {
      this.page = val
      this.getList()
@ -217,8 +248,52 @@ Vue.component('follow-record', {
      this.getList()
    },
    openDialog(scope) {
      var vm = this
      this.visible = true
      this.info = {
        sex: scope.row.sex,
        name: scope.row.name,
        age: scope.row.age,
        doctorName: scope.row.doctorName
      }
      httpRequest.get('doctor/visitDetail/selectFollowupDiseaseById', { data: { type: 'XiaXinCoronaryHear', followupId: scope.row.id } }).then(function (res) {
        if (res.status == 200) {
          var data = res.data
          console.log(data, 'Data')
          // vm.record = data.followup
          if (data.content) {
            vm.record = data.content
            vm.$set(vm, 'takingListChecked', data.content && data.content.takeMedicine.split(','))
            vm.$set(vm, 'adverseEventArr', data.content && data.content.adverseEvent.split(','))
            vm.flag = '2'
            vm.selectTak = vm.takingListChecked.map(function (index) {
              vm.takingList[index].index = index
              return vm.takingList[index]
            })
            vm.selectAdverse = vm.adverseEventArr.map(function (index) {
              vm.badEventList1[index].index = index
              return vm.badEventList1[index]
            })
          }
          return
          vm.followData = res.data
          vm.form.sex = data.sex
          vm.followup = {
            followup_id: code,
            // status: data.status,
            // patientName: vm.serviceInfo.patientName,
            followupNextDate: data.followupNextDate,
            followupType: data.followupType,
            followupClass: data.followupClass,
            jwDoctorWorkType: data.jwDoctorWorkType,
            followupDate: data.followupDate,
            doctorName: data.doctorName,
            orgName: data.orgName
            // type: vm.serviceInfo.type
          }
          console.log(vm.followup, '我是vm.followup')
        }
      })
    },
    closeDialog() {
      this.visible = false
@ -226,5 +301,6 @@ Vue.component('follow-record', {
  },
  mounted() {
    this.init()
    this.getDictByDictName()
  }
})

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

@ -53,8 +53,8 @@
    </div>
  </div>
  <el-table :data="tableData" style="width: 100%">
    <el-table-column type="index" min-width="60" label="序号"></el-table-column>
    <el-table-column :label="item.label" v-for="(item,index) in tableHeader" :min-width="item.width" :key="item.prop">
    <el-table-column type="index" width="80" label="序号"></el-table-column>
    <el-table-column :label="item.label" v-for="(item,index) in tableHeader" :min-width="item.width" :key="item.prop" :render-header="renderHeader">
      <template slot-scope="scope">{{scope.row[item.prop]}}</template>
    </el-table-column>
    <el-table-column :label="item.label" v-for="(item,index) in tableHeaderChildren" :key="index" align="center"> 

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

@ -47,8 +47,8 @@ Vue.component('gxb-cy', {
        { label: '出院下转次数', prop: 'zyTimes', width: '110' },
        { label: '已下转人数', prop: 'totalNum', width: '100' },
        { label: '出院下转人数', prop: 'zyNum', width: '110' },
        { label: '出院下转已评估', prop: 'screenNum', width: '120' },
        { label: '出院下转未评估', prop: 'unScreenNum', width: '120' }
        { label: '出院下转已评估', prop: 'screenNum', width: '140' },
        { label: '出院下转未评估', prop: 'unScreenNum', width: '140' }
      ],
      tableHeaderChildren: [
        {
@ -269,6 +269,36 @@ Vue.component('gxb-cy', {
    handleSizeChange(val) {
      this.size = val
      this.getList()
    },
    renderHeader: function (h, item) {
      var index = item.$index
      var column = item.column
      if (index == 6 || index == 7) {
        return [
          index == '6' ? '出院下转已评估' : '出院下转未评估',
          h(
            'el-tooltip',
            {
              props: {
                content: (function () {
                  return index == '6' ? '统计查询时间内,出院下转的患者中,在当年已进行ASCVD风险评估的患者人数' : '统计查询时间内,出院下转的患者中,在当年未进行ASCVD风险评估的患者人数'
                })(),
                placement: 'top'
              }
            },
            [
              h('span', {
                class: {
                  'el-icon-question': true
                }
              })
            ]
          )
        ]
      } else {
        return [column.label]
      }
    }
  },
  mounted() {

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

@ -54,7 +54,7 @@
  </div>
  <el-table :data="tableData" style="width: 100%" v-loading="loading">
    <el-table-column type="index" min-width="60" label="序号"></el-table-column>
    <el-table-column :label="item.label" v-for="item in tableHeader" :min-width="item.width" :key="item.prop">
    <el-table-column :label="item.label" v-for="item in tableHeader" :min-width="item.width" :key="item.prop" :render-header="renderHeader">
      <template slot-scope="scope">{{scope.row[item.prop]}}</template>
    </el-table-column>
  </el-table>

+ 48 - 1
component/statistics/GxbManage/index.js

@ -49,7 +49,7 @@ Vue.component('gxb-manage', {
        { label: '门诊转住院', prop: 'zyNum', width: '110' },
        { label: '下转管理人数', prop: 'turnDownNum', width: '110' },
        { label: '评估已登记随访', prop: 'followUpNum', width: '110' },
        { label: '随访已达标', prop: 'standardNum', width: '110' },
        { label: '随访已达标', prop: 'standardNum', width: '110' }
      ],
      page: 1,
      size: 10,
@ -207,6 +207,53 @@ Vue.component('gxb-manage', {
    handleSizeChange(val) {
      this.size = val
      this.getList()
    },
    renderHeader: function (h, item) {
      var index = item.$index
      var column = item.column
      var content = {
        3: '已上转人数',
        4: '上转转门诊',
        5: '门诊转住院',
        6: '下转管理人数',
        7: '评估已门诊下转',
        8: '评估已出院下转'
      }
      var tooltip = {
        3: '统计查询时间内,已筛查的患者中,预约了专科医院的患者人数',
        4: '统计查询时间内,已上转的患者中,到院就诊的患者人数',
        5: '统计查询时间内,已上转的患者中,到院就诊的患者人数',
        6: '统计查询时间内,筛查时间在下转时间前的患者人数',
        7: '统计查询时间内,筛查时间在门诊下转时间前的患者人数',
        8: '统计查询时间内,筛查时间在出院下转时间前的患者人数'
      }
      if ([3, 4, 5, 6, 7, 8].indexOf(index) > -1) {
        return [
          content[index],
          h(
            'el-tooltip',
            {
              props: {
                content: (function () {
                  return tooltip[index]
                })(),
                placement: 'top'
              }
            },
            [
              h('span', {
                class: {
                  'el-icon-question': true
                }
              })
            ]
          )
        ]
      } else {
        return [column.label]
      }
    }
  },
  mounted() {

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

@ -53,8 +53,8 @@
    </div>
  </div>
  <el-table :data="tableData" style="width: 100%" v-loading="loading">
    <el-table-column type="index" min-width="60" label="序号"></el-table-column>
    <el-table-column :label="item.label" v-for="item in tableHeader" :min-width="item.width" :key="item.prop">
    <el-table-column type="index" width="80" label="序号"></el-table-column>
    <el-table-column :label="item.label" v-for="item in tableHeader" :min-width="item.width" :key="item.prop" :render-header="renderHeader">
      <template slot-scope="scope">{{scope.row[item.prop]}}</template>
    </el-table-column>
  </el-table>

+ 30 - 0
component/statistics/GxbMz/index.js

@ -207,6 +207,36 @@ Vue.component('gxb-mz', {
    handleSizeChange(val) {
      this.size = val
      this.getList()
    },
    renderHeader: function (h, item) {
      var index = item.$index
      var column = item.column
      if (index == 6 || index == 7) {
        return [
          index == '6' ? '门诊下转已评估' : '门诊下转未评估',
          h(
            'el-tooltip',
            {
              props: {
                content: (function () {
                  return index == '6' ? '统计查询时间内,门诊下转的患者中,在当年有进行ASCVD风险评估的患者人数' : '统计查询时间内,门诊下转的患者中,在当年未进行ASCVD风险评估的患者人数'
                })(),
                placement: 'top'
              }
            },
            [
              h('span', {
                class: {
                  'el-icon-question': true
                }
              })
            ]
          )
        ]
      } else {
        return [column.label]
      }
    }
  },
  mounted() {

+ 2 - 9
component/statistics/GxbTurnup/index.html

@ -53,18 +53,11 @@
    </div>
  </div>
  <el-table :data="tableData" style="width: 100%" v-loading="loading">
    <el-table-column type="index" min-width="60" label="序号"></el-table-column>
    <el-table-column :label="item.label" v-for="item in tableHeader" :min-width="item.width" :key="item.prop">
    <el-table-column type="index" width="80" label="序号"></el-table-column>
    <el-table-column :label="item.label" v-for="item in tableHeader" :min-width="item.width" :key="item.prop" :render-header="renderHeader">
      <template slot-scope="scope">
        <span>{{scope.row[item.prop]}}</span>
      </template>
      <template slot="header" slot-scope="scope">
        <!-- {{scope.column}} -->
         123465
        <el-tooltip effect="dark" :content="item.tooltip" placement="top">
          <i class="el-icon-question" v-if="item.tooltip"></i>
        </el-tooltip>
      </template>
    </el-table-column>
  </el-table>
  <el-pagination

+ 31 - 2
component/statistics/GxbTurnup/index.js

@ -47,7 +47,7 @@ Vue.component('gxb-turnup', {
        { label: '上转转门诊', prop: 'mzTimes', width: '110', tooltip: '统计已上转的人次中,前往医院进行就诊的人次' },
        { label: '上转转门诊转化率', prop: 'mzRate', width: '130' },
        { label: '门诊转住院', prop: 'zyTimes', width: '110', tooltip: '统计已就诊的人次中,在医院办理住院的人次' },
        { label: '门诊转住院转化率', prop: 'zyRate', width: '130' },
        { label: '门诊转住院转化率', prop: 'zyRate', width: '130' }
      ],
      page: 1,
      size: 10,
@ -174,7 +174,6 @@ Vue.component('gxb-turnup', {
      this.chooseYear = new Date().getFullYear()
      this.chooseTime = null
      this.$forceUpdate()
      
    },
    getHospital(code) {
      var vm = this
@ -206,6 +205,36 @@ Vue.component('gxb-turnup', {
    handleSizeChange(val) {
      this.size = val
      this.getList()
    },
    renderHeader: function (h, item) {
      var index = item.$index
      var column = item.column
      if (index == 3 || index == 5) {
        return [
          index == '3' ? '上转转门诊' : '门诊转住院',
          h(
            'el-tooltip',
            {
              props: {
                content: (function () {
                  return index == '3' ? '统计已上转的人次中,前往医院进行就诊的人次' : '统计已就诊的人次中,在医院办理住院的人次'
                })(),
                placement: 'top'
              }
            },
            [
              h('span', {
                class: {
                  'el-icon-question': true
                }
              })
            ]
          )
        ]
      } else {
        return [column.label]
      }
    }
  },
  mounted() {

+ 18 - 2
component/statistics/JzSituation/index.html

@ -4,7 +4,7 @@
  <div class="copd-filter-group ui-col-1 bgc-fff" style="min-width: 900px">
    <div class="searchDiv pb20 pr20">
      <label class="c-333 c-f14">
        <el-radio v-model="yearType" label="1">按签约年份:</el-radio>
        <el-radio v-model="yearType" label="1">按就诊年份:</el-radio>
        <el-select v-model="chooseYear" class="formWidth wd160">
          <el-option v-for="(item , index) in years" :key="index" :label="item" :value="item"></el-option>
        </el-select>
@ -12,7 +12,7 @@
    </div>
    <div class="searchDiv pb20 pr20">
      <label class="c-333 c-f14" style="display: flex; align-items: center">
        <el-radio v-model="yearType" label="2">创建时间:</el-radio>
        <el-radio v-model="yearType" label="2">就诊时间:</el-radio>
        <el-date-picker
          v-model="chooseTime"
          type="daterange"
@ -22,6 +22,22 @@
          value-format="yyyy-MM-dd"></el-date-picker>
      </label>
    </div>
    <div class="searchDiv pb20 pr20">
      <label class="c-333 c-f14">签约状:</label>
      <el-radio v-model="form.isSign" label="1">是</el-radio>
      <el-radio v-model="form.isSign" label="0">否</el-radio>
    </div>
    <div class="searchDiv pb20 pr20">
      <label class="c-333 c-f14">居民姓名:</label>
      <el-input v-model="form.name" placeholder="请输入居民姓名查询"></el-input>
    </div>
    <div class="searchDiv pb20 pr20">
      <label class="c-333 c-f14">就诊类型:</label>
      <el-select v-model="form.eventType" clearable>
        <el-option label="门诊" value="1"></el-option>
        <el-option label="住院" value="2"></el-option>
      </el-select>
    </div>
    <div class="searchDiv pb20 pr20">
      <label class="c-333 c-f14">数据范围:</label>
      <el-select class="formWidth" v-model="form.range" placeholder="请选择" @change="resetArea">

+ 4 - 2
component/statistics/JzSituation/index.js

@ -11,7 +11,7 @@ $.ajax('../../../component/statistics/JzSituation/index.html', {
  }
})
Vue.component('zj-situation', {
Vue.component('jz-situation', {
  template: template,
  props: [],
  data: function () {
@ -53,7 +53,7 @@ Vue.component('zj-situation', {
        { label: '就诊时间', prop: '6', width: '110' },
        { label: '就诊科室', prop: '6', width: '110' },
        { label: '诊断结果', prop: '6', width: '110' },
        { label: '诊断类型', prop: '6', width: '110' },
        { label: '就诊类型', prop: '6', width: '110' },
        { label: '费用总和', prop: '6', width: '110' },
      ],
      page: 1,
@ -124,6 +124,8 @@ Vue.component('zj-situation', {
      }
    },
    getList() {
      return
      var vm = this
      this.loading = true
      var params = {

+ 0 - 3
component/statistics/TurndownAnalysis/index.html

@ -88,7 +88,4 @@
    layout="total, sizes, prev, pager, next, jumper"
    :total="total"
    class="pagination"></el-pagination>
    <el-dialog :visible="visible" title="查看筛选结果" @close="closeDialog">
      
    </el-dialog>
</div>

+ 13 - 6
component/statistics/TurndownAnalysis/index.js

@ -59,7 +59,6 @@ Vue.component('turndown-analysis', {
      size: 10,
      total: 0,
      level: 0,
      visible: false
    }
  },
  methods: {
@ -218,11 +217,19 @@ Vue.component('turndown-analysis', {
      this.getList()
    },
    openDialog(scope) {
      this.visible = true
    },
    closeDialog() {
      this.visible = false
      layer.open({
        type: 2,
        //				  offset: ['100px'], //右下角弹出
        area: ['568px', '100%'],
        shade: 0.5,
        title: '查看筛选结果',
        fixed: true, //不固定
        maxmin: true,
        closeBtn: 1,
        shift: 5,
        shadeClose: false, //点击遮罩关闭层
        content: '../../jbsc/html/view_screening_results.html?resultCode=' + scope.row.code
      })
    }
  },
  mounted() {

+ 12 - 9
component/statistics/TurndownDetail/index.js

@ -93,23 +93,26 @@ Vue.component('turndown-detail', {
    },
    exportTable() {
      var vm = this
      this.loading = true
      var params = {
        ...this.form,
        page: this.page,
        pageSize: this.size
        size: this.size
      }
      if (this.chooseTime) {
        params.startDate = this.chooseTime[0]
        params.endDate = this.chooseTime[1]
        params.startTime = this.chooseTime[0]
        params.endTime = this.chooseTime[1]
      }
      this.exportLoading = true
      var fileName = `康复下转明细${new Date().getTime()}.xls`
      httpRequest.downLoadFileForAjax('statistics/bed/exportGatientFamilyBedRecordStatistics', fileName, params).then(function () {
        vm.exportLoading = false
      })
      statisticAPI
        .exportRehabilitationPatientInfo(params, fileName)
        .then(function (res) {
          vm.exportLoading = false
        })
        .catch(function (err) {
          vm.exportLoading = false
        })
    },
    eliminateClick() {
      this.form = {
@ -119,7 +122,7 @@ Vue.component('turndown-detail', {
        archiveStatus: '',
        patientType: ''
      }
      this.chooseTime = null
      this.initTime()
    },
    getDictData() {
      var vm = this