修改问诊平台
This commit is contained in:
parent
c32b69ceaf
commit
a1144a768f
@ -8,3 +8,12 @@ export function consultationInfo(data) {
|
|||||||
data: data
|
data: data
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
export function detail(identity) {
|
||||||
|
return request({
|
||||||
|
url: '/applet/signinfo/detail/' + identity,
|
||||||
|
method: 'get',
|
||||||
|
header: {
|
||||||
|
region: uni.getStorageSync('region'),
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="app">
|
<view class="app">
|
||||||
<view class="address">
|
<view class="address">
|
||||||
<!-- <image src="../../static/pages/address.png" mode=""></image>
|
<!-- <image src="../../static/pages/address.png" mode=""></image>
|
||||||
<text>
|
<text>
|
||||||
{{location?location:''}}
|
{{location?location:''}}
|
||||||
</text> -->
|
</text> -->
|
||||||
@ -177,9 +177,21 @@
|
|||||||
},
|
},
|
||||||
//问诊平台
|
//问诊平台
|
||||||
goconsultationplatform() {
|
goconsultationplatform() {
|
||||||
uni.navigateTo({
|
const value = uni.getStorageSync('openid');
|
||||||
url: '/pagesB/consultationplatform/consultationplatform',
|
const value2 = uni.getStorageSync('patientId');
|
||||||
})
|
if (value && value2) {
|
||||||
|
uni.navigateTo({
|
||||||
|
url: '/pagesB/consultationplatform/consultationplatform',
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
this.$refs.uToast.show({
|
||||||
|
title: '您未登录,请先登录',
|
||||||
|
type: 'error',
|
||||||
|
duration: '1000',
|
||||||
|
url: '/pages/login/login'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
//1.分享给朋友
|
//1.分享给朋友
|
||||||
|
|||||||
@ -35,7 +35,7 @@
|
|||||||
<view class="detailslist">
|
<view class="detailslist">
|
||||||
<image :src="baseurl+item.personPictureUrl" mode=""
|
<image :src="baseurl+item.personPictureUrl" mode=""
|
||||||
v-if="item.orderType =='HEALTH_CONSULTATION'&&item.personPictureUrl"></image>
|
v-if="item.orderType =='HEALTH_CONSULTATION'&&item.personPictureUrl"></image>
|
||||||
<image src="@/static/pagesB/yis.png" mode=""
|
<image src="../../static/headsculpture.png" mode=""
|
||||||
v-if="item.orderType =='HEALTH_CONSULTATION'&&!item.personPictureUrl"></image>
|
v-if="item.orderType =='HEALTH_CONSULTATION'&&!item.personPictureUrl"></image>
|
||||||
<image :src="baseurl+item.attributePitureUrl" mode=""
|
<image :src="baseurl+item.attributePitureUrl" mode=""
|
||||||
v-if="item.orderType !='HEALTH_CONSULTATION'"></image>
|
v-if="item.orderType !='HEALTH_CONSULTATION'"></image>
|
||||||
|
|||||||
@ -45,6 +45,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
<u-toast ref="uToast" />
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
@ -6,10 +6,7 @@
|
|||||||
<view class="title" v-if="list.orderStatus=='WAIT_REFUND'" @tap="goprevious">退款中</view>
|
<view class="title" v-if="list.orderStatus=='WAIT_REFUND'" @tap="goprevious">退款中</view>
|
||||||
<view class="title" v-if="list.orderStatus=='CANCEL'" @tap="goprevious">已取消</view>
|
<view class="title" v-if="list.orderStatus=='CANCEL'" @tap="goprevious">已取消</view>
|
||||||
<view class="title" v-if="list.orderStatus=='WAIT_RECEIVED_GOODS'" @tap="goprevious">待接单</view>
|
<view class="title" v-if="list.orderStatus=='WAIT_RECEIVED_GOODS'" @tap="goprevious">待接单</view>
|
||||||
<!-- <view class="title" v-if="list.orderStatus=='WAIT_RECEIVED_GOODS'&&list.orderType !='HEALTH_CONSULTATION'">
|
|
||||||
待收货</view> -->
|
|
||||||
<!-- <view class="title" v-if="list.orderStatus=='WAIT_RECEIVED_GOODS'&&list.orderType =='HEALTH_CONSULTATION'">
|
|
||||||
待咨询</view> -->
|
|
||||||
<view class="title" v-if="list.orderStatus=='COMPLETED'" @tap="goprevious">待评价</view>
|
<view class="title" v-if="list.orderStatus=='COMPLETED'" @tap="goprevious">待评价</view>
|
||||||
<view class="title" v-if="list.orderStatus=='RECEIVED_GOODS'" @tap="goprevious">待服务</view>
|
<view class="title" v-if="list.orderStatus=='RECEIVED_GOODS'" @tap="goprevious">待服务</view>
|
||||||
<view class="title" v-if="list.orderStatus=='EVALUATED'" @tap="goprevious">已评价</view>
|
<view class="title" v-if="list.orderStatus=='EVALUATED'" @tap="goprevious">已评价</view>
|
||||||
|
|||||||
@ -134,8 +134,10 @@
|
|||||||
import gkcity from "../../components/m-city/m-city.vue";
|
import gkcity from "../../components/m-city/m-city.vue";
|
||||||
import baseurl from '@/api/baseurl.js'
|
import baseurl from '@/api/baseurl.js'
|
||||||
import {
|
import {
|
||||||
consultationInfo
|
consultationInfo,
|
||||||
|
detail
|
||||||
} from '@/api/pagesB/createnewconsultation/createnewconsultation.js'
|
} from '@/api/pagesB/createnewconsultation/createnewconsultation.js'
|
||||||
|
// import consultationplatformVueHtml from '../consultationplatform/consultationplatform.vue.html';
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
"m-city": gkcity
|
"m-city": gkcity
|
||||||
@ -150,19 +152,19 @@
|
|||||||
address: '请选择所属地区', //页面所属区域
|
address: '请选择所属地区', //页面所属区域
|
||||||
formdata: {
|
formdata: {
|
||||||
address: '请选择所属地区', //页面所属区域
|
address: '请选择所属地区', //页面所属区域
|
||||||
patientId: 1,
|
patientId: '',
|
||||||
patientName: '李广君',
|
patientName: '',
|
||||||
cardNo: '370882199909092123',
|
cardNo: '',
|
||||||
phone: '17615455437',
|
phone: '',
|
||||||
address: '',
|
address: '',
|
||||||
doctorId: 1,
|
doctorId: 111,
|
||||||
doctorName: '李医生',
|
doctorName: '李医生',
|
||||||
consultationType: 'IMAGE_TEXT_CONSULTATION',
|
consultationType: 'IMAGE_TEXT_CONSULTATION',
|
||||||
problemDescription: '',
|
problemDescription: '',
|
||||||
situationDescription: '',
|
situationDescription: '',
|
||||||
problemStatement: '',
|
problemStatement: '',
|
||||||
medicalRecord: '',
|
medicalRecord: '',
|
||||||
fileUrls: []
|
fileUrls: [],
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
@ -172,14 +174,22 @@
|
|||||||
onShow() {
|
onShow() {
|
||||||
this.areaInfo();
|
this.areaInfo();
|
||||||
let that = this
|
let that = this
|
||||||
|
that.formdata = uni.getStorageSync('userinfo')
|
||||||
uni.$on('doctordata', function(data) {
|
uni.$on('doctordata', function(data) {
|
||||||
let item = JSON.parse(data.data)
|
let item = JSON.parse(data.data)
|
||||||
that.formdata.doctorName = item.realname
|
that.formdata.doctorName = item.realname
|
||||||
that.formdata.doctorId = item.userNo
|
that.formdata.doctorId = item.userNo
|
||||||
uni.$off('doctordata')
|
uni.$off('doctordata')
|
||||||
})
|
})
|
||||||
|
this.infolist()
|
||||||
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
infolist() {
|
||||||
|
detail(this.formdata.cardNo).then(res => {
|
||||||
|
console.log(res, '55')
|
||||||
|
})
|
||||||
|
},
|
||||||
updata() {
|
updata() {
|
||||||
if (this.imglistlength > 0) {
|
if (this.imglistlength > 0) {
|
||||||
this.$refs.uUpload.upload()
|
this.$refs.uUpload.upload()
|
||||||
|
|||||||
@ -141,7 +141,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<u-popup v-model="popupShow" mode="right" @close="closeCrowds" width='50%'>
|
<u-popup v-model="popupShow" mode="right" @close="closeCrowds" width='50%'>
|
||||||
<scroll-view scroll-y="true" style="height: 100vh;padding: 40rpx 10rpx 100rpx">
|
<scroll-view scroll-y="true" style="height: 100%;padding: 40rpx 10rpx 100rpx">
|
||||||
<u-checkbox-group @change="crowdscheckboxGroupChange" v-model="query.crowdsName" v-if="showGroup == 1"
|
<u-checkbox-group @change="crowdscheckboxGroupChange" v-model="query.crowdsName" v-if="showGroup == 1"
|
||||||
label-size='20rpx'>
|
label-size='20rpx'>
|
||||||
<u-checkbox v-model="item.checked" v-for="(item, index) in crowdslist" :key="index"
|
<u-checkbox v-model="item.checked" v-for="(item, index) in crowdslist" :key="index"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user