From 51090595e87231213638d3c0beaffdbc4abaeb2e Mon Sep 17 00:00:00 2001
From: zoujiandong <10130823232@qq.com>
Date: Thu, 25 Apr 2024 09:47:38 +0800
Subject: [PATCH] =?UTF-8?q?=E5=8C=BB=E7=94=9F=E6=B6=88=E6=81=AF=E5=B1=95?=
=?UTF-8?q?=E7=A4=BA4.25?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
Pages/yishi/wenzhen_v2/wenzhen.js | 18 ++++++++++++++++++
Pages/yishi/wenzhen_v2/wenzhen.wxml | 18 ++++++++++++++----
.../TUIChat/components/MessageInput/index.js | 9 ++++++---
3 files changed, 38 insertions(+), 7 deletions(-)
diff --git a/Pages/yishi/wenzhen_v2/wenzhen.js b/Pages/yishi/wenzhen_v2/wenzhen.js
index 2f6a6ee..b48f5fb 100644
--- a/Pages/yishi/wenzhen_v2/wenzhen.js
+++ b/Pages/yishi/wenzhen_v2/wenzhen.js
@@ -307,6 +307,17 @@ Page({
let cloudCustomData = lastMessage.cloudCustomData;
if(!cloudCustomData) return;
let cloudCustomDataJson = JSON.parse(cloudCustomData);
+ // remaining_month_inquiry_count:serviceInfo.remaining_month_inquiry_count,
+ // service_package_start_time:serviceInfo.start_time,
+ // service_package_finish_time:serviceInfo.finish_timestart_time,
+ // service_period:serviceInfo.service_period,
+ // remaining_quantity:serviceInfo.remaining_quantity,
+ let remaining_month_inquiry_count=cloudCustomDataJson.remaining_month_inquiry_count;
+ let service_package_start_time=cloudCustomDataJson.service_package_start_time;
+ let service_package_finish_time=cloudCustomDataJson.service_package_finish_time;
+ let remaining_quantity=cloudCustomDataJson.remaining_quantity;
+ let service_period=cloudCustomDataJson.service_period;
+ let monthly_frequency=cloudCustomDataJson.monthly_frequency;
let order_inquiry_id = cloudCustomDataJson.order_inquiry_id;
if(!order_inquiry_id) return;
let inquiry_type = cloudCustomDataJson.inquiry_type;
@@ -354,6 +365,13 @@ Page({
txt.Text= lastMessage.messageForShow;
session_item.last_message_content = txt;
session_item.message_send_time = getTimeAgo(lastMessage.lastTime);
+
+ session_item.remaining_month_inquiry_count=remaining_month_inquiry_count;
+ session_item.service_package_start_time=service_package_start_time;
+ session_item.service_package_finish_time=service_package_finish_time;
+ session_item.service_period=service_period;
+ session_item.remaining_quantity=remaining_quantity;
+ session_item.monthly_frequency= monthly_frequency;
session_item.message_type = type;
session_item.order_inquiry_id = order_inquiry_id;
session_item.inquiry_type = inquiry_type;
diff --git a/Pages/yishi/wenzhen_v2/wenzhen.wxml b/Pages/yishi/wenzhen_v2/wenzhen.wxml
index 5ec78f6..28d6f96 100644
--- a/Pages/yishi/wenzhen_v2/wenzhen.wxml
+++ b/Pages/yishi/wenzhen_v2/wenzhen.wxml
@@ -49,11 +49,21 @@
{{ item.inquiry_status==1?'待支付':item.inquiry_status==2?'待分配':item.inquiry_status==3?'待接诊':item.inquiry_status==4?'接诊中':item.inquiry_status==5?'已完成':item.inquiry_status==6?'已结束':item.inquiry_status==7?'已取消':'其他' }}
-
- 服务期限:2023.12.31 10:0
- 服务进度:2023.12.31 10:0
+
+ 服务期限:{{item.service_package_start_time}}-{{item.service_package_finish_time}}
+ 服务进度:不限次数问诊
+ 服务进度:当月剩余{{item.remaining_month_inquiry_count}}次问诊
- 服务内容:2023.12.31 10:0
+ 服务内容:服务周期{{item.service_period/30}}个月
+
+ 服务期限:{{item.service_package_start_time}}-{{item.service_package_finish_time}}
+ 服务进度:当月不限次问诊
+ 当月剩余{{item.remaining_month_inquiry_count}}次问诊,剩余{{item.remaining_quantity}}盒干爽颗粒(步长)
+
+
+
+
+ 服务内容:{{item.monthly_frequency==='0'?'不限':item.monthly_frequency}}次问诊/月,30盒肝爽颗粒(步长)
{{item.custommessagetype==13?'[附赠回复]':item.last_message_content.Text}}
diff --git a/TUIChatService/TUIKit/components/TUIChat/components/MessageInput/index.js b/TUIChatService/TUIKit/components/TUIChat/components/MessageInput/index.js
index f0ae9a9..27e4a43 100644
--- a/TUIChatService/TUIKit/components/TUIChat/components/MessageInput/index.js
+++ b/TUIChatService/TUIKit/components/TUIChat/components/MessageInput/index.js
@@ -257,9 +257,10 @@ Component({
message_rounds: message_rounds,
remaining_month_inquiry_count:serviceInfo.remaining_month_inquiry_count,
service_package_start_time:serviceInfo.start_time,
- service_package_finish_time:serviceInfo.finish_timestart_time,
+ service_package_finish_time:serviceInfo.finish_time,
service_period:serviceInfo.service_period,
remaining_quantity:serviceInfo.remaining_quantity,
+ monthly_frequency:serviceInfo.monthly_frequency,
patient_family_data: patient_family_data
});
@@ -821,9 +822,10 @@ this.setData({
message_rounds: message_rounds,
remaining_month_inquiry_count:serviceInfo.remaining_month_inquiry_count,
service_package_start_time:serviceInfo.start_time,
- service_package_finish_time:serviceInfo.finish_timestart_time,
+ service_package_finish_time:serviceInfo.finish_time,
service_period:serviceInfo.service_period,
remaining_quantity:serviceInfo.remaining_quantity,
+ monthly_frequency:serviceInfo.monthly_frequency,
patient_family_data: patient_family_data
});
@@ -1246,9 +1248,10 @@ this.setData({
message_rounds: message_rounds,
remaining_month_inquiry_count:serviceInfo.remaining_month_inquiry_count,
service_package_start_time:serviceInfo.start_time,
- service_package_finish_time:serviceInfo.finish_timestart_time,
+ service_package_finish_time:serviceInfo.finish_time,
service_period:serviceInfo.service_period,
remaining_quantity:serviceInfo.remaining_quantity,
+ monthly_frequency:serviceInfo.monthly_frequency,
patient_family_data: patient_family_data
});