3a5fc119 by zhangmeng

页面权限

1 parent 2d4afb86
......@@ -101,7 +101,8 @@ function popRemark(type){
switch (type) {
case 0:
// 票务
router.push({path: `/booking/ticket/${props.matchId}`})
// router.push({path: `/booking/ticket/${props.matchId}`})
building()
break;
case 1:
//酒店
......
......@@ -77,7 +77,6 @@
</el-col>
</el-row>
</div>
<order-remark ref="orderRemarkRef" @submit="goBooking"/>
</template>
......@@ -115,20 +114,52 @@ function building() {
return
}
function popRemark(type){
if(!form.value){
building()
return
}
if((form.value.isJdView == 0&&type=='1') || (form.value.isCarView == 0&&type=='2') || (form.value.isFoodView == 0&&type=='3') || type=='0' || type=='4' || type=='5'){
building()
return
// if(!form.value){
// building()
// return
// }
// if((form.value.isJdView == 0&&type=='1') || (form.value.isCarView == 0&&type=='2') || (form.value.isFoodView == 0&&type=='3') || type=='0' || type=='4' || type=='5'){
// building()
// return
// }
//
// const params = {
// matchId: props.matchId,
// title: language.value == 0 ?'预订说明':'Booking Instructions',
// type: type
// }
// proxy.$refs['orderRemarkRef'].open(params)
switch (type) {
case 0:
// 票务
// router.push({path: `/booking/ticket/${props.matchId}`})
building()
// return
break;
case 1:
//酒店
router.push({path: `/booking/hotel/${props.matchId}`})
break;
case 2:
//车辆
router.push({path: `/booking/car/${props.matchId}`})
break;
case 3:
//餐饮
router.push({path: `/booking/dinner/${props.matchId}`})
break;
case 4:
//化妆
router.push({path: `/booking/makeup/${props.matchId}`})
break;
case 5:
//拍照
router.push({path: `/booking/photography/${props.matchId}`})
break;
}
const params = {
matchId: props.matchId,
title: language.value == 0 ?'预订说明':'Booking Instructions',
type: type
}
proxy.$refs['orderRemarkRef'].open(params)
}
function goBooking(n) {
switch (n) {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!