预览效果:
代码 :
<template>
<el-dialog
title="字段显示与排序设置(提示:位置越靠上的越靠近列表左侧)"
:visible.sync="dialogShow"
width="850px"
>
<div class="transform-box">
<el-transfer
v-model="chooseColumn"
filterable
:props="{
key: 'key',
label: 'label'
}"
:titles="['隐藏字段', '显示字段']"
:format="{
noChecked: '${total}',
hasChecked: '${checked}/${total}'
}"
target-order="push"
:data="optio