1、任务管理 新建流程改为发起流程(vue2同步)

2、流程分类 字典回显bug
3、用户分组 编辑时点击空白处弹框消失(vue2同步,不消失)
4、个人中心修改邮箱规范校验
5、任务分配规则 指定角色字段不一定为Number
pull/6/head
gexinzhineng/gxzn27 2023-02-27 16:14:02 +08:00
parent 2ec6978400
commit 7ec3550157
5 changed files with 13 additions and 5 deletions

View File

@ -43,7 +43,7 @@
</XTable>
</ContentWrap>
<XModal v-model="dialogVisible" :title="dialogTitle">
<XModal v-model="dialogVisible" :title="dialogTitle" :mask-closable="false">
<!-- 对话框(添加 / 修改) -->
<Form
v-if="['create', 'update'].includes(actionType)"

View File

@ -429,6 +429,7 @@ const handleUpdate = async (rowId: number) => {
await setDialogTile('edit')
//
saveForm.value = await ModelApi.getModelApi(rowId)
saveForm.value.category = Number(saveForm.value.category)
}
//

View File

@ -7,7 +7,7 @@
<XButton
type="primary"
preIcon="ep:zoom-in"
title="新建流程"
title="发起流程"
v-hasPermi="['bpm:process-instance:query']"
@click="handleCreate"
/>

View File

@ -45,9 +45,9 @@
<el-select v-model="formData.roleIds" multiple clearable style="width: 100%">
<el-option
v-for="item in roleOptions"
:key="parseInt(item.id)"
:key="item.id"
:label="item.name"
:value="parseInt(item.id)"
:value="item.id"
/>
</el-select>
</el-form-item>

View File

@ -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: [
{