Merge remote-tracking branch 'origin/dev_third_stage' into dev_third_stage
This commit is contained in:
+5
-5
@@ -495,20 +495,20 @@ public class ProjectTaskInventoryEOServiceImpl extends ServiceImpl<ProjectTaskIn
|
|||||||
|
|
||||||
Map<String, String> msgMap = new HashMap<>();
|
Map<String, String> msgMap = new HashMap<>();
|
||||||
if ("1".equals(operation)) {
|
if ("1".equals(operation)) {
|
||||||
if (! ProjectRoleEnum.HOMOLOGATION_ENGINEER.getValue().equals(roleCode)) {
|
if (! (ProjectRoleEnum.HOMOLOGATION_ENGINEER.getValue().equals(roleCode)
|
||||||
|
|| ProjectRoleEnum.REGULATI_AND_HOMOLOGATION_ENGINEER.getValue().equals(roleCode))) {
|
||||||
msgMap.put("serialNumber", projectLawsInventoryEO.getSerialNumber());
|
msgMap.put("serialNumber", projectLawsInventoryEO.getSerialNumber());
|
||||||
|
msgMapList.add(msgMap);
|
||||||
}
|
}
|
||||||
} else if ("2".equals(operation)) {
|
} else if ("2".equals(operation)) {
|
||||||
if (!(ProjectRoleEnum.HOMOLOGATION_ENGINEER.getValue().equals(roleCode)
|
if (!(ProjectRoleEnum.REGULATI_ENGINEER.getValue().equals(roleCode)
|
||||||
|| ProjectRoleEnum.HOMOLOGATION_ENGINEER.getValue().equals(roleCode)
|
|| ProjectRoleEnum.HOMOLOGATION_ENGINEER.getValue().equals(roleCode)
|
||||||
|| ProjectRoleEnum.REGULATI_AND_HOMOLOGATION_ENGINEER.getValue().equals(roleCode))) {
|
|| ProjectRoleEnum.REGULATI_AND_HOMOLOGATION_ENGINEER.getValue().equals(roleCode))) {
|
||||||
msgMap.put("serialNumber", projectLawsInventoryEO.getSerialNumber());
|
msgMap.put("serialNumber", projectLawsInventoryEO.getSerialNumber());
|
||||||
|
msgMapList.add(msgMap);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
msgMapList.add(msgMap);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return getMsg(msgMapList, cut, operation);
|
return getMsg(msgMapList, cut, operation);
|
||||||
|
|||||||
+1
-1
@@ -217,7 +217,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('feedbackTime'),
|
title: this.$t('feedbackTime'),
|
||||||
dataIndex: 'createTime',
|
dataIndex: 'updateTime',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
width: 160
|
width: 160
|
||||||
|
|||||||
@@ -553,7 +553,7 @@
|
|||||||
}
|
}
|
||||||
postAction('/project/projectTaskInventoryEO/verifyRoleCode', query).then((res) => {
|
postAction('/project/projectTaskInventoryEO/verifyRoleCode', query).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
if(res.result == []){
|
if(res.result.length == 0){
|
||||||
this.$refs.batchModelRef.getData(this.selectedRowKeys)
|
this.$refs.batchModelRef.getData(this.selectedRowKeys)
|
||||||
}else{
|
}else{
|
||||||
this.NotSelectedNoEngineerValue = res.result
|
this.NotSelectedNoEngineerValue = res.result
|
||||||
@@ -587,7 +587,7 @@
|
|||||||
}
|
}
|
||||||
postAction('/project/projectTaskInventoryEO/verifyRoleCode', query).then((res) => {
|
postAction('/project/projectTaskInventoryEO/verifyRoleCode', query).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
if(res.result == []){
|
if(res.result.length == 0){
|
||||||
this.$refs.batchChangeModelRef.getData(this.selectionRowsArray)
|
this.$refs.batchChangeModelRef.getData(this.selectionRowsArray)
|
||||||
}else{
|
}else{
|
||||||
this.NotSelectedNoEngineerValue = res.result
|
this.NotSelectedNoEngineerValue = res.result
|
||||||
|
|||||||
Reference in New Issue
Block a user