0423aa10 by zhangmeng

判断时候登录

1 parent 94015fdf
...@@ -97,49 +97,21 @@ function building() { ...@@ -97,49 +97,21 @@ function building() {
97 return 97 return
98 } 98 }
99 function popRemark(type){ 99 function popRemark(type){
100 100 debugger
101 switch (type) { 101 if(!form.value){
102 case 0:
103 // 票务
104 // router.push({path: `/booking/ticket/${props.matchId}`})
105 building() 102 building()
106 break; 103 return
107 case 1:
108 //酒店
109 router.push({path: `/booking/hotel/${props.matchId}`})
110 break;
111 case 2:
112 //车辆
113 router.push({path: `/booking/car/${props.matchId}`})
114 break;
115 case 3:
116 //餐饮
117 router.push({path: `/booking/dinner/${props.matchId}`})
118 break;
119 case 4:
120 //化妆
121 router.push({path: `/booking/makeup/${props.matchId}`})
122 break;
123 case 5:
124 //拍照
125 router.push({path: `/booking/photography/${props.matchId}`})
126 break;
127 } 104 }
128 105 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)){
129 // if(!form.value){ 106 building()
130 // building() 107 return
131 // return 108 }
132 // } 109 const params = {
133 // 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'){ 110 matchId: props.matchId,
134 // building() 111 title: language.value == 0 ?'预订说明':'Booking Instructions',
135 // return 112 type: type
136 // } 113 }
137 // const params = { 114 proxy.$refs['orderRemarkRef'].open(params)
138 // matchId: props.matchId,
139 // title: language.value == 0 ?'预订说明':'Booking Instructions',
140 // type: type
141 // }
142 // proxy.$refs['orderRemarkRef'].open(params)
143 } 115 }
144 function goBooking(n) { 116 function goBooking(n) {
145 switch (n) { 117 switch (n) {
......
...@@ -119,17 +119,17 @@ function popRemark(type){ ...@@ -119,17 +119,17 @@ function popRemark(type){
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' || type=='4' || type=='5'){
123 // building() 123 building()
124 // return 124 return
125 // } 125 }
126 // 126
127 // const params = { 127 const params = {
128 // matchId: props.matchId, 128 matchId: props.matchId,
129 // title: language.value == 0 ?'预订说明':'Booking Instructions', 129 title: language.value == 0 ?'预订说明':'Booking Instructions',
130 // type: type 130 type: type
131 // } 131 }
132 // proxy.$refs['orderRemarkRef'].open(params) 132 proxy.$refs['orderRemarkRef'].open(params)
133 133
134 switch (type) { 134 switch (type) {
135 case 0: 135 case 0:
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!