This commit is contained in:
李想 2025-04-25 13:34:18 +08:00
parent f0b4493a64
commit c968b79f33

View File

@ -488,7 +488,7 @@ async function getList(reset = 1) {
v.coordinateView = v.coordinate; v.coordinateView = v.coordinate;
v.soilTypeName = v.soilType; v.soilTypeName = v.soilType;
v.soilTypeId = v.soilId; v.soilTypeId = v.soilId;
v._villageCode = v.villageCode; v._villageCode = typeof v.villageCode == 'string' ? [v.villageCode] : v.villageCode;
v.landTypeId = [v.pid, v.landType]; v.landTypeId = [v.pid, v.landType];
}); });
pageData.value.total = total; pageData.value.total = total;
@ -585,7 +585,7 @@ function handleData(val) {
data.propertyCertificateUrl = urls.join(); data.propertyCertificateUrl = urls.join();
data.landCertificateUrl = landOwnerUrls.join(); data.landCertificateUrl = landOwnerUrls.join();
data.landUrl = landUrls.join(); data.landUrl = landUrls.join();
data.villageCode = data._villageCode; data.villageCode = data._villageCode[0];
data.landTypeId = data.landTypeId[data.landTypeId.length - 1]; data.landTypeId = data.landTypeId[data.landTypeId.length - 1];
data.soilType = data.soilTypeId; data.soilType = data.soilTypeId;
if (local.value.length != 0) { if (local.value.length != 0) {