zentao-api 0.8.0 → 0.8.1

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.
@@ -1120,7 +1120,7 @@ export const BUILTIN_MODULES = [
1120
1120
  ]
1121
1121
  },
1122
1122
  example: {
1123
- "realEnd": "2026-10-14"
1123
+ "realEnd": "2026-10-16"
1124
1124
  },
1125
1125
  },
1126
1126
  }, {
@@ -1430,8 +1430,8 @@ export const BUILTIN_MODULES = [
1430
1430
  "probability": 3,
1431
1431
  "rate": 9,
1432
1432
  "pri": 2,
1433
- "identifiedDate": "2026-10-14",
1434
- "plannedClosedDate": "2026-11-03",
1433
+ "identifiedDate": "2026-10-16",
1434
+ "plannedClosedDate": "2026-11-05",
1435
1435
  "assignedTo": "admin",
1436
1436
  "prevention": "<p>提前识别并跟踪。</p>",
1437
1437
  "remedy": "<p>出现风险后及时响应。</p>"
@@ -6082,8 +6082,8 @@ export const BUILTIN_MODULES = [
6082
6082
  "project": 2,
6083
6083
  "execution": 3,
6084
6084
  "name": "项目周会",
6085
- "begin": "2026-10-15 09:00",
6086
- "end": "2026-10-15 10:00",
6085
+ "begin": "2026-10-17 09:00",
6086
+ "end": "2026-10-17 10:00",
6087
6087
  "mode": "online",
6088
6088
  "host": "admin",
6089
6089
  "participant": [
@@ -6181,8 +6181,8 @@ export const BUILTIN_MODULES = [
6181
6181
  },
6182
6182
  example: {
6183
6183
  "name": "项目周会",
6184
- "begin": "2026-10-15 09:30",
6185
- "end": "2026-10-15 10:30",
6184
+ "begin": "2026-10-17 09:30",
6185
+ "end": "2026-10-17 10:30",
6186
6186
  "mode": "online",
6187
6187
  "host": "admin",
6188
6188
  "participant": [
@@ -6531,7 +6531,7 @@ export const BUILTIN_MODULES = [
6531
6531
  ]
6532
6532
  },
6533
6533
  example: {
6534
- "date": "2026-10-14",
6534
+ "date": "2026-10-16",
6535
6535
  "name": "从反馈创建的待办"
6536
6536
  },
6537
6537
  },
@@ -7343,8 +7343,8 @@ export const BUILTIN_MODULES = [
7343
7343
  "productID": 1,
7344
7344
  "integrated": 0,
7345
7345
  "children": [],
7346
- "name": "smart-20261014045806",
7347
- "desc": "smart-20261014045806"
7346
+ "name": "smart-20261016055323",
7347
+ "desc": "smart-20261016055323"
7348
7348
  },
7349
7349
  },
7350
7350
  }, {
@@ -7386,9 +7386,9 @@ export const BUILTIN_MODULES = [
7386
7386
  ]
7387
7387
  },
7388
7388
  example: {
7389
- "name": "smart-20261014045806-updated",
7389
+ "name": "smart-20261016055323-updated",
7390
7390
  "children": [],
7391
- "desc": "smart-20261014045806-updated"
7391
+ "desc": "smart-20261016055323-updated"
7392
7392
  },
7393
7393
  },
7394
7394
  }
@@ -10957,46 +10957,70 @@ export const BUILTIN_MODULES = [
10957
10957
  resultGetter: 'todos',
10958
10958
  params: [
10959
10959
  {
10960
- name: 'status',
10961
- required: false,
10962
- type: 'string',
10963
- description: '待办状态;browseType=undone 时传 undone。',
10960
+ "name": "status",
10961
+ "required": false,
10962
+ "type": "string",
10963
+ "description": "待办状态;browseType=undone 时传 undone。"
10964
10964
  },
10965
10965
  {
10966
- name: 'browseType',
10967
- required: false,
10968
- type: 'string',
10969
- description: '状态,默认是all',
10970
- defaultValue: 'all',
10971
- options: [
10972
- { value: 'all', label: '全部' },
10973
- { value: 'today', label: '今天' },
10974
- { value: 'thisWeek', label: '本周' },
10975
- { value: 'thisMonth', label: '本月' },
10976
- { value: 'future', label: '将来' },
10977
- { value: 'undone', label: '未完成,需同时传 status=undone' },
10978
- { value: 'cycle', label: '周期待办' },
10979
- { value: 'assignedToOther', label: '指派他人' },
10980
- ],
10966
+ "name": "browseType",
10967
+ "required": false,
10968
+ "type": "string",
10969
+ "description": "状态,默认是all",
10970
+ "defaultValue": "all",
10971
+ "options": [
10972
+ {
10973
+ "value": "all",
10974
+ "label": "全部"
10975
+ },
10976
+ {
10977
+ "value": "today",
10978
+ "label": "今天"
10979
+ },
10980
+ {
10981
+ "value": "thisWeek",
10982
+ "label": "本周"
10983
+ },
10984
+ {
10985
+ "value": "thisMonth",
10986
+ "label": "本月"
10987
+ },
10988
+ {
10989
+ "value": "future",
10990
+ "label": "将来"
10991
+ },
10992
+ {
10993
+ "value": "undone",
10994
+ "label": "未完成,需同时传 status=undone"
10995
+ },
10996
+ {
10997
+ "value": "cycle",
10998
+ "label": "周期待办"
10999
+ },
11000
+ {
11001
+ "value": "assignedToOther",
11002
+ "label": "指派他人"
11003
+ }
11004
+ ]
10981
11005
  },
10982
11006
  {
10983
- name: 'orderBy',
10984
- required: false,
10985
- type: 'string',
10986
- description: '排序(date_desc,status,begin 日期/状态/开始时间)',
11007
+ "name": "orderBy",
11008
+ "required": false,
11009
+ "type": "string",
11010
+ "description": "排序(date_desc,status,begin 日期/状态/开始时间)"
10987
11011
  },
10988
11012
  {
10989
- name: 'recPerPage',
10990
- required: false,
10991
- type: 'number',
10992
- description: '每页数量,不超过1000',
11013
+ "name": "recPerPage",
11014
+ "required": false,
11015
+ "type": "number",
11016
+ "description": "每页数量,不超过1000"
10993
11017
  },
10994
11018
  {
10995
- name: 'pageID',
10996
- required: false,
10997
- type: 'number',
10998
- description: '页码,从第1页开始',
10999
- },
11019
+ "name": "pageID",
11020
+ "required": false,
11021
+ "type": "number",
11022
+ "description": "页码,从第1页开始"
11023
+ }
11000
11024
  ],
