feat(X-Pack): 新增阈值告警部分前端组件

This commit is contained in:
fit2cloud-chenyw 2024-08-08 17:01:35 +08:00
parent f1a5dab596
commit abac2adc38
3 changed files with 11 additions and 0 deletions

View File

@ -130,6 +130,7 @@
</el-dropdown>
</el-dropdown-item>
</template>
<xpack-component jsname="L2NvbXBvbmVudC90aHJlc2hvbGQtd2FybmluZy9FZGl0QmFySGFuZGxlcg==" />
<el-dropdown-item divided @click="deleteComponent" v-if="barShowCheck('delete')"
>删除</el-dropdown-item
>
@ -186,6 +187,7 @@ import { RefreshLeft } from '@element-plus/icons-vue'
import { ElMessage, ElTooltip, ElButton } from 'element-plus-secondary'
import CustomTabsSort from '@/custom-component/de-tabs/CustomTabsSort.vue'
import { exportPivotExcel } from '@/views/chart/components/js/panel/common/common_table'
import { XpackComponent } from '@/components/plugin'
const dvMainStore = dvMainStoreWithOut()
const snapshotStore = snapshotStoreWithOut()
const copyStore = copyStoreWithOut()

View File

@ -2749,5 +2749,13 @@ export default {
},
on_the_left: '请在左侧选择表单',
search_by_commit_name: '根据操作人名称搜索'
},
threshold: {
drawer_title: '设置阈值告警',
table_name: '阈值告警名称',
status: '数据状态',
base_setting: '基本设置',
threshold_setting: '告警设置',
name: '告警名称'
}
}

View File

@ -313,6 +313,7 @@ onUnmounted(() => {
@loaded="XpackLoaded"
@load-fail="XpackLoaded"
/>
<xpack-component jsname="L2NvbXBvbmVudC90aHJlc2hvbGQtd2FybmluZy9UaHJlc2hvbGREaWFsb2c=" />
<canvas-cache-dialog ref="canvasCacheOutRef" @doUseCache="doUseCache"></canvas-cache-dialog>
</template>