增加设备节点名称过长显示tooltip&修改表格项长度
This commit is contained in:
@@ -135,8 +135,14 @@ export default {
|
||||
{
|
||||
title: '名称',
|
||||
key: '@Name',
|
||||
'show-overflow-tooltip': true,
|
||||
component: {
|
||||
size: 'small'
|
||||
},
|
||||
filterMethod (value, row) {
|
||||
console.log(value)
|
||||
console.log(value)
|
||||
return row.tag === value
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -171,6 +177,7 @@ export default {
|
||||
{
|
||||
title: '长度',
|
||||
key: '@Length',
|
||||
width: '80%',
|
||||
component: {
|
||||
name: 'el-input',
|
||||
size: 'small'
|
||||
@@ -187,6 +194,7 @@ export default {
|
||||
{
|
||||
title: '当前值',
|
||||
key: '@Value',
|
||||
width: '80%',
|
||||
component: {
|
||||
name: 'el-input',
|
||||
size: 'small'
|
||||
@@ -194,7 +202,7 @@ export default {
|
||||
}
|
||||
],
|
||||
rowHandle: {
|
||||
minWidth: '200',
|
||||
minWidth: '150',
|
||||
custom: [
|
||||
{
|
||||
text: '绑定',
|
||||
@@ -232,8 +240,7 @@ export default {
|
||||
},
|
||||
formOptions: {
|
||||
modal: false,
|
||||
saveLoading: false,
|
||||
showOverflowTooltip: true
|
||||
saveLoading: false
|
||||
},
|
||||
addTemplate: {
|
||||
'@Name': {
|
||||
@@ -495,7 +502,6 @@ export default {
|
||||
assign(o, {
|
||||
id: i + 1,
|
||||
showBindButton: true,
|
||||
showSendButton: true,
|
||||
showCopyButton: true,
|
||||
showRemoveButton: true
|
||||
})
|
||||
@@ -578,8 +584,7 @@ export default {
|
||||
id: this.devicePointData.length + 1,
|
||||
showBindButton: true,
|
||||
showCopyButton: true,
|
||||
showRemoveButton: true,
|
||||
showSendButton: true
|
||||
showRemoveButton: true
|
||||
})
|
||||
this.devicePointData.push(row)
|
||||
done()
|
||||
@@ -663,7 +668,6 @@ export default {
|
||||
unset(item, 'showBindButton')
|
||||
unset(item, 'showCopyButton')
|
||||
unset(item, 'showRemoveButton')
|
||||
unset(item, 'showSendButton')
|
||||
unset(item, '@Value')
|
||||
item['@Binding'] = item['@Binding'] || ''
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user