fix:修改panel chart 模板导出 以及导出撤销的接口
This commit is contained in:
@@ -160,7 +160,7 @@ export default {
|
|||||||
} else if (this.importUrl.indexOf('rule') > -1) {
|
} else if (this.importUrl.indexOf('rule') > -1) {
|
||||||
url = '/alert/rule/cancelImport'
|
url = '/alert/rule/cancelImport'
|
||||||
} else if (this.importUrl.indexOf('panel') > -1) {
|
} else if (this.importUrl.indexOf('panel') > -1) {
|
||||||
url = '/panel/cancelImport'
|
url = 'visual/panel/cancelImport'
|
||||||
} else if (this.importUrl.indexOf('tmpl') > -1) {
|
} else if (this.importUrl.indexOf('tmpl') > -1) {
|
||||||
url = '/expression/tmpl/cancelImport'
|
url = '/expression/tmpl/cancelImport'
|
||||||
}
|
}
|
||||||
@@ -227,7 +227,7 @@ export default {
|
|||||||
} else if (this.importUrl.indexOf('rule') > -1) {
|
} else if (this.importUrl.indexOf('rule') > -1) {
|
||||||
url = '/alert/rule/template'
|
url = '/alert/rule/template'
|
||||||
} else if (this.importUrl.indexOf('panel') > -1) {
|
} else if (this.importUrl.indexOf('panel') > -1) {
|
||||||
url = '/panel/template'
|
url = 'visual/panel/template'
|
||||||
} else if (this.importUrl.indexOf('endpoint') > -1) {
|
} else if (this.importUrl.indexOf('endpoint') > -1) {
|
||||||
url = '/monitor/endpoint/template'
|
url = '/monitor/endpoint/template'
|
||||||
} else if (this.importUrl.indexOf('tmpl') > -1) {
|
} else if (this.importUrl.indexOf('tmpl') > -1) {
|
||||||
|
|||||||
@@ -57,7 +57,7 @@
|
|||||||
</template>
|
</template>
|
||||||
<template v-slot:after>
|
<template v-slot:after>
|
||||||
<el-dropdown-item v-has="'panel_chart_add'">
|
<el-dropdown-item v-has="'panel_chart_add'">
|
||||||
<div id="chart-temp-add" @click="addChartByTemp"><i class="nz-icon nz-icon-download1"></i>Add by template</div>
|
<div id="chart-temp-add" @click="addChartByTemp"><i class="nz-icon nz-icon-add"></i>Add by template</div>
|
||||||
</el-dropdown-item>
|
</el-dropdown-item>
|
||||||
</template>
|
</template>
|
||||||
</top-tool-more-options>
|
</top-tool-more-options>
|
||||||
|
|||||||
Reference in New Issue
Block a user