修改人员选择的限制
This commit is contained in:
@@ -132,7 +132,7 @@
|
||||
this.treeVisible = false
|
||||
},
|
||||
handleSubmit() {
|
||||
if (this.userIds && this.userIds.length > 0) {
|
||||
// if (this.userIds && this.userIds.length > 0) {
|
||||
if (this.isSingleChoice) {
|
||||
if (this.userIds.length > 1) {
|
||||
this.$message.warning(this.$t('onlyOnePersonCanBeSelected'))
|
||||
@@ -145,9 +145,9 @@
|
||||
this.$emit('change', this.query.db_field_name, userIds.join(','))
|
||||
this.visible = false
|
||||
this.treeVisible = false
|
||||
} else {
|
||||
this.$message.warning(this.$t('pleaseSelectPersonFirst'))
|
||||
}
|
||||
// } else {
|
||||
// this.$message.warning(this.$t('pleaseSelectPersonFirst'))
|
||||
// }
|
||||
},
|
||||
indexclick(event) {
|
||||
this.$emit('input', event.target.value)
|
||||
|
||||
Reference in New Issue
Block a user