Merge remote-tracking branch 'origin/dev_2nd_LCYH' into dev_2nd_LCYH
This commit is contained in:
@@ -1419,7 +1419,7 @@ module.exports = {
|
|||||||
confirmLaunchTask:'Confirm launch task ?',
|
confirmLaunchTask:'Confirm launch task ?',
|
||||||
conditionsNotMet:'Conditions not met',
|
conditionsNotMet:'Conditions not met',
|
||||||
onlyProcessStatusReturned:'Only the data whose process status is list to be checked and rejected by the responsible person can be returned',
|
onlyProcessStatusReturned:'Only the data whose process status is list to be checked and rejected by the responsible person can be returned',
|
||||||
onlyProcessReturned:'Only data with process status of list to be checked and rejected by responsible person can be initiated',
|
onlyProcessReturned:'Only data with process status of list to be checked and rejected by responsible person can be initiated And the project interface person and responsible person cannot be blank',
|
||||||
confirmToAcceptTheTask:'Confirm to accept the task ?',
|
confirmToAcceptTheTask:'Confirm to accept the task ?',
|
||||||
confirmRejectTask:'Confirm Reject Task ?',
|
confirmRejectTask:'Confirm Reject Task ?',
|
||||||
onlyDataStatusConfirmedSelected:'Only data with process status of task to be confirmed can be selected',
|
onlyDataStatusConfirmedSelected:'Only data with process status of task to be confirmed can be selected',
|
||||||
@@ -1438,7 +1438,7 @@ module.exports = {
|
|||||||
onlyDataSelected:'Only data with process status of task to be confirmed, result to be submitted and review to be returned can be selected',
|
onlyDataSelected:'Only data with process status of task to be confirmed, result to be submitted and review to be returned can be selected',
|
||||||
youCannotStatusListToBeReleasedAndApproved:'You cannot select data whose process status is list to be released and approved',
|
youCannotStatusListToBeReleasedAndApproved:'You cannot select data whose process status is list to be released and approved',
|
||||||
batchmodify:'Whether to batch modify',
|
batchmodify:'Whether to batch modify',
|
||||||
onlyDataListReleasedAndCertificationReturnCanSelected:'Only data with the process status of list to be released and certification return can be selected',
|
onlyDataListReleasedAndCertificationReturnCanSelected:'Only data with the process status of list to be released and certification return can be selected And the deadline cannot be empty',
|
||||||
type:'type',
|
type:'type',
|
||||||
select:'select',
|
select:'select',
|
||||||
onlyDataWithProcessStatusDeleted:'Only data with process status of list to be released and approved can be deleted',
|
onlyDataWithProcessStatusDeleted:'Only data with process status of list to be released and approved can be deleted',
|
||||||
@@ -1710,4 +1710,6 @@ module.exports = {
|
|||||||
implementationrecords:'Fault handling measures and emergency response implementation records',
|
implementationrecords:'Fault handling measures and emergency response implementation records',
|
||||||
onlyDataWithListStatusDraftCanBeDeleted:'Only data with a list status of Draft can be deleted',
|
onlyDataWithListStatusDraftCanBeDeleted:'Only data with a list status of Draft can be deleted',
|
||||||
implementationDateTwo:'Implementation Date',
|
implementationDateTwo:'Implementation Date',
|
||||||
|
reasonForReturn:'Reason For Return',
|
||||||
|
pleaseFillInTheInformationTaskProcess:'Please fill in the information of the project interface person and responsible person before initiating the task process'
|
||||||
}
|
}
|
||||||
@@ -1518,7 +1518,7 @@ module.exports = {
|
|||||||
confirmLaunchTask:'确认发起任务?',
|
confirmLaunchTask:'确认发起任务?',
|
||||||
conditionsNotMet:'不满足条件',
|
conditionsNotMet:'不满足条件',
|
||||||
onlyProcessStatusReturned:'只能退回流程状态为清单待校核和责任人拒绝的数据',
|
onlyProcessStatusReturned:'只能退回流程状态为清单待校核和责任人拒绝的数据',
|
||||||
onlyProcessReturned:'只能发起流程状态为清单待校核和责任人拒绝的数据',
|
onlyProcessReturned:'只能发起流程状态为清单待校核和责任人拒绝的数据,并且工程接口人和责任人不能为空',
|
||||||
confirmToAcceptTheTask:'确认接受任务?',
|
confirmToAcceptTheTask:'确认接受任务?',
|
||||||
confirmRejectTask:'确认拒绝任务?',
|
confirmRejectTask:'确认拒绝任务?',
|
||||||
onlyDataStatusConfirmedSelected:'只能选择流程状态为任务待确认的数据',
|
onlyDataStatusConfirmedSelected:'只能选择流程状态为任务待确认的数据',
|
||||||
@@ -1540,7 +1540,7 @@ module.exports = {
|
|||||||
onlyDataSelected:'只能选择流程状态为任务待确认、结果待提交、审查退回的数据',
|
onlyDataSelected:'只能选择流程状态为任务待确认、结果待提交、审查退回的数据',
|
||||||
youCannotStatusListToBeReleasedAndApproved:'不能选择流程状态为清单待发布、审查通过的数据',
|
youCannotStatusListToBeReleasedAndApproved:'不能选择流程状态为清单待发布、审查通过的数据',
|
||||||
batchmodify:'是否批量修改',
|
batchmodify:'是否批量修改',
|
||||||
onlyDataListReleasedAndCertificationReturnCanSelected:'只能选择流程状态为清单待发布和认证退回的数据',
|
onlyDataListReleasedAndCertificationReturnCanSelected:'只能选择流程状态为清单待发布和认证退回的数据,并且截止时间不能为空',
|
||||||
type:'类型',
|
type:'类型',
|
||||||
select:'选择',
|
select:'选择',
|
||||||
onlyDataWithProcessStatusDeleted:'只能删除流程状态为清单待发布和审查通过的数据',
|
onlyDataWithProcessStatusDeleted:'只能删除流程状态为清单待发布和审查通过的数据',
|
||||||
@@ -1810,4 +1810,6 @@ module.exports = {
|
|||||||
implementationrecords:'故障处置措施和应急响应实施记录',
|
implementationrecords:'故障处置措施和应急响应实施记录',
|
||||||
onlyDataWithListStatusDraftCanBeDeleted:'只能删除清单状态为草稿的数据',
|
onlyDataWithListStatusDraftCanBeDeleted:'只能删除清单状态为草稿的数据',
|
||||||
implementationDateTwo:'实施日期',
|
implementationDateTwo:'实施日期',
|
||||||
|
reasonForReturn:'Reason For Return',
|
||||||
|
pleaseFillInTheInformationTaskProcess:'请填写工程接口人和责任人信息后再发起任务流程'
|
||||||
}
|
}
|
||||||
+4
@@ -798,6 +798,10 @@
|
|||||||
this.engineeringInterfacePersonList = res.result.engineeringInterfacePersonList || [] //工程接口人
|
this.engineeringInterfacePersonList = res.result.engineeringInterfacePersonList || [] //工程接口人
|
||||||
if (res.result.engineeringInterfacePersonList && res.result.engineeringInterfacePersonList.length == 1) {
|
if (res.result.engineeringInterfacePersonList && res.result.engineeringInterfacePersonList.length == 1) {
|
||||||
this.formInline.sdt = res.result.engineeringInterfacePersonList[0].value
|
this.formInline.sdt = res.result.engineeringInterfacePersonList[0].value
|
||||||
|
if (!this.formInline.dutyPersonName) {
|
||||||
|
this.formInline.dutyPersonName = res.result.engineeringInterfacePersonList[0].name
|
||||||
|
this.formInline.dutyPerson = res.result.engineeringInterfacePersonList[0].value
|
||||||
|
}
|
||||||
} else if (this.engineeringInterfacePersonList.length == 0) {
|
} else if (this.engineeringInterfacePersonList.length == 0) {
|
||||||
this.formInline.sdt = undefined
|
this.formInline.sdt = undefined
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -367,6 +367,14 @@
|
|||||||
{{result.certificationProgress_dictText ? result.certificationProgress_dictText : $t('maintainProgress')}}
|
{{result.certificationProgress_dictText ? result.certificationProgress_dictText : $t('maintainProgress')}}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
<span slot="deliverableTemplate" slot-scope="text,result">
|
||||||
|
<span class="viewFile"
|
||||||
|
@click="viewFileClick(result.deliverableTemplate)"
|
||||||
|
v-if="result.deliverableTemplate">
|
||||||
|
{{$t('viewFile')}}
|
||||||
|
</span>
|
||||||
|
<span v-else>--</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
|
||||||
@@ -483,7 +491,7 @@
|
|||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'index',
|
name: 'index',
|
||||||
props:['isDisplayNum'],
|
props: ['isDisplayNum'],
|
||||||
components: {
|
components: {
|
||||||
globalAdvancedQuery,
|
globalAdvancedQuery,
|
||||||
ImportFile,
|
ImportFile,
|
||||||
@@ -578,7 +586,7 @@
|
|||||||
AndUserIdEdit: '/project/projectLibraryRoleRelEO/edit',
|
AndUserIdEdit: '/project/projectLibraryRoleRelEO/edit',
|
||||||
saveBatch: '/project/projectCertificationInventoryEO/saveBatch',
|
saveBatch: '/project/projectCertificationInventoryEO/saveBatch',
|
||||||
questionUrl: '/project/projectCertificationInventoryEO/expediting',
|
questionUrl: '/project/projectCertificationInventoryEO/expediting',
|
||||||
importZipUrl: '/project/projectCertificationInventoryEO/importData',
|
importZipUrl: '/project/projectCertificationInventoryEO/importData'
|
||||||
},
|
},
|
||||||
dataSource: [],
|
dataSource: [],
|
||||||
roleSwitchingCode: '',
|
roleSwitchingCode: '',
|
||||||
@@ -604,7 +612,7 @@
|
|||||||
dataIndex: 'category',
|
dataIndex: 'category',
|
||||||
width: 180,
|
width: 180,
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
fixed: 'left',
|
fixed: 'left'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('inspectionItems'),
|
title: this.$t('inspectionItems'),
|
||||||
@@ -612,7 +620,7 @@
|
|||||||
dataIndex: 'inspectionItem',
|
dataIndex: 'inspectionItem',
|
||||||
width: 180,
|
width: 180,
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
fixed: 'left',
|
fixed: 'left'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('configurationItem'),
|
title: this.$t('configurationItem'),
|
||||||
@@ -656,6 +664,14 @@
|
|||||||
width: 180,
|
width: 180,
|
||||||
ellipsis: true
|
ellipsis: true
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: this.$t('deliverableTemplate'),
|
||||||
|
align: 'left',
|
||||||
|
dataIndex: 'deliverableTemplate',
|
||||||
|
width: 180,
|
||||||
|
ellipsis: true,
|
||||||
|
scopedSlots: { customRender: 'deliverableTemplate' }
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('typeOfDeliverables'),
|
title: this.$t('typeOfDeliverables'),
|
||||||
align: 'left',
|
align: 'left',
|
||||||
@@ -996,8 +1012,10 @@
|
|||||||
let ids = []
|
let ids = []
|
||||||
let notConditions = []
|
let notConditions = []
|
||||||
for (let i = 0; i < this.selectedRowKeysList.length; i++) {
|
for (let i = 0; i < this.selectedRowKeysList.length; i++) {
|
||||||
if (this.selectedRowKeysList[i].flowStatus == 'List to be released' ||
|
if ((this.selectedRowKeysList[i].flowStatus == 'List to be released' &&
|
||||||
this.selectedRowKeysList[i].flowStatus == 'Certification returned') {
|
this.selectedRowKeysList[i].endTime) ||
|
||||||
|
(this.selectedRowKeysList[i].flowStatus == 'Certification returned' &&
|
||||||
|
this.selectedRowKeysList[i].endTime)) {
|
||||||
ids.push(this.selectedRowKeysList[i].id)
|
ids.push(this.selectedRowKeysList[i].id)
|
||||||
} else {
|
} else {
|
||||||
notConditions.push(this.selectedRowKeysList[i].inspectionItem)
|
notConditions.push(this.selectedRowKeysList[i].inspectionItem)
|
||||||
@@ -1487,7 +1505,11 @@
|
|||||||
for (let i = 0; i < this.selectedRowKeysList.length; i++) {
|
for (let i = 0; i < this.selectedRowKeysList.length; i++) {
|
||||||
if (this.selectedRowKeysList[i].flowStatus == 'List to be checked' ||
|
if (this.selectedRowKeysList[i].flowStatus == 'List to be checked' ||
|
||||||
this.selectedRowKeysList[i].flowStatus == 'Refusal of responsible person') {
|
this.selectedRowKeysList[i].flowStatus == 'Refusal of responsible person') {
|
||||||
ids.push(this.selectedRowKeysList[i].id)
|
if (this.selectedRowKeysList[i].dutyPerson && this.selectedRowKeysList[i].sdt) {
|
||||||
|
ids.push(this.selectedRowKeysList[i].id)
|
||||||
|
} else {
|
||||||
|
notConditions.push(this.selectedRowKeysList[i].inspectionItem)
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
notConditions.push(this.selectedRowKeysList[i].inspectionItem)
|
notConditions.push(this.selectedRowKeysList[i].inspectionItem)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -405,7 +405,7 @@
|
|||||||
</a-spin>
|
</a-spin>
|
||||||
</a-modal>
|
</a-modal>
|
||||||
<a-modal
|
<a-modal
|
||||||
:title="$t('reasonsForRejection')"
|
:title="$t('reasonForReturn')"
|
||||||
:width="500"
|
:width="500"
|
||||||
:visible="visibleComment"
|
:visible="visibleComment"
|
||||||
:confirm-loading="confirmLoadingComment"
|
:confirm-loading="confirmLoadingComment"
|
||||||
@@ -419,12 +419,12 @@
|
|||||||
<div class="box-title-text-index">
|
<div class="box-title-text-index">
|
||||||
<div class="title-text-Comment">
|
<div class="title-text-Comment">
|
||||||
<span class="Required">*</span>
|
<span class="Required">*</span>
|
||||||
<span class="title-text-text" :title="$t('reasonsForRejection')">{{ $t('reasonsForRejection') }}</span>
|
<span class="title-text-text" :title="$t('reasonForReturn')">{{ $t('reasonForReturn') }}</span>
|
||||||
</div>
|
</div>
|
||||||
<a-form-model-item class="itemModelComment" :prop="'commentContent'">
|
<a-form-model-item class="itemModelComment" :prop="'commentContent'">
|
||||||
<a-textarea
|
<a-textarea
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
:placeholder="$t('PleaseEnter')+$t('reasonsForRejection')"
|
:placeholder="$t('PleaseEnter')+$t('reasonForReturn')"
|
||||||
:disabled="false"
|
:disabled="false"
|
||||||
v-model="formInlineComment.commentContent" :rows="4"/>
|
v-model="formInlineComment.commentContent" :rows="4"/>
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
@@ -768,7 +768,7 @@
|
|||||||
commentContent: [
|
commentContent: [
|
||||||
{
|
{
|
||||||
required: true,
|
required: true,
|
||||||
message: this.$t('reasonsForRejection') + this.$t('cannotEmpty'),
|
message: this.$t('reasonForReturn') + this.$t('cannotEmpty'),
|
||||||
trigger: 'blur'
|
trigger: 'blur'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user