Vue concurrent operation?

the screenshot of the effect to be achieved is as follows:
clipboard.png

json:


:

clipboard.png

the code is as follows:

<div id="left_div2">
    <table cellSpacing=0 cellPadding=0 id="left_table2" class="table table-bordered">
        <tr v-for="agent in chnl">
            <td :rowspan="agent.chnllist.length">

{{agent.agentName}}

</td> <!--<td >

{{agent.agentName}}

</td>--> <td v-for="chnel in agent.chnllist">

{{chnel.chnlname}}

</td> </tr> </table> </div>

* * data relationship: the bank contains a list of channels. The height of the bank merges the corresponding rows according to the length of the list
question: how to deal with the above json to achieve the desired results? I hope you will give me some comments on o ((*

.
Dec.02,2021

      <div id="left_div2">
          <table cellSpacing=0 cellPadding=0 id="left_table2" class="table table-bordered">
              <template v-for="agent in chnl">
                  <tr>
                      <td :rowspan="agent.chnllist.length" >

{{agent.agentName}}

</td> <td>

{{agent.chnllist[0].chnlname}}

</td> </tr> <tr v-for="(chnel,index) in agent.chnllist" v-if="index > 0"> <td>

{{chnel.chnlname}}

</td> </tr> </template> </table> </div>

<div id="left_div2">
    <table cellSpacing=0 cellPadding=0 id="left_table2" class="table table-bordered">
        <template v-for="(agent,index) in chnl">
            <tr>
                <td :rowspan="agent.chnllist.length">
                  

{{ agent.agentName }}

</td> <td>

{{ agent.chnllist[0].chnlname }}

</td> </tr> <tr v-for="(chnel,idx) in agent.chnllist" v-if="idx > 0"> <td>

{{ chnel.chnlname }}

</td> </tr> </template> </table> </div>

// chnllist  tr
<template v-for="agent in chnl">
    <tr v-for="chnel in agent.chnllist">
        <td :rowspan="agent.chnllist.length">

{{agent.agentName}}

</td> <td>

{{chnel.chnlname}}

</td> </tr> </template>
Menu