1.修复体检预约没有号源ID的bug

2.趋势分析,没数据时返回上一页
3.套餐列表去掉医生选择
4.体检引导加入心电图详情跳转方法
wenjuan
刘佳宇 1 year ago
parent 3d6f5f01f8
commit d5cc7b3af4

@ -91,9 +91,9 @@ const collapseClick = async (e) => {
}
}
// return
if(itemWithId120.hasOwnProperty("details")){
if (itemWithId120.hasOwnProperty("details")) {
console.log(itemWithId120["details"], "itemWithId120");
return
return;
}
uni.showLoading({
title: "加载中",
@ -315,7 +315,8 @@ onShow(() => {
>
全部检查
</view>
<view
<!-- 展开全部 -->
<!-- <view
class="position-absolute top-20rpx right-0rpx text-#6D6D6D text-26rpx"
>
<view
@ -329,8 +330,7 @@ onShow(() => {
<uni-collapse-item id="qcInline-item" :open="isopen">
</uni-collapse-item>
</view>
<!-- 展开全部 -->
</view>
</view> -->
<view v-for="(item, index) in wzbg_list">
<uni-collapse
class="collapse-w"
@ -383,7 +383,8 @@ onShow(() => {
<!-- {{item.details.error_items.length}} -->
<text
v-if="
!item.details.suojian?.length && !item.details.error_items?.length
!item.details.suojian?.length &&
!item.details.error_items?.length
"
>
未见明显异常</text

@ -62,6 +62,16 @@ const ReportAnalysis = async () => {
});
$response(response, () => {
uni.hideLoading();
if (!response.data.show) {
uni.showToast({
title: "暂无数据",
icon: "none",
});
uni.navigateBack({
delta: 1,
});
return;
}
analysis_content.value = response.data.info;
console.log(analysis_content.value);
response.data.chart1_option.min = Number(response.data.chart1_option.min);

@ -311,7 +311,7 @@ const toRouter = () => {
</view>
</view>
</view>
<view class="relative z-999 pt-10rpx center">
<!-- <view class="relative z-999 pt-10rpx center">
<view class="doctor_wrapper">
<view class="doctor_tip_wrapper">
<text v-if="!!combo_list.doctor.id"></text>
@ -322,7 +322,7 @@ const toRouter = () => {
</view>
<view class="doctor_tip_wrapper">自动筛选匹配套餐</view>
</view>
</view>
</view> -->
<view class="select_wrapper flex" v-if="selectKey">
<template v-for="(value, key, index) in combo_select" :key="index">
<view
@ -416,7 +416,7 @@ const toRouter = () => {
</view>
</view>
<uni-popup ref="popup" mask-background-color="transparent">
<view class="pt-260rpx w-full h-100vh" @click="popup.close()">
<view class="pt-180rpx w-full h-100vh" @click="popup.close()">
<view class="bg-[rgba(0,0,0,0.3)] h-100%">
<view
class="bg-#fff"

@ -73,7 +73,7 @@ const comfrimyy = async () => {
// uni.$lu.toast("");
// return;
// }
// console.log(yytjInfo.value?.nmr_list);
console.log(yytjInfo.value?.nmr_list);
for (let i = 0; i < yytjInfo.value?.nmr_list?.length; i++) {
if (!yytjInfo.value?.nmr_list[i].time) {
uni.$lu.toast("请选择预约时间");
@ -84,7 +84,7 @@ const comfrimyy = async () => {
if (yytjInfo.value?.nmr_list?.length > 1) {
plan_nmr_id = yytjInfo.value?.nmr_list[0]?.id;
}
if (yytjInfo.value?.nmr_list?.length > 1) {
if (yytjInfo.value?.nmr_list?.length > 0) {
plan_id = yytjInfo.value?.nmr_list[yytjInfo.value?.nmr_list.length - 1]?.id;
}

@ -49,6 +49,12 @@
}
}
const toRouter = () => {
uni.navigateTo({
url: '/pages/user/fenzhen/xindiantu?id=' + $props.id
})
}
const timeShow = (time) => {
let time_array = time.split(':')
return `${time_array[0]}:${time_array[1]}`
@ -149,7 +155,7 @@
<view v-if="!!i.time && !!i.tip" class="time_line_item_line_wrapper"></view>
<view v-if="!!i.time && !!i.tip" class="time_line_item_flex_wrapper">
<view class="time_line_item_text_wrapper">{{ i.tip }}</view>
<view v-if="i.more > 0" class="time_line_item_more_wrapper">>></view>
<view v-if="i.more > 0" class="time_line_item_more_wrapper" @click="toRouter()">>></view>
</view>
</view>
</view>

Loading…
Cancel
Save