| | |
| | | value="title" |
| | | disabled |
| | | > |
| | | <span v-for="(col, j) in columns" :key="col.prop">{{ col.label }}</span> |
| | | <span v-for="(col, j) in columns" :key="col.prop"><span>{{ col.label }}</span></span> |
| | | </el-option> |
| | | <el-option |
| | | class="lmes-select-body" |
| | |
| | | :label="formatter(item)" |
| | | :value="item[valueColumn]" |
| | | > |
| | | <span v-for="(col, j) in columns" :key="col.prop + i">{{ |
| | | col.formatter |
| | | ? col.formatter(item[col.prop]) |
| | | : item[col.prop] |
| | | ? item[col.prop] |
| | | : '--' |
| | | }}</span> |
| | | <span v-for="(col, j) in columns" :key="col.prop + i"> |
| | | <el-tooltip :content="col.formatter |
| | | ? col.formatter(item[col.prop]) |
| | | : item[col.prop] |
| | | ? item[col.prop] |
| | | : '--'"> |
| | | <span style="overflow: hidden;"> |
| | | {{ |
| | | col.formatter |
| | | ? col.formatter(item[col.prop]) |
| | | : item[col.prop] |
| | | ? item[col.prop] |
| | | : '--' |
| | | }} |
| | | </span> |
| | | </el-tooltip> |
| | | </span> |
| | | </el-option> |
| | | </el-select> |
| | | </div> |
| | |
| | | text-align: center; |
| | | font-size: 13px; |
| | | line-height: 44px; |
| | | |
| | | } |
| | | |
| | | .lmes-select-head span, |
| | |
| | | padding: 0 10px !important; |
| | | } |
| | | |
| | | |
| | | |
| | | .lmes-select-head, |
| | | .lmes-select-body, |
| | | .lmes-select-nodata { |