11001
11025
  }, {
11002
11026
  name: 'tasks',
@@ -11010,74 +11034,128 @@ export const BUILTIN_MODULES = [
11010
11034
  resultGetter: 'tasks',
11011
11035
  params: [
11012
11036
  {
11013
- name: 'param',
11014
- required: false,
11015
- type: 'string',
11016
- description: '搜索参数;browseType=bysearch 或 bySearch 时必填。',
11037
+ "name": "param",
11038
+ "required": false,
11039
+ "type": "string",
11040
+ "description": "搜索参数;browseType=bysearch 或 bySearch 时必填。"
11017
11041
  },
11018
11042
  {
11019
- name: 'browseType',
11020
- required: false,
11021
- type: 'string',
11022
- description: '状态,默认是assignedTo,取值区分大小写',
11023
- defaultValue: 'assignedTo',
11024
- options: [
11025
- { value: 'assignedTo', label: '指派给我' },
11026
- { value: 'openedBy', label: '由我创建' },
11027
- { value: 'finishedBy', label: '由我完成' },
11028
- { value: 'myInvolved', label: '由我参与' },
11029
- { value: 'closedBy', label: '由我关闭' },
11030
- { value: 'canceledBy', label: '由我取消' },
11031
- { value: 'assignedBy', label: '由我指派' },
11032
- { value: 'bysearch', label: '按查询搜索,需同时传 param' },
11033
- ],
11043
+ "name": "browseType",
11044
+ "required": false,
11045
+ "type": "string",
11046
+ "description": "状态,默认是assignedTo,取值区分大小写",
11047
+ "defaultValue": "assignedTo",
11048
+ "options": [
11049
+ {
11050
+ "value": "assignedTo",
11051
+ "label": "指派给我"
11052
+ },
11053
+ {
11054
+ "value": "openedBy",
11055
+ "label": "由我创建"
11056
+ },
11057
+ {
11058
+ "value": "finishedBy",
11059
+ "label": "由我完成"
11060
+ },
11061
+ {
11062
+ "value": "myInvolved",
11063
+ "label": "由我参与"
11064
+ },
11065
+ {
11066
+ "value": "closedBy",
11067
+ "label": "由我关闭"
11068
+ },
11069
+ {
11070
+ "value": "canceledBy",
11071
+ "label": "由我取消"
11072
+ },
11073
+ {
11074
+ "value": "assignedBy",
11075
+ "label": "由我指派"
11076
+ },
11077
+ {
11078
+ "value": "bysearch",
11079
+ "label": "按查询搜索,需同时传 param"
11080
+ }
11081
+ ]
11034
11082
  },
11035
11083
  {
11036
- name: 'orderBy',
11037
- required: false,
11038
- type: 'string',
11039
- description: '排序',
11040
- options: [
11041
- { value: 'id_asc', label: 'ID 升序' },
11042
- { value: 'id_desc', label: 'ID 降序' },
11043
- { value: 'name_asc', label: '名称 升序' },
11044
- { value: 'name_desc', label: '名称 降序' },
11045
- { value: 'status_asc', label: '状态 升序' },
11046
- { value: 'status_desc', label: '状态 降序' },
11047
- { value: 'pri_asc', label: '优先级 升序' },
11048
- { value: 'pri_desc', label: '优先级 降序' },
11049
- ],
11084
+ "name": "orderBy",
11085
+ "required": false,
11086
+ "type": "string",
11087
+ "description": "排序",
11088
+ "options": [
11089
+ {
11090
+ "value": "id_asc",
11091
+ "label": "ID 升序"
11092
+ },
11093
+ {
11094
+ "value": "id_desc",
11095
+ "label": "ID 降序"
11096
+ },
11097
+ {
11098
+ "value": "name_asc",
11099
+ "label": "名称 升序"
11100
+ },
11101
+ {
11102
+ "value": "name_desc",
11103
+ "label": "名称 降序"
11104
+ },
11105
+ {
11106
+ "value": "status_asc",
11107
+ "label": "状态 升序"
11108
+ },
11109
+ {
11110
+ "value": "status_desc",
11111
+ "label": "状态 降序"
11112
+ },
11113
+ {
11114
+ "value": "pri_asc",
11115
+ "label": "优先级 升序"
11116
+ },
11117
+ {
11118
+ "value": "pri_desc",
11119
+ "label": "优先级 降序"
11120
+ }
11121
+ ]
11050
11122
  },
11051
11123
  {
11052
- name: 'recPerPage',
11053
- required: false,
11054
- type: 'number',
11055
- description: '每页数量,不超过1000',
11124
+ "name": "recPerPage",
11125
+ "required": false,
11126
+ "type": "number",
11127
+ "description": "每页数量,不超过1000"
11056
11128
  },
11057
11129
  {
11058
- name: 'pageID',
11059
- required: false,
11060
- type: 'number',
11061
- description: '页码,从第1页开始',
11130
+ "name": "pageID",
11131
+ "required": false,
11132
+ "type": "number",
11133
+ "description": "页码,从第1页开始"
11062
11134
  },
11063
11135
  {
11064
- name: 'filters',
11065
- required: false,
11066
- type: 'array',
11067
- description: '搜索条件数组,每项包含 field/operator/value/join/group;field 必须是该接口支持的搜索字段,operator 使用该接口搜索配置支持的操作符。支持搜索字段:name(任务名称,示例:关键字);keywords(关键词,示例:关键字);id(编号,示例:1);status(任务状态,枚举:wait 未开始 | doing 进行中 | done 已完成 | pause 已暂停 | cancel 已取消 | closed 已关闭);desc(任务描述,示例:关键字);assignedTo(指派给,用户,示例:admin);pri(优先级,枚举:1 | 2 | 3 | 4);project(所属项目,示例:all);execution(所属执行,示例:all);module(所属模块,示例:all);estimate(最初预计,示例:关键字);left(预计剩余,示例:关键字);consumed(总计消耗,示例:关键字);type(任务类型,枚举:design 设计 | devel 开发 | request 需求 | test 测试 | study 研究 | discuss 讨论 | ui 界面 | affair 事务 | misc 其他);story(相关用户故事,示例:all);fromBug(来源Bug编号,枚举:design 设计 | devel 开发 | request 需求 | test 测试 | study 研究 | discuss 讨论 | ui 界面 | affair 事务 | misc 其他);closedReason(关闭原因,枚举:done 已完成 | cancel 已取消);openedBy(由谁创建,用户,示例:admin);finishedBy(由谁完成,用户,示例:admin);closedBy(由谁关闭,用户,示例:admin);canceledBy(由谁取消,用户,示例:admin);lastEditedBy(最后修改,用户,示例:admin);mailto(抄送给,用户,示例:admin);openedDate(创建日期,示例:2026-01-01);deadline(截止日期,示例:2026-01-01);estStarted(预计开始,示例:2026-01-01);realStarted(实际开始,示例:2026-01-01);assignedDate(指派日期,示例:2026-01-01);finishedDate(实际完成,示例:2026-01-01);closedDate(关闭时间,示例:2026-01-01);canceledDate(取消时间,示例:2026-01-01);lastEditedDate(最后修改日期,示例:2026-01-01);activatedDate(激活日期,示例:2026-01-01)',
11068
- style: 'deepObject',
11069
- explode: true,
11136
+ "name": "filters",
11137
+ "required": false,
11138
+ "type": "array",
11139
+ "description": "搜索条件数组,每项包含 field/operator/value/join/group;field 必须是该接口支持的搜索字段,operator 使用该接口搜索配置支持的操作符。支持搜索字段:name(任务名称,示例:关键字);keywords(关键词,示例:关键字);id(编号,示例:1);status(任务状态,枚举:wait 未开始 | doing 进行中 | done 已完成 | pause 已暂停 | cancel 已取消 | closed 已关闭);desc(任务描述,示例:关键字);assignedTo(指派给,用户,示例:admin);pri(优先级,枚举:1 | 2 | 3 | 4);project(所属项目,示例:all);execution(所属执行,示例:all);module(所属模块,示例:all);estimate(最初预计,示例:关键字);left(预计剩余,示例:关键字);consumed(总计消耗,示例:关键字);type(任务类型,枚举:design 设计 | devel 开发 | request 需求 | test 测试 | study 研究 | discuss 讨论 | ui 界面 | affair 事务 | misc 其他);story(相关用户故事,示例:all);fromBug(来源Bug编号,枚举:design 设计 | devel 开发 | request 需求 | test 测试 | study 研究 | discuss 讨论 | ui 界面 | affair 事务 | misc 其他);closedReason(关闭原因,枚举:done 已完成 | cancel 已取消);openedBy(由谁创建,用户,示例:admin);finishedBy(由谁完成,用户,示例:admin);closedBy(由谁关闭,用户,示例:admin);canceledBy(由谁取消,用户,示例:admin);lastEditedBy(最后修改,用户,示例:admin);mailto(抄送给,用户,示例:admin);openedDate(创建日期,示例:2026-01-01);deadline(截止日期,示例:2026-01-01);estStarted(预计开始,示例:2026-01-01);realStarted(实际开始,示例:2026-01-01);assignedDate(指派日期,示例:2026-01-01);finishedDate(实际完成,示例:2026-01-01);closedDate(关闭时间,示例:2026-01-01);canceledDate(取消时间,示例:2026-01-01);lastEditedDate(最后修改日期,示例:2026-01-01);activatedDate(激活日期,示例:2026-01-01)",
11140
+ "style": "deepObject",
11141
+ "explode": true
11070
11142
  },
11071
11143
  {
11072
- name: 'groupJoin',
11073
- required: false,
11074
- type: 'string',
11075
- description: '条件组之间的连接方式',
11076
- options: [
11077
- { value: 'and', label: 'and' },
11078
- { value: 'or', label: 'or' },
11079
- ],
11080
- },
11144
+ "name": "groupJoin",
11145
+ "required": false,
11146
+ "type": "string",
11147
+ "description": "条件组之间的连接方式",
11148
+ "options": [
11149
+ {
11150
+ "value": "and",
11151
+ "label": "and"
11152
+ },
11153
+ {
11154
+ "value": "or",
11155
+ "label": "or"
11156
+ }
11157
+ ]
11158
+ }
11081
11159
  ],
11082
11160
  }, {
11083
11161
  name: 'bugs',
@@ -11091,72 +11169,120 @@ export const BUILTIN_MODULES = [
11091
11169
  resultGetter: 'bugs',
11092
11170
  params: [
11093
11171
  {
11094
- name: 'param',
11095
- required: false,
11096
- type: 'string',
11097
- description: '搜索参数;browseType=bysearch 或 bySearch 时必填。',
11172
+ "name": "param",
11173
+ "required": false,
11174
+ "type": "string",
11175
+ "description": "搜索参数;browseType=bysearch 或 bySearch 时必填。"
11098
11176
  },
11099
11177
  {
11100
- name: 'browseType',
11101
- required: false,
11102
- type: 'string',
11103
- description: '状态,默认是assignedTo,取值取自 zt_bug 的字段名(区分大小写)',
11104
- defaultValue: 'assignedTo',
11105
- options: [
11106
- { value: 'assignedTo', label: '指派给我' },
11107
- { value: 'openedBy', label: '由我创建' },
11108
- { value: 'resolvedBy', label: '由我解决' },
11109
- { value: 'closedBy', label: '由我关闭' },
11110
- { value: 'assignedBy', label: '由我指派' },
11111
- { value: 'bysearch', label: '按查询搜索,需同时传 param' },
11112
- ],
11178
+ "name": "browseType",
11179
+ "required": false,
11180
+ "type": "string",
11181
+ "description": "状态,默认是assignedTo,取值取自 zt_bug 的字段名(区分大小写)",
11182
+ "defaultValue": "assignedTo",
11183
+ "options": [
11184
+ {
11185
+ "value": "assignedTo",
11186
+ "label": "指派给我"
11187
+ },
11188
+ {
11189
+ "value": "openedBy",
11190
+ "label": "由我创建"
11191
+ },
11192
+ {
11193
+ "value": "resolvedBy",
11194
+ "label": "由我解决"
11195
+ },
11196
+ {
11197
+ "value": "closedBy",
11198
+ "label": "由我关闭"
11199
+ },
11200
+ {
11201
+ "value": "assignedBy",
11202
+ "label": "由我指派"
11203
+ },
11204
+ {
11205
+ "value": "bysearch",
11206
+ "label": "按查询搜索,需同时传 param"
11207
+ }
11208
+ ]
11113
11209
  },
11114
11210
  {
11115
- name: 'orderBy',
11116
- required: false,
11117
- type: 'string',
11118
- description: '排序',
11119
- options: [
11120
- { value: 'id_asc', label: 'ID 升序' },
11121
- { value: 'id_desc', label: 'ID 降序' },
11122
- { value: 'title_asc', label: '标题 升序' },
11123
- { value: 'title_desc', label: '标题 降序' },
11124
- { value: 'status_asc', label: '状态 升序' },
11125
- { value: 'status_desc', label: '状态 降序' },
11126
- { value: 'severity_asc', label: '严重程度 升序' },
11127
- { value: 'severity_desc', label: '严重程度 降序' },
11128
- ],
11211
+ "name": "orderBy",
11212
+ "required": false,
11213
+ "type": "string",
11214
+ "description": "排序",
11215
+ "options": [
11216
+ {
11217
+ "value": "id_asc",
11218
+ "label": "ID 升序"
11219
+ },
11220
+ {
11221
+ "value": "id_desc",
11222
+ "label": "ID 降序"
11223
+ },
11224
+ {
11225
+ "value": "title_asc",
11226
+ "label": "标题 升序"
11227
+ },
11228
+ {
11229
+ "value": "title_desc",
11230
+ "label": "标题 降序"
11231
+ },
11232
+ {
11233
+ "value": "status_asc",
11234
+ "label": "状态 升序"
11235
+ },
11236
+ {
11237
+ "value": "status_desc",
11238
+ "label": "状态 降序"
11239
+ },
11240
+ {
11241
+ "value": "severity_asc",
11242
+ "label": "严重程度 升序"
11243
+ },
11244
+ {
11245
+ "value": "severity_desc",
11246
+ "label": "严重程度 降序"
11247
+ }
11248
+ ]
11129
11249
  },
11130
11250
  {
11131
- name: 'recPerPage',
11132
- required: false,
11133
- type: 'number',
11134
- description: '每页数量,不超过1000',
11251
+ "name": "recPerPage",
11252
+ "required": false,
11253
+ "type": "number",
11254
+ "description": "每页数量,不超过1000"
11135
11255
  },
11136
11256
  {
11137
- name: 'pageID',
11138
- required: false,
11139
- type: 'number',
11140
- description: '页码,从第1页开始',
11257
+ "name": "pageID",
11258
+ "required": false,
11259
+ "type": "number",
11260
+ "description": "页码,从第1页开始"
11141
11261
  },
11142
11262
  {
11143
- name: 'filters',
11144
- required: false,
11145
- type: 'array',
11146
- description: '搜索条件数组,每项包含 field/operator/value/join/group;field 必须是该接口支持的搜索字段,operator 使用该接口搜索配置支持的操作符。支持搜索字段:title(Bug标题,示例:关键字);module(所属模块,模块,示例:0);keywords(关键词,示例:关键字);steps(重现步骤,示例:关键字);assignedTo(指派给,用户,示例:admin);resolvedBy(解决者,用户,示例:admin);status(Bug状态,枚举:active 激活 | resolved 已解决 | closed 已关闭);confirmed(是否确认,枚举:1 已确认 | 0 未确认);story(相关需求,示例:关键字);project(所属项目,示例:all);product(所属产品,示例:all);branch(branch,示例:all);plan(所属计划,示例:all);id(Bug编号,示例:1);execution(所属执行,执行,示例:3);severity(严重程度,枚举:1 | 2 | 3 | 4);pri(优先级,枚举:1 | 2 | 3 | 4);type(Bug类型,枚举:codeerror 代码错误 | config 配置相关 | install 安装部署 | security 安全相关 | performance 性能问题 | standard 标准规范 | automation 测试脚本 | designdefect 设计缺陷 | codeimprovement 代码改进 | others 其他);os(操作系统,枚举:all 全部 | windows Windows | win11 Windows 11 | win10 Windows 10 | win8 Windows 8 | win7 Windows 7 | winxp Windows XP | osx Mac OS | android Android | ios IOS | linux Linux | ubuntu Ubuntu | chromeos Chrome OS | fedora Fedora | unix Unix | others 其他);browser(浏览器,枚举:all 全部 | chrome Chrome | edge Edge | ie IE系列 | ie11 IE11 | ie10 IE10 | ie9 IE9 | ie8 IE8 | firefox firefox系列 | opera Opera系列 | safari | 360 360浏览器 | qq QQ浏览器 | other 其他);resolution(解决方案,枚举:bydesign 设计如此 | duplicate 重复Bug | external 外部原因 | fixed 已解决 | notrepro 无法重现 | postponed 延期处理 | willnotfix 不予解决 | tostory 转为用户故事);activatedCount(激活次数,示例:关键字);toTask(转任务,示例:关键字);toStory(转用户故事,示例:关键字);openedBy(由谁创建,用户,示例:admin);closedBy(由谁关闭,用户,示例:admin);lastEditedBy(修改者,用户,示例:admin);mailto(抄送给,用户,示例:admin);openedBuild(影响版本,示例:builds);resolvedBuild(解决版本,示例:builds);openedDate(创建日期,示例:2026-01-01);assignedDate(指派日期,示例:2026-01-01);resolvedDate(解决日期,示例:2026-01-01);closedDate(关闭日期,示例:2026-01-01);lastEditedDate(修改日期,示例:2026-01-01);deadline(截止日期,示例:2026-01-01);activatedDate(激活时间,示例:2026-01-01)',
11147
- style: 'deepObject',
11148
- explode: true,
11263
+ "name": "filters",
11264
+ "required": false,
11265
+ "type": "array",
11266
+ "description": "搜索条件数组,每项包含 field/operator/value/join/group;field 必须是该接口支持的搜索字段,operator 使用该接口搜索配置支持的操作符。支持搜索字段:title(Bug标题,示例:关键字);module(所属模块,模块,示例:0);keywords(关键词,示例:关键字);steps(重现步骤,示例:关键字);assignedTo(指派给,用户,示例:admin);resolvedBy(解决者,用户,示例:admin);status(Bug状态,枚举:active 激活 | resolved 已解决 | closed 已关闭);confirmed(是否确认,枚举:1 已确认 | 0 未确认);story(相关需求,示例:关键字);project(所属项目,示例:all);product(所属产品,示例:all);branch(branch,示例:all);plan(所属计划,示例:all);id(Bug编号,示例:1);execution(所属执行,执行,示例:3);severity(严重程度,枚举:1 | 2 | 3 | 4);pri(优先级,枚举:1 | 2 | 3 | 4);type(Bug类型,枚举:codeerror 代码错误 | config 配置相关 | install 安装部署 | security 安全相关 | performance 性能问题 | standard 标准规范 | automation 测试脚本 | designdefect 设计缺陷 | codeimprovement 代码改进 | others 其他);os(操作系统,枚举:all 全部 | windows Windows | win11 Windows 11 | win10 Windows 10 | win8 Windows 8 | win7 Windows 7 | winxp Windows XP | osx Mac OS | android Android | ios IOS | linux Linux | ubuntu Ubuntu | chromeos Chrome OS | fedora Fedora | unix Unix | others 其他);browser(浏览器,枚举:all 全部 | chrome Chrome | edge Edge | ie IE系列 | ie11 IE11 | ie10 IE10 | ie9 IE9 | ie8 IE8 | firefox firefox系列 | opera Opera系列 | safari | 360 360浏览器 | qq QQ浏览器 | other 其他);resolution(解决方案,枚举:bydesign 设计如此 | duplicate 重复Bug | external 外部原因 | fixed 已解决 | notrepro 无法重现 | postponed 延期处理 | willnotfix 不予解决 | tostory 转为用户故事);activatedCount(激活次数,示例:关键字);toTask(转任务,示例:关键字);toStory(转用户故事,示例:关键字);openedBy(由谁创建,用户,示例:admin);closedBy(由谁关闭,用户,示例:admin);lastEditedBy(修改者,用户,示例:admin);mailto(抄送给,用户,示例:admin);openedBuild(影响版本,示例:builds);resolvedBuild(解决版本,示例:builds);openedDate(创建日期,示例:2026-01-01);assignedDate(指派日期,示例:2026-01-01);resolvedDate(解决日期,示例:2026-01-01);closedDate(关闭日期,示例:2026-01-01);lastEditedDate(修改日期,示例:2026-01-01);deadline(截止日期,示例:2026-01-01);activatedDate(激活时间,示例:2026-01-01)",
11267
+ "style": "deepObject",
11268
+ "explode": true
11149
11269
  },
11150
11270
  {
11151
- name: 'groupJoin',
11152
- required: false,
11153
- type: 'string',
11154
- description: '条件组之间的连接方式',
11155
- options: [
11156
- { value: 'and', label: 'and' },
11157
- { value: 'or', label: 'or' },
11158
- ],
11159
- },
11271
+ "name": "groupJoin",
11272
+ "required": false,
11273
+ "type": "string",
11274
+ "description": "条件组之间的连接方式",
11275
+ "options": [
11276
+ {
11277
+ "value": "and",
11278
+ "label": "and"
11279
+ },
11280
+ {
11281
+ "value": "or",
11282
+ "label": "or"
11283
+ }
11284
+ ]
11285
+ }
11160
11286
  ],
11161
11287
  }, {
11162
11288
  name: 'stories',
@@ -11170,72 +11296,120 @@ export const BUILTIN_MODULES = [
11170
11296
  resultGetter: 'stories',
11171
11297
  params: [
11172
11298
  {
11173
- name: 'param',
11174
- required: false,
11175
- type: 'string',
11176
- description: '搜索参数;browseType=bysearch 或 bySearch 时必填。',
11299
+ "name": "param",
11300
+ "required": false,
11301
+ "type": "string",
11302
+ "description": "搜索参数;browseType=bysearch 或 bySearch 时必填。"
11177
11303
  },
11178
11304
  {
11179
- name: 'browseType',
11180
- required: false,
11181
- type: 'string',
11182
- description: '状态,默认是assignedTo,取值区分大小写',
11183
- defaultValue: 'assignedTo',
11184
- options: [
11185
- { value: 'all', label: '全部' },
11186
- { value: 'assignedTo', label: '指派给我' },
11187
- { value: 'openedBy', label: '由我创建' },
11188
- { value: 'reviewBy', label: '待我评审' },
11189
- { value: 'reviewedBy', label: '我评审过' },
11190
- { value: 'closedBy', label: '由我关闭' },
11191
- { value: 'assignedBy', label: '由我指派' },
11192
- { value: 'bysearch', label: '按查询搜索,需同时传 param' },
11193
- ],
11305
+ "name": "browseType",
11306
+ "required": false,
11307
+ "type": "string",
11308
+ "description": "状态,默认是assignedTo,取值区分大小写",
11309
+ "defaultValue": "assignedTo",
11310
+ "options": [
11311
+ {
11312
+ "value": "all",
11313
+ "label": "全部"
11314
+ },
11315
+ {
11316
+ "value": "assignedTo",
11317
+ "label": "指派给我"
11318
+ },
11319
+ {
11320
+ "value": "openedBy",
11321
+ "label": "由我创建"
11322
+ },
11323
+ {
11324
+ "value": "reviewBy",
11325
+ "label": "待我评审"
11326
+ },
11327
+ {
11328
+ "value": "reviewedBy",
11329
+ "label": "我评审过"
11330
+ },
11331
+ {
11332
+ "value": "closedBy",
11333
+ "label": "由我关闭"
11334
+ },
11335
+ {
11336
+ "value": "assignedBy",
11337
+ "label": "由我指派"
11338
+ },
11339
+ {
11340
+ "value": "bysearch",
11341
+ "label": "按查询搜索,需同时传 param"
11342
+ }
11343
+ ]
11194
11344
  },
11195
11345
  {
11196
- name: 'orderBy',
11197
- required: false,
11198
- type: 'string',
11199
- description: '排序',
11200
- options: [
11201
- { value: 'id_asc', label: 'ID 升序' },
11202
- { value: 'id_desc', label: 'ID 降序' },
11203
- { value: 'title_asc', label: '标题 升序' },
11204
- { value: 'title_desc', label: '标题 降序' },
11205
- { value: 'status_asc', label: '状态 升序' },
11206
- { value: 'status_desc', label: '状态 降序' },
11207
- ],
11346
+ "name": "orderBy",
11347
+ "required": false,
11348
+ "type": "string",
11349
+ "description": "排序",
11350
+ "options": [
11351
+ {
11352
+ "value": "id_asc",
11353
+ "label": "ID 升序"
11354
+ },
11355
+ {
11356
+ "value": "id_desc",
11357
+ "label": "ID 降序"
11358
+ },
11359
+ {
11360
+ "value": "title_asc",
11361
+ "label": "标题 升序"
11362
+ },
11363
+ {
11364
+ "value": "title_desc",
11365
+ "label": "标题 降序"
11366
+ },
11367
+ {
11368
+ "value": "status_asc",
11369
+ "label": "状态 升序"
11370
+ },
11371
+ {
11372
+ "value": "status_desc",
11373
+ "label": "状态 降序"
11374
+ }
11375
+ ]
11208
11376
  },
11209
11377
  {
11210
- name: 'recPerPage',
11211
- required: false,
11212
- type: 'number',
11213
- description: '每页数量,不超过1000',
11378
+ "name": "recPerPage",
11379
+ "required": false,
11380
+ "type": "number",
11381
+ "description": "每页数量,不超过1000"
11214
11382
  },
11215
11383
  {
11216
- name: 'pageID',
11217
- required: false,
11218
- type: 'number',
11219
- description: '页码,从第1页开始',
11384
+ "name": "pageID",
11385
+ "required": false,
11386
+ "type": "number",
11387
+ "description": "页码,从第1页开始"
11220
11388
  },
11221
11389
  {
11222
- name: 'filters',
11223
- required: false,
11224
- type: 'array',
11225
- description: '搜索条件数组,每项包含 field/operator/value/join/group;field 必须是该接口支持的搜索字段,operator 使用该接口搜索配置支持的操作符。支持搜索字段:title(需求名称,示例:关键字);id(编号,示例:1);keywords(关键词,示例:关键字);status(当前状态,枚举:draft 草稿 | reviewing 评审中 | active 激活 | changing 变更中 | closed 已关闭);pri(优先级,枚举:1 | 2 | 3 | 4);module(所属模块,示例:all);stage(所处阶段,枚举:wait 未开始 | planned 已计划 | projected 研发立项 | designing 设计中 | designed 设计完毕 | developing 研发中 | developed 研发完毕 | testing 测试中 | tested 测试完毕 | verified 已验收 | rejected 验收失败 | delivering 交付中 | delivered 已交付 | released 已发布 | closed 已关闭);product(所属产品,示例:all);branch(branch,示例:all);grade(需求层级,示例:all);plan(所属计划,示例:all);release(所属发布,示例:all);estimate(预计小时,示例:关键字);source(来源,枚举:customer 客户 | user 用户 | po 产品经理 | market 市场 | service 客服 | operation 运营 | support 技术支持 | competitor 竞争对手 | partner 合作伙伴 | dev 开发人员 | tester 测试人员 | bug Bug | forum 论坛 | other 其他);sourceNote(来源备注,示例:关键字);fromBug(来源Bug,示例:关键字);category(类别,枚举:feature 功能 | interface 接口 | performance 性能 | safe 安全 | experience 体验 | improve 改进 | other 其他);openedBy(由谁创建,用户,示例:admin);reviewedBy(已评审人,用户,示例:admin);result(评审结果,枚举:pass 确认通过 | revert 撤销变更 | clarify 有待明确 | reject 拒绝);assignedTo(指派给,用户,示例:admin);closedBy(由谁关闭,用户,示例:admin);lastEditedBy(最后修改,用户,示例:admin);mailto(抄送给,用户,示例:admin);closedReason(关闭原因,枚举:done 已完成 | subdivided 已拆分 | duplicate 重复 | postponed 延期 | willnotdo 不做 | cancel 已取消 | bydesign 设计如此);version(版本号,示例:关键字);openedDate(创建日期,示例:2026-01-01);reviewedDate(评审时间,示例:2026-01-01);assignedDate(指派日期,示例:2026-01-01);closedDate(关闭日期,示例:2026-01-01);lastEditedDate(最后修改日期,示例:2026-01-01);activatedDate(激活日期,示例:2026-01-01)',
11226
- style: 'deepObject',
11227
- explode: true,
11390
+ "name": "filters",
11391
+ "required": false,
11392
+ "type": "array",
11393
+ "description": "搜索条件数组,每项包含 field/operator/value/join/group;field 必须是该接口支持的搜索字段,operator 使用该接口搜索配置支持的操作符。支持搜索字段:title(需求名称,示例:关键字);id(编号,示例:1);keywords(关键词,示例:关键字);status(当前状态,枚举:draft 草稿 | reviewing 评审中 | active 激活 | changing 变更中 | closed 已关闭);pri(优先级,枚举:1 | 2 | 3 | 4);module(所属模块,示例:all);stage(所处阶段,枚举:wait 未开始 | planned 已计划 | projected 研发立项 | designing 设计中 | designed 设计完毕 | developing 研发中 | developed 研发完毕 | testing 测试中 | tested 测试完毕 | verified 已验收 | rejected 验收失败 | delivering 交付中 | delivered 已交付 | released 已发布 | closed 已关闭);product(所属产品,示例:all);branch(branch,示例:all);grade(需求层级,示例:all);plan(所属计划,示例:all);release(所属发布,示例:all);estimate(预计小时,示例:关键字);source(来源,枚举:customer 客户 | user 用户 | po 产品经理 | market 市场 | service 客服 | operation 运营 | support 技术支持 | competitor 竞争对手 | partner 合作伙伴 | dev 开发人员 | tester 测试人员 | bug Bug | forum 论坛 | other 其他);sourceNote(来源备注,示例:关键字);fromBug(来源Bug,示例:关键字);category(类别,枚举:feature 功能 | interface 接口 | performance 性能 | safe 安全 | experience 体验 | improve 改进 | other 其他);openedBy(由谁创建,用户,示例:admin);reviewedBy(已评审人,用户,示例:admin);result(评审结果,枚举:pass 确认通过 | revert 撤销变更 | clarify 有待明确 | reject 拒绝);assignedTo(指派给,用户,示例:admin);closedBy(由谁关闭,用户,示例:admin);lastEditedBy(最后修改,用户,示例:admin);mailto(抄送给,用户,示例:admin);closedReason(关闭原因,枚举:done 已完成 | subdivided 已拆分 | duplicate 重复 | postponed 延期 | willnotdo 不做 | cancel 已取消 | bydesign 设计如此);version(版本号,示例:关键字);openedDate(创建日期,示例:2026-01-01);reviewedDate(评审时间,示例:2026-01-01);assignedDate(指派日期,示例:2026-01-01);closedDate(关闭日期,示例:2026-01-01);lastEditedDate(最后修改日期,示例:2026-01-01);activatedDate(激活日期,示例:2026-01-01)",
11394
+ "style": "deepObject",
11395
+ "explode": true
11228
11396
  },
11229
11397
  {
11230
- name: 'groupJoin',
11231
- required: false,
11232
- type: 'string',
11233
- description: '条件组之间的连接方式',
11234
- options: [
11235
- { value: 'and', label: 'and' },
11236
- { value: 'or', label: 'or' },
11237
- ],
11238
- },
11398
+ "name": "groupJoin",
11399
+ "required": false,
11400
+ "type": "string",
11401
+ "description": "条件组之间的连接方式",
11402
+ "options": [
11403
+ {
11404
+ "value": "and",
11405
+ "label": "and"
11406
+ },
11407
+ {
11408
+ "value": "or",
11409
+ "label": "or"
11410
+ }
11411
+ ]
11412
+ }
11239
11413
  ],
11240
11414
  }, {
11241
11415
  name: 'epics',
@@ -11249,72 +11423,120 @@ export const BUILTIN_MODULES = [
11249
11423
  resultGetter: 'epics',
11250
11424
  params: [
11251
11425
  {
11252
- name: 'param',
11253
- required: false,
11254
- type: 'string',
11255
- description: '搜索参数;browseType=bysearch 或 bySearch 时必填。',
11256
- },
11257
- {
11258
- name: 'browseType',
11259
- required: false,
11260
- type: 'string',
11261
- description: '状态,默认是assignedTo,取值区分大小写',
11262
- defaultValue: 'assignedTo',
11263
- options: [
11264
- { value: 'all', label: '全部' },
11265
- { value: 'assignedTo', label: '指派给我' },
11266
- { value: 'openedBy', label: '由我创建' },
11267
- { value: 'reviewBy', label: '待我评审' },
11268
- { value: 'reviewedBy', label: '我评审过' },
11269
- { value: 'closedBy', label: '由我关闭' },
11270
- { value: 'assignedBy', label: '由我指派' },
11271
- { value: 'bysearch', label: '按查询搜索,需同时传 param' },
11272
- ],
11426
+ "name": "param",
11427
+ "required": false,
11428
+ "type": "string",
11429
+ "description": "搜索参数;browseType=bysearch 或 bySearch 时必填。"
11273
11430
  },
11274
11431
  {
11275
- name: 'orderBy',
11276
- required: false,
11277
- type: 'string',
11278
- description: '排序',
11279
- options: [
11280
- { value: 'id_asc', label: 'ID 升序' },
11281
- { value: 'id_desc', label: 'ID 降序' },
11282
- { value: 'title_asc', label: '标题 升序' },
11283
- { value: 'title_desc', label: '标题 降序' },
11284
- { value: 'status_asc', label: '状态 升序' },
11285
- { value: 'status_desc', label: '状态 降序' },
11286
- ],
11432
+ "name": "browseType",
11433
+ "required": false,
11434
+ "type": "string",
11435
+ "description": "状态,默认是assignedTo,取值区分大小写",
11436
+ "defaultValue": "assignedTo",
11437
+ "options": [
11438
+ {
11439
+ "value": "all",
11440
+ "label": "全部"
11441
+ },
11442
+ {
11443
+ "value": "assignedTo",
11444
+ "label": "指派给我"
11445
+ },
11446
+ {
11447
+ "value": "openedBy",
11448
+ "label": "由我创建"
11449
+ },
11450
+ {
11451
+ "value": "reviewBy",
11452
+ "label": "待我评审"
11453
+ },
11454
+ {
11455
+ "value": "reviewedBy",
11456
+ "label": "我评审过"
11457
+ },
11458
+ {
11459
+ "value": "closedBy",
11460
+ "label": "由我关闭"
11461
+ },
11462
+ {
11463
+ "value": "assignedBy",
11464
+ "label": "由我指派"
11465
+ },
11466
+ {
11467
+ "value": "bysearch",
11468
+ "label": "按查询搜索,需同时传 param"
11469
+ }
11470
+ ]
11287
11471
  },
11288
11472
  {
11289
- name: 'recPerPage',
11290
- required: false,
11291
- type: 'number',
11292
- description: '每页数量,不超过1000',
11473
+ "name": "orderBy",
11474
+ "required": false,
11475
+ "type": "string",
11476
+ "description": "排序",
11477
+ "options": [
11478
+ {
11479
+ "value": "id_asc",
11480
+ "label": "ID 升序"
11481
+ },
11482
+ {
11483
+ "value": "id_desc",
11484
+ "label": "ID 降序"
11485
+ },
11486
+ {
11487
+ "value": "title_asc",
11488
+ "label": "标题 升序"
11489
+ },
11490
+ {
11491
+ "value": "title_desc",
11492
+ "label": "标题 降序"
11493
+ },
11494
+ {
11495
+ "value": "status_asc",
11496
+ "label": "状态 升序"
11497
+ },
11498
+ {
11499
+ "value": "status_desc",
11500
+ "label": "状态 降序"
11501
+ }
11502
+ ]
11293
11503
  },
11294
11504
  {
11295
- name: 'pageID',
11296
- required: false,
11297
- type: 'number',
11298
- description: '页码,从第1页开始',
11505
+ "name": "recPerPage",
11506
+ "required": false,
11507
+ "type": "number",
11508
+ "description": "每页数量,不超过1000"
11299
11509
  },
11300
11510
  {
11301
- name: 'filters',
11302
- required: false,
11303
- type: 'array',
11304
- description: '搜索条件数组,每项包含 field/operator/value/join/group;field 必须是该接口支持的搜索字段,operator 使用该接口搜索配置支持的操作符。支持搜索字段:title(需求名称,示例:关键字);id(编号,示例:1);keywords(关键词,示例:关键字);status(当前状态,枚举:draft 草稿 | reviewing 评审中 | active 激活 | changing 变更中 | closed 已关闭);pri(优先级,枚举:1 | 2 | 3 | 4);module(所属模块,示例:all);stage(所处阶段,枚举:wait 未开始 | planned 已计划 | projected 研发立项 | designing 设计中 | designed 设计完毕 | developing 研发中 | developed 研发完毕 | testing 测试中 | tested 测试完毕 | verified 已验收 | rejected 验收失败 | delivering 交付中 | delivered 已交付 | released 已发布 | closed 已关闭);product(所属产品,示例:all);branch(branch,示例:all);grade(需求层级,示例:all);plan(所属计划,示例:all);release(所属发布,示例:all);estimate(预计小时,示例:关键字);source(来源,枚举:customer 客户 | user 用户 | po 产品经理 | market 市场 | service 客服 | operation 运营 | support 技术支持 | competitor 竞争对手 | partner 合作伙伴 | dev 开发人员 | tester 测试人员 | bug Bug | forum 论坛 | other 其他);sourceNote(来源备注,示例:关键字);fromBug(来源Bug,示例:关键字);category(类别,枚举:feature 功能 | interface 接口 | performance 性能 | safe 安全 | experience 体验 | improve 改进 | other 其他);openedBy(由谁创建,用户,示例:admin);reviewedBy(已评审人,用户,示例:admin);result(评审结果,枚举:pass 确认通过 | revert 撤销变更 | clarify 有待明确 | reject 拒绝);assignedTo(指派给,用户,示例:admin);closedBy(由谁关闭,用户,示例:admin);lastEditedBy(最后修改,用户,示例:admin);mailto(抄送给,用户,示例:admin);closedReason(关闭原因,枚举:done 已完成 | subdivided 已拆分 | duplicate 重复 | postponed 延期 | willnotdo 不做 | cancel 已取消 | bydesign 设计如此);version(版本号,示例:关键字);openedDate(创建日期,示例:2026-01-01);reviewedDate(评审时间,示例:2026-01-01);assignedDate(指派日期,示例:2026-01-01);closedDate(关闭日期,示例:2026-01-01);lastEditedDate(最后修改日期,示例:2026-01-01);activatedDate(激活日期,示例:2026-01-01)',
11305
- style: 'deepObject',
11306
- explode: true,
11511
+ "name": "pageID",
11512
+ "required": false,
11513
+ "type": "number",
11514
+ "description": "页码,从第1页开始"
11307
11515
  },
11308
11516
  {
11309
- name: 'groupJoin',
11310
- required: false,
11311
- type: 'string',
11312
- description: '条件组之间的连接方式',
11313
- options: [
11314
- { value: 'and', label: 'and' },
11315
- { value: 'or', label: 'or' },
11316
- ],
11517
+ "name": "filters",
11518
+ "required": false,
11519
+ "type": "array",
11520
+ "description": "搜索条件数组,每项包含 field/operator/value/join/group;field 必须是该接口支持的搜索字段,operator 使用该接口搜索配置支持的操作符。支持搜索字段:title(需求名称,示例:关键字);id(编号,示例:1);keywords(关键词,示例:关键字);status(当前状态,枚举:draft 草稿 | reviewing 评审中 | active 激活 | changing 变更中 | closed 已关闭);pri(优先级,枚举:1 | 2 | 3 | 4);module(所属模块,示例:all);stage(所处阶段,枚举:wait 未开始 | planned 已计划 | projected 研发立项 | designing 设计中 | designed 设计完毕 | developing 研发中 | developed 研发完毕 | testing 测试中 | tested 测试完毕 | verified 已验收 | rejected 验收失败 | delivering 交付中 | delivered 已交付 | released 已发布 | closed 已关闭);product(所属产品,示例:all);branch(branch,示例:all);grade(需求层级,示例:all);plan(所属计划,示例:all);release(所属发布,示例:all);estimate(预计小时,示例:关键字);source(来源,枚举:customer 客户 | user 用户 | po 产品经理 | market 市场 | service 客服 | operation 运营 | support 技术支持 | competitor 竞争对手 | partner 合作伙伴 | dev 开发人员 | tester 测试人员 | bug Bug | forum 论坛 | other 其他);sourceNote(来源备注,示例:关键字);fromBug(来源Bug,示例:关键字);category(类别,枚举:feature 功能 | interface 接口 | performance 性能 | safe 安全 | experience 体验 | improve 改进 | other 其他);openedBy(由谁创建,用户,示例:admin);reviewedBy(已评审人,用户,示例:admin);result(评审结果,枚举:pass 确认通过 | revert 撤销变更 | clarify 有待明确 | reject 拒绝);assignedTo(指派给,用户,示例:admin);closedBy(由谁关闭,用户,示例:admin);lastEditedBy(最后修改,用户,示例:admin);mailto(抄送给,用户,示例:admin);closedReason(关闭原因,枚举:done 已完成 | subdivided 已拆分 | duplicate 重复 | postponed 延期 | willnotdo 不做 | cancel 已取消 | bydesign 设计如此);version(版本号,示例:关键字);openedDate(创建日期,示例:2026-01-01);reviewedDate(评审时间,示例:2026-01-01);assignedDate(指派日期,示例:2026-01-01);closedDate(关闭日期,示例:2026-01-01);lastEditedDate(最后修改日期,示例:2026-01-01);activatedDate(激活日期,示例:2026-01-01)",
11521
+ "style": "deepObject",
11522
+ "explode": true
11317
11523
  },
11524
+ {
11525
+ "name": "groupJoin",
11526
+ "required": false,
11527
+ "type": "string",
11528
+ "description": "条件组之间的连接方式",
11529
+ "options": [
11530
+ {
11531
+ "value": "and",
11532
+ "label": "and"
11533
+ },
11534
+ {
11535
+ "value": "or",
11536
+ "label": "or"
11537
+ }
11538
+ ]
11539
+ }
11318
11540
  ],
11319
11541
  }, {
11320
11542
  name: 'requirements',
@@ -11328,72 +11550,120 @@ export const BUILTIN_MODULES = [
11328
11550
  resultGetter: 'requirements',
11329
11551
  params: [
11330
11552
  {
11331
- name: 'param',
11332
- required: false,
11333
- type: 'string',
11334
- description: '搜索参数;browseType=bysearch 或 bySearch 时必填。',
11553
+ "name": "param",
11554
+ "required": false,
11555
+ "type": "string",
11556
+ "description": "搜索参数;browseType=bysearch 或 bySearch 时必填。"
11335
11557
  },
11336
11558
  {
11337
- name: 'browseType',
11338
- required: false,
11339
- type: 'string',
11340
- description: '状态,默认是assignedTo,取值区分大小写',
11341
- defaultValue: 'assignedTo',
11342
- options: [
11343
- { value: 'all', label: '全部' },
11344
- { value: 'assignedTo', label: '指派给我' },
11345
- { value: 'openedBy', label: '由我创建' },
11346
- { value: 'reviewBy', label: '待我评审' },
11347
- { value: 'reviewedBy', label: '我评审过' },
11348
- { value: 'closedBy', label: '由我关闭' },
11349
- { value: 'assignedBy', label: '由我指派' },
11350
- { value: 'bysearch', label: '按查询搜索,需同时传 param' },
11351
- ],
11559
+ "name": "browseType",
11560
+ "required": false,
11561
+ "type": "string",
11562
+ "description": "状态,默认是assignedTo,取值区分大小写",
11563
+ "defaultValue": "assignedTo",
11564
+ "options": [
11565
+ {
11566
+ "value": "all",
11567
+ "label": "全部"
11568
+ },
11569
+ {
11570
+ "value": "assignedTo",
11571
+ "label": "指派给我"
11572
+ },
11573
+ {
11574
+ "value": "openedBy",
11575
+ "label": "由我创建"
11576
+ },
11577
+ {
11578
+ "value": "reviewBy",
11579
+ "label": "待我评审"
11580
+ },
11581
+ {
11582
+ "value": "reviewedBy",
11583
+ "label": "我评审过"
11584
+ },
11585
+ {
11586
+ "value": "closedBy",
11587
+ "label": "由我关闭"
11588
+ },
11589
+ {
11590
+ "value": "assignedBy",
11591
+ "label": "由我指派"
11592
+ },
11593
+ {
11594
+ "value": "bysearch",
11595
+ "label": "按查询搜索,需同时传 param"
11596
+ }
11597
+ ]
11352
11598
  },
11353
11599
  {
11354
- name: 'orderBy',
11355
- required: false,
11356
- type: 'string',
11357
- description: '排序',
11358
- options: [
11359
- { value: 'id_asc', label: 'ID 升序' },
11360
- { value: 'id_desc', label: 'ID 降序' },
11361
- { value: 'title_asc', label: '标题 升序' },
11362
- { value: 'title_desc', label: '标题 降序' },
11363
- { value: 'status_asc', label: '状态 升序' },
11364
- { value: 'status_desc', label: '状态 降序' },
11365
- ],
11600
+ "name": "orderBy",
11601
+ "required": false,
11602
+ "type": "string",
11603
+ "description": "排序",
11604
+ "options": [
11605
+ {
11606
+ "value": "id_asc",
11607
+ "label": "ID 升序"
11608
+ },
11609
+ {
11610
+ "value": "id_desc",
11611
+ "label": "ID 降序"
11612
+ },
11613
+ {
11614
+ "value": "title_asc",
11615
+ "label": "标题 升序"
11616
+ },
11617
+ {
11618
+ "value": "title_desc",
11619
+ "label": "标题 降序"
11620
+ },
11621
+ {
11622
+ "value": "status_asc",
11623
+ "label": "状态 升序"
11624
+ },
11625
+ {
11626
+ "value": "status_desc",
11627
+ "label": "状态 降序"
11628
+ }
11629
+ ]
11366
11630
  },
11367
11631
  {
11368
- name: 'recPerPage',
11369
- required: false,
11370
- type: 'number',
11371
- description: '每页数量,不超过1000',
11632
+ "name": "recPerPage",
11633
+ "required": false,
11634
+ "type": "number",
11635
+ "description": "每页数量,不超过1000"
11372
11636
  },
11373
11637
  {
11374
- name: 'pageID',
11375
- required: false,
11376
- type: 'number',
11377
- description: '页码,从第1页开始',
11638
+ "name": "pageID",
11639
+ "required": false,
11640
+ "type": "number",
11641
+ "description": "页码,从第1页开始"
11378
11642
  },
11379
11643
  {
11380
- name: 'filters',
11381
- required: false,
11382
- type: 'array',
11383
- description: '搜索条件数组,每项包含 field/operator/value/join/group;field 必须是该接口支持的搜索字段,operator 使用该接口搜索配置支持的操作符。支持搜索字段:title(需求名称,示例:关键字);id(编号,示例:1);keywords(关键词,示例:关键字);status(当前状态,枚举:draft 草稿 | reviewing 评审中 | active 激活 | changing 变更中 | closed 已关闭);pri(优先级,枚举:1 | 2 | 3 | 4);module(所属模块,示例:all);stage(所处阶段,枚举:wait 未开始 | planned 已计划 | projected 研发立项 | designing 设计中 | designed 设计完毕 | developing 研发中 | developed 研发完毕 | testing 测试中 | tested 测试完毕 | verified 已验收 | rejected 验收失败 | delivering 交付中 | delivered 已交付 | released 已发布 | closed 已关闭);product(所属产品,示例:all);branch(branch,示例:all);grade(需求层级,示例:all);plan(所属计划,示例:all);release(所属发布,示例:all);estimate(预计小时,示例:关键字);source(来源,枚举:customer 客户 | user 用户 | po 产品经理 | market 市场 | service 客服 | operation 运营 | support 技术支持 | competitor 竞争对手 | partner 合作伙伴 | dev 开发人员 | tester 测试人员 | bug Bug | forum 论坛 | other 其他);sourceNote(来源备注,示例:关键字);fromBug(来源Bug,示例:关键字);category(类别,枚举:feature 功能 | interface 接口 | performance 性能 | safe 安全 | experience 体验 | improve 改进 | other 其他);openedBy(由谁创建,用户,示例:admin);reviewedBy(已评审人,用户,示例:admin);result(评审结果,枚举:pass 确认通过 | revert 撤销变更 | clarify 有待明确 | reject 拒绝);assignedTo(指派给,用户,示例:admin);closedBy(由谁关闭,用户,示例:admin);lastEditedBy(最后修改,用户,示例:admin);mailto(抄送给,用户,示例:admin);closedReason(关闭原因,枚举:done 已完成 | subdivided 已拆分 | duplicate 重复 | postponed 延期 | willnotdo 不做 | cancel 已取消 | bydesign 设计如此);version(版本号,示例:关键字);openedDate(创建日期,示例:2026-01-01);reviewedDate(评审时间,示例:2026-01-01);assignedDate(指派日期,示例:2026-01-01);closedDate(关闭日期,示例:2026-01-01);lastEditedDate(最后修改日期,示例:2026-01-01);activatedDate(激活日期,示例:2026-01-01)',
11384
- style: 'deepObject',
11385
- explode: true,
11644
+ "name": "filters",
11645
+ "required": false,
11646
+ "type": "array",
11647
+ "description": "搜索条件数组,每项包含 field/operator/value/join/group;field 必须是该接口支持的搜索字段,operator 使用该接口搜索配置支持的操作符。支持搜索字段:title(需求名称,示例:关键字);id(编号,示例:1);keywords(关键词,示例:关键字);status(当前状态,枚举:draft 草稿 | reviewing 评审中 | active 激活 | changing 变更中 | closed 已关闭);pri(优先级,枚举:1 | 2 | 3 | 4);module(所属模块,示例:all);stage(所处阶段,枚举:wait 未开始 | planned 已计划 | projected 研发立项 | designing 设计中 | designed 设计完毕 | developing 研发中 | developed 研发完毕 | testing 测试中 | tested 测试完毕 | verified 已验收 | rejected 验收失败 | delivering 交付中 | delivered 已交付 | released 已发布 | closed 已关闭);product(所属产品,示例:all);branch(branch,示例:all);grade(需求层级,示例:all);plan(所属计划,示例:all);release(所属发布,示例:all);estimate(预计小时,示例:关键字);source(来源,枚举:customer 客户 | user 用户 | po 产品经理 | market 市场 | service 客服 | operation 运营 | support 技术支持 | competitor 竞争对手 | partner 合作伙伴 | dev 开发人员 | tester 测试人员 | bug Bug | forum 论坛 | other 其他);sourceNote(来源备注,示例:关键字);fromBug(来源Bug,示例:关键字);category(类别,枚举:feature 功能 | interface 接口 | performance 性能 | safe 安全 | experience 体验 | improve 改进 | other 其他);openedBy(由谁创建,用户,示例:admin);reviewedBy(已评审人,用户,示例:admin);result(评审结果,枚举:pass 确认通过 | revert 撤销变更 | clarify 有待明确 | reject 拒绝);assignedTo(指派给,用户,示例:admin);closedBy(由谁关闭,用户,示例:admin);lastEditedBy(最后修改,用户,示例:admin);mailto(抄送给,用户,示例:admin);closedReason(关闭原因,枚举:done 已完成 | subdivided 已拆分 | duplicate 重复 | postponed 延期 | willnotdo 不做 | cancel 已取消 | bydesign 设计如此);version(版本号,示例:关键字);openedDate(创建日期,示例:2026-01-01);reviewedDate(评审时间,示例:2026-01-01);assignedDate(指派日期,示例:2026-01-01);closedDate(关闭日期,示例:2026-01-01);lastEditedDate(最后修改日期,示例:2026-01-01);activatedDate(激活日期,示例:2026-01-01)",
11648
+ "style": "deepObject",
11649
+ "explode": true
11386
11650
  },
11387
11651
  {
11388
- name: 'groupJoin',
11389
- required: false,
11390
- type: 'string',
11391
- description: '条件组之间的连接方式',
11392
- options: [
11393
- { value: 'and', label: 'and' },
11394
- { value: 'or', label: 'or' },
11395
- ],
11396
- },
11652
+ "name": "groupJoin",
11653
+ "required": false,
11654
+ "type": "string",
11655
+ "description": "条件组之间的连接方式",
11656
+ "options": [
11657
+ {
11658
+ "value": "and",
11659
+ "label": "and"
11660
+ },
11661
+ {
11662
+ "value": "or",
11663
+ "label": "or"
11664
+ }
11665
+ ]
11666
+ }
11397
11667
  ],
11398
11668
  }, {
11399
11669
  name: 'testtasks',
@@ -11407,48 +11677,72 @@ export const BUILTIN_MODULES = [
11407
11677
  resultGetter: 'testtasks',
11408
11678
  params: [
11409
11679
  {
11410
- name: 'param',
11411
- required: false,
11412
- type: 'string',
11413
- description: '搜索参数;browseType=bysearch 或 bySearch 时必填。',
11680
+ "name": "param",
11681
+ "required": false,
11682
+ "type": "string",
11683
+ "description": "搜索参数;browseType=bysearch 或 bySearch 时必填。"
11414
11684
  },
11415
11685
  {
11416
- name: 'browseType',
11417
- required: false,
11418
- type: 'string',
11419
- description: '状态,默认是assignedTo,接口固定返回“我参与的未完成测试单”',
11420
- defaultValue: 'assignedTo',
11421
- options: [
11422
- { value: 'assignedTo', label: '我参与的' },
11423
- { value: 'bySearch', label: '按查询搜索,需同时传 param' },
11424
- ],
11686
+ "name": "browseType",
11687
+ "required": false,
11688
+ "type": "string",
11689
+ "description": "状态,默认是assignedTo,接口固定返回“我参与的未完成测试单”",
11690
+ "defaultValue": "assignedTo",
11691
+ "options": [
11692
+ {
11693
+ "value": "assignedTo",
11694
+ "label": "我参与的"
11695
+ },
11696
+ {
11697
+ "value": "bySearch",
11698
+ "label": "按查询搜索,需同时传 param"
11699
+ }
11700
+ ]
11425
11701
  },
11426
11702
  {
11427
- name: 'orderBy',
11428
- required: false,
11429
- type: 'string',
11430
- description: '排序',
11431
- options: [
11432
- { value: 'id_asc', label: 'ID 升序' },
11433
- { value: 'id_desc', label: 'ID 降序' },
11434
- { value: 'name_asc', label: '名称 升序' },
11435
- { value: 'name_desc', label: '名称 降序' },
11436
- { value: 'status_asc', label: '状态 升序' },
11437
- { value: 'status_desc', label: '状态 降序' },
11438
- ],
11703
+ "name": "orderBy",
11704
+ "required": false,
11705
+ "type": "string",
11706
+ "description": "排序",
11707
+ "options": [
11708
+ {
11709
+ "value": "id_asc",
11710
+ "label": "ID 升序"
11711
+ },
11712
+ {
11713
+ "value": "id_desc",
11714
+ "label": "ID 降序"
11715
+ },
11716
+ {
11717
+ "value": "name_asc",
11718
+ "label": "名称 升序"
11719
+ },
11720
+ {
11721
+ "value": "name_desc",
11722
+ "label": "名称 降序"
11723
+ },
11724
+ {
11725
+ "value": "status_asc",
11726
+ "label": "状态 升序"
11727
+ },
11728
+ {
11729
+ "value": "status_desc",
11730
+ "label": "状态 降序"
11731
+ }
11732
+ ]
11439
11733
  },
11440
11734
  {
11441
- name: 'recPerPage',
11442
- required: false,
11443
- type: 'number',
11444
- description: '每页数量,不超过1000',
11735
+ "name": "recPerPage",
11736
+ "required": false,
11737
+ "type": "number",
11738
+ "description": "每页数量,不超过1000"
11445
11739
  },
11446
11740
  {
11447
- name: 'pageID',
11448
- required: false,
11449
- type: 'number',
11450
- description: '页码,从第1页开始',
11451
- },
11741
+ "name": "pageID",
11742
+ "required": false,
11743
+ "type": "number",
11744
+ "description": "页码,从第1页开始"
11745
+ }
11452
11746
  ],
11453
11747
  }, {
11454
11748
  name: 'projects',
@@ -11667,67 +11961,100 @@ export const BUILTIN_MODULES = [
11667
11961
  resultGetter: 'testcases',
11668
11962
  params: [
11669
11963
  {
11670
- name: 'param',
11671
- required: false,
11672
- type: 'string',
11673
- description: '搜索参数;browseType=bysearch 或 bySearch 时必填。',
11674
- },
11675
- {
11676
- name: 'browseType',
11677
- required: false,
11678
- type: 'string',
11679
- description: '状态,默认是assigntome',
11680
- defaultValue: 'assigntome',
11681
- options: [
11682
- { value: 'assigntome', label: '指派给我' },
11683
- { value: 'openedbyme', label: '我创建的' },
11684
- { value: 'bysearch', label: '按查询搜索,需同时传 param' },
11685
- ],
11686
- },
11687
- {
11688
- name: 'orderBy',
11689
- required: false,
11690
- type: 'string',
11691
- description: '排序',
11692
- options: [
11693
- { value: 'id_asc', label: 'ID 升序' },
11694
- { value: 'id_desc', label: 'ID 降序' },
11695
- { value: 'title_asc', label: '标题 升序' },
11696
- { value: 'title_desc', label: '标题 降序' },
11697
- { value: 'status_asc', label: '状态 升序' },
11698
- { value: 'status_desc', label: '状态 降序' },
11699
- ],
11700
- },
11701
- {
11702
- name: 'recPerPage',
11703
- required: false,
11704
- type: 'number',
11705
- description: '每页数量,不超过1000',
11964
+ "name": "param",
11965
+ "required": false,
11966
+ "type": "string",
11967
+ "description": "搜索参数;browseType=bysearch 或 bySearch 时必填。"
11706
11968
  },
11707
11969
  {
11708
- name: 'pageID',
11709
- required: false,
11710
- type: 'number',
11711
- description: '页码,从第1页开始',
11970
+ "name": "browseType",
11971
+ "required": false,
11972
+ "type": "string",
11973
+ "description": "状态,默认是assigntome",
11974
+ "defaultValue": "assigntome",
11975
+ "options": [
11976
+ {
11977
+ "value": "assigntome",
11978
+ "label": "指派给我"
11979
+ },
11980
+ {
11981
+ "value": "openedbyme",
11982
+ "label": "我创建的"
11983
+ },
11984
+ {
11985
+ "value": "bysearch",
11986
+ "label": "按查询搜索,需同时传 param"
11987
+ }
11988
+ ]
11712
11989
  },
11713
11990
  {
11714
- name: 'filters',
11715
- required: false,
11716
- type: 'array',
11717
- description: '搜索条件数组,每项包含 field/operator/value/join/group;field 必须是该接口支持的搜索字段,operator 使用该接口搜索配置支持的操作符。支持搜索字段:title(用例名称,示例:关键字);story(关联需求,示例:all);id(用例编号,示例:1);keywords(关键词,示例:关键字);lastEditedBy(修改者,用户,示例:admin);type(用例类型,枚举:unit 单元测试 | interface 接口测试 | feature 功能测试 | install 安装部署 | config 配置相关 | performance 性能测试 | security 安全相关 | other 其他);auto(自动化,枚举:auto 是 | no 否);openedBy(由谁创建,用户,示例:admin);status(用例状态,枚举:wait 待评审 | normal 正常 | blocked 被阻塞 | investigate 研究中);product(所属产品,示例:all);branch(branch,示例:all);stage(适用环节,枚举:unittest 单元测试环节 | feature 功能测试环节 | intergrate 集成测试环节 | system 系统测试环节 | smoke 冒烟测试环节 | bvt 版本验证环节);module(所属模块,模块,示例:0);pri(优先级,枚举:3 | 1 | 2 | 4);lib(所属库,示例:all);lastRunner(执行人,用户,示例:admin);lastRunResult(结果,枚举:pass 通过 | fail 失败 | blocked 阻塞 | null 未执行);lastRunDate(执行时间,示例:2026-01-01);openedDate(创建日期,示例:2026-01-01);lastEditedDate(修改日期,示例:2026-01-01);scene(所属场景,示例:all)',
11718
- style: 'deepObject',
11719
- explode: true,
11991
+ "name": "orderBy",
11992
+ "required": false,
11993
+ "type": "string",
11994
+ "description": "排序",
11995
+ "options": [
11996
+ {
11997
+ "value": "id_asc",
11998
+ "label": "ID 升序"
11999
+ },
12000
+ {
12001
+ "value": "id_desc",
12002
+ "label": "ID 降序"
12003
+ },
12004
+ {
12005
+ "value": "title_asc",
12006
+ "label": "标题 升序"
12007
+ },
12008
+ {
12009
+ "value": "title_desc",
12010
+ "label": "标题 降序"
12011
+ },
12012
+ {
12013
+ "value": "status_asc",
12014
+ "label": "状态 升序"
12015
+ },
12016
+ {
12017
+ "value": "status_desc",
12018
+ "label": "状态 降序"
12019
+ }
12020
+ ]
11720
12021
  },
11721
12022
  {
11722
- name: 'groupJoin',
11723
- required: false,
11724
- type: 'string',
11725
- description: '条件组之间的连接方式',
11726
- options: [
11727
- { value: 'and', label: 'and' },
11728
- { value: 'or', label: 'or' },
11729
- ],
12023
+ "name": "recPerPage",
12024
+ "required": false,
12025
+ "type": "number",
12026
+ "description": "每页数量,不超过1000"
12027
+ },
12028
+ {
12029
+ "name": "pageID",
12030
+ "required": false,
12031
+ "type": "number",
12032
+ "description": "页码,从第1页开始"
12033
+ },
12034
+ {
12035
+ "name": "filters",
12036
+ "required": false,
12037
+ "type": "array",
12038
+ "description": "搜索条件数组,每项包含 field/operator/value/join/group;field 必须是该接口支持的搜索字段,operator 使用该接口搜索配置支持的操作符。支持搜索字段:title(用例名称,示例:关键字);story(关联需求,示例:all);id(用例编号,示例:1);keywords(关键词,示例:关键字);lastEditedBy(修改者,用户,示例:admin);type(用例类型,枚举:unit 单元测试 | interface 接口测试 | feature 功能测试 | install 安装部署 | config 配置相关 | performance 性能测试 | security 安全相关 | other 其他);auto(自动化,枚举:auto 是 | no 否);openedBy(由谁创建,用户,示例:admin);status(用例状态,枚举:wait 待评审 | normal 正常 | blocked 被阻塞 | investigate 研究中);product(所属产品,示例:all);branch(branch,示例:all);stage(适用环节,枚举:unittest 单元测试环节 | feature 功能测试环节 | intergrate 集成测试环节 | system 系统测试环节 | smoke 冒烟测试环节 | bvt 版本验证环节);module(所属模块,模块,示例:0);pri(优先级,枚举:3 | 1 | 2 | 4);lib(所属库,示例:all);lastRunner(执行人,用户,示例:admin);lastRunResult(结果,枚举:pass 通过 | fail 失败 | blocked 阻塞 | null 未执行);lastRunDate(执行时间,示例:2026-01-01);openedDate(创建日期,示例:2026-01-01);lastEditedDate(修改日期,示例:2026-01-01);scene(所属场景,示例:all)",
12039
+ "style": "deepObject",
12040
+ "explode": true
11730
12041
  },
12042
+ {
12043
+ "name": "groupJoin",
12044
+ "required": false,
12045
+ "type": "string",
12046
+ "description": "条件组之间的连接方式",
12047
+ "options": [
12048
+ {
12049
+ "value": "and",
12050
+ "label": "and"
12051
+ },
12052
+ {
12053
+ "value": "or",
12054
+ "label": "or"
12055
+ }
12056
+ ]
12057
+ }
11731
12058
  ],
11732
12059
  }, {
11733
12060
  name: 'meetings',
@@ -11792,54 +12119,96 @@ export const BUILTIN_MODULES = [
11792
12119
  resultGetter: 'issues',
11793
12120
  params: [
11794
12121
  {
11795
- name: 'param',
11796
- required: false,
11797
- type: 'string',
11798
- description: '搜索参数;browseType=bysearch 或 bySearch 时必填。',
12122
+ "name": "param",
12123
+ "required": false,
12124
+ "type": "string",
12125
+ "description": "搜索参数;browseType=bysearch 或 bySearch 时必填。"
11799
12126
  },
11800
12127
  {
11801
- name: 'browseType',
11802
- required: false,
11803
- type: 'string',
11804
- description: '状态,默认是assignedTo,取值取自 zt_issue 的字段名',
11805
- defaultValue: 'assignedTo',
11806
- options: [
11807
- { value: 'assignedTo', label: '指派给我' },
11808
- { value: 'createdBy', label: '由我创建' },
11809
- { value: 'resolvedBy', label: '由我解决' },
11810
- { value: 'closedBy', label: '由我关闭' },
11811
- { value: 'assignedBy', label: '由我指派' },
11812
- { value: 'bysearch', label: '按查询搜索,需同时传 param' },
11813
- ],
12128
+ "name": "browseType",
12129
+ "required": false,
12130
+ "type": "string",
12131
+ "description": "状态,默认是assignedTo,取值取自 zt_issue 的字段名",
12132
+ "defaultValue": "assignedTo",
12133
+ "options": [
12134
+ {
12135
+ "value": "assignedTo",
12136
+ "label": "指派给我"
12137
+ },
12138
+ {
12139
+ "value": "createdBy",
12140
+ "label": "由我创建"
12141
+ },
12142
+ {
12143
+ "value": "resolvedBy",
12144
+ "label": "由我解决"
12145
+ },
12146
+ {
12147
+ "value": "closedBy",
12148
+ "label": "由我关闭"
12149
+ },
12150
+ {
12151
+ "value": "assignedBy",
12152
+ "label": "由我指派"
12153
+ },
12154
+ {
12155
+ "value": "bysearch",
12156
+ "label": "按查询搜索,需同时传 param"
12157
+ }
12158
+ ]
11814
12159
  },
11815
12160
  {
11816
- name: 'orderBy',
11817
- required: false,
11818
- type: 'string',
11819
- description: '排序',
11820
- options: [
11821
- { value: 'id_asc', label: 'ID 升序' },
11822
- { value: 'id_desc', label: 'ID 降序' },
11823
- { value: 'title_asc', label: '标题 升序' },
11824
- { value: 'title_desc', label: '标题 降序' },
11825
- { value: 'severity_asc', label: '严重程度 升序' },
11826
- { value: 'severity_desc', label: '严重程度 降序' },
11827
- { value: 'status_asc', label: '状态 升序' },
11828
- { value: 'status_desc', label: '状态 降序' },
11829
- ],
12161
+ "name": "orderBy",
12162
+ "required": false,
12163
+ "type": "string",
12164
+ "description": "排序",
12165
+ "options": [
12166
+ {
12167
+ "value": "id_asc",
12168
+ "label": "ID 升序"
12169
+ },
12170
+ {
12171
+ "value": "id_desc",
12172
+ "label": "ID 降序"
12173
+ },
12174
+ {
12175
+ "value": "title_asc",
12176
+ "label": "标题 升序"
12177
+ },
12178
+ {
12179
+ "value": "title_desc",
12180
+ "label": "标题 降序"
12181
+ },
12182
+ {
12183
+ "value": "severity_asc",
12184
+ "label": "严重程度 升序"
12185
+ },
12186
+ {
12187
+ "value": "severity_desc",
12188
+ "label": "严重程度 降序"
12189
+ },
12190
+ {
12191
+ "value": "status_asc",
12192
+ "label": "状态 升序"
12193
+ },
12194
+ {
12195
+ "value": "status_desc",
12196
+ "label": "状态 降序"
12197
+ }
12198
+ ]
11830
12199
  },
11831
12200
  {
11832
- name: 'recPerPage',
11833
- required: false,
11834
- type: 'number',
11835
- description: '每页数量,不超过1000',
12201
+ "name": "recPerPage",
12202
+ "required": false,
12203
+ "type": "number",
12204
+ "description": "每页数量,不超过1000"
11836
12205
  },
11837
12206
  {
11838
- name: 'pageID',
11839
- required: false,
11840
- type: 'number',
11841
- description: '页码,从第1页开始',
11842
- },
12207
+ "name": "pageID",
12208
+ "required": false,
12209
+ "type": "number",
12210
+ "description": "页码,从第1页开始"
12211
+ }
11843
12212
  ],
11844
12213
  }, {
11845
12214
  name: 'risks',
@@ -11853,71 +12222,116 @@ export const BUILTIN_MODULES = [
11853
12222
  resultGetter: 'risks',
11854
12223
  params: [
11855
12224
  {
11856
- name: 'param',
11857
- required: false,
11858
- type: 'string',
11859
- description: '搜索参数;browseType=bysearch 或 bySearch 时必填。',
12225
+ "name": "param",
12226
+ "required": false,
12227
+ "type": "string",
12228
+ "description": "搜索参数;browseType=bysearch 或 bySearch 时必填。"
11860
12229
  },
11861
12230
  {
11862
- name: 'browseType',
11863
- required: false,
11864
- type: 'string',
11865
- description: '状态,默认是assignedTo,取值取自 zt_risk 的字段名',
11866
- defaultValue: 'assignedTo',
11867
- options: [
11868
- { value: 'assignedTo', label: '指派给我' },
11869
- { value: 'createdBy', label: '由我创建' },
11870
- { value: 'closedBy', label: '由我关闭' },
11871
- { value: 'assignedBy', label: '由我指派' },
11872
- { value: 'bysearch', label: '按查询搜索,需同时传 param' },
11873
- ],
12231
+ "name": "browseType",
12232
+ "required": false,
12233
+ "type": "string",
12234
+ "description": "状态,默认是assignedTo,取值取自 zt_risk 的字段名",
12235
+ "defaultValue": "assignedTo",
12236
+ "options": [
12237
+ {
12238
+ "value": "assignedTo",
12239
+ "label": "指派给我"
12240
+ },
12241
+ {
12242
+ "value": "createdBy",
12243
+ "label": "由我创建"
12244
+ },
12245
+ {
12246
+ "value": "closedBy",
12247
+ "label": "由我关闭"
12248
+ },
12249
+ {
12250
+ "value": "assignedBy",
12251
+ "label": "由我指派"
12252
+ },
12253
+ {
12254
+ "value": "bysearch",
12255
+ "label": "按查询搜索,需同时传 param"
12256
+ }
12257
+ ]
11874
12258
  },
11875
12259
  {
11876
- name: 'orderBy',
11877
- required: false,
11878
- type: 'string',
11879
- description: '排序',
11880
- options: [
11881
- { value: 'id_asc', label: 'ID 升序' },
11882
- { value: 'id_desc', label: 'ID 降序' },
11883
- { value: 'name_asc', label: '名称 升序' },
11884
- { value: 'name_desc', label: '名称 降序' },
11885
- { value: 'status_asc', label: '状态 升序' },
11886
- { value: 'status_desc', label: '状态 降序' },
11887
- { value: 'pri_asc', label: '优先级 升序' },
11888
- { value: 'pri_desc', label: '优先级 降序' },
11889
- ],
12260
+ "name": "orderBy",
12261
+ "required": false,
12262
+ "type": "string",
12263
+ "description": "排序",
12264
+ "options": [
12265
+ {
12266
+ "value": "id_asc",
12267
+ "label": "ID 升序"
12268
+ },
12269
+ {
12270
+ "value": "id_desc",
12271
+ "label": "ID 降序"
12272
+ },
12273
+ {
12274
+ "value": "name_asc",
12275
+ "label": "名称 升序"
12276
+ },
12277
+ {
12278
+ "value": "name_desc",
12279
+ "label": "名称 降序"
12280
+ },
12281
+ {
12282
+ "value": "status_asc",
12283
+ "label": "状态 升序"
12284
+ },
12285
+ {
12286
+ "value": "status_desc",
12287
+ "label": "状态 降序"
12288
+ },
12289
+ {
12290
+ "value": "pri_asc",
12291
+ "label": "优先级 升序"
12292
+ },
12293
+ {
12294
+ "value": "pri_desc",
12295
+ "label": "优先级 降序"
12296
+ }
12297
+ ]
11890
12298
  },
11891
12299
  {
11892
- name: 'recPerPage',
11893
- required: false,
11894
- type: 'number',
11895
- description: '每页数量,不超过1000',
12300
+ "name": "recPerPage",
12301
+ "required": false,
12302
+ "type": "number",
12303
+ "description": "每页数量,不超过1000"
11896
12304
  },
11897
12305
  {
11898
- name: 'pageID',
11899
- required: false,
11900
- type: 'number',
11901
- description: '页码,从第1页开始',
12306
+ "name": "pageID",
12307
+ "required": false,
12308
+ "type": "number",
12309
+ "description": "页码,从第1页开始"
11902
12310
  },
11903
12311
  {
11904
- name: 'filters',
11905
- required: false,
11906
- type: 'array',
11907
- description: '搜索条件数组,每项包含 field/operator/value/join/group;field 必须是该接口支持的搜索字段,operator 使用该接口搜索配置支持的操作符。支持搜索字段:activateBy,actualClosedDate,assignedTo,cancelBy,category,createdBy,createdDate,editedBy,editedDate,hangupBy,id,identifiedDate,impact,name,plannedClosedDate,prevention,pri,probability,project,rate,remedy,resolution,resolvedBy,source,status,strategy,trackedBy',
11908
- style: 'deepObject',
11909
- explode: true,
12312
+ "name": "filters",
12313
+ "required": false,
12314
+ "type": "array",
12315
+ "description": "搜索条件数组,每项包含 field/operator/value/join/group;field 必须是该接口支持的搜索字段,operator 使用该接口搜索配置支持的操作符。支持搜索字段:activateBy,actualClosedDate,assignedTo,cancelBy,category,createdBy,createdDate,editedBy,editedDate,hangupBy,id,identifiedDate,impact,name,plannedClosedDate,prevention,pri,probability,project,rate,remedy,resolution,resolvedBy,source,status,strategy,trackedBy",
12316
+ "style": "deepObject",
12317
+ "explode": true
11910
12318
  },
11911
12319
  {
11912
- name: 'groupJoin',
11913
- required: false,
11914
- type: 'string',
11915
- description: '条件组之间的连接方式',
11916
- options: [
11917
- { value: 'and', label: 'and' },
11918
- { value: 'or', label: 'or' },
11919
- ],
11920
- },
12320
+ "name": "groupJoin",
12321
+ "required": false,
12322
+ "type": "string",
12323
+ "description": "条件组之间的连接方式",
12324
+ "options": [
12325
+ {
12326
+ "value": "and",
12327
+ "label": "and"
12328
+ },
12329
+ {
12330
+ "value": "or",
12331
+ "label": "or"
12332
+ }
12333
+ ]
12334
+ }
11921
12335
  ],
11922
12336
  }, {
11923
12337
  name: 'activityTasks',
@@ -12561,61 +12975,82 @@ export const BUILTIN_MODULES = [
12561
12975
  resultGetter: 'reviewissues',
12562
12976
  params: [
12563
12977
  {
12564
- name: 'param',
12565
- required: false,
12566
- type: 'string',
12567
- description: '搜索参数;browseType=bysearch 或 bySearch 时必填。',
12978
+ "name": "param",
12979
+ "required": false,
12980
+ "type": "string",
12981
+ "description": "搜索参数;browseType=bysearch 或 bySearch 时必填。"
12568
12982
  },
12569
12983
  {
12570
- name: 'browseType',
12571
- required: false,
12572
- type: 'string',
12573
- description: '待处理筛选类型,默认 assignedTo,取值取自 zt_reviewissue 的字段名',
12574
- defaultValue: 'assignedTo',
12575
- options: [
12576
- { value: 'assignedTo', label: '指派给我' },
12577
- { value: 'createdBy', label: '由我创建' },
12578
- { value: 'resolutionBy', label: '由我解决' },
12579
- { value: 'assignedBy', label: '由我指派' },
12580
- { value: 'bysearch', label: '按查询搜索,需同时传 param' },
12581
- ],
12984
+ "name": "browseType",
12985
+ "required": false,
12986
+ "type": "string",
12987
+ "description": "待处理筛选类型,默认 assignedTo,取值取自 zt_reviewissue 的字段名",
12988
+ "defaultValue": "assignedTo",
12989
+ "options": [
12990
+ {
12991
+ "value": "assignedTo",
12992
+ "label": "指派给我"
12993
+ },
12994
+ {
12995
+ "value": "createdBy",
12996
+ "label": "由我创建"
12997
+ },
12998
+ {
12999
+ "value": "resolutionBy",
13000
+ "label": "由我解决"
13001
+ },
13002
+ {
13003
+ "value": "assignedBy",
13004
+ "label": "由我指派"
13005
+ },
13006
+ {
13007
+ "value": "bysearch",
13008
+ "label": "按查询搜索,需同时传 param"
13009
+ }
13010
+ ]
12582
13011
  },
12583
13012
  {
12584
- name: 'orderBy',
12585
- required: false,
12586
- type: 'string',
12587
- description: '排序字段。',
13013
+ "name": "orderBy",
13014
+ "required": false,
13015
+ "type": "string",
13016
+ "description": "排序字段。"
12588
13017
  },
12589
13018
  {
12590
- name: 'recPerPage',
12591
- required: false,
12592
- type: 'number',
12593
- description: '每页数量,不超过1000',
13019
+ "name": "recPerPage",
13020
+ "required": false,
13021
+ "type": "number",
13022
+ "description": "每页数量,不超过1000"
12594
13023
  },
12595
13024
  {
12596
- name: 'pageID',
12597
- required: false,
12598
- type: 'number',
12599
- description: '页码,从第1页开始',
13025
+ "name": "pageID",
13026
+ "required": false,
13027
+ "type": "number",
13028
+ "description": "页码,从第1页开始"
12600
13029
  },
12601
13030
  {
12602
- name: 'filters',
12603
- required: false,
12604
- type: 'array',
12605
- description: '搜索条件数组,每项包含 field/operator/value/join/group;field 必须是该接口支持的搜索字段,operator 使用该接口搜索配置支持的操作符。支持搜索字段:assignedDate,assignedTo,createdBy,createdDate,id,opinion,resolution,review,status,title,type',
12606
- style: 'deepObject',
12607
- explode: true,
13031
+ "name": "filters",
13032
+ "required": false,
13033
+ "type": "array",
13034
+ "description": "搜索条件数组,每项包含 field/operator/value/join/group;field 必须是该接口支持的搜索字段,operator 使用该接口搜索配置支持的操作符。支持搜索字段:assignedDate,assignedTo,createdBy,createdDate,id,opinion,resolution,review,status,title,type",
13035
+ "style": "deepObject",
13036
+ "explode": true
12608
13037
  },
12609
13038
  {
12610
- name: 'groupJoin',
12611
- required: false,
12612
- type: 'string',
12613
- description: '条件组之间的连接方式',
12614
- options: [
12615
- { value: 'and', label: 'and' },
12616
- { value: 'or', label: 'or' },
12617
- ],
12618
- },
13039
+ "name": "groupJoin",
13040
+ "required": false,
13041
+ "type": "string",
13042
+ "description": "条件组之间的连接方式",
13043
+ "options": [
13044
+ {
13045
+ "value": "and",
13046
+ "label": "and"
13047
+ },
13048
+ {
13049
+ "value": "or",
13050
+ "label": "or"
13051
+ }
13052
+ ]
13053
+ }
12619
13054
  ],
12620
13055
  }, {
12621
13056
  name: 'audits',
@@ -13046,7 +13481,7 @@ export const BUILTIN_MODULES = [
13046
13481
  "status": "wait",
13047
13482
  "isCycle": 0,
13048
13483
  "checkDateList": [
13049
- "2026-10-15"
13484
+ "2026-10-17"
13050
13485
  ],
13051
13486
  "assignedToList": [
13052
13487
  "admin"
@@ -13196,7 +13631,7 @@ export const BUILTIN_MODULES = [
13196
13631
  "activity"
13197
13632
  ],
13198
13633
  "checkDate": [
13199
- "2026-10-16"
13634
+ "2026-10-18"
13200
13635
  ],
13201
13636
  "assignedTo": [
13202
13637
  "admin"
@@ -13564,7 +13999,7 @@ export const BUILTIN_MODULES = [
13564
13999
  "listID": 1,
13565
14000
  "severity": 2,
13566
14001
  "assignedTo": "admin",
13567
- "deadline": "2026-10-21",
14002
+ "deadline": "2026-10-23",
13568
14003
  "desc": "<p>补充检查记录。</p>"
13569
14004
  },
13570
14005
  },
@@ -13759,8 +14194,8 @@ export const BUILTIN_MODULES = [
13759
14194
  "chance": 3,
13760
14195
  "ratio": 9,
13761
14196
  "pri": 2,
13762
- "identifiedDate": "2026-10-14",
13763
- "plannedClosedDate": "2026-11-03",
14197
+ "identifiedDate": "2026-10-16",
14198
+ "plannedClosedDate": "2026-11-05",
13764
14199
  "assignedTo": "admin",
13765
14200
  "desc": "<p>发现可复用的项目机会。</p>",
13766
14201
  "prevention": "<p>持续跟踪并推进机会落地。</p>"
@@ -13984,7 +14419,7 @@ export const BUILTIN_MODULES = [
13984
14419
  {
13985
14420
  name: 'deliverable',
13986
14421
  display: '交付物',
13987
- description: '交付物管理,支持获取交付物列表,支持获取项目下的交付物、新增项目交付物、获取交付物详情、删除项目交付物',
14422
+ description: '交付物管理,支持获取交付物列表,支持获取项目下的交付物、获取项目可选交付物列表、新增项目交付物、获取交付物详情、删除项目交付物',
13988
14423
  actions: [
13989
14424
  {
13990
14425
  name: 'list',
@@ -14007,13 +14442,16 @@ export const BUILTIN_MODULES = [
14007
14442
  description: '交付物筛选类型,默认 normal',
14008
14443
  defaultValue: 'normal',
14009
14444
  options: [
14010
- { value: 'normal', label: '全部' },
14011
- { value: 'pending', label: '待提交' },
14445
+ { value: 'normal', label: '已提交' },
14446
+ { value: 'wait', label: '未提交' },
14447
+ { value: 'mine', label: '我提交' },
14448
+ { value: 'submitbyme', label: '由我发起' },
14449
+ { value: 'pending', label: '待评审' },
14012
14450
  { value: 'pendingme', label: '待我评审' },
14013
- { value: 'submitbyme', label: '我提交的' },
14014
- { value: 'reviewedbyme', label: '我评审过的' },
14015
- { value: 'pass', label: '已通过' },
14016
- { value: 'fail', label: '未通过' },
14451
+ { value: 'reviewing', label: '评审中' },
14452
+ { value: 'reviewedbyme', label: '我评审过' },
14453
+ { value: 'pass', label: '评审通过' },
14454
+ { value: 'fail', label: '评审失败' },
14017
14455
  { value: 'bymodule', label: '按模块' },
14018
14456
  { value: 'bysearch', label: '搜索' },
14019
14457
  ],
@@ -14046,6 +14484,19 @@ export const BUILTIN_MODULES = [
14046
14484
  defaultValue: '1',
14047
14485
  },
14048
14486
  ],
14487
+ }, {
14488
+ name: 'options',
14489
+ minVersion: ['22.7', 'biz13.7', 'max8.7', 'ipd5.7'],
14490
+ display: '获取项目可选交付物列表',
14491
+ type: 'get',
14492
+ method: 'get',
14493
+ path: '/projects/{projectID}/deliverable-options',
14494
+ resultType: 'object',
14495
+ resultGetter: 'deliverables',
14496
+ pathParams: {
14497
+ projectID: '项目ID',
14498
+ },
14499
+ description: '获取当前项目流程下可以提交的交付物定义。返回结果中 deliverables 的属性名为交付物定义 ID,值为交付物名称,可用于创建项目交付物。',
14049
14500
  }, {
14050
14501
  name: 'create',
14051
14502
  minVersion: ['22.7', 'biz13.7', 'max8.7', 'ipd5.7'],
@@ -14242,7 +14693,7 @@ export const BUILTIN_MODULES = [
14242
14693
  "title": "API 基线",
14243
14694
  "version": "V1.0",
14244
14695
  "category": [
14245
- 13
14696
+ 1
14246
14697
  ],
14247
14698
  "type": "taged",
14248
14699
  "status": "wait"
@@ -14307,7 +14758,7 @@ export const BUILTIN_MODULES = [
14307
14758
  "title": "API 基线(已编辑)",
14308
14759
  "version": "V1.1",
14309
14760
  "category": [
14310
- 13
14761
+ 1
14311
14762
  ],
14312
14763
  "comment": "通过 API 编辑"
14313
14764
  },
@@ -14533,7 +14984,7 @@ export const BUILTIN_MODULES = [
14533
14984
  {
14534
14985
  name: 'relation',
14535
14986
  display: '对象关联',
14536
- description: '对象关联管理,支持关联对象、查询可关联对象、查询关联对象、删除关联对象',
14987
+ description: '对象关联管理,支持关联对象、查询可关联对象、查询关联对象、删除关联关系',
14537
14988
  actions: [
14538
14989
  {
14539
14990
  name: 'link',
@@ -14629,18 +15080,15 @@ export const BUILTIN_MODULES = [
14629
15080
  }, {
14630
15081
  name: 'unlink',
14631
15082
  minVersion: ['22.7', 'biz13.7', 'max8.7', 'ipd5.7'],
14632
- display: '删除关联对象',
15083
+ display: '删除关联关系',
14633
15084
  type: 'delete',
14634
15085
  method: 'delete',
14635
- path: '/relations/{objectType}/{objectID}/{relatedObjectType}/{relatedObjectID}/{relationName}',
15086
+ path: '/relations/{relationID}',
14636
15087
  resultType: 'text',
14637
15088
  pathParams: {
14638
- objectType: 'objectType',
14639
- objectID: 'objectID',
14640
- relatedObjectType: 'relatedObjectType',
14641
- relatedObjectID: 'relatedObjectID',
14642
- relationName: 'relationName',
15089
+ relationID: 'relationID',
14643
15090
  },
15091
+ description: '根据关系记录 ID 删除自定义关联关系。relationID 从查询关联对象接口返回的 relations[].relationID 字段获取,只有 relationType 为 custom 的自定义关系可以删除。',
14644
15092
  }
14645
15093
  ],
14646
15094
  },