|
@@ -432,6 +432,10 @@ export class TextbookComponent implements OnInit {
|
|
}
|
|
}
|
|
//提交教材
|
|
//提交教材
|
|
async submit(data?: Parse.Object) {
|
|
async submit(data?: Parse.Object) {
|
|
|
|
+ if(!this.tbookSer?.profile?.user?.department?.objectId){
|
|
|
|
+ this.message.error('当前账号暂未绑定所属单位')
|
|
|
|
+ return
|
|
|
|
+ }
|
|
let parentMap = await this.tbookSer.formatNode(
|
|
let parentMap = await this.tbookSer.formatNode(
|
|
this.tbookSer?.profile?.user?.department?.objectId
|
|
this.tbookSer?.profile?.user?.department?.objectId
|
|
);
|
|
);
|