fix 80056

This commit is contained in:
赵霄
2024-01-10 14:21:46 +08:00
parent 49448edf88
commit 2a7fd846be
2 changed files with 8 additions and 1 deletions
@@ -1073,10 +1073,16 @@ export default {
* 批量选择人员
*/
batchSelector () {
// 最少勾选一条数据
if (!this.selectedRowKeys || this.selectedRowKeys.length === 0) {
this.$message.warning(this.$t('selectOne'))
return
}
// 勾选数据中包含不涉及数据,不能选择人员
if (this.dataSource.some(tt => this.selectedRowKeys.includes(tt.tableRowKey) && tt.notInvolved)) {
this.$message.warning(this.$t('workCenter.projectComplianceEvaluationProcess.selectIncludeNotInvolved'))
return
}
this.isTransfer = false
this.$refs.userSelectModal.open()
},