|
@@ -400,17 +400,17 @@ export default {
|
|
|
return list.find((item) => item.areaId === areaId);
|
|
return list.find((item) => item.areaId === areaId);
|
|
|
},
|
|
},
|
|
|
async handlerClick(item) {
|
|
async handlerClick(item) {
|
|
|
- const res = await getAreaInfo({
|
|
|
|
|
- waterrightYear: new Date().getFullYear(),
|
|
|
|
|
- areaId: item.areaId
|
|
|
|
|
- });
|
|
|
|
|
|
|
+ // const res = await getAreaInfo({
|
|
|
|
|
+ // waterrightYear: new Date().getFullYear(),
|
|
|
|
|
+ // areaId: item.areaId
|
|
|
|
|
+ // });
|
|
|
this.currentItem = item;
|
|
this.currentItem = item;
|
|
|
- const value = res?.data;
|
|
|
|
|
|
|
+ // const value = res?.data;
|
|
|
this.cusareaName = item?.cusareaName;
|
|
this.cusareaName = item?.cusareaName;
|
|
|
const areaId = item?.areaId || '';
|
|
const areaId = item?.areaId || '';
|
|
|
this.baseForm.areaId = areaId;
|
|
this.baseForm.areaId = areaId;
|
|
|
this.$set(this.baseForm, 'areaId', areaId);
|
|
this.$set(this.baseForm, 'areaId', areaId);
|
|
|
- this.setItem(value);
|
|
|
|
|
|
|
+ // this.setItem(value);
|
|
|
},
|
|
},
|
|
|
resetForm() {
|
|
resetForm() {
|
|
|
this.dialogVisible = false;
|
|
this.dialogVisible = false;
|