diff --git a/cmdb-ui/src/components/CMDBExprDrawer/index.vue b/cmdb-ui/src/components/CMDBExprDrawer/index.vue
index 4ea1184..46dd053 100644
--- a/cmdb-ui/src/components/CMDBExprDrawer/index.vue
+++ b/cmdb-ui/src/components/CMDBExprDrawer/index.vue
@@ -9,7 +9,7 @@
:bodyStyle="{ padding: '24px 12px' }"
:placement="placement"
>
-
+
@@ -23,6 +23,14 @@ export default {
type: String,
default: 'right',
},
+ type: {
+ type: String,
+ default: 'resourceSearch'
+ },
+ typeId: {
+ type: Number,
+ default: null
+ }
},
data() {
return {
diff --git a/cmdb-ui/src/modules/cmdb/views/resource_search/index.vue b/cmdb-ui/src/modules/cmdb/views/resource_search/index.vue
index cac3708..222f59f 100644
--- a/cmdb-ui/src/modules/cmdb/views/resource_search/index.vue
+++ b/cmdb-ui/src/modules/cmdb/views/resource_search/index.vue
@@ -1,571 +1,572 @@
-
-
-
-
-
-
-
-
-
-
-
- {{ colGroup.label }}
-
-
-
-
-
- {{ JSON.stringify(row[col.field]) }}
- {{ row[col.field] }}
-
-
-
- {{ value }}
-
-
-
- {{ row[col.field] }}
-
-
-
-
-
-
-
-
![]()
-
{{ $t('noData') }}
-
-
-
- {{ $t('loading') }}
-
-
-
-
{
- currentPage = page
- loadInstance(sortByTable)
- }
- "
- >
-
- {{ props.value }}{{ $t('itemsPerPage') }}
- {{ $t('all') }}
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+ {{ colGroup.label }}
+
+
+
+
+
+ {{ JSON.stringify(row[col.field]) }}
+ {{ row[col.field] }}
+
+
+
+ {{ value }}
+
+
+
+ {{ row[col.field] }}
+
+
+
+
+
+
+
+
![]()
+
{{ $t('noData') }}
+
+
+
+ {{ $t('loading') }}
+
+
+
+
{
+ currentPage = page
+ loadInstance(sortByTable)
+ }
+ "
+ >
+
+ {{ props.value }}{{ $t('itemsPerPage') }}
+ {{ $t('all') }}
+
+
+
+
+
+
+
+
+
+
+