≈
@@ -794,20 +807,20 @@
-
+
@@ -830,7 +843,7 @@
流转剩余年限
@@ -946,7 +959,7 @@ export default {
//地图绘制坐标存储
coordinateList: [],
//新建选择农房土地弹窗 显隐
- farmlandEditSwitchVisbule: false, //
+ farmlandEditSwitchVisbule: false, //false
//编辑房屋土地信息--显隐
landHomesteadEditVisbile: false,
//查看编辑房屋、土地--类型 0 农房 1 农地
@@ -956,12 +969,87 @@ export default {
//选择顺序
selectChooseOrder: 0,
- //
+ //农地新增、修改保存数据
+ landInfoList: {
+ id: "", //String 是 主键id
+ orgCode: "", // String 否 行政区代码
+ cdm: "", // String 否 村代码
+ cm: "", //String 否 村名
+ xh: "", // String 否 序号
+ cbrmc: "", //String 否 承包人名称
+ syrmc: "", //String 否 使用人名称
+ nydlx: "", // String 否 农用地类型
+ mj: "", // String 否 面积
+ lzsynx: "", // String 否 流转剩余年限
+ zlhtjzrq: "", // String 否 日期
+ sfylzyx: "", // String 否 是否流转意向
+ xzqk: "", // String 否 现状情况
+ theGeom: "", //String 否 空间坐标
+ xzqkKey: "", // String 否 忽略
+ nydlxKey: "", // String 否 忽略
+ frontland: "", //String 否 图片前
+ behindland: "", //String 否 图片后
+ },
+
+ //农房新增、修改保存数据
+ houseInfoList: {
+ id: "", // String 是 主键id
+ orgCode: "", // String 否 行政区代码
+ cdm: "", // String 否 村代码
+ cm: "", // String 否 村名
+ xh: "", // String 否 序号
+ tdxz: "", //土地性质
+ fwsyrmc: "", // String 否 房屋所有人名称
+ fwsyqh: "", // String 否 房屋所有权证号
+ tdzh: "", // String 否 土地证号
+ jzmj: "", // String 否 建筑面积
+ tdmj: "", // String 否 土地面积
+ tdzx: "", // String 否 土地性质
+ sfyspsx: "", // String 否 是否有审批手续
+ xzqk: "", // String 否 现状情况
+ theGeom: "", // String 否 空间坐标
+ xzqkKey: "", // String 否 忽略传null
+ tdxzKey: "", // String 否 忽略传null
+ frontHouse: "", // String 否 图片前
+ behindHouse: "", // String 否 图片后
+ dz: "", // String 否 地址
+ zlrxm: "", // String 否 租赁人姓名
+ zlhtjzrq: "", // 租赁合同截止日期
+ zlsynx: "", // 租赁剩余年限
+ xzfwsfylzy: "", // 闲置房屋是否有流转意愿
+ tdfl: "", // 集体/个人
+ },
+
+ //农房 - 农房权属
+ tdxzOptions: [],
+ tdxzOptionsVibile: false, //农房 - 农房权属 -弹窗
+ tdxzOptionsValue: "", //农房 - 农房权属 值
+ //农房 - 现状情况
+ xzqkOptions: [],
+ xzqkOptionsVisbile: false, //农房 - 现状情况 弹窗
+ //农房 - 是否有流转
+ xfCirculationOptions: ["是", "否"],
+ xflzCirculationVisbile: false, //农房 - 是否有流转 弹窗
+ //农房 - 是否有审批
+ xfApprovalOptions: ["是", "否"],
+ xfCirculationVisbile: false, //农房 - 是否有审批 -弹窗
+
+ //农地 -- 是否有审批手续
+ xdApprovalOptions: ["是", "否"],
+ xdCirculationVisbile: false, //农房 - 是否有审批 -弹窗
+ //农地 -- 现状情况
+ ndxzqkOptions: [],
+ ndxzqkOptionsVisbile: false,
+ //农地 -- 农用地类型
+ nydlxOptions: [],
+ nydlxOptionsVibile: false, // 农地 -- 农用地类型--弹窗
+ nydlxOptionsValue: "", // 农地 -- 农用地类型--值
+
+ //农地 -- 是否有流转意向
+ xdCirculationOptions: ["是", "否"],
+ xdlzCirculationVisbile: false, //农房 - 是否有流转 弹窗
//以下删
- message: "",
- showPicker: false,
- columns: ["杭州", "宁波", "温州", "嘉兴", "湖州"],
fileList: [],
};
},
@@ -1083,6 +1171,32 @@ export default {
initAxios() {
//获取区
this.mapAreaSelectValue();
+ //农房---字典项
+ this.nfDictionary();
+ //农地---字典项
+ this.ndDictionary();
+ },
+ nfDictionary() {
+ //农房权属
+ this.getDicts("build_land_type").then((response) => {
+ this.tdxzOptions = response.data;
+ });
+ //农房情况
+ this.getDicts("geo_hc_house").then((response) => {
+ this.xzqkOptions = response.data;
+ });
+ },
+ ndDictionary() {
+ //农用地类型
+ this.getDicts("sub_object_type").then((response) => {
+ console.log(response);
+ this.nydlxOptions = response.data;
+ });
+ //现状情况
+ this.getDicts("geo_hc_land").then((response) => {
+ console.log(response);
+ this.ndxzqkOptions = response.data;
+ });
},
styleSteup() {
let smallTop = this.$refs.sliderSmall.getBoundingClientRect().top;
@@ -2094,10 +2208,47 @@ export default {
//开始绘制地图 ------------------- end
},
- /*以下删*/
- onConfirm(time) {
- this.message = time;
- this.showPicker = false;
+ //农房 - 农房权属 选择值
+ tdxzOptionsFun(value) {
+ this.houseInfoList.tdxz = value.dictValue;
+ this.tdxzOptionsValue = value.dictLabel;
+ this.tdxzOptionsVibile = false;
+ },
+ //农房 - 是否有审批 选择值
+ xfCirculationFun(value) {
+ this.xfCirculationVisbile = false;
+ this.houseInfoList.sfyspsx = value;
+ },
+ //农房 - 现状情况 选择值
+ xzqkOptionsFun(value) {
+ this.houseInfoList.xzqk = value.dictValue;
+ this.xzqkOptionsVisbile = false;
+ },
+ //农房 - 是否有流转 选择值
+ xflzCirculationFun(value) {
+ this.xflzCirculationVisbile = false;
+ this.houseInfoList.xzfwsfylzy = value;
+ },
+ //农地 - 是否有审批 选择值
+ xdCirculationFun(value) {
+ this.xdCirculationVisbile = false;
+ this.landInfoList.sfyspsx = value;
+ },
+ //农地 - 现状情况 选择值
+ ndxzqkOptionsFun(value) {
+ this.landInfoList.xzqk = value.dictValue;
+ this.ndxzqkOptionsVisbile = false;
+ },
+ //农地 - 农用地类型 选择值
+ nydlxOptionsFun(value) {
+ this.landInfoList.nydlx = value.dictValue;
+ this.nydlxOptionsValue = value.dictLabel;
+ this.nydlxOptionsVibile = false;
+ },
+ //农地 - 是否有流转 选择值
+ xdCirculationOptionsFun(value) {
+ this.xdlzCirculationVisbile = false;
+ this.landInfoList.sfylzyx = value;
},
},
};