Browse Source

bug解决

Chensc 15 giờ trước cách đây
mục cha
commit
d4cdc5c2e3

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

@ -45,7 +45,7 @@
          @change="getDealRecord"></el-date-picker>
      </div> -->
      <div style="display: flex; align-items: center; margin-top: 20px">
        <div style="width: 180px">服务节点:</div>
        <div style="min-width: 80px">服务节点:</div>
        <el-radio-group v-model="serviceNode" @input="getDealRecord" style="display: flex; flex-wrap: wrap">
          <el-radio-button :label="item.value" v-for="item in nodeList" :key="item.value" style="margin-bottom: 15px">{{item.label}}</el-radio-button>
          <div @click="getMore" style="display: flex; align-items: center; color: #409eff; font-size: 16px; cursor: pointer; margin-top: -20px">

+ 7 - 8
component/statistics/CopdServiceRecordPatient/index.js

@ -71,11 +71,11 @@ Vue.component('Copd-service-record-patient', {
        { label: '辅助检查-乳腺钼靶', value: 4 },
        { label: '乳腺病理学检查', value: 5 },
        { label: '乳腺外科门诊', value: 6 },
        { label: '乳腺癌治疗信息', value: 7 }
        { label: '乳腺癌治疗信息', value: 7 },
        { label: '社区随访', value: 8 },
        { label: '妇科检查', value: 9 }
      ],
      nodeList2: [
        { label: '社区随访', value: 8 },
        { label: '妇科检查', value: 9 },
        { label: 'HPV', value: 10 },
        { label: '宫颈细胞学检查', value: 11 },
        { label: '初筛结果临床评估', value: 12 },
@ -136,7 +136,7 @@ Vue.component('Copd-service-record-patient', {
    getMore() {
      this.moreFlag = !this.moreFlag
      if (this.moreFlag) {
        this.nodeList.splice(8, 10)
        this.nodeList.splice(10, 8)
      } else {
        this.nodeList = [...this.nodeList, ...this.nodeList2]
      }
@ -176,13 +176,12 @@ Vue.component('Copd-service-record-patient', {
        type: vm.serviceNode
      }
      httpRequest.get('doctor/twoCancers/count/serviceRecord', { data: params }).then(function (res) {
        if(res.status==200){
        if (res.status == 200) {
          vm.events = res.obj.records
          if(!vm.serviceNode){
          if (!vm.serviceNode) {
            vm.detailInfo = res.obj
          }
        
        }else{
        } else {
          alert(vm.message)
        }
        vm.loading = false