|
@ -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,9 +389,7 @@ |
|
|
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: () => |
|
|
onClick: () => |
|
|
NsModal.info({ |
|
|
NsModal.info({ |
|
|
icon: null, |
|
|
icon: null, |
|
@ -399,9 +397,13 @@ |
|
|
innerHTML: value.map((item) => item?.deptRoleInfoList).join('<br>'), |
|
|
innerHTML: value.map((item) => item?.deptRoleInfoList).join('<br>'), |
|
|
}), |
|
|
}), |
|
|
}), |
|
|
}), |
|
|
|
|
|
size: 'small', |
|
|
|
|
|
style: { |
|
|
|
|
|
transform: 'translateY(-4px)', |
|
|
|
|
|
cursor: 'pointer', |
|
|
}, |
|
|
}, |
|
|
`+${value.length}`, |
|
|
count: value.length - 1, |
|
|
), |
|
|
}), |
|
|
]); |
|
|
]); |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}, |
|
|