|
|
@ -43,7 +43,6 @@ getCommonResEffect(pollingM, body => {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
map.set(k, val)
|
|
|
|
map.set(k, val)
|
|
|
|
})
|
|
|
|
})
|
|
|
|
// pollResults.unshift([result.ts, map])
|
|
|
|
|
|
|
|
tableResults.unshift(map)
|
|
|
|
tableResults.unshift(map)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -69,9 +68,7 @@ const submit = async (data: { classItem: Item, methodItem: Item, conditon: strin
|
|
|
|
let condition = data.conditon.trim() == "" ? "" : `'${data.conditon.trim()}'`
|
|
|
|
let condition = data.conditon.trim() == "" ? "" : `'${data.conditon.trim()}'`
|
|
|
|
let n = data.count > 0 ? `-n ${data.count}` : ""
|
|
|
|
let n = data.count > 0 ? `-n ${data.count}` : ""
|
|
|
|
|
|
|
|
|
|
|
|
// pollResults.length = 0
|
|
|
|
|
|
|
|
enhancer.value = undefined
|
|
|
|
enhancer.value = undefined
|
|
|
|
// tableResults.length = 0
|
|
|
|
|
|
|
|
fetchS.baseSubmit(fetchM, {
|
|
|
|
fetchS.baseSubmit(fetchM, {
|
|
|
|
action: "async_exec",
|
|
|
|
action: "async_exec",
|
|
|
|
command: `stack ${className} ${methodName} ${condition} ${n}`,
|
|
|
|
command: `stack ${className} ${methodName} ${condition} ${n}`,
|
|
|
@ -91,18 +88,17 @@ const submit = async (data: { classItem: Item, methodItem: Item, conditon: strin
|
|
|
|
<thead>
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<th></th>
|
|
|
|
<th></th>
|
|
|
|
<th v-for="(v,i) in keyList" :key="i">{{v}}</th>
|
|
|
|
<th v-for="(v, i) in keyList" :key="i" class="normal-case">{{ v }}</th>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
</thead>
|
|
|
|
<tbody class="">
|
|
|
|
<tbody class="">
|
|
|
|
<tr v-for="(map, i) in tableResults" :key="i">
|
|
|
|
<tr v-for="(map, i) in tableResults" :key="i">
|
|
|
|
<th>{{i + 1}}</th>
|
|
|
|
<th></th>
|
|
|
|
<td v-for="(key, j) in keyList" :key="j">
|
|
|
|
<td v-for="(key, j) in keyList" :key="j">
|
|
|
|
<template v-if="key !== 'stackTrace'">
|
|
|
|
<template v-if="key !== 'stackTrace'">
|
|
|
|
{{ map.get(key) }}
|
|
|
|
{{ map.get(key) }}
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
<div class="flex flex-col items-end" v-else>
|
|
|
|
<div class="flex flex-col items-end" v-else>
|
|
|
|
|
|
|
|
|
|
|
|
<div v-for="(row, k) in map.get(key)" :key="k">
|
|
|
|
<div v-for="(row, k) in map.get(key)" :key="k">
|
|
|
|
{{ row }}
|
|
|
|
{{ row }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
@ -113,7 +109,7 @@ const submit = async (data: { classItem: Item, methodItem: Item, conditon: strin
|
|
|
|
<tfoot>
|
|
|
|
<tfoot>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<th></th>
|
|
|
|
<th></th>
|
|
|
|
<th v-for="(v,i) in keyList" :key="i">{{v}}</th>
|
|
|
|
<th v-for="(v, i) in keyList" :key="i" class="normal-case">{{ v }}</th>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
</tfoot>
|
|
|
|
</tfoot>
|
|
|
|
</table>
|
|
|
|
</table>
|
|
|
|