feat(web): 增加命中测试按钮
This commit is contained in:
@@ -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: [
|
columns: [
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user