Sfoglia il codice sorgente

康复项目搜索功能

linehang 6 anni fa
parent
commit
98909c9f41
2 ha cambiato i file con 21 aggiunte e 12 eliminazioni
  1. 9 4
      app/recover/html/new_recover.html
  2. 12 8
      app/recover/html/personal-manage.html

+ 9 - 4
app/recover/html/new_recover.html

@ -139,8 +139,8 @@
		        		<div class="plr5 c-h100">
		        			<h4 class="m0 pl10 lh40 c-border-b">添加其他项目</h4>
		        			<div class="clearfix mtb10 c-border">
								<input class="fl search-input plr10" type="text" placeholder="输入项目名称" />
								<span class="fr search-btn"></span>
								<input class="fl search-input plr10" type="text" v-model="searchKey" placeholder="输入项目名称" />
								<span class="fr search-btn" @click="searchProject()"></span>
							</div>
							<div class="c-h100-99" style="overflow: hidden;">
								<ul class="c-h100 p0 m0" style="overflow: auto;">
@ -242,7 +242,8 @@
                	}],
                	jDlist: null,
                	zDlist: null,
                	selectProjectDetail: null
                	selectProjectDetail: null,
                	searchKey: null
                },
                mounted: function() {
                	
@ -334,7 +335,8 @@
			    			loadding = layer.load(0, {shade: false}),
			    			params = {
			    				doctor: docInfo.uid,
								patient: this.pati.patient
								patient: this.pati.patient,
								serviceItemName: this.searchKey
			    			}
						recoverAPI.findServiceItemsByHospital(params).then(function(res) {
							layer.close(loadding)
@ -372,6 +374,9 @@
							}
						})
                	},
                	searchProject: function() {
                		this.findServiceItemsByHospital()
                	},
                	setPatImg: function(src) {
			    		if(!src) {
			    			return "../../../images/p-female.png"

+ 12 - 8
app/recover/html/personal-manage.html

@ -2,18 +2,18 @@
<html>
	<head>
		<meta charset="UTF-8">
		<title>个人康复管理</title>
		<title>康复管理</title>
		<link rel="stylesheet" type="text/css" href="../../../css/cross.css" />
		<link rel="stylesheet" type="text/css" href="../../../css/cross.ui.css" />
		<link rel="stylesheet" type="text/css" href="../../../css/style.min.css" />
		<link rel="stylesheet" type="text/css" href="../css/new_recover.css" />
		<link rel="stylesheet" type="text/css" href="../css/personal-manage.css" />
		<style>
			.content {height: calc(100% - 14px);}
		</style>
	</head>
	<body class="m0">
	<div id="app" class="c-333" v-cloak>
		<div class="re-title no-select">
			<div class="name">康复管理</div>
		</div>
		<div class="content clearfix">
	        <div class="fl c-h100 w350 person_info c-border-r">
	        	<div class="plr5 c-h100">
@ -28,7 +28,7 @@
		    					</p>
		    					<p class="m0 p0 mb10">
		    						<span class="c-999">健康情况:</span>{{recoverPatInfo.patientInfo.healthyCondition}}
		    						<span class="c-999 ml20">联系电话:</span><span class="c-12b7f5 cur-pit">点击查看</span>
		    						<span class="c-999 ml10">联系电话:</span><span class="c-12b7f5 cur-pit" v-if="isMobile" @click="changeStatu()">点击查看</span><span v-else>recoverPatInfo.patientInfo.mobile</span>
		    					</p>
		    				</div>
		    				<div class="fr set-photo">
@ -200,6 +200,7 @@
			recoverVue = new Vue({
                el: "#app",
                data: {
                	isMobile: true,
                	recoverPatInfo: null,
                	finishData: null,
                	seeRecord: [],
@ -214,6 +215,9 @@
                	this.archivesEvent()
                },
                methods: {
                	changeStatu: function() {
                		this.isMobile = false
                	},
                	jumpPlan: function(plan) {
                		location.href = "../../rehabilitation/html/rehabilitation_management.html?planId=" + plan.id
                	},
@ -233,7 +237,7 @@
			    		var vm = this,
			    			loadding = layer.load(0, {shade: false}),
			    			params = {
			    				patientCode: httpData.patientCode || "915ccc97-5b1d-11e6-8344-fa163e8aee56"
			    				patientCode: httpData.patientCode || "e040dd6814b648ceb3ba8d8a04f9f22c"
			    			}
						recoverAPI.patientRehabilitationDetail(params).then(function(res) {
							layer.close(loadding)
@ -248,7 +252,7 @@
			    		var vm = this,
			    			loadding = layer.load(0, {shade: false}),
			    			params = {
			    				patientCode: httpData.patientCode || "915ccc97-5b1d-11e6-8344-fa163e8aee56",
			    				patientCode: httpData.patientCode || "e040dd6814b648ceb3ba8d8a04f9f22c",
			    				page: vm.eventPage,
			    				pageSize: 10
			    			}
@ -275,7 +279,7 @@
			    		var vm = this,
			    			loadding = layer.load(0, {shade: false}),
			    			params = {
			    				patient: httpData.patientCode || "915ccc97-5b1d-11e6-8344-fa163e8aee56",
			    				patient: httpData.patientCode || "e040dd6814b648ceb3ba8d8a04f9f22c",
			    				page: vm.page,
			    				pageSize: 20
			    			}