<template>
  <cms-pull-down-magnifier
    v-model="inputValue"
    :height="400"
    :show-search-form="false"
    :placeholder="'1111111111111111111'"
    :request-call="this.$http.tables.selectRemoteUrl"
    :form-model="{}"
    :columns="columns"
    :query-params="{
      realName: inputValue
    }"
    :search-field="'realName'"
    :props="{
      label: 'realName',
      value: 'id',
    }"
  >
  </cms-pull-down-magnifier>
</template>

<script>
export default {
  name: "form-pull-down-demo",
  data() {
    return {
      inputValue: undefined,
      columns: [ {
        field: 'realName',
        title: '真实姓名'
      }, {
        field: 'county',
        title: '所属城市'
      } ]
    }
  }
}
</script>

<style scoped>

</style>