3a5fc119 by zhangmeng

页面权限

1 parent 2d4afb86
...@@ -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
123 building() 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'){
124 return 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}`})
138 building()
139 // return
140 break;
141 case 1:
142 //酒店
143 router.push({path: `/booking/hotel/${props.matchId}`})
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;
125 } 161 }
126 const params = { 162
127 matchId: props.matchId,
128 title: language.value == 0 ?'预订说明':'Booking Instructions',
129 type: type
130 }
131 proxy.$refs['orderRemarkRef'].open(params)
132 } 163 }
133 function goBooking(n) { 164 function goBooking(n) {
134 switch (n) { 165 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!