修改新旧拆分单对比--字段名称
This commit is contained in:
@@ -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%')) {
|
||||
|
||||
Reference in New Issue
Block a user