linwe
2024-08-09 5e2aafeede13d337380f736567caf74f49713be7
src/views/publicSecurity/components/auditBase.vue
@@ -7,7 +7,7 @@
        <el-button :size="size" @click="handleSubmit(3)">驳 回</el-button>
      </template>
      <template slot-scope="{ row, size, index }" slot="houseCode">
      <template slot-scope="{ row, size, index }" slot="houseCode" v-if="this.type == 2">
        <el-select v-model="form.houseCode" filterable remote :remote-method="onRemoteMethod" @change="onSelectChange"
          placeholder="请选择标准地址" reserve-keyword>
          <el-option v-for="item in standardAddressList" :key="item.houseCode"
@@ -101,11 +101,20 @@
        this.getPlaceAddressListRequest(query)
      },
      getPlaceAddressListRequest(query) {
        getList(1, 10, {
          neiName: query
        }).then(res => {
          this.standardAddressList = res.data.data.records;
        })
        // 场所名称查询
        if (this.type == 2) {
          getList(1, 10, {
            placeName: query
          }).then(res => {
            this.standardAddressList = res.data.data.records;
          })
        } else {
          getList(1, 10, {
            neiName: query
          }).then(res => {
            this.standardAddressList = res.data.data.records;
          })
        }
      },
      handleSubmit(status) {