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