|
@@ -58,208 +58,207 @@ export default new Router({
|
58
|
58
|
y: 0,
|
59
|
59
|
};
|
60
|
60
|
},
|
61
|
|
- routes: [
|
62
|
|
- {
|
63
|
|
- path: '/',
|
64
|
|
- name: 'Home',
|
65
|
|
- component: HomePage,
|
66
|
|
- },
|
67
|
|
- {
|
68
|
|
- path: '/about/us',
|
69
|
|
- name: 'aboutus',
|
70
|
|
- component: AboutUs,
|
71
|
|
- },
|
72
|
|
- {
|
73
|
|
- path: '/about/timeshare',
|
74
|
|
- name: 'abouttimeshare',
|
75
|
|
- component: AboutTimeshare,
|
76
|
|
- },
|
77
|
|
- {
|
78
|
|
- path: '/communication/template',
|
79
|
|
- name: 'template',
|
80
|
|
- component: TemplatePage,
|
81
|
|
- },
|
82
|
|
- {
|
83
|
|
- path: '/timeshare/sell',
|
84
|
|
- name: 'TimeshareSell',
|
85
|
|
- component: TimeshareSell,
|
86
|
|
- },
|
87
|
|
- {
|
88
|
|
- path: '/timeshare/buy',
|
89
|
|
- name: 'TimeshareBuy',
|
90
|
|
- component: TimeshareBuy,
|
91
|
|
- },
|
92
|
|
- {
|
93
|
|
- path: '/timeshare/faq',
|
94
|
|
- name: 'TimeshareFAQ',
|
95
|
|
- component: TimeshareFAQ,
|
96
|
|
- },
|
97
|
|
- {
|
98
|
|
- path: '/timeshare/myWeeks',
|
99
|
|
- name: 'MyWeeks',
|
100
|
|
- component: MyWeeksPage,
|
101
|
|
- },
|
102
|
|
- {
|
103
|
|
- path: '/user/login',
|
104
|
|
- name: 'Login',
|
105
|
|
- component: Login,
|
106
|
|
- },
|
107
|
|
- {
|
108
|
|
- path: '/user/updateProfileInfo',
|
109
|
|
- name: 'UpdateInfo',
|
110
|
|
- component: UpdateInfo,
|
111
|
|
- },
|
112
|
|
- {
|
113
|
|
- path: '/user/register',
|
114
|
|
- name: 'PrivateIndividual',
|
115
|
|
- component: PrivateIndividual,
|
116
|
|
- },
|
117
|
|
- {
|
118
|
|
- path: '/user/registeragency',
|
119
|
|
- name: 'Agency',
|
120
|
|
- component: Agency,
|
121
|
|
- },
|
122
|
|
- {
|
123
|
|
- path: '/property/property/:id',
|
124
|
|
- name: 'PropertyPage',
|
125
|
|
- component: PropertyPage,
|
126
|
|
- },
|
127
|
|
- {
|
128
|
|
- path: '/property/:propertyUsageType/search',
|
129
|
|
- name: 'PropertySearch',
|
130
|
|
- component: PropertySearch,
|
131
|
|
- },
|
132
|
|
- {
|
133
|
|
- path: '/property/search',
|
134
|
|
- name: 'PropertySearchTab',
|
135
|
|
- component: PropertySearch,
|
136
|
|
- },
|
137
|
|
- {
|
138
|
|
- path: '/property/new/:saleType',
|
139
|
|
- name: 'PropertyNew',
|
140
|
|
- component: PropertyEdit,
|
141
|
|
- },
|
142
|
|
- {
|
143
|
|
- path: '/property/new/:propertyUsageType/:saleType',
|
144
|
|
- name: 'PropertyNewFromSearch',
|
145
|
|
- component: PropertyEdit,
|
146
|
|
- },
|
147
|
|
- {
|
148
|
|
- path: '/property/edit/:id/:propType/:saleType',
|
149
|
|
- name: 'PropertyEdit',
|
150
|
|
- component: PropertyEdit,
|
151
|
|
- },
|
152
|
|
- {
|
153
|
|
- path: '/property/admin/list/:by',
|
154
|
|
- name: 'PropertyListAdmin',
|
155
|
|
- component: PropertyList,
|
156
|
|
- },
|
157
|
|
- {
|
158
|
|
- path: '/propertyTypes/list',
|
159
|
|
- name: 'PropertyTypeList',
|
160
|
|
- component: PropertyTypeList,
|
161
|
|
- },
|
162
|
|
- {
|
163
|
|
- path: '/propertyType/new',
|
164
|
|
- name: 'PropertyTypeNew',
|
165
|
|
- component: PropertyType,
|
166
|
|
- },
|
167
|
|
- {
|
168
|
|
- path: '/propertyType/:id',
|
169
|
|
- name: 'PropertyTypeEdit',
|
170
|
|
- component: PropertyType,
|
171
|
|
- },
|
172
|
|
- {
|
173
|
|
- path: '/userDefinedGroups/list',
|
174
|
|
- name: 'UserDefinedGroupsList',
|
175
|
|
- component: UserDefinedGroups,
|
176
|
|
- },
|
177
|
|
- {
|
178
|
|
- path: '/userDefinedGroups/userDefinedGroup/:id',
|
179
|
|
- name: 'UserDefinedGroupEdit',
|
180
|
|
- component: UserDefinedGroup,
|
181
|
|
- },
|
182
|
|
- {
|
183
|
|
- path: '/userDefinedGroups/userDefinedGroup',
|
184
|
|
- name: 'UserDefinedGroupNew',
|
185
|
|
- component: UserDefinedGroup,
|
186
|
|
- },
|
187
|
|
- {
|
188
|
|
- path: '/status/list',
|
189
|
|
- name: 'StatusList',
|
190
|
|
- component: Status,
|
191
|
|
- },
|
192
|
|
- {
|
193
|
|
- path: '/status/timeshareAdmin',
|
194
|
|
- name: 'TimeshareAdmin',
|
195
|
|
- component: timeshareAdminPage,
|
196
|
|
- },
|
197
|
|
- {
|
198
|
|
- path: '/status/tenderWeekAdmin',
|
199
|
|
- name: 'TenderWeekAdmin',
|
200
|
|
- component: tenderWeekAdminPage,
|
201
|
|
- },
|
202
|
|
- {
|
203
|
|
- path: '/status/userManagementPage',
|
204
|
|
- name: 'userManagementPage',
|
205
|
|
- component: userManagementPage,
|
206
|
|
- },
|
207
|
|
- {
|
208
|
|
- path: '/status/agentUserManagementPage',
|
209
|
|
- name: 'agentManagementPage',
|
210
|
|
- component: agentManagementPage,
|
211
|
|
- },
|
212
|
|
- {
|
213
|
|
- path: '/status/changeLogPage',
|
214
|
|
- name: 'changeLogPage',
|
215
|
|
- component: changeLogPage,
|
216
|
|
- },
|
217
|
|
- {
|
218
|
|
- path: '/unitConfiguration/list',
|
219
|
|
- name: 'UnitConfiguration',
|
220
|
|
- component: UnitConfiguration,
|
221
|
|
- },
|
222
|
|
- {
|
223
|
|
- path: '/contactus',
|
224
|
|
- name: 'ContactUs',
|
225
|
|
- component: ContactUs,
|
226
|
|
- },
|
227
|
|
- {
|
228
|
|
- path: '/privacypolicy',
|
229
|
|
- name: 'PrivacyPolicy',
|
230
|
|
- component: PrivacyPolicy,
|
231
|
|
- },
|
232
|
|
- {
|
233
|
|
- path: '/resort/:resortCode',
|
234
|
|
- name: 'ResortPage',
|
235
|
|
- component: ResortPage,
|
236
|
|
- props: true,
|
237
|
|
- },
|
238
|
|
- {
|
239
|
|
- path: '/resort/:resortCode/:weekId',
|
240
|
|
- name: 'UnitPage',
|
241
|
|
- component: UnitPage,
|
242
|
|
- props: true,
|
243
|
|
- },
|
244
|
|
- {
|
245
|
|
- path: '/MakeOffer',
|
246
|
|
- name: 'MakeOffer',
|
247
|
|
- component: MakeOffer,
|
248
|
|
- },
|
249
|
|
- {
|
250
|
|
- path: '/Offers',
|
251
|
|
- name: 'Offers',
|
252
|
|
- component: Offer,
|
253
|
|
- },
|
254
|
|
- {
|
255
|
|
- path: '/timeshare/search',
|
256
|
|
- name: 'TimeshareSearch',
|
257
|
|
- component: TimeshareSearch,
|
258
|
|
- },
|
259
|
|
- {
|
260
|
|
- path: '/searchLog',
|
261
|
|
- name: 'SearchLog',
|
262
|
|
- component: searchLog,
|
263
|
|
- },
|
|
61
|
+ routes: [{
|
|
62
|
+ path: '/',
|
|
63
|
+ name: 'Home',
|
|
64
|
+ component: HomePage,
|
|
65
|
+ },
|
|
66
|
+ {
|
|
67
|
+ path: '/about/us',
|
|
68
|
+ name: 'aboutus',
|
|
69
|
+ component: AboutUs,
|
|
70
|
+ },
|
|
71
|
+ {
|
|
72
|
+ path: '/about/timeshare',
|
|
73
|
+ name: 'abouttimeshare',
|
|
74
|
+ component: AboutTimeshare,
|
|
75
|
+ },
|
|
76
|
+ {
|
|
77
|
+ path: '/communication/template',
|
|
78
|
+ name: 'template',
|
|
79
|
+ component: TemplatePage,
|
|
80
|
+ },
|
|
81
|
+ {
|
|
82
|
+ path: '/timeshare/sell',
|
|
83
|
+ name: 'TimeshareSell',
|
|
84
|
+ component: TimeshareSell,
|
|
85
|
+ },
|
|
86
|
+ {
|
|
87
|
+ path: '/timeshare/buy',
|
|
88
|
+ name: 'TimeshareBuy',
|
|
89
|
+ component: TimeshareBuy,
|
|
90
|
+ },
|
|
91
|
+ {
|
|
92
|
+ path: '/timeshare/faq',
|
|
93
|
+ name: 'TimeshareFAQ',
|
|
94
|
+ component: TimeshareFAQ,
|
|
95
|
+ },
|
|
96
|
+ {
|
|
97
|
+ path: '/timeshare/myWeeks',
|
|
98
|
+ name: 'MyWeeks',
|
|
99
|
+ component: MyWeeksPage,
|
|
100
|
+ },
|
|
101
|
+ {
|
|
102
|
+ path: ' ',
|
|
103
|
+ name: 'Login',
|
|
104
|
+ component: Login,
|
|
105
|
+ },
|
|
106
|
+ {
|
|
107
|
+ path: '/user/updateProfileInfo',
|
|
108
|
+ name: 'UpdateInfo',
|
|
109
|
+ component: UpdateInfo,
|
|
110
|
+ },
|
|
111
|
+ {
|
|
112
|
+ path: '/user/register',
|
|
113
|
+ name: 'PrivateIndividual',
|
|
114
|
+ component: PrivateIndividual,
|
|
115
|
+ },
|
|
116
|
+ {
|
|
117
|
+ path: '/user/registeragency',
|
|
118
|
+ name: 'Agency',
|
|
119
|
+ component: Agency,
|
|
120
|
+ },
|
|
121
|
+ {
|
|
122
|
+ path: '/property/property/:id',
|
|
123
|
+ name: 'PropertyPage',
|
|
124
|
+ component: PropertyPage,
|
|
125
|
+ },
|
|
126
|
+ {
|
|
127
|
+ path: '/property/:propertyUsageType/search',
|
|
128
|
+ name: 'PropertySearch',
|
|
129
|
+ component: PropertySearch,
|
|
130
|
+ },
|
|
131
|
+ {
|
|
132
|
+ path: '/property/search',
|
|
133
|
+ name: 'PropertySearchTab',
|
|
134
|
+ component: PropertySearch,
|
|
135
|
+ },
|
|
136
|
+ {
|
|
137
|
+ path: '/property/new/:saleType',
|
|
138
|
+ name: 'PropertyNew',
|
|
139
|
+ component: PropertyEdit,
|
|
140
|
+ },
|
|
141
|
+ {
|
|
142
|
+ path: '/property/new/:propertyUsageType/:saleType',
|
|
143
|
+ name: 'PropertyNewFromSearch',
|
|
144
|
+ component: PropertyEdit,
|
|
145
|
+ },
|
|
146
|
+ {
|
|
147
|
+ path: '/property/edit/:id/:propType/:saleType',
|
|
148
|
+ name: 'PropertyEdit',
|
|
149
|
+ component: PropertyEdit,
|
|
150
|
+ },
|
|
151
|
+ {
|
|
152
|
+ path: '/property/admin/list/:by',
|
|
153
|
+ name: 'PropertyListAdmin',
|
|
154
|
+ component: PropertyList,
|
|
155
|
+ },
|
|
156
|
+ {
|
|
157
|
+ path: '/propertyTypes/list',
|
|
158
|
+ name: 'PropertyTypeList',
|
|
159
|
+ component: PropertyTypeList,
|
|
160
|
+ },
|
|
161
|
+ {
|
|
162
|
+ path: '/propertyType/new',
|
|
163
|
+ name: 'PropertyTypeNew',
|
|
164
|
+ component: PropertyType,
|
|
165
|
+ },
|
|
166
|
+ {
|
|
167
|
+ path: '/propertyType/:id',
|
|
168
|
+ name: 'PropertyTypeEdit',
|
|
169
|
+ component: PropertyType,
|
|
170
|
+ },
|
|
171
|
+ {
|
|
172
|
+ path: '/userDefinedGroups/list',
|
|
173
|
+ name: 'UserDefinedGroupsList',
|
|
174
|
+ component: UserDefinedGroups,
|
|
175
|
+ },
|
|
176
|
+ {
|
|
177
|
+ path: '/userDefinedGroups/userDefinedGroup/:id',
|
|
178
|
+ name: 'UserDefinedGroupEdit',
|
|
179
|
+ component: UserDefinedGroup,
|
|
180
|
+ },
|
|
181
|
+ {
|
|
182
|
+ path: '/userDefinedGroups/userDefinedGroup',
|
|
183
|
+ name: 'UserDefinedGroupNew',
|
|
184
|
+ component: UserDefinedGroup,
|
|
185
|
+ },
|
|
186
|
+ {
|
|
187
|
+ path: '/status/list',
|
|
188
|
+ name: 'StatusList',
|
|
189
|
+ component: Status,
|
|
190
|
+ },
|
|
191
|
+ {
|
|
192
|
+ path: '/status/timeshareAdmin',
|
|
193
|
+ name: 'TimeshareAdmin',
|
|
194
|
+ component: timeshareAdminPage,
|
|
195
|
+ },
|
|
196
|
+ {
|
|
197
|
+ path: '/status/tenderWeekAdmin',
|
|
198
|
+ name: 'TenderWeekAdmin',
|
|
199
|
+ component: tenderWeekAdminPage,
|
|
200
|
+ },
|
|
201
|
+ {
|
|
202
|
+ path: '/status/userManagementPage',
|
|
203
|
+ name: 'userManagementPage',
|
|
204
|
+ component: userManagementPage,
|
|
205
|
+ },
|
|
206
|
+ {
|
|
207
|
+ path: '/status/agentUserManagementPage',
|
|
208
|
+ name: 'agentManagementPage',
|
|
209
|
+ component: agentManagementPage,
|
|
210
|
+ },
|
|
211
|
+ {
|
|
212
|
+ path: '/status/changeLogPage',
|
|
213
|
+ name: 'changeLogPage',
|
|
214
|
+ component: changeLogPage,
|
|
215
|
+ },
|
|
216
|
+ {
|
|
217
|
+ path: '/unitConfiguration/list',
|
|
218
|
+ name: 'UnitConfiguration',
|
|
219
|
+ component: UnitConfiguration,
|
|
220
|
+ },
|
|
221
|
+ {
|
|
222
|
+ path: '/contactus',
|
|
223
|
+ name: 'ContactUs',
|
|
224
|
+ component: ContactUs,
|
|
225
|
+ },
|
|
226
|
+ {
|
|
227
|
+ path: '/privacypolicy',
|
|
228
|
+ name: 'PrivacyPolicy',
|
|
229
|
+ component: PrivacyPolicy,
|
|
230
|
+ },
|
|
231
|
+ {
|
|
232
|
+ path: '/resort/:resortCode',
|
|
233
|
+ name: 'ResortPage',
|
|
234
|
+ component: ResortPage,
|
|
235
|
+ props: true,
|
|
236
|
+ },
|
|
237
|
+ {
|
|
238
|
+ path: '/resort/:resortCode/:weekId',
|
|
239
|
+ name: 'UnitPage',
|
|
240
|
+ component: UnitPage,
|
|
241
|
+ props: true,
|
|
242
|
+ },
|
|
243
|
+ {
|
|
244
|
+ path: '/MakeOffer',
|
|
245
|
+ name: 'MakeOffer',
|
|
246
|
+ component: MakeOffer,
|
|
247
|
+ },
|
|
248
|
+ {
|
|
249
|
+ path: '/Offers',
|
|
250
|
+ name: 'Offers',
|
|
251
|
+ component: Offer,
|
|
252
|
+ },
|
|
253
|
+ {
|
|
254
|
+ path: '/timeshare/search',
|
|
255
|
+ name: 'TimeshareSearch',
|
|
256
|
+ component: TimeshareSearch,
|
|
257
|
+ },
|
|
258
|
+ {
|
|
259
|
+ path: '/searchLog',
|
|
260
|
+ name: 'SearchLog',
|
|
261
|
+ component: searchLog,
|
|
262
|
+ },
|
264
|
263
|
],
|
265
|
264
|
});
|