mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-30 11:11:55 +08:00
bpm:完成用户分组的功能
This commit is contained in:
parent
9d9590212f
commit
8e29e42797
@ -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) }}
|
||||||
|
</span>
|
||||||
|
</template>
|
||||||
|
</Descriptions>
|
||||||
<!-- 操作按钮 -->
|
<!-- 操作按钮 -->
|
||||||
<template #footer>
|
<template #footer>
|
||||||
<!-- 按钮:保存 -->
|
<!-- 按钮:保存 -->
|
||||||
|
Loading…
Reference in New Issue
Block a user