Merge remote-tracking branch 'origin/dev_2nd_LCYH' into dev_2nd_LCYH
This commit is contained in:
+7
@@ -142,4 +142,11 @@ public class AuthDummyInventoryInfoEO implements Serializable {
|
|||||||
@TableField(exist = false)
|
@TableField(exist = false)
|
||||||
@Excel(name = "交付物模板", width = 20)
|
@Excel(name = "交付物模板", width = 20)
|
||||||
private String deliverableTemplateName;
|
private String deliverableTemplateName;
|
||||||
|
|
||||||
|
@TableField(exist = false)
|
||||||
|
private String orderByField;
|
||||||
|
|
||||||
|
// 1顺序 2倒序
|
||||||
|
@TableField(exist = false)
|
||||||
|
private String orderBy;
|
||||||
}
|
}
|
||||||
|
|||||||
+36
-1
@@ -587,11 +587,43 @@ public class AuthDummyInventoryInfoEOServiceImpl extends ServiceImpl<AuthDummyIn
|
|||||||
@Override
|
@Override
|
||||||
public List<AuthDummyInventoryInfoEO> queryList(AuthDummyInventoryInfoEO authDummyInventoryInfoEO,HttpServletRequest req) {
|
public List<AuthDummyInventoryInfoEO> queryList(AuthDummyInventoryInfoEO authDummyInventoryInfoEO,HttpServletRequest req) {
|
||||||
QueryWrapper<AuthDummyInventoryInfoEO> queryWrapper = QueryGenerator.initQueryWrapper(authDummyInventoryInfoEO, req.getParameterMap());
|
QueryWrapper<AuthDummyInventoryInfoEO> queryWrapper = QueryGenerator.initQueryWrapper(authDummyInventoryInfoEO, req.getParameterMap());
|
||||||
queryWrapper.orderByDesc("create_time");
|
|
||||||
|
String orderByField = authDummyInventoryInfoEO.getOrderByField();
|
||||||
|
String orderBy = authDummyInventoryInfoEO.getOrderBy();
|
||||||
|
// 如果排序字段不为空
|
||||||
|
if(org.apache.commons.lang.StringUtils.isNotEmpty(orderByField)){
|
||||||
|
// if (StringUtils.equals(orderBy,"2")) {
|
||||||
|
// orderBy = " DESC";
|
||||||
|
// }else {
|
||||||
|
// orderBy = " ASC";
|
||||||
|
// }
|
||||||
|
// 转换字段
|
||||||
|
orderByField = convertOrderByField(orderByField);
|
||||||
|
queryWrapper.orderBy(true, "1".equals(orderBy)?true:false, orderByField);
|
||||||
|
}else {
|
||||||
|
queryWrapper.orderByDesc("create_time");
|
||||||
|
}
|
||||||
|
|
||||||
List<AuthDummyInventoryInfoEO> authDummyInventoryInfoEOList = this.list(queryWrapper);
|
List<AuthDummyInventoryInfoEO> authDummyInventoryInfoEOList = this.list(queryWrapper);
|
||||||
return authDummyInventoryInfoEOList;
|
return authDummyInventoryInfoEOList;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private String convertOrderByField(String orderByField) {
|
||||||
|
if(StringUtils.isEmpty(orderByField)){
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
switch (orderByField) {
|
||||||
|
case "category" : return "category";
|
||||||
|
case "inspectionItem" : return"inspection_item";
|
||||||
|
case "configItem" : return"config_item";
|
||||||
|
case "wvtaId" : return"wvta_id";
|
||||||
|
case "serialNumber" : return "serial_number";
|
||||||
|
case "dutyTerritory" : return "duty_territory";
|
||||||
|
case "deliverableType" : return "deliverable_type";
|
||||||
|
default: return null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Result<?> copyInfoByIds(String ids, String cut) {
|
public Result<?> copyInfoByIds(String ids, String cut) {
|
||||||
String resultMsg = "";
|
String resultMsg = "";
|
||||||
@@ -885,6 +917,9 @@ public class AuthDummyInventoryInfoEOServiceImpl extends ServiceImpl<AuthDummyIn
|
|||||||
oSSFileList.addAll(deliverableTemplateFileList);
|
oSSFileList.addAll(deliverableTemplateFileList);
|
||||||
}
|
}
|
||||||
if(oSSFileList.size() != 0){
|
if(oSSFileList.size() != 0){
|
||||||
|
if(serialNumber.contains("/")){
|
||||||
|
serialNumber = serialNumber.replaceAll("/","-");
|
||||||
|
}
|
||||||
String fileNowPath = path + "/" + serialNumber;
|
String fileNowPath = path + "/" + serialNumber;
|
||||||
File file = new File(fileNowPath);
|
File file = new File(fileNowPath);
|
||||||
if (file.exists()) {
|
if (file.exists()) {
|
||||||
|
|||||||
+3
@@ -1765,6 +1765,9 @@ public class BussDocumentLibraryEOServiceImpl extends ServiceImpl<BussDocumentLi
|
|||||||
if(key.equals("replace_standard_id")){
|
if(key.equals("replace_standard_id")){
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
if(key.equals("corresponding_standard_id")){
|
||||||
|
continue;
|
||||||
|
}
|
||||||
//es全文新增数据(数据转换)
|
//es全文新增数据(数据转换)
|
||||||
// esFullText(cut, fieldList, categoryList, dictItemList, mapList, sbCn,sbEn, entry);
|
// esFullText(cut, fieldList, categoryList, dictItemList, mapList, sbCn,sbEn, entry);
|
||||||
|
|
||||||
|
|||||||
+5
-5
@@ -1181,13 +1181,13 @@ public class DummyInventoryInfoEOServiceImpl extends ServiceImpl<DummyInventoryI
|
|||||||
public void exportTemplate(DummyInventoryInfoEO dummyInventoryInfoEO, HttpServletResponse response, HttpServletRequest request) {
|
public void exportTemplate(DummyInventoryInfoEO dummyInventoryInfoEO, HttpServletResponse response, HttpServletRequest request) {
|
||||||
OutputStream os = null;
|
OutputStream os = null;
|
||||||
HSSFWorkbook workbook = new HSSFWorkbook();
|
HSSFWorkbook workbook = new HSSFWorkbook();
|
||||||
String fileOriName = "虚拟清单导入模板.xls";
|
String fileOriName = "市场法规清单导入模板.xls";
|
||||||
|
|
||||||
String sheetName = "";
|
String sheetName = "";
|
||||||
if(StringUtils.equals(dummyInventoryInfoEO.getCut(),CutEnum.CN.getValue())){
|
if(StringUtils.equals(dummyInventoryInfoEO.getCut(),CutEnum.CN.getValue())){
|
||||||
sheetName = "虚拟清单导入模板";
|
sheetName = "市场法规清单导入模板";
|
||||||
}else {
|
}else {
|
||||||
sheetName = "Virtual Inventory Import Template";
|
sheetName = "Market Regulation List Import Template";
|
||||||
}
|
}
|
||||||
|
|
||||||
String filePath = uploadpath + File.separator + fileOriName;
|
String filePath = uploadpath + File.separator + fileOriName;
|
||||||
@@ -2430,9 +2430,9 @@ public class DummyInventoryInfoEOServiceImpl extends ServiceImpl<DummyInventoryI
|
|||||||
exportFile(dataList,fileInfos);
|
exportFile(dataList,fileInfos);
|
||||||
String excelName = "";
|
String excelName = "";
|
||||||
if(CutEnum.CN.getValue().equals(dummyInventoryInfoEO.getCut())){
|
if(CutEnum.CN.getValue().equals(dummyInventoryInfoEO.getCut())){
|
||||||
excelName = baseList.get(0).getName() + " 虚拟清单.xlsx";
|
excelName = baseList.get(0).getName() + ".xlsx";
|
||||||
}else{
|
}else{
|
||||||
excelName = baseList.get(0).getName() + " Virtual list.xlsx";
|
excelName = baseList.get(0).getName() + ".xlsx";
|
||||||
}
|
}
|
||||||
//excel
|
//excel
|
||||||
String excelNameRep = excelName.replace('/', '、');
|
String excelNameRep = excelName.replace('/', '、');
|
||||||
|
|||||||
+13
@@ -247,4 +247,17 @@ public class ProjectRelatedPersonnelController extends JeroController<ProjectRel
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 通过projectId查询法规工程师
|
||||||
|
*
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
@AutoLog(value = "项目库-相关人员维护表-根据projectId查询法规工程师")
|
||||||
|
@ApiOperation(value="项目库-相关人员维护表-根据projectId查询法规工程师", notes="项目库-相关人员维护表-根据projectId查询法规工程师")
|
||||||
|
@GetMapping(value = "/queryLawEngineerByProjectId")
|
||||||
|
public Result<?> queryLawEngineerByProjectId(@RequestParam Map<String,Object> params){
|
||||||
|
List<Map<String,Object>> regulatoryEngineerMapList = projectRelatedPersonnelService.queryLawEngineerByProjectId(params);
|
||||||
|
return Result.OK(regulatoryEngineerMapList);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+13
-1
@@ -45,7 +45,19 @@
|
|||||||
prp.project_id=#{projectId}
|
prp.project_id=#{projectId}
|
||||||
</if>
|
</if>
|
||||||
<if test="dutyTerritory != null and dutyTerritory != ''">
|
<if test="dutyTerritory != null and dutyTerritory != ''">
|
||||||
AND prp.duty_territory=#{dutyTerritory}
|
AND (
|
||||||
|
prp.duty_territory=#{dutyTerritory}
|
||||||
|
or prp.duty_territory in
|
||||||
|
<foreach collection="dutyTerritory.split(',')" index="index" item="item" open="(" separator="," close=")">
|
||||||
|
#{item}
|
||||||
|
</foreach>
|
||||||
|
<!--<foreach collection="dutyTerritory.split(',')" index="index" item="item" open="(" separator=" " close=")">
|
||||||
|
<if test="index > 0">
|
||||||
|
or
|
||||||
|
</if>
|
||||||
|
prp.duty_territory like concat('%',#{item},'%')
|
||||||
|
</foreach>-->
|
||||||
|
)
|
||||||
</if>
|
</if>
|
||||||
<if test="lawEngineer != null and lawEngineer != ''">
|
<if test="lawEngineer != null and lawEngineer != ''">
|
||||||
AND prp.law_engineer like concat(concat('%',#{lawEngineer}),'%')
|
AND prp.law_engineer like concat(concat('%',#{lawEngineer}),'%')
|
||||||
|
|||||||
+7
@@ -94,4 +94,11 @@ public interface IProjectRelatedPersonnelService extends IService<ProjectRelated
|
|||||||
List<ProjectRelatedPersonnel> queryCertificationEngineer(String projectId);
|
List<ProjectRelatedPersonnel> queryCertificationEngineer(String projectId);
|
||||||
|
|
||||||
void setBatch(ProjectRelatedPersonnel projectRelatedPersonnel);
|
void setBatch(ProjectRelatedPersonnel projectRelatedPersonnel);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 根据项目库id,查询相关人员名单中的法规工程师
|
||||||
|
* @param params
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
List<Map<String, Object>> queryLawEngineerByProjectId(Map<String, Object> params);
|
||||||
}
|
}
|
||||||
|
|||||||
+34
-4
@@ -248,6 +248,25 @@ public class ProjectCertificationInventoryEOServiceImpl extends ServiceImpl<Proj
|
|||||||
userIdList,
|
userIdList,
|
||||||
userInfoList
|
userInfoList
|
||||||
);
|
);
|
||||||
|
|
||||||
|
// 如果责任人有变更,将之前责任人的待办中心任务,移交给新的责任人。
|
||||||
|
QueryWrapper<ProcessInfoDetailEO> detailQueryWrap = new QueryWrapper<>();
|
||||||
|
List<String> idList = Arrays.asList(projectCertificationInventoryEO.getId().split(","));
|
||||||
|
detailQueryWrap.lambda().in(ProcessInfoDetailEO::getProjectLawsInventoryId,idList);
|
||||||
|
detailQueryWrap.lambda().eq(ProcessInfoDetailEO::getFlowType,FlowTypeEnum.CERTIFICATION_LC.getValue());
|
||||||
|
detailQueryWrap.lambda().eq(ProcessInfoDetailEO::getStatus,TaskStatusEnum.NOT_DONE.getValue());
|
||||||
|
List<String> taskDefinitionKeyList = new ArrayList<>();
|
||||||
|
taskDefinitionKeyList.add(CertificationFlowNodeEnum.ZRRJSRW.getKey());
|
||||||
|
taskDefinitionKeyList.add(CertificationFlowNodeEnum.ZRRTJRW.getKey());
|
||||||
|
detailQueryWrap.lambda().in(ProcessInfoDetailEO::getTaskDefinitionKey,taskDefinitionKeyList);
|
||||||
|
|
||||||
|
List<ProcessInfoDetailEO> processInfoDetailEOList = this.processInfoDetailEOService.list(detailQueryWrap);
|
||||||
|
if(CollectionUtils.isNotEmpty(processInfoDetailEOList)){
|
||||||
|
processInfoDetailEOList.forEach(detail -> {
|
||||||
|
detail.setUserId(projectCertificationInventoryEO.getDutyPerson());
|
||||||
|
});
|
||||||
|
this.processInfoDetailEOService.updateBatchById(processInfoDetailEOList);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -348,13 +367,16 @@ public class ProjectCertificationInventoryEOServiceImpl extends ServiceImpl<Proj
|
|||||||
// studionList = studionList.stream().distinct().collect(Collectors.toList());
|
// studionList = studionList.stream().distinct().collect(Collectors.toList());
|
||||||
// certificationEngineerList = certificationEngineerList.stream().distinct().collect(Collectors.toList());
|
// certificationEngineerList = certificationEngineerList.stream().distinct().collect(Collectors.toList());
|
||||||
|
|
||||||
allList = allList.stream().distinct().collect(Collectors.toList());
|
allList = allList.stream().filter(all -> {
|
||||||
|
return StringUtils.isNotBlank(all);
|
||||||
|
}).distinct().collect(Collectors.toList());
|
||||||
|
/**
|
||||||
for(String all : allList){
|
for(String all : allList){
|
||||||
if(all.equals("")){
|
if(all.equals("")){
|
||||||
allList.remove(all);
|
allList.remove(all);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
//遍历所有人alllist中是否包含责任人,如果包含,不用操作。
|
//遍历所有人alllist中是否包含责任人,如果包含,不用操作。
|
||||||
//-------如果不包含,再去判断当前用户的角色是studio、法规还是认证
|
//-------如果不包含,再去判断当前用户的角色是studio、法规还是认证
|
||||||
for(ProjectRelatedPersonnel relatedPersonnel : projectRelatedPersonnelList){
|
for(ProjectRelatedPersonnel relatedPersonnel : projectRelatedPersonnelList){
|
||||||
@@ -497,6 +519,7 @@ public class ProjectCertificationInventoryEOServiceImpl extends ServiceImpl<Proj
|
|||||||
projectCertificationInventoryEO.setBussDocumentLibraryId(bussDocumentLibraryId);
|
projectCertificationInventoryEO.setBussDocumentLibraryId(bussDocumentLibraryId);
|
||||||
projectCertificationInventoryEO.setProjectLibraryId(projectLibraryId);
|
projectCertificationInventoryEO.setProjectLibraryId(projectLibraryId);
|
||||||
projectCertificationInventoryEO.setFlowStatus(CertificationInventoryFlowStatusEnum.LIST_TO_BE_RELEASED.getValue());
|
projectCertificationInventoryEO.setFlowStatus(CertificationInventoryFlowStatusEnum.LIST_TO_BE_RELEASED.getValue());
|
||||||
|
projectCertificationInventoryEO.setCertificationProgress(CertificationProgressEnum.NOT_START.getValue());
|
||||||
projectCertificationInventoryEOList.add(projectCertificationInventoryEO);
|
projectCertificationInventoryEOList.add(projectCertificationInventoryEO);
|
||||||
}
|
}
|
||||||
// 处理提示信息, 类别+检验项目+配置项+编号+责任领域 作为唯一检验
|
// 处理提示信息, 类别+检验项目+配置项+编号+责任领域 作为唯一检验
|
||||||
@@ -1354,7 +1377,7 @@ public class ProjectCertificationInventoryEOServiceImpl extends ServiceImpl<Proj
|
|||||||
queryWrapper.lambda().eq(ProjectCertificationInventoryEO::getSdt,currentUser.getId());
|
queryWrapper.lambda().eq(ProjectCertificationInventoryEO::getSdt,currentUser.getId());
|
||||||
break;
|
break;
|
||||||
case PERSON_LIABLE:
|
case PERSON_LIABLE:
|
||||||
List<String> flowStatusList = new ArrayList<>();
|
/*List<String> flowStatusList = new ArrayList<>();
|
||||||
flowStatusList.add(CertificationInventoryFlowStatusEnum.TASK_TO_BE_CONFIRMED.getValue());
|
flowStatusList.add(CertificationInventoryFlowStatusEnum.TASK_TO_BE_CONFIRMED.getValue());
|
||||||
flowStatusList.add(CertificationInventoryFlowStatusEnum.RESULTS_TO_BE_SUBMITTED.getValue());
|
flowStatusList.add(CertificationInventoryFlowStatusEnum.RESULTS_TO_BE_SUBMITTED.getValue());
|
||||||
flowStatusList.add(CertificationInventoryFlowStatusEnum.REVIEW_AND_RETURN.getValue());
|
flowStatusList.add(CertificationInventoryFlowStatusEnum.REVIEW_AND_RETURN.getValue());
|
||||||
@@ -1367,7 +1390,9 @@ public class ProjectCertificationInventoryEOServiceImpl extends ServiceImpl<Proj
|
|||||||
query.eq(ProjectCertificationInventoryEO::getSdt,currentUser.getId());
|
query.eq(ProjectCertificationInventoryEO::getSdt,currentUser.getId());
|
||||||
query.eq(ProjectCertificationInventoryEO::getFlowStatus,CertificationInventoryFlowStatusEnum.REVIEW_AND_PASS.getValue());
|
query.eq(ProjectCertificationInventoryEO::getFlowStatus,CertificationInventoryFlowStatusEnum.REVIEW_AND_PASS.getValue());
|
||||||
});
|
});
|
||||||
});
|
});*/
|
||||||
|
// 修改UAT问题清单 82条
|
||||||
|
queryWrapper.lambda().eq(ProjectCertificationInventoryEO::getDutyPerson,currentUser.getId());
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
throw new JeroBootException("当前用户角色有误,请重新选择后角色进行操作!");
|
throw new JeroBootException("当前用户角色有误,请重新选择后角色进行操作!");
|
||||||
@@ -2895,6 +2920,7 @@ public class ProjectCertificationInventoryEOServiceImpl extends ServiceImpl<Proj
|
|||||||
projectCertificationInventoryEOTemp.setFlowStatus(CertificationInventoryFlowStatusEnum.LIST_TO_BE_RELEASED.getValue());
|
projectCertificationInventoryEOTemp.setFlowStatus(CertificationInventoryFlowStatusEnum.LIST_TO_BE_RELEASED.getValue());
|
||||||
projectCertificationInventoryEOTemp.setCreateTime(new Date());
|
projectCertificationInventoryEOTemp.setCreateTime(new Date());
|
||||||
projectCertificationInventoryEOTemp.setUpdateTime(new Date());
|
projectCertificationInventoryEOTemp.setUpdateTime(new Date());
|
||||||
|
projectCertificationInventoryEOTemp.setCertificationProgress(CertificationProgressEnum.NOT_START.getValue());
|
||||||
projectCertificationInventoryEOList.add(projectCertificationInventoryEOTemp);
|
projectCertificationInventoryEOList.add(projectCertificationInventoryEOTemp);
|
||||||
}else {
|
}else {
|
||||||
noSerialNumberList.add(authDummyInventoryInfoEO.getSerialNumber());
|
noSerialNumberList.add(authDummyInventoryInfoEO.getSerialNumber());
|
||||||
@@ -3114,6 +3140,7 @@ public class ProjectCertificationInventoryEOServiceImpl extends ServiceImpl<Proj
|
|||||||
projectCertificationInventoryEOTemp.setCut(projectCertificationInventoryEO.getCut());
|
projectCertificationInventoryEOTemp.setCut(projectCertificationInventoryEO.getCut());
|
||||||
projectCertificationInventoryEOTemp.setProjectLibraryId(projectCertificationInventoryEO.getProjectLibraryId());
|
projectCertificationInventoryEOTemp.setProjectLibraryId(projectCertificationInventoryEO.getProjectLibraryId());
|
||||||
projectCertificationInventoryEOTemp.setFlowStatus(CertificationInventoryFlowStatusEnum.LIST_TO_BE_RELEASED.getValue());
|
projectCertificationInventoryEOTemp.setFlowStatus(CertificationInventoryFlowStatusEnum.LIST_TO_BE_RELEASED.getValue());
|
||||||
|
projectCertificationInventoryEOTemp.setCertificationProgress(CertificationProgressEnum.NOT_START.getValue());
|
||||||
datas.add(projectCertificationInventoryEOTemp);
|
datas.add(projectCertificationInventoryEOTemp);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -3991,6 +4018,9 @@ public class ProjectCertificationInventoryEOServiceImpl extends ServiceImpl<Proj
|
|||||||
|
|
||||||
}
|
}
|
||||||
if(oSSFileList.size() != 0){
|
if(oSSFileList.size() != 0){
|
||||||
|
if(serialNumber.contains("/")){
|
||||||
|
serialNumber = serialNumber.replaceAll("/","-");
|
||||||
|
}
|
||||||
String fileNowPath = uploadpath + "/tempZip/" + serialNumber;
|
String fileNowPath = uploadpath + "/tempZip/" + serialNumber;
|
||||||
File file = new File(fileNowPath);
|
File file = new File(fileNowPath);
|
||||||
if (file.exists()) {
|
if (file.exists()) {
|
||||||
|
|||||||
+7
-4
@@ -8366,6 +8366,9 @@ public class ProjectLawsInventoryEOServiceImpl extends ServiceImpl<ProjectLawsIn
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(oSSFileList.size() != 0){
|
if(oSSFileList.size() != 0){
|
||||||
|
if(serialNumber.contains("/")){
|
||||||
|
serialNumber = serialNumber.replaceAll("/","-");
|
||||||
|
}
|
||||||
String fileNowPath = uploadpath + "/tempZip/" + serialNumber;
|
String fileNowPath = uploadpath + "/tempZip/" + serialNumber;
|
||||||
File file = new File(fileNowPath);
|
File file = new File(fileNowPath);
|
||||||
if (file.exists()) {
|
if (file.exists()) {
|
||||||
@@ -10251,10 +10254,10 @@ public class ProjectLawsInventoryEOServiceImpl extends ServiceImpl<ProjectLawsIn
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.lawsInventoryEOListSortByVerifyDueDate(lawsInventoryEOList);
|
this.lawsInventoryEOListSortByVerifyDueDate(lawsInventoryEOList);
|
||||||
Date designDueDate = lawsInventoryEOList.get(0).getDesignDueDate();
|
Date verifyDueDate = lawsInventoryEOList.get(0).getVerifyDueDate();
|
||||||
String endTime = "";
|
String endTime = "";
|
||||||
if(designDueDate != null){
|
if(verifyDueDate != null){
|
||||||
endTime = DateUtils.formatDate(designDueDate);
|
endTime = DateUtils.formatDate(verifyDueDate);
|
||||||
}
|
}
|
||||||
String serialNumbers = lawsInventoryEOList.stream().map(ProjectLawsInventoryEO::getSerialNumber).distinct().collect(Collectors.joining(","));
|
String serialNumbers = lawsInventoryEOList.stream().map(ProjectLawsInventoryEO::getSerialNumber).distinct().collect(Collectors.joining(","));
|
||||||
|
|
||||||
@@ -10367,7 +10370,7 @@ public class ProjectLawsInventoryEOServiceImpl extends ServiceImpl<ProjectLawsIn
|
|||||||
}
|
}
|
||||||
this.lawsInventoryEOListSortByVerifyDueDate(lawsInventoryEOList);
|
this.lawsInventoryEOListSortByVerifyDueDate(lawsInventoryEOList);
|
||||||
|
|
||||||
Date designDueDate = lawsInventoryEOList.get(0).getVerifyDueDate();
|
Date designDueDate = lawsInventoryEOList.get(0).getDesignDueDate();
|
||||||
String endTime = "";
|
String endTime = "";
|
||||||
if(designDueDate != null){
|
if(designDueDate != null){
|
||||||
endTime = DateUtils.formatDate(designDueDate);
|
endTime = DateUtils.formatDate(designDueDate);
|
||||||
|
|||||||
+22
@@ -1803,4 +1803,26 @@ public class ProjectRelatedPersonnelServiceImpl extends ServiceImpl<ProjectRelat
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public List<Map<String, Object>> queryLawEngineerByProjectId(Map<String, Object> params) {
|
||||||
|
List<Map<String, Object>> resultList = new ArrayList<>();
|
||||||
|
String projectLibraryId = (String) params.get("projectLibraryId");
|
||||||
|
QueryWrapper<ProjectRelatedPersonnel> queryWrapper = new QueryWrapper<>();
|
||||||
|
List<ProjectRelatedPersonnel> prpEoList = this.list(queryWrapper.eq("project_id", projectLibraryId));
|
||||||
|
if(CollectionUtils.isNotEmpty(prpEoList)){
|
||||||
|
String lawEngineerIds = prpEoList.stream().filter(e->StringUtils.isNotEmpty(e.getLawEngineer()))
|
||||||
|
.map(ProjectRelatedPersonnel::getLawEngineer).collect(Collectors.joining(","));
|
||||||
|
List<SysUser> lawEngineerList = this.sysUserService.querySysUserListByIdList(Arrays.asList(lawEngineerIds.split(",")));
|
||||||
|
if(CollectionUtils.isNotEmpty(lawEngineerList)){
|
||||||
|
for (SysUser lawEngineer : lawEngineerList) {
|
||||||
|
Map<String,Object> certificationEngineerMap = new HashMap<>();
|
||||||
|
certificationEngineerMap.put("id",lawEngineer.getId());
|
||||||
|
certificationEngineerMap.put("userName",lawEngineer.getUsername());
|
||||||
|
resultList.add(certificationEngineerMap);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return resultList;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
+3
-3
@@ -10,9 +10,9 @@ public enum DesignComplianceFlowNodeKeyEnum {
|
|||||||
FQLC("发起流程","Initiate the process","fqlc"),
|
FQLC("发起流程","Initiate the process","fqlc"),
|
||||||
ZRRQR("任务责任确认","Confirmation of mission responsibility","zrrqr"), // 责任人确认
|
ZRRQR("任务责任确认","Confirmation of mission responsibility","zrrqr"), // 责任人确认
|
||||||
DEZRRQR("任务责任确认","Confirmation of mission responsibility","dezrrqr"),// 第二责任人确认
|
DEZRRQR("任务责任确认","Confirmation of mission responsibility","dezrrqr"),// 第二责任人确认
|
||||||
ZRRTJJFW("设计符合性确认","Design compliance confirmation","zrrtjjfw"),// "责任人提交交付物"
|
ZRRTJJFW("符合性确认","Compliance confirmation","zrrtjjfw"),// "责任人提交交付物"
|
||||||
DEZRRTJJFW("设计符合性确认","Design compliance confirmation","dezrrtjjfw"),// 第二责任人提交交付物
|
DEZRRTJJFW("符合性确认","Compliance confirmation","dezrrtjjfw"),// 第二责任人提交交付物
|
||||||
FGGCSSH("设计符合性审查","Design compliance review","fggcssh"), // 法规工程师审核
|
FGGCSSH("符合性审查","Compliance review","fggcssh"), // 法规工程师审核
|
||||||
;
|
;
|
||||||
|
|
||||||
String cnName;
|
String cnName;
|
||||||
|
|||||||
+3
-3
@@ -10,9 +10,9 @@ public enum VerifyComplianceFlowNodeKeyEnum {
|
|||||||
FQLC("发起流程","Initiate the process","fqlc"),
|
FQLC("发起流程","Initiate the process","fqlc"),
|
||||||
ZRRQR("任务责任确认","Confirmation of mission responsibility","zrrqr"), // 责任人确认
|
ZRRQR("任务责任确认","Confirmation of mission responsibility","zrrqr"), // 责任人确认
|
||||||
DEZRRQR("任务责任确认","Confirmation of mission responsibility","dezrrqr"),// 第二责任人确认
|
DEZRRQR("任务责任确认","Confirmation of mission responsibility","dezrrqr"),// 第二责任人确认
|
||||||
ZRRTJJFW("验证符合性确认","Verify compliance confirmation","zrrtjjfw"),// "责任人提交交付物"
|
ZRRTJJFW("符合性确认","Compliance confirmation","zrrtjjfw"),// "责任人提交交付物"
|
||||||
DEZRRTJJFW("验证符合性确认","Verify compliance confirmation","dezrrtjjfw"),// 第二责任人提交交付物
|
DEZRRTJJFW("符合性确认","Compliance confirmation","dezrrtjjfw"),// 第二责任人提交交付物
|
||||||
FGGCSSH("验证符合性审查","Verify compliance review","fggcssh"), // 法规工程师审核
|
FGGCSSH("符合性审查","Compliance review","fggcssh"), // 法规工程师审核
|
||||||
;
|
;
|
||||||
|
|
||||||
String cnName;
|
String cnName;
|
||||||
|
|||||||
+2
-2
@@ -10,9 +10,9 @@ import org.apache.commons.lang3.StringUtils;
|
|||||||
public enum FlowTypeEnum {
|
public enum FlowTypeEnum {
|
||||||
|
|
||||||
RWQRLC("1","任务确认流程","RWQRLC","任务确认流程","rwqrlc","清单任务确认","List task Confirmation"),
|
RWQRLC("1","任务确认流程","RWQRLC","任务确认流程","rwqrlc","清单任务确认","List task Confirmation"),
|
||||||
SJFHXSHLC("2","设计符合性审查流程","SJFHXSHLC","设计符合性审查流程","sjfhxlc","设计符合性确认","Design conformance verification"),
|
SJFHXSHLC("2","设计符合性审查流程","SJFHXSHLC","设计符合性审查流程","sjfhxlc","设计符合性流程","Design Compliance Process"),
|
||||||
PREHOMOQRLC("3","prehomo确认流程","PREHOMOQRLC","prehomo确认流程","prehomoqrlc","Pre-Homo确认","The Pre - Homo confirmation"),
|
PREHOMOQRLC("3","prehomo确认流程","PREHOMOQRLC","prehomo确认流程","prehomoqrlc","Pre-Homo确认","The Pre - Homo confirmation"),
|
||||||
YZFHXSCLC("4","验证符合性审查流程","YZFHXSCLC","验证符合性审查流程","yzfhxsclc","验证符合性确认","Verify conformance confirmation"),
|
YZFHXSCLC("4","验证符合性审查流程","YZFHXSCLC","验证符合性审查流程","yzfhxsclc","验证符合性流程","Verify Compliance Process"),
|
||||||
FGYJSJLC("5","法规意见收集流程","FGYJSJLC","法规意见收集流程","fgyjsjlc","法规意见收集","Collection of Legislative Comments"),
|
FGYJSJLC("5","法规意见收集流程","FGYJSJLC","法规意见收集流程","fgyjsjlc","法规意见收集","Collection of Legislative Comments"),
|
||||||
FGJSPG("6","法规技术评估流程","FGJSPG","法规技术评估流程","fgjspglc","法规技术评估","Regulatory and technical assessment"),
|
FGJSPG("6","法规技术评估流程","FGJSPG","法规技术评估流程","fgjspglc","法规技术评估","Regulatory and technical assessment"),
|
||||||
QDQR("10","清单确认","QDQR","清单确认流程","qdqr","法规清单发布","Release of regulatory list"),
|
QDQR("10","清单确认","QDQR","清单确认流程","qdqr","法规清单发布","Release of regulatory list"),
|
||||||
|
|||||||
@@ -1761,4 +1761,9 @@ module.exports = {
|
|||||||
reviewAndReturn:'Review and return',
|
reviewAndReturn:'Review and return',
|
||||||
marketRegulationListDetails:'Market Regulation List Details',
|
marketRegulationListDetails:'Market Regulation List Details',
|
||||||
marketRegulationList:'Market Regulation List',
|
marketRegulationList:'Market Regulation List',
|
||||||
|
onlyDataWithTheCurrentCanBeManipulated:'Only data with the current user as the responsible person can be manipulated',
|
||||||
|
andTheAndTaskPendingConfirmation:'And the process status is Result Pending Submission, Review Returned, and Task Pending Confirmation',
|
||||||
|
andProcessStatusIsTaskPendingConfirmation:'And the process status is Task Pending Confirmation',
|
||||||
|
andPendingSubmissionReviewReturned:'And the process status is result pending submission, review returned',
|
||||||
|
deliverablesFor:'Deliverables for',
|
||||||
}
|
}
|
||||||
@@ -1863,4 +1863,9 @@ module.exports = {
|
|||||||
electroniccontrollerparameter:'电子控制器参数',
|
electroniccontrollerparameter:'电子控制器参数',
|
||||||
marketRegulationListDetails:'市场法规清单详情',
|
marketRegulationListDetails:'市场法规清单详情',
|
||||||
marketRegulationList:'市场法规清单',
|
marketRegulationList:'市场法规清单',
|
||||||
|
onlyDataWithTheCurrentCanBeManipulated:'仅能操作责任人为当前用户的数据',
|
||||||
|
andTheAndTaskPendingConfirmation:'并且流程状态为结果待提交、审查退回、任务待确认',
|
||||||
|
andProcessStatusIsTaskPendingConfirmation:'并且流程状态为任务待确认',
|
||||||
|
andPendingSubmissionReviewReturned:'并且流程状态为结果待提交、审查退回',
|
||||||
|
deliverablesFor:'的交付结果',
|
||||||
}
|
}
|
||||||
@@ -1594,7 +1594,7 @@
|
|||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
color: #6F7385;
|
color: #6F7385;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 100px;
|
width: 130px;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|||||||
@@ -19,6 +19,7 @@
|
|||||||
actUrl: 'http://localhost:17210/bat-wkflow/modeler.html?modelId='//本地
|
actUrl: 'http://localhost:17210/bat-wkflow/modeler.html?modelId='//本地
|
||||||
// actUrl: 'http://10.255.35.25:8082/modeler.html?modelId=' //正式
|
// actUrl: 'http://10.255.35.25:8082/modeler.html?modelId=' //正式
|
||||||
// actUrl: 'http://10.255.128.148:8888/modeler.html?modelId=' //测试
|
// actUrl: 'http://10.255.128.148:8888/modeler.html?modelId=' //测试
|
||||||
|
// actUrl: 'http://39.98.140.126:8085/bat-wkflow/modeler.html?modelId=' //39环境测试
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
|
|||||||
@@ -569,7 +569,7 @@
|
|||||||
type: 'date',
|
type: 'date',
|
||||||
value: 'endTime',
|
value: 'endTime',
|
||||||
text: this.$t('closingDate')
|
text: this.$t('closingDate')
|
||||||
},
|
}
|
||||||
],
|
],
|
||||||
disabled: false,
|
disabled: false,
|
||||||
queryParamQuery: {},
|
queryParamQuery: {},
|
||||||
@@ -626,7 +626,7 @@
|
|||||||
width: 180,
|
width: 180,
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
fixed: 'left',
|
fixed: 'left',
|
||||||
sorter: true,
|
sorter: true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('inspectionItems'),
|
title: this.$t('inspectionItems'),
|
||||||
@@ -766,7 +766,7 @@
|
|||||||
toDoIds: [],
|
toDoIds: [],
|
||||||
toDoNotConditions: [],
|
toDoNotConditions: [],
|
||||||
userInfoQuery: {},
|
userInfoQuery: {},
|
||||||
DeliverableTreeList:[],
|
DeliverableTreeList: []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
@@ -826,7 +826,7 @@
|
|||||||
type: 'treeChoice',
|
type: 'treeChoice',
|
||||||
value: 'deliverableType',
|
value: 'deliverableType',
|
||||||
text: this.$t('typeOfDeliverables'),
|
text: this.$t('typeOfDeliverables'),
|
||||||
tree:this.DeliverableTreeList
|
tree: this.DeliverableTreeList
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
this.DeliverableTreeList = []
|
this.DeliverableTreeList = []
|
||||||
@@ -1456,7 +1456,7 @@
|
|||||||
let notConditionsOne = []
|
let notConditionsOne = []
|
||||||
let data = ''
|
let data = ''
|
||||||
let dataOne = ''
|
let dataOne = ''
|
||||||
let detailedWarningList= []
|
let detailedWarningList = []
|
||||||
if (this.roleSwitchingCode == 20) {
|
if (this.roleSwitchingCode == 20) {
|
||||||
for (let i = 0; i < this.selectedRowKeysList.length; i++) {
|
for (let i = 0; i < this.selectedRowKeysList.length; i++) {
|
||||||
if (this.selectedRowKeysList[i].dutyPersonName == this.userInfo().username) {
|
if (this.selectedRowKeysList[i].dutyPersonName == this.userInfo().username) {
|
||||||
@@ -1480,14 +1480,14 @@
|
|||||||
}
|
}
|
||||||
if (notConditions && notConditions.length > 0) {
|
if (notConditions && notConditions.length > 0) {
|
||||||
data = this.$t('inspectionItems') + '"' + notConditions.join('、') + '"' + this.$t('conditionsNotMet') + ',' + this.$t('onlyDataStatusSubmittedCanBeSelected')
|
data = this.$t('inspectionItems') + '"' + notConditions.join('、') + '"' + this.$t('conditionsNotMet') + ',' + this.$t('onlyDataStatusSubmittedCanBeSelected')
|
||||||
detailedWarningList.push(<div>{data}</div>)
|
detailedWarningList.push( < div > { data } < /div>)
|
||||||
}
|
}
|
||||||
if (notConditionsOne && notConditionsOne.length > 0){
|
if (notConditionsOne && notConditionsOne.length > 0) {
|
||||||
dataOne = this.$t('inspectionItems') + '"' + notConditionsOne.join('、')+'"'+this.$t('operationWithoutPermission')
|
dataOne = this.$t('inspectionItems') + '"' + notConditionsOne.join('、') + '"' + this.$t('operationWithoutPermission')
|
||||||
detailedWarningList.push(<div>{dataOne}</div>)
|
detailedWarningList.push( < div > { dataOne } < /div>)
|
||||||
}
|
}
|
||||||
if (ids && ids.length > 0) {
|
if (ids && ids.length > 0) {
|
||||||
this.$refs.referenceDeliverablesListRef.transferModel(ids,detailedWarningList)
|
this.$refs.referenceDeliverablesListRef.transferModel(ids, detailedWarningList)
|
||||||
} else {
|
} else {
|
||||||
this.failedMessageOne(detailedWarningList)
|
this.failedMessageOne(detailedWarningList)
|
||||||
}
|
}
|
||||||
@@ -1542,7 +1542,7 @@
|
|||||||
}
|
}
|
||||||
this.toDoData = ''
|
this.toDoData = ''
|
||||||
if (this.toDoNotConditions && this.toDoNotConditions.length > 0) {
|
if (this.toDoNotConditions && this.toDoNotConditions.length > 0) {
|
||||||
this.toDoData = this.$t('operationWithoutPermission') + this.$t('inspectionItems') + '"' + this.toDoNotConditions.join('、') + '"' + this.$t('data')
|
this.toDoData = this.$t('operationWithoutPermission') + ';' + this.$t('onlyDataWithTheCurrentCanBeManipulated') + ';' + this.$t('andTheAndTaskPendingConfirmation')
|
||||||
}
|
}
|
||||||
if (this.toDoIds && this.toDoIds.length > 0) {
|
if (this.toDoIds && this.toDoIds.length > 0) {
|
||||||
this.$refs.SelectedByRef.getPush()
|
this.$refs.SelectedByRef.getPush()
|
||||||
@@ -1714,7 +1714,8 @@
|
|||||||
}
|
}
|
||||||
let data = ''
|
let data = ''
|
||||||
if (notConditions && notConditions.length > 0) {
|
if (notConditions && notConditions.length > 0) {
|
||||||
data = this.$t('operationWithoutPermission') + this.$t('inspectionItems') + '"' + notConditions.join('、') + '"' + this.$t('data')
|
// data = this.$t('operationWithoutPermission') + this.$t('inspectionItems') + '"' + notConditions.join('、') + '"' + this.$t('data')
|
||||||
|
data = this.$t('operationWithoutPermission') + ';' + this.$t('onlyDataWithTheCurrentCanBeManipulated') + ';' + this.$t('andProcessStatusIsTaskPendingConfirmation')
|
||||||
}
|
}
|
||||||
if (ids && ids.length > 0) {
|
if (ids && ids.length > 0) {
|
||||||
this.submitTask(value, prompt, ids, notConditions, data)
|
this.submitTask(value, prompt, ids, notConditions, data)
|
||||||
@@ -1728,6 +1729,15 @@
|
|||||||
if (this.selectedRowKeys && this.selectedRowKeys.length > 0) {
|
if (this.selectedRowKeys && this.selectedRowKeys.length > 0) {
|
||||||
let ids = []
|
let ids = []
|
||||||
let notConditions = []
|
let notConditions = []
|
||||||
|
for (let i = 0; i < this.selectedRowKeysList.length; i++) {
|
||||||
|
if (this.selectedRowKeysList[i].valueType == 'text' || this.selectedRowKeysList[i].valueType == 'select' ||
|
||||||
|
this.selectedRowKeysList[i].valueType == 'file') {
|
||||||
|
if (!this.selectedRowKeysList[i].deliveryResult) {
|
||||||
|
this.$message.warning(this.$t('inspectionItems')+'"'+this.selectedRowKeysList[i].inspectionItem+'"'+this.$t('deliverablesFor')+this.$t('cannotEmpty'))
|
||||||
|
return
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
if (this.roleSwitchingCode == 20) {
|
if (this.roleSwitchingCode == 20) {
|
||||||
this.submitClickJC(value, prompt)
|
this.submitClickJC(value, prompt)
|
||||||
return
|
return
|
||||||
@@ -1769,7 +1779,8 @@
|
|||||||
}
|
}
|
||||||
let data = ''
|
let data = ''
|
||||||
if (notConditions && notConditions.length > 0) {
|
if (notConditions && notConditions.length > 0) {
|
||||||
data = this.$t('operationWithoutPermission') + this.$t('inspectionItems') + '"' + notConditions.join('、') + '"' + this.$t('data')
|
// data = this.$t('operationWithoutPermission') + this.$t('inspectionItems') + '"' + notConditions.join('、') + '"' + this.$t('data')
|
||||||
|
data = this.$t('operationWithoutPermission') + ';' + this.$t('onlyDataWithTheCurrentCanBeManipulated') + ';' + this.$t('andPendingSubmissionReviewReturned')
|
||||||
}
|
}
|
||||||
if (ids && ids.length > 0) {
|
if (ids && ids.length > 0) {
|
||||||
this.submitTask(value, prompt, ids, notConditions, data)
|
this.submitTask(value, prompt, ids, notConditions, data)
|
||||||
@@ -1855,7 +1866,7 @@
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
window.open(newUrl.href, '_blank')
|
window.open(newUrl.href, '_blank')
|
||||||
},
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
@@ -2205,7 +2216,8 @@
|
|||||||
color: #00B3BE;
|
color: #00B3BE;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
.operator-text-title:last-child{
|
|
||||||
|
.operator-text-title:last-child {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -347,22 +347,22 @@
|
|||||||
:title="text">{{text}}</a>
|
:title="text">{{text}}</a>
|
||||||
</span>
|
</span>
|
||||||
</a-table>
|
</a-table>
|
||||||
<!-- <div class="page" v-if="dataSource.length > 0">-->
|
<!-- <div class="page" v-if="dataSource.length > 0">-->
|
||||||
<!-- <a-pagination-->
|
<!-- <a-pagination-->
|
||||||
<!-- :show-total="total => $t('total')+` ${total} `+$t('strip')"-->
|
<!-- :show-total="total => $t('total')+` ${total} `+$t('strip')"-->
|
||||||
<!-- show-quick-jumper-->
|
<!-- show-quick-jumper-->
|
||||||
<!-- show-size-changer-->
|
<!-- show-size-changer-->
|
||||||
<!-- :page-size.sync="pageSize"-->
|
<!-- :page-size.sync="pageSize"-->
|
||||||
<!-- :total="total"-->
|
<!-- :total="total"-->
|
||||||
<!-- :pageSizeOptions="['50','100','200','300']"-->
|
<!-- :pageSizeOptions="['50','100','200','300']"-->
|
||||||
<!-- :current="pageNo"-->
|
<!-- :current="pageNo"-->
|
||||||
<!-- @change="onChangeSize"-->
|
<!-- @change="onChangeSize"-->
|
||||||
<!-- @showSizeChange="SizeChange"-->
|
<!-- @showSizeChange="SizeChange"-->
|
||||||
<!-- />-->
|
<!-- />-->
|
||||||
<!-- </div>-->
|
<!-- </div>-->
|
||||||
<div class="buttom-box" v-if="dataSource && dataSource.length > 0">
|
<div class="buttom-box" v-if="dataSource && dataSource.length > 0">
|
||||||
{{ $t('total') + ' ' + this.dataSource.length + ' ' + $t('strip') }}
|
{{ $t('total') + ' ' + this.dataSource.length + ' ' + $t('strip') }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<listAddModel :url="url" @addModelList="addModelList" ref="addModelRef"/>
|
<listAddModel :url="url" @addModelList="addModelList" ref="addModelRef"/>
|
||||||
<listEditModel :url="url" @editModelList="addModelList" ref="editModelRef"/>
|
<listEditModel :url="url" @editModelList="addModelList" ref="editModelRef"/>
|
||||||
@@ -1127,12 +1127,6 @@
|
|||||||
text: this.$t('areaOfResponsibility'),
|
text: this.$t('areaOfResponsibility'),
|
||||||
dictCode: 'duty_territory'//只要 dictCode 有值,无论 type 是什么,都显示为字典下拉框
|
dictCode: 'duty_territory'//只要 dictCode 有值,无论 type 是什么,都显示为字典下拉框
|
||||||
},
|
},
|
||||||
{
|
|
||||||
type: 'Personnel',
|
|
||||||
value: 'regulationOwnerId',
|
|
||||||
valueName: 'regulationOwnerIdName',
|
|
||||||
text: this.$t('regulatoryEngineer')
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
type: 'Personnel',
|
type: 'Personnel',
|
||||||
value: 'engineeringInterfacePerson',
|
value: 'engineeringInterfacePerson',
|
||||||
@@ -1318,6 +1312,7 @@
|
|||||||
mounted() {
|
mounted() {
|
||||||
this.JLoading = true
|
this.JLoading = true
|
||||||
this.getHeader()
|
this.getHeader()
|
||||||
|
this.queryLawEngineerByProjectId()
|
||||||
this.getRoleByUserId(() => {
|
this.getRoleByUserId(() => {
|
||||||
this.getAndUserId()
|
this.getAndUserId()
|
||||||
})
|
})
|
||||||
@@ -1366,7 +1361,32 @@
|
|||||||
handleToggleSearch() {
|
handleToggleSearch() {
|
||||||
this.toggleSearchStatus = !this.toggleSearchStatus
|
this.toggleSearchStatus = !this.toggleSearchStatus
|
||||||
},
|
},
|
||||||
|
queryLawEngineerByProjectId() {
|
||||||
|
let query = {
|
||||||
|
projectLibraryId: this.$route.query.id
|
||||||
|
}
|
||||||
|
getAction('/project/projectRelatedPersonnel/queryLawEngineerByProjectId', query).then((res) => {
|
||||||
|
if (res.success) {
|
||||||
|
let regulatoryEngineer = {
|
||||||
|
value: 'regulationOwnerId',
|
||||||
|
text: this.$t('regulatoryEngineer'),
|
||||||
|
options:[],
|
||||||
|
}
|
||||||
|
if (res.result && res.result.length > 0){
|
||||||
|
res.result.forEach(val=>{
|
||||||
|
regulatoryEngineer.options.push({
|
||||||
|
value: val.id,
|
||||||
|
key: val.id,
|
||||||
|
label: val.userName
|
||||||
|
})
|
||||||
|
})
|
||||||
|
}
|
||||||
|
this.fieldList.push(regulatoryEngineer)
|
||||||
|
} else {
|
||||||
|
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
//流程状态点击事件
|
//流程状态点击事件
|
||||||
designFlowStatusClick(row, name) {
|
designFlowStatusClick(row, name) {
|
||||||
let query = {}
|
let query = {}
|
||||||
@@ -1474,7 +1494,11 @@
|
|||||||
getAction(this.url.AndUserId, query).then((res) => {
|
getAction(this.url.AndUserId, query).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
// this.isDisplay = true
|
// this.isDisplay = true
|
||||||
this.formInlineRoleSwitching.roleSwitchingCode = res.result.roleCode
|
if (this.$route.query.roleOpen && this.$route.query.roleOpen == 'fggcs'){
|
||||||
|
this.formInlineRoleSwitching.roleSwitchingCode = '1'
|
||||||
|
}else{
|
||||||
|
this.formInlineRoleSwitching.roleSwitchingCode = res.result.roleCode
|
||||||
|
}
|
||||||
this.AndUserId = res.result.id
|
this.AndUserId = res.result.id
|
||||||
if (this.formInlineRoleSwitching.roleSwitchingCode) {
|
if (this.formInlineRoleSwitching.roleSwitchingCode) {
|
||||||
if (!(this.roleSwitchingList.some(val => val.roleCode == this.formInlineRoleSwitching.roleSwitchingCode))) {
|
if (!(this.roleSwitchingList.some(val => val.roleCode == this.formInlineRoleSwitching.roleSwitchingCode))) {
|
||||||
@@ -2081,7 +2105,7 @@
|
|||||||
projectLibraryId: this.$route.query.id,
|
projectLibraryId: this.$route.query.id,
|
||||||
orderBy: this.orderBy,
|
orderBy: this.orderBy,
|
||||||
orderByField: this.orderByField,
|
orderByField: this.orderByField,
|
||||||
roleCode: roleCode,
|
roleCode: roleCode
|
||||||
// pageNo: this.pageNo,
|
// pageNo: this.pageNo,
|
||||||
// pageSize: this.pageSize
|
// pageSize: this.pageSize
|
||||||
}
|
}
|
||||||
@@ -3029,15 +3053,17 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
::v-deep .page .ant-select-selection__rendered {
|
::v-deep .page .ant-select-selection__rendered {
|
||||||
height: 32px!important;
|
height: 32px !important;
|
||||||
line-height: 32px!important;
|
line-height: 32px !important;
|
||||||
}
|
}
|
||||||
::v-deep .ant-table-thead > tr > th[colspan]:not([colspan='1']){
|
|
||||||
|
::v-deep .ant-table-thead > tr > th[colspan]:not([colspan='1']) {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
padding-left: 16px!important;
|
padding-left: 16px !important;
|
||||||
}
|
}
|
||||||
.operator-text-title:last-child{
|
|
||||||
margin-bottom: 0;
|
.operator-text-title:last-child {
|
||||||
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<style lang="less">
|
<style lang="less">
|
||||||
|
|||||||
@@ -266,7 +266,8 @@
|
|||||||
projectNameId: row.projectNameId,
|
projectNameId: row.projectNameId,
|
||||||
targetMarket: row.targetMarket,
|
targetMarket: row.targetMarket,
|
||||||
studioEngineer: row.studioEngineer,
|
studioEngineer: row.studioEngineer,
|
||||||
type: '102'
|
type: '102',
|
||||||
|
roleOpen:'fggcs',
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
window.open(newUrl.href, '_blank')
|
window.open(newUrl.href, '_blank')
|
||||||
@@ -279,7 +280,7 @@
|
|||||||
projectNameId: row.projectNameId,
|
projectNameId: row.projectNameId,
|
||||||
targetMarket: row.targetMarket,
|
targetMarket: row.targetMarket,
|
||||||
studioEngineer: row.studioEngineer,
|
studioEngineer: row.studioEngineer,
|
||||||
type: '106'
|
type: '106',
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
window.open(newUrl.href, '_blank')
|
window.open(newUrl.href, '_blank')
|
||||||
|
|||||||
Reference in New Issue
Block a user