省市区修改
This commit is contained in:
parent
14096572f3
commit
e80fb60fab
@ -740,14 +740,13 @@ export default {
|
|||||||
},
|
},
|
||||||
//点击街道
|
//点击街道
|
||||||
clickstreet(item) {
|
clickstreet(item) {
|
||||||
this.form.streetCode = item.areaCode;
|
|
||||||
this.form.areaCode = item.areaCode;
|
this.form.areaCode = item.areaCode;
|
||||||
console.log(item, this.form);
|
console.log(item, this.form);
|
||||||
},
|
},
|
||||||
//点击区县城
|
//点击区县城
|
||||||
clickarea(item) {
|
clickarea(item) {
|
||||||
this.form.areaCode = "";
|
this.form.areaCode = "";
|
||||||
this.form.streetName = "";
|
this.form.streetCode = "";
|
||||||
getSecondaryLevelInfo(item.id).then((res) => {
|
getSecondaryLevelInfo(item.id).then((res) => {
|
||||||
this.streetlist = res.data;
|
this.streetlist = res.data;
|
||||||
});
|
});
|
||||||
@ -756,7 +755,7 @@ export default {
|
|||||||
clickcity(item) {
|
clickcity(item) {
|
||||||
this.form.regionName = "";
|
this.form.regionName = "";
|
||||||
this.form.areaCode = "";
|
this.form.areaCode = "";
|
||||||
this.form.streetName = "";
|
this.form.streetCode = "";
|
||||||
getSecondaryLevelInfo(item.id).then((res) => {
|
getSecondaryLevelInfo(item.id).then((res) => {
|
||||||
this.arealist = res.data;
|
this.arealist = res.data;
|
||||||
});
|
});
|
||||||
@ -766,7 +765,7 @@ export default {
|
|||||||
this.form.cityName = "";
|
this.form.cityName = "";
|
||||||
this.form.regionName = "";
|
this.form.regionName = "";
|
||||||
this.form.areaCode = "";
|
this.form.areaCode = "";
|
||||||
this.form.streetName = "";
|
this.form.streetCode = "";
|
||||||
getSecondaryLevelInfo(item.id).then((res) => {
|
getSecondaryLevelInfo(item.id).then((res) => {
|
||||||
this.citylist = res.data;
|
this.citylist = res.data;
|
||||||
});
|
});
|
||||||
@ -806,7 +805,6 @@ export default {
|
|||||||
nurseStationCode: null,
|
nurseStationCode: null,
|
||||||
nurseStationName: null,
|
nurseStationName: null,
|
||||||
nurseStationType: null,
|
nurseStationType: null,
|
||||||
|
|
||||||
agencyIntroduce: null,
|
agencyIntroduce: null,
|
||||||
nurseStationDescription: null,
|
nurseStationDescription: null,
|
||||||
longitude: null,
|
longitude: null,
|
||||||
@ -819,6 +817,7 @@ export default {
|
|||||||
stationIntroducePcitureUrl: null,
|
stationIntroducePcitureUrl: null,
|
||||||
sort: null,
|
sort: null,
|
||||||
nurseStationLabelList: [],
|
nurseStationLabelList: [],
|
||||||
|
streetCode:null,
|
||||||
};
|
};
|
||||||
this.resetForm("form");
|
this.resetForm("form");
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user