合并分支 'dev_third_stage' 到 'master'
Dev third stage 查看合并请求 laws-nio/laws-weilai!167
This commit is contained in:
+3
@@ -155,6 +155,9 @@ public class SarFileCompareInfoServiceImpl extends ServiceImpl<SarFileCompareInf
|
|||||||
double compareSimilarity = 0.0;
|
double compareSimilarity = 0.0;
|
||||||
if (null != leftTxt && !leftTxt.isEmpty()) {
|
if (null != leftTxt && !leftTxt.isEmpty()) {
|
||||||
for (int j = 0; j < rightItemList.size(); j++) {
|
for (int j = 0; j < rightItemList.size(); j++) {
|
||||||
|
if(null == rightItemList.get(j).getTargetStand()){
|
||||||
|
rightItemList.get(j).setTargetStand(-1);
|
||||||
|
}
|
||||||
String rightTxt = rightItemList.get(j).getItemsText();
|
String rightTxt = rightItemList.get(j).getItemsText();
|
||||||
if (null != rightTxt && !rightTxt.isEmpty()) {
|
if (null != rightTxt && !rightTxt.isEmpty()) {
|
||||||
double similarity = CompHanLPUtils.findSimilarity(leftTxt.trim(), rightTxt.trim());
|
double similarity = CompHanLPUtils.findSimilarity(leftTxt.trim(), rightTxt.trim());
|
||||||
|
|||||||
+3
@@ -2229,6 +2229,9 @@ public class DiffUtils {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public List<String> getHtmlDiffStr(String text1,String text2){
|
public List<String> getHtmlDiffStr(String text1,String text2){
|
||||||
|
text1 = text1.replaceAll("<img.*\\>", "");
|
||||||
|
text2 = text2.replaceAll("<img.*\\>", "");
|
||||||
|
|
||||||
LinkedList<Diff> diffs = diff_main(text1, text2);
|
LinkedList<Diff> diffs = diff_main(text1, text2);
|
||||||
//定义输出结果
|
//定义输出结果
|
||||||
String LResultStr="";
|
String LResultStr="";
|
||||||
|
|||||||
+4
@@ -331,6 +331,10 @@ public class LawsTechnologyEvaluationItemResultEOServiceImpl extends ServiceImpl
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(StringUtils.isNotEmpty(itemContent)){
|
||||||
|
itemContent = itemContent.replaceAll("<p>","").replaceAll("</p>","\r\n");
|
||||||
|
}
|
||||||
|
|
||||||
dataRow.createCell(2).setCellValue(itemContent);
|
dataRow.createCell(2).setCellValue(itemContent);
|
||||||
dataRow.createCell(3).setCellValue(exportData.get(dataIndex).getEvaluatorName());
|
dataRow.createCell(3).setCellValue(exportData.get(dataIndex).getEvaluatorName());
|
||||||
dataRow.createCell(4).setCellValue(exportData.get(dataIndex).getEvaluationMethodsName());
|
dataRow.createCell(4).setCellValue(exportData.get(dataIndex).getEvaluationMethodsName());
|
||||||
|
|||||||
@@ -221,7 +221,7 @@
|
|||||||
selectedRowrowValue: [],
|
selectedRowrowValue: [],
|
||||||
dataSource: [],
|
dataSource: [],
|
||||||
pageNo: 1,
|
pageNo: 1,
|
||||||
pageSize: 10,
|
pageSize: 100,
|
||||||
pageSizeOptions: ['100', '200'],
|
pageSizeOptions: ['100', '200'],
|
||||||
total: 0,
|
total: 0,
|
||||||
searchParmes: {},
|
searchParmes: {},
|
||||||
@@ -505,7 +505,9 @@
|
|||||||
getTableListReset() {
|
getTableListReset() {
|
||||||
let params = {
|
let params = {
|
||||||
paramsManifestId: this.$route.query.id,
|
paramsManifestId: this.$route.query.id,
|
||||||
userTypes: this.currentPersonRole
|
userTypes: this.currentPersonRole,
|
||||||
|
pageNo:this.pageNo,
|
||||||
|
pageSize:this.pageSize
|
||||||
}
|
}
|
||||||
this.loading = true
|
this.loading = true
|
||||||
this.$emit('listReset', '')
|
this.$emit('listReset', '')
|
||||||
|
|||||||
@@ -767,6 +767,11 @@ export default {
|
|||||||
this.loading = true
|
this.loading = true
|
||||||
getAction(this.url.list, params).then(res => {
|
getAction(this.url.list, params).then(res => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
|
if (res.result.pageList.current > 1 && res.result.pageList.records.length == 0) {
|
||||||
|
this.pageNo = 1
|
||||||
|
this.loadData()
|
||||||
|
return
|
||||||
|
}
|
||||||
this.dataSource = res.result.pageList.records || []
|
this.dataSource = res.result.pageList.records || []
|
||||||
this.authmanage =res.result.auth_manage
|
this.authmanage =res.result.auth_manage
|
||||||
this.total = res.result.pageList.total
|
this.total = res.result.pageList.total
|
||||||
|
|||||||
@@ -44,10 +44,10 @@
|
|||||||
:columns="columns"
|
:columns="columns"
|
||||||
>
|
>
|
||||||
<span slot="projectName" slot-scope="text,record" :title="text">
|
<span slot="projectName" slot-scope="text,record" :title="text">
|
||||||
{{ text && text.length > 15 ? text.slice(0, 14) + '...' : text }}
|
{{ text }}
|
||||||
</span>
|
</span>
|
||||||
<span slot="templateName" slot-scope="text,record" :title="text">
|
<span slot="templateName" slot-scope="text,record" :title="text">
|
||||||
{{ text && text.length > 25 ? text.slice(0, 21) + '...' : text }}
|
{{ text }}
|
||||||
</span>
|
</span>
|
||||||
<span slot="operation" slot-scope="text,record">
|
<span slot="operation" slot-scope="text,record">
|
||||||
<a class="text-operation" v-has="'report:exportTemplate:edit'" @click="edit(record)">{{$t('edit')}}</a>
|
<a class="text-operation" v-has="'report:exportTemplate:edit'" @click="edit(record)">{{$t('edit')}}</a>
|
||||||
@@ -150,6 +150,7 @@ export default {
|
|||||||
title: this.$t('templateName'),
|
title: this.$t('templateName'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'templateName',
|
dataIndex: 'templateName',
|
||||||
|
ellipsis: true,
|
||||||
width: 300,
|
width: 300,
|
||||||
scopedSlots: { customRender: 'templateName' }
|
scopedSlots: { customRender: 'templateName' }
|
||||||
},
|
},
|
||||||
@@ -157,25 +158,29 @@ export default {
|
|||||||
title: this.$t('contentDescription'),
|
title: this.$t('contentDescription'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'description',
|
dataIndex: 'description',
|
||||||
|
ellipsis: true,
|
||||||
width: 300,
|
width: 300,
|
||||||
scopedSlots: { customRender: 'projectName' }
|
scopedSlots: { customRender: 'projectName' }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('status'),
|
title: this.$t('status'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: 100,
|
width: 120,
|
||||||
|
ellipsis: true,
|
||||||
dataIndex: 'state_dictText'
|
dataIndex: 'state_dictText'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('creater'),
|
title: this.$t('creater'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: 100,
|
width: 120,
|
||||||
|
ellipsis: true,
|
||||||
dataIndex: 'createBy'
|
dataIndex: 'createBy'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('Latestupdatetime'),
|
title: this.$t('Latestupdatetime'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: 180,
|
width: 180,
|
||||||
|
ellipsis: true,
|
||||||
dataIndex: 'updateTime'
|
dataIndex: 'updateTime'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user