Merge remote-tracking branch 'origin/dev_2nd_LCYH' into dev_2nd_LCYH
This commit is contained in:
+15
-15
@@ -2070,6 +2070,21 @@ public class ProjectCertificationInventoryEOServiceImpl extends ServiceImpl<Proj
|
||||
String itemName = (String) standNameAndItemName.get("itemName");
|
||||
|
||||
try {
|
||||
for (ProjectCertificationInventoryEO projectCertificationInventoryEO : projectCertificationInventoryEOList) {
|
||||
// 把交付结果、截止日期清空,流程状态 设置为 清单待发布
|
||||
LambdaUpdateWrapper<ProjectCertificationInventoryEO> updateWrap = new LambdaUpdateWrapper<>();
|
||||
updateWrap.set(ProjectCertificationInventoryEO::getDeliveryResult,null);
|
||||
|
||||
// 流程重置,清空截止日期, 撤回不清空。 对应禅道问题:67048
|
||||
if(StringUtils.equals(operatorType,OperatorTypeEnum.CERTIFICATION_INVENTORY_STUDIO_RESET.getValue())){
|
||||
updateWrap.set(ProjectCertificationInventoryEO::getEndTime,null);
|
||||
}
|
||||
|
||||
updateWrap.set(ProjectCertificationInventoryEO::getFlowStatus,CertificationInventoryFlowStatusEnum.LIST_TO_BE_RELEASED.getValue());
|
||||
updateWrap.eq(ProjectCertificationInventoryEO::getId,projectCertificationInventoryEO.getId());
|
||||
this.update(updateWrap);
|
||||
}
|
||||
|
||||
// 处理待办中心相关数据
|
||||
// 更新该项目认证流程中,认证工程师的任务状态。
|
||||
// 认证工程师接受任务节点
|
||||
@@ -2090,21 +2105,6 @@ public class ProjectCertificationInventoryEOServiceImpl extends ServiceImpl<Proj
|
||||
detailRemoveWrap.lambda().in(ProcessInfoDetailEO::getProjectLawsInventoryId,idList);
|
||||
this.processInfoDetailEOService.remove(detailRemoveWrap);
|
||||
|
||||
for (ProjectCertificationInventoryEO projectCertificationInventoryEO : projectCertificationInventoryEOList) {
|
||||
// 把交付结果、截止日期清空,流程状态 设置为 清单待发布
|
||||
LambdaUpdateWrapper<ProjectCertificationInventoryEO> updateWrap = new LambdaUpdateWrapper<>();
|
||||
updateWrap.set(ProjectCertificationInventoryEO::getDeliveryResult,null);
|
||||
|
||||
// 流程重置,清空截止日期, 撤回不清空。 对应禅道问题:67048
|
||||
if(StringUtils.equals(operatorType,OperatorTypeEnum.CERTIFICATION_INVENTORY_STUDIO_RESET.getValue())){
|
||||
updateWrap.set(ProjectCertificationInventoryEO::getEndTime,null);
|
||||
}
|
||||
|
||||
updateWrap.set(ProjectCertificationInventoryEO::getFlowStatus,CertificationInventoryFlowStatusEnum.LIST_TO_BE_RELEASED.getValue());
|
||||
updateWrap.eq(ProjectCertificationInventoryEO::getId,projectCertificationInventoryEO.getId());
|
||||
this.update(updateWrap);
|
||||
}
|
||||
|
||||
try {
|
||||
List<SysUser> certificationEngineerList = this.sysUserService.querySysUserListByIdList(certificationEngineerIdList);
|
||||
if(CollectionUtils.isNotEmpty(certificationEngineerList)){
|
||||
|
||||
@@ -1718,4 +1718,5 @@ module.exports = {
|
||||
youCanOnlySelectStatusClearSubmit:'You can only select data with a process status of Clear to Submit',
|
||||
note:'Note: The attachment includes the list of test items and test report. Test standard or technical specification',
|
||||
format:'It supports doc/docx/pdf format and is less than 50M in size',
|
||||
cantTransferToYourself:"Can't transfer to yourself",
|
||||
}
|
||||
@@ -1818,4 +1818,5 @@ module.exports = {
|
||||
youCanOnlySelectStatusClearSubmit:'只能选择流程状态为清单待提交的数据',
|
||||
note:'注:附件包括测试项目清单、测试报告.测试标准或技术规范',
|
||||
format:'支持doc/docx/pdf格式,大小50M以内',
|
||||
cantTransferToYourself:"不能转办给自己",
|
||||
}
|
||||
@@ -70,7 +70,7 @@
|
||||
<span slot="hardwareversioninformation" slot-scope="text,record">
|
||||
<a-input :placeholder="$t('pleaseEnter')" v-model="record.yjbbxx" :max-length="500"></a-input>
|
||||
</span>
|
||||
|
||||
|
||||
<span slot="softwaredevelopmententerprise" slot-scope="text,record">
|
||||
<a-input :placeholder="$t('pleaseEnter')" v-model="record.yjbbxx" :max-length="500"></a-input>
|
||||
</span>
|
||||
@@ -93,10 +93,10 @@
|
||||
}}</a-button>
|
||||
|
||||
<div style='margin-top: 20px'>
|
||||
<p>注:附件包括测试项目清单、测试报告.测试标准或技术规范</p>
|
||||
<p> 支持doc/docx/pdf格式,大小50M以内</p>
|
||||
<p>{{ $t('note') }}</p>
|
||||
<p> {{ $t('format') }}</p>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="bootom-button">
|
||||
<a-button style="margin-right:50px" @click="save">{{$t('preservation')}}</a-button>
|
||||
@@ -317,7 +317,7 @@ import ImportFile from '@/components/ImportFileData/index'
|
||||
otaIdT=''
|
||||
}
|
||||
getAction('/ota/otaBaCxKsjjsmccs/queryByOtaId',{otaIdT:otaIdT,otaId:localStorage.getItem('otaId')}).then(res=>{
|
||||
if(res.code==200){
|
||||
if(res.code==200){
|
||||
if(res.result.list.length==0){
|
||||
this.dataSource=[
|
||||
{
|
||||
|
||||
+8
-4
@@ -38,6 +38,10 @@
|
||||
</a-button>
|
||||
</span>
|
||||
</a-table>
|
||||
<div style='margin-top: 20px'>
|
||||
<p>{{ $t('note') }}</p>
|
||||
<p> {{ $t('format') }}</p>
|
||||
</div>
|
||||
<div class="bootom-button">
|
||||
<a-button class='btn' @click="save">{{$t('preservation')}}</a-button>
|
||||
<a-button type="primary" style='width: 73px;margin-right: 50px' @click='last'>{{$t('last')}}</a-button>
|
||||
@@ -182,10 +186,10 @@ import ImportFile from '@/components/ImportFileData/index'
|
||||
// this.getList()
|
||||
this.getData()
|
||||
},
|
||||
|
||||
|
||||
methods: {
|
||||
// 模板下载
|
||||
|
||||
|
||||
handleModule() {
|
||||
downloadFile('ota/otaBaCxAqcs/exportTemplate', '安全措施' + '.zip', {})
|
||||
},
|
||||
@@ -196,7 +200,7 @@ import ImportFile from '@/components/ImportFileData/index'
|
||||
}
|
||||
getAction('/ota/otaBaCxAqcs/queryByOtaId',{otaIdT:otaIdT,otaId:localStorage.getItem('otaId')}).then(res=>{
|
||||
if(res.code == 200){
|
||||
|
||||
|
||||
this.dataSource[0].info = res.result.bhjz
|
||||
this.dataSource[1].info =res.result.fsxjz
|
||||
// this.dataSource[2].info= Number(res.result.sjsbcs)== 0 ? undefined :Number(res.result.sjsbcs)
|
||||
@@ -211,7 +215,7 @@ import ImportFile from '@/components/ImportFileData/index'
|
||||
this.loading = false
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
},
|
||||
uploadSuccess(data) {
|
||||
let attIdList = []
|
||||
|
||||
@@ -1383,13 +1383,13 @@
|
||||
for (let i = 0; i < this.selectedRowKeysList.length; i++) {
|
||||
if (this.selectedRowKeysList[i].flowStatus == 'Results to be submitted') {
|
||||
isTrue = true
|
||||
}else{
|
||||
} else {
|
||||
isTrue = false
|
||||
this.$message.warning(this.$t('youCanOnlySelectStatusClearSubmit'))
|
||||
return
|
||||
}
|
||||
}
|
||||
if (isTrue){
|
||||
if (isTrue) {
|
||||
this.$refs.referenceDeliverablesListRef.transferModel(JSON.parse(JSON.stringify(this.selectedRowKeys)))
|
||||
}
|
||||
} else {
|
||||
@@ -1453,6 +1453,11 @@
|
||||
},
|
||||
//转办接口
|
||||
SelectedByForm(userIds) {
|
||||
if (this.userInfo().id == userIds) {
|
||||
this.$refs.SelectedByRef.submitLoading = false
|
||||
this.$message.warning(this.$t('cantTransferToYourself'))
|
||||
return
|
||||
}
|
||||
let query = {
|
||||
transferUserId: userIds,
|
||||
'projectLibraryId': this.$route.query.id,
|
||||
|
||||
@@ -761,14 +761,14 @@
|
||||
scopedSlots: { customRender: 'verifyDeliverableTemplateName' }
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
title: this.$t('operation'),
|
||||
align: 'left',
|
||||
fixed: 'right',
|
||||
width: 260,
|
||||
scopedSlots: { customRender: 'operation' }
|
||||
}
|
||||
// {
|
||||
// title: this.$t('operation'),
|
||||
// align: 'left',
|
||||
// fixed: 'right',
|
||||
// width: 260,
|
||||
// scopedSlots: { customRender: 'operation' }
|
||||
// }
|
||||
],
|
||||
columnsAll: [],
|
||||
columnsFileAll: [
|
||||
@@ -1998,39 +1998,43 @@
|
||||
moduleFlag: '法规清单'
|
||||
}).then((res) => {
|
||||
if (res.success) {
|
||||
this.columnsAll = res.result
|
||||
for (let j = 0; j < this.columnsAll.length; j++) {
|
||||
for (let i = 0; i < this.column.length; i++) {
|
||||
if (this.columnsAll[j].title == this.$t('confirmationOfDesignConformity')) {
|
||||
if (this.column[i].title == this.$t('confirmationOfDesignConformity')) {
|
||||
if (this.columnsAll[j].children && this.columnsAll[j].children.length > 0) {
|
||||
for (let k = 0; k < this.columnsAll[j].children.length; k++) {
|
||||
for (let l = 0; l < this.column[i].children.length; l++) {
|
||||
if (this.columnsAll[j].children[k].title == this.column[i].children[l].title) {
|
||||
this.columnsAll[j].children[k] = this.column[i].children[l]
|
||||
if (res.result && res.result.length > 0) {
|
||||
this.columnsAll = res.result
|
||||
for (let j = 0; j < this.columnsAll.length; j++) {
|
||||
for (let i = 0; i < this.column.length; i++) {
|
||||
if (this.columnsAll[j].title == this.$t('confirmationOfDesignConformity')) {
|
||||
if (this.column[i].title == this.$t('confirmationOfDesignConformity')) {
|
||||
if (this.columnsAll[j].children && this.columnsAll[j].children.length > 0) {
|
||||
for (let k = 0; k < this.columnsAll[j].children.length; k++) {
|
||||
for (let l = 0; l < this.column[i].children.length; l++) {
|
||||
if (this.columnsAll[j].children[k].title == this.column[i].children[l].title) {
|
||||
this.columnsAll[j].children[k] = this.column[i].children[l]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
} else if (this.columnsAll[j].title == this.$t('verificationAndConformityconfirmation')) {
|
||||
if (this.column[i].title == this.$t('verificationAndConformityconfirmation')) {
|
||||
if (this.columnsAll[j].children && this.columnsAll[j].children.length > 0) {
|
||||
for (let k = 0; k < this.columnsAll[j].children.length; k++) {
|
||||
for (let l = 0; l < this.column[i].children.length; l++) {
|
||||
if (this.columnsAll[j].children[k].title == this.column[i].children[l].title) {
|
||||
this.columnsAll[j].children[k] = this.column[i].children[l]
|
||||
} else if (this.columnsAll[j].title == this.$t('verificationAndConformityconfirmation')) {
|
||||
if (this.column[i].title == this.$t('verificationAndConformityconfirmation')) {
|
||||
if (this.columnsAll[j].children && this.columnsAll[j].children.length > 0) {
|
||||
for (let k = 0; k < this.columnsAll[j].children.length; k++) {
|
||||
for (let l = 0; l < this.column[i].children.length; l++) {
|
||||
if (this.columnsAll[j].children[k].title == this.column[i].children[l].title) {
|
||||
this.columnsAll[j].children[k] = this.column[i].children[l]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if (this.column[i].dataIndex == this.columnsAll[j].dataIndex) {
|
||||
this.columnsAll[j] = this.column[i]
|
||||
} else {
|
||||
if (this.column[i].dataIndex == this.columnsAll[j].dataIndex) {
|
||||
this.columnsAll[j] = this.column[i]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
this.columnsAll = this.column
|
||||
}
|
||||
this.columnsAll.push({
|
||||
title: this.$t('operation'),
|
||||
@@ -2511,7 +2515,7 @@
|
||||
}).then((res) => {
|
||||
if (res.success) {
|
||||
_this.$message.success(_this.$t('OperationSuccessful'))
|
||||
this.selectedRowKeys = []
|
||||
_this.selectedRowKeys = []
|
||||
_this.getList()
|
||||
} else {
|
||||
_this.$message.warning(_this.$t('operationFailed'))
|
||||
|
||||
Reference in New Issue
Block a user