shuishen
2024-01-05 f2e4a9d500d2ae2a0ca0fe9ff8cb050c90ccaa2e
src/views/userHouse/houseList.vue
@@ -94,6 +94,7 @@
                        </template>
                    </avue-form>
                </el-dialog>
                <el-dialog title="住户管理" append-to-body :visible.sync="householdManagerVisible" width="70%" height="60%">
                    <householdManager ref="householdManager" />
                </el-dialog>
@@ -226,11 +227,10 @@
                    },
                    {
                        hide: true,
                        parent: false,
                        label: "小区名称",
                        prop: "districtName",
                        searchSpan: 4,
                        search: true,
                        prop: "districtCode",
                        type: 'tree',
                        dicUrl: `/api/blade-district/district/getDistrictTree`,
                        props: {
@@ -244,22 +244,34 @@
                    },
                    {
                        width: 220,
                        overHidden: true,
                        label: '小区名称',
                        parent: false,
                        prop: "districtName",
                        searchSpan: 4,
                        display: false,
                        search: true,
                    },
                    {
                        width: 110,
                        label: "所属街道",
                        addDisplay: false,
                        editDisplay: false,
                        viewDisplay: false,
                        width: 96,
                        label: "所属街道",
                        prop: "townStreetName",
                        search: true,
                        searchSpan: 4
                    },
                    {
                        width: 156,
                        overHidden: true,
                        label: "所属社区",
                        addDisplay: false,
                        editDisplay: false,
                        viewDisplay: false,
                        width: 160,
                        label: "所属社区",
                        prop: "neiName",
                        search: true,
                        searchSpan: 4,
@@ -272,17 +284,16 @@
                    {
                        hide: true,
                        parent: false,
                        label: "所属社区",
                        prop: "neiCode",
                        search: false,
                        width: 150,
                        type: "tree",
                        dicUrl: "/api/blade-system/region/tree",
                        props: {
                            label: "name",
                            value: "id",
                        },
                        parent: false,
                        cascader: ["gridId"],
                        rules: [
                            {
@@ -294,11 +305,12 @@
                    },
                    {
                        width: 110,
                        overHidden: true,
                        label: "所属网格",
                        addDisplay: false,
                        editDisplay: false,
                        viewDisplay: false,
                        width: 96,
                        label: "所属网格",
                        prop: "gridName",
                        rules: [{
                            required: true,
@@ -523,6 +535,7 @@
            this.labelForm.remark = item.remark
        },
        manageLabel (item) {
            this.loading = true
            this.currentRow = item
            this.labelFlag = true
            let params = {
@@ -531,7 +544,6 @@
            // 查询标签
            getLabelList(Object.assign(params)).then(res => {
                const data = res.data.data
                this.loading = false
                // 查询详情
                getDetatils({
                    houseCode: item.houseCode
@@ -552,6 +564,7 @@
                        })
                    }
                    this.labelData = data
                    this.loading = false
                })
            })
        },