Browse Source

fix: 用户管理多个角色调整

deploy-dev
xuziqiang 4 months ago
parent
commit
75a9b87513
  1. 14
      hx-ai-intelligent/src/view/organizationManage/usermanage/index.vue

14
hx-ai-intelligent/src/view/organizationManage/usermanage/index.vue

@ -73,7 +73,7 @@
<script lang="ts" setup>
import { computed, createVNode, defineComponent, reactive, ref, watchEffect } from 'vue';
import { http } from '/nerv-lib/util/http';
import { NsMessage, NsModal } from '/nerv-lib/component';
import { Badge, NsMessage, NsModal } from '/nerv-lib/component';
import { formConfig, formConfig2 } from './config';
import { origanizemanage } from '/@/api/origanizemanage';
@ -389,9 +389,7 @@
return createVNode('div', {}, [
createVNode('span', {}, value[0]?.deptRoleInfoList),
value.length > 1 &&
createVNode(
'a',
{
createVNode(Badge, {
onClick: () =>
NsModal.info({
icon: null,
@ -399,9 +397,13 @@
innerHTML: value.map((item) => item?.deptRoleInfoList).join('<br>'),
}),
}),
size: 'small',
style: {
transform: 'translateY(-4px)',
cursor: 'pointer',
},
`+${value.length}`,
),
count: value.length - 1,
}),
]);
},
},

Loading…
Cancel
Save