Bladeren bron

修复bug

hwy 3 maanden geleden
bovenliggende
commit
3511a3aa07

+ 186 - 181
api/rehabilitation-api.js

@ -1,181 +1,186 @@
(function(exports) {
    var rehaAPI = {
    	//获取日历列表
		calendarPlanDetail: function(data) {
			return httpRequest.get("doctor/specialist/rehabilitation/calendarPlanDetail",{data:data})
		},
		//获取列表
		calendarPlanDetailList: function(data) {
			return httpRequest.get("doctor/specialist/rehabilitation/calendarPlanDetailList",{data:data})
		},
		serviceItemList:function(data){
			return httpRequest.get("doctor/specialist/rehabilitation/serviceItemList",{data:data})
		},
		serviceItem:function(data){
			return httpRequest.get("doctor/specialist/rehabilitation/serviceItem",{data:data})
		},
		//获取医生二维码
		createServiceQrCode: function(data){
			return httpRequest.post('doctor/specialist/rehabilitation/createServiceQrCode',{data:data})
		},
//		居民扫码后验证是否是关联的居民扫码(居民端)
		checkAfterQrCode: function(data){
			return httpRequest.post('patient/specialist/rehabilitation/checkAfterQrCode',{data:data})
		},
		upload:function(file){
			return httpRequest.post('upload/fastDFSImag',{data: file,contentType: false,
            cache: false,
            processData: false})
		},
		updateNoteAndImageRehabilitationOperate:function(data){
			return httpRequest.post('doctor/specialist/rehabilitation/updateNoteAndImageRehabilitationOperate',{data:data})
		},
//		新增operateRecodr
		saveRehabilitationOperateRecord:function(data){
			return httpRequest.post('doctor/specialist/rehabilitation/saveRehabilitationOperateRecord',{data:data})
		},
		// 服务项关联计划
		updateRelationCodeByDetailId:function(data){
			return httpRequest.post('doctor/specialist/rehabilitation/updateRelationCodeByDetailId',{data:data})
		},
		// 康复服务套餐管理-获取康复服务套餐模板列表
		findTemplateList:function(data){
			return httpRequest.get("doctor/specialist/rehabilitationPlan/findTemplateList",{data:data})
		},
		// 康复服务套餐管理-获取机构服务项目列表
		findServiceItemsByHospital:function(data){
			return httpRequest.get("doctor/specialist/hospitalServiceItem/findServiceItemsByHospital",{data:data})
		},
		//获取医生团队信息
		getDoctorTeam: function(uid){
			return httpRequest.get('doctor/admin-teams/team/'+uid+'/teams')
		},		
		createTemplate:function(data){
			return httpRequest.post('doctor/specialist/rehabilitationPlan/createTemplate',{data:data})
		},
		createTemplateDetail:function(data){
			return httpRequest.post('doctor/specialist/rehabilitationPlan/createTemplateDetail',{data:data})
		},
		findTemplateDetail:function(data){
			return httpRequest.get("doctor/specialist/rehabilitationPlan/findTemplateDetail",{data:data})
		},
		deleteTemplate:function(data){
			return httpRequest.post('doctor/specialist/rehabilitationPlan/deleteTemplate',{data:data})
		},
		selectByIds:function(data){
			return httpRequest.get("doctor/specialist/hospitalServiceItem/selectByIds",{data:data})
		},
		// 终止专科计划详情
		getServiceItemsAfterStop: function(data) {
			return httpRequest.get("doctor/specialist/rehabilitation/getServiceItemsAfterStop", {data: data})
		},
		//获取计划表
		planSchedule: function(data) {
			return httpRequest.get("doctor/specialist/rehabilitation/planSchedule", {data: data})
		},
		//获取服务医生列表
		serviceDoctorList: function(data) {
			return httpRequest.get("doctor/specialist/rehabilitation/serviceDoctorList", {data: data})
		},
		//发送模板信息给居民确认
		sendWxMsg: function(data) {
			return httpRequest.post("doctor/specialist/rehabilitationPlan/sendWxMsg", {data: data})
		},
		//获取康复计划服务项
		calendarPlanDetailItems: function(data) {
			return httpRequest.get("doctor/specialist/rehabilitation/calendarPlanDetailItems",{data:data})
		},
		//获取康复服务项
		getServiceItemList: function(data) {
			return httpRequest.get("doctor/specialist/rehabilitation/getServiceItemList", {data: data})
		},
		//获取下转居民列表
		getRehabilitationPatientList: function(data) {
			return httpRequest.get("/doctor/rehabilitation/getRehabilitationPatientList", {data: data})
		},
		//获取居民标签字典(健康情况、疾病类型、自定义分组)
		getSpecialistPatientLabel: function(data) {
			return httpRequest.get("doctor/patient_label/getSpecialistPatientLabel", {data: data})
		},
		//获取居民标签(健康情况、疾病类型、自定义分组)
		getPatientLabelInfo: function(data) {
			return httpRequest.get("doctor/patient_label_info/getPatientLabelInfo", {data: data})
		},
		// 获取诊断信息
		getIcd10Info: function(data) {
			return httpRequest.get("doctor/serviceOrder/getIcd10Info", {data: data})
		},
		// 添加住院病历
		createMedicalRecords: function(data) {
			return httpRequest.post("/doctor/rehabilitation/createMedicalRecords", {data: data})
		},
		// 获取住院病历列表
		selectByMedicalCode: function(data){
			return httpRequest.get("doctor/specialist/rehabilitation/selectByMedicalCode", {data: data})
		},
		// 获取康复计划列表
		selectPlanByPatient: function(data){
			return httpRequest.get("doctor/specialist/rehabilitation/selectPlanByPatient", {data: data})
		},
		// 获取康复计划列表
		selectPlanServerDoctor: function(data){
			return httpRequest.post("doctor/specialist/rehabilitation/selectPlanServerDoctor", {data: data})
		},
		// 获取专科团队
		getSpecialistTeamList: function(data){
			return httpRequest.get("doctor/specialist/getSpecialistTeamList", {data: data})
		},
		// 更新居民专科标签(健康情况、疾病类型、自定义分组)
		updatePatientLabelInfo: function(data){
			return httpRequest.get("doctor/patient_label_info/updatePatientLabelInfo", {data: data})
		},
		// 提醒患者
		sendSpecialistWeixinMessage: function(data){
			return httpRequest.get("doctor/specialist/rehabilitation/sendSpecialistWeixinMessage", {data: data})
		},
		// 十大病种列表
		selectType: function(data){
			return httpRequest.get("doctor/specialist/rehabilitation/selectType", {data: data})
		},
		// 康复指导列表
		selectGuidances: function(data){
			return httpRequest.get("doctor/specialist/rehabilitation/selectGuidances", {data: data})
		},
		// 发送康复指导
		sendGuidance: function(data){
			return httpRequest.get("doctor/specialist/rehabilitation/sendGuidance", {data: data})
		},
		// 获取团队二维码
		createSpecialDoctorQrCode: function(data){
			return httpRequest.post("doctor/specialist/rehabilitation/createSpecialDoctorQrCode", {data: data})
		},
		// 居民未与扫描的二维码团队对应
		createPatientInSpeciaRelation: function(data){
			return httpRequest.post("doctor/specialist/createPatientInSpeciaRelation", {data: data})
		},
		// 获取居民签约的专科团队
		findPatientTeamList: function(data){
			return httpRequest.get("doctor/specialist/findPatientTeamList", {data: data})
		},
		// 获取不限频次的服务项记录
		selectByPlanDetaiId: function(data){
			return httpRequest.get("doctor/specialist/rehabilitation/selectByPlanDetaiId", {data: data})
		},
		// 根据患者身份证或社保卡号进行搜索添加出院记录
		getPatientByIdcardOrSsc: function(data){
			return httpRequest.post("doctor/rehabilitation/getPatientByIdcardOrSsc", {data: data})
		},
		// 获取康复计划服务项的指导留言
		selectByGuidance: function(data){
			return httpRequest.get("doctor/specialist/rehabilitation/selectByGuidance", {data: data})
		},
		// 远程协诊
		appointmentConsultation: function(data){
			return httpRequest.get("doctor/specialist/rehabilitation/appointmentConsultation", {data: data})
		},
		getList: function(data){
			return httpRequest.get("doctor/specialist/screen/getList", {data: data})
		},
	}
    exports.rehaAPI = rehaAPI;
})(window)
;(function (exports) {
  var rehaAPI = {
    //获取日历列表
    calendarPlanDetail: function (data) {
      return httpRequest.get('doctor/specialist/rehabilitation/calendarPlanDetail', { data: data })
    },
    //获取列表
    calendarPlanDetailList: function (data) {
      return httpRequest.get('doctor/specialist/rehabilitation/calendarPlanDetailList', { data: data })
    },
    serviceItemList: function (data) {
      return httpRequest.get('doctor/specialist/rehabilitation/serviceItemList', { data: data })
    },
    serviceItem: function (data) {
      return httpRequest.get('doctor/specialist/rehabilitation/serviceItem', { data: data })
    },
    //获取医生二维码
    createServiceQrCode: function (data) {
      return httpRequest.post('doctor/specialist/rehabilitation/createServiceQrCode', { data: data })
    },
    //		居民扫码后验证是否是关联的居民扫码(居民端)
    checkAfterQrCode: function (data) {
      return httpRequest.post('patient/specialist/rehabilitation/checkAfterQrCode', { data: data })
    },
    upload: function (file) {
      return httpRequest.post('upload/fastDFSImag', { data: file, contentType: false, cache: false, processData: false })
    },
    updateNoteAndImageRehabilitationOperate: function (data) {
      return httpRequest.post('doctor/specialist/rehabilitation/updateNoteAndImageRehabilitationOperate', { data: data })
    },
    //		新增operateRecodr
    saveRehabilitationOperateRecord: function (data) {
      return httpRequest.post('doctor/specialist/rehabilitation/saveRehabilitationOperateRecord', { data: data })
    },
    // 服务项关联计划
    updateRelationCodeByDetailId: function (data) {
      return httpRequest.post('doctor/specialist/rehabilitation/updateRelationCodeByDetailId', { data: data })
    },
    // 康复服务套餐管理-获取康复服务套餐模板列表
    findTemplateList: function (data) {
      return httpRequest.get('doctor/specialist/rehabilitationPlan/findTemplateList', { data: data })
    },
    // 康复服务套餐管理-获取机构服务项目列表
    findServiceItemsByHospital: function (data) {
      return httpRequest.get('doctor/specialist/hospitalServiceItem/findServiceItemsByHospital', { data: data })
    },
    //获取医生团队信息
    getDoctorTeam: function (uid) {
      return httpRequest.get('doctor/admin-teams/team/' + uid + '/teams')
    },
    createTemplate: function (data) {
      return httpRequest.post('doctor/specialist/rehabilitationPlan/createTemplate', { data: data })
    },
    createTemplateDetail: function (data) {
      return httpRequest.post('doctor/specialist/rehabilitationPlan/createTemplateDetail', { data: data })
    },
    findTemplateDetail: function (data) {
      return httpRequest.get('doctor/specialist/rehabilitationPlan/findTemplateDetail', { data: data })
    },
    deleteTemplate: function (data) {
      return httpRequest.post('doctor/specialist/rehabilitationPlan/deleteTemplate', { data: data })
    },
    selectByIds: function (data) {
      return httpRequest.get('doctor/specialist/hospitalServiceItem/selectByIds', { data: data })
    },
    // 终止专科计划详情
    getServiceItemsAfterStop: function (data) {
      return httpRequest.get('doctor/specialist/rehabilitation/getServiceItemsAfterStop', { data: data })
    },
    //获取计划表
    planSchedule: function (data) {
      return httpRequest.get('doctor/specialist/rehabilitation/planSchedule', { data: data })
    },
    //获取服务医生列表
    serviceDoctorList: function (data) {
      return httpRequest.get('doctor/specialist/rehabilitation/serviceDoctorList', { data: data })
    },
    //发送模板信息给居民确认
    sendWxMsg: function (data) {
      return httpRequest.post('doctor/specialist/rehabilitationPlan/sendWxMsg', { data: data })
    },
    //获取康复计划服务项
    calendarPlanDetailItems: function (data) {
      return httpRequest.get('doctor/specialist/rehabilitation/calendarPlanDetailItems', { data: data })
    },
    //获取康复服务项
    getServiceItemList: function (data) {
      return httpRequest.get('doctor/specialist/rehabilitation/getServiceItemList', { data: data })
    },
    //获取下转居民列表
    getRehabilitationPatientList: function (data) {
      return httpRequest.get('/doctor/rehabilitation/getRehabilitationPatientList', { data: data })
    },
    //获取居民标签字典(健康情况、疾病类型、自定义分组)
    getSpecialistPatientLabel: function (data) {
      return httpRequest.get('doctor/patient_label/getSpecialistPatientLabel', { data: data })
    },
    //获取居民标签(健康情况、疾病类型、自定义分组)
    getPatientLabelInfo: function (data) {
      return httpRequest.get('doctor/patient_label_info/getPatientLabelInfo', { data: data })
    },
    // 获取诊断信息
    getIcd10Info: function (data) {
      return httpRequest.get('doctor/serviceOrder/getIcd10Info', { data: data })
    },
    // 添加住院病历
    createMedicalRecords: function (data) {
      return httpRequest.post('/doctor/rehabilitation/createMedicalRecords', { data: data })
    },
    getSurveyMessage(data) {
      return httpRequest.post('doctor/screen/getSurveyMessage', { data: data })
    },
    sendFollowMessage(data) {
      return httpRequest.post('doctor/screen/sendFollowMessage', { data: data })
    },
    // 获取住院病历列表
    selectByMedicalCode: function (data) {
      return httpRequest.get('doctor/specialist/rehabilitation/selectByMedicalCode', { data: data })
    },
    // 获取康复计划列表
    selectPlanByPatient: function (data) {
      return httpRequest.get('doctor/specialist/rehabilitation/selectPlanByPatient', { data: data })
    },
    // 获取康复计划列表
    selectPlanServerDoctor: function (data) {
      return httpRequest.post('doctor/specialist/rehabilitation/selectPlanServerDoctor', { data: data })
    },
    // 获取专科团队
    getSpecialistTeamList: function (data) {
      return httpRequest.get('doctor/specialist/getSpecialistTeamList', { data: data })
    },
    // 更新居民专科标签(健康情况、疾病类型、自定义分组)
    updatePatientLabelInfo: function (data) {
      return httpRequest.get('doctor/patient_label_info/updatePatientLabelInfo', { data: data })
    },
    // 提醒患者
    sendSpecialistWeixinMessage: function (data) {
      return httpRequest.get('doctor/specialist/rehabilitation/sendSpecialistWeixinMessage', { data: data })
    },
    // 十大病种列表
    selectType: function (data) {
      return httpRequest.get('doctor/specialist/rehabilitation/selectType', { data: data })
    },
    // 康复指导列表
    selectGuidances: function (data) {
      return httpRequest.get('doctor/specialist/rehabilitation/selectGuidances', { data: data })
    },
    // 发送康复指导
    sendGuidance: function (data) {
      return httpRequest.get('doctor/specialist/rehabilitation/sendGuidance', { data: data })
    },
    // 获取团队二维码
    createSpecialDoctorQrCode: function (data) {
      return httpRequest.post('doctor/specialist/rehabilitation/createSpecialDoctorQrCode', { data: data })
    },
    // 居民未与扫描的二维码团队对应
    createPatientInSpeciaRelation: function (data) {
      return httpRequest.post('doctor/specialist/createPatientInSpeciaRelation', { data: data })
    },
    // 获取居民签约的专科团队
    findPatientTeamList: function (data) {
      return httpRequest.get('doctor/specialist/findPatientTeamList', { data: data })
    },
    // 获取不限频次的服务项记录
    selectByPlanDetaiId: function (data) {
      return httpRequest.get('doctor/specialist/rehabilitation/selectByPlanDetaiId', { data: data })
    },
    // 根据患者身份证或社保卡号进行搜索添加出院记录
    getPatientByIdcardOrSsc: function (data) {
      return httpRequest.post('doctor/rehabilitation/getPatientByIdcardOrSsc', { data: data })
    },
    // 获取康复计划服务项的指导留言
    selectByGuidance: function (data) {
      return httpRequest.get('doctor/specialist/rehabilitation/selectByGuidance', { data: data })
    },
    // 远程协诊
    appointmentConsultation: function (data) {
      return httpRequest.get('doctor/specialist/rehabilitation/appointmentConsultation', { data: data })
    },
    getList: function (data) {
      return httpRequest.get('doctor/specialist/screen/getList', { data: data })
    }
  }
  exports.rehaAPI = rehaAPI
})(window)

