刘远航 4 éve
szülő
commit
1e889b7cc5
3 módosított fájl, 10 hozzáadás és 81 törlés
  1. 1 0
      pages/information/information.vue
  2. 1 1
      pages/me_evaluate.vue
  3. 8 80
      pages/patient/patient.vue

+ 1 - 0
pages/information/information.vue

xqd
@@ -119,6 +119,7 @@
 				     sourceType: ['album', 'camera'], //从相册选择
 				     success: (res) => {
 				      this.imgList = res.tempFilePaths
+					  console.log('我是file:',res.tempFilePaths[0])
 					  this.$request.upload("Common/uploadFile",this.imgList[0],{}).then(res=>{
 						  console.log(res)
 					  })

+ 1 - 1
pages/me_evaluate.vue

xqd
@@ -70,7 +70,7 @@
 		data() {
 			return {
 				tcTeam: [],
-				pageindex: 0,
+				pageindex: 1,
 				count: 5,
 				show: false
 			}

+ 8 - 80
pages/patient/patient.vue

xqd xqd xqd
@@ -28,11 +28,11 @@
 		<view v-else>
 			<view v-for="item, index in followList" :key="index">
 				<view style="padding-left: 50rpx;font-weight: bold;font-size: 30rpx;background-color: #EEEEEF;">{{item.title}}</view>
-				<view v-for="citem,cindex in item.content" :key='cindex'>
-					<view v-if="citem.nickname.indexOf(keywordSearch)>=0" class="flex align-center" style="height: 150rpx;padding: 10rpx;margin: 0 30rpx;"  @click="xq" :id="nitem.user_id">
+				<view v-for="citem,cindex in item.content"  @click="xq" :id="citem.user_id" :key='cindex'>
+					<view v-if="citem.nickname.indexOf(keywordSearch)>=0" class="flex align-center" style="height: 150rpx;padding: 10rpx;margin: 0 30rpx;" >
 						<image :src="citem.avatar==null?'../../static/login/moren.png':citem.avatar" mode="aspectFit" style="height: 75rpx;width: 75rpx;border-radius: 50%;margin-right: 20rpx;"></image>
 						<text style="font-size: 28rpx;margin: 28rpx;color: #000000;">{{citem.nickname==null?'未知':citem.nickname}}</text>
-						<text style="font-size: 28rpx;">{{citems.remark==null?'未知':citem.remark}}</text>
+						<text style="font-size: 28rpx;">{{citem.remark==null?'未知':citem.remark}}</text>
 					</view>
 				</view>
 				
@@ -59,91 +59,19 @@
 				followList: [{
 					title: '咨询患者',
 					sum: '',
-					content: [{
-						nickname: '张三1',
-						position: '不知道什么病'
-					}, {
-						nickname: '张三2',
-						position: '癌症'
-					}, {
-						nickname: '张三3',
-						position: '羊癫疯'
-					}, {
-						nickname: '张三...',
-						position: '癌症'
-					}, {
-						nickname: '张三...',
-						position: '癌症'
-					}, {
-						nickname: '张三...',
-						position: '癌症'
-					}, {
-						nickname: '张三...',
-						position: '癌症'
-					}, {
-						nickname: '张三...',
-						position: '癌症'
-					}, {
-						nickname: '张三...',
-						position: '癌症'
-					}, {
-						nickname: '张三...',
-						position: '癌症'
-					}, {
-						nickname: '张三...',
-						position: '癌症'
-					}, {
-						nickname: '张三...',
-						position: '癌症'
-					}, {
-						nickname: '张三...',
-						position: '癌症'
-					}, {
-						nickname: '张三...',
-						position: '癌症'
-					}, {
-						nickname: '张三...',
-						position: '癌症'
-					}]
+					content: []
 				}, {
 					title: '门诊患者',
 					sum: '',
-					content: [{
-						nickname: '张三4',
-						position: '不知道什么病'
-					}, {
-						nickname: '张三5',
-						position: '癌症'
-					}, {
-						nickname: '张三6',
-						position: '羊癫疯'
-					}]
+					content: []
 				}, {
 					title: '关注患者',
 					sum: '',
-					content: [{
-						nickname: '张三7',
-						position: '不知道什么病'
-					}, {
-						nickname: '张三8',
-						position: '癌症'
-					}, {
-						nickname: '张三9',
-						position: '羊癫疯'
-					}]
+					content: []
 				}, {
 					title: '服务包患者',
 					sum: '',
-					content: [{
-						nickname: '张三.',
-						position: '不知道什么病'
-					}, {
-						nickname: '张三...',
-						position: '癌症'
-					}, {
-						nickname: '张三...',
-						position: '羊癫疯'
-					}]
+					content: []
 				}]
 			}
 		},
@@ -187,7 +115,7 @@
 				this.followList[a].sum = this.followList[a].content.length
 				console.log(this.followList[a].sum)
 			}
-			// this.getLists();
+			this.getLists();
 		}
 	}
 </script>