BUG 29286

This commit is contained in:
aixianling
2022-04-28 09:41:21 +08:00
parent 731389d4a2
commit 7bc5f87471
2 changed files with 385 additions and 382 deletions

View File

@@ -29,7 +29,7 @@
export default { export default {
name: "AppGridMemberJp", name: "AppGridMemberJp",
label: "网格管理员", label: "网格管理员(防返贫)",
props: { props: {
instance: Function, instance: Function,

View File

@@ -8,7 +8,8 @@
<template #left> <template #left>
<el-button size="small" type="primary" icon="iconfont iconAdd" @click="isShow = true">添加</el-button> <el-button size="small" type="primary" icon="iconfont iconAdd" @click="isShow = true">添加</el-button>
<el-button size="small" :disabled="!ids.length" icon="iconfont iconDelete" @click="removeAll">批量删除</el-button> <el-button size="small" :disabled="!ids.length" icon="iconfont iconDelete" @click="removeAll">批量删除</el-button>
<el-select size="small" style="width: 200px;" v-model="search.girdId" placeholder="所属网格" clearable @change="getListInit()"> <el-select size="small" style="width: 200px;" v-model="search.girdId" placeholder="所属网格" clearable
@change="getListInit()">
<el-option <el-option
v-for="(item,i) in girdList" v-for="(item,i) in girdList"
:key="i" :key="i"
@@ -54,7 +55,8 @@
@close="closeDialog" @close="closeDialog"
title="添加户主" title="添加户主"
@onConfirm="onConfirm"> @onConfirm="onConfirm">
<ai-area-select clearable always-show :instance="instance" v-model="areaId" :disabled-level="disabledLevel" @change="search.current = 1, getUserList()"></ai-area-select> <ai-area-select clearable always-show :instance="instance" v-model="areaId" :disabled-level="disabledLevel"
@change="search.current = 1, getUserList()"></ai-area-select>
<span style="margin-top:16px;"><span style="color:#f46;margin-right:4px;">*</span>网格</span> <span style="margin-top:16px;"><span style="color:#f46;margin-right:4px;">*</span>网格</span>
<el-select size="small" style="width: 280px;margin-top:16px;" v-model="girdId" placeholder="请选择网格" clearable> <el-select size="small" style="width: 280px;margin-top:16px;" v-model="girdId" placeholder="请选择网格" clearable>
<el-option <el-option
@@ -121,6 +123,7 @@
<script> <script>
import {mapState} from 'vuex' import {mapState} from 'vuex'
export default { export default {
name: 'Family', name: 'Family',
@@ -139,9 +142,7 @@
girdId: '' girdId: ''
}, },
isLoading: false, isLoading: false,
form: { form: {},
},
userList: [], userList: [],
name: '', name: '',
chooseUser: [], chooseUser: [],
@@ -212,7 +213,7 @@
this.remove(this.ids.join(',')) this.remove(this.ids.join(','))
}, },
handleSelectionChange(e) { handleSelectionChange(e) {
this.ids = e.map(v => v.gmrId) this.ids = e.map(v => v.gmpId)
}, },
clearAll() { clearAll() {
@@ -327,6 +328,7 @@
margin-bottom: 0; margin-bottom: 0;
} }
} }
img { img {
width: 27px; width: 27px;
height: 27px; height: 27px;
@@ -436,6 +438,7 @@
.tags-wrapper { .tags-wrapper {
padding: 0 8px; padding: 0 8px;
} }
.el-tag { .el-tag {
margin: 0 8px 8px 0px; margin: 0 8px 8px 0px;
color: #222222; color: #222222;