【升级】前端代码格式化

This commit is contained in:
俞宝山
2026-03-03 22:59:54 +08:00
parent 6021a05965
commit 0ac1f8a74b

View File

@@ -121,20 +121,8 @@
</s-table> </s-table>
</template> </template>
</XnResizablePanel> </XnResizablePanel>
<Form <Form ref="formRef" @successful="onFormSuccess" />
ref="formRef" <CopyForm ref="copyFormRef" @successful="onCopyFormSuccess" />
@successful="
tableRef.refresh()
refreshTreeData()
"
/>
<CopyForm
ref="copyFormRef"
@successful="
tableRef.clearRefreshSelected()
refreshTreeData()
"
/>
</template> </template>
<script setup name="bizOrg"> <script setup name="bizOrg">
@@ -359,6 +347,16 @@
refreshTreeData() refreshTreeData()
}) })
} }
// 表单成功回调
const onFormSuccess = () => {
tableRef.value.refresh()
refreshTreeData()
}
// 复制表单成功回调
const onCopyFormSuccess = () => {
tableRef.value.clearRefreshSelected()
refreshTreeData()
}
// 批量复制 // 批量复制
const copyFormRef = ref() const copyFormRef = ref()
const copyBatchOrg = (params) => { const copyBatchOrg = (params) => {