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
41
42
43
<el-table ref="treegridex"
:data="items"
row-key="id"
border
lazy
height="100%"
:row-class-name="setRowClass.bind(_self)"
:load="loadTreeNode.bind(_self)"
:tree-props="{ children: 'children', hasChildren: 'leaf' }"
:select-on-indeterminate="isSingleSelect"
@current-change="select.apply(_self, arguments)"
>
<el-table-column show-overflow-tooltip prop="accountname" label="客户名称" :width="250" :align="''">
<template v-slot="{ row }">
<span>{{ getColumnValue(row, 'accountname') }}</span>
</template>
</el-table-column>
<el-table-column show-overflow-tooltip prop="telephone1" label="主要电话" :width="100" :align="''">
<template v-slot="{ row }">
<span>{{ getColumnValue(row, 'telephone1') }}</span>
</template>
</el-table-column>
<el-table-column show-overflow-tooltip prop="address1_city" label="地址 1: 市/县" :width="120" :align="''">
<template v-slot="{ row }">
<span>{{ getColumnValue(row, 'address1_city') }}</span>
</template>
</el-table-column>
<el-table-column show-overflow-tooltip prop="primarycontactname" label="主要联系人" :width="120" :align="''">
<template v-slot="{ row }">
<span>{{ getColumnValue(row, 'primarycontactname') }}</span>
</template>
</el-table-column>
<el-table-column show-overflow-tooltip prop="emailaddress1" label="电子邮件" :width="120" :align="''">
<template v-slot="{ row }">
<span>{{ getColumnValue(row, 'emailaddress1') }}</span>
</template>
</el-table-column>
<el-table-column show-overflow-tooltip prop="parentaccountname" label="上级客户" :width="200" :align="''">
<template v-slot="{ row }">
<span>{{ getColumnValue(row, 'parentaccountname') }}</span>
</template>
</el-table-column>
</el-table>