|
@@ -214,10 +214,11 @@ |
|
@@ -214,10 +214,11 @@ |
214
|
methods: {
|
214
|
methods: {
|
215
|
/* 返回标题处理 */
|
215
|
/* 返回标题处理 */
|
216
|
returnTitle() {
|
216
|
returnTitle() {
|
|
|
217
|
+ let streetTitle = this.street.allTitle !== '全部' ? this.street.allTitle : '';
|
217
|
let getTitle = this.province.allTitle +
|
218
|
let getTitle = this.province.allTitle +
|
218
|
this.city.allTitle +
|
219
|
this.city.allTitle +
|
219
|
this.area.allTitle +
|
220
|
this.area.allTitle +
|
220
|
- this.street.allTitle;
|
221
|
+ streetTitle;
|
221
|
let returnTitle = '';
|
222
|
let returnTitle = '';
|
222
|
|
223
|
|
223
|
if (getTitle.length > 11) {
|
224
|
if (getTitle.length > 11) {
|
|
@@ -311,14 +312,14 @@ |
|
@@ -311,14 +312,14 @@ |
311
|
id: id
|
312
|
id: id
|
312
|
}, resultData => {
|
313
|
}, resultData => {
|
313
|
|
314
|
|
314
|
- /* 结果返回 */
|
|
|
315
|
- if (resultData.length < 1) {
|
|
|
316
|
- areaCode.val(id);
|
|
|
317
|
- let returnTitle = this.returnTitle();
|
315
|
+ // /* 结果返回 */
|
|
|
316
|
+ // if (resultData.length < 1) {
|
|
|
317
|
+ // areaCode.val(id);
|
|
|
318
|
+ // let returnTitle = this.returnTitle();
|
318
|
|
319
|
|
319
|
- area.val(returnTitle);
|
|
|
320
|
- this.show = false;
|
|
|
321
|
- }
|
320
|
+ // area.val(returnTitle);
|
|
|
321
|
+ // this.show = false;
|
|
|
322
|
+ // }
|
322
|
|
323
|
|
323
|
/* 数据绑定 */
|
324
|
/* 数据绑定 */
|
324
|
switch ((id + '').length) {
|
325
|
switch ((id + '').length) {
|