5aeb20fe by zhangmeng

判断登录

1 parent c35101ac
...@@ -114,12 +114,12 @@ function building() { ...@@ -114,12 +114,12 @@ function building() {
114 return 114 return
115 } 115 }
116 function popRemark(type){ 116 function popRemark(type){
117 // if(!form.value){ 117 if(!form.value){
118 // building() 118 building()
119 // return 119 return
120 // } 120 }
121 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'){ 122 if((form.value.isJdView == 0&&type=='1') || (form.value.isCarView == 0&&type=='2') || (form.value.isFoodView == 0&&type=='3') || type=='0' || (form.value.isMealView == 0&&type=='4') || (type=='5'&&form.value.isPhotoView == 0)){
123 building() 123 building()
124 return 124 return
125 } 125 }
...@@ -131,35 +131,6 @@ function popRemark(type){ ...@@ -131,35 +131,6 @@ function popRemark(type){
131 } 131 }
132 proxy.$refs['orderRemarkRef'].open(params) 132 proxy.$refs['orderRemarkRef'].open(params)
133 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;
161 }
162
163 } 134 }
164 function goBooking(n) { 135 function goBooking(n) {
165 switch (n) { 136 switch (n) {
...@@ -182,12 +153,10 @@ function goBooking(n) { ...@@ -182,12 +153,10 @@ function goBooking(n) {
182 break; 153 break;
183 case 4: 154 case 4:
184 //化妆 155 //化妆
185 building()
186 router.push({path: `/booking/makeup/${props.matchId}`}) 156 router.push({path: `/booking/makeup/${props.matchId}`})
187 break; 157 break;
188 case 5: 158 case 5:
189 //拍照 159 //拍照
190 building()
191 router.push({path: `/booking/photography/${props.matchId}`}) 160 router.push({path: `/booking/photography/${props.matchId}`})
192 break; 161 break;
193 } 162 }
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!