yht2016 4 lat temu
rodzic
commit
1a769a610c

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

@ -118,14 +118,14 @@
	      					<input type="file" @change="upLoadImgToBase64" class="upload-img" />
	      				</li>
	      			</ul>
	      			<ul class="upload-box" v-if="service.relationRecordImg && service.relationRecordImg.length">
	      			<ul class="upload-box" v-if="((islimit&&service.status==1) || (!islimit&&service.recordStatus==1))&&service.relationRecordImg && service.relationRecordImg.length">
	      				<li class="flex-box" v-for="img in service.relationRecordImg">
	      					<div class="upload-img-box">      						
		      					<img :src="img | getImgUrl" />
	      					</div>
	      				</li>
	      			</ul>
	      			<div class="upload-box" v-else>
	      			<div class="upload-box" v-if="((islimit&&service.status==1) || (!islimit&&service.recordStatus==1))&&!service.relationRecordImg">
	      				<p>暂无相关记录</p>
	      			</div>
				</div>

+ 3 - 3
app/rehabilitation/js/guide_the_message.js

@ -42,7 +42,7 @@ top.rehabilitationGuideVue = new Vue({
		patient: httpData['patient'],
		patientName: decodeURI(httpData['patientName']),
		layerIndex: undefined,
		recordId: httpData['recordId'],
		recordId: httpData['recordId']||undefined,
		islimit: false
	},
	mounted: function() {
@ -300,14 +300,14 @@ top.rehabilitationGuideVue = new Vue({
				});
				vm.upImgArr.push(img1);
				console.log('e', e, 'vm.upImgs', vm.upImgs, 'vm.upImgArr', vm.upImgArr)
				//			             		vm.uploadImg(vm.upImgArr);
				//vm.uploadImg(vm.upImgArr);
			}
		},
		qrwc: function(patient,type) {
			var vm = this;
			vm.saveRehabilitationOperateRecord(vm.planid,type);
		},
		saveRehabilitationOperateRecord:function(planDetailId, type, relationCode){
		saveRehabilitationOperateRecord:function(planDetailId, type, relationCode, flag){
			var vm=this;
			var params={
				rehabilitationDetailId: planDetailId,

+ 6 - 2
component/rehabilitation/server-items-detail.js

@ -873,6 +873,10 @@ Vue.component('server-items-detail', {
				return ;
			}
			if(type==1){ // 单个服务项
				var s = '../../rehabilitation/html/guide_the_message.html?planid='+planids+'&oprateType=1'+'&pId='+vm.planid+'&patient='+vm.patientcode+'&patientName='+vm.patientname
				if(recordId){
					s += '&recordId='+ recordId
				}
				layer.open({
					type: 2,
					area: ['800px', '700px'],
@ -883,9 +887,9 @@ Vue.component('server-items-detail', {
					closeBtn:1,
					shift: 5,
					shadeClose: false, //点击遮罩关闭层
					content: '../../rehabilitation/html/guide_the_message.html?planid='+planids+'&oprateType=1'+'&pId='+vm.planid+'&patient='+vm.patientcode+'&patientName='+vm.patientname+'&recordId='+recordId,
					content: s,
					end:function(){ // 未点击确定按钮,点击关闭按钮  
				    vm.getServiceItem() // 刷新
				    vm.initData(); // 刷新
				  }
				});
				return ;