<template>
  <el-form-item label="查询条件" label-width="150px">
    <el-button type="info" icon="el-icon-edit" plain round @click="editEventHandler('tableCondition', eventParams)">
      {{i18nt('designer.setting.addEventHandler')}}</el-button>
  </el-form-item>
</template>

<script>
  import i18n from "../../../../../../components/xform/utils/i18n"
  import eventMixin from "../../../../../../components/xform/form-designer/setting-panel/property-editor/event-handler/eventMixin"

  export default {
    name: "condition-editor",
    mixins: [i18n, eventMixin],
    props: {
      designer: Object,
      selectedWidget: Object,
      optionModel: Object,
    },
    data() {
      return {
        eventParams: [],
      }
    }
  }
</script>

<style scoped>

</style>
