| | |
| | | :cell-style="{ 'text-align': 'center', 'borderColor': '#324e75', 'cursor': 'default' }" |
| | | :row-class-name="tableRowClassName" class="police-infor-table"> |
| | | <!-- 业主租客登记 --> |
| | | <el-table-column prop="name" :show-overflow-tooltip="true" label="姓名" |
| | | v-if="typeValue == 1"></el-table-column> |
| | | <el-table-column prop="tel" :show-overflow-tooltip="true" label="手机号" |
| | | v-if="typeValue == 1"></el-table-column> |
| | | <el-table-column prop="card" :show-overflow-tooltip="true" label="身份证号" |
| | | v-if="typeValue == 1"></el-table-column> |
| | | <el-table-column prop="address" :show-overflow-tooltip="true" label="住址" |
| | | v-if="typeValue == 1"></el-table-column> |
| | | <el-table-column prop="name" :show-overflow-tooltip="true" label="姓名" v-if="typeValue == 1" |
| | | :key="Math.random()"></el-table-column> |
| | | <el-table-column prop="tel" :show-overflow-tooltip="true" label="手机号" v-if="typeValue == 1" |
| | | :key="Math.random()"></el-table-column> |
| | | <el-table-column prop="card" :show-overflow-tooltip="true" label="身份证号" v-if="typeValue == 1" |
| | | :key="Math.random()"></el-table-column> |
| | | <el-table-column prop="address" :show-overflow-tooltip="true" label="住址" v-if="typeValue == 1" |
| | | :key="Math.random()"></el-table-column> |
| | | <!-- 同住登记 --> |
| | | <el-table-column prop="name" :show-overflow-tooltip="true" label="姓名" |
| | | v-if="typeValue == 2"></el-table-column> |
| | | <el-table-column prop="tel" :show-overflow-tooltip="true" label="手机号" |
| | | v-if="typeValue == 2"></el-table-column> |
| | | <el-table-column prop="card" :show-overflow-tooltip="true" label="身份证号" |
| | | v-if="typeValue == 2"></el-table-column> |
| | | <el-table-column prop="address" :show-overflow-tooltip="true" label="住址" |
| | | v-if="typeValue == 2"></el-table-column> |
| | | <el-table-column prop="name" :show-overflow-tooltip="true" label="姓名" v-if="typeValue == 2" |
| | | :key="Math.random()"></el-table-column> |
| | | <el-table-column prop="tel" :show-overflow-tooltip="true" label="手机号" v-if="typeValue == 2" |
| | | :key="Math.random()"></el-table-column> |
| | | <el-table-column prop="card" :show-overflow-tooltip="true" label="身份证号" v-if="typeValue == 2" |
| | | :key="Math.random()"></el-table-column> |
| | | <el-table-column prop="address" :show-overflow-tooltip="true" label="住址" v-if="typeValue == 2" |
| | | :key="Math.random()"></el-table-column> |
| | | <!-- 信息登记 --> |
| | | <el-table-column prop="djman" :show-overflow-tooltip="true" label="登记人" |
| | | v-if="typeValue == 3"></el-table-column> |
| | | <el-table-column prop="tel" :show-overflow-tooltip="true" label="手机号" |
| | | v-if="typeValue == 3"></el-table-column> |
| | | <el-table-column prop="card" :show-overflow-tooltip="true" label="身份证号" |
| | | v-if="typeValue == 3"></el-table-column> |
| | | <el-table-column prop="address" :show-overflow-tooltip="true" label="住址" |
| | | v-if="typeValue == 3"></el-table-column> |
| | | <el-table-column prop="djman" :show-overflow-tooltip="true" label="登记人" v-if="typeValue == 3" |
| | | :key="Math.random()"></el-table-column> |
| | | <el-table-column prop="tel" :show-overflow-tooltip="true" label="手机号" v-if="typeValue == 3" |
| | | :key="Math.random()"></el-table-column> |
| | | <el-table-column prop="card" :show-overflow-tooltip="true" label="身份证号" v-if="typeValue == 3" |
| | | :key="Math.random()"></el-table-column> |
| | | <el-table-column prop="address" :show-overflow-tooltip="true" label="住址" v-if="typeValue == 3" |
| | | :key="Math.random()"></el-table-column> |
| | | <!-- 企业登记 --> |
| | | <el-table-column prop="name" :show-overflow-tooltip="true" label="姓名" |
| | | v-if="typeValue == 4"></el-table-column> |
| | | <el-table-column prop="unitName" :show-overflow-tooltip="true" label="企业名称" |
| | | v-if="typeValue == 4"></el-table-column> |
| | | <el-table-column prop="card" :show-overflow-tooltip="true" label="身份证" |
| | | v-if="typeValue == 4"></el-table-column> |
| | | <el-table-column prop="address" :show-overflow-tooltip="true" label="住址" |
| | | v-if="typeValue == 4"></el-table-column> |
| | | <el-table-column prop="unitName" :show-overflow-tooltip="true" label="企业名称" v-if="typeValue == 4" |
| | | :key="Math.random()"></el-table-column> |
| | | <el-table-column prop="name" :show-overflow-tooltip="true" label="姓名" v-if="typeValue == 4" |
| | | :key="Math.random()"></el-table-column> |
| | | <el-table-column prop="card" :show-overflow-tooltip="true" label="身份证" v-if="typeValue == 4" |
| | | :key="Math.random()"></el-table-column> |
| | | <el-table-column prop="address" :show-overflow-tooltip="true" label="住址" v-if="typeValue == 4" |
| | | :key="Math.random()"></el-table-column> |
| | | <!-- 扫码上报 --> |
| | | <el-table-column prop="name" :show-overflow-tooltip="true" label="上报人" |
| | | v-if="typeValue == 5"></el-table-column> |
| | | <el-table-column prop="ycType" :show-overflow-tooltip="true" label="门牌异常类型" |
| | | v-if="typeValue == 5"></el-table-column> |
| | | <el-table-column prop="tel" :show-overflow-tooltip="true" label="联系电话" |
| | | v-if="typeValue == 5"></el-table-column> |
| | | <el-table-column prop="name" :show-overflow-tooltip="true" label="上报人" v-if="typeValue == 5" |
| | | :key="Math.random()"></el-table-column> |
| | | <el-table-column prop="ycType" :show-overflow-tooltip="true" label="门牌异常类型" v-if="typeValue == 5" |
| | | :key="Math.random()"></el-table-column> |
| | | <el-table-column prop="tel" :show-overflow-tooltip="true" label="联系电话" v-if="typeValue == 5" |
| | | :key="Math.random()"></el-table-column> |
| | | <el-table-column label="操作" align="center"> |
| | | <template slot-scope="scope"> |
| | | <el-button type="text" size="small" title="定位" :disabled="positionDisabled(scope.row)" |
| | |
| | | |
| | | data () { |
| | | return { |
| | | placeholder: '请输入搜索内容(姓名、手机号、身份证号、住址)', |
| | | placeholder: '请输入(姓名、手机号、身份证号、住址)', |
| | | popupTile: '详情信息', |
| | | searchText: '', |
| | | realEmptyText: "", |
| | |
| | | lng: row.lng, |
| | | lat: row.lat, |
| | | alt: 1, |
| | | url: `/img/icon/person.png` |
| | | url: `/img/icon/location.png` |
| | | }, |
| | | }) |
| | | }, |
| | |
| | | |
| | | typeChange () { |
| | | if (this.typeValue == 1 || this.typeValue == 2) { |
| | | this.placeholder = '请输入搜索内容(姓名、手机号、身份证号、住址)' |
| | | this.placeholder = '请输入(姓名、手机号、身份证号、住址)' |
| | | } else if (this.typeValue == 3) { |
| | | this.placeholder = '请输入搜索内容(登记人、手机号、身份证号、住址)' |
| | | this.placeholder = '请输入(登记人、手机号、身份证号、住址)' |
| | | } else if (this.typeValue == 4) { |
| | | this.placeholder = '请输入搜索内容(企业名称、员工姓名、员工身份证、住址)' |
| | | this.placeholder = '请输入(企业名称、姓名、身份证、住址)' |
| | | } else if (this.typeValue == 5) { |
| | | this.placeholder = '请输入搜索内容(上报人姓名、上报人联系电话、门牌异常类型)' |
| | | this.placeholder = '请输入(上报人、门牌异常类型、联系电话)' |
| | | } |
| | | this.getList() |
| | | }, |