服务指令流程配置-子流程-服务指令/下一节点增加回显
This commit is contained in:
parent
365d20a95c
commit
9c5fe43549
|
|
@ -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 });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue