| | |
| | | import request from "@/router/axios.js"; |
| | | import request from "@/router/axios.js" |
| | | |
| | | /** |
| | | * 获得门牌维护管理列表 |
| | | * 获得业主/租客登记列表 |
| | | * @param {*} params |
| | | * @returns |
| | | */ |
| | | export const getAppOwerRenterRegistrantList = (params) => { |
| | | return request({ |
| | | url: "/api/blade-appOwerRenterRegistrant/appOwerRenterRegistrant/page", |
| | | method: "get", |
| | | meta: { |
| | | isToken: false, |
| | | }, |
| | | params: params, |
| | | }) |
| | | } |
| | | |
| | | /** |
| | | * 获得同住登记列表 |
| | | * @param {*} params |
| | | * @returns |
| | | */ |
| | | export const getAppOwerRenterRegistrantCohabitList = (params) => { |
| | | return request({ |
| | | url: "/api/blade-appOwerRenterRegistrantCohabit/appOwerRenterRegistrantCohabit/page", |
| | | method: "get", |
| | | meta: { |
| | | isToken: false, |
| | | }, |
| | | params: params, |
| | | }) |
| | | } |
| | | |
| | | /** |
| | | * 获得信息登记 列表 |
| | | * @param {*} params |
| | | * @returns |
| | | */ |
| | | export const getAppRegisterInfoList = (params) => { |
| | | return request({ |
| | | url: "/api/blade-appRegisterInfo/appRegisterInfo/page", |
| | | method: "get", |
| | | meta: { |
| | | isToken: false, |
| | | }, |
| | | params: params, |
| | | }) |
| | | } |
| | | |
| | | /** |
| | | * 获得企业侧-用工登记 列表 |
| | | * @param {*} params |
| | | * @returns |
| | | */ |
| | | export const getAppEmploymentRegistrationList = (params) => { |
| | | return request({ |
| | | url: "/api/blade-appEmploymentRegistration/appEmploymentRegistration/page", |
| | | method: "get", |
| | | meta: { |
| | | isToken: false, |
| | | }, |
| | | params: params, |
| | | }) |
| | | } |
| | | |
| | | /** |
| | | * 获得(扫码上报)门牌维护管理列表 调钟日建新发的接口配置meta,就可以了 |
| | | * @param {*} params |
| | | * @returns |
| | | */ |
| | | export const getAddressManageList = (params) => { |
| | | return request({ |
| | | url: "/api/blade-addressManage/addressManage/page", |
| | | method: "get", |
| | | meta: { |
| | | isToken: false, |
| | | }, |
| | | params: params, |
| | | }); |
| | | }; |
| | | |
| | | /** |
| | | * 获得门牌维护管理详情 |
| | | * @param {*} |
| | | * @returns |
| | | */ |
| | | export const getAddressManageDetail = (params) => { |
| | | return request({ |
| | | url: "/api/blade-addressManage/addressManage/detail", |
| | | method: "get", |
| | | params: params, |
| | | }); |
| | | }; |
| | | return request({ |
| | | url: "/api/blade-addressManage/addressManage/page", |
| | | method: "get", |
| | | meta: { |
| | | isToken: false, |
| | | }, |
| | | params: params, |
| | | }) |
| | | } |
| | |
| | | <div class="close" @click="closePopup" title="关闭"></div> |
| | | </div> |
| | | <div class="label-content"> |
| | | <div class="item" v-for="(item, index) in dialogDetailPopupData" :key="index"> |
| | | <div class="item" v-for="(item, index) in dialogDetailPopupDataFilter" :key="index"> |
| | | <div>{{ item.label }}</div><span>:</span> |
| | | <div>{{ item.value }}</div> |
| | | </div> |
| | |
| | | ...mapGetters([ |
| | | 'dialogDetailPopup', |
| | | 'dialogDetailPopupData' |
| | | ]) |
| | | ]), |
| | | dialogDetailPopupDataFilter () { |
| | | return this.dialogDetailPopupData.filter(item => item.type == 'popup') |
| | | } |
| | | }, |
| | | |
| | | mounted () { |
| | |
| | | }, |
| | | |
| | | goDetail () { |
| | | console.log(this.dialogDetailPopupData, 121) |
| | | this.$refs.detailsPopup.initOpen(this.dialogDetailPopupData) |
| | | }, |
| | | } |
| | |
| | | display: flex; |
| | | flex-direction: row; |
| | | width: calc(100% - 20px); |
| | | height: 30px; |
| | | // height: 30px; |
| | | line-height: 30px; |
| | | margin: 0 10px; |
| | | text-align: left; |
| | |
| | | max-width: 190px; |
| | | // overflow: hidden; |
| | | // text-overflow: ellipsis; |
| | | // white-space: nowrap; |
| | | white-space: wrap; |
| | | } |
| | | |
| | | } |
| | |
| | | width: 50%; |
| | | |
| | | .name { |
| | | width: countSizeVw(130, 1920); |
| | | min-width: countSizeVw(110, 1920); |
| | | } |
| | | } |
| | | } |
| | |
| | | </div> |
| | | |
| | | <div class="search-item-box"> |
| | | <el-input size="small" :placeholder="placeholder" v-model="searchText" clearable></el-input> |
| | | <el-input size="small" :placeholder="placeholder" v-model="searchKey" clearable></el-input> |
| | | <el-button @click="searchBtn" icon="el-icon-search" class="bjnr-btn">搜索</el-button> |
| | | <el-button @click="clearRow" icon="el-icon-delete" class="bjnr-btn">清除</el-button> |
| | | </div> |
| | |
| | | <!-- 业主租客登记 --> |
| | | <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" |
| | | <el-table-column prop="phone" :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" |
| | | <el-table-column prop="idCardNumber" :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" |
| | | :key="Math.random()"></el-table-column> |
| | | <el-table-column prop="tel" :show-overflow-tooltip="true" label="手机号" v-if="typeValue == 2" |
| | | <el-table-column prop="phone" :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" |
| | | <el-table-column prop="idCardNumber" :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 prop="name" :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" |
| | | <el-table-column prop="phone" :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" |
| | | <el-table-column prop="idCard" :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="unitName" :show-overflow-tooltip="true" label="企业名称" v-if="typeValue == 4" |
| | | <el-table-column prop="companyName" :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" |
| | | <el-table-column prop="empName" :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" |
| | | <el-table-column prop="empIdCard" :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" |
| | | <el-table-column prop="stdAddress" :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 prop="reportName" :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" |
| | | <el-table-column prop="exceptionTypeName" :show-overflow-tooltip="true" label="门牌异常类型" |
| | | v-if="typeValue == 5" :key="Math.random()"></el-table-column> |
| | | <el-table-column prop="phone" :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"> |
| | |
| | | |
| | | <script> |
| | | import { initMapPosition } from '@/utils/mapPositionInit' |
| | | import { getAddressManageList } from "@/api/scanOrCode/index.js" |
| | | import { getAppOwerRenterRegistrantList, getAppOwerRenterRegistrantCohabitList, getAppRegisterInfoList, getAppEmploymentRegistrationList, getAddressManageList } from "@/api/scanOrCode/index.js" |
| | | |
| | | let loading = null |
| | | |
| | |
| | | return { |
| | | placeholder: '请输入(姓名、手机号、身份证号、住址)', |
| | | popupTile: '详情信息', |
| | | searchText: '', |
| | | searchKey: '', |
| | | realEmptyText: "", |
| | | currentTableHeight: 0, |
| | | tableData: [], |
| | |
| | | |
| | | pages: { |
| | | total: 0, |
| | | pageSize: 22, |
| | | pageSize: 10, |
| | | count: 0, |
| | | currentPage: 1 |
| | | }, |
| | |
| | | { |
| | | label: '名字', |
| | | prop: 'name', |
| | | value: row.name |
| | | value: row.name, |
| | | type: 'popup' |
| | | }, |
| | | { |
| | | label: '性别', |
| | | prop: 'gender', |
| | | value: '男' |
| | | value: row.gender == 1 ? '男' : '女', |
| | | type: 'popup' |
| | | }, |
| | | { |
| | | label: '身份证号', |
| | | prop: 'id_card_number', |
| | | value: '362121199212246538' |
| | | prop: 'idCardNumber', |
| | | value: row.idCardNumber, |
| | | type: 'popup' |
| | | }, |
| | | { |
| | | label: '联系电话', |
| | | prop: 'phone', |
| | | value: row.tel |
| | | value: row.phone, |
| | | type: 'popup' |
| | | }, |
| | | { |
| | | label: '住户类型', |
| | | prop: 'type', |
| | | value: '业主' |
| | | value: row.type == 1 ? '业主' : '租客', |
| | | type: 'popup' |
| | | }, |
| | | { |
| | | label: '出生年月', |
| | | prop: 'birth', |
| | | value: '200512' |
| | | value: row.birth, |
| | | type: 'detail' |
| | | }, |
| | | { |
| | | label: '民族', |
| | | prop: 'nation', |
| | | value: '汉' |
| | | value: row.nation, |
| | | type: 'detail' |
| | | }, |
| | | { |
| | | label: '房屋地址', |
| | | prop: 'address', |
| | | value: row.address |
| | | value: row.address, |
| | | type: 'detail' |
| | | } |
| | | ] |
| | | } else if (this.typeValue == 2) { |
| | |
| | | { |
| | | label: '名字', |
| | | prop: 'name', |
| | | value: row.name |
| | | value: row.name, |
| | | type: 'popup' |
| | | }, |
| | | { |
| | | label: '性别', |
| | | prop: 'gender', |
| | | value: '男' |
| | | value: row.gender == 1 ? '男' : '女', |
| | | type: 'popup' |
| | | }, |
| | | { |
| | | label: '身份证号', |
| | | prop: 'id_card_number', |
| | | value: '362121199212246538' |
| | | prop: 'idCardNumber', |
| | | value: row.idCardNumber, |
| | | type: 'popup' |
| | | }, |
| | | { |
| | | label: '联系电话', |
| | | prop: 'phone', |
| | | value: row.tel |
| | | value: row.phone, |
| | | type: 'popup' |
| | | }, |
| | | { |
| | | label: '住户类型', |
| | | prop: 'type', |
| | | value: '业主' |
| | | value: row.type == 1 ? '业主' : '租客', |
| | | type: 'popup' |
| | | }, |
| | | { |
| | | label: '是否成年', |
| | | prop: 'is_adult', |
| | | value: '业主' |
| | | prop: 'isAdult', |
| | | value: row.isAdult == 1 ? '是' : '否', |
| | | type: 'detail' |
| | | }, |
| | | { |
| | | label: '出生年月', |
| | | prop: 'birth', |
| | | value: '200512' |
| | | value: row.birth, |
| | | type: 'detail' |
| | | }, |
| | | { |
| | | label: '民族', |
| | | prop: 'nation', |
| | | value: '汉' |
| | | value: row.nation, |
| | | type: 'detail' |
| | | }, |
| | | { |
| | | label: '房屋地址', |
| | | prop: 'address', |
| | | value: row.address |
| | | value: row.address, |
| | | type: 'detail' |
| | | } |
| | | ] |
| | | } else if (this.typeValue == 3) { |
| | |
| | | { |
| | | label: '名字', |
| | | prop: 'name', |
| | | value: row.name |
| | | value: row.name, |
| | | type: 'popup' |
| | | }, |
| | | { |
| | | label: '身份证号', |
| | | prop: 'id_card', |
| | | value: '362121199212246538' |
| | | prop: 'idCard', |
| | | value: row.idCard, |
| | | type: 'popup' |
| | | }, |
| | | { |
| | | label: '联系方式', |
| | | prop: 'phone', |
| | | value: row.tel |
| | | value: row.phone, |
| | | type: 'popup' |
| | | }, |
| | | { |
| | | label: '常用地址', |
| | | prop: 'common_use_address', |
| | | value: row.address |
| | | prop: 'commonUseAddress', |
| | | value: row.commonUseAddress, |
| | | type: 'popup' |
| | | }, |
| | | { |
| | | label: '户籍地址', |
| | | prop: 'domicile_address', |
| | | value: row.address |
| | | }, |
| | | { |
| | | label: '是否删除', |
| | | prop: 'deleted', |
| | | value: '未删除' |
| | | prop: 'domicileAddress', |
| | | value: row.domicileAddress, |
| | | type: 'detail' |
| | | }, |
| | | { |
| | | label: '审核状态', |
| | | prop: 'audit_status', |
| | | value: '已驳回' |
| | | prop: 'auditStatus', |
| | | value: row.auditStatus, |
| | | type: 'detail' |
| | | }, |
| | | { |
| | | label: '人员类型', |
| | | prop: 'person_type', |
| | | value: '重点人员' |
| | | prop: 'personType', |
| | | value: row.personType, |
| | | type: 'popup' |
| | | }, |
| | | { |
| | | label: '操作类型', |
| | | prop: 'operate_type', |
| | | value: '扫码录入' |
| | | prop: 'operateType', |
| | | value: row.operateType == 1 ? '扫码录入' : '人工录入', |
| | | type: 'detail' |
| | | }, |
| | | { |
| | | label: '审核时间', |
| | | prop: 'audit_time', |
| | | value: '20231212' |
| | | prop: 'auditTime', |
| | | value: row.auditTime, |
| | | type: 'detail' |
| | | }, |
| | | { |
| | | label: '文字描述', |
| | | prop: 'description_text', |
| | | value: '倒车' |
| | | prop: 'descriptionText', |
| | | value: row.descriptionText, |
| | | type: 'detail' |
| | | }, |
| | | { |
| | | label: '备注', |
| | | prop: 'remark', |
| | | value: '请注意' |
| | | value: row.remark, |
| | | type: 'detail' |
| | | }, |
| | | { |
| | | label: '登记人', |
| | | prop: 'create_person', |
| | | value: '刘大帅' |
| | | prop: 'createPerson', |
| | | value: row.createPerson, |
| | | type: 'detail' |
| | | }, |
| | | { |
| | | label: '审核人', |
| | | prop: 'audit_person', |
| | | value: '王美丽' |
| | | prop: 'auditPerson', |
| | | value: row.auditPerson, |
| | | type: 'detail' |
| | | } |
| | | ] |
| | | } else if (this.typeValue == 4) { |
| | | data = [ |
| | | { |
| | | label: '企业名称', |
| | | prop: 'company_name', |
| | | value: '中石化' |
| | | prop: 'companyName', |
| | | value: row.companyName, |
| | | type: 'popup' |
| | | }, |
| | | { |
| | | label: '岗位名称', |
| | | prop: 'position', |
| | | value: '保安' |
| | | value: row.position, |
| | | type: 'popup' |
| | | }, |
| | | { |
| | | label: '员工姓名', |
| | | prop: 'emp_name', |
| | | value: row.name |
| | | prop: 'empName', |
| | | value: row.empName, |
| | | type: 'popup' |
| | | }, |
| | | { |
| | | label: '员工性别', |
| | | prop: 'emp_sex', |
| | | value: '男' |
| | | prop: 'empSex', |
| | | value: row.empSex == 1 ? '女' : '男', |
| | | type: 'popup' |
| | | }, |
| | | { |
| | | label: '员工身份证号', |
| | | prop: 'emp_id_card', |
| | | value: '362121199909092323' |
| | | prop: 'empIdCard', |
| | | value: row.empIdCard, |
| | | type: 'popup' |
| | | }, |
| | | { |
| | | label: '员工联系电话', |
| | | prop: 'emp_phone', |
| | | value: '18699993333' |
| | | prop: 'empPhone', |
| | | value: row.empPhone, |
| | | type: 'popup' |
| | | }, |
| | | { |
| | | label: '备注', |
| | | prop: 'remark', |
| | | value: '请注意' |
| | | value: row.remark, |
| | | type: 'detail' |
| | | }, |
| | | { |
| | | label: '创建时间', |
| | | prop: 'create_time', |
| | | value: '20231212' |
| | | prop: 'createTime', |
| | | value: row.createTime, |
| | | type: 'detail' |
| | | }, |
| | | { |
| | | label: '创建人', |
| | | prop: 'create_by', |
| | | value: '扫码录入' |
| | | prop: 'createBy', |
| | | value: row.createBy, |
| | | type: 'detail' |
| | | }, |
| | | { |
| | | label: '更新时间', |
| | | prop: 'update_time', |
| | | value: '20231212' |
| | | prop: 'updateTime', |
| | | value: row.updateTime, |
| | | type: 'detail' |
| | | }, |
| | | { |
| | | label: '更新人', |
| | | prop: 'update_by', |
| | | value: '倒车' |
| | | }, |
| | | { |
| | | label: '是否已删除', |
| | | prop: 'is_delete', |
| | | value: '是' |
| | | prop: 'updateBy', |
| | | value: row.updateBy, |
| | | type: 'detail' |
| | | } |
| | | ] |
| | | } else if (this.typeValue == 5) { |
| | | data = [ |
| | | { |
| | | label: '标准地址', |
| | | prop: 'std_address', |
| | | value: '江西省上饶市' |
| | | }, |
| | | { |
| | | label: '异常类型', |
| | | prop: 'exception_type', |
| | | value: '危险' |
| | | prop: 'exception_type_name', |
| | | value: row.exceptionTypeName, |
| | | type: 'popup' |
| | | }, |
| | | { |
| | | label: '异常描述', |
| | | prop: 'exception_description', |
| | | value: '特别危险' |
| | | }, |
| | | { |
| | | label: '异常类型名称', |
| | | prop: 'exception_type_name', |
| | | value: '异常5' |
| | | }, |
| | | { |
| | | label: '联系电话', |
| | | prop: 'phone', |
| | | value: '18699993333' |
| | | }, |
| | | { |
| | | label: '员工联系电话', |
| | | prop: 'emp_phone', |
| | | value: '18699993333' |
| | | }, |
| | | { |
| | | label: '采集经度', |
| | | prop: 'photo_lat', |
| | | value: '112.22' |
| | | }, |
| | | { |
| | | label: '采集纬度', |
| | | prop: 'photo_lng', |
| | | value: '23.23' |
| | | }, |
| | | { |
| | | label: '报错用户类型', |
| | | prop: 'reportor_type', |
| | | value: '民警' |
| | | }, |
| | | { |
| | | label: '上报用户类型名称', |
| | | prop: 'reportor_type_name', |
| | | value: '20231212' |
| | | }, |
| | | { |
| | | label: '上报时间', |
| | | prop: 'report_time', |
| | | value: '20231212' |
| | | value: row.exceptionDescription, |
| | | type: 'popup' |
| | | }, |
| | | { |
| | | label: '上报人名称', |
| | | prop: 'report_name', |
| | | value: '王某某' |
| | | value: row.reportName, |
| | | type: 'popup' |
| | | }, |
| | | { |
| | | label: '上报用户类型', |
| | | prop: 'reportor_type_name', |
| | | value: row.reportorTypeName, |
| | | type: 'detail' |
| | | }, |
| | | { |
| | | label: '上报时间', |
| | | prop: 'report_time', |
| | | value: row.reportTime, |
| | | type: 'popup' |
| | | }, |
| | | { |
| | | label: '上报来源', |
| | | prop: 'report_source', |
| | | value: '贴牌APP' |
| | | value: row.reportSource, |
| | | type: 'popup' |
| | | }, |
| | | { |
| | | label: '处理时间', |
| | | prop: 'resolve_time', |
| | | value: '20231212' |
| | | label: '联系电话', |
| | | prop: 'phone', |
| | | value: row.phone, |
| | | type: 'detail' |
| | | }, |
| | | { |
| | | label: '地址', |
| | | prop: 'std_address', |
| | | value: row.stdAddress.replace('江西省上饶市', ''), |
| | | type: 'popup' |
| | | }, |
| | | { |
| | | label: '处理人名称', |
| | | prop: 'resolve_by_name', |
| | | value: '王某某' |
| | | value: row.resolveByName, |
| | | type: 'detail' |
| | | }, |
| | | { |
| | | label: '处理状态', |
| | | prop: 'resolve_status', |
| | | value: '已通过' |
| | | value: row.resolveStatus, |
| | | type: 'popup' |
| | | }, |
| | | { |
| | | label: '处理时间', |
| | | prop: 'resolve_time', |
| | | value: row.resolveTime, |
| | | type: 'popup' |
| | | }, |
| | | { |
| | | label: '处理意见', |
| | | prop: 'resolve_msg', |
| | | value: '继续加油' |
| | | value: row.resolve_msg, |
| | | type: 'detail' |
| | | }, |
| | | { |
| | | label: '是否删除', |
| | | prop: 'deleted', |
| | | value: '有效' |
| | | } |
| | | label: '采集经度', |
| | | prop: 'photo_lat', |
| | | value: row.x, |
| | | type: 'detail' |
| | | }, |
| | | { |
| | | label: '采集纬度', |
| | | prop: 'photo_lng', |
| | | value: row.y, |
| | | type: 'detail' |
| | | }, |
| | | ] |
| | | } |
| | | return data |
| | |
| | | // 点击定位 |
| | | rowClick (row) { |
| | | this.$EventBus.$emit('toPosition', { |
| | | siteJd: row.lng, |
| | | siteWd: row.lat, |
| | | siteJd: row.x, |
| | | siteWd: row.y, |
| | | siteGd: 2000 |
| | | }) |
| | | this.$EventBus.$emit('mapClearLayer', { |
| | |
| | | type: "billboard", |
| | | params: { |
| | | ...row, |
| | | lng: row.lng, |
| | | lat: row.lat, |
| | | lng: row.x, |
| | | lat: row.y, |
| | | alt: 1, |
| | | url: `/img/icon/location.png` |
| | | }, |
| | |
| | | let data = this.getRowData(row) |
| | | this.$store.commit('SET_DIALOGDETAILPOPUP', true) |
| | | |
| | | this.$store.commit('SET_DIALOGDETAILPOPUPDATA', { |
| | | ...data |
| | | }) |
| | | this.$store.commit('SET_DIALOGDETAILPOPUPDATA', data) |
| | | // 商业模拟数据 |
| | | var dialogDetailPopup = new global.DC.DivForms(global.viewer, { |
| | | domId: 'dialogDetailPopup', |
| | | position: [ |
| | | global.DC.Transform.transformWGS84ToCartesian( |
| | | new global.DC.Position( |
| | | Number(row.lng), |
| | | Number(row.lat), |
| | | Number(row.x), |
| | | Number(row.y), |
| | | 0 |
| | | ) |
| | | ) |
| | |
| | | }, |
| | | |
| | | // 清空按钮-清除图标图层 |
| | | clearRow (row) { |
| | | clearRow () { |
| | | this.$EventBus.$emit('mapClearLayer', { |
| | | layerName: 'scanLayer', |
| | | type: 'VectorLayer' |
| | |
| | | |
| | | // 获取列表 |
| | | getList () { |
| | | getAddressManageList({ current: 1, size: 10 }).then(res => { |
| | | console.log('getAddressManageList', res) |
| | | }) |
| | | let params = { |
| | | searchText: this.searchText, |
| | | type: this.typeValue, |
| | | searchKey: this.searchKey, |
| | | size: this.pages.pageSize, |
| | | current: this.pages.currentPage |
| | | } |
| | | console.log('getList', params) |
| | | this.tableData = [ |
| | | { |
| | | name: '张三三', |
| | | tel: '13366668888', |
| | | lng: 112.22, |
| | | lat: 33.22, |
| | | address: '江西省上饶市某某区某某街道某某小区某栋111', |
| | | card: '362123199912125454', |
| | | djman: '刘登记', |
| | | unitName: '中国顶尖公司', |
| | | ycType: '异常1' |
| | | }, |
| | | { |
| | | name: '李四', |
| | | tel: '13366668877', |
| | | lng: 124.22, |
| | | lat: 30.22, |
| | | address: '江西省上饶市某某区某某街道某某小区某栋222', |
| | | card: '362123199912125454', |
| | | djman: '孙登记', |
| | | unitName: '中国顶尖公司', |
| | | ycType: '异常2' |
| | | }, |
| | | { |
| | | name: '王五', |
| | | tel: '13366668866', |
| | | lng: 126.22, |
| | | lat: 36.22, |
| | | address: '江西省上饶市某某区某某街道某某小区某栋333', |
| | | card: '362123199912125454', |
| | | djman: '赵登记', |
| | | unitName: '中国顶尖公司', |
| | | ycType: '异常3' |
| | | } |
| | | ] |
| | | this.pages.total = 3 |
| | | if (this.typeValue == 1) {//业主租客登记 |
| | | this.getAppOwerRenterRegistrantList(params) |
| | | } else if (this.typeValue == 2) {//同住登记 |
| | | this.getAppOwerRenterRegistrantCohabitList(params) |
| | | } else if (this.typeValue == 3) {//信息登记 |
| | | this.getAppRegisterInfoList(params) |
| | | } else if (this.typeValue == 4) {//企业登记 |
| | | this.getAppEmploymentRegistrationList(params) |
| | | } else if (this.typeValue == 5) {//扫码上报 |
| | | this.getAddressManageList(params) |
| | | } |
| | | |
| | | |
| | | }, |
| | | |
| | | searchBtn () { |
| | | this.pages.currentPage = 1 |
| | | this.getList() |
| | | }, |
| | | |
| | |
| | | this.getList() |
| | | }, |
| | | |
| | | |
| | | // 加载动画 |
| | | loading () { |
| | | loading = this.$loading({ |
| | | lock: true, |
| | |
| | | }) |
| | | }, |
| | | |
| | | // 切换登记类型 |
| | | typeChange () { |
| | | if (this.typeValue == 1 || this.typeValue == 2) { |
| | | this.placeholder = '请输入(姓名、手机号、身份证号、住址)' |
| | | } else if (this.typeValue == 3) { |
| | | this.placeholder = '请输入(登记人、手机号、身份证号、住址)' |
| | | this.placeholder = '请输入(姓名、手机号、身份证号、住址)' |
| | | } else if (this.typeValue == 4) { |
| | | this.placeholder = '请输入(企业名称、姓名、身份证、住址)' |
| | | } else if (this.typeValue == 5) { |
| | | this.placeholder = '请输入(上报人、门牌异常类型、联系电话)' |
| | | } |
| | | this.pages.currentPage = 1 |
| | | this.getList() |
| | | this.clearRow() |
| | | }, |
| | | |
| | | //业主租客登记列表数据 |
| | | getAppOwerRenterRegistrantList (params) { |
| | | getAppOwerRenterRegistrantList(params).then(res => { |
| | | this.tableData = res.data.data.records |
| | | }) |
| | | }, |
| | | |
| | | //同住登记列表数据 |
| | | getAppOwerRenterRegistrantCohabitList (params) { |
| | | getAppOwerRenterRegistrantCohabitList(params).then(res => { |
| | | this.tableData = res.data.data.records |
| | | }) |
| | | }, |
| | | |
| | | //信息登记列表数据 |
| | | getAppRegisterInfoList (params) { |
| | | getAppRegisterInfoList(params).then(res => { |
| | | if (res.data.data.records.length > 0) { |
| | | res.data.data.records.forEach(item => { |
| | | if (item.auditStatus == 0) { |
| | | item.auditStatus = '未审核' |
| | | } else if (item.auditStatus == 1) { |
| | | item.auditStatus = '已通过' |
| | | } else if (item.auditStatus == 2) { |
| | | item.auditStatus = '已驳回' |
| | | } |
| | | }) |
| | | } |
| | | this.tableData = res.data.data.records |
| | | }) |
| | | }, |
| | | |
| | | //企业登记列表数据 |
| | | getAppEmploymentRegistrationList (params) { |
| | | getAppEmploymentRegistrationList(params).then(res => { |
| | | this.tableData = res.data.data.records |
| | | }) |
| | | }, |
| | | |
| | | // 扫码上报列表数据 |
| | | getAddressManageList (params) { |
| | | getAddressManageList(params).then(res => { |
| | | if (res.data.data.records.length > 0) { |
| | | res.data.data.records.forEach(item => { |
| | | if (item.resolveStatus == 0) { |
| | | item.resolveStatus = '待审核' |
| | | } else if (item.resolveStatus == 1) { |
| | | item.resolveStatus = '已通过' |
| | | } else if (item.resolveStatus == 2) { |
| | | item.resolveStatus = '已驳回' |
| | | } |
| | | if (item.reportSource == 1) { |
| | | item.reportSource = '扫码访问' |
| | | } else if (item.reportSource == 2) { |
| | | item.reportSource = '贴牌APP' |
| | | } else if (item.reportSource == 3) { |
| | | item.reportSource = '人工导入' |
| | | } |
| | | }) |
| | | } |
| | | this.tableData = res.data.data.records |
| | | }) |
| | | }, |
| | | |
| | | // 高度自适应 |
| | | setTableHeight () { |
| | | this.currentTableHeight = this.$refs.containerContent.offsetHeight - this.$refs.timeSelect.offsetHeight |
| | | }, |