Kaynağa Gözat

修改头像跟居委会无法显示原因

yingzhou 6 yıl önce
ebeveyn
işleme
fbbc8aaea8

+ 1 - 2
app/article/html/article.html

@ -323,8 +323,7 @@
			        	rehaAPI.saveRehabilitationOperateRecord({dataJson:JSON.stringify(params)}).then(function(res){
			        		var icon=5;
			        		if(res.status==200){//更新父窗体的状态
			        			icon=1
			        			parent.serviceItem.getServiceItemList();
			        			icon=1;
			        		}
			        		top.layer.msg(res.msg, {icon: icon});
			        	})

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

@ -15,7 +15,7 @@
		      <h4 class="panel-title">
		        <a role="button" class="flex-box">
		          <div class="flex-box-item service-top">
		          	<p class="service-name"><span class="service-index">1</span><span>{{service.title}}</span></p>
		          	<p class="service-name"><!--<span class="service-index">1</span><span>-->{{service.title}}</span></p>
		         	<div class="label-group">
		         		<span class="pull-right mt5"><i v-if="service.statusName=='已完成'" class="icon icon-gouxuan icon-18 mr5"></i>{{service.statusName}}</span>
		         		<span class="label-blue">{{service.shortExecuteTime}}</span>

+ 4 - 5
app/rehabilitation/js/guide_the_message.js

@ -26,7 +26,7 @@
				top.layer.open({
					type: 2,
					//				  offset: ['100px'], //右下角弹出
					area: ['800px', '648px'],
					area: ['80%', '648px'],
					shade: 0.5,
					title: '健康教育',
					fixed: true, //不固定
@ -43,7 +43,7 @@
				top.layer.open({
					type: 2,
					//				  offset: ['100px'], //右下角弹出
					area: ['800px', '648px'],
					area: ['80%', '648px'],
					shade: 0.5,
					title: '健康教育',
					fixed: true, //不固定
@ -106,7 +106,7 @@
				top.layer.open({
					type: 2,
					//				  offset: ['100px'], //右下角弹出
					area: ['800px', '650px'],
					area: ['80%', '600px'],
					shade: 0.5,
					title: '指导留言',
					fixed: true, //不固定
@ -184,7 +184,7 @@
					top.layer.open({
						type: 2,
						//				  offset: ['100px'], //右下角弹出
						area: ['800px', '650px'],
						area: ['80%', '600px'],
						shade: 0.5,
						title: '指导留言',
						fixed: true, //不固定
@ -219,7 +219,6 @@
					console.log(res)
					if(res.status == 200) {
						vm.getServiceItem();
						top.serviceItem.getServiceItemList();
					}
				})
			},

+ 9 - 7
app/rehabilitation/js/service_item_content.js

@ -1,7 +1,7 @@
!function(){
		var httpData=GetRequest();
		var userInfo = JSON.parse(window.localStorage.getItem(httpRequest.agentName));  
		parent.serviceItem=new Vue({
		new Vue({
					el:"#app",
		data:{
			planids:httpData['planids'],
@ -59,8 +59,7 @@
				var vm=this
				layer.open({
					type: 2,
					//				  offset: ['100px'], //右下角弹出
					area: ['800px', '648px'],
					area: ['80%', '600px'],
					shade: 0.5,
					title: '健康教育',
					fixed: true, //不固定
@ -68,7 +67,10 @@
					closeBtn: 1,
					shift: 5,
					shadeClose: false, //点击遮罩关闭层
					content: '../../article/html/article.html?code='+patient+'&planId='+planId+'&isReha=true'
					content: '../../article/html/article.html?code='+patient+'&planId='+planId+'&isReha=true',
					end: function() { // 未点击确定按钮,点击关闭按钮  
						vm.getServiceItemList();    
					}
				});
			},
//						健康指导
@ -77,7 +79,7 @@
				layer.open({
					type: 2,
					//				  offset: ['100px'], //右下角弹出
					area: ['800px', '648px'],
					area: ['80%', '600px'],
					shade: 0.5,
					title: '健康教育',
					fixed: true, //不固定
@ -99,7 +101,7 @@
				layer.open({
				  type: 2,
//				  offset: ['100px'], //右下角弹出
				  area: ['600px', '650px'],
				  area: ['80%', '600px'],
				  shade: 0.5,
				  title: '完成项目确认',
				  fixed: true, //不固定
@ -137,7 +139,7 @@
				layer.open({
				  type: 2,
//				  offset: ['100px'], //右下角弹出
				  area: ['800px', '650px'],
				  area: ['80%', '600px'],
				  shade: 0.5,
				  title: '指导留言',
				  fixed: true, //不固定

+ 5 - 2
app/temporary/html/userInfo.html

@ -21,7 +21,7 @@
			<div class="c-container flex-box">
				<div class="w-250">
					<div class="user-images">
						<img class="img-circle" src="../../../images/p-female.png" />
						<img class="img-circle" :src="getImgurl(userInfo.photo)" />
					</div>
					<p class="user-name text-center">{{userInfo.name}}</p>
					<p class="c-999 f14 text-center">{{userInfo.sex==1?'男':'女'}} {{!userInfo.age?'<1':userInfo.age}}岁 {{userInfo.expensesStatus==1?"已缴费":(userInfo.expensesStatus==2?"已退费":(userInfo.expensesStatus==0?"未缴费":""))}}</p>
@ -139,7 +139,7 @@
							<div class="flex-box">
								<span class="w-110 c-999">所属居委会</span>
								<div class="flex-box-item">
									{{userInfo.address}}
									{{userInfo.jtHospitalName}}
								</div>
							</div>
						</div>
@ -217,6 +217,9 @@
						}
					},
					methods: {
						getImgurl: function(url){
				   			return httpRequest.getImgUrl(url)
				   		},
						getPatient:function(){
							var vm=this;
							var data={