刘远航 4 years ago
parent
commit
554d81a782
3 changed files with 9 additions and 3 deletions
  1. 1 1
      pages/information/information.vue
  2. 3 2
      pages/patient/patientxq.vue
  3. 5 0
      pages/zixun/xiangqing.vue

+ 1 - 1
pages/information/information.vue

xqd
@@ -21,7 +21,7 @@
 		<view style="margin: 40rpx 28rpx;">
 			<view style="font-size: 28rpx;margin-bottom: 20rpx;">服务简介</view>
 			<view style="">
-				<textarea @blur="bindTextAreaBlur" style="height: 200rpx;width: 100%;" :placeholder="placeholder2" />
+				<textarea @input="bindTextAreaBlur" style="height: 200rpx;width: 100%;" :placeholder="placeholder2" />
 				</view>
 		</view>
 		<!-- 分隔 -->

+ 3 - 2
pages/patient/patientxq.vue

xqd
@@ -308,15 +308,16 @@
 			},
 			qr:async function(e){
 				if (this.inputbz != '') {
-					let res = this.$request.post("doctor/remacks", {
+					let res = await this.$request.post("doctor/remacks", {
 						'id': this.user_id,
 						'remak': this.inputbz
 					});
-					console.log("res.status",res.resolved)
+					 
 					if (res.status == 0) {
 						uni.showToast({
 							title: '设置成功!'
 						})
+						this.bz = this.inputbz
 						this.formshow = false
 					} else {
 						uni.showToast({

+ 5 - 0
pages/zixun/xiangqing.vue

xqd
@@ -259,6 +259,11 @@
 			}
 		},
 		methods: {
+			
+			phone:async function(){
+				let res = await this.$request.post("patient/callPhones",{'patient_id':this.patient_id});
+				console.log(res);
+			},
 			getInfo:async function(id){
 				let res = await this.$request.post("patient/orderPatientDetail",{'patient_id':id});