diff --git a/api/pagesB/createnewconsultation/createnewconsultation.js b/api/pagesB/createnewconsultation/createnewconsultation.js
new file mode 100644
index 0000000..8763c95
--- /dev/null
+++ b/api/pagesB/createnewconsultation/createnewconsultation.js
@@ -0,0 +1,10 @@
+import request from "@/api/request.js"
+
+// 新增问诊
+export function consultationInfo(data) {
+ return request({
+ url: `/nurseApplet/consultationInfo`,
+ method: 'post',
+ data: data
+ })
+}
diff --git a/api/pagesB/imagetextConsultation/imagetextConsultation.js b/api/pagesB/imagetextConsultation/imagetextConsultation.js
new file mode 100644
index 0000000..cd32ddb
--- /dev/null
+++ b/api/pagesB/imagetextConsultation/imagetextConsultation.js
@@ -0,0 +1,10 @@
+import request from "@/api/request.js"
+
+// 聊天记录
+export function consultationInfolist(data) {
+ return request({
+ url: `/nurseApplet/consultationInfo/list`,
+ method: 'get',
+ data: data
+ })
+}
diff --git a/api/pagesC/seekadvicefrom.js b/api/pagesC/seekadvicefrom.js
deleted file mode 100644
index e69de29..0000000
diff --git a/api/pagesC/seekadvicefrom/seekadvicefrom.js b/api/pagesC/seekadvicefrom/seekadvicefrom.js
new file mode 100644
index 0000000..d03a092
--- /dev/null
+++ b/api/pagesC/seekadvicefrom/seekadvicefrom.js
@@ -0,0 +1,29 @@
+import request from "@/api/request.js"
+
+// 发送即使消息
+export function sendMessage(data) {
+ return request({
+ url: `/jn/fm/message/send`,
+ method: 'post',
+ data: data
+ })
+}
+
+
+// 查询聊天记录
+export function getChatHistory(data) {
+ return request({
+ url: `/jn/fm/message/getChatList`,
+ method: 'get',
+ data: data
+ })
+}
+
+// 标记为已读
+export function markRead(data) {
+ return request({
+ url: `/jn/fm/message/markRead`,
+ method: 'get',
+ data: data
+ })
+}
\ No newline at end of file
diff --git a/pages.json b/pages.json
index 0c45fe6..743abaa 100644
--- a/pages.json
+++ b/pages.json
@@ -95,7 +95,8 @@
"path": "imagetextConsultation/imagetextConsultation",
"style": {
"navigationBarTitleText": "图文问诊",
- "enablePullDownRefresh": false
+ "onReachBottomDistance": 40, //距离底部多远时触发 单位为px
+ "enablePullDownRefresh": true //设置参数为true
}
}, {
"path": "createnewconsultation/createnewconsultation",
diff --git a/pagesB/createnewconsultation/createnewconsultation.vue b/pagesB/createnewconsultation/createnewconsultation.vue
index 727266a..e0e28f5 100644
--- a/pagesB/createnewconsultation/createnewconsultation.vue
+++ b/pagesB/createnewconsultation/createnewconsultation.vue
@@ -11,27 +11,33 @@
现住址所在区
-
-
+
+
+ {{address}}
+
患者姓名
-
+
患者身份证号
-
+
患者联系电话
-
+
@@ -46,25 +52,29 @@
问题简述
-
+
患者个体情况说明
-
+
问题描述
-
+
既往疾病史
-
+
@@ -78,24 +88,140 @@
附件材料上传
+
+
+
+ 最多支持9个文件;
+
+
+ 单个文件大小不允许超过10MB;
+
+
+ 只支持上传照片图片、视频文件,后缀类型为:JPG.PNG.MP4
+
+
返回
-
+
保存
+
+
+
+
+
@@ -147,6 +273,14 @@
border-radius: 5rpx;
padding-bottom: 50rpx;
+ .textarea {
+ font-size: 18rpx;
+ font-weight: 400;
+ color: #8E8E8E;
+ line-height: 42rpx;
+ padding: 30rpx 0 0 40rpx;
+ }
+
.text {
font-size: 30rpx;
font-weight: 400;
@@ -154,6 +288,10 @@
padding: 30rpx 0 0 40rpx;
}
+ ::v-deep .u-upload {
+ padding: 30rpx 30rpx 0 30rpx;
+ }
+
.input {
width: 90%;
height: 80rpx;
@@ -186,6 +324,15 @@
color: #8E8E8E !important;
}
+ .inputtext {
+ padding-left: 12rpx;
+ color: black;
+ font-size: 26rpx;
+ width: 90%;
+ height: 80rpx;
+ line-height: 80rpx;
+ }
+
.uinput {
color: black;
font-size: 26rpx;
diff --git a/pagesB/imagetextConsultation/imagetextConsultation.vue b/pagesB/imagetextConsultation/imagetextConsultation.vue
index c6c2b99..bc9218f 100644
--- a/pagesB/imagetextConsultation/imagetextConsultation.vue
+++ b/pagesB/imagetextConsultation/imagetextConsultation.vue
@@ -3,12 +3,12 @@
+ :class="formdata.status==item.status?'Selectedtext':''" @tap='selecttitltext(item)'>
{{item.text}}
-
+
2023-12-12 12:12
@@ -27,32 +27,48 @@
diff --git a/pagesB/information/information.vue b/pagesB/information/information.vue
index a7b6ea5..26ecf1d 100644
--- a/pagesB/information/information.vue
+++ b/pagesB/information/information.vue
@@ -397,4 +397,4 @@
+
\ No newline at end of file
diff --git a/pagesC/seekadvicefrom/seekadvicefrom.vue b/pagesC/seekadvicefrom/seekadvicefrom.vue
index 640741b..84c69ba 100644
--- a/pagesC/seekadvicefrom/seekadvicefrom.vue
+++ b/pagesC/seekadvicefrom/seekadvicefrom.vue
@@ -76,7 +76,7 @@
sendMessage,
getChatHistory,
markRead
- } from '@/api/pagesC/seekadvicefrom.js';
+ } from '@/api/pagesC/seekadvicefrom/seekadvicefrom.js';
export default {
data() {
return {