调整样式

main
yanzai 10 months ago
parent 083da77a35
commit 2a27e33512

@ -97,8 +97,8 @@
let use_type = ref(0) let use_type = ref(0)
let checkup_type_id = ref(0) let checkup_type_id = ref(0)
let amount = ref(0) let amount = ref(0)
let person_name=ref('') let person_name = ref('')
let combo_name=ref('') let combo_name = ref('')
// //
const GetDayPlanListFunc = async () => { const GetDayPlanListFunc = async () => {
uni.showLoading(); uni.showLoading();
@ -106,7 +106,7 @@
hospital: hospital_id.value, hospital: hospital_id.value,
person_id: person_id.value, person_id: person_id.value,
date: selectedDate.value, date: selectedDate.value,
use_type:use_type.value, use_type: use_type.value,
checkup_type_id: checkup_type_id.value, checkup_type_id: checkup_type_id.value,
amount: amount.value, amount: amount.value,
} }
@ -158,13 +158,13 @@
tj_time.value = orderInfo.value.appointment_time tj_time.value = orderInfo.value.appointment_time
tj_plan_id.value = orderInfo.value.plan_id tj_plan_id.value = orderInfo.value.plan_id
hospital_id.value=orderInfo.value.hospital_id hospital_id.value = orderInfo.value.hospital_id
person_id.value=orderInfo.value.person_id person_id.value = orderInfo.value.person_id
use_type.value=orderInfo.value.type use_type.value = orderInfo.value.type
checkup_type_id.value=orderInfo.value.checkup_type_id checkup_type_id.value = orderInfo.value.checkup_type_id
amount.value=orderInfo.value.true_price amount.value = orderInfo.value.true_price
person_name.value=orderInfo.value.name person_name.value = orderInfo.value.name
combo_name.value=orderInfo.value.title combo_name.value = orderInfo.value.title
GetDayPlanListFunc() GetDayPlanListFunc()
}); });
@ -291,7 +291,7 @@
hospital: hospital_id.value, hospital: hospital_id.value,
person_id: person_id.value, person_id: person_id.value,
month: ym ? ym : tj_date.value.substring(0, 7), month: ym ? ym : tj_date.value.substring(0, 7),
use_type:use_type.value, use_type: use_type.value,
checkup_type_id: checkup_type_id.value, checkup_type_id: checkup_type_id.value,
amount: amount.value, amount: amount.value,
} }
@ -304,7 +304,9 @@
date: item.date, date: item.date,
info: "余号" + item.count, info: "余号" + item.count,
}; };
if( item.count>0){
rlArr.push(o); rlArr.push(o);
}
}); });
MonthList.value = rlArr; MonthList.value = rlArr;
//MonthCalendar.value.open() //MonthCalendar.value.open()
@ -345,10 +347,10 @@
} }
// //
const StartYuYue = () => { const StartYuYue = () => {
if(buyInfo.value.group_id){ if (buyInfo.value.group_id) {
// //
comfrimyy() comfrimyy()
}else{ } else {
// //
OnlyYuYue() OnlyYuYue()
} }
@ -383,18 +385,18 @@
type: buyInfo.value.group_id ? 2 : 1, type: buyInfo.value.group_id ? 2 : 1,
hospital: buyInfo.value.hospital, hospital: buyInfo.value.hospital,
group_id: buyInfo.value.group_id, group_id: buyInfo.value.group_id,
combo_id:buyInfo.value.group_id?"":buyInfo.value?.combo_id, combo_id: buyInfo.value.group_id ? "" : buyInfo.value?.combo_id,
item_ids: buyInfo.value.item_ids, item_ids: buyInfo.value.item_ids,
plan_id: tj_plan_id.value, plan_id: tj_plan_id.value,
plan_nmr_info:yytjInfo.value?.nmr_list || null, plan_nmr_info: yytjInfo.value?.nmr_list || null,
doctor: yytjInfo.value?.doctor_name || "", doctor: yytjInfo.value?.doctor_name || "",
duo_xuan_yi: $store.getDuoXuanYi(), duo_xuan_yi: $store.getDuoXuanYi(),
jifen: Math.ceil(yytjInfo.value.pointsPrice?yytjInfo.value.pointsPrice:0), jifen: Math.ceil(yytjInfo.value.pointsPrice ? yytjInfo.value.pointsPrice : 0),
yucunkuan: yytjInfo.value.prepaidPrice?yytjInfo.value.prepaidPrice:0, yucunkuan: yytjInfo.value.prepaidPrice ? yytjInfo.value.prepaidPrice : 0,
coupon_id:yytjInfo.value?.couponId || null, coupon_id: yytjInfo.value?.couponId || null,
wj: buyInfo.value.wj, wj: buyInfo.value.wj,
erxian_info:yytjInfo.value.erxianInfo, erxian_info: yytjInfo.value.erxianInfo,
peiou_info:$store.getPeiOuUser()// peiou_info: $store.getPeiOuUser() //
}; };
console.log(obj); console.log(obj);
const response = await $api("OrderCreate", obj); const response = await $api("OrderCreate", obj);
@ -412,7 +414,7 @@
}); });
}; };
// //
const OnlyYuYue=async()=>{ const OnlyYuYue = async () => {
if (tj_time.value == null) { if (tj_time.value == null) {
uni.$lu.toast("请选择体检日期"); uni.$lu.toast("请选择体检日期");
return false return false
@ -475,8 +477,7 @@
info.signature; info.signature;
console.log(p); console.log(p);
wx.miniProgram.navigateTo({ wx.miniProgram.navigateTo({
url: url: "/pages/other/entry/index?path=/pages/physical-examination/payment/index" +
"/pages/other/entry/index?path=/pages/physical-examination/payment/index" +
p, p,
}); });
} }
@ -505,24 +506,24 @@
let temp = null let temp = null
onMounted(() => { onMounted(() => {
itemSelected.value.type='tj' itemSelected.value.type = 'tj'
buyInfo.value = $store.getBuyInfo(); buyInfo.value = $store.getBuyInfo();
// //
temp = $store.getYytjInfo() temp = $store.getYytjInfo()
temp.doctor_name = "" temp.doctor_name = ""
$store.setYytjInfo(temp) $store.setYytjInfo(temp)
selectedDate.value = GetToday() selectedDate.value = GetToday()
tj_date.value=GetToday() tj_date.value = GetToday()
if (OrderId.value) { if (OrderId.value) {
GetOrderInfo() GetOrderInfo()
} else { } else {
checkup_type_id.value= buyInfo.value.group_id ? checkup_type_id.value = buyInfo.value.group_id ?
$store.getGroupInfo()?.checkup_type_id : $store.getCheckupTypeId()?.id, $store.getGroupInfo()?.checkup_type_id : $store.getCheckupTypeId()?.id,
hospital_id.value= buyInfo.value.hospital, hospital_id.value = buyInfo.value.hospital,
person_id.value= buyInfo.value.person_id, person_id.value = buyInfo.value.person_id,
use_type.value= buyInfo.value.group_id ? 2 : 1, use_type.value = buyInfo.value.group_id ? 2 : 1,
person_name.value=buyInfo.value.group_id ?$store.getGroupInfo()?.name : '', person_name.value = buyInfo.value.group_id ? $store.getGroupInfo()?.name : '',
combo_name.value=buyInfo.value.group_id ?$store.getGroupInfo()?.group_name : '', combo_name.value = buyInfo.value.group_id ? $store.getGroupInfo()?.group_name : '',
GetDayPlanListFunc() GetDayPlanListFunc()
} }
@ -564,7 +565,7 @@
.zhouli { .zhouli {
padding: 40rpx; padding: 40rpx;
background-color: #fff; background-color: #fff;
height:calc(100vh - 460rpx) ; height: calc(100vh - 460rpx);
overflow-y: scroll; overflow-y: scroll;
} }
@ -627,6 +628,15 @@
.uni-calendar-item__weeks-box-text { .uni-calendar-item__weeks-box-text {
font-size: 26rpx; font-size: 26rpx;
color:#ccc;
}
.uni-calendar-item__weeks-box-text:has(+ .uni-calendar-item--extra) {
color: #666;
}
.uni-calendar-item__weeks-box-text:has(+ .uni-calendar-item--disable) {
color: #ccc !important;
} }
.uni-calendar-item__weeks-lunar-text { .uni-calendar-item__weeks-lunar-text {

Loading…
Cancel
Save