guanqb
2024-01-20 c4307f62d6bac2b98072546f1730b6940ceade05
商业弹窗修改、智能搜索扫码应用表格修改
4 files modified
123 ■■■■ changed files
src/components/map/components/businessDataPopup.vue 25 ●●●●● patch | view | raw | blame | history
src/styles/media/index.scss 6 ●●●● patch | view | raw | blame | history
src/views/intelligentSearch/index.vue 4 ●●●● patch | view | raw | blame | history
src/views/scanOrCode/index.vue 88 ●●●● patch | view | raw | blame | history
src/components/map/components/businessDataPopup.vue
@@ -28,27 +28,27 @@
                                </div>
                                <div class="label-content">
                                    <div class="item">
                                        <div>名称:</div>
                                        <div>名称</div><span>:</span>
                                        <div>{{ businessDataPopupData.name }}</div>
                                    </div>
                                    <div class="item">
                                        <div>类型:</div>
                                        <div>类型</div><span>:</span>
                                        <div>{{ businessDataPopupData.third_level }}</div>
                                    </div>
                                    <div class="item">
                                        <div>地址:</div>
                                        <div>地址</div><span>:</span>
                                        <div>{{ businessDataPopupData.std_address }}</div>
                                    </div>
                                    <div class="item">
                                        <div>经度:</div>
                                        <div>经度</div><span>:</span>
                                        <div>{{ businessDataPopupData.lng }}</div>
                                    </div>
                                    <div class="item">
                                        <div>经度:</div>
                                        <div>经度</div><span>:</span>
                                        <div>{{ businessDataPopupData.lat }}</div>
                                    </div>
                                    <div class="item item-pic">
                                        <div>图片:</div>
                                        <div>图片</div><span>:</span>
                                        <div>
                                            <img :src="businessDataPopupData.picUrl" width="100%" height="100%" alt />
                                        </div>
@@ -264,11 +264,17 @@
            text-align: left;
            &>div:first-child {
                width: 112px;
                width: 100px;
                text-align: justify;
                display: inline-block;
                text-align-last: justify;
                // margin-right: 20px;
            }
            span {
                width: 12px;
                margin-right: 20px;
                text-align: right;
            }
            &>div:nth-of-type(2) {
@@ -318,8 +324,9 @@
    .details-link {
        color: #6185e9;
        cursor: pointer;
        line-height: 24px;
        margin-left: 50px;
        position: absolute;
        right: 34px;
        top: 0;
    }
    .details-link:hover {
src/styles/media/index.scss
@@ -3192,8 +3192,8 @@
    .business-detail-box {
        .el-dialog {
            width: countSizeVw(900, 1920);
            height: countSizeVh(640);
            width: countSizeVw(860, 1920);
            height: countSizeVh(500);
            .type-tab-box {
                height: countSizeVh(28);
@@ -3222,7 +3222,7 @@
                        width: 50%;
                        .name {
                            width: countSizeVw(130, 1920);
                            min-width: countSizeVw(130, 1920);
                        }
                    }
src/views/intelligentSearch/index.vue
@@ -14,7 +14,7 @@
        <div v-show="boxShow" class="container-content" ref="containerContent">
            <div class="time-select" ref="timeSelect">
                <div class="search-item-box">
                    <el-input size="small" placeholder="请输入搜索内容(姓名、身份证号、手机号、住址)" v-model="searchText" clearable></el-input>
                    <el-input size="small" placeholder="请输入(姓名、手机号、身份证号、住址)" v-model="searchText" clearable></el-input>
                    <el-button @click="searchBtn" icon="el-icon-search" class="bjnr-btn">搜索</el-button>
                </div>
            </div>
@@ -202,7 +202,7 @@
                    lng: row.lng,
                    lat: row.lat,
                    alt: 1,
                    url: `/img/icon/person.png`
                    url: `/img/icon/location.png`
                },
            })
        },
src/views/scanOrCode/index.vue
@@ -35,48 +35,48 @@
                    :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)"
@@ -114,7 +114,7 @@
    data () {
        return {
            placeholder: '请输入搜索内容(姓名、手机号、身份证号、住址)',
            placeholder: '请输入(姓名、手机号、身份证号、住址)',
            popupTile: '详情信息',
            searchText: '',
            realEmptyText: "",
@@ -548,7 +548,7 @@
                    lng: row.lng,
                    lat: row.lat,
                    alt: 1,
                    url: `/img/icon/person.png`
                    url: `/img/icon/location.png`
                },
            })
        },
@@ -630,13 +630,13 @@
        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()
        },