|
@ -1,7 +1,7 @@ |
|
|
<template> |
|
|
<template> |
|
|
<Dialog :title="dialogTitle" v-model="dialogVisible"> |
|
|
<Dialog :title="dialogTitle" v-model="dialogVisible"> |
|
|
<Form ref="formRef" v-loading="formLoading" :rules="rules" :schema="formSchema" :is-col="true" /> |
|
|
<Form ref="formRef" v-loading="formLoading" :rules="rules" :schema="formSchema" :is-col="true" /> |
|
|
<div class="table"> |
|
|
<div class="table" v-if="isBusiness"> |
|
|
<TableForm ref="tableFormRef" |
|
|
<TableForm ref="tableFormRef" |
|
|
class="w-[100%]" |
|
|
class="w-[100%]" |
|
|
:tableFields="tableAllSchemas.tableFormColumns" |
|
|
:tableFields="tableAllSchemas.tableFormColumns" |
|
@ -94,6 +94,12 @@ const props = defineProps({ |
|
|
type: Function, |
|
|
type: Function, |
|
|
required: true, |
|
|
required: true, |
|
|
default: null |
|
|
default: null |
|
|
|
|
|
}, |
|
|
|
|
|
// 是否是业务表单(区分是不显示tableForm) |
|
|
|
|
|
isBusiness: { |
|
|
|
|
|
type: Boolean, |
|
|
|
|
|
required: true, |
|
|
|
|
|
default: true |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
@ -244,6 +250,8 @@ const handleAddTable = () => { |
|
|
} |
|
|
} |
|
|
// 输入框聚焦 |
|
|
// 输入框聚焦 |
|
|
const inpuFocus = (headerItem) => { |
|
|
const inpuFocus = (headerItem) => { |
|
|
|
|
|
console.log(11); |
|
|
|
|
|
|
|
|
opensearchTable() |
|
|
opensearchTable() |
|
|
} |
|
|
} |
|
|
</script> |
|
|
</script> |
|
|