feat:框架代码 关于流程信息变更的代码更新

This commit is contained in:
lvjunzhao
2025-04-16 15:22:44 +08:00
parent f55450cc99
commit f3a6f35e40
11 changed files with 102 additions and 67 deletions

View File

@ -8,7 +8,7 @@
<a-button type="primary" class="clean-icon" @click.stop="close">{{ t('关闭') }}</a-button>
</template>
<template #full>
<LookTask v-if="visible" :taskId="props.taskId" :processId="props.processId" />
<LookTask v-if="visible" :taskId="props.taskId" :processId="props.processId" :schemaId="props.schemaId"/>
</template>
</ProcessLayout>
</span>
@ -22,20 +22,20 @@
import { onActivated, onMounted, ref } from 'vue';
import { useI18n } from '/@/hooks/web/useI18n';
const { t } = useI18n();
const props = defineProps({
processId: {
type: String,
default: ''
},
taskId: {
type: String,
default: ''
},
visible: {
type: Boolean,
default: false
},
})
const props = withDefaults(
defineProps<{
processId: string;
taskId: string;
schemaId: string;
visible?: boolean;
}>(),
{
processId: '',
taskId: '',
schemaId: '',
visible: false,
},
);
let emits = defineEmits(['close']);
let visible = ref(false);
let showLoading = ref(false);