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