|
|
@ -95,7 +95,7 @@ |
|
|
|
:label="showTitle(item,index)" |
|
|
|
:prop="item" |
|
|
|
show-overflow-tooltip |
|
|
|
width="100px"> |
|
|
|
:width="calcWidth(index)"> |
|
|
|
<template #default="scope"> |
|
|
|
<el-input v-if="scope.row['Label'] == editField && scope.row['key'] == editKey && index > 8 " |
|
|
|
v-model="scope.row[item]" |
|
|
@ -202,6 +202,20 @@ export default { |
|
|
|
"editButtonClass", |
|
|
|
"publicButtonClass" |
|
|
|
]), |
|
|
|
calcWidth(){ |
|
|
|
return function(index) { |
|
|
|
let width = "100px" |
|
|
|
switch (index) { |
|
|
|
case 0: |
|
|
|
width = "150px" |
|
|
|
break; |
|
|
|
case 2: |
|
|
|
width = "350px" |
|
|
|
break; |
|
|
|
} |
|
|
|
return width |
|
|
|
} |
|
|
|
}, |
|
|
|
showTitle() { |
|
|
|
return function(item, index) { |
|
|
|
if (item == "Label") { |
|
|
|