forked from github/dataease
perf(X-Pack): 优化定时报告
This commit is contained in:
parent
526bf6c5cb
commit
a39b32a6fe
@ -53,6 +53,7 @@ defineExpose({
|
|||||||
<style lang="less" scope>
|
<style lang="less" scope>
|
||||||
.filter {
|
.filter {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
min-height: 46px;
|
min-height: 46px;
|
||||||
|
|
||||||
> :nth-child(1) {
|
> :nth-child(1) {
|
||||||
@ -84,7 +85,7 @@ defineExpose({
|
|||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin-bottom: 12px;
|
// margin-bottom: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.active,
|
.active,
|
||||||
|
@ -70,6 +70,7 @@ defineExpose({
|
|||||||
<style lang="less" scope>
|
<style lang="less" scope>
|
||||||
.filter {
|
.filter {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
min-height: 46px;
|
min-height: 46px;
|
||||||
|
|
||||||
> :nth-child(1) {
|
> :nth-child(1) {
|
||||||
|
@ -84,6 +84,7 @@ defineExpose({
|
|||||||
<style lang="less" scope>
|
<style lang="less" scope>
|
||||||
.filter {
|
.filter {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
min-height: 32px;
|
min-height: 32px;
|
||||||
|
|
||||||
> :nth-child(1) {
|
> :nth-child(1) {
|
||||||
@ -94,7 +95,7 @@ defineExpose({
|
|||||||
line-height: 24px;
|
line-height: 24px;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
width: 116px;
|
width: 116px;
|
||||||
margin-top: 5px;
|
// margin-top: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.filter-item {
|
.filter-item {
|
||||||
|
@ -99,6 +99,7 @@ defineExpose({
|
|||||||
<style lang="less" scope>
|
<style lang="less" scope>
|
||||||
.filter {
|
.filter {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
min-height: 46px;
|
min-height: 46px;
|
||||||
|
|
||||||
> :nth-child(1) {
|
> :nth-child(1) {
|
||||||
|
2
de-xpack
2
de-xpack
@ -1 +1 @@
|
|||||||
Subproject commit b61bcfc7325c5d9a1f30564d27dab3f098ac228c
|
Subproject commit 1873d99322c5d78bd08b3b13588c32f92407df3f
|
@ -46,6 +46,10 @@ public interface ReportApi {
|
|||||||
@PostMapping("/stop/{taskId}")
|
@PostMapping("/stop/{taskId}")
|
||||||
void stopNow(@PathVariable("taskId") Long taskId);
|
void stopNow(@PathVariable("taskId") Long taskId);
|
||||||
|
|
||||||
|
@Operation(summary = "启用")
|
||||||
|
@PostMapping("/start/{taskId}")
|
||||||
|
void start(@PathVariable("taskId") Long taskId);
|
||||||
|
|
||||||
@Operation(summary = "删除")
|
@Operation(summary = "删除")
|
||||||
@PostMapping("/delete")
|
@PostMapping("/delete")
|
||||||
void delete(@RequestBody List<Long> taskIdList);
|
void delete(@RequestBody List<Long> taskIdList);
|
||||||
@ -68,6 +72,6 @@ public interface ReportApi {
|
|||||||
@PostMapping("/deleteLog")
|
@PostMapping("/deleteLog")
|
||||||
void deleteInstance(@RequestBody ReportInstanceDelRequest request);
|
void deleteInstance(@RequestBody ReportInstanceDelRequest request);
|
||||||
|
|
||||||
@GetMapping("/logMsg")
|
@PostMapping("/logMsg")
|
||||||
String logMsg(@RequestBody ReportInstanceMsgRequest request);
|
String logMsg(@RequestBody ReportInstanceMsgRequest request);
|
||||||
}
|
}
|
||||||
|
@ -13,4 +13,6 @@ public class ReportInstanceDelRequest implements Serializable {
|
|||||||
private Long instanceId;
|
private Long instanceId;
|
||||||
|
|
||||||
private Integer timeFlag;
|
private Integer timeFlag;
|
||||||
|
|
||||||
|
private Long taskId;
|
||||||
}
|
}
|
||||||
|
@ -18,4 +18,6 @@ public class ReportInstanceRequest implements Serializable {
|
|||||||
private List<Long> timeList;
|
private List<Long> timeList;
|
||||||
|
|
||||||
private String keyword;
|
private String keyword;
|
||||||
|
|
||||||
|
private Boolean timeDesc;
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
package io.dataease.api.report.vo;
|
package io.dataease.api.report.vo;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||||
|
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
||||||
import java.io.Serial;
|
import java.io.Serial;
|
||||||
@ -10,6 +12,7 @@ public class ReportInstanceVO implements Serializable {
|
|||||||
@Serial
|
@Serial
|
||||||
private static final long serialVersionUID = -7845204306008848053L;
|
private static final long serialVersionUID = -7845204306008848053L;
|
||||||
|
|
||||||
|
@JsonSerialize(using= ToStringSerializer.class)
|
||||||
private Long id;
|
private Long id;
|
||||||
|
|
||||||
private String name;
|
private String name;
|
||||||
|
@ -181,4 +181,8 @@ public interface UserApi {
|
|||||||
@Hidden
|
@Hidden
|
||||||
@GetMapping("/getRecipient")
|
@GetMapping("/getRecipient")
|
||||||
List<Map<String, Object>> getRecipient(@RequestBody UserReciRequest request);
|
List<Map<String, Object>> getRecipient(@RequestBody UserReciRequest request);
|
||||||
|
|
||||||
|
@Hidden
|
||||||
|
@GetMapping("/orgAdmin")
|
||||||
|
boolean orgAdmin();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user