|
|
|
|
@ -58,8 +58,9 @@ const getnmrList = async () => {
|
|
|
|
|
itemsInfo.value = response.data.items_info;
|
|
|
|
|
truePrice.value = response.data.true_price;
|
|
|
|
|
currentDate.value = getToday(); //huo获取今天的日期
|
|
|
|
|
|
|
|
|
|
console.log(yytjInfo.value, "cfvghbjnkmljhbgvfcgvhbjnk");
|
|
|
|
|
if (!yytjInfo.value?.nmr_list?.length) {
|
|
|
|
|
yytjInfo.value.nmrIndex = 0;
|
|
|
|
|
yytjInfo.value.nmr_list = response.data.nmr_list.map((val) => {
|
|
|
|
|
return {
|
|
|
|
|
...val,
|
|
|
|
|
@ -74,8 +75,9 @@ const getnmrList = async () => {
|
|
|
|
|
id: "",
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
console.log(yytjInfo.value.nmr_list[0]);
|
|
|
|
|
xmmcClick(yytjInfo.value.nmr_list[0], 0);
|
|
|
|
|
nmrIndex.value = yytjInfo.value.nmrIndex;
|
|
|
|
|
console.log(yytjInfo.value.nmr_list[nmrIndex.value]);
|
|
|
|
|
xmmcClick(yytjInfo.value.nmr_list[nmrIndex.value], nmrIndex.value);
|
|
|
|
|
uni.hideLoading();
|
|
|
|
|
});
|
|
|
|
|
};
|
|
|
|
|
@ -508,7 +510,7 @@ onShow(() => {
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="center mt-20rpx text-#8B8B8B text-24rpx">
|
|
|
|
|
<!-- <view class="center mt-20rpx text-#8B8B8B text-24rpx">
|
|
|
|
|
<text>体检医生 - </text>
|
|
|
|
|
<text
|
|
|
|
|
class="ml-10rpx text-#0E0E0E center mr-auto"
|
|
|
|
|
@ -517,7 +519,7 @@ onShow(() => {
|
|
|
|
|
{{ yytjInfo?.doctor_name || "请选择" }}
|
|
|
|
|
<uni-icons type="right" size="14"></uni-icons>
|
|
|
|
|
</text>
|
|
|
|
|
</view>
|
|
|
|
|
</view> -->
|
|
|
|
|
</view>
|
|
|
|
|
<view
|
|
|
|
|
style="box-shadow: 0rpx 0rpx 10rpx 0rpx rgba(0, 0, 0, 0.04)"
|
|
|
|
|
@ -641,6 +643,16 @@ onShow(() => {
|
|
|
|
|
{{ item.time }}
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view
|
|
|
|
|
class="p-20rpx pl-10rpx pr-10rpx rounded-15rpx between"
|
|
|
|
|
@click="clickDoctor"
|
|
|
|
|
>
|
|
|
|
|
<text>体检医生</text>
|
|
|
|
|
<text class="ml-10rpx text-#0E0E0E center">
|
|
|
|
|
{{ yytjInfo?.doctor_name || "请选择" }}
|
|
|
|
|
<uni-icons type="right" size="14"></uni-icons>
|
|
|
|
|
</text>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
|