|
|
|
|
@ -4,10 +4,22 @@
|
|
|
|
|
* user:bgcx
|
|
|
|
|
* date:2024年9月20日 20:05:05
|
|
|
|
|
*/
|
|
|
|
|
import { ref, computed } from "vue";
|
|
|
|
|
import { $image, $api, $response } from "@/api";
|
|
|
|
|
import { onShow } from "@dcloudio/uni-app";
|
|
|
|
|
import { useStore } from "@/store";
|
|
|
|
|
import {
|
|
|
|
|
ref,
|
|
|
|
|
computed
|
|
|
|
|
} from "vue";
|
|
|
|
|
import {
|
|
|
|
|
$image,
|
|
|
|
|
$api,
|
|
|
|
|
$response
|
|
|
|
|
} from "@/api";
|
|
|
|
|
import {
|
|
|
|
|
onShow
|
|
|
|
|
} from "@dcloudio/uni-app";
|
|
|
|
|
import wx from 'weixin-js-sdk'
|
|
|
|
|
import {
|
|
|
|
|
useStore
|
|
|
|
|
} from "@/store";
|
|
|
|
|
const $store = useStore();
|
|
|
|
|
let tabIndex = ref(0); // 标签索引
|
|
|
|
|
const bgcx_list = ref(null);
|
|
|
|
|
@ -56,6 +68,11 @@ const routesDeatils = (val) => {
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
const tzroutes = (url) => {
|
|
|
|
|
if (url == 'bgjd') {
|
|
|
|
|
wx.miniProgram.navigateTo({
|
|
|
|
|
url: '/pages/other/entry/index?path=/pages/outpatient/doctor-appointment/index&scene=1035&hospitalAreaId=6&departmentCode=A0030077&subDepartmentCode=4773794195699464904'
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
// 跳转路径
|
|
|
|
|
$store.setTjbgInfo([]);
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
@ -76,27 +93,18 @@ onShow(() => {
|
|
|
|
|
</view>
|
|
|
|
|
<view class="bgcx pl-10rpx pr-10rpx">
|
|
|
|
|
<view class="bgcx_header">
|
|
|
|
|
<view
|
|
|
|
|
@click="tzroutes('bgjd')"
|
|
|
|
|
class="bgcx_header_bgcolor"
|
|
|
|
|
style="background: linear-gradient(-30deg, #3bcda9, #3dcbd1)"
|
|
|
|
|
>
|
|
|
|
|
<view @click="tzroutes('bgjd')" class="bgcx_header_bgcolor"
|
|
|
|
|
style="background: linear-gradient(-30deg, #3bcda9, #3dcbd1)">
|
|
|
|
|
<view class="bgcx_header_text"> 报告解读 </view>
|
|
|
|
|
<image src="@/static/assets/slices/bgjd.png"></image>
|
|
|
|
|
</view>
|
|
|
|
|
<view
|
|
|
|
|
@click="tzroutes('bgdb')"
|
|
|
|
|
class="bgcx_header_bgcolor"
|
|
|
|
|
style="background: linear-gradient(-30deg, #fec546, #ffae22)"
|
|
|
|
|
>
|
|
|
|
|
<view @click="tzroutes('bgdb')" class="bgcx_header_bgcolor"
|
|
|
|
|
style="background: linear-gradient(-30deg, #fec546, #ffae22)">
|
|
|
|
|
<view class="bgcx_header_text"> 报告对比 </view>
|
|
|
|
|
<image src="@/static/assets/slices/bgdb.png"></image>
|
|
|
|
|
</view>
|
|
|
|
|
<view
|
|
|
|
|
@click="tzroutes('qsfx')"
|
|
|
|
|
class="bgcx_header_bgcolor"
|
|
|
|
|
style="background: linear-gradient(-30deg, #8bbafe, #7898fe)"
|
|
|
|
|
>
|
|
|
|
|
<view @click="tzroutes('qsfx')" class="bgcx_header_bgcolor"
|
|
|
|
|
style="background: linear-gradient(-30deg, #8bbafe, #7898fe)">
|
|
|
|
|
<view class="bgcx_header_text"> 趋势分析 </view>
|
|
|
|
|
<image src="@/static/assets/slices/xsfx.png"></image>
|
|
|
|
|
</view>
|
|
|
|
|
@ -104,24 +112,12 @@ onShow(() => {
|
|
|
|
|
<view class="bgcx_fullReport">
|
|
|
|
|
<view class="text-#123531 text-34rpx"> 全部报告 </view>
|
|
|
|
|
<view class="bgcx_fullReport_query mb-38rpx">
|
|
|
|
|
<view
|
|
|
|
|
@click="gettjbgInfo(0)"
|
|
|
|
|
:class="tabIndex == 0 ? 'bgcx_fullReport_query_button_active' : ''"
|
|
|
|
|
class="bgcx_fullReport_query_button"
|
|
|
|
|
>全部</view
|
|
|
|
|
>
|
|
|
|
|
<view
|
|
|
|
|
@click="gettjbgInfo(1)"
|
|
|
|
|
:class="tabIndex == 1 ? 'bgcx_fullReport_query_button_active' : ''"
|
|
|
|
|
class="bgcx_fullReport_query_button"
|
|
|
|
|
>已出报告</view
|
|
|
|
|
>
|
|
|
|
|
<view
|
|
|
|
|
@click="gettjbgInfo(2)"
|
|
|
|
|
:class="tabIndex == 2 ? 'bgcx_fullReport_query_button_active' : ''"
|
|
|
|
|
class="bgcx_fullReport_query_button"
|
|
|
|
|
>未出报告</view
|
|
|
|
|
>
|
|
|
|
|
<view @click="gettjbgInfo(0)" :class="tabIndex == 0 ? 'bgcx_fullReport_query_button_active' : ''"
|
|
|
|
|
class="bgcx_fullReport_query_button">全部</view>
|
|
|
|
|
<view @click="gettjbgInfo(1)" :class="tabIndex == 1 ? 'bgcx_fullReport_query_button_active' : ''"
|
|
|
|
|
class="bgcx_fullReport_query_button">已出报告</view>
|
|
|
|
|
<view @click="gettjbgInfo(2)" :class="tabIndex == 2 ? 'bgcx_fullReport_query_button_active' : ''"
|
|
|
|
|
class="bgcx_fullReport_query_button">未出报告</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view v-for="(val, i) in bgcx_list" :key="i" @click="routesDeatils(val)">
|
|
|
|
|
<view class="flex items-center">
|
|
|
|
|
@ -130,21 +126,15 @@ onShow(() => {
|
|
|
|
|
{{ val["登记时间"] }}
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view
|
|
|
|
|
class="mt-29rpx mb-40rpx bg-#239EA3 rounded-20rpx flex"
|
|
|
|
|
style="box-shadow: 0rpx 2rpx 10rpx 0rpx rgba(141, 141, 141, 0.25)"
|
|
|
|
|
>
|
|
|
|
|
<view class="mt-29rpx mb-40rpx bg-#239EA3 rounded-20rpx flex"
|
|
|
|
|
style="box-shadow: 0rpx 2rpx 10rpx 0rpx rgba(141, 141, 141, 0.25)">
|
|
|
|
|
<view class="flex-1 pb-25rpx bg-#fff rounded-20rpx">
|
|
|
|
|
<view
|
|
|
|
|
v-show="!val.is_read"
|
|
|
|
|
class="rounded-5rpx position-absolute right-94rpx text-#239EA3 rounded-rt-20rpx mt-3rpx w-70rpx h-36rpx bg-#F3F9F9 b-0 b-1 b-solid b-#E9F5F5 text-22rpx text-center"
|
|
|
|
|
>
|
|
|
|
|
<view v-show="!val.is_read"
|
|
|
|
|
class="rounded-5rpx position-absolute right-94rpx text-#239EA3 rounded-rt-20rpx mt-3rpx w-70rpx h-36rpx bg-#F3F9F9 b-0 b-1 b-solid b-#E9F5F5 text-22rpx text-center">
|
|
|
|
|
未读
|
|
|
|
|
</view>
|
|
|
|
|
<view
|
|
|
|
|
v-show="val.is_read"
|
|
|
|
|
class="rounded-5rpx position-absolute right-94rpx rounded-rt-20rpx m-3rpx w-70rpx h-36rpx text-#ED6907 bg-#FCF5F0 b-0 b-1 b-solid b-#F9E1CF text-22rpx text-center"
|
|
|
|
|
>
|
|
|
|
|
<view v-show="val.is_read"
|
|
|
|
|
class="rounded-5rpx position-absolute right-94rpx rounded-rt-20rpx m-3rpx w-70rpx h-36rpx text-#ED6907 bg-#FCF5F0 b-0 b-1 b-solid b-#F9E1CF text-22rpx text-center">
|
|
|
|
|
已读
|
|
|
|
|
</view>
|
|
|
|
|
<view class="flex mt--20rpx mt-36rpx">
|
|
|
|
|
@ -168,9 +158,7 @@ onShow(() => {
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view
|
|
|
|
|
class="text-#fff w-26rpx ml-16rpx mr-16rpx text-26rpx mt-26rpx line-height-[1.2]"
|
|
|
|
|
>
|
|
|
|
|
<view class="text-#fff w-26rpx ml-16rpx mr-16rpx text-26rpx mt-26rpx line-height-[1.2]">
|
|
|
|
|
体检报告
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
|