<nz-layout>

  <nz-card class="ctx-card" nzTitle="基本信息">
    <nz-descriptions><% fieldList.forEach(function(field) { %><% if (field.controlType === 'inputNumber') { %>
      <nz-descriptions-item nzTitle="<%= field.name %>">{{ <%= getCamelCase(name) %>?.<%= getCamelCase(field.key) %> | number:'1.0-3' | nzSafeNull:'-' }}</nz-descriptions-item><% } else if (field.controlType === 'switch') { %>
      <nz-descriptions-item nzTitle="<%= field.name %>">{{ <%= getCamelCase(name) %>?.<%= getCamelCase(field.key) %> === true ? '是' : <%= getCamelCase(name) %>?.<%= getCamelCase(field.key) %> === false ? '否' : '-' }}</nz-descriptions-item><% } else if (field.controlType === 'datetimePicker') { %>
      <nz-descriptions-item nzTitle="<%= field.name %>">{{ <%= getCamelCase(name) %>?.<%= getCamelCase(field.key) %> | date:'yyyy-MM-dd HH:mm:ss' | nzSafeNull:'-' }}</nz-descriptions-item><% } else { %>
      <nz-descriptions-item nzTitle="<%= field.name %>">{{ <%= getCamelCase(name) %>?.<%= getCamelCase(field.key) %> | nzSafeNull:'-' }}</nz-descriptions-item><% } %><% }) %>
    </nz-descriptions>
  </nz-card>

</nz-layout>
