fix 80148
This commit is contained in:
@@ -388,14 +388,10 @@ export const SolicitOpinions = {
|
||||
|
||||
// 法规采购流程节点
|
||||
export const ProcurementProcessNodes = new EsEnums({
|
||||
initiate: { text: '申请采购标准法规', value: 'Activity_0fmr3id', btn: ['save', 'submit'] },
|
||||
initiate: { text: '发起人申请', value: 'Activity_0fmr3id', btn: ['save', 'submit'] },
|
||||
sponsorLeaderApproval: { text: '发起人主管级领导审批', value: 'Activity_1fr1x5i', btn: ['return', 'save', 'agree', 'reject'] },
|
||||
standardLeaderApproval: { text: '标准化主管级领导审批', value: 'Activity_06jy4oo', btn: ['return', 'save', 'agree', 'reject'] },
|
||||
standardSuperiorLeaderApproval: {
|
||||
text: '标准化主管级上一级领导审批',
|
||||
value: 'Activity_1u5337a',
|
||||
btn: ['return', 'save', 'agree', 'reject']
|
||||
},
|
||||
standardSuperiorLeaderApproval: { text: '标准化主管级上一级领导审批', value: 'Activity_1u5337a', btn: ['return', 'save', 'agree', 'reject'] },
|
||||
regulatoryEngineerConfirmation: { text: '法规工程师确认', value: 'Activity_1q01zfq', btn: ['carbonCopy', 'submit'] }
|
||||
})
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
:columns="columns"
|
||||
:dataSource="dataSource"
|
||||
:pagination="false"
|
||||
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
|
||||
:row-selection="rowSelection"
|
||||
:loading="loading">
|
||||
|
||||
<template v-slot:action="{text, record, index}">
|
||||
@@ -257,6 +257,14 @@ export default {
|
||||
// 流程key
|
||||
processKey () {
|
||||
return ProcessKey.LEGAL_PROCUREMENT.value
|
||||
},
|
||||
// 表格可选
|
||||
rowSelection () {
|
||||
// 只有发起节点表格可以选择
|
||||
if (this.currentNode === ProcurementProcessNodes.initiate.value) {
|
||||
return { selectedRowKeys: this.selectedRowKeys, onChange: this.onSelectChange }
|
||||
}
|
||||
return null
|
||||
}
|
||||
},
|
||||
created () {
|
||||
|
||||
Reference in New Issue
Block a user