You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
773 B
36 lines
773 B
1 year ago
|
<template>
|
||
|
<w-dialog
|
||
|
ref="dialogRef"
|
||
|
:title="$t('re.resources.designer.processor.dialog.decisionTree.title')"
|
||
|
:can-maximize="false"
|
||
|
:maximized="true"
|
||
|
body-padding="2px 2px 2px 2px"
|
||
|
>
|
||
|
<iframe
|
||
|
:src="Environment.getWebContextPath() + 'api/re/model/parameter/processor/editDecisionTreeById/' + processorIdRef"
|
||
|
style="width: 100%; height: 100%"
|
||
|
></iframe>
|
||
|
</w-dialog>
|
||
|
</template>
|
||
|
<script setup lang="ts">
|
||
|
import { ref } from 'vue';
|
||
|
import { Environment } from 'platform-core';
|
||
|
|
||
|
const dialogRef = ref();
|
||
|
const processorIdRef = ref();
|
||
|
|
||
|
const open = (processorId) => {
|
||
|
processorIdRef.value = processorId;
|
||
|
dialogRef.value.show();
|
||
|
};
|
||
|
|
||
|
const close = () => {
|
||
|
dialogRef.value.hide();
|
||
|
};
|
||
|
|
||
|
defineExpose({
|
||
|
open,
|
||
|
close,
|
||
|
});
|
||
|
</script>
|