{"id":36501860,"url":"https://github.com/tinper-acs/yyuap-bpm","last_synced_at":"2026-01-12T02:22:47.383Z","repository":{"id":57404943,"uuid":"136879859","full_name":"tinper-acs/yyuap-bpm","owner":"tinper-acs","description":"🎉应用平台流程提交、收回、审批、流程组件","archived":false,"fork":false,"pushed_at":"2020-04-01T08:12:45.000Z","size":18122,"stargazers_count":13,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"0.2.x","last_synced_at":"2025-11-27T12:25:51.749Z","etag":null,"topics":["bpm","react","tinper","uba"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/yyuap-bpm","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tinper-acs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-06-11T05:44:57.000Z","updated_at":"2023-12-19T07:15:23.000Z","dependencies_parsed_at":"2022-09-03T19:31:32.615Z","dependency_job_id":null,"html_url":"https://github.com/tinper-acs/yyuap-bpm","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/tinper-acs/yyuap-bpm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinper-acs%2Fyyuap-bpm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinper-acs%2Fyyuap-bpm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinper-acs%2Fyyuap-bpm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinper-acs%2Fyyuap-bpm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tinper-acs","download_url":"https://codeload.github.com/tinper-acs/yyuap-bpm/tar.gz/refs/heads/0.2.x","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinper-acs%2Fyyuap-bpm/sbom","scorecard":{"id":887325,"data":{"date":"2025-08-11","repo":{"name":"github.com/tinper-acs/yyuap-bpm","commit":"6a0e960c22205b0f5316e3d103dc95b6a03e6cc8"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch '0.2.x'","Warn: branch protection not enabled for branch '0.3.x'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-24T10:29:50.862Z","repository_id":57404943,"created_at":"2025-08-24T10:29:50.862Z","updated_at":"2025-08-24T10:29:50.862Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28332079,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T00:36:25.062Z","status":"online","status_checked_at":"2026-01-12T02:00:08.677Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bpm","react","tinper","uba"],"created_at":"2026-01-12T02:22:46.717Z","updated_at":"2026-01-12T02:22:47.376Z","avatar_url":"https://github.com/tinper-acs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bpm流程组件\n\n基于tinper-bee组件库对iUap原有UUI流程业务组件流程部分进行封装React版本\n\n实际使用中不需要使用全部组件\n\n总共包含8种组件，分别是：\n\n序号 | 组件名称 | 备注\n---|---|---\n1|BpmFlowChart|流程图\n2|BpmTable|流程历史表格\n3|BpmTaskApproval|流程审批面板\n4|BpmButtonSubmit|流程提交按钮\n5|BpmButtonRecall|流程收回按钮\n6|BpmWrap|包含流程图和流程历史表格\n7|BpmTaskApprovalWrap|流程整合审批面板\n8|BpmTestCheckTable|测试任务中心表格组件\n\n\n## 何时使用\n \n用来开发的时候测试任务中心表格，禁止用于生产阶段切记！！！\n\n\n## 如何使用\n\n- 通过npm下载使用\n`npm install yyuap-bpm -S`\n\n\n如果使用流程图相关组件那么导入:\n\n```js\nimport { BpmWrap } from 'yyuap-bpm';\n```\n然后在render使用的时候传入相应组件需要的参数即可：\n\n```js\n\u003cBpmWrap\n    id={id}\n    processDefinitionId={processDefinitionId}\n    processInstanceId={processInstanceId}\n/\u003e\n```\n\n## API\n\n### BpmFlowChart\n\n序号 | 参数 | 类型 | 说明\n---|---|---|---\n1|host|string|请求流程图的接口前缀一般不需要设置默认走本地部署服务\n2|processDefinitionId|string|流程图服务必备参数\n3|processInstanceId|string|流程图服务必备参数\n4|width|string|流程图宽度\n5|height|string|流程图高度\n\n### BpmTable\n\n序号 | 参数 | 类型 | 说明\n---|---|---|---\n1|host|string|请求流程图的接口前缀一般不需要设置默认走本地部署服务\n2|processDefinitionId|string|流程图服务必备参数\n3|processInstanceId|string|流程图服务必备参数\n\n### BpmTaskApproval\n\n序号 | 参数 | 类型 | 说明\n---|---|---|---\n1|host|string|请求审批的接口前缀一般不需要设置默认走本地部署服务\n2|id|string|审批的任务ID\n3|appType|string|审批面板类型1=待审批、2=弃审、3=无显示\n4|onStart|function|调用异步服务回调，一般用于请求Loading处理\n5|onSuccess|function|调用后端服务成功后的回调\n\n\n### BpmButtonSubmit\n\n序号 | 参数 | 类型 | 说明\n---|---|---|---\n1|checkedArray|array|传入的选中状态数组(流程单据前面的选择框数据)\n2|text|string|按钮的文本，默认提交\n3|funccode|string|功能节点编码\n4|nodekey|string|nodekey\n5|url|string|提交流程所需要的地址，必须传入\n6|onSuccess|function|提交流程业务成功后回调\n7|onError|function|提交流程业务失败后回调{type:1,msg:\"错误消息\"}type=1代表逻辑错误，type=2代表服务器错误\n8|className|string|传入class\n9|onStart|function|调用异步服务回调，一般用于请求Loading处理\n\n\n### BpmButtonRecall\n\n序号 | 参数 | 类型 | 说明\n---|---|---|---\n1|checkedArray|array|传入的选中状态数组(流程单据前面的选择框数据)\n2|text|string|按钮的文本，默认提交\n3|url|string|提交流程所需要的地址，必须传入\n4|onSuccess|function|提交流程业务成功后回调\n5|onError|function|提交流程业务失败后回调{type:1,msg:\"错误消息\"}type=1代表逻辑错误，type=2代表服务器错误\n6|className|string|传入class\n7|onStart|function|调用异步服务回调，一般用于请求Loading处理\n\n\n### BpmWrap\n\n\u003e 基于BpmFlowChart和BpmTable组合使用的流程查看组件\n当传入id(TaskID)、processDefinitionId、processInstanceId的时候不请求getbillid接口\n当只传入id(单据ID)的时候，组件会从getbillid处请求所需要的参数\n\n\n序号 | 参数 | 类型 | 说明\n---|---|---|---\n1|id|string|传入的ID(注：只传ID的话，就是单据ID组件会去请求getbillid接口拿到流程需要的参数，如果传递3个参数的话ID就是TaskID,processDefinitionId,processInstanceId)\n2|processDefinitionId|string|processDefinitionId\n3|processInstanceId|string|processInstanceId\n\n\n### BpmTaskApprovalWrap\n\n\n序号 | 参数 | 类型 | 说明\n---|---|---|---\n1|id|string|传入的ID(注：只传ID的话，就是单据ID组件会去请求getbillid接口拿到流程需要的参数，如果传递3个参数的话ID就是TaskID,processDefinitionId,processInstanceId)\n2|processDefinitionId|string|processDefinitionId\n3|processInstanceId|string|processInstanceId\n4|onBpmFlowClick|function|流程图按钮单击事件，一般用来给流程图页面跳转路由和参数使用\n5|appType|string|审批面板类型1=待审批、2=弃审、3=无显示\n6|onStart|function|调用异步服务回调，一般用于请求Loading处理\n\n\n## 注意事项\n\n用来开发的时候测试任务中心表格，禁止用于生产阶段切记！！！\n\n## 更新日志","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinper-acs%2Fyyuap-bpm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftinper-acs%2Fyyuap-bpm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinper-acs%2Fyyuap-bpm/lists"}