mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-13 08:17:33 +00:00
feat: update
This commit is contained in:
parent
b2cbc4f9f8
commit
c0427ca30e
@ -155,9 +155,9 @@ export const continousProfilingStore = defineStore({
|
|||||||
this.selectedTask = {};
|
this.selectedTask = {};
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.selectedTask = this.taskList[0] || {};
|
// this.selectedTask = this.taskList[0] || {};
|
||||||
this.setselectedTask(this.selectedTask);
|
// this.setselectedTask(this.selectedTask);
|
||||||
await this.getGraphData();
|
// await this.getGraphData();
|
||||||
return res.data;
|
return res.data;
|
||||||
},
|
},
|
||||||
async getGraphData() {
|
async getGraphData() {
|
||||||
|
@ -167,6 +167,7 @@ export const EntityType = [
|
|||||||
},
|
},
|
||||||
{ value: "EndpointRelation", label: "Endpoint Relation", key: 4 },
|
{ value: "EndpointRelation", label: "Endpoint Relation", key: 4 },
|
||||||
{ value: "ProcessRelation", label: "Process Relation", key: 5 },
|
{ value: "ProcessRelation", label: "Process Relation", key: 5 },
|
||||||
|
{ value: "Process", label: "Process Relation", key: 3 },
|
||||||
];
|
];
|
||||||
export const ListEntity: any = {
|
export const ListEntity: any = {
|
||||||
InstanceList: EntityType[3].value,
|
InstanceList: EntityType[3].value,
|
||||||
|
@ -18,14 +18,14 @@ limitations under the License. -->
|
|||||||
<PolicyList />
|
<PolicyList />
|
||||||
<TaskList />
|
<TaskList />
|
||||||
</div>
|
</div>
|
||||||
<GraphPanel :config="config" />
|
<Panel :config="config" />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import type { PropType } from "vue";
|
import type { PropType } from "vue";
|
||||||
import PolicyList from "./components/PolicyList.vue";
|
import PolicyList from "./components/PolicyList.vue";
|
||||||
import TaskList from "./components/TaskList.vue";
|
import TaskList from "./components/TaskList.vue";
|
||||||
import GraphPanel from "./components/GraphPanel.vue";
|
import Panel from "./components/Panel.vue";
|
||||||
|
|
||||||
/*global defineProps */
|
/*global defineProps */
|
||||||
defineProps({
|
defineProps({
|
||||||
|
@ -35,7 +35,7 @@ limitations under the License. -->
|
|||||||
@change="changeProcess"
|
@change="changeProcess"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="continousProfilingStore.selectedStrategy.type" class="vis-graph">
|
<div v-if="continousProfilingStore.selectedTask.taskId" class="vis-graph">
|
||||||
<div
|
<div
|
||||||
class="graph-topology ml-5"
|
class="graph-topology ml-5"
|
||||||
v-loading="networkProfilingStore.loadNodes"
|
v-loading="networkProfilingStore.loadNodes"
|
||||||
@ -55,6 +55,7 @@ limitations under the License. -->
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<!-- <div v-else> dashboard </div> -->
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
@ -120,7 +121,7 @@ limitations under the License. -->
|
|||||||
}
|
}
|
||||||
|
|
||||||
.selector {
|
.selector {
|
||||||
width: 220px;
|
width: 300px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.vis-graph {
|
.vis-graph {
|
Loading…
Reference in New Issue
Block a user