| | |
| | | <el-button type="primary" plain @click="handleImport">导入</el-button> |
| | | <el-button @click="handleOut">导出</el-button> |
| | | <el-button type="danger" plain @click="handleDelete">删除</el-button> |
| | | <el-button type="primary" plain @click="handlePrint">打印</el-button> |
| | | <!-- <el-button type="primary" plain @click="handlePrint">打印</el-button> --> |
| | | </div> |
| | | </div> |
| | | <el-table :data="tableData" border v-loading="tableLoading" @selection-change="handleSelectionChange" |
| | |
| | | return (list || []) |
| | | .map((n) => { |
| | | // 后续层级里如果还有 customer,直接剔除 |
| | | if (n.nodeType === "customer") return null; |
| | | if (n.nodeType === "customer" || n.nodeType === "model") return null; |
| | | |
| | | // 到达展示深度后,不再向下挂子节点 |
| | | if (level >= MAX_LEVEL) { |