mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-26 17:21:53 +08:00
各个节点数据绑定
This commit is contained in:
parent
b704aae49b
commit
ba11e6612e
@ -293,7 +293,9 @@ const resetListenersList = () => {
|
||||
otherExtensionList.value = []
|
||||
console.log(bpmnElement.value, 'bpmnElement.value')
|
||||
bpmnElementListeners.value =
|
||||
bpmnElement.value.businessObject?.extensionElements?.values?.filter(
|
||||
// bpmnElement.value.businessObject?.extensionElements?.filter(
|
||||
bpmnElement.value.businessObject?.extensionElements?.filter(
|
||||
// bpmnElement.value.businessObject?.extensionElements?.values?.filter(
|
||||
(ex) => ex.$type === `${prefix}:ExecutionListener`
|
||||
) ?? []
|
||||
elementListenersList.value = bpmnElementListeners.value.map((listener) =>
|
||||
|
@ -338,7 +338,8 @@ const resetListenersList = () => {
|
||||
bpmnElement.value = window.bpmnInstances.bpmnElement
|
||||
otherExtensionList.value = []
|
||||
bpmnElementListeners.value =
|
||||
bpmnElement.value.businessObject?.extensionElements?.values?.filter(
|
||||
// bpmnElement.value.businessObject?.extensionElements?.filter(
|
||||
bpmnElement.value.businessObject?.extensionElements?.filter(
|
||||
(ex) => ex.$type === `${prefix}:TaskListener`
|
||||
) ?? []
|
||||
elementListenersList.value = bpmnElementListeners.value.map((listener) =>
|
||||
|
@ -82,10 +82,12 @@ const bpmnElementPropertyList = ref()
|
||||
const attributeFormRef = ref()
|
||||
|
||||
const resetAttributesList = () => {
|
||||
console.log(window, 'windowwindowwindowwindowwindowwindowwindow')
|
||||
bpmnElement.value = window.bpmnInstances.bpmnElement
|
||||
otherExtensionList.value = [] // 其他扩展配置
|
||||
bpmnElementProperties.value =
|
||||
bpmnElement.value.businessObject?.extensionElements?.values?.filter((ex) => {
|
||||
// bpmnElement.value.businessObject?.extensionElements?.filter((ex) => {
|
||||
bpmnElement.value.businessObject?.extensionElements?.filter((ex) => {
|
||||
if (ex.$type !== `${prefix}:Properties`) {
|
||||
otherExtensionList.value.push(ex)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user