forked from github/dataease
perf(X-Pack): 大屏增加阈值告警
This commit is contained in:
parent
0ec09f823d
commit
546d2b23ac
@ -11,6 +11,7 @@ import { ElDivider } from 'element-plus-secondary'
|
||||
import eventBus from '@/utils/eventBus'
|
||||
import { getCurInfo } from '@/store/modules/data-visualization/common'
|
||||
import { useEmitt } from '@/hooks/web/useEmitt'
|
||||
import { XpackComponent } from '@/components/plugin'
|
||||
const dvMainStore = dvMainStoreWithOut()
|
||||
const copyStore = copyStoreWithOut()
|
||||
const lockStore = lockStoreWithOut()
|
||||
@ -245,6 +246,11 @@ const editQueryCriteria = () => {
|
||||
<li @click="downComponent">下移一层</li>
|
||||
<li @click="topComponent">置于顶层</li>
|
||||
<li @click="bottomComponent">置于底层</li>
|
||||
<xpack-component
|
||||
:chart="curComponent"
|
||||
is-screen
|
||||
jsname="L2NvbXBvbmVudC90aHJlc2hvbGQtd2FybmluZy9FZGl0QmFySGFuZGxlcg=="
|
||||
/>
|
||||
<li
|
||||
@click="categoryChange('hidden')"
|
||||
v-show="
|
||||
|
@ -526,6 +526,7 @@ eventBus.on('handleNew', handleNew)
|
||||
@loaded="XpackLoaded"
|
||||
@load-fail="XpackLoaded"
|
||||
/>
|
||||
<xpack-component jsname="L2NvbXBvbmVudC90aHJlc2hvbGQtd2FybmluZy9UaHJlc2hvbGREaWFsb2c=" />
|
||||
<canvas-cache-dialog ref="canvasCacheOutRef" @doUseCache="doUseCache"></canvas-cache-dialog>
|
||||
<dv-preview
|
||||
v-if="fullscreenFlag"
|
||||
|
2
de-xpack
2
de-xpack
@ -1 +1 @@
|
||||
Subproject commit bab1ca0e386dc0f4941b163e626253b8d6f11bc2
|
||||
Subproject commit ede6179491774d25309d3cbb4f92f276b6eed620
|
@ -10,10 +10,7 @@ import io.swagger.v3.oas.annotations.Parameter;
|
||||
import io.swagger.v3.oas.annotations.Parameters;
|
||||
import io.swagger.v3.oas.annotations.enums.ParameterIn;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@ -70,4 +67,8 @@ public interface ThresholdApi {
|
||||
@Operation(summary = "视图是否设置了阈值告警")
|
||||
@GetMapping("/anyThreshold/{chartId}")
|
||||
boolean anyThreshold(@PathVariable("chartId") Long chartId);
|
||||
|
||||
@Operation(summary = "根据视图ID删除")
|
||||
@GetMapping("/deleteWithChart/{chartId}")
|
||||
void deleteWithChart(@PathVariable("chartId") Long chartId);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user