feat(web): 增加命中测试按钮

This commit is contained in:
v-zhangjc9
2025-05-30 17:35:15 +08:00
parent 993940e810
commit dc5998cf72

View File

@@ -62,6 +62,42 @@ const DataDetail: React.FC = () => {
},
},
},
{
type: 'action',
icon: 'fa fa-magnifying-glass',
label: '',
tooltip: '命中测试',
tooltipPlacement: 'top',
actionType: 'dialog',
dialog: {
title: '命中测试',
size: 'lg',
actions: [],
body: [
{
type: 'input-text',
addOn: {
type: 'action',
label: '检索',
icon: 'fa fa-magnifying-glass',
},
},
{
name: '182e8657-5352-42ad-9ab4-8252d33eef91',
type: 'crud',
source: '${search_items}',
...crudCommonOptions(),
canAccessSuperData: false,
columns: [
{
name: 'text',
label: '内容',
},
],
},
],
},
},
],
columns: [
{