认证清单--转办;
法规清单退回原因弹框 法规清单-studio生成合规报告名称
This commit is contained in:
@@ -1713,5 +1713,6 @@ module.exports = {
|
|||||||
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',
|
reasonForReturn:'Reason For Return',
|
||||||
pleaseFillInTheInformationTaskProcess:'Please fill in the information of the project interface person and responsible person before initiating the task process'
|
pleaseFillInTheInformationTaskProcess:'Please fill in the information of the project interface person and responsible person before initiating the task process',
|
||||||
|
complianceReporting:'Compliance Reporting',
|
||||||
}
|
}
|
||||||
@@ -1812,6 +1812,7 @@ module.exports = {
|
|||||||
implementationrecords:'故障处置措施和应急响应实施记录',
|
implementationrecords:'故障处置措施和应急响应实施记录',
|
||||||
onlyDataWithListStatusDraftCanBeDeleted:'只能删除清单状态为草稿的数据',
|
onlyDataWithListStatusDraftCanBeDeleted:'只能删除清单状态为草稿的数据',
|
||||||
implementationDateTwo:'实施日期',
|
implementationDateTwo:'实施日期',
|
||||||
reasonForReturn:'Reason For Return',
|
reasonForReturn:'退回原因',
|
||||||
pleaseFillInTheInformationTaskProcess:'请填写工程接口人和责任人信息后再发起任务流程'
|
pleaseFillInTheInformationTaskProcess:'请填写工程接口人和责任人信息后再发起任务流程',
|
||||||
|
complianceReporting:'合规报告',
|
||||||
}
|
}
|
||||||
@@ -47,6 +47,10 @@
|
|||||||
title: {
|
title: {
|
||||||
type: String,
|
type: String,
|
||||||
default: ''
|
default: ''
|
||||||
|
},
|
||||||
|
isSingleChoice: {
|
||||||
|
type: Boolean,
|
||||||
|
default: false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
@@ -98,6 +102,12 @@
|
|||||||
this.visibleTree = false
|
this.visibleTree = false
|
||||||
},
|
},
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
|
if (this.isSingleChoice) {
|
||||||
|
if (this.userIds.length > 1) {
|
||||||
|
this.$message.warning(this.$t('onlyOnePersonCanBeSelected'))
|
||||||
|
return
|
||||||
|
}
|
||||||
|
}
|
||||||
if (this.userIds && this.userIds.length > 0) {
|
if (this.userIds && this.userIds.length > 0) {
|
||||||
this.submitLoading = true
|
this.submitLoading = true
|
||||||
this.$emit('SelectedByForm', this.userIds.join(','))
|
this.$emit('SelectedByForm', this.userIds.join(','))
|
||||||
@@ -131,11 +141,13 @@
|
|||||||
this.confirmLoading = true
|
this.confirmLoading = true
|
||||||
postAction('sys/user/queryDepartUserTreeList', {
|
postAction('sys/user/queryDepartUserTreeList', {
|
||||||
departId: this.departId,
|
departId: this.departId,
|
||||||
json: gData
|
json: gData,
|
||||||
|
flag:'1'
|
||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
this.confirmLoading = false
|
this.confirmLoading = false
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.gData = res.result
|
this.gData = res.result
|
||||||
|
this.gData = [...this.gData]
|
||||||
this.defaultExpandedKeys = [this.departId]
|
this.defaultExpandedKeys = [this.departId]
|
||||||
this.visibleTree = true
|
this.visibleTree = true
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -399,7 +399,8 @@
|
|||||||
<uploadFile ref="uploadFile" :isMultiple="true" :disabled="disabled" @uploadSuccess="uploadSuccess"></uploadFile>
|
<uploadFile ref="uploadFile" :isMultiple="true" :disabled="disabled" @uploadSuccess="uploadSuccess"></uploadFile>
|
||||||
<TaskListModel @TaskListModelList="transferListForm" ref="TaskListModelRef"/>
|
<TaskListModel @TaskListModelList="transferListForm" ref="TaskListModelRef"/>
|
||||||
<referenceDeliverablesList ref="referenceDeliverablesListRef" @referenceDeliverablesListForm="transferListForm"/>
|
<referenceDeliverablesList ref="referenceDeliverablesListRef" @referenceDeliverablesListForm="transferListForm"/>
|
||||||
<SelectedBy ref="SelectedByRef" :title="$t('turnToDo')" @SelectedByForm="SelectedByForm"></SelectedBy>
|
<SelectedBy ref="SelectedByRef" :isSingleChoice="true"
|
||||||
|
:title="$t('turnToDo')" @SelectedByForm="SelectedByForm"></SelectedBy>
|
||||||
<viewFileModel ref="viewFileModelRef"/>
|
<viewFileModel ref="viewFileModelRef"/>
|
||||||
<!-- <a-modal-->
|
<!-- <a-modal-->
|
||||||
<!-- :title="listTitle"-->
|
<!-- :title="listTitle"-->
|
||||||
|
|||||||
@@ -1357,7 +1357,7 @@
|
|||||||
this.$message.warning(this.$t('OnlyOneSelected'))
|
this.$message.warning(this.$t('OnlyOneSelected'))
|
||||||
} else {
|
} else {
|
||||||
let serialNumber = this.selectedRowKeysList[0].serialNumber
|
let serialNumber = this.selectedRowKeysList[0].serialNumber
|
||||||
downloadFile(this.url.ExportReportUrl, this.$t('listOfRegulations') + this.$t('compliancereport') + '-' + serialNumber + '.docx', { id: selectedRowKeys.join(',') })
|
downloadFile(this.url.ExportReportUrl, this.$t('listOfRegulations') + this.$t('complianceReporting') + '-' + serialNumber + '.docx', { id: selectedRowKeys.join(',') })
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
+2
-1
@@ -88,7 +88,8 @@
|
|||||||
</a-form-model>
|
</a-form-model>
|
||||||
<uploadFile ref="uploadFile"
|
<uploadFile ref="uploadFile"
|
||||||
@uploadSuccess="uploadSuccess"/>
|
@uploadSuccess="uploadSuccess"/>
|
||||||
<SelectedBy ref="SelectedByRef" :title="$t('turnToDo')" @SelectedByForm="SelectedByForm"></SelectedBy>
|
<SelectedBy ref="SelectedByRef" :isSingleChoice="true"
|
||||||
|
:title="$t('turnToDo')" @SelectedByForm="SelectedByForm"></SelectedBy>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user