owl-cli 6.57.0 → 6.58.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -29,13 +29,13 @@ function main(){
29
29
  pageId:'tasks/exportWithTemplateTask.jsx',
30
30
  state:'notstart',
31
31
  params:JSON.stringify({
32
- ids:id,
32
+ id:id,
33
33
  templateId:templateId
34
34
  })
35
35
  };
36
36
  owl_task_infoService.add(taskInfo);
37
37
  var taskInfoId = taskInfo.id;
38
- var taskId = JobsService.submitExportTask('@projectCode', 'tasks/exportWithTemplateTask.jsx',{
38
+ JobsService.submitExportTask('@projectCode', 'tasks/exportWithTemplateTask.jsx',{
39
39
  id:id,
40
40
  templateId:templateId,
41
41
  taskInfoId:"" + taskInfoId
@@ -43,7 +43,7 @@ function main(){
43
43
 
44
44
  var ret = {
45
45
  state:'ok',
46
- taskInfoId : taskId
46
+ taskInfoId : taskInfoId
47
47
  }
48
48
 
49
49
  out.print(JSON.stringify(ret));
@@ -96,9 +96,9 @@ function getExportDoc(obj){
96
96
  docName = pname;
97
97
  }
98
98
  doc[template.toField] = {
99
- url:url,
100
- fileId:fileId,
101
- name:docName
99
+ url: "" + url,
100
+ fileId: "" + fileId,
101
+ name:"" + docName
102
102
  }
103
103
  @projectCodeService.update(doc);
104
104
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "owl-cli",
3
- "version": "6.57.0",
3
+ "version": "6.58.0",
4
4
  "main": "index.js",
5
5
  "preferGlobal": true,
6
6
  "bin": {