|
@@ -182,7 +182,7 @@ export class BasicInComponent implements OnInit {
|
|
|
// this.eduTextbook?.set('typeNumber', this.typeNumber);
|
|
|
if (!this.eduTextbook?.get('code')) {
|
|
|
let t =
|
|
|
- this.tbookSer.formatTime('YYYYmmdd', new Date()) +
|
|
|
+ this.tbookSer.formatTime('YYYYmmddHHMMSS', new Date()) +
|
|
|
Math.random().toString().slice(-4);
|
|
|
this.eduTextbook.set('code', t);
|
|
|
}
|
|
@@ -226,6 +226,7 @@ export class BasicInComponent implements OnInit {
|
|
|
if(isComplete){
|
|
|
this.eduTextbook.set('complete', true)
|
|
|
}
|
|
|
+ this.eduTextbook.set('exportPDF', null)//重置导出文件地址
|
|
|
await this.eduTextbook?.save();
|
|
|
this.saveLoading = false;
|
|
|
if (!isComplete) {
|