npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@steedos-labs/tables

v1.2.4

Published

<!-- * @Author: 殷亮辉 [email protected] * @Date: 2024-12-24 12:05:23 * @LastEditors: 殷亮辉 [email protected] * @LastEditTime: 2025-04-01 18:14:51 --> ## 信息填报

Readme

信息填报

Steedos 平台版本

Docker镜像版本:steedos/steedos-enterprise:2.7.18-beta.5

资产包配置

数据表依赖了ag-grid资产包,请为steedos platform平台配置以下环境变量引入资产包:

STEEDOS_WIDGETS_ADDITIONAL=@steedos-widgets/ag-grid,@steedos-widgets/liveblocks
STEEDOS_WIDGETS_VERSION=6.3.12-beta.31

发布版本

  • 1 修改package.json中的version.
  • 2 执行发布脚本.
yarn release

数据API配置

B6_HOST,默认为空,使用相对路径,如果与ROOT_URL一样就不用配置,否则请务必配置。

b6_tables 附件下载

b6_tables 记录详情页的“下载附件”按钮用于下载当前表格下已完成填写任务的附件。

规则:

  • 只打包 b6_collect.status = approved 的填写任务附件。
  • 附件来源为 cms_files,关联条件为 parent.o = b6_collectparent.ids 包含填写任务 _id
  • 每个 cms_files 记录取 versions[0] 作为最新文件版本。
  • ZIP 条目命名为 填写任务编号_填报人_原附件名,重名时追加 _2_3 等后缀。
  • ZIP 使用流式生成,不在服务器生成临时 ZIP 文件。
  • ZIP 只打包不压缩,避免大附件下载时占用过高 CPU。
  • 默认单次总附件大小上限为 1536 MB,可通过 B6_TABLES_DOWNLOAD_FILES_MAX_MB 调整。
  • 默认每个 Node.js 进程最多允许 2 个附件打包流同时运行,可通过 B6_TABLES_DOWNLOAD_FILES_MAX_CONCURRENT 调整。
  • 当前版本不支持断点续传;浏览器或网络中断后需要重新点击下载。

验证命令:

node --test steedos-packages/tables/src/methods/b6tablesActions/download_files_helpers.test.js
yarn workspace @steedos-labs/tables build

功能简介

公式计算

字段类型规则
  • 数字类型参数,如果为空,视为0值参与公式计算
  • boolean类型参数,如果为空,视为false值参与公式计算
  • 其它类型,包括单选,日期,文本等,如果为空,视为空字符串参与公式计算