hd 3 months ago
parent
commit
85813e3e50
2 changed files with 25 additions and 13 deletions
  1. 22 12
      app/jbsc/html/questionnaire.html
  2. 3 1
      app/jbsc/html/statistics.html

+ 22 - 12
app/jbsc/html/questionnaire.html

@ -307,19 +307,29 @@
        },
        methods: {
          getDictData() {
            var vm = this
            httpRequest.post('doctor/patient_label_info/patient', { data: { patient: this.screeningResidents } }).then(function (res) {
              // vm.patientInfo = res.data
              var data = res.data
              vm.answer = {
                belongCommunity: docInfo.hospitalName,
                doctorName: docInfo.name,
                doctorPhoneNo: docInfo.mobile,
                userName: data.name,
                idNoType: '身份证',
                idNo: data.idcard,
                phoneNo: data.mobile,
                age: data.age,
                sex: data.sex + '',
                hujiAddress: data.address,
                hujiAddressJiedao: data.address,
                juzhuAddress: data.address,
                juzhuAddressJiedao: data.address,
                ksDrugName1: [],
                createDate: new Date().format('yyyy-MM-dd hh:mm:ss')
              }
            })
            this.questionList = questionList
            this.answer = {
              belongCommunity: docInfo.hospitalName,
              doctorName: docInfo.name,
              doctorPhoneNo: docInfo.mobile,
              userName: this.screeningResidentsName,
              idNoType: '身份证',
              idNo: this.idCard,
              phoneNo: this.mobile,
              age: this.age,
              sex: this.sex,
              ksDrugName1: []
            }
            var vm = this
            this.dictData.forEach(function (item) {
              jbscAPI.getDictDataByName(item.name).then(function (res) {

+ 3 - 1
app/jbsc/html/statistics.html

@ -329,10 +329,12 @@
              <td style="width: 155px">{{data.czrq}}</td>
              <td style="width: 270px">
				<template v-if="docInfo.level==2">
					<div v-if="data.isAgain==1 && data.isDanger==1">
					<div v-if=" data.isDanger==1">
					<!-- <div v-if="data.isAgain==1 && data.isDanger==1"> -->
					  <div v-if="data.isOrder==1" class="c-12B7F5">已预约</div>
					  <div v-else-if="data.following==0 && data.isOrder==0">
						<span class="btn bgc-FF9630 fl ml10" @click="jkgz(data) " v-if="data.disease!=3">健康跟踪</span>
					  </div>
					  <div v-else-if="data.following==1">
						<span class="btn bgc-2DBE55 fl ml10" @click="jkjy(data)">健康教育</span>