From 85214ad636a7413b87c557bf9563f248208d58e6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=BE=89?= <814457906@qq.com>
Date: Fri, 15 Mar 2024 16:33:19 +0800
Subject: [PATCH] xg
---
api/pagesB/mysigning/index.js | 8 ++++
pages/homepage/homepage.vue | 2 +-
.../createnewconsultation.vue | 37 +++++----------
pagesB/mysigning/mysigning.vue | 47 +++++++++++++++----
pagesC/seekadvicefrom/seekadvicefrom.vue | 4 ++
5 files changed, 63 insertions(+), 35 deletions(-)
diff --git a/api/pagesB/mysigning/index.js b/api/pagesB/mysigning/index.js
index 352a12c..5084d9e 100644
--- a/api/pagesB/mysigning/index.js
+++ b/api/pagesB/mysigning/index.js
@@ -9,4 +9,12 @@ export function rescindapplysave(data) {
region: uni.getStorageSync('region'),
}
})
+}
+// 新增问诊
+export function consultationInfo(data) {
+ return request({
+ url: `/nurseApplet/consultationInfo/add`,
+ method: 'post',
+ data: data
+ })
}
\ No newline at end of file
diff --git a/pages/homepage/homepage.vue b/pages/homepage/homepage.vue
index 7e34d85..13b4bf4 100644
--- a/pages/homepage/homepage.vue
+++ b/pages/homepage/homepage.vue
@@ -6,7 +6,7 @@
-
+
diff --git a/pagesB/createnewconsultation/createnewconsultation.vue b/pagesB/createnewconsultation/createnewconsultation.vue
index f188704..178a851 100644
--- a/pagesB/createnewconsultation/createnewconsultation.vue
+++ b/pagesB/createnewconsultation/createnewconsultation.vue
@@ -12,7 +12,7 @@
现住址所在区
-
@@ -141,11 +141,9 @@
consultationInfo,
detail,
} from '@/api/pagesB/createnewconsultation/createnewconsultation.js'
-
import {
getHospitalPersonInfo
} from '@/api/pagesC/contractsigningprotocol/index.js'
- // import consultationplatformVueHtml from '../consultationplatform/consultationplatform.vue.html';
export default {
components: {
"m-city": gkcity
@@ -222,7 +220,7 @@
},
info() {
this.$delete(this.formdata, 'id')
- this.formdata.patientId=uni.getStorageSync("patientId")
+ this.formdata.patientId = uni.getStorageSync("patientId")
this.formdata.consultationType = 'IMAGE_TEXT_CONSULTATION'
if (!this.formdata.address) {
this.$refs.uToast.show({
@@ -320,16 +318,16 @@
},
infolist() {
detail(this.formdata.cardNo).then(res => {
- if(res.data.provinceName && res.data.cityName && res.data.countyName &&res.data.townName){
- this.address=res.data.provinceName+res.data.cityName+res.data.countyName+res.data.townName
- this.formdata.address=this.address
- }else if(res.data.provinceName && res.data.cityName && res.data.countyName){
- this.address=res.data.provinceName+res.data.cityName+res.data.countyName
- this.formdata.address=this.address
+ if (res.data.provinceName && res.data.cityName && res.data.countyName && res.data.townName) {
+ this.address = res.data.provinceName + res.data.cityName + res.data.countyName + res.data
+ .townName
+ this.formdata.address = this.address
+ } else if (res.data.provinceName && res.data.cityName && res.data.countyName) {
+ this.address = res.data.provinceName + res.data.cityName + res.data.countyName
+ this.formdata.address = this.address
}
- var status = '1'
if (res.code == 200) {
- getHospitalPersonInfo(res.data.dutyDoctorNo, status).then(res => {
+ getHospitalPersonInfo(res.data.dutyDoctorNo, '1').then(res => {
this.doctorName = res.data.personName
this.doctorId = res.data.id
this.doctorlist = res.data
@@ -344,22 +342,9 @@
})
},
gochoosedoctor() {
- console.log(this.doctorlist, '44444')
- // detail(this.formdata.cardNo).then(res => {
- // var status = '1'
- // getHospitalPersonInfo(res.data.dutyDoctorNo, status).then(res => {
- // console.log(res, '55')
- // this.doctorlist = res.data
-
uni.navigateTo({
url: `/pagesC/choosedoctor/choosedoctor?item=${JSON.stringify(this.doctorlist)}`
})
- // })
-
- // })
-
-
-
},
}
}
@@ -367,4 +352,4 @@
+
\ No newline at end of file
diff --git a/pagesB/mysigning/mysigning.vue b/pagesB/mysigning/mysigning.vue
index fcbe641..e24722a 100644
--- a/pagesB/mysigning/mysigning.vue
+++ b/pagesB/mysigning/mysigning.vue
@@ -35,7 +35,7 @@
- 年限:{{list.signTime?list.signTime:''}}-{{list.signDeadline?list.signDeadline:''}}
+ 年限:{{list.signTime?list.signTime:''}} 至 {{list.signDeadline?list.signDeadline:''}}
机构:
@@ -114,6 +114,10 @@