Browse Source

修复病例显示

宇宙无敌M1处理器的MacBook Pro 5 năm trước cách đây
mục cha
commit
be575eabe2
3 tập tin đã thay đổi với 8 bổ sung8 xóa
  1. 2 2
      common/env.js
  2. 1 1
      manifest.json
  3. 5 5
      pages/conversation/conversationWindow.vue

+ 2 - 2
common/env.js

xqd
@@ -1,5 +1,5 @@
-export const envHost = 'https://xiaoyunimg.top/api/v2/'; //开发环境
+export const envHost = 'https://t11.swdz.com/api/v2/'; //开发环境
 // export const envHost = 'https://t5.9026.com/api/v2/';
 // export const imgHost='https://www.juyinzhengxin.com/';
 export const imgHost = 'https://zhengda.oss-cn-chengdu.aliyuncs.com/juyin';
-export const imglocal = 'https://xiaoyunimg.top/';
+export const imglocal = 'https://t11.swdz.com/';

+ 1 - 1
manifest.json

xqd
@@ -57,7 +57,7 @@
     "quickapp" : {},
     /* 小程序特有相关 */
     "mp-weixin" : {
-        "appid" : "wx92066f7587c34617",
+        "appid" : "wx1dcbf8ce4bca6870",
         "setting" : {
             "urlCheck" : true,
             "es6" : true,

+ 5 - 5
pages/conversation/conversationWindow.vue

xqd xqd xqd
@@ -2,7 +2,7 @@
 	<view class="main">
 		<view class="cu-chat" style="position: relative;" v-for="(item,index) in messages" :key="index">
 			<view class="cu-item self" v-if="item.senderId==currentUser.uuid">
-				<view class="time-lag" style="position: absolute;top: 6rpx; right: 43%;">
+				<view class="time-lag" style="position: absolute;top: 36rpx; right: 43%;">
 					{{renderMessageDate(item, index)}}
 				</view>
 				<view class="main" style="width: 500rpx;word-break:break-all;display: flex;justify-content: flex-end;" v-if="item.type=='text'">
@@ -52,14 +52,14 @@
 		<view class="record-loading" v-if="audio.recording"></view>
 
 
-		<view class="top_details" @click="detailsShow = true">
+		<view class="top_details" @click="detailsShow = true" v-if="orderDetailsList.length!=0">
 			<u-icon name="arrow-down" size="40"></u-icon>
 		</view>
 		<u-popup v-model="detailsShow" mode="top">
 			<view class="details">
 				<view>患者姓名:<text>{{orderDetailsList.name}}</text></view>
 				<view>患者年龄:<text>{{orderDetailsList.numbirthday}}</text></view>
-				<view>患者性别:<text>{{orderDetailsList.name}}</text></view>
+				<view>患者性别:<text>{{orderDetailsList.sex==2?'女':'男'}}</text></view>
 				<view>症状描述:{{orderDetailsList.symptoms}}</view>
 				<view>图片:</view>
 				<scroll-view :scroll-x="true">
@@ -202,8 +202,8 @@
 			},
 			//
 			getOrderDetails: async function() {
-				let res = await this.$request.post("patient/orderPatientDetail", {
-					'patient_id': 25439
+				let res = await this.$request.post("patient/CaseAcquisition", {
+					'user_id': 28908
 				});
 				if (res.status == 0) {
 					console.log("订单详情", res)