summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzhangyu <[email protected]>2022-06-29 09:40:46 +0800
committerzhangyu <[email protected]>2022-06-29 09:40:46 +0800
commita38c67e1f654142cbd0fb911ea9e9d8d775a5ee7 (patch)
treed05433a5f85b6012f807e6d2e7592cab4c78825c
parent0fb9221b2c37716aac86e7195d1a8f073b09e465 (diff)
feat:添加panel假数据dev-3.4-report
-rw-r--r--nezha-fronted/src/components/page/dashboard/panel.vue7
1 files changed, 7 insertions, 0 deletions
diff --git a/nezha-fronted/src/components/page/dashboard/panel.vue b/nezha-fronted/src/components/page/dashboard/panel.vue
index 9d7d23fe3..258507703 100644
--- a/nezha-fronted/src/components/page/dashboard/panel.vue
+++ b/nezha-fronted/src/components/page/dashboard/panel.vue
@@ -92,6 +92,7 @@
<div id="tableList" class="table-list" style='overflow-y: unset'>
<div class="table-list-box">
<div id="dashboardScrollbar" class="box-content" v-my-loading="chartListLoading" ref="dashboardScrollbar" style='overflow-y: auto'>
+<!-- <panel-variables :arr="this.showPanel.variables"></panel-variables>-->
<chart-list
ref="chartList"
name="panel"
@@ -778,6 +779,12 @@ export default {
this.$message.error(response)
}
}
+ this.showPanel.param = {
+ report:
+ { enable: true, range: { type: 'previous', interval: 1, unit: 'day' }, schedule: { type: 2, repeat: 1, nums: [], stime: '2022-06-07 15:00:00', etime: '2022-06-19 15:00:00' }, receivers: [1] },
+ chartShare: 'none',
+ variables: [{ show: true, type: 'custom', multi: true, allOption: true, name: 'a', customOptions: 'z:1', expression: '', regex: '' }]
+ }
}).catch((error) => {
// console.log('error................'+JSON.stringify(error));
if (error) {