|
@@ -86,88 +86,79 @@
|
|
|
|
|
|
<nz-table
|
|
|
#basicTable
|
|
|
- [nzData]="courses"
|
|
|
+ [nzData]="opinions"
|
|
|
[nzScroll]="{ x: (maxWidth || '1200') + 'px' }"
|
|
|
>
|
|
|
<thead>
|
|
|
<tr>
|
|
|
<th nzWidth="80px" nzLeft nzAlign="right">序号</th>
|
|
|
- <th nzWidth="120px">出版时间</th>
|
|
|
- <th nzWidth="100px">字数</th>
|
|
|
- <th nzWidth="100px">重印次数</th>
|
|
|
- <th nzWidth="100px">本版总印数</th>
|
|
|
- <th nzWidth="200px">获奖励情况</th>
|
|
|
+ <th nzWidth="120px">姓名</th>
|
|
|
+ <th nzWidth="120px">单位</th>
|
|
|
+ <th nzWidth="120px">出生年月</th>
|
|
|
+ <th nzWidth="120px">国籍</th>
|
|
|
+ <th nzWidth="120px" nzRight>
|
|
|
+ <nz-form-label [nzNoColon]="true" nzRequired
|
|
|
+ >作者政治审查表</nz-form-label
|
|
|
+ >
|
|
|
+ </th>
|
|
|
<th nzWidth="80px" nzRight>操作</th>
|
|
|
</tr>
|
|
|
</thead>
|
|
|
<tbody>
|
|
|
- @for (data of courses; track $index) {
|
|
|
+ @for (data of opinions; track $index) {
|
|
|
<tr>
|
|
|
<td nzLeft nzAlign="right">{{ $index + 1 }}</td>
|
|
|
<td>
|
|
|
- <nz-date-picker
|
|
|
- nzMode="month"
|
|
|
+ <input
|
|
|
+ nz-input
|
|
|
+ type="number"
|
|
|
+ placeholder="请填写作者姓名"
|
|
|
[ngModelOptions]="{ standalone: true }"
|
|
|
- [(ngModel)]="data.date"
|
|
|
- ></nz-date-picker>
|
|
|
- </td>
|
|
|
- <td>
|
|
|
- <nz-input-group
|
|
|
- style="width: 100%"
|
|
|
- [nzSuffix]="suffixTemplateInfo"
|
|
|
- >
|
|
|
- <input
|
|
|
- type="number"
|
|
|
- [(ngModel)]="data.wordage"
|
|
|
- nz-input
|
|
|
- placeholder="请输入字数"
|
|
|
- [ngModelOptions]="{ standalone: true }"
|
|
|
- />
|
|
|
- </nz-input-group>
|
|
|
- <ng-template #suffixTemplateInfo>万</ng-template>
|
|
|
+ [(ngModel)]="data.name"
|
|
|
+ nzStatus=""
|
|
|
+ />
|
|
|
</td>
|
|
|
<td>
|
|
|
- <nz-input-group
|
|
|
- style="width: 100%"
|
|
|
- [nzSuffix]="suffixTemplateInfo2"
|
|
|
- >
|
|
|
- <input
|
|
|
- type="number"
|
|
|
- [(ngModel)]="data.num"
|
|
|
- nz-input
|
|
|
- placeholder="请输入重印次数"
|
|
|
- [ngModelOptions]="{ standalone: true }"
|
|
|
- />
|
|
|
- </nz-input-group>
|
|
|
- <ng-template #suffixTemplateInfo2>次</ng-template>
|
|
|
+ <input
|
|
|
+ nz-input
|
|
|
+ type="number"
|
|
|
+ placeholder="请填写作者单位"
|
|
|
+ [ngModelOptions]="{ standalone: true }"
|
|
|
+ [(ngModel)]="data.unit"
|
|
|
+ nzStatus=""
|
|
|
+ />
|
|
|
</td>
|
|
|
<td>
|
|
|
- <nz-input-group
|
|
|
- style="width: 100%"
|
|
|
- [nzSuffix]="suffixTemplateInfo"
|
|
|
- >
|
|
|
- <input
|
|
|
- type="number"
|
|
|
- [(ngModel)]="data.sumNum"
|
|
|
- nz-input
|
|
|
- placeholder="请输入本版总印数"
|
|
|
- [ngModelOptions]="{ standalone: true }"
|
|
|
- />
|
|
|
- </nz-input-group>
|
|
|
- <ng-template #suffixTemplateInfo>万</ng-template>
|
|
|
+ <nz-date-picker
|
|
|
+ nzMode="month"
|
|
|
+ [ngModelOptions]="{ standalone: true }"
|
|
|
+ [(ngModel)]="data.birth"
|
|
|
+ ></nz-date-picker>
|
|
|
</td>
|
|
|
<td>
|
|
|
<input
|
|
|
nz-input
|
|
|
type="number"
|
|
|
- placeholder="请输入所获奖项"
|
|
|
+ placeholder="请填写作者国籍"
|
|
|
[ngModelOptions]="{ standalone: true }"
|
|
|
- [(ngModel)]="data.accolade"
|
|
|
+ [(ngModel)]="data.nationality"
|
|
|
nzStatus=""
|
|
|
/>
|
|
|
</td>
|
|
|
<td nzRight>
|
|
|
- <a class="edit-icon" (click)="onPush($index)"
|
|
|
+ <nz-upload
|
|
|
+ formControlName="textbookFiles"
|
|
|
+ nzAction="https://www.mocky.io/v2/5cc8019d300000980a055e76"
|
|
|
+ [nzHeaders]="{ authorization: 'authorization-text' }"
|
|
|
+ (nzChange)="handleChange($event)"
|
|
|
+ >
|
|
|
+ <div style="color: #3e49b3">
|
|
|
+ <span nz-icon nzType="upload"></span>上传文件
|
|
|
+ </div>
|
|
|
+ </nz-upload>
|
|
|
+ </td>
|
|
|
+ <td nzRight>
|
|
|
+ <a class="edit-icon" (click)="onPush('opinions', $index)"
|
|
|
><span
|
|
|
nz-icon
|
|
|
style="font-size: 20px; margin-right: 10px"
|
|
@@ -175,7 +166,7 @@
|
|
|
nzTheme="outline"
|
|
|
></span
|
|
|
></a>
|
|
|
- <a class="edit-icon" (click)="onDel($index)"
|
|
|
+ <a class="edit-icon" (click)="onDel('opinions', $index)"
|
|
|
><span
|
|
|
nz-icon
|
|
|
style="font-size: 20px"
|
|
@@ -322,7 +313,7 @@
|
|
|
</div>
|
|
|
<div class="author-content">
|
|
|
<div class="nav">教材作者诚信承诺</div>
|
|
|
- <div class="text">请输入作者诚信承诺文字内容,并上传所有作者签名</div>
|
|
|
+ <div class="text">请填写作者诚信承诺文字内容,并上传所有作者签名</div>
|
|
|
<nz-form-item class="row" style="margin-bottom: 16px">
|
|
|
<nz-form-label
|
|
|
class="label"
|
|
@@ -330,16 +321,16 @@
|
|
|
[nzSm]="16"
|
|
|
[nzXs]="16"
|
|
|
nzRequired
|
|
|
- >输入诚信承诺:本人自愿参加此次申报,已认真填写并检查以上材料,保证内容真实</nz-form-label
|
|
|
+ >填写诚信承诺:本人自愿参加此次申报,已认真填写并检查以上材料,保证内容真实</nz-form-label
|
|
|
>
|
|
|
<nz-form-control
|
|
|
class="val"
|
|
|
- nzErrorTip="请输入承诺内容"
|
|
|
+ nzErrorTip="请填写承诺内容"
|
|
|
style="width: 450px"
|
|
|
>
|
|
|
<input
|
|
|
formControlName="links"
|
|
|
- placeholder="请输入承诺内容"
|
|
|
+ placeholder="请填写承诺内容"
|
|
|
nz-input
|
|
|
/>
|
|
|
</nz-form-control>
|
|
@@ -356,88 +347,79 @@
|
|
|
>
|
|
|
<nz-table
|
|
|
#basicTable
|
|
|
- [nzData]="courses"
|
|
|
+ [nzData]="authorSign"
|
|
|
[nzScroll]="{ x: (maxWidth || '1200') + 'px' }"
|
|
|
>
|
|
|
<thead>
|
|
|
<tr>
|
|
|
<th nzWidth="80px" nzLeft nzAlign="right">序号</th>
|
|
|
- <th nzWidth="120px">出版时间</th>
|
|
|
- <th nzWidth="100px">字数</th>
|
|
|
- <th nzWidth="100px">重印次数</th>
|
|
|
- <th nzWidth="100px">本版总印数</th>
|
|
|
- <th nzWidth="200px">获奖励情况</th>
|
|
|
+ <th nzWidth="120px">姓名</th>
|
|
|
+ <th nzWidth="120px">单位</th>
|
|
|
+ <th nzWidth="120px">出生年月</th>
|
|
|
+ <th nzWidth="120px">国籍</th>
|
|
|
+ <th nzWidth="120px" nzRight>
|
|
|
+ <nz-form-label [nzNoColon]="true" nzRequired
|
|
|
+ >作者政治审查表</nz-form-label
|
|
|
+ >
|
|
|
+ </th>
|
|
|
<th nzWidth="80px" nzRight>操作</th>
|
|
|
</tr>
|
|
|
</thead>
|
|
|
<tbody>
|
|
|
- @for (data of courses; track $index) {
|
|
|
+ @for (data of authorSign; track $index) {
|
|
|
<tr>
|
|
|
<td nzLeft nzAlign="right">{{ $index + 1 }}</td>
|
|
|
<td>
|
|
|
- <nz-date-picker
|
|
|
- nzMode="month"
|
|
|
+ <input
|
|
|
+ nz-input
|
|
|
+ type="number"
|
|
|
+ placeholder="请填写作者姓名"
|
|
|
[ngModelOptions]="{ standalone: true }"
|
|
|
- [(ngModel)]="data.date"
|
|
|
- ></nz-date-picker>
|
|
|
- </td>
|
|
|
- <td>
|
|
|
- <nz-input-group
|
|
|
- style="width: 100%"
|
|
|
- [nzSuffix]="suffixTemplateInfo"
|
|
|
- >
|
|
|
- <input
|
|
|
- type="number"
|
|
|
- [(ngModel)]="data.wordage"
|
|
|
- nz-input
|
|
|
- placeholder="请输入字数"
|
|
|
- [ngModelOptions]="{ standalone: true }"
|
|
|
- />
|
|
|
- </nz-input-group>
|
|
|
- <ng-template #suffixTemplateInfo>万</ng-template>
|
|
|
+ [(ngModel)]="data.name"
|
|
|
+ nzStatus=""
|
|
|
+ />
|
|
|
</td>
|
|
|
<td>
|
|
|
- <nz-input-group
|
|
|
- style="width: 100%"
|
|
|
- [nzSuffix]="suffixTemplateInfo2"
|
|
|
- >
|
|
|
- <input
|
|
|
- type="number"
|
|
|
- [(ngModel)]="data.num"
|
|
|
- nz-input
|
|
|
- placeholder="请输入重印次数"
|
|
|
- [ngModelOptions]="{ standalone: true }"
|
|
|
- />
|
|
|
- </nz-input-group>
|
|
|
- <ng-template #suffixTemplateInfo2>次</ng-template>
|
|
|
+ <input
|
|
|
+ nz-input
|
|
|
+ type="number"
|
|
|
+ placeholder="请填写作者单位"
|
|
|
+ [ngModelOptions]="{ standalone: true }"
|
|
|
+ [(ngModel)]="data.unit"
|
|
|
+ nzStatus=""
|
|
|
+ />
|
|
|
</td>
|
|
|
<td>
|
|
|
- <nz-input-group
|
|
|
- style="width: 100%"
|
|
|
- [nzSuffix]="suffixTemplateInfo"
|
|
|
- >
|
|
|
- <input
|
|
|
- type="number"
|
|
|
- [(ngModel)]="data.sumNum"
|
|
|
- nz-input
|
|
|
- placeholder="请输入本版总印数"
|
|
|
- [ngModelOptions]="{ standalone: true }"
|
|
|
- />
|
|
|
- </nz-input-group>
|
|
|
- <ng-template #suffixTemplateInfo>万</ng-template>
|
|
|
+ <nz-date-picker
|
|
|
+ nzMode="month"
|
|
|
+ [ngModelOptions]="{ standalone: true }"
|
|
|
+ [(ngModel)]="data.birth"
|
|
|
+ ></nz-date-picker>
|
|
|
</td>
|
|
|
<td>
|
|
|
<input
|
|
|
nz-input
|
|
|
type="number"
|
|
|
- placeholder="请输入所获奖项"
|
|
|
+ placeholder="请填写作者国籍"
|
|
|
[ngModelOptions]="{ standalone: true }"
|
|
|
- [(ngModel)]="data.accolade"
|
|
|
+ [(ngModel)]="data.nationality"
|
|
|
nzStatus=""
|
|
|
/>
|
|
|
</td>
|
|
|
<td nzRight>
|
|
|
- <a class="edit-icon" (click)="onPush($index)"
|
|
|
+ <nz-upload
|
|
|
+ formControlName="textbookFiles"
|
|
|
+ nzAction="https://www.mocky.io/v2/5cc8019d300000980a055e76"
|
|
|
+ [nzHeaders]="{ authorization: 'authorization-text' }"
|
|
|
+ (nzChange)="handleChange($event)"
|
|
|
+ >
|
|
|
+ <div style="color: #3e49b3">
|
|
|
+ <span nz-icon nzType="upload"></span>上传文件
|
|
|
+ </div>
|
|
|
+ </nz-upload>
|
|
|
+ </td>
|
|
|
+ <td nzRight>
|
|
|
+ <a class="edit-icon" (click)="onPush('authorSign', $index)"
|
|
|
><span
|
|
|
nz-icon
|
|
|
style="font-size: 20px; margin-right: 10px"
|
|
@@ -445,7 +427,7 @@
|
|
|
nzTheme="outline"
|
|
|
></span
|
|
|
></a>
|
|
|
- <a class="edit-icon" (click)="onDel($index)"
|
|
|
+ <a class="edit-icon" (click)="onDel('authorSign', $index)"
|
|
|
><span
|
|
|
nz-icon
|
|
|
style="font-size: 20px"
|
|
@@ -507,7 +489,13 @@
|
|
|
>
|
|
|
保存本页
|
|
|
</button>
|
|
|
- <button nz-button nzType="primary" (click)="submitForm('next')">
|
|
|
- 下一页
|
|
|
+ <button
|
|
|
+ nz-button
|
|
|
+ nzType="default"
|
|
|
+ style="margin-right: 20px"
|
|
|
+ (click)="submitForm('pre')"
|
|
|
+ >
|
|
|
+ 上一步
|
|
|
</button>
|
|
|
+ <button nz-button nzType="primary" (click)="submitForm('complete')">完成</button>
|
|
|
</div>
|