您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

75 行
1.7KB

  1. {
  2. "formMode":"batch",
  3. "fields":[
  4. {
  5. "tmplType":"sample_id",
  6. "type":"number",
  7. "label":"Sample ID",
  8. "name":"sample_id",
  9. "question":"How many samples? For auto generating sample id.",
  10. "placeholder":"How many samples? For auto generating sample id.",
  11. "model":"sample_id",
  12. "disabled":false,
  13. "min":1,
  14. "max":10,
  15. "config":{
  16. "rules":[
  17. {
  18. "type":"number",
  19. "required":true,
  20. "message":"Please input a number."
  21. }
  22. ]
  23. }
  24. },
  25. {
  26. "tmplType":"file",
  27. "label":"Read1 Files",
  28. "model":"read1",
  29. "readOnly":false,
  30. "multiple":true,
  31. "filterType":"fastq|fastq.gz|fq|fq.gz",
  32. "placeholder":"Select files for read1.",
  33. "config":{
  34. "rules":[
  35. {
  36. "type":"array",
  37. "required":true,
  38. "message":"Please select files for read1."
  39. }
  40. ]
  41. }
  42. },
  43. {
  44. "tmplType":"file",
  45. "label":"Read2 Files",
  46. "model":"read2",
  47. "readOnly":false,
  48. "multiple":true,
  49. "filterType":"fastq|fastq.gz|fq|fq.gz",
  50. "placeholder":"Select files for read2.",
  51. "config":{
  52. "rules":[
  53. {
  54. "type":"array",
  55. "required":true,
  56. "message":"Please select files for read2."
  57. }
  58. ]
  59. }
  60. },
  61. {
  62. "tmplType":"actions",
  63. "buttons":[
  64. {"type":"cancel","buttonType":"default","buttonLabel":"Previous Step"},
  65. {
  66. "type":"submit",
  67. "buttonType":"primary",
  68. "buttonLabel":"Next Step",
  69. "validate":true
  70. }
  71. ]
  72. }
  73. ]
  74. }