JSelectCarAct.vue 1.31 KB
<template>
  <j-select-biz-component :width="1000" v-bind="configs" v-on="$listeners"/>
</template>

<script>
  import JSelectBizComponent from './JSelectBizComponent'

  export default {
    name: 'JSelectPosition',
    components: { JSelectBizComponent },
    props: ['value'],
    data() {
      return {
        settings: {
          name: '动作',
          displayKey: 'landmark',
          returnKeys: ['id', 'id'],
          listUrl: '/caract/info/list',
          queryParamCode: 'landmark',
          queryParamText: '地标',
          columns: [
            { title: '当前地标', dataIndex: 'landmark', align: 'center', width: '16%' },
            { title: '前置地标', dataIndex: 'frontLandmark', align: 'center', width: '16%' },
            { title: '后置地标', dataIndex: 'behindLandmark', align: 'center', width: '16%' },
            { title: '运行方向', dataIndex: 'direction', align: 'center', width: '16%' },
            { title: '举升高度', dataIndex: 'liftHeight', align: 'center', width: '16%' },
            { title: '插销动作', dataIndex: 'bolt', align: 'center', width: '16%' },
          ]
        }
      }
    },
    computed: {
      configs() {
        return Object.assign({ value: this.value }, this.settings, this.$attrs)
      }
    }
  }
</script>

<style lang="less" scoped></style>