修改新旧拆分单对比--字段名称

This commit is contained in:
范强强
2024-03-07 09:14:02 +08:00
parent 37fc4b526b
commit 98c09d2d8f
2 changed files with 7 additions and 7 deletions
@@ -118,7 +118,7 @@ export default {
columns: [
// 旧文档文本号
{
title: '标准编号1',
title: '标准编号',
dataIndex: 'serialNumberLeft',
width: 170,
ellipsis: true,
@@ -126,34 +126,34 @@ export default {
},
// 旧文档文本名称
{
title: '标准名称1',
title: '标准名称',
dataIndex: 'titleLeft',
width: 170,
scopedSlots: { customRender: 'oldTextDetail' }
},
// 旧文本状态
{
title: '文本状态',
title: '文本状态',
width: 150,
dataIndex: 'fileTypeLeft_dictText'
},
// 新文档文本号
{
title: '标准编号2',
title: '标准编号',
dataIndex: 'serialNumberRight',
width: 170,
scopedSlots: { customRender: 'newTextDetail' }
},
// 新文档文本名称
{
title: '标准名称2',
title: '标准名称',
dataIndex: 'titleRight',
width: 170,
scopedSlots: { customRender: 'newTextDetail' }
},
// 新文本状态
{
title: '文本状态',
title: '文本状态',
width: 150,
dataIndex: 'fileTypeRight_dictText'
},
@@ -274,7 +274,7 @@ export default {
this.loading = true
clauseComparisonEvent(query).then((res) => {
if (res.success) {
this.similarityDegree = res.result.similarityDegree + '%'
this.similarityDegree = res.result.similarityDegree
if (parseFloat(res.result.similarityDegree) < parseFloat('75%')) {
this.textContent = '不相似'
} else if (parseFloat(res.result.similarityDegree) >= parseFloat('75%') && parseFloat(res.result.similarityDegree) !== parseFloat('100%')) {