Merge remote-tracking branch 'origin/dev_2nd_20230213' into dev_2nd_20230213
This commit is contained in:
@@ -201,3 +201,12 @@ ADD COLUMN `msg_content_info_cn` text NULL COMMENT '消息内容(中文)' AF
|
|||||||
|
|
||||||
-- 上报库-参数项查看页表头 责任领域更新为展示列表sql 2023-02-17 未同步生产环境
|
-- 上报库-参数项查看页表头 责任领域更新为展示列表sql 2023-02-17 未同步生产环境
|
||||||
UPDATE `laws_weilai`.`onl_cgform_field` SET `is_show_list` = 1 WHERE `id` = 'c31d68e204960c073b1fb8126a443492';
|
UPDATE `laws_weilai`.`onl_cgform_field` SET `is_show_list` = 1 WHERE `id` = 'c31d68e204960c073b1fb8126a443492';
|
||||||
|
|
||||||
|
-- 任务清单-初始化 认证进度状态sql 2023-02-20 未同步生产环境
|
||||||
|
UPDATE `laws_weilai`.`project_task_inventory`
|
||||||
|
SET `certification_progress` = 'Not start'
|
||||||
|
WHERE
|
||||||
|
`id` IN ( select temp.temp_id from (
|
||||||
|
SELECT id as temp_id FROM `laws_weilai`.`project_task_inventory` WHERE certification_progress IS NULL
|
||||||
|
) temp
|
||||||
|
);
|
||||||
|
|||||||
+2
-2
@@ -2310,9 +2310,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 = "虚拟清单.xlsx";
|
excelName = baseList.get(0).getName() + " 虚拟清单.xlsx";
|
||||||
}else{
|
}else{
|
||||||
excelName = "Virtual list.xlsx";
|
excelName = baseList.get(0).getName() + " Virtual list.xlsx";
|
||||||
}
|
}
|
||||||
//excel
|
//excel
|
||||||
OutputStream excelOS = new FileOutputStream(path + File.separator + excelName);
|
OutputStream excelOS = new FileOutputStream(path + File.separator + excelName);
|
||||||
|
|||||||
+5
@@ -348,6 +348,7 @@ public class ProjectLawsInventoryEOServiceImpl extends ServiceImpl<ProjectLawsIn
|
|||||||
projectTaskInventoryEO.setId(projectTaskInventoryId);
|
projectTaskInventoryEO.setId(projectTaskInventoryId);
|
||||||
projectTaskInventoryEO.setProjectLawsInventoryId(lawsInventory.getId());
|
projectTaskInventoryEO.setProjectLawsInventoryId(lawsInventory.getId());
|
||||||
projectTaskInventoryEO.setStandId(lawsInventory.getStandId());
|
projectTaskInventoryEO.setStandId(lawsInventory.getStandId());
|
||||||
|
projectTaskInventoryEO.setCertificationProgress(CertificationProgressEnum.NOT_START.getValue());
|
||||||
projectTaskInventoryEOList.add(projectTaskInventoryEO);
|
projectTaskInventoryEOList.add(projectTaskInventoryEO);
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -420,6 +421,7 @@ public class ProjectLawsInventoryEOServiceImpl extends ServiceImpl<ProjectLawsIn
|
|||||||
projectTaskInventoryEO.setId(projectTaskInventoryId);
|
projectTaskInventoryEO.setId(projectTaskInventoryId);
|
||||||
projectTaskInventoryEO.setProjectLawsInventoryId(projectLawsInventoryId);
|
projectTaskInventoryEO.setProjectLawsInventoryId(projectLawsInventoryId);
|
||||||
projectTaskInventoryEO.setStandId(standId);
|
projectTaskInventoryEO.setStandId(standId);
|
||||||
|
projectTaskInventoryEO.setCertificationProgress(CertificationProgressEnum.NOT_START.getValue());
|
||||||
projectTaskInventoryEOList.add(projectTaskInventoryEO);
|
projectTaskInventoryEOList.add(projectTaskInventoryEO);
|
||||||
|
|
||||||
//添加权限
|
//添加权限
|
||||||
@@ -3450,6 +3452,7 @@ public class ProjectLawsInventoryEOServiceImpl extends ServiceImpl<ProjectLawsIn
|
|||||||
projectTaskInventoryEO.setId(projectTaskInventoryId);
|
projectTaskInventoryEO.setId(projectTaskInventoryId);
|
||||||
projectTaskInventoryEO.setProjectLawsInventoryId(projectLawsInventoryId);
|
projectTaskInventoryEO.setProjectLawsInventoryId(projectLawsInventoryId);
|
||||||
projectTaskInventoryEO.setStandId(projectLawsInventoryEO.getStandId());
|
projectTaskInventoryEO.setStandId(projectLawsInventoryEO.getStandId());
|
||||||
|
projectTaskInventoryEO.setCertificationProgress(CertificationProgressEnum.NOT_START.getValue());
|
||||||
projectTaskInventoryEOList.add(projectTaskInventoryEO);
|
projectTaskInventoryEOList.add(projectTaskInventoryEO);
|
||||||
}
|
}
|
||||||
this.saveBatch(projectLawsInventoryEOList);
|
this.saveBatch(projectLawsInventoryEOList);
|
||||||
@@ -5743,6 +5746,7 @@ public class ProjectLawsInventoryEOServiceImpl extends ServiceImpl<ProjectLawsIn
|
|||||||
projectTaskInventoryEO.setId(projectTaskInventoryId);
|
projectTaskInventoryEO.setId(projectTaskInventoryId);
|
||||||
projectTaskInventoryEO.setProjectLawsInventoryId(projectLawsInventory.getId());
|
projectTaskInventoryEO.setProjectLawsInventoryId(projectLawsInventory.getId());
|
||||||
projectTaskInventoryEO.setStandId(projectLawsInventory.getStandId());
|
projectTaskInventoryEO.setStandId(projectLawsInventory.getStandId());
|
||||||
|
projectTaskInventoryEO.setCertificationProgress(CertificationProgressEnum.NOT_START.getValue());
|
||||||
projectTaskInventoryEOList.add(projectTaskInventoryEO);
|
projectTaskInventoryEOList.add(projectTaskInventoryEO);
|
||||||
});
|
});
|
||||||
/*idList.forEach(id -> {
|
/*idList.forEach(id -> {
|
||||||
@@ -5837,6 +5841,7 @@ public class ProjectLawsInventoryEOServiceImpl extends ServiceImpl<ProjectLawsIn
|
|||||||
projectTaskInventoryEO.setId(projectTaskInventoryId);
|
projectTaskInventoryEO.setId(projectTaskInventoryId);
|
||||||
projectTaskInventoryEO.setProjectLawsInventoryId(projectLawsInventoryEO.getId());
|
projectTaskInventoryEO.setProjectLawsInventoryId(projectLawsInventoryEO.getId());
|
||||||
projectLawsInventoryEO.setStandId(projectLawsInventoryEO.getStandId());
|
projectLawsInventoryEO.setStandId(projectLawsInventoryEO.getStandId());
|
||||||
|
projectTaskInventoryEO.setCertificationProgress(CertificationProgressEnum.NOT_START.getValue());
|
||||||
projectTaskInventoryEOList.add(projectTaskInventoryEO);
|
projectTaskInventoryEOList.add(projectTaskInventoryEO);
|
||||||
//设置权限
|
//设置权限
|
||||||
if (ObjectUtils.isNotEmpty(projectLawsInventoryEO.getRegulationOwnerId())) {
|
if (ObjectUtils.isNotEmpty(projectLawsInventoryEO.getRegulationOwnerId())) {
|
||||||
|
|||||||
+2
-1
@@ -747,7 +747,8 @@ public class ProjectLibraryBaseServiceImpl extends ServiceImpl<ProjectLibraryBas
|
|||||||
}
|
}
|
||||||
if(StringUtils.isNotBlank(projectLibraryBase.getYearName())){
|
if(StringUtils.isNotBlank(projectLibraryBase.getYearName())){
|
||||||
projectLibraryBase.setProjectName(projectLibraryBase.getProjectName()
|
projectLibraryBase.setProjectName(projectLibraryBase.getProjectName()
|
||||||
+ "-" + projectLibraryBase.getYearName());
|
+ "-" + projectLibraryBase.getYearName()
|
||||||
|
+ "-" + targetMarket);
|
||||||
// projectLibraryBase.setProjectName(projectLibraryBase.getProjectName()
|
// projectLibraryBase.setProjectName(projectLibraryBase.getProjectName()
|
||||||
// + "-" + projectLibraryBase.getYearName()
|
// + "-" + projectLibraryBase.getYearName()
|
||||||
// + "-" + targetMarket
|
// + "-" + targetMarket
|
||||||
|
|||||||
+1
@@ -1807,6 +1807,7 @@ public class ProjectTaskInventoryEOServiceImpl extends ServiceImpl<ProjectTaskIn
|
|||||||
projectTaskInventoryEO.setStandId(lawsInventoryEO.getStandId());
|
projectTaskInventoryEO.setStandId(lawsInventoryEO.getStandId());
|
||||||
projectTaskInventoryEO.setCreateBy("admin");
|
projectTaskInventoryEO.setCreateBy("admin");
|
||||||
projectTaskInventoryEO.setSysOrgCode("A01");
|
projectTaskInventoryEO.setSysOrgCode("A01");
|
||||||
|
projectTaskInventoryEO.setCertificationProgress(CertificationProgressEnum.NOT_START.getValue());
|
||||||
|
|
||||||
if(CollectionUtils.isNotEmpty(projectTaskInventoryDetailEOS)){
|
if(CollectionUtils.isNotEmpty(projectTaskInventoryDetailEOS)){
|
||||||
//获取当前法规清单数据 启动的符合性流程数据
|
//获取当前法规清单数据 启动的符合性流程数据
|
||||||
|
|||||||
@@ -463,7 +463,7 @@
|
|||||||
</span>
|
</span>
|
||||||
<!-- 分配填写人 -->
|
<!-- 分配填写人 -->
|
||||||
<span v-else-if='jurisdiction === "SDTFPTXRHOMO"' class="text-wraning">
|
<span v-else-if='jurisdiction === "SDTFPTXRHOMO"' class="text-wraning">
|
||||||
'{{$t('completed')}}'
|
'{{$t('completed')}}''{{$t('or')}}'{{$t('Filledreturn')}}''{{$t('or')}}'{{$t('ReturnedEngineer')}}'
|
||||||
</span>
|
</span>
|
||||||
<!-- 引用参数-->
|
<!-- 引用参数-->
|
||||||
<span v-else-if='jurisdiction === "DREYYCS"' class="text-wraning">
|
<span v-else-if='jurisdiction === "DREYYCS"' class="text-wraning">
|
||||||
@@ -1200,7 +1200,7 @@
|
|||||||
} else {
|
} else {
|
||||||
this.selectedRowKeysValue.forEach((item, index) => {
|
this.selectedRowKeysValue.forEach((item, index) => {
|
||||||
console.log(item.state)
|
console.log(item.state)
|
||||||
if (item.state !== '待填写' && item.state !== 'To be filled') {
|
if (item.state !== '待填写' && item.state !== 'To be filled' && item.state !== '填写人退回' && item.state !== 'Rejected by the applicant' && item.state !== '认证工程师退回' && item.state !== 'Rejected by homo engineer') {
|
||||||
this.NotSelectedRowKeysValue.push(item)
|
this.NotSelectedRowKeysValue.push(item)
|
||||||
flag = 0
|
flag = 0
|
||||||
}
|
}
|
||||||
@@ -1665,15 +1665,20 @@
|
|||||||
this.returnData()
|
this.returnData()
|
||||||
} else if (homoJurisdictionReturn == 0) {
|
} else if (homoJurisdictionReturn == 0) {
|
||||||
this.visibleoperationFailed = true
|
this.visibleoperationFailed = true
|
||||||
|
this.returnData()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 退回
|
// 退回
|
||||||
returnData() {
|
returnData() {
|
||||||
// todo 退回没有选择数据
|
// todo 退回没有选择数据
|
||||||
let _array = []
|
let _array = []
|
||||||
|
this.selectedRowKeysValue = this.selectedRowKeysValue.filter(item => item.state == '已提交' || item.state == 'Submitted')
|
||||||
this.selectedRowKeysValue.forEach((item, index) => {
|
this.selectedRowKeysValue.forEach((item, index) => {
|
||||||
_array.push(item.id)
|
_array.push(item.id)
|
||||||
})
|
})
|
||||||
|
if(_array.length == 0){
|
||||||
|
return
|
||||||
|
}
|
||||||
let _this = this
|
let _this = this
|
||||||
let param = { ids: _array.join(','),
|
let param = { ids: _array.join(','),
|
||||||
currentPersonRole: this.currentPersonRole,
|
currentPersonRole: this.currentPersonRole,
|
||||||
|
|||||||
Reference in New Issue
Block a user