hwy 1 bulan lalu
induk
melakukan
02ee85bfec

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

@ -41,7 +41,7 @@
      margin-left: 0;
    }
    .el-checkbox {
      margin-right: 0;
      margin-right: 10px;
    }
  </style>
  <body>
@ -421,7 +421,7 @@
              return Promise.reject()
            }
            if (vm.adverseEventArr.length == 0) {
              layer.msg('请选择药物副作用情况')
              layer.msg('请选择不良事件种类')
              return Promise.reject()
            }
            var loadding = top.layer.load(0, { shade: false }) //0代表加载的风格,支持0-2

+ 21 - 1
component/rehabilitation/server-items-detail.js

@ -187,6 +187,7 @@ Vue.component('server-items-detail', {
    props: ['patientname','patientcode', 'planid', 'plandetailid'],
    data: function() {
        return {
			scList:[],
			ynow: currentGMT.getFullYear(),//年份
			mnow: currentGMT.getMonth(),//月份(比实际少一个月---0开始至11)
			dnow: currentGMT.getDate(),//当前日
@ -944,6 +945,25 @@ Vue.component('server-items-detail', {
			}
			this.viewDetail(planids,type, recordId)
		},
		getList:function(){
			var vm=this
			console.log('211111111111111111111111',vm.planInfo)
			rehaAPI.getList({
				doctor: docInfo.code,
				diseaseType: vm.service.disease,
				type: '',
				patientName: '',
				patientCode:  this.patientCode,
				isDanger: '',
				pageNo: 1,
				pageSize: 1,
				filterType: 1,
				isAscvd: vm.planInfo.disease=='3'? 1:''
			}).then(function(res){
	  vm.scList= res.data
				console.log(res,'dasssssssssssssssssss')
			})
		},
		viewDetail:function(planids,type, recordId){
			var vm=this;
			if(!planids){
@ -982,7 +1002,7 @@ Vue.component('server-items-detail', {
				closeBtn:1,
				shift: 5,
				shadeClose: false, //点击遮罩关闭层
				content: '../../rehabilitation/html/service_item_content.html?planids='+planids+'&planId='+vm.planid+'&patient='+vm.patientcode+'&patientName='+vm.patientname,
				content: '../../rehabilitation/html/service_item_content.html?planids='+planids+'&planId='+vm.planid+'&patient='+vm.patientcode+'&patientName='+vm.patientname+'&disease='+vm.service.disease+'&scLenght='+vm.scList.length,
				end:function(){
					vm.initData();	
				}