Merge remote-tracking branch 'origin/dev_2nd_period_test' into dev_2nd_period_test

This commit is contained in:
CD
2022-11-14 11:27:46 +08:00
8 changed files with 33 additions and 16 deletions
@@ -196,15 +196,15 @@ public class ProblemKnowledgeBaseEOServiceImpl extends ServiceImpl<ProblemKnowle
Map<String, Object> stringMapEn = new HashMap<>(); Map<String, Object> stringMapEn = new HashMap<>();
this.problemKnowledgeBaseEOConvertMapByCut(problemKnowledgeBaseEO,CutEnum.EN.getValue(),stringMapEn); this.problemKnowledgeBaseEOConvertMapByCut(problemKnowledgeBaseEO,CutEnum.EN.getValue(),stringMapEn);
this.putMap(problemKnowledgeBaseId,sbCn.toString(),CutEnum.CN.getValue(),stringMapCn,SEARCH_FLAG,"问题知识库"); this.putMap(problemKnowledgeBaseId,sbCn.toString(),CutEnum.CN.getValue(),stringMapCn,SEARCH_FLAG,"知识分享");
this.putMap(problemKnowledgeBaseId,sbEn.toString(),CutEnum.EN.getValue(),stringMapEn,SEARCH_FLAG,"Problem knowledge base"); this.putMap(problemKnowledgeBaseId,sbEn.toString(),CutEnum.EN.getValue(),stringMapEn,SEARCH_FLAG,"Knowledge Sharing");
Map<String, Object> stringMapCnBase = new HashMap<>(); Map<String, Object> stringMapCnBase = new HashMap<>();
this.problemKnowledgeBaseEOConvertMapByCut(problemKnowledgeBaseEO,CutEnum.EN.getValue(),stringMapCnBase); this.problemKnowledgeBaseEOConvertMapByCut(problemKnowledgeBaseEO,CutEnum.EN.getValue(),stringMapCnBase);
Map<String, Object> stringMapEnBase = new HashMap<>(); Map<String, Object> stringMapEnBase = new HashMap<>();
this.problemKnowledgeBaseEOConvertMapByCut(problemKnowledgeBaseEO,CutEnum.EN.getValue(),stringMapEnBase); this.problemKnowledgeBaseEOConvertMapByCut(problemKnowledgeBaseEO,CutEnum.EN.getValue(),stringMapEnBase);
this.putMap(problemKnowledgeBaseId,sbCn.toString(),CutEnum.CN.getValue(),stringMapCnBase,null,"问题知识库"); this.putMap(problemKnowledgeBaseId,sbCn.toString(),CutEnum.CN.getValue(),stringMapCnBase,null,"知识分享");
this.putMap(problemKnowledgeBaseId,sbEn.toString(),CutEnum.EN.getValue(),stringMapEnBase,null,"Problem knowledge base"); this.putMap(problemKnowledgeBaseId,sbEn.toString(),CutEnum.EN.getValue(),stringMapEnBase,null,"Knowledge Sharing");
mapListTempCn.add(stringMapCn); mapListTempCn.add(stringMapCn);
mapListTempEn.add(stringMapEn); mapListTempEn.add(stringMapEn);
@@ -3,7 +3,7 @@ package com.jero.modules.searchcenter.enums;
public enum ModuleTypeFlagEnum { public enum ModuleTypeFlagEnum {
DOCUMENT_LIBRARY("文档库","WDK"), DOCUMENT_LIBRARY("文档库","WDK"),
LAWS_MONTHLY_REPORT("法规月报","FGYB"), LAWS_MONTHLY_REPORT("法规月报","FGYB"),
PROBLEM_KNOWLEDGE_BASE_CLASSIFY("问题知识库","WTZSK"); PROBLEM_KNOWLEDGE_BASE_CLASSIFY("知识分享","WTZSK");
String name; String name;
String value; String value;
@@ -1488,7 +1488,13 @@ public class DocumentSearchServiceImpl implements IDocumentSearchService {
List<ProblemKnowledgeBaseUserEO> problemKnowledgeBaseUserEOList = this.problemKnowledgeBaseUserEOService.list(userPermissionQueryWrapper); List<ProblemKnowledgeBaseUserEO> problemKnowledgeBaseUserEOList = this.problemKnowledgeBaseUserEOService.list(userPermissionQueryWrapper);
if(CollectionUtils.isNotEmpty(problemKnowledgeBaseUserEOList)){ if(CollectionUtils.isNotEmpty(problemKnowledgeBaseUserEOList)){
List<String> problemKnowledgeBaseIdList = problemKnowledgeBaseUserEOList.stream().map(ProblemKnowledgeBaseUserEO::getProblemKnowledgeBaseId).distinct().collect(Collectors.toList()); List<String> problemKnowledgeBaseIdList = problemKnowledgeBaseUserEOList.stream().filter(e->{
boolean flag = false;
if(StringUtils.isNotEmpty(e.getProblemKnowledgeBaseId())){
flag = true;
}
return flag;
}).map(ProblemKnowledgeBaseUserEO::getProblemKnowledgeBaseId).distinct().collect(Collectors.toList());
//in查询该用户拥有权限的问题知识库id。 //in查询该用户拥有权限的问题知识库id。
Map<String, Object> fieldKeyMap2 = new HashMap<>(); Map<String, Object> fieldKeyMap2 = new HashMap<>();
+4 -4
View File
@@ -1028,7 +1028,7 @@ module.exports = {
viewProcess: 'View Process', viewProcess: 'View Process',
evaluationResults: 'Evaluation Results', evaluationResults: 'Evaluation Results',
Assessor: 'Assessor', Assessor: 'Assessor',
collectionOfRegulatoryOpinions: 'Collection Of Regulatory Opinions', collectionOfRegulatoryOpinions: 'Opinion Collection of Regulation',
collectionOfRegulatoryOpinionsProcess: 'Collection Of Regulatory Opinions Process', collectionOfRegulatoryOpinionsProcess: 'Collection Of Regulatory Opinions Process',
feedbackInformation: 'Feedback', feedbackInformation: 'Feedback',
relevantSections: 'Chapter', relevantSections: 'Chapter',
@@ -1211,7 +1211,7 @@ module.exports = {
Inthecollection: 'During collection', Inthecollection: 'During collection',
Notatthe: 'Not started', Notatthe: 'Not started',
Thepercentage: 'The Percentage', Thepercentage: 'The Percentage',
problemKnowledgeBase: 'Q&A Knowledge', problemKnowledgeBase: 'Knowledge Sharing',
recentHotSpots: 'Recent Hot Spots', recentHotSpots: 'Recent Hot Spots',
disseminationMaterials: 'Dissemination Materials', disseminationMaterials: 'Dissemination Materials',
informationSafety: 'Information Safety', informationSafety: 'Information Safety',
@@ -1291,8 +1291,8 @@ module.exports = {
rejectedBy:'Rejected By', rejectedBy:'Rejected By',
rejectionTime:'Rejection Time', rejectionTime:'Rejection Time',
rejectReason:'Reject Reason', rejectReason:'Reject Reason',
collectionLegislativeComments:'Collection of Legislative Comments', collectionLegislativeComments:'Opinion Collection of Regulation',
regulatoryAndTechnicalAssessment:'Regulatory and technical assessment', regulatoryAndTechnicalAssessment:'Regulation Technical Assessment',
listConfirmationRejectionReason:'List confirmation rejection reason', listConfirmationRejectionReason:'List confirmation rejection reason',
taskConfirmationRejectionReason:'Task confirmation rejection reason', taskConfirmationRejectionReason:'Task confirmation rejection reason',
onlyCompletedDataCanBeDeleted:'Only completed data can be deleted', onlyCompletedDataCanBeDeleted:'Only completed data can be deleted',
+1 -1
View File
@@ -1313,7 +1313,7 @@ module.exports = {
Inthecollection: '收集中', Inthecollection: '收集中',
Notatthe: '未开始', Notatthe: '未开始',
Thepercentage: '百分比', Thepercentage: '百分比',
problemKnowledgeBase: '问题知识库', problemKnowledgeBase: '知识分享',
recentHotSpots: '近期热点', recentHotSpots: '近期热点',
disseminationMaterials: '传播物料', disseminationMaterials: '传播物料',
informationSafety: '信息安全', informationSafety: '信息安全',
@@ -211,7 +211,8 @@
downLoadImgUrl: window._CONFIG['domianWebImgURL'] + '/sys/common/download', downLoadImgUrl: window._CONFIG['domianWebImgURL'] + '/sys/common/download',
pageNo: 1, pageNo: 1,
url: { url: {
getInfoList: '/problemKnowledgeBase/problemKnowledgeBaseEO/page' getInfoList: '/problemKnowledgeBase/problemKnowledgeBaseEO/page',
getjiekou: '/problemKnowledgeBase/problemKnowledgeBaseEO/queryById'
}, },
CommentQuery: {} CommentQuery: {}
} }
@@ -424,7 +425,7 @@
this.$nextTick(() => { this.$nextTick(() => {
this.$refs.problemKnowledgeBaseListViewRef.getData(JSON.parse(JSON.stringify(val))) this.$refs.problemKnowledgeBaseListViewRef.getData(JSON.parse(JSON.stringify(val)))
}) })
} },
} }
} }
</script> </script>
@@ -34,8 +34,10 @@
{{queryForm.createBy}} {{queryForm.createBy}}
</div> </div>
<div class="content-box-button-text" v-if="queryForm.standNumber"> <div class="content-box-button-text" v-if="queryForm.standNumber">
<a-icon type="file-markdown"/> <div class="content-box-button-text" v-for="(value,key) in queryForm.standNumber.split(',')">
{{queryForm.standNumber}} <a-icon type="file-markdown"/>
<span style='text-decoration: underline;cursor:pointer;' @click='detailClick(queryForm,key)'>{{value}}</span>
</div>
</div> </div>
<div class="content-box-button-text" v-if="queryForm.targetMarket_dicText"> <div class="content-box-button-text" v-if="queryForm.targetMarket_dicText">
<img src="../../../../assets/ditu.png" style="width: 15px;margin-top: -3px" alt=""> <img src="../../../../assets/ditu.png" style="width: 15px;margin-top: -3px" alt="">
@@ -447,6 +449,14 @@
this.queryForm = row this.queryForm = row
this.$refs.SelectedByRef.getPush() this.$refs.SelectedByRef.getPush()
}, },
detailClick(item,key) {
this.$router.push({
path: '/docManage/library/detail',
query: {
id: item.bussDocumentLibraryId.split(',')[key]
},
})
},
SelectedByForm(userIds) { SelectedByForm(userIds) {
let query = { let query = {
userIds: userIds, userIds: userIds,
@@ -94,7 +94,7 @@
}, },
moreClick() { moreClick() {
this.$router.push({ this.$router.push({
path: '/ProcessCenter' path: '/projectRegulationTasks'
}) })
}, },
prcClick(row) { prcClick(row) {