diff --git a/src/views/bpm/group/index.vue b/src/views/bpm/group/index.vue index 7aa2ca4a..b0f08516 100644 --- a/src/views/bpm/group/index.vue +++ b/src/views/bpm/group/index.vue @@ -43,7 +43,7 @@ - +
{ await setDialogTile('edit') // 设置数据 saveForm.value = await ModelApi.getModelApi(rowId) + saveForm.value.category = Number(saveForm.value.category) } // 提交按钮 diff --git a/src/views/bpm/processInstance/index.vue b/src/views/bpm/processInstance/index.vue index d2f81753..6cba9eaf 100644 --- a/src/views/bpm/processInstance/index.vue +++ b/src/views/bpm/processInstance/index.vue @@ -7,7 +7,7 @@ diff --git a/src/views/bpm/taskAssignRule/index.vue b/src/views/bpm/taskAssignRule/index.vue index f93e4591..e6e4b88f 100644 --- a/src/views/bpm/taskAssignRule/index.vue +++ b/src/views/bpm/taskAssignRule/index.vue @@ -45,9 +45,9 @@ diff --git a/src/views/system/user/user.data.ts b/src/views/system/user/user.data.ts index c5b617c3..12c777fc 100644 --- a/src/views/system/user/user.data.ts +++ b/src/views/system/user/user.data.ts @@ -5,7 +5,14 @@ const { t } = useI18n() export const rules = reactive({ username: [required], nickname: [required], - email: [required], + email: [ + { required: true, message: t('profile.rules.mail'), trigger: 'blur' }, + { + type: 'email', + message: t('profile.rules.truemail'), + trigger: ['blur', 'change'] + } + ], status: [required], mobile: [ {