认证清单--转办;

法规清单退回原因弹框
法规清单-studio生成合规报告名称
This commit is contained in:
范强强
2023-03-27 10:10:30 +08:00
parent 0c331c95ea
commit 0c9d32ca1f
6 changed files with 23 additions and 7 deletions
+13 -1
View File
@@ -47,6 +47,10 @@
title: {
type: String,
default: ''
},
isSingleChoice: {
type: Boolean,
default: false
}
},
data() {
@@ -98,6 +102,12 @@
this.visibleTree = false
},
handleSubmit() {
if (this.isSingleChoice) {
if (this.userIds.length > 1) {
this.$message.warning(this.$t('onlyOnePersonCanBeSelected'))
return
}
}
if (this.userIds && this.userIds.length > 0) {
this.submitLoading = true
this.$emit('SelectedByForm', this.userIds.join(','))
@@ -131,11 +141,13 @@
this.confirmLoading = true
postAction('sys/user/queryDepartUserTreeList', {
departId: this.departId,
json: gData
json: gData,
flag:'1'
}).then((res) => {
this.confirmLoading = false
if (res.success) {
this.gData = res.result
this.gData = [...this.gData]
this.defaultExpandedKeys = [this.departId]
this.visibleTree = true
} else {