linwe
2025-11-28 bc84029a7e70dcff40e393a9c09b434592d4b1dc
经开分局优化
4 files modified
104 ■■■■■ changed files
src/components/map/components/mapSearchPopup.vue 13 ●●●●● patch | view | raw | blame | history
src/components/mapAddressSearchBox/index.vue 2 ●●●●● patch | view | raw | blame | history
src/styles/media/index.scss 14 ●●●●● patch | view | raw | blame | history
src/views/home/components/dialog/countByDetailsBox.vue 75 ●●●● patch | view | raw | blame | history
src/components/map/components/mapSearchPopup.vue
@@ -14,6 +14,11 @@
            <div style="transform: translate(-50%, 0);">
                <!-- 样式自己修改 -->
                <div class="content" :class="{ 'scale-dom': scaleDomFlag }">
          <div class="url-code" v-if="mapSearchPopupData.showImg">
            <el-image style="width: 100px; height: 100px" :src="mapSearchPopupData.url"
              :preview-src-list="[mapSearchPopupData.url]">
            </el-image>
          </div>
                    {{ mapSearchPopupData.name }}
                </div>
                <div class="bottom-arrow"></div>
@@ -92,9 +97,17 @@
        border-radius: 4px;
        color: #fff;
        display: flex;
    flex-direction: column;
        align-items: center;
        justify-content: center;
    .url-code {
      ::v-deep(img) {
        width: 64px;
        height: 64px;
        vertical-align: middle;
      }
    }
    }
src/components/mapAddressSearchBox/index.vue
@@ -136,6 +136,8 @@
      this.$store.commit("SET_MAPSEARCHPOPUPDATA", {
        ...item,
        url: 'http://47.217.32.232/qrcode_image/' + item.picName,
        showImg: true,
        name: item.address
      })
src/styles/media/index.scss
@@ -2686,10 +2686,22 @@
                    }
                }
                .popup-dom .content .data-box .line {
                .popup-dom {
                  .content .data-box .line {
                    font-size: countSizeVw(14, 1920);
                }
                  .url-code {
                    img {
                      width: countSizeVh(64);
                      height: countSizeVh(64);
                      vertical-align: middle;
                    }
                  }
                }
            }
            .auth-page {
src/views/home/components/dialog/countByDetailsBox.vue
@@ -12,22 +12,22 @@
  <el-dialog :title="landTitleName" :visible.sync="landVisible" :before-close="landBeforeClose" :modal="true"
    :modal-append-to-body="false" :close-on-click-modal="false" class="land-details-box">
    <div class="header">
      <!-- <div v-show="landType == 2">
      <div>
        标准地址:
        <input type="text" v-model="address" placeholder="请输入标准地址" />
      </div> -->
      </div>
      <!-- <div v-show="landType == 1">
        责任区名称:
        <input type="text" v-model="landSearchAoiName" placeholder="请输入责任区名称" />
      </div> -->
      <div>
      <!-- <div>
        包干民警:
        <input type="text" v-model="policeName" placeholder="请输入包干民警名称" />
      </div>
      <div>
      </div> -->
      <!-- <div>
        联系电话:
        <input type="text" v-model="callPhone" placeholder="请输入联系电话" />
      </div>
      </div> -->
      <el-button type="primary" icon="el-icon-search" @click="searchLandDetail">搜索</el-button>
      <el-button type="primary" icon="el-icon-delete" @click="clearLandDetailSearchValue">清空</el-button>
    </div>
@@ -44,10 +44,16 @@
            <span>{{ (landPage.currentPage - 1) * landPage.pageSize + scope.$index + 1 }}</span>
          </template>
        </el-table-column>
        <el-table-column :show-overflow-tooltip="true" prop="town" label="镇街"></el-table-column>
        <el-table-column :show-overflow-tooltip="true" prop="community" label="村社区"></el-table-column>
        <el-table-column :show-overflow-tooltip="true" prop="address" label="标准地址"></el-table-column>
        <el-table-column :show-overflow-tooltip="true" prop="policeName" label="包干民警"></el-table-column>
        <el-table-column :show-overflow-tooltip="true" prop="phone" label="联系电话"></el-table-column>
        <!-- <el-table-column :show-overflow-tooltip="true" prop="policeName" label="包干民警"></el-table-column> -->
        <!-- <el-table-column :show-overflow-tooltip="true" prop="phone" label="联系电话"></el-table-column> -->
        <el-table-column label="门牌类型">
          <template slot-scope="scope">
            {{ getmplx(scope.row.type) || '中门牌' }}
          </template>
        </el-table-column>
        <!-- 是否制牌 -->
        <el-table-column prop="isCardMaking" label="是否制牌">
          <template slot-scope="scope">
@@ -111,6 +117,59 @@
  },
  methods: {
    getmplx (type) {
      let echartsData = [
        {
          type: 'building',
          value: 0,
          onValue: 0,
          offValue: 0,
          notValue: 0,
          name: '楼栋牌'
        },
        {
          type: 'aoi',
          value: 0,
          onValue: 0,
          offValue: 0,
          notValue: 0,
          name: '大门牌'
        },
        {
          type: 'road_no',
          value: 0,
          onValue: 0,
          offValue: 0,
          notValue: 0,
          name: '中门牌'
        },
        {
          type: 'unit',
          value: 0,
          onValue: 0,
          offValue: 0,
          notValue: 0,
          name: '单元牌'
        },
        {
          type: 'room',
          value: 0,
          onValue: 0,
          offValue: 0,
          notValue: 0,
          name: '户室牌'
        },
      ]
      // 查找匹配项,如果找不到则返回中门牌
      const result = echartsData.find(item => item.type === type)
      // console.log(result, "99999")
      const name = result || echartsData.find(item => item.type === 'road_no')
      return name.name
    },
    previewImage (url) {
      // 检查URL是否存在
      if (!url) {