diff --git a/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/dummy/service/impl/DummyInventoryBaseEOServiceImpl.java b/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/dummy/service/impl/DummyInventoryBaseEOServiceImpl.java index a32d4ee88..83ed551b2 100644 --- a/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/dummy/service/impl/DummyInventoryBaseEOServiceImpl.java +++ b/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/dummy/service/impl/DummyInventoryBaseEOServiceImpl.java @@ -429,10 +429,17 @@ public class DummyInventoryBaseEOServiceImpl extends ServiceImpl contentLogList = updateLogList.stream().map(e -> e.getLogContent()).collect(Collectors.toList()); for(int i=0 ; i < contentLogList.size() ;i++){ - contentLog += "("+ (i+1) +")" + contentLogList.get(i) + "
"; + String content = contentLogList.get(i); + if(StringUtils.isNotBlank(content) && content.endsWith("
")){ + content = content.substring(0,content.length()-5); + } + contentLog += "("+ (i+1) +")" + content + "
"; } } } + if(StringUtils.isNotBlank(contentLog) && contentLog.endsWith("
")){ + contentLog = contentLog.substring(0,contentLog.length()-5); + } //列表,维护清单不同的字段,addSerialNumber,deleteSerialNumber都为空->证明是没有更新的数据,不发送消息,数据不处理 if(MapUtils.isNotEmpty(baseDiff) || StringUtils.isNotEmpty(contentLog)) { @@ -481,7 +488,14 @@ public class DummyInventoryBaseEOServiceImpl extends ServiceImpl contentLogList = updateLogList.stream().map(e -> e.getLogContent()).collect(Collectors.toList()); for(int i=0 ; i < contentLogList.size() ;i++){ - contentLog += "("+ (i+1) +")" + contentLogList.get(i) + "
"; + String content = contentLogList.get(i); + if(StringUtils.isNotBlank(content) && content.endsWith("
")){ + content = content.substring(0,content.length()-5); + } + contentLog += "("+ (i+1) +")" + content + "
"; + } + if(StringUtils.isNotBlank(contentLog) && contentLog.endsWith("
")){ + contentLog = contentLog.substring(0,contentLog.length()-5); } iDummyContentChangeEOService.saveBatch(list); sendMsg(null,dummyInventoryInfoEOList.get(0).getDummyInventoryBaseId(),contentLog ,dummyInventoryBaseEO.getState(),dummyInventoryBaseEO.getCut()); diff --git a/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/searchcenter/service/impl/DocumentSearchServiceImpl.java b/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/searchcenter/service/impl/DocumentSearchServiceImpl.java index e3c2c33bd..83fd769d5 100644 --- a/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/searchcenter/service/impl/DocumentSearchServiceImpl.java +++ b/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/searchcenter/service/impl/DocumentSearchServiceImpl.java @@ -344,14 +344,29 @@ public class DocumentSearchServiceImpl implements IDocumentSearchService { for (Map.Entry entry : otherMap.entrySet()) { String key = entry.getKey(); String value = (String) entry.getValue(); - if (ObjectUtils.isNotEmpty(value)) { + if("technology_territory".equals(key) && ObjectUtils.isNotEmpty(value)){ + Map queryMapNew = new HashMap<>(); + Map queryMapTempNew = new HashMap<>(); + queryMapTempNew.put(key, "*"+value.replaceAll(",","*")+"*"); + queryMapNew.put("wildcard", queryMapTempNew); + must.add(queryMapNew); + }else{ + Map map = new HashMap<>(); Map queryMap = new HashMap<>(); Map queryMapTemp = new HashMap<>(); - queryMapTemp.put(key, "*"+value.replaceAll(",","*")+"*"); -// queryMapTemp.put(key, "*"+value+"*"); - queryMap.put("wildcard", queryMapTemp); - must.add(queryMap); + queryMapTemp.put("query", value); + queryMap.put(key, queryMapTemp); + map.put("match",queryMap); + must.add(map); } +// if (ObjectUtils.isNotEmpty(value)) { +// Map queryMap = new HashMap<>(); +// Map queryMapTemp = new HashMap<>(); +// queryMapTemp.put(key, "*"+value.replaceAll(",","*")+"*"); +//// queryMapTemp.put(key, "*"+value+"*"); +// queryMap.put("wildcard", queryMapTemp); +// must.add(queryMap); +// } } } //封装时间类型字段查询(时间范围) diff --git a/jero-web/src/permission.js b/jero-web/src/permission.js index 653f3352a..cfde5c21f 100644 --- a/jero-web/src/permission.js +++ b/jero-web/src/permission.js @@ -110,7 +110,7 @@ router.beforeEach((to, from, next) => { // TODO 在部署线上时解开此代码 // window.location.href = 'https://signin.nio.com/oauth2/authorize?client_id=100679&redirect_uri=' - // + encodeURIComponent('http://grp.nioint.com' + fullPath) + '&response_type=code&state=' + JSON.stringify(to.query) //线上 + // + encodeURIComponent('https://grp.nioint.com' + fullPath) + '&response_type=code&state=' + JSON.stringify(to.query) //线上 }) }) } else { @@ -136,7 +136,7 @@ router.beforeEach((to, from, next) => { // + encodeURIComponent('http://localhost:3000' + fullPath) + '&response_type=code&state=' + JSON.stringify(to.query) //本地 // TODO 在部署线上时解开此代码 // window.location.href = 'https://signin.nio.com/oauth2/authorize?client_id=100679&redirect_uri=' - // + encodeURIComponent('http://grp.nioint.com' + fullPath) + '&response_type=code&state=' + JSON.stringify(to.query) //线上 + // + encodeURIComponent('https://grp.nioint.com' + fullPath) + '&response_type=code&state=' + JSON.stringify(to.query) //线上 NProgress.done() // if current page is login will not trigger afterEach hook, so manually handle it } diff --git a/jero-web/src/views/projectManagement/components/TaskList.vue b/jero-web/src/views/projectManagement/components/TaskList.vue index fc22b5754..a8ec04aa5 100644 --- a/jero-web/src/views/projectManagement/components/TaskList.vue +++ b/jero-web/src/views/projectManagement/components/TaskList.vue @@ -543,8 +543,8 @@ text-align: center; line-height: 32px; border-radius: 4px; - background: #dbf6e2; - color: #26BD4B; + background: #f1f3f5; + color: #919399; } .accordColor { diff --git a/jero-web/src/views/projectManagement/components/deliverableStatusEchart.vue b/jero-web/src/views/projectManagement/components/deliverableStatusEchart.vue index 03fdd8c9e..6df3ce6a4 100644 --- a/jero-web/src/views/projectManagement/components/deliverableStatusEchart.vue +++ b/jero-web/src/views/projectManagement/components/deliverableStatusEchart.vue @@ -54,7 +54,7 @@ getData() { getAction(this.url.getProjectDetailsStatistics, { id: this.$route.query.id }).then((res) => { if (res.success) { - if (res.result){ + if (res.result) { let listingToConfirmMap = res.result.listingToConfirmMap ? res.result.listingToConfirmMap.listingToConfirmMapList : [] let taskToConfirmMap = res.result.taskToConfirmMap ? res.result.taskToConfirmMap.taskToConfirmMapList : [] @@ -82,28 +82,28 @@ name: this.$t('notLaunch'), status: res.inventoryAffirmStatus || res.taskAffirmStatus }) - color.push('#00BEBE') + color.push('#707486') } else if (res.inventoryAffirmStatus == 'List to confirm' || res.taskAffirmStatus == 'List to confirm') { data.push({ value: res.inventoryAffirmStatusCount || res.taskAffirmStatusCount, name: this.$t('toBeConfirmed'), status: res.inventoryAffirmStatus || res.taskAffirmStatus }) - color.push('#FDB033') + color.push('#00B3BE') } else if (res.inventoryAffirmStatus == 'Accepted' || res.taskAffirmStatus == 'Accepted') { data.push({ value: res.inventoryAffirmStatusCount || res.taskAffirmStatusCount, name: this.$t('accept'), status: res.inventoryAffirmStatus || res.taskAffirmStatus }) - color.push('#2F8DF3') + color.push('#26BD4B') } else if (res.inventoryAffirmStatus == 'Rejected' || res.taskAffirmStatus == 'Rejected') { data.push({ value: res.inventoryAffirmStatusCount || res.taskAffirmStatusCount, name: this.$t('refuse'), status: res.inventoryAffirmStatus || res.taskAffirmStatus }) - color.push('#9DB9D4') + color.push('#E83030') } }) }