|
|
@@ -418,16 +418,18 @@
|
|
|
regionId: regionId,
|
|
|
};
|
|
|
let postdata = qs.stringify(param);
|
|
|
- GetChildRegionSelect(postdata).then(res => {
|
|
|
+ GeFullRegionSelect(postdata).then(res => {
|
|
|
let json = res;
|
|
|
if (json.Code == 0) {
|
|
|
if (level == 1) {
|
|
|
+ console.log( json.Rs);
|
|
|
that.dialog.regionlevelOneIdOptions = json.Rs;
|
|
|
- that.dialog.regionlevelOneId = json.Rs[0].Id;
|
|
|
+ that.dialog.regionlevelOneId = regionId;
|
|
|
} else {
|
|
|
if (json.Rs) {
|
|
|
+ console.log(123);
|
|
|
that.dialog.regionIdRoomOptions = json.Rs;
|
|
|
- that.dialog.regionId = json.Rs[0].Id;
|
|
|
+ that.dialog.regionId = regionId;
|
|
|
} else {
|
|
|
that.dialog.regionIdRoomOptions = [];
|
|
|
that.dialog.regionId = '';
|
|
|
@@ -605,10 +607,12 @@
|
|
|
this.dialog.location = row.Location;
|
|
|
this.dialog.purchasesrc = row.PurchaseSrc;
|
|
|
this.dialog.memo = row.Memo;
|
|
|
+ this.dialogGetGetChildRegionSelect(row.RegionId, 1);
|
|
|
// this.dialog.coords_memo = row.coords_memo;
|
|
|
|
|
|
// 重载地区列表
|
|
|
this.getGeFullRegionSelect();
|
|
|
+
|
|
|
let param = {
|
|
|
token: localStorage.token,
|
|
|
detectorId: row.Id,
|