| | |
| | | </div> --> |
| | | <el-row justify="space-between" style="margin-top: 4px"> |
| | | <el-space> |
| | | <el-tag type="primary" effect="plain" size="small"> |
| | | <el-tag type="info" effect="plain" size="small"> |
| | | {{ item.districtname }} |
| | | </el-tag> |
| | | <el-tag type="primary" effect="plain" size="small"> |
| | | <el-tag type="info" effect="plain" size="small"> |
| | | {{ item.type }} |
| | | </el-tag> |
| | | <el-tag :type="item.extension1 == '0' ? 'info' : 'success'" size="small"> |
| | | {{ onlineFormat(item.extension1) }} |
| | | </el-tag> |
| | | </el-space> |
| | | <slot> |
| | | <el-button size="small" type="success" @click="add">添加</el-button> |
| | | </slot> |
| | | </el-row> |
| | | </div> |
| | | <!-- </el-card> --> |
| | |
| | | function add() { |
| | | emit('add', props.item); |
| | | } |
| | | |
| | | function onlineFormat(s) { |
| | | if (s == '0') { |
| | | return '下线'; |
| | | } else { |
| | | return '上线'; |
| | | } |
| | | } |
| | | </script> |
| | | <style scoped> |
| | | .wrapper { |