[update] 修改bug78111
This commit is contained in:
@@ -101,6 +101,10 @@ export default {
|
||||
if (this.confirmLoading) return
|
||||
this.form.validateFields((err, values) => {
|
||||
if (!err) {
|
||||
if (!values.deptIds && !values.userIds) {
|
||||
this.$message.warning(this.$t('enterpriseStandardLibrary.standard.pleaseSelectUserOrDepart'))
|
||||
return
|
||||
}
|
||||
this.confirmLoading = true
|
||||
const param = Object.assign({}, values)
|
||||
param.standardIds = this.model.standards
|
||||
|
||||
Reference in New Issue
Block a user