diff --git a/src/views/modules/base/huji/chusheng/index.vue b/src/views/modules/base/huji/chusheng/index.vue
index 5b82941b..3ab387f6 100644
--- a/src/views/modules/base/huji/chusheng/index.vue
+++ b/src/views/modules/base/huji/chusheng/index.vue
@@ -13,7 +13,7 @@
所属网格
所属房屋
-
-
+
+
+
@@ -230,9 +238,9 @@
class="resi-table"
:height="maxTableHeight"
>
-
+
-
+
{{ scope.row.name }}
@@ -249,7 +257,7 @@
-
-
- {{ scope.row.father }} / {{ scope.row.mother }}
-
+
@@ -396,6 +401,21 @@ export default {
optionsD: [],
optionsG: [],
+ optionsWelfare: [
+ {
+ value: "",
+ label: "全部",
+ },
+ {
+ value: "1",
+ label: "是",
+ },
+ {
+ value: "0",
+ label: "否",
+ },
+ ],
+
fmData: {
gridId: "",
villageId: "",
@@ -427,13 +447,13 @@ export default {
},
...mapGetters(["clientHeight", "iframeHeight"]),
changeVDisabled() {
- return !this.form.villageId;
+ return !this.fmData.villageId;
},
changeBDisabled() {
- return !this.form.buildId;
+ return !this.fmData.buildId;
},
changeDDisabled() {
- return !this.form.unitId;
+ return !this.fmData.unitId;
},
},
watch: {
@@ -453,30 +473,43 @@ export default {
this.getTableData();
},
methods: {
- handleChangeGrid(val) {
- console.log("val", val);
- this.form.villageId = "";
+ handleClearVillage() {
this.form.buildId = "";
+ this.form.homeId = "";
+ },
+ handleClearBuild() {
+ this.form.buildId = "";
+ this.form.unitId = "";
+ this.form.homeId = "";
+ },
+ handleClearDan() {
this.form.unitId = "";
this.form.homeId = "";
+ },
+ handleChangeGrid(val) {
+ console.log("val", val);
+ this.fmData.villageId = "";
+ this.fmData.buildId = "";
+ this.fmData.unitId = "";
+ this.fmData.homeId = "";
this.getValiheList();
},
handleChangeV(val) {
console.log("val", val);
- this.form.buildId = "";
- this.form.unitId = "";
- this.form.homeId = "";
+ this.fmData.buildId = "";
+ this.fmData.unitId = "";
+ this.fmData.homeId = "";
this.getBuildList();
},
handleChangeB(val) {
console.log("val", val);
- this.form.unitId = "";
- this.form.homeId = "";
+ this.fmData.unitId = "";
+ this.fmData.homeId = "";
this.getUniList();
},
handleChangeD(val) {
console.log("val", val);
- this.form.homeId = "";
+ this.fmData.homeId = "";
this.getHouseList();
},
@@ -503,7 +536,7 @@ export default {
const { user } = this.$store.state;
this.$http
.post("/gov/org/icneighborhood/neighborhoodoption", {
- gridId: this.form.gridId,
+ gridId: this.fmData.gridId,
agencyId: "",
// agencyId: user.agencyId
})
@@ -522,7 +555,7 @@ export default {
getBuildList() {
this.$http
.post("/gov/org/icbuilding/buildingoption", {
- neighborHoodId: this.form.villageId,
+ neighborHoodId: this.fmData.villageId,
})
.then(({ data: res }) => {
if (res.code !== 0) {
@@ -539,7 +572,7 @@ export default {
getUniList() {
this.$http
.post("/gov/org/icbuildingunit/unitoption", {
- buildingId: this.form.buildId,
+ buildingId: this.fmData.buildId,
})
.then(({ data: res }) => {
if (res.code !== 0) {
@@ -555,7 +588,7 @@ export default {
},
getHouseList() {
this.$http
- .post("/gov/org/ichouse/houseoption", { unitId: this.form.unitId })
+ .post("/gov/org/ichouse/houseoption", { unitId: this.fmData.unitId })
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg);
@@ -848,4 +881,47 @@ export default {
position: relative;
overflow: visible;
}
+
+.resi-cell {
+ display: flex;
+ align-items: center;
+ margin-bottom: 20px;
+
+ .resi-cell-label {
+ flex-shrink: 0;
+ // min-width: 70px;
+ box-sizing: border-box;
+ margin-right: 15px;
+ // text-align: right;
+ // line-height: 32;
+ }
+ .resi-cell-label1 {
+ width: max-content;
+ }
+ .resi-cell-value-radio {
+ display: flex;
+ align-items: center;
+ min-height: 32px;
+ }
+ .resi-cell-input {
+ width: 200px;
+ }
+ .resi-cell--daterange {
+ max-width: 260px;
+ }
+ .resi-cell-select {
+ width: 200px;
+ box-sizing: border-box;
+ margin-right: 10px;
+ &-middle {
+ width: 130px;
+ }
+ &-small {
+ width: 88px;
+ }
+ }
+ .resi-cell-select:last-child {
+ margin-right: 0;
+ }
+}