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