修改新旧拆分单对比--字段名称
This commit is contained in:
@@ -118,7 +118,7 @@ export default {
|
|||||||
columns: [
|
columns: [
|
||||||
// 旧文档文本号
|
// 旧文档文本号
|
||||||
{
|
{
|
||||||
title: '标准编号1',
|
title: '旧标准编号',
|
||||||
dataIndex: 'serialNumberLeft',
|
dataIndex: 'serialNumberLeft',
|
||||||
width: 170,
|
width: 170,
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
@@ -126,34 +126,34 @@ export default {
|
|||||||
},
|
},
|
||||||
// 旧文档文本名称
|
// 旧文档文本名称
|
||||||
{
|
{
|
||||||
title: '标准名称1',
|
title: '旧标准名称',
|
||||||
dataIndex: 'titleLeft',
|
dataIndex: 'titleLeft',
|
||||||
width: 170,
|
width: 170,
|
||||||
scopedSlots: { customRender: 'oldTextDetail' }
|
scopedSlots: { customRender: 'oldTextDetail' }
|
||||||
},
|
},
|
||||||
// 旧文本状态
|
// 旧文本状态
|
||||||
{
|
{
|
||||||
title: '文本状态',
|
title: '旧文本状态',
|
||||||
width: 150,
|
width: 150,
|
||||||
dataIndex: 'fileTypeLeft_dictText'
|
dataIndex: 'fileTypeLeft_dictText'
|
||||||
},
|
},
|
||||||
// 新文档文本号
|
// 新文档文本号
|
||||||
{
|
{
|
||||||
title: '标准编号2',
|
title: '新标准编号',
|
||||||
dataIndex: 'serialNumberRight',
|
dataIndex: 'serialNumberRight',
|
||||||
width: 170,
|
width: 170,
|
||||||
scopedSlots: { customRender: 'newTextDetail' }
|
scopedSlots: { customRender: 'newTextDetail' }
|
||||||
},
|
},
|
||||||
// 新文档文本名称
|
// 新文档文本名称
|
||||||
{
|
{
|
||||||
title: '标准名称2',
|
title: '新标准名称',
|
||||||
dataIndex: 'titleRight',
|
dataIndex: 'titleRight',
|
||||||
width: 170,
|
width: 170,
|
||||||
scopedSlots: { customRender: 'newTextDetail' }
|
scopedSlots: { customRender: 'newTextDetail' }
|
||||||
},
|
},
|
||||||
// 新文本状态
|
// 新文本状态
|
||||||
{
|
{
|
||||||
title: '文本状态',
|
title: '新文本状态',
|
||||||
width: 150,
|
width: 150,
|
||||||
dataIndex: 'fileTypeRight_dictText'
|
dataIndex: 'fileTypeRight_dictText'
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -274,7 +274,7 @@ export default {
|
|||||||
this.loading = true
|
this.loading = true
|
||||||
clauseComparisonEvent(query).then((res) => {
|
clauseComparisonEvent(query).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.similarityDegree = res.result.similarityDegree + '%'
|
this.similarityDegree = res.result.similarityDegree
|
||||||
if (parseFloat(res.result.similarityDegree) < parseFloat('75%')) {
|
if (parseFloat(res.result.similarityDegree) < parseFloat('75%')) {
|
||||||
this.textContent = '不相似'
|
this.textContent = '不相似'
|
||||||
} else if (parseFloat(res.result.similarityDegree) >= parseFloat('75%') && parseFloat(res.result.similarityDegree) !== parseFloat('100%')) {
|
} else if (parseFloat(res.result.similarityDegree) >= parseFloat('75%') && parseFloat(res.result.similarityDegree) !== parseFloat('100%')) {
|
||||||
|
|||||||
Reference in New Issue
Block a user