bpm:完成用户分组的功能

This commit is contained in:
YunaiV 2023-01-20 15:19:46 +08:00
parent 9d9590212f
commit 8e29e42797

View File

@ -50,18 +50,25 @@
:schema="allSchemas.formSchema" :schema="allSchemas.formSchema"
:rules="rules" :rules="rules"
ref="formRef" ref="formRef"
/> >
<template #memberUserIds="form"> <template #memberUserIds="form">
<el-select v-model="form['memberUserIds']"> <el-select v-model="form.memberUserIds" multiple>
<el-option v-for="item in users" :key="item.id" :label="item.nickname" :value="item.id" /> <el-option v-for="item in users" :key="item.id" :label="item.nickname" :value="item.id" />
</el-select> </el-select>
</template> </template>
</Form>
<!-- 对话框(详情) --> <!-- 对话框(详情) -->
<Descriptions <Descriptions
v-if="actionType === 'detail'" v-if="actionType === 'detail'"
:schema="allSchemas.detailSchema" :schema="allSchemas.detailSchema"
:data="detailData" :data="detailData"
/> >
<template #memberUserIds="{ row }">
<span v-for="userId in row.memberUserIds" :key="userId">
{{ getUserNickname(userId) }} &nbsp;
</span>
</template>
</Descriptions>
<!-- 操作按钮 --> <!-- 操作按钮 -->
<template #footer> <template #footer>
<!-- 按钮保存 --> <!-- 按钮保存 -->