|
@@ -184,68 +184,33 @@
|
|
|
<nz-table
|
|
|
#basicTable
|
|
|
[nzShowPagination]="false"
|
|
|
- [nzData]="textBook.authorList"
|
|
|
+ [nzData]="textBook.achievementOptions"
|
|
|
[nzScroll]="{ x: (templ1.style.width || '1000') + 'px', y: '240px' }"
|
|
|
>
|
|
|
<thead>
|
|
|
<tr>
|
|
|
<th nzWidth="80px" nzLeft nzAlign="right">序号</th>
|
|
|
- <th nzWidth="220px" nzLeft>名称</th>
|
|
|
- <th nzWidth="180px">来源/出版单位</th>
|
|
|
- <th nzWidth="120px">时间</th>
|
|
|
- <th nzWidth="80px" nzRight>操作</th>
|
|
|
+ <th nzWidth="160px" nzLeft>名称</th>
|
|
|
+ <th nzWidth="160px">来源/出版单位</th>
|
|
|
+ <th nzWidth="80px">时间</th>
|
|
|
</tr>
|
|
|
</thead>
|
|
|
- <!-- <tbody>
|
|
|
- @for (data of achievementOptions; track data.name;let index = $index) {
|
|
|
+ <tbody>
|
|
|
+ @for (data of textBook.achievementOptions; track data.name;let index = $index) {
|
|
|
<tr>
|
|
|
<td nzLeft nzAlign="right">{{ index + 1 }}</td>
|
|
|
<td nzLeft>
|
|
|
- <input
|
|
|
- nz-input
|
|
|
- placeholder="请输入项目/成果/论文名称"
|
|
|
- [ngModelOptions]="{ standalone: true }"
|
|
|
- [(ngModel)]="data.name"
|
|
|
- nzStatus=""
|
|
|
- />
|
|
|
+ {{data.name}}
|
|
|
</td>
|
|
|
<td>
|
|
|
- <input
|
|
|
- nz-input
|
|
|
- placeholder="请输入单位名称"
|
|
|
- [ngModelOptions]="{ standalone: true }"
|
|
|
- [(ngModel)]="data.unit"
|
|
|
- nzStatus=""
|
|
|
- />
|
|
|
+ {{data.unit}}
|
|
|
</td>
|
|
|
<td>
|
|
|
- <nz-date-picker
|
|
|
- nzMode="month"
|
|
|
- [ngModelOptions]="{ standalone: true }"
|
|
|
- [(ngModel)]="data.date"
|
|
|
- ></nz-date-picker>
|
|
|
- </td>
|
|
|
- <td nzRight>
|
|
|
- <a (click)="onPush('achievementOptions',index)"
|
|
|
- ><span
|
|
|
- nz-icon
|
|
|
- style="font-size: 20px; margin-right: 10px"
|
|
|
- nzType="plus-circle"
|
|
|
- nzTheme="outline"
|
|
|
- ></span
|
|
|
- ></a>
|
|
|
- <a (click)="onDel('achievementOptions',index)"
|
|
|
- ><span
|
|
|
- nz-icon
|
|
|
- style="font-size: 20px"
|
|
|
- nzType="delete"
|
|
|
- nzTheme="outline"
|
|
|
- ></span
|
|
|
- ></a>
|
|
|
+ {{ data.date | date : "yyyy-MM" }}
|
|
|
</td>
|
|
|
</tr>
|
|
|
}
|
|
|
- </tbody> -->
|
|
|
+ </tbody>
|
|
|
</nz-table>
|
|
|
</div>
|
|
|
</div>
|