页面权限
Showing
2 changed files
with
46 additions
and
14 deletions
| ... | @@ -101,7 +101,8 @@ function popRemark(type){ | ... | @@ -101,7 +101,8 @@ function popRemark(type){ |
| 101 | switch (type) { | 101 | switch (type) { |
| 102 | case 0: | 102 | case 0: |
| 103 | // 票务 | 103 | // 票务 |
| 104 | router.push({path: `/booking/ticket/${props.matchId}`}) | 104 | // router.push({path: `/booking/ticket/${props.matchId}`}) |
| 105 | building() | ||
| 105 | break; | 106 | break; |
| 106 | case 1: | 107 | case 1: |
| 107 | //酒店 | 108 | //酒店 | ... | ... |
| ... | @@ -77,7 +77,6 @@ | ... | @@ -77,7 +77,6 @@ |
| 77 | </el-col> | 77 | </el-col> |
| 78 | </el-row> | 78 | </el-row> |
| 79 | </div> | 79 | </div> |
| 80 | |||
| 81 | <order-remark ref="orderRemarkRef" @submit="goBooking"/> | 80 | <order-remark ref="orderRemarkRef" @submit="goBooking"/> |
| 82 | </template> | 81 | </template> |
| 83 | 82 | ||
| ... | @@ -115,20 +114,52 @@ function building() { | ... | @@ -115,20 +114,52 @@ function building() { |
| 115 | return | 114 | return |
| 116 | } | 115 | } |
| 117 | function popRemark(type){ | 116 | function popRemark(type){ |
| 118 | if(!form.value){ | 117 | // if(!form.value){ |
| 119 | building() | 118 | // building() |
| 120 | return | 119 | // return |
| 121 | } | 120 | // } |
| 122 | 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'){ | 121 | |
| 122 | // 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'){ | ||
| 123 | // building() | ||
| 124 | // return | ||
| 125 | // } | ||
| 126 | // | ||
| 127 | // const params = { | ||
| 128 | // matchId: props.matchId, | ||
| 129 | // title: language.value == 0 ?'预订说明':'Booking Instructions', | ||
| 130 | // type: type | ||
| 131 | // } | ||
| 132 | // proxy.$refs['orderRemarkRef'].open(params) | ||
| 133 | |||
| 134 | switch (type) { | ||
| 135 | case 0: | ||
| 136 | // 票务 | ||
| 137 | // router.push({path: `/booking/ticket/${props.matchId}`}) | ||
| 123 | building() | 138 | building() |
| 124 | return | 139 | // return |
| 125 | } | 140 | break; |
| 126 | const params = { | 141 | case 1: |
| 127 | matchId: props.matchId, | 142 | //酒店 |
| 128 | title: language.value == 0 ?'预订说明':'Booking Instructions', | 143 | router.push({path: `/booking/hotel/${props.matchId}`}) |
| 129 | type: type | 144 | break; |
| 145 | case 2: | ||
| 146 | //车辆 | ||
| 147 | router.push({path: `/booking/car/${props.matchId}`}) | ||
| 148 | break; | ||
| 149 | case 3: | ||
| 150 | //餐饮 | ||
| 151 | router.push({path: `/booking/dinner/${props.matchId}`}) | ||
| 152 | break; | ||
| 153 | case 4: | ||
| 154 | //化妆 | ||
| 155 | router.push({path: `/booking/makeup/${props.matchId}`}) | ||
| 156 | break; | ||
| 157 | case 5: | ||
| 158 | //拍照 | ||
| 159 | router.push({path: `/booking/photography/${props.matchId}`}) | ||
| 160 | break; | ||
| 130 | } | 161 | } |
| 131 | proxy.$refs['orderRemarkRef'].open(params) | 162 | |
| 132 | } | 163 | } |
| 133 | function goBooking(n) { | 164 | function goBooking(n) { |
| 134 | switch (n) { | 165 | switch (n) { | ... | ... |
-
Please register or sign in to post a comment