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<>();
|
||||
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());
|
||||
|
||||
msgMapList.add(msgMap);
|
||||
}
|
||||
} 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.REGULATI_AND_HOMOLOGATION_ENGINEER.getValue().equals(roleCode))) {
|
||||
msgMap.put("serialNumber", projectLawsInventoryEO.getSerialNumber());
|
||||
|
||||
msgMapList.add(msgMap);
|
||||
}
|
||||
}
|
||||
|
||||
msgMapList.add(msgMap);
|
||||
}
|
||||
|
||||
return getMsg(msgMapList, cut, operation);
|
||||
|
||||
+1
-1
@@ -217,7 +217,7 @@
|
||||
},
|
||||
{
|
||||
title: this.$t('feedbackTime'),
|
||||
dataIndex: 'createTime',
|
||||
dataIndex: 'updateTime',
|
||||
align: 'center',
|
||||
ellipsis: true,
|
||||
width: 160
|
||||
|
||||
@@ -553,7 +553,7 @@
|
||||
}
|
||||
postAction('/project/projectTaskInventoryEO/verifyRoleCode', query).then((res) => {
|
||||
if (res.success) {
|
||||
if(res.result == []){
|
||||
if(res.result.length == 0){
|
||||
this.$refs.batchModelRef.getData(this.selectedRowKeys)
|
||||
}else{
|
||||
this.NotSelectedNoEngineerValue = res.result
|
||||
@@ -587,7 +587,7 @@
|
||||
}
|
||||
postAction('/project/projectTaskInventoryEO/verifyRoleCode', query).then((res) => {
|
||||
if (res.success) {
|
||||
if(res.result == []){
|
||||
if(res.result.length == 0){
|
||||
this.$refs.batchChangeModelRef.getData(this.selectionRowsArray)
|
||||
}else{
|
||||
this.NotSelectedNoEngineerValue = res.result
|
||||
|
||||
Reference in New Issue
Block a user