index.vue 640 Bytes
Newer Older
wangdanlei's avatar
wangdanlei committed
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
<template>
  <dxPbOrganizationUnitTree display-mode="QUERY" title="生产组织层级" @nodeClick="onNodeClick" />
</template>
<script>
import dxPbOrganizationUnitTree from '../dxPbOrganizationUnitTree'
export default {
  // 展示的是实际生产组织树数据
  name: 'DxPbOrganizationUnitQueryTree',
  componentName: '生产单元查询树',
  components: {
    dxPbOrganizationUnitTree
  },
  data() {
    return {
      evenList: [
        {
          even: 'nodeClick',
          name: '节点点击事件'
        }
      ]
    }
  },
  methods: {
    onNodeClick(data) {
      this.$emit('nodeClick', data)
    }
  }
}
</script>