+ 73 - 23
app/rehabilitation/html/followRecord.html

@ -196,8 +196,8 @@
          var vm = this
          return {
            takingListChecked: [],
            selectTak:[],
            selectAdverse:[],
            selectTak: [],
            selectAdverse: [],
            adverseEventArr: [],
            docInfo: JSON.parse(localStorage.wlyyAgent),
            badEventListChecked: [],
@ -296,23 +296,6 @@
                },
                smoking: [{ required: true, message: '请选择吸烟情况' }],
                drinking: [{ required: true, message: '请选择饮酒情况' }],
                // taking: {
                //   value: function () {
                //     return _.some(vm.takingList, function (v) {
                //       return v.checkBox === true
                //     })
                //   },
                //   rule: [{ required: true, message: '请选择目前服用药物' }]
                // },
                // drugEffects: {
                //   value: function () {
                //     return _.some(vm.drugEffectsList, function (v) {
                //       return v.checkBox === true
                //     })
                //   },
                //   rule: [{ required: true, message: '请选择药物副作用情况' }]
                // },
                // mace: [{ required: true, message: '请选择是否有不良心血管病事件' }],
                isMoveSuperiorHospital: [{ required: true, message: '请选择是否转诊上级医院' }],
                followHospital: [{ required: true, message: '请输入随访医院' }]
              }
