| | |
| | | <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" |
| | |
| | | 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) { |