JSelectCarAct.vue
1.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<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>