|
@@ -13,7 +13,7 @@
|
|
|
{{ getNameByType(row.source, row.issueType, [aiOptions, manualOptions]) }}
|
|
{{ getNameByType(row.source, row.issueType, [aiOptions, manualOptions]) }}
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
- <el-table-column label="问题描述" prop="description" width="500" show-overflow-tooltip>
|
|
|
|
|
|
|
+ <el-table-column label="问题描述" prop="description" width="400" show-overflow-tooltip>
|
|
|
<template #default="{ row }">
|
|
<template #default="{ row }">
|
|
|
<span>{{ getSplicedDes(row.description) }}</span>
|
|
<span>{{ getSplicedDes(row.description) }}</span>
|
|
|
<span class="detail-text" @click="handleDetailClick(row)"> 详情</span>
|
|
<span class="detail-text" @click="handleDetailClick(row)"> 详情</span>
|
|
@@ -105,9 +105,9 @@ const handleDelete = (row) => {
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
const getSplicedDes = (val) => {
|
|
const getSplicedDes = (val) => {
|
|
|
- if (val.length < 40) return val;
|
|
|
|
|
|
|
+ if (val.length < 20) return val;
|
|
|
else {
|
|
else {
|
|
|
- const temp = val.substring(0, 40);
|
|
|
|
|
|
|
+ const temp = val.substring(0, 20);
|
|
|
return temp + '…';
|
|
return temp + '…';
|
|
|
}
|
|
}
|
|
|
};
|
|
};
|