<div class="list-template">
  <div class="list-template__content">
    <div class="list-template__top" nz-row>
      <div nz-col nzXl='17' class="list-template__searchBox">
        <div class="list-template__searchItem">
          <span class="label">编码：</span>
          <input nz-input class="formItem" placeholder="请输入编码" [(ngModel)]="searchCriteria.id" />
        </div>
        <div class="list-template__searchItem">
          <span class="label">类型：</span>
          <nz-select [nzDropdownMatchSelectWidth]="false" class="formItem" nzPlaceHolder="请选择类型"
            [(ngModel)]="searchCriteria.target" (ngModelChange)="changeTarget($event)">
            <ng-container *ngFor="let data of typeList">
              <nz-option *ngIf="!isLoading" nzLabel="{{data.name}}" nzValue="{{data.type}}"></nz-option>
            </ng-container>
            <nz-option *ngIf="isLoading" nzDisabled nzCustomContent>
              <i nz-icon nzType="loading" class="loading-icon"></i> 搜索中...
            </nz-option>
          </nz-select>
        </div>
        <div class="list-template__searchItem" *ngIf="searchCriteria.target === 'dataSource'">
          <span class="label">时间范围</span>：
          <nz-range-picker nzShowTime [(ngModel)]="dateRange" (nzOnCalendarChange)="onCalendarChangeDate($event)"></nz-range-picker>
        </div>
        <div class="list-template__searchItem" *ngIf="searchCriteria.target === 'dataSource'">
          <span class="label">业务标识：</span>
          <input nz-input class="formItem" placeholder="请输入业务标识" [(ngModel)]="searchCriteria.busiType" />
        </div>
      </div>
      <div nz-col nzXl="7" class="list-template__btns">
        <button nz-button class="btn default" (click)='reset()'>重置</button>
        <button nz-button class="btn default ml8" (click)='getList()'>搜索</button>
      </div>
    </div>
    <ng-container *ngIf="!loading1">
      <app-collapse>
        <app-collapse-panel *ngFor="let panel of panels" [nzHeader]="panel.name" [nzActive]="panel.active"
          (click)="panelClick($event,panel)">
          <ng-container [ngSwitch]="panel.extra">
            <!-- 检查列表 -->
            <div *ngSwitchCase="'inspectList'" class="list-template__bottom">
              <nz-table class="list-template__nzTable" #inspectListTpl [nzData]="panel.list" nzSize="middle"
                [nzFrontPagination]="false" [nzLoading]="loading1" [ngStyle]="{width:panel.list[0].length*130+292+'px'}">
                <thead>
                  <tr class="thead">
                    <th nzWidth="130px">序号</th>
                    <th nzWidth="130px">检查编码</th>
                    <th nzWidth="130px">院区</th>
                    <th nzWidth="130px">检查类型</th>
                    <th nzWidth="130px">检查状态</th>
                    <th nzWidth="130px">申请科室</th>
                    <th nzWidth="130px">执行科室</th>
                    <th nzWidth="130px">检查ID</th>
                    <th nzWidth="130px">版本</th>
                    <th nzWidth="130px">患者编码</th>
                    <th nzWidth="130px">患者名称</th>
                    <th nzWidth="130px">患者腕带码</th>
                    <th nzWidth="130px">院区编码</th>
                    <th nzWidth="130px">院区名称</th>
                    <th nzWidth="130px">检查类型编码</th>
                    <th nzWidth="130px">检查类型</th>
                    <th nzWidth="130px">检查状态ID</th>
                    <th nzWidth="130px">检查编码</th>
                    <th nzWidth="130px">检查类型名称</th>
                    <th nzWidth="130px">医师编码</th>
                    <th nzWidth="130px">医师名称</th>
                    <th nzWidth="130px">申请时间
                      <!--20-->
                    </th>
                    <th nzWidth="130px">申请科室ID</th>
                    <th nzWidth="130px">检查部位编码</th>
                    <th nzWidth="130px">检查部位名称</th>
                    <th nzWidth="130px">紧急度</th>
                    <th nzWidth="130px">执行科室ID</th>
                    <th nzWidth="130px">预约时间
                      <!--26-->
                    </th>
                    <th nzWidth="130px">床号</th>
                    <th nzWidth="130px">修改时间
                      <!--28-->
                    </th>
                    <th nzWidth="130px">工单ID</th>
                    <th nzWidth="130px">检查时间
                      <!--30-->
                    </th>
                    <th nzWidth="130px">检查人</th>
                    <th nzWidth="130px">预约号码</th>
                    <th nzWidth="130px">送达时间
                      <!--33-->
                    </th>
                    <th nzWidth="130px">创建时间
                      <!--34-->
                    </th>
                    <th nzWidth="130px">院区ID</th>
                  </tr>
                </thead>
                <tbody>
                  <tr *ngFor="let data of inspectListTpl.data;let i = index">
                    <td>{{i+1}}</td>
                    <td *ngFor="let item of [].constructor(data.length);let index=index">
                      <ng-container
                        *ngIf="(index===20||index===26||index===28||index===30||index===33||index===34); else inspectListBlock">
                        {{data[index]|date:'yyyy-MM-dd HH:mm'}}
                      </ng-container>
                      <ng-template #inspectListBlock>
                        {{data[index]}}
                      </ng-template>
                    </td>
                  </tr>
                </tbody>
              </nz-table>
            </div>
            <!-- 工单信息 -->
            <div *ngSwitchCase="'order'" class="list-template__bottom">
              <nz-table class="list-template__nzTable" #orderTpl [nzData]="panel.list" nzSize="middle"
                [nzFrontPagination]="false" [nzLoading]="loading1" [ngStyle]="{width:panel.list[0].length*130+292+'px'}">
                <thead>
                  <tr class="thead">
                    <th nzWidth="130px">序号</th>
                    <th nzWidth="130px">ID</th>
                    <th nzWidth="130px">院区</th>
                    <th nzWidth="130px">配送人员</th>
                    <th nzWidth="130px">创建人</th>
                    <th nzWidth="130px">工单状态</th>
                    <th nzWidth="130px">患者姓名</th>
                    <th nzWidth="130px">任务类型</th>
                    <th nzWidth="130px">业务类型</th>
                    <th nzWidth="130px">工作组</th>
                    <th nzWidth="130px">是否加急</th>
                    <th nzWidth="130px">起点科室</th>
                    <th nzWidth="130px">创建科室</th>
                    <th nzWidth="130px">工单编码</th>
                    <th nzWidth="130px">建单时间
                      <!-- 13 -->
                    </th>
                    <th nzWidth="130px">院区ID</th>
                    <th nzWidth="130px">配送人员ID</th>
                    <th nzWidth="130px">创建人ID</th>
                    <th nzWidth="130px">工单状态ID</th>
                    <th nzWidth="130px">患者ID</th>
                    <th nzWidth="130px">任务类型ID</th>
                    <th nzWidth="130px">业务类型ID</th>
                    <th nzWidth="130px">工作组ID</th>
                    <th nzWidth="130px">加急ID</th>
                    <th nzWidth="130px">起点科室ID</th>
                    <th nzWidth="130px">创建科室ID</th>
                    <th nzWidth="130px">终点科室IDS</th>
                    <th nzWidth="130px">中间科室IDS</th>
                    <th nzWidth="130px">下个科室IDS</th>
                    <th nzWidth="130px">检查列表IDS</th>
                    <th nzWidth="130px">删除标识</th>
                    <th nzWidth="130px">建单来源</th>
                    <th nzWidth="130px">异常状态</th>
                    <th nzWidth="130px">是否护士陪同</th>
                    <th nzWidth="130px">是否送回</th>
                    <th nzWidth="130px">携带设备IDS</th>
                    <th nzWidth="130px">预约建单时间
                      <!-- 35 -->
                    </th>
                    <th nzWidth="130px">派单时间
                      <!-- 36 -->
                    </th>
                    <th nzWidth="130px">接单时间
                      <!-- 37 -->
                    </th>
                    <th nzWidth="130px">到达时间
                      <!-- 38 -->
                    </th>
                    <th nzWidth="130px">完成时间
                      <!-- 39 -->
                    </th>
                    <th nzWidth="130px">关单时间
                      <!-- 40 -->
                    </th>
                    <th nzWidth="130px">逾期时间
                      <!-- 41 -->
                    </th>
                    <th nzWidth="130px">预计响应时间
                      <!-- 42 -->
                    </th>
                    <th nzWidth="130px">预计到达时间
                      <!-- 43 -->
                    </th>
                    <th nzWidth="130px">预计完成时间
                      <!-- 44 -->
                    </th>
                    <th nzWidth="130px">标本送达数量</th>
                    <th nzWidth="130px">标本实际接收数量</th>
                    <th nzWidth="130px">预计接收数量</th>
                    <th nzWidth="130px">响应时长</th>
                    <th nzWidth="130px">到达时长</th>
                    <th nzWidth="130px">执行时长</th>
                    <th nzWidth="130px">总时长</th>
                    <th nzWidth="130px">特殊关闭原因</th>
                    <th nzWidth="130px">工单备注</th>
                    <th nzWidth="130px">工单来电号码</th>
                  </tr>
                </thead>
                <tbody>
                  <tr *ngFor="let data of orderTpl.data;let i = index">
                    <td>{{i+1}}</td>
                    <td *ngFor="let item of [].constructor(data.length);let index=index">
                      <ng-container
                        *ngIf="(index===13||index===35||index===36||index===37||index===38||index===39||index===40||index===41||index===42||index===43||index===44); else orderBlock">
                        {{data[index]|date:'yyyy-MM-dd HH:mm'}}
                      </ng-container>
                      <ng-template #orderBlock>
                        {{data[index]}}
                      </ng-template>
                    </td>
                  </tr>
                </tbody>
              </nz-table>
            </div>
            <!-- 工单日志 -->
            <div *ngSwitchCase="'orderLogs'" class="list-template__bottom">
              <nz-table class="list-template__nzTable" #orderLogsTpl [nzData]="panel.list" nzSize="middle"
                [nzFrontPagination]="false" [nzLoading]="loading1" [ngStyle]="{width:panel.list[0].length*130+292+'px'}">
                <thead>
                  <tr class="thead">
                    <th nzWidth="130px">序号</th>
                    <th nzWidth="130px">操作人</th>
                    <th nzWidth="130px">操作时间</th>
                    <th nzWidth="130px">操作</th>
                    <th nzWidth="130px">科室</th>
                  </tr>
                </thead>
                <tbody>
                  <tr *ngFor="let data of orderLogsTpl.data;let i = index">
                    <td>{{i+1}}</td>
                    <td>{{data[0]}}</td>
                    <td>{{data[1]|date:'yyyy-MM-dd HH:mm'}}</td>
                    <td>{{data[2]}}</td>
                    <td>{{data[3]}}</td>
                  </tr>
                </tbody>
              </nz-table>
            </div>
            <!-- 检查日志 -->
            <div *ngSwitchCase="'inspectLogs'" class="list-template__bottom">
              <nz-table class="list-template__nzTable" #inspectLogsTpl [nzData]="panel.list" nzSize="middle"
                [nzFrontPagination]="false" [nzLoading]="loading1" [ngStyle]="{width:panel.list[0].length*130+292+'px'}">
                <thead>
                  <tr class="thead">
                    <th nzWidth="130px">序号</th>
                    <th nzWidth="130px">ID</th>
                    <th nzWidth="130px">创建时间</th>
                    <th nzWidth="130px">JSON数据</th>
                  </tr>
                </thead>
                <tbody>
                  <tr *ngFor="let data of inspectLogsTpl.data;let i = index">
                    <td>{{i+1}}</td>
                    <td>{{data[0]}}</td>
                    <td>{{data[1]|date:'yyyy-MM-dd HH:mm'}}</td>
                    <td (click)="toJson(data[2])">{{data[2]}}</td>
                  </tr>
                </tbody>
              </nz-table>
            </div>
            <!-- 标本列表 -->
            <div *ngSwitchCase="'specimenList'" class="list-template__bottom">
              <nz-table class="list-template__nzTable" #specimenListTpl [nzData]="panel.list" nzSize="middle"
                [nzFrontPagination]="false" [nzLoading]="loading1" [ngStyle]="{width:panel.list[0].length*130+292+'px'}">
                <thead>
                  <tr class="thead">
                    <th nzWidth="130px">序号</th>
                    <th nzWidth="130px">订单号</th>
                    <th nzWidth="130px">院区</th>
                    <th nzWidth="130px">标本类型</th>
                    <th nzWidth="130px">标本状态</th>
                    <th nzWidth="130px">起点科室</th>
                    <th nzWidth="130px">目标科室</th>
                    <th nzWidth="130px">中转科室</th>
                    <th nzWidth="130px">ID</th>
                    <th nzWidth="130px">版本</th>
                    <th nzWidth="130px">工单ID</th>
                    <th nzWidth="130px">标本类型ID</th>
                    <th nzWidth="130px">标本编码</th>
                    <th nzWidth="130px">患者名称</th>
                    <th nzWidth="130px">起点科室ID</th>
                    <th nzWidth="130px">房间号</th>
                    <th nzWidth="130px">床号</th>
                    <th nzWidth="130px">目标科室ID</th>
                    <th nzWidth="130px">标本状态ID</th>
                    <th nzWidth="130px">标本备注</th>
                    <th nzWidth="130px">residence_no</th>
                    <th nzWidth="130px">采集时间
                      <!-- 20 -->
                    </th>
                    <th nzWidth="130px">患者编号</th>
                    <th nzWidth="130px">是否加急</th>
                    <th nzWidth="130px">扫描时间
                      <!-- 23 -->
                    </th>
                    <th nzWidth="130px">送达时间
                      <!-- 24 -->
                    </th>
                    <th nzWidth="130px">医生申请时间
                      <!-- 25 -->
                    </th>
                    <th nzWidth="130px">护士贴码时间
                      <!-- 26 -->
                    </th>
                    <th nzWidth="130px">医生ID</th>
                    <th nzWidth="130px">贴码护士ID</th>
                    <th nzWidth="130px">采集护士ID</th>
                    <th nzWidth="130px">检验人员ID</th>
                    <th nzWidth="130px">检验时间
                      <!-- 31 -->
                    </th>
                    <th nzWidth="130px">中转科室ID</th>
                    <th nzWidth="130px">送达工单ID</th>
                    <th nzWidth="130px">院区编码</th>
                    <th nzWidth="130px">院区ID</th>
                    <th nzWidth="130px">订单号</th>
                    <th nzWidth="130px">sys_arrive_time
                      <!-- 37 -->
                    </th>
                  </tr>
                </thead>
                <tbody>
                  <tr *ngFor="let data of specimenListTpl.data;let i = index">
                    <td>{{i+1}}</td>
                    <td *ngFor="let item of [].constructor(data.length);let index=index">
                      <ng-container
                        *ngIf="(index===20||index===23||index===24||index===25||index===26||index===31||index===37); else specimenListBlock">
                        {{data[index]|date:'yyyy-MM-dd HH:mm'}}
                      </ng-container>
                      <ng-template #specimenListBlock>
                        {{data[index]}}
                      </ng-template>
                    </td>
                  </tr>
                </tbody>
              </nz-table>
            </div>
            <!-- 标本日志 -->
            <div *ngSwitchCase="'specimenLogs'" class="list-template__bottom">
              <nz-table class="list-template__nzTable" #specimenLogsTpl [nzData]="panel.list" nzSize="middle"
                [nzFrontPagination]="false" [nzLoading]="loading1" [ngStyle]="{width:panel.list[0].length*130+292+'px'}">
                <thead>
                  <tr class="thead">
                    <th nzWidth="130px">序号</th>
                    <th nzWidth="130px">ID</th>
                    <th nzWidth="130px">创建时间</th>
                    <th nzWidth="130px">JSON数据</th>
                  </tr>
                </thead>
                <tbody>
                  <tr *ngFor="let data of specimenLogsTpl.data;let i = index">
                    <td>{{i+1}}</td>
                    <td>{{data[0]}}</td>
                    <td>{{data[1]|date:'yyyy-MM-dd HH:mm'}}</td>
                    <td (click)="toJson(data[2])">{{data[2]}}</td>
                  </tr>
                </tbody>
              </nz-table>
            </div>
            <!-- 药品列表 -->
            <div *ngSwitchCase="'drugsBagList'" class="list-template__bottom">
              <nz-table class="list-template__nzTable" #drugsBagListTpl [nzData]="panel.list" nzSize="middle"
                [nzFrontPagination]="false" [nzLoading]="loading1" [ngStyle]="{width:panel.list[0].length*130+292+'px'}">
                <thead>
                  <tr class="thead">
                    <th nzWidth="130px">序号</th>
                    <th nzWidth="130px">药包编码</th>
                    <th nzWidth="130px">药包ID</th>
                    <th nzWidth="130px">院区</th>
                    <th nzWidth="130px">药包状态</th>
                    <th nzWidth="130px">发药科室</th>
                    <th nzWidth="130px">申请科室</th>
                    <th nzWidth="130px">配送人员</th>
                    <th nzWidth="130px">ID</th>
                    <th nzWidth="130px">版本</th>
                    <th nzWidth="130px">药包编码</th>
                    <th nzWidth="130px">签收时间
                      <!-- 10 -->
                    </th>
                    <th nzWidth="130px">签收人</th>
                    <th nzWidth="130px">申请科室ID</th>
                    <th nzWidth="130px">bagtime
                      <!-- 13 -->
                    </th>
                    <th nzWidth="130px">发药科室ID</th>
                    <th nzWidth="130px">创建时间
                      <!-- 15 -->
                    </th>
                    <th nzWidth="130px">药包状态ID</th>
                    <th nzWidth="130px">打包人</th>
                    <th nzWidth="130px">打包时间
                      <!-- 18 -->
                    </th>
                    <th nzWidth="130px">核对时间
                      <!-- 19 -->
                    </th>
                    <th nzWidth="130px">开始配药时间
                      <!-- 20 -->
                    </th>
                    <th nzWidth="130px">二维码</th>
                    <th nzWidth="130px">配送人员ID</th>
                    <th nzWidth="130px">批次号</th>
                    <th nzWidth="130px">院区ID</th>
                    <th nzWidth="130px">患者编码</th>
                    <th nzWidth="130px">患者名称</th>
                    <th nzWidth="130px">药品信息</th>
                    <th nzWidth="130px">药品数量</th>
                    <th nzWidth="130px">药包ID</th>
                    <th nzWidth="130px">床号</th>
                  </tr>
                </thead>
                <tbody>
                  <tr *ngFor="let data of drugsBagListTpl.data;let i = index">
                    <td>{{i+1}}</td>
                    <td *ngFor="let item of [].constructor(data.length);let index=index">
                      <ng-container
                        *ngIf="(index===10||index===13||index===15||index===18||index===19||index===20); else drugsBagListBlock">
                        {{data[index]|date:'yyyy-MM-dd HH:mm'}}
                      </ng-container>
                      <ng-template #drugsBagListBlock>
                        {{data[index]}}
                      </ng-template>
                    </td>
                  </tr>
                </tbody>
              </nz-table>
            </div>
            <!-- 药包日志 -->
            <div *ngSwitchCase="'drugsBagLogs'" class="list-template__bottom">
              <nz-table class="list-template__nzTable" #drugsBagLogsTpl [nzData]="panel.list" nzSize="middle"
                [nzFrontPagination]="false" [nzLoading]="loading1" [ngStyle]="{width:panel.list[0].length*130+292+'px'}">
                <thead>
                  <tr class="thead">
                    <th nzWidth="130px">序号</th>
                    <th nzWidth="130px">ID</th>
                    <th nzWidth="130px">创建时间</th>
                    <th nzWidth="130px">JSON数据</th>
                  </tr>
                </thead>
                <tbody>
                  <tr *ngFor="let data of drugsBagLogsTpl.data;let i = index">
                    <td>{{i+1}}</td>
                    <td>{{data[0]}}</td>
                    <td>{{data[1]|date:'yyyy-MM-dd HH:mm'}}</td>
                    <td (click)="toJson(data[2])">{{data[2]}}</td>
                  </tr>
                </tbody>
              </nz-table>
            </div>
            <!-- 药品日志 -->
            <div *ngSwitchCase="'drugsLogs'" class="list-template__bottom">
              <nz-table class="list-template__nzTable" #drugsLogsTpl [nzData]="panel.list" nzSize="middle"
                [nzFrontPagination]="false" [nzLoading]="loading1" [ngStyle]="{width:panel.list[0].length*130+292+'px'}">
                <thead>
                  <tr class="thead">
                    <th nzWidth="130px">序号</th>
                    <th nzWidth="130px">ID</th>
                    <th nzWidth="130px">创建时间</th>
                    <th nzWidth="130px">JSON数据</th>
                  </tr>
                </thead>
                <tbody>
                  <tr *ngFor="let data of drugsLogsTpl.data;let i = index">
                    <td>{{i+1}}</td>
                    <td>{{data[0]}}</td>
                    <td>{{data[1]|date:'yyyy-MM-dd HH:mm'}}</td>
                    <td (click)="toJson(data[2])">{{data[2]}}</td>
                  </tr>
                </tbody>
              </nz-table>
            </div>
            <!-- 静配包列表 -->
            <div *ngSwitchCase="'jpBagList'" class="list-template__bottom">
              <nz-table class="list-template__nzTable" #jpBagListTpl [nzData]="panel.list" nzSize="middle"
                [nzFrontPagination]="false" [nzLoading]="loading1" [ngStyle]="{width:panel.list[0].length*130+292+'px'}">
                <thead>
                  <tr class="thead">
                    <th nzWidth="130px">序号</th>
                    <th nzWidth="130px">静配编码</th>
                    <th nzWidth="130px">静配ID</th>
                    <th nzWidth="130px">院区</th>
                    <th nzWidth="130px">静配状态</th>
                    <th nzWidth="130px">发药科室</th>
                    <th nzWidth="130px">申请科室</th>
                    <th nzWidth="130px">ID</th>
                    <th nzWidth="130px">版本</th>
                    <th nzWidth="130px">静配编码</th>
                    <th nzWidth="130px">签收时间
                      <!-- 9 -->
                    </th>
                    <th nzWidth="130px">签收人</th>
                    <th nzWidth="130px">申请科室ID</th>
                    <th nzWidth="130px">创建时间
                      <!-- 12 -->
                    </th>
                    <th nzWidth="130px">发药科室ID</th>
                    <th nzWidth="130px">静配状态ID</th>
                    <th nzWidth="130px">院区ID</th>
                    <th nzWidth="130px">真·静配编码</th>
                    <th nzWidth="130px">患者编码</th>
                    <th nzWidth="130px">患者名称</th>
                    <th nzWidth="130px">静配信息</th>
                    <th nzWidth="130px">静配数量</th>
                    <th nzWidth="130px">静配ID</th>
                    <th nzWidth="130px">床号</th>
                  </tr>
                </thead>
                <tbody>
                  <tr *ngFor="let data of jpBagListTpl.data;let i = index">
                    <td>{{i+1}}</td>
                    <td *ngFor="let item of [].constructor(data.length);let index=index">
                      <ng-container *ngIf="(index===9||index===12); else jpBagListBlock">
                        {{data[index]|date:'yyyy-MM-dd HH:mm'}}
                      </ng-container>
                      <ng-template #jpBagListBlock>
                        {{data[index]}}
                      </ng-template>
                    </td>
                  </tr>
                </tbody>
              </nz-table>
            </div>
            <!-- 静配包日志 -->
            <div *ngSwitchCase="'jpBagLogs'" class="list-template__bottom">
              <nz-table class="list-template__nzTable" #jpBagLogsTpl [nzData]="panel.list" nzSize="middle"
                [nzFrontPagination]="false" [nzLoading]="loading1" [ngStyle]="{width:panel.list[0].length*130+292+'px'}">
                <thead>
                  <tr class="thead">
                    <th nzWidth="130px">序号</th>
                    <th nzWidth="130px">ID</th>
                    <th nzWidth="130px">创建时间</th>
                    <th nzWidth="130px">JSON数据</th>
                  </tr>
                </thead>
                <tbody>
                  <tr *ngFor="let data of jpBagLogsTpl.data;let i = index">
                    <td>{{i+1}}</td>
                    <td>{{data[0]}}</td>
                    <td>{{data[1]|date:'yyyy-MM-dd HH:mm'}}</td>
                    <td (click)="toJson(data[2])">{{data[2]}}</td>
                  </tr>
                </tbody>
              </nz-table>
            </div>
            <!-- 静配日志 -->
            <div *ngSwitchCase="'jpLogs'" class="list-template__bottom">
              <nz-table class="list-template__nzTable" #jpLogsTpl [nzData]="panel.list" nzSize="middle"
                [nzFrontPagination]="false" [nzLoading]="loading1" [ngStyle]="{width:panel.list[0].length*130+292+'px'}">
                <thead>
                  <tr class="thead">
                    <th nzWidth="130px">序号</th>
                    <th nzWidth="130px">ID</th>
                    <th nzWidth="130px">创建时间</th>
                    <th nzWidth="130px">JSON数据</th>
                  </tr>
                </thead>
                <tbody>
                  <tr *ngFor="let data of jpLogsTpl.data;let i = index">
                    <td>{{i+1}}</td>
                    <td>{{data[0]}}</td>
                    <td>{{data[1]|date:'yyyy-MM-dd HH:mm'}}</td>
                    <td (click)="toJson(data[2])">{{data[2]}}</td>
                  </tr>
                </tbody>
              </nz-table>
            </div>
            <!-- 原始数据日志 -->
            <div *ngSwitchCase="'dataSourceList'" class="list-template__bottom">
              <nz-table class="list-template__nzTable" #dataSourceTpl [nzData]="panel.list" nzSize="middle"
                [nzFrontPagination]="false" [nzLoading]="loading1" [ngStyle]="{width:panel.list[0].length*130+292+'px'}">
                <thead>
                  <tr class="thead">
                    <th nzWidth="110px">业务标识</th>
                    <th nzWidth="150px">时间</th>
                    <th nzWidth="800px">原始数据</th>
                    <th nzWidth="110px">优先级</th>
                    <th nzWidth="110px">状态标识</th>
                    <th nzWidth="150px">业务唯一标识</th>
                  </tr>
                </thead>
                <tbody>
                  <tr *ngFor="let data of dataSourceTpl.data;let i = index">
                    <td>{{data[5]}}</td>
                    <td>{{data[1]|date:'yyyy-MM-dd HH:mm:ss'}}</td>
                    <td (click)="toSource(data[2], '原始数据')" class="wordBreak">{{data[2]}}</td>
                    <td>{{data[3]}}</td>
                    <td>{{data[4]}}</td>
                    <td>{{data[6]}}</td>
                  </tr>
                </tbody>
              </nz-table>
            </div>
          </ng-container>
        </app-collapse-panel>
      </app-collapse>
    </ng-container>
    <div class="modal display_flex justify-content_flex-center align-items_center list-template__bottom"
      *ngIf="loading1">
      <div class="txtC" style="text-align: center;">
        <img src="../../../assets/images/loading.gif" alt="">
        <div>加载中...</div>
      </div>
    </div>
  </div>
</div>