@ -355,19 +338,86 @@
                  vm.$set(vm, 'takingListChecked', res.data.content && res.data.content.takeMedicine.split(','))
                  vm.$set(vm, 'adverseEventArr', res.data.content && res.data.content.adverseEvent.split(','))
                  vm.flag = '2'
                  vm.selectTak=vm.takingListChecked.map(function(index){
                    vm.takingList[index].index=index
                  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
                  vm.selectAdverse = vm.adverseEventArr.map(function (index) {
                    vm.badEventList1[index].index = index
                    return vm.badEventList1[index]
                  })
                  // vm.getInitData()
                }
                console.log(vm.form, '122222222222', vm.selectTak, vm.selectAdverse)
              }
            })
          },
          getInitData() {
            var vm = this
            httpRequest.get('doctor/screen/physicalList', { data: { patient: vm.serviceInfo.patient } }).then(function (res) {
              var data = res.data
              if (res.status == 200 && data) {
                if (data.height) {
                  vm.form.height = data.height + ''
                }
                if (data.weight) {
                  vm.form.weight = data.weight + ''
                }
                if (data.bmi) {
                  vm.form.bmi = data.bmi + ''
                }
                if (data.systolicPressure) {
                  vm.form.systolicPressure = data.systolicPressure + ''
                }
                if (data.diastolicPressure) {
                  vm.form.diastolicPressure = data.diastolicPressure + ''
                }
                if (data.totalCholesterol) {
                  vm.form.totalCholesterol = data.totalCholesterol + ''
                }
                if (data.HDL) {
                  vm.form.hdlc = data.HDL + ''
                }
                if (data.AMI) {
                  vm.form.myocardialInfarct = data.AMI == '1' ? '1' : '0'
                }
                if (data.CerebralIschemicStroke) {
                  vm.form.ischemicStroke = data.CerebralIschemicStroke == '1' ? '1' : '0'
                }
                if (data.hypertension) {
                  vm.form.hypertension = data.hypertension == '1' ? '1' : '0'
                }
                if (data.Diabetes) {
                  vm.form.diabetes = data.Diabetes == '1' ? '1' : '0'
                }
                if (data.smoke || data.smoke == '0') {
                  vm.form.smoke = data.smoke + ''
                }
              }
              httpRequest.get('doctor/screen/checkUpList', { data: { patient: vm.serviceInfo.patient } }).then(function (res) {
                console.log(res)
                var data = res.data
                if (!vm.form.totalCholesterol) {
                  vm.form.totalCholesterol = data.totalCholesterol
                }
                if (!vm.form.hdlc) {
                  vm.form.hdlc = data.hdlc
                }
                if (!vm.form.ldlc) {
                  vm.form.ldlc = data.ldlc
                }
                if (!vm.form.systolicPressure) {
                  vm.form.systolicPressure = data.systolicPressure
                }
                if (!vm.diastolicPressure) {
                  vm.form.diastolicPressure = data.diastolicPressure
                }
              })
            })
          },
          getFollowup: function (code) {
            var vm = this
            httpRequest.get('doctor/followup/getFollowup', { data: { id: code } }).then(function (res) {

+ 12 - 2
app/rehabilitation/html/guide_the_message.html

@ -174,7 +174,10 @@
              v-if="service.type==6 && service.status!=1 && service.operate==1 && service.isMyTask==1"
              @click="openFollowRecordForm"
              style="width: auto">
              记录随访表单
              记录随访表单1
            </button>
            <button class="btn btn-12b7f5" v-if="service.type==6 && service.status!=1 && service.operate==1 && service.isMyTask==1" @click="sendDx" style="width: auto">
              发送消息提醒
            </button>
            <button class="btn btn-12b7f5" v-if="service.type==6 && service.status==1" @click="openFollowRecordForm" style="width: auto">查看随访结果</button>
            <button
@ -241,7 +244,7 @@
              v-if="service.type==6 && service.recordStatus!=1 && service.isMyTask==1 && service.operate==1"
              @click="openFollowRecordForm"
              style="width: auto">
              记录随访表单
              记录随访表单2
            </button>
            <button class="btn btn-12b7f5" v-if="service.type==6 && service.recordStatus==1" @click="qwapp" style="width: auto">查看随访结果</button>
          </div>
@ -363,6 +366,13 @@
          <button class="btn btn-zhidao" @click="qrwc(service.patient,service.type)">确认完成</button>
        </div>
      </div>
      <el-dialog title="消息提醒" :visible.sync="messageVisible" @close="closeMessageDialog" width="540px">
        <div v-html="messTxt"></div>
        <span slot="footer" class="dialog-footer">
          <el-button @click="messageVisible = false">取消</el-button>
          <el-button type="primary" @click="messageWarn">确定</el-button>
        </span>
      </el-dialog>
    </div>
    <script type="text/javascript" src="../../../js/vue.js"></script>
    <script type="text/javascript" src="../../../js/jquery-2.2.4.js"></script>

+ 26 - 1
app/rehabilitation/js/guide_the_message.js

@ -62,7 +62,9 @@ top.rehabilitationGuideVue = new Vue({
    patientName: decodeURI(httpData['patientName']),
    layerIndex: undefined,
    recordId: httpData['recordId'] || undefined,
    islimit: false
    islimit: false,
    messageVisible: false,
    messTxt: ''
  },
  watch: {
    appointDate: function () {
@ -77,6 +79,29 @@ top.rehabilitationGuideVue = new Vue({
    this.getServiceItem()
  },
  methods: {
    sendDx() {
      console.log(this.service, 'ooooooooooooo')
      var vm = this
      rehaAPI.getSurveyMessage({ surveyResultCode: this.service.planId, type: 2 }).then(function (res) {
        vm.messageVisible = true
        vm.messTxt = res.data
      })
    },
    messageWarn() {
      var loading = layer.load(0, { shade: false })
      rehaAPI.sendFollowMessage({}).then(function (res) {
        if (res.status == 200) {
          setTimeout(function () {
            vm.getServiceItem()
            this.messageVisible = false
          }, 400)
        }
      })
      layer.close(loading)
    },
    closeMessageDialog() {
      this.messageVisible = false
    },
    // 提醒患者 num 1康复指导2康复下转3复诊提醒4上门服务提醒5家签提醒
    sendSpecialistWeixinMessage: function (type) {
      var vm = this

+ 7 - 11
app/statistics/html/comprehensive-query.html

@ -136,8 +136,7 @@
              </div>
            </div>
            <div class="ui-col-1 bgc-fff p20" style="min-width: 900px">
              <template
                v-if="componentId.indexOf(handleNodeId)==-1">
              <template v-if="componentId.indexOf(handleNodeId)==-1">
                <div class="searchDiv" v-if="tabsId!=5">
                  <template v-if="handleNodeId!=44&&expertFamilyIdType != 'zhuanke1'&&handleNodeId!=45">
                    <el-radio v-model="radio" label="1">按签约年度:</el-radio>
@ -145,9 +144,7 @@
                      <el-option v-for="(item , index) in years" :key="index" :label="item" :value="item"></el-option>
                    </el-select>
                  </template>
                  <el-radio v-model="radio" label="2">
                    {{expertFamilyIdType == 'zhuanke1' || handleNodeId == 45 ? '邀请时间:' : '创建时间:'}}
                  </el-radio>
                  <el-radio v-model="radio" label="2">{{expertFamilyIdType == 'zhuanke1' || handleNodeId == 45 ? '邀请时间:' : '创建时间:'}}</el-radio>
                  <el-date-picker
                    v-model="start"
                    type="date"
@ -488,8 +485,7 @@
              </template>
              <div class="searchDiv mt10" v-if="tabsId!=5">
                <template
                v-if="componentId.indexOf(handleNodeId)==-1">
                <template v-if="componentId.indexOf(handleNodeId)==-1">
                  <label class="c-333 c-f14" for="">数据范围:</label>
                  <el-select v-model="rangeCode" style="width: 100px" class="pr10">
                    <el-option v-for="(item , index) in rangeList" :key="index" :label="item.name" :value="item.code"></el-option>
@ -512,8 +508,7 @@
                    <el-option v-for="(item , index) in specHosList" :key="index" :label="item.name" :value="item.code"></el-option>
                  </el-select>
                </template>
                <template
                  v-if="componentId.indexOf(handleNodeId)==-1">
                <template v-if="componentId.indexOf(handleNodeId)==-1">
                  <el-button type="primary" size="mini" @click="searchHandle(true)">查询</el-button>
                  <el-button type="ff9526" size="mini" @click="exportHandle">导出</el-button>
                  <span class="eliminate" @click="eliminateClick">清除筛选条件</span>
@ -829,6 +824,7 @@
                  <follow-detail v-if="handleNodeId == 86"></follow-detail>
                  <turndown-detail v-if="handleNodeId == 87"></turndown-detail>
                  <reservation-situation v-if="handleNodeId == 88"></reservation-situation>
                  <xx-situation v-if="handleNodeId == 89"></xx-situation>
                </div>
                <div v-if="handleNodeShow == 3">
                  <el-table v-if="collectCode == 1" border :data="diseaseReport" style="width: 100%" v-loading="loadingTwo" class="mt20">
@ -879,8 +875,7 @@
                  </el-table>
                </div>
                <template
                  v-if="componentId.indexOf(handleNodeId)==-1">
                <template v-if="componentId.indexOf(handleNodeId)==-1">
                  <div class="c-t-right mt20">
                    <el-pagination
                      @current-change="handleCurrentChange"
@ -953,6 +948,7 @@
    <script src="../../../component/statistics/GxbManage/index.js" type="text/javascript" charset="utf-8"></script>
    <script src="../../../component/statistics/SignSituation/index.js" type="text/javascript" charset="utf-8"></script>
    <script src="../../../component/statistics/JzSituation/index.js" type="text/javascript" charset="utf-8"></script>
    <script src="../../../component/statistics/XiaoXiMx/index.js" type="text/javascript" charset="utf-8"></script>
    <script src="../../../component/statistics/TurndownAnalysis/index.js" type="text/javascript" charset="utf-8"></script>
    <script src="../../../component/statistics/FollowRecord/index.js" type="text/javascript" charset="utf-8"></script>
    <script src="../../../component/statistics/FollowDetail/index.js" type="text/javascript" charset="utf-8"></script>

+ 3 - 2
app/statistics/js/comprehensive-query.js

@ -187,7 +187,8 @@ new Vue({
      { label: '康复随访记录', id: '85' },
      { label: '康复随访详情', id: '86' },
      { label: '康复下转明细', id: '87' },
      { label: '居民预约情况明细', id: '88' }
      { label: '居民预约情况明细', id: '88' },
      { label: '消息推送明细', id: '89' }
    ],
    copdFilterCheckValue: [],
    handleNodeShow: 1,
@ -612,7 +613,7 @@ new Vue({
    this.s = this.startTime.format('yyyy-MM-dd')
    this.e = this.endTime.format('yyyy-MM-dd')
    this.list.unshift({ type: '0', id: 'time', label: this.s + '~' + this.e })
    for (var i = 46; i <= 88; i++) {
    for (var i = 46; i <= 89; i++) {
      this.componentId.push(i + '')
    }
  },

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

@ -55,19 +55,14 @@ Vue.component('gxb-cy', {
          label: '随访1',
          children: [
            {
              label: '已登记人数',
              label: '应发送消息人次',
              prop: 'v1Num',
              width: '100'
              width: '130'
            },
            {
              label: '已达标人数',
              label: '已发送消息人次',
              prop: 'vd1Num',
              width: '100'
            },
            {
              label: '达标率',
              prop: 'v1Rate',
              width: '100'
              width: '130'
            }
          ]
        },
@ -95,19 +90,14 @@ Vue.component('gxb-cy', {
          label: '随访3',
          children: [
            {
              label: '已登记人数',
              label: '应发送消息人次',
              prop: 'v3Num',
              width: '100'
              width: '130'
            },
            {
              label: '已达标人数',
              label: '已发送消息人次',
              prop: 'vd3Num',
              width: '100'
            },
            {
              label: '达标率',
              prop: 'v3Rate',
              width: '100'
              width: '130'
            }
          ]
        },

+ 2 - 1
component/statistics/GxbEvaluation/index.js

@ -59,6 +59,7 @@ Vue.component('gxb-evaluation', {
        { label: '超高危次数', prop: 'ehRiskTimes', width: '110' },
        { label: '上转人次', prop: 'turnUpNum', width: '110' },
        { label: '消息提醒人次', prop: 'messageTimes', width: '110' },
        { label: '消息提醒人次', prop: 'hosFollowNum', width: '110' },
        { label: '社区随访人次', prop: 'hosFollowNum', width: '110' }
      ],
      page: 1,
@ -111,7 +112,7 @@ Vue.component('gxb-evaluation', {
      var vm = this
      var now = new Date()
      var nowyear = vm.chooseYear = now.getFullYear()
      var nowyear = (vm.chooseYear = now.getFullYear())
      vm.years = []
      for (i = nowyear; i >= 2013; i--) {
        vm.years.push(i)

+ 5 - 37
component/statistics/JzSituation/index.html

@ -23,44 +23,12 @@
      </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>
      <label class="c-333 c-f14">身份证号:</label>
      <el-input v-model="idcard" placeholder="请输入居民身份证号查询"></el-input>
    </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">
        <el-option v-for="(option, index) in rangeOptions" :label="option.label" :value="option.value" :key="option.value"></el-option>
      </el-select>
    </div>
    <div class="searchDiv pb20 pr20">
      <label class="c-333 c-f14">地区:</label>
      <el-select class="formWidth" v-model="form.area" placeholder="请选择" @change="getHospital">
        <el-option v-for="(option, index) in areaOptions" :label="option.label" :value="option.value" :key="option.value"></el-option>
      </el-select>
    </div>
    <div class="searchDiv pb20 pr20" v-if="form.range == 'hospital'||form.range == 'team'">
      <label class="c-333 c-f14">社区:</label>
      <el-select class="formWidth" v-model="form.hospital" placeholder="请选择" @change="getTeam">
        <el-option v-for="(option, index) in hospitalOptions" :label="option.name" :value="option.code" :key="option.code"></el-option>
      </el-select>
    </div>
    <div class="searchDiv pb20 pr20" v-if="form.range == 'team'">
      <label class="c-333 c-f14">团队:</label>
      <el-select class="formWidth" v-model="form.team" placeholder="请选择">
        <el-option v-for="(option, index) in teamOptions" :label="option.name" :value="option.id" :key="option.id"></el-option>
      </el-select>
      <label class="c-333 c-f14">就诊卡号:</label>
      <el-input v-model="cardNo" placeholder="请输入居民就诊卡号查询"></el-input>
    </div>
    <div class="searchDiv pb20">
      <el-button type="primary" size="mini" @click="queryDate">查询</el-button>
@ -68,7 +36,7 @@
      <span class="eliminate" @click="eliminateClick">清除筛选条件</span>
    </div>
  </div>
  <el-table :data="tableData" style="width: 100%" v-loading="loading">
  <el-table :data="tableData" style="width: 100%" v-loading="loading" empty-text="请输入患者身份证号或医保卡号进行查询">
    <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">
      <template slot-scope="scope">{{scope.row[item.prop]}}</template>

+ 66 - 53
component/statistics/JzSituation/index.js

@ -35,6 +35,8 @@ Vue.component('jz-situation', {
      ],
      hospitalOptions: [],
      teamOptions: [],
      idcard: '',
      cardNo: '',
      form: {
        range: 'town'
      },
@ -42,19 +44,15 @@ Vue.component('jz-situation', {
      exportLoading: false,
      tableData: [],
      tableHeader: [
        { label: '居民', prop: 'name', width: '110' },
        { label: '就诊卡', prop: 'totalTimes', width: '90' },
        { label: '身份证', prop: '1', width: '90' },
        { label: '手机号', prop: '2 ', width: '110' },
        { label: '地址', prop: '3', width: '110' },
        { label: '是否签约', prop: '4', width: '110' },
        { label: '社区名称', prop: '5', 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' },
        { label: '费用总和', prop: '6', width: '110' },
        { label: '患者姓名', prop: 'name', width: '110' },
        { label: '身份证号', prop: 'idcard', width: '110' },
        { label: '医保卡号', prop: 'cardNo', width: '110' },
        { label: '就诊医院', prop: 'orgName', width: '170' },
        { label: '就诊科室', prop: 'outpatientDeptName', width: '110' },
        { label: '诊断名称', prop: 'icd10Name', width: '110' },
        { label: '就诊类型', prop: 'outpatientTypeName', width: '110' },
        { label: '就诊时间', prop: 'outpatientTime', width: '110' },
        { label: '就诊流水号', prop: 'MedicalNumber', width: '110' }
      ],
      page: 1,
      size: 10,
@ -99,7 +97,7 @@ Vue.component('jz-situation', {
        this.getTeam(selectedRole.code)
      }
      this.initTime()
      this.getList()
      // this.getList()
    },
    initTime() {
      var vm = this
@ -124,32 +122,40 @@ Vue.component('jz-situation', {
      }
    },
    getList() {
      return
      var vm = this
      this.loading = true
      var params = {
        ...this.form,
        page: this.page,
        pageSize: this.size
      }
      if (this.yearType == '1') {
        params.startDate = this.chooseYear + '-01-01'
        params.endDate = this.chooseYear + '-12-31'
      } else {
        if (this.chooseTime) {
          params.startDate = this.chooseTime[0]
          params.endDate = this.chooseTime[1]
      if (this.idcard || this.cardNo) {
        var params = {
          cardNo: this.cardNo,
          idcard: this.idcard,
          page: this.page,
          pageSize: this.size
        }
      }
      httpRequest.get('statistics/collaborate/signInfoStatistics', { data: params }).then(function (res) {
        if (res.status == 200) {
          vm.tableData = res.detailModelList
          vm.total = res.totalCount
        if (this.yearType == '1') {
          params.startDate = this.chooseYear + '-01-01'
          params.endDate = this.chooseYear + '-12-31'
        } else {
          if (this.chooseTime) {
            params.startDate = this.chooseTime[0]
            params.endDate = this.chooseTime[1]
          }
        }
        vm.loading = false
      })
        httpRequest.get('statistics/collaborate/outPatientList', { data: params }).then(function (res) {
          if (res.status == 200) {
            vm.tableData = res.detailModelList
            if (res.detailModelList.length == 0) {
              vm.$message.warning('暂无数据!')
            }
            vm.total = res.totalCount
          }
          vm.loading = false
        })
      } else {
        this.$message.warning('请输入患者身份证或医保卡号进行查询!')
        this.loading = false
        return false
      }
    },
    queryDate() {
      this.page = 1
@ -157,31 +163,38 @@ Vue.component('jz-situation', {
    },
    exportTable() {
      var vm = this
      var params = {
        ...this.form,
        page: this.page,
        pageSize: this.size
      }
      if (this.yearType == '1') {
        params.startDate = this.chooseYear + '-01-01 00:00'
        params.endDate = this.chooseYear + '-12-31 23:59'
      } else {
        if (this.chooseTime) {
          params.startDate = this.chooseTime[0] + ' 00:00'
          params.endDate = this.chooseTime[1] + ' 23:59'
      if (this.idcard || this.cardNo) {
        var params = {
          cardNo: this.cardNo,
          idcard: this.idcard
        }
        if (this.yearType == '1') {
          params.startDate = this.chooseYear + '-01-01 00:00'
          params.endDate = this.chooseYear + '-12-31 23:59'
        } else {
          if (this.chooseTime) {
            params.startDate = this.chooseTime[0] + ' 00:00'
            params.endDate = this.chooseTime[1] + ' 23:59'
          }
        }
        this.exportLoading = true
        var fileName = `冠心病就诊记录表.xls`
        httpRequest.downLoadFileForAjax('statistics/collaborate/exportOutPatientList', fileName, params).then(function () {
          vm.exportLoading = false
        })
      } else {
        this.$message.warning('请输入患者身份证或医保卡号进行导出!')
        this.loading = false
        return false
      }
      this.exportLoading = true
      var fileName = `冠心病门诊下转统计表${new Date().getTime()}.xls`
      httpRequest.downLoadFileForAjax('statistics/collaborate/exportSignInfoStatistics', fileName, params).then(function () {
        vm.exportLoading = false
      })
    },
    eliminateClick() {
      this.resetArea()
      this.yearType = '1'
      this.chooseYear = new Date().getFullYear()
      this.chooseTime = null
      this.idcard = ''
      this.cardNo = ''
      this.$forceUpdate()
    },
    getHospital(code) {

+ 76 - 0
component/statistics/XiaoXiMx/index.html

@ -0,0 +1,76 @@
<div id="app">
  <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-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>
      </label>
    </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-date-picker
          v-model="chooseTime"
          type="daterange"
          range-separator="至"
          start-placeholder="开始日期"
          end-placeholder="结束日期"
          value-format="yyyy-MM-dd"></el-date-picker>
      </label>
    </div>
    <div class="searchDiv pb20 pr20">
      <label class="c-333 c-f14" style="width: 100px">居民姓名:</label>
      <el-input v-model="paramsObj.name" placeholder="请输入居民姓名查询"></el-input>
    </div>
    <div class="searchDiv pb20 pr20">
      <label class="c-333 c-f14" style="width: 100px">签约医院:</label>
      <el-input v-model="paramsObj.hospitalName" placeholder="请输入签约医院查询"></el-input>
    </div>
    <div class="searchDiv pb20 pr20">
      <label class="c-333 c-f14" style="width: 100px">签约医生:</label>
      <el-input v-model="paramsObj.signDoctorName" placeholder="请输入签约医生查询"></el-input>
    </div>
    <div class="searchDiv pb20 pr20">
      <label class="c-333 c-f14" style="width: 100px">提醒类型:</label>
      <!-- <el-input v-model="form.name" placeholder="请输入提醒类型查询"></el-input> -->
      <el-select v-model="paramsObj.type" class="formWidth wd160">
        <el-option label="全部" value=""></el-option>
        <el-option label="筛查提醒" value="1"></el-option>
        <el-option label="复诊提醒" value="2"></el-option>
      </el-select>
    </div>
    <div class="searchDiv pb20">
      <el-button type="primary" size="mini" @click="queryDate">查询</el-button>
      <el-button type="ff9526" size="mini" @click="exportTable" :disabled="exportLoading">导出</el-button>
      <span class="eliminate" @click="eliminateClick">清除筛选条件</span>
    </div>
  </div>
  <el-table :data="tableData" style="width: 100%" v-loading="loading" empty-text="暂无数据">
    <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">
      <template slot-scope="scope">{{scope.row[item.prop]}}</template>
    </el-table-column>
    <el-table-column label="操作" align="center">
      <template slot-scope="scope">
        <el-button @click="showInfo(scope.row)" type="text" size="small">查看</el-button>
      </template>
    </el-table-column>
  </el-table>
  <el-dialog title="消息提醒内容" :visible.sync="messageVisible" @close="closeMessageDialog" width="540px">
    <div v-html="messTxt"></div>
    <span slot="footer" class="dialog-footer">
      <el-button @click="messageVisible = false">取消</el-button>
    </span>
  </el-dialog>
  <el-pagination
    @current-change="handleCurrentChange"
    @size-change="handleSizeChange"
    :current-page.sync="page"
    :page-size="size"
    :page-sizes="[10, 20, 50]"
    layout="total, sizes, prev, pager, next, jumper"
    :total="total"
    class="pagination"></el-pagination>
</div>

+ 234 - 0
component/statistics/XiaoXiMx/index.js

@ -0,0 +1,234 @@
var template = ''
$.ajax('../../../component/statistics/XiaoXiMx/index.html', {
  data: {},
  dataType: 'html',
  cache: false,
  timeout: 60000,
  async: false,
  error: function (res) {},
  success: function (res) {
    template = res
  }
})
Vue.component('xx-situation', {
  template: template,
  props: [],
  data: function () {
    return {
      years: [],
      yearType: '1',
      chooseYear: null,
      chooseTime: null,
      rangeOptions: [
        { label: '区', value: 'town' },
        { label: '医院', value: 'hospital' },
        { label: '团队', value: 'team' }
      ],
      areaOptions: [
        { label: '思明区', value: '350203' },
        { label: '海沧区', value: '350205' },
        { label: '湖里区', value: '350206' },
        { label: '集美区', value: '350211' },
        { label: '同安区', value: '350212' },
        { label: '翔安区', value: '350213' }
      ],
      hospitalOptions: [],
      teamOptions: [],
      form: {
        range: 'town'
      },
      loading: false,
      exportLoading: false,
      tableData: [],
      tableHeader: [
        { label: '患者姓名', prop: 'patientName', width: '110' },
        { label: '身份证号', prop: 'idcard ', width: '110' },
        { label: '签约医院', prop: 'hospitalName', width: '180' },
        { label: '签约医生', prop: 'doctorName', width: '110' },
        { label: '提醒类型', prop: 'type', width: '110' },
        { label: '消息推送时间', prop: 'createTime', width: '110' },
        { label: '出院下转时间', prop: 'turnTime', width: '110' },
        { label: '消息推送人', prop: 'senderName', width: '110' }
      ],
      page: 1,
      size: 10,
      total: 0,
      level: 0,
      messageVisible: false,
      messTxt: '',
      paramsObj: {
        name: '',
        type: '',
        signDoctorName: '',
        hospitalName: ''
      }
    }
  },
  methods: {
    closeMessageDialog() {
      this.messageVisible = false
    },
    init() {
      var selectedRole = JSON.parse(sessionStorage.getItem('selectedRole'))
      if (selectedRole.code.indexOf('350200') > -1) {
        this.level = 1 //  市卫健委
        this.areaOptions = [
          { label: '思明区', value: '350203' },
          { label: '海沧区', value: '350205' },
          { label: '湖里区', value: '350206' },
          { label: '集美区', value: '350211' },
          { label: '同安区', value: '350212' },
          { label: '翔安区', value: '350213' }
        ]
      } else if (selectedRole.code.length == 6) {
        this.level = 2 // 区管理
        this.areaOptions = [{ label: selectedRole.name.substring(0, 3), value: selectedRole.code }]
        this.form = {
          range: 'town',
          area: selectedRole.code
        }
        this.getHospital(selectedRole.code)
      } else {
        this.level = 3 // 社区管理
        this.rangeOptions = [
          { label: '医院', value: 'hospital' },
          { label: '团队', value: 'team' }
        ]
        this.areaOptions = [{ label: selectedRole.name.substring(0, 3), value: selectedRole.code }]
        this.hospital = [{ label: selectedRole.name, value: selectedRole.code }]
        this.form = {
          range: 'hospital',
          area: selectedRole.code.substring(0, 6),
          hospital: selectedRole.code
        }
        this.getTeam(selectedRole.code)
      }
      this.initTime()
      this.getList()
    },
    initTime() {
      var vm = this
      var now = new Date()
      vm.nowyear = vm.chooseYear = now.getFullYear()
      vm.years = []
      for (i = vm.nowyear; i >= 2013; i--) {
        vm.years.push(i)
      }
    },
    resetArea() {
      if (this.level == 1) {
        delete this.form.area
        delete this.form.hospital
        delete this.form.team
      } else if (this.level == 2) {
        delete this.form.hospital
        delete this.form.team
      } else {
        delete this.form.team
      }
    },
    getList() {
      var vm = this
      this.loading = true
      var params = {
        ...this.paramsObj,
        page: this.page,
        size: this.size
      }
      if (this.yearType == '1') {
        params.startDate = this.chooseYear + '-01-01'
        params.endDate = this.chooseYear + '-12-31'
      } else {
        if (this.chooseTime) {
          params.startDate = this.chooseTime[0]
          params.endDate = this.chooseTime[1]
        }
      }
      httpRequest.get('statistics/collaborate/selectSmsInfoList', { data: params }).then(function (res) {
        if (res.status == 200) {
          vm.tableData = res.detailModelList
          vm.total = res.totalCount
        }
        vm.loading = false
      })
    },
    queryDate() {
      this.page = 1
      this.getList()
    },
    exportTable() {
      var vm = this
      var params = {
        ...this.paramsObj
      }
      if (this.yearType == '1') {
        params.startDate = this.chooseYear + '-01-01 00:00'
        params.endDate = this.chooseYear + '-12-31 23:59'
      } else {
        if (this.chooseTime) {
          params.startDate = this.chooseTime[0] + ' 00:00'
          params.endDate = this.chooseTime[1] + ' 23:59'
        }
      }
      this.exportLoading = true
      var fileName = `消息推送明细.xls`
      httpRequest.downLoadFileForAjax('statistics/collaborate/exportSelectSmsInfoList', fileName, params).then(function () {
        vm.exportLoading = false
      })
    },
    showInfo(item) {
      this.messTxt = item.content
      this.messageVisible = true
    },
    eliminateClick() {
      this.resetArea()
      this.yearType = '1'
      this.paramsObj = {
        name: '',
        type: '',
        signDoctorName: '',
        hospitalName: ''
      }
      this.chooseYear = new Date().getFullYear()
      this.chooseTime = null
      this.$forceUpdate()
    },
    getHospital(code) {
      var vm = this
      delete this.form.hospital
      delete this.form.team
      var params = {
        type: 5,
        code: code
      }
      httpRequest.post('common/district', { data: params }).then(function (res) {
        vm.hospitalOptions = res.list
      })
    },
    getTeam(code) {
      var vm = this
      delete this.form.team
      var params = {
        hospital: code
      }
      httpRequest.get('statisticsExport/teamList', { data: params }).then(function (res) {
        vm.teamOptions = res.data
      })
    },
    handleCurrentChange(val) {
      this.page = val
      this.getList()
    },
    handleSizeChange(val) {
      this.size = val
      this.getList()
    }
  },
  mounted() {
    this.init()
  }
})