为了账号安全,请及时绑定邮箱和手机立即绑定

vue table表格循环

vue table表格循环

慕村9548890 2019-03-25 10:52:07
后台返回得是数组 "data": [         {            "workUnit": "德孝中华周刊",            "sex": "女",            "otherCauses": "待申报宣讲课题",            "userName": "xxx",            "departmentInCharge": "xxx",            "supportHotline": "xxx",            "contactInformation": "",            "specialRemarks": "xxx",            "certificateNumber": "xxx",            "workArea": "各地",            "urlPicture": "xxx",            "workNotes": "xxx",            "duties": "xxx",            "createDate": "2019-03-18T02:01:46.000+0000",            "status": "Y"         }     ],我得表格是这么写的 ,请问如何循环对应得数据  <table         v-if="isShow"         class="tabBoxk"         border="1 "         width="700 "       >        <tr>           <td colspan="4">             关于陈淑慧的个人信息          </td>           <td             rowspan='5'             style="text-align: center;vertical-align:middle;width:175px;"           >             <img               src="../../../static/images/news_03.png"               style="width:145px; height:180px;"             >           </td>         </tr>         <tr>           <td>姓名</td>           <td>XXX</td>           <td>性别</td>           <td>XXX</td>         </tr>         <tr>           <td colspan="1">工作单位</td>           <td colspan="3">XXX</td>         </tr>         <tr>           <td colspan="1">所在部门</td>           <td colspan="3">XXX</td>         </tr>         <tr>           <td colspan="1">职务</td>           <td colspan="3">XXX</td>         </tr>         <tr>           <td>证书编码</td>           <td colspan="2">XXX</td>           <td>联系方式</td>           <td>XXX</td>         </tr>         <tr>           <td>监督电话</td>           <td colspan="4">XXX</td>         </tr>         <tr>           <td>工作地区</td>           <td colspan="4">XXX</td>         </tr>         <tr>           <td>工作备注</td>           <td colspan="4">XXX</td>         </tr>         <tr>           <td>其他事由</td>           <td colspan="4">XXX</td>         </tr>         <tr>           <td>特别备注</td>           <td colspan="4">XXX</td>         </tr>       </table>
查看完整描述

2 回答

  • 2 回答
  • 0 关注
  • 4601 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信