Commit b6c88b58 authored by wangqinghua's avatar wangqinghua

style update

parent 3c6b3258
......@@ -92,4 +92,11 @@ export class CommonProblemComponent implements OnInit {
this.commonSer.previewFile(item.view);
}
previewOffice(item){
this.workSer.previewOffice(item.id).subscribe(
(res) => {
}
);
}
}
......@@ -320,4 +320,8 @@ export class WorkService {
dowloadTemplateByProperty(params): Observable<any> {
return this.http.get(SERVER_API_URL + '/property/dowloadTemplate/' + params, {responseType: 'blob'});
}
previewOffice(params): Observable<any> {
return this.http.get(SERVER_API_URL + '/knowledge/previewOffice/' + params, {responseType: 'blob'});
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment