hd 3 kuukautta sitten
vanhempi
commit
5ae125909c

+ 1 - 1
app/consulting/html/consulting.html

@ -33,7 +33,7 @@
		    </div>
		    <div class="input-panel">
		        <div class="action-panel">
		            <span class="consult-icon icon-image" @click="file_head.click()"></span>
		            <span class="consult-icon icon-image" @click="uploadImage"></span>
		            <input type="file" class="hidden" id="file_head" accept="image/*">
		        </div>
		        <div id="input_content" type="text" class="input-msg width-100" ></div>

+ 3 - 0
app/consulting/js/consulting.js

@ -118,6 +118,9 @@ new Vue({
		        }
		    });
		},
		uploadImage(){
			$('#file_head').click()
		},
		bindEvents:function(){
			var vm = this;
			

+ 5 - 1
app/rehabilitation/css/health_control.css

@ -164,6 +164,10 @@ li {
    font-size: 14px;
    color: #999999;
}
.table-header{
    display: flex;
    justify-content: space-around;
}
.quote {
    width: 4px;
@ -264,7 +268,7 @@ li {
.dataa {
    width: 500px;
    width: 550px;
    justify-content: space-between;
}

+ 4 - 4
app/rehabilitation/html/followRecord.html

@ -420,10 +420,10 @@
              layer.msg('请选择目前服用药物')
              return Promise.reject()
            }
            if (vm.adverseEventArr.length == 0) {
              layer.msg('请选择不良事件种类')
              return Promise.reject()
            }
            // if (vm.adverseEventArr.length == 0) {
            //   layer.msg('请选择不良事件种类')
            //   return Promise.reject()
            // }
            var loadding = top.layer.load(0, { shade: false }) //0代表加载的风格,支持0-2
            var positiveSignsarr = []
            var takeMedicinearr = []

+ 8 - 8
app/rehabilitation/html/guide_the_message.html

@ -163,29 +163,29 @@
          <!-- selectCheckTyperadio 0 线下复诊 1远程协诊 2线上复诊 -->
          <div v-if="islimit&&service.planStatus!=0" class="flex-box btns-group clearfix" style="position: relative">
            <!-- 限制频次 -->
            <button class="btn btn-yuyue" v-if="service.type==4 && service.status!=1" @click="sendSpecialistWeixinMessage(4)">提醒患者</button>
            <button class="btn btn-12b7f5" v-if="service.type==4 && service.status!=1" @click="toDoorDialog">代预约</button>
            <button class="btn btn-yuyue" v-if="service.type==5 && service.status!=1" @click="kfzd()">发送指导</button>
            <button class="btn btn-yuyue" v-if="service.type==6 && service.status!=1&& service.operate==0" @click="sfjh()" style="width: auto">
            <button class="btn btn-yuyue" v-if="service.type==4 && service.status!=1 && service.isMyTask==1" @click="sendSpecialistWeixinMessage(4)">提醒患者</button>
            <button class="btn btn-12b7f5" v-if="service.type==4 && service.status!=1 && service.isMyTask==1" @click="toDoorDialog">代预约</button>
            <button class="btn btn-yuyue" v-if="service.type==5 && service.status!=1 && service.isMyTask==1" @click="kfzd()">发送指导</button>
            <button class="btn btn-yuyue" v-if="service.type==6 && service.status!=1&& service.operate==0 && service.isMyTask==1" @click="sfjh()" style="width: auto">
              创建随访计划
            </button>
            <button
              class="btn btn-12b7f5"
              v-if="service.type==6 && service.status!=1 && service.operate==1"
              v-if="service.type==6 && service.status!=1 && service.operate==1 && service.isMyTask==1"
              @click="openFollowRecordForm"
              style="width: auto">
              记录随访表单
            </button>
            <button class="btn btn-12b7f5" v-if="service.type==6 && service.status==1" @click="openFollowRecordForm" style="width: auto">查看随访结果</button>
            <button class="btn btn-12b7f5" v-if="service.type==6 && service.status==1 && service.isMyTask==1" @click="openFollowRecordForm" style="width: auto">查看随访结果</button>
            <button
              class="btn btn-yuyue"
              v-if="service.type==7 && service.status!=1 && selectCheckTyperadio!=1 && !service.appointmentTime"
              v-if="service.type==7 && service.status!=1 && selectCheckTyperadio!=1 && !service.appointmentTime && service.isMyTask==1"
              @click="sendSpecialistWeixinMessage(7)">
              提醒患者
            </button>
            <button
              class="btn btn-12b7f5"
              v-if="service.type==7 && service.status!=1 && selectCheckTyperadio==0 && !service.appointmentTime"
              v-if="service.type==7 && service.status!=1 && selectCheckTyperadio==0 && !service.appointmentTime && service.isMyTask==1"
              @click="rehabilitationReservation()">
              代预约
            </button>

+ 9 - 2
app/rehabilitation/html/health_control.html

@ -17,6 +17,8 @@
    <link rel="stylesheet" href="../../../plugins/layui-v2.3.0/layui/css/layui.css">
    <link href="../../../plugins/toastr/toastr.min.css" rel="stylesheet">
    <link rel="stylesheet" href="../css/health_control.css">
    <link rel="stylesheet" type="text/css" href="../../../css/element-ui.css" />
</head>
<body>
    <div id="app" v-cloak>
@ -76,10 +78,10 @@
            </div>
        </div>
        <div class="neirong2">
            <ul class="c-blocks-4 ul">
            <ul class="table-header ul">
                <li>患者信息</li>
                <li>计划信息</li>
                <li>&nbsp;</li>
                <!-- <li>&nbsp;</li> -->
                <li>操作</li>
            </ul>
            <!-- table -->
@ -96,6 +98,10 @@
                                    <br><span :id="'hospitalName_'+data.id" style="font-size: 14px;color: #999999;">{{data.hospitalName}}</span></p>
                                <p class="biaoqian" :id="'quote_'+data.id">
                                    <span class="span"></span> <span>{{data.healthyCondition}}</span>
                                </p>
                                <p class="biaoqian">
                                    <span class="span"></span>
                                    <span>{{getTurnDownName(data.turnDownState)}}</span>
                                </p>
								<p><div class="recoveryLabel" v-if="data.changeStatus">{{data.changeStatus==1?'签约医生变更':data.changeStatus==2?'签约社区变更':data.changeStatus==3?'签约过期':data.changeStatus==4?'已解约':'已死亡'}}</div></p>
                            </div>
@ -159,6 +165,7 @@
    <script src="../../../api/http-request.js"></script>
    <script src="../../../api/healthy-control-api.js"></script>
    <script src="../js/health_control.js"></script>
    <script src="../../../js/element-ui.js" type="text/javascript" charset="utf-8"></script>
   
</body>

+ 25 - 7
app/rehabilitation/js/health_control.js

@ -263,7 +263,6 @@ layui.use('element', function () {
        }
        healthAPI.getSpecialList(params).then(function (res) {
          console.log(res)
          if (res.status == 200) {
            vm.wujilu = false
            vm.total = res.data.totalCount
@ -334,7 +333,6 @@ layui.use('element', function () {
        })
        healthAPI.getSpecialDisease().then(function (res) {
          if (res.status == 200) {
            console.log(res)
            var data = {}
            data.value = _.map(res.data, function (v) {
              return {
@ -375,7 +373,6 @@ layui.use('element', function () {
        vm.isTotayTodo = $('#c').prop('checked') ? 1 : 2
        $('.icon-chkbox').toggleClass('icon-bgchkbox')
        vm.currentPage = page
        console.log(vm.currentPage)
        vm.getDatas()
      },
      morePlan: function (data) {
@ -392,10 +389,23 @@ layui.use('element', function () {
      },
      checkPlan: function (data) {
        var vm = this
        console.log('../../rehabilitation/html/rehabilitation_management.html?planId=' + data.id + '&patientCode=' + data.patientCode)
        // return
        location.href = '../../rehabilitation/html/rehabilitation_management.html?planId=' + data.id + '&patientCode=' + data.patientCode
        if (this.doctorType == 1 || data.turnDownState == 2) {
          location.href = '../../rehabilitation/html/rehabilitation_management.html?planId=' + data.id + '&patientCode=' + data.patientCode
        } else {
          this.$confirm('是否确认管理', '提示', {
            confirmButtonText: '确定',
            cancelButtonText: '取消',
            type: 'warning'
          })
            .then(function () {
              httpRequest.post('doctor/specialist/rehabilitation/manageAllPlanByPatient', { data: { patient: data.patientCode } }).then(function (res) {
                if (res.status == 200) {
                  location.href = '../../rehabilitation/html/rehabilitation_management.html?planId=' + data.id + '&patientCode=' + data.patientCode
                }
              })
            })
            .catch(function () {})
        }
      },
      modelControl: function () {
        location.href = '../../rehabilitation/html/management.html'
@ -419,6 +429,14 @@ layui.use('element', function () {
      },
      recoveryPlan: function (data) {
        location.href = '../../recover/html/personal-manage.html?patientCode=' + data.patientCode + '&planId=' + data.id
      },
      getTurnDownName(turnDown) {
        var obj = {
          1: '已下转',
          2: '已接收',
          3: '未下转'
        }
        return obj[turnDown]
      }
    }
  })

+ 2 - 0
app/rehabilitation/js/service_item_content.js

@ -130,6 +130,8 @@ methods:{
		this.curDetailId = o.planDetaiId
	},
	clickItem:function(service){
		console.log(httpData.disease=='3');
		
		var vm=this
		var age=service.age=='0'?'':service.age
		if(httpData.disease=='3'&&httpData.scLenght==0&&service.itemType=='6'&&docInfo.doctorType!='1'){