云信发送消息相关

This commit is contained in:
XiuYun CHEN
2025-07-18 17:26:48 +08:00
parent f7408f7cbc
commit cbf50189cc
55 changed files with 4298 additions and 200 deletions
@@ -158,20 +158,20 @@ export struct PerfactInputSheet {
Text(this.inputPlaceholder)
.fontColor('#444444')
.backgroundColor(Color.White)
.padding({left:10,right:10})
.padding({left:10,right:10,bottom:20})
}
.backgroundColor(Color.White)
Text('').height(1).width('100%')
.backgroundColor($r('app.color.home_gray')).margin({top:10})
Row({ space: 20 }) {
Row() {
Text(this.cancelText)
.fontSize(15)
.fontColor(this.cancelColor)
.textAlign(TextAlign.Center)
.width('45%').height(30)
.height(30).layoutWeight(1)
.onClick(() => {
if(this.needcancelCallBack)
{
@@ -191,11 +191,11 @@ export struct PerfactInputSheet {
this.inputCallBack(this.inputText, this.inputTitle);
})
.width('45%').height(30)
.height(30).layoutWeight(1)
}.margin({ top: 10, bottom: 10 })
}.margin({ top: 10, bottom: 10 }).width('100%')
}
.width('80%').backgroundColor(Color.White)
}.borderRadius(24)
@@ -29,15 +29,17 @@ export struct HdSearchNav {
isFocus:boolean = false;
@Prop
placeholder:string = ''
@Prop
isLeftAction: boolean = false
@State textInputContent:string = ''
// 添加左侧点击函数
private leftItemAction:()=> void = () => {};
build() {
Row() {
Row() {
Image(this.leftIcon)
.size({ width: 24, height: 24 })
.onClick(() => router.back())
.onClick(() =>this.isLeftAction? this.leftItemAction(): router.back())
.fillColor($r('app.color.black'))
}.size({ width: 40, height: 50 })
@@ -81,6 +81,12 @@ export class BasicConstant {
static readonly getInterrogation = BasicConstant.urlExpertAPI +"getInterrogation";// 一问多答 详情页
static readonly InterrogationPatientInfo = BasicConstant.urlExpertAPI +"InterrogationPatientInfo";// 一问多答 患者详情页
static readonly updateInterrogationAnswer = BasicConstant.urlExpertAPI+"updateInterrogationAnswer";// 一问多答 编辑回答
static readonly closeConsult= BasicConstant.urlExpert + "closeConsult";// 关闭公益咨询
static readonly polularScienceArticleListByKeywordsNew= BasicConstant.urlExpertApp + "polularScienceArticleListByKeywordsNew";// 患教学堂搜索
static readonly polularScienceArticleListInexpertNew= BasicConstant.urlExpertApp+ "polularScienceArticleListInexpertNew";// 患教学堂
static readonly patientVideoType= BasicConstant.urlExpertApp +"patientVideoType";// 患者视频类型列表
static readonly patientVideoByName= BasicConstant.urlExpertApp +"patientVideoByName";//患教视频科普分享
static readonly patientListByGBK= BasicConstant.urlExpertApp +"patientListByGBK";// 我的患者列表
static readonly province=['全国','北京市','天津市','河北省','山西省'
,'内蒙古自治区','辽宁省','吉林省','黑龙江省','上海市','江苏省','浙江省'
,'安徽省','福建省','江西省','山东省','河南省','湖北省','湖南省','广东省',
@@ -12,5 +12,7 @@ export interface ChatParam extends ChatExtModel{
name:string,//患者姓名
conversationId:string,//最近会话id
chat_state:string//公益咨询状态
rawAttach:string;//发送公益咨询首条消息
hasMessage:string;//是否需要发送一条消息
messageType:string;//发送消息的类型
}
@@ -0,0 +1,37 @@
import { List } from '@kit.ArkTS';
export interface PatientListModel{
code:string;
data:PatientsData[];
}
export interface PatientsData{
mobile:string;// 手机号
realName:string;// 患者姓名
photo:string;// 患者头像路径
uuid:string;// 唯一标示
birthDate:string;// 患者出生日期
sex:number;// 患者性别(0.男 1.女)
type:number;// 类型//1.随访关系 2.包月服务关系 (type==2即为VIP)
provId:string;// 省id
cityId:string;// 市id
countyId:string;// 区县id
nation:string;// 民族
nickname:string;// 别名
note:string;// 备注内容
// 新的患者增加的
patientUuid:string;// 患者uuid
expertUuid:string;// 专家uuid
createDate:string;// 申请时间
content:string;// 申请内容
status:number;// 新的患者申请,状态(1.待审核2.审核通过3.拒绝 4.已过期)
join_date:string;//随访时间
diagnosis:string;//患病类型
sortLetters:string; // 显示数据拼音的首字母
isSelect:boolean;
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB