yht2016 4 年之前
父節點
當前提交
84762767e0
共有 2 個文件被更改,包括 8 次插入5 次删除
  1. 7 4
      app/rehabilitation/html/guide_the_message.html
  2. 1 1
      component/rehabilitation/server-items-detail.js

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

@ -104,9 +104,9 @@
	      			<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-else>{{service.node || '暂无服务记录'}}</div>
	      		</div>
	      		<div class="note-info ptb10" v-if="service.type==1">
	      		<div class="note-info ptb10" v-if="service.type==1 && ((islimit&&service.status!=1) || (!islimit&&service.recordStatus!=1)) && service.isMyTask==1">
	      			<p class="f14 c-333">相关记录</p>
	      			<ul class="upload-box"  v-if="((islimit&&service.status!=1) || (!islimit&&service.recordStatus!=1)) && service.isMyTask==1">
	      			<ul class="upload-box">
	      				<li class="flex-box" v-for="(img,index) in upImgs">
	      					<div class="upload-img-box">      						
		      					<img :src="img.baseUrl" />
@ -118,14 +118,17 @@
	      					<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">
				</div>
				<div class="note-info ptb10" v-if="service.type==1&& ((islimit&&service.status==1) || (!islimit&&service.recordStatus==1))">
	      			<p class="f14 c-333">相关记录</p>
	      			<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">
	      			<div class="upload-box" v-else>
	      				<p>暂无相关记录</p>
	      			</div>
				</div>

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

@ -243,7 +243,7 @@ Vue.component('server-items-detail', {
					}
					if(vm.service.frequencyCode){
						vm.islimit = true
						vm.calendar()
						vm.goToLoadData(true)
						vm.monDetail()
					} else {
						vm.islimit = false