yht2016 4 tahun lalu
induk
melakukan
14dfbf5853

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

@ -56,7 +56,7 @@
	      				<div class="pb10">
		      				指导与汇报记录&emsp;<span class="view-detail" v-if="service.messageList && service.messageList.length" :class="{active:isCollapse}" @click="chakan"><i class="icon icon-check mr5 icon-16"></i>{{isCollapse?'收起详情':'查看详情'}}</span>
		      				<div class="pull-right" v-if="(service.isMyTask==1 || service.isCreate || service.isCK) && service.planStatus!=0">
		      					<span class="view-detail" @click="zdly(service)" v-if="service.isCreate && (service.isMyTask!=1) && ((islimit&&status!=1)||(!islimit&&recordStatus!=1))">指导留言</span>
		      					<span class="view-detail" @click="zdly(service)" v-if="service.isCreate && (service.isMyTask!=1) && ((islimit&&service.status!=1)||(!islimit&&service.recordStatus!=1))">指导留言</span>
		      					<span class="view-detail" @click="zdly(service)" v-if="service.isCK && service.isMyTask==1">查看留言</span>
		      				</div>
	      				</div>
@ -102,7 +102,7 @@
	      		<div class="note-info pt10" v-if="service.type==1">
	      			<p class="f14 c-333">服务完成笔记</p>
	      			<textarea v-if="((islimit&&service.status!=1) || (!islimit&&service.recordStatus!=1)) && service.isMyTask==1" class="form-control" style="resize: none;" rows="4" placeholder="可备注您的服务记录" v-model="service.node"></textarea>
	      			<div v-if="((islimit&&service.status==1) || (!islimit&&service.recordStatus==1))">{{service.node || '暂无服务记录'}}</div>
	      			<div v-else>{{service.node || '暂无服务记录'}}</div>
	      		</div>
	      		<div class="note-info ptb10" v-if="service.type==1">
	      			<p class="f14 c-333">相关记录</p>
@ -118,14 +118,14 @@
	      					<input type="file" @change="upLoadImgToBase64" class="upload-img" />
	      				</li>
	      			</ul>
	      			<ul class="upload-box" v-if="((islimit&&service.status==1) || (!islimit&&service.recordStatus==1)) && service.relationRecordImg && service.relationRecordImg.length">
	      			<ul class="upload-box" v-if="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-if="((islimit&&service.status==1) || (!islimit&&service.recordStatus==1)) && service.relationRecordImg && !service.relationRecordImg.length">
	      			<div class="upload-box" v-else>
	      				<p>暂无相关记录</p>
	      			</div>
				</div>

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

@ -262,7 +262,7 @@ top.rehabilitationGuideVue = new Vue({
				closeBtn: 1,
				shift: 5,
				shadeClose: false, //点击遮罩关闭层
				content: '../../consulting/html/consulting.html?otherCode=' + otherCode + '&otherName=' + encodeURI(otherName) + '&planDetailId=' + planDetailId,
				content: '../../consulting/html/consulting.html?otherCode=' + otherCode + '&otherName=' + encodeURI(otherName) + '&planDetailId=' + vm.planid,
				end: function() { // 未点击确定按钮,点击关闭按钮  
					      
					vm.getServiceItem();    

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

@ -269,7 +269,11 @@ Vue.component('server-items-detail', {
					var messageIndex = _.findIndex(res.data, {doctor_type: 1});
					if(messageIndex>-1){
						var message = res.data[messageIndex]
						vm.message = vm.getContent(message.content,message.content_type)
						var contentType = message.content_type
						if(contentType==2||contentType==9){
							vm.message.isImg = true
						}
						vm.message.content = vm.getContent(message.content,message.content_type)
					}else{
						vm.message.content = "无"
					}