服务指令流程配置-子流程-服务指令/下一节点增加回显

This commit is contained in:
1378012178@qq.com 2025-12-08 17:07:39 +08:00
parent 365d20a95c
commit 9c5fe43549
2 changed files with 3 additions and 3 deletions

View File

@ -111,7 +111,6 @@ const disabled = computed(() => {
*/ */
function add(record_) { function add(record_) {
baseInfo.value = record_ baseInfo.value = record_
console.log("🌊 ~ add ~ baseInfo.value:", baseInfo.value)
edit({ mainId: record_.mainId }); edit({ mainId: record_.mainId });
} }

View File

@ -160,6 +160,7 @@ const formData = reactive<Record<string, any>>({
categoryId: '', categoryId: '',
typeId: '', typeId: '',
directiveId: '', directiveId: '',
subId: '',
}); });
//table //table
const { prefixCls, tableContext, onExportXls, onImportXls } = useListPage({ const { prefixCls, tableContext, onExportXls, onImportXls } = useListPage({
@ -277,7 +278,7 @@ function handleIzEnabled(record, izEnabled_) {
*/ */
function handleDirective(record: Recordable) { function handleDirective(record: Recordable) {
title.value = '服务指令' title.value = '服务指令'
formData.directiveId = null formData.directiveId = record.directiveId
opeType.value = 'directive' opeType.value = 'directive'
visible.value = true visible.value = true
opeObj.value = record opeObj.value = record
@ -288,7 +289,7 @@ function handleDirective(record: Recordable) {
*/ */
function handleNode(record: Recordable) { function handleNode(record: Recordable) {
title.value = '下一节点' title.value = '下一节点'
formData.subId = null formData.subId = record.subId
opeType.value = 'node' opeType.value = 'node'
visible.value = true visible.value = true
opeObj.value = record opeObj.value = record