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

flag-ui-sendobject

v0.0.54

Published

send object

Readme

发送对象通用组件

针对一信通平台发送短信对象的通用组件

安装

npm install --save flag-ui-sendobject

依赖

 1. vue
 2. element-ui
 3. vue的prototype上需要注入$http(axios)提供接口调用

使用说明

引入

import SendContent from 'flag-ui-sendcontent'

组件概况

组件参数说明

|传入参数 | 类型 |是否必填|默认值 | 说明 | |:-------------------|:-------|:-----:|:------:|:----------------------------------------| |title |String |否 |'发送对象' |标题 | |type |String |否 |'text,file,contact' |支持类型:text:手动输入,file:文件导入,contact:通讯录导入,dynamic:动态数据(暂未实现)。用逗号分割 | |urls |Object |是 |- |请求路径对象,具体见下表 |


详细参数说明

url: {
    verifyInput: '手输手机号码验证',
    contact: '获取通讯录实例列表',
    group: '获取通讯录分组列表',
    member: '获取通讯录成员列表',
    count: '获取通讯录分组人数',
    tag: '获取通讯录标签分组列表',
    tagCount: '获取通讯录标签分组人数',
    import: '短彩本地号码文件导入',
    downloadTpl: '号码文件导入模版',
    dynamic: '短彩动态数据文件导入',
    dynamicTpl: '短彩动态数据文件下载',
    listWithParent: '获取通讯录分组列表(模糊查询,包含父分组)',
    search: '获取通讯录成员列表(搜索手机号和姓名)',
    version: '版本,取值为6.0/6.1'
}

传出参数说明

|参数 | 类型 | 是否必填 |默认 | 说明 | |:-------------:|:-------|:-----------|:--------|:------------------| |v-model |Object |是 |{} |双向绑定传出内容对象 |


{
sendObject: {
    contactsExcludeList: '排除的通讯录成员列表',
    contactsGroupList: '要发送的通讯录组列表',
    mdn: '手机号码',
    mdnFile: '号码文件地址',
    dynDataPath: '动态数据文件地址',
    rmRepeat: '1'
},
allSubmitMdn: '提交的号码数'
}

组件事件说明

|参数 | 说明 | 参数 | |:-------------:|:-------|:-----------| |dynamicImport | 上传动态数据后触发 |{titles: ['验证码', '动态文件标题'], colMaxValMap: {0: '123456', 1: '动态文件各标题对应的最长字段'}|

组件变更记录

  • v0.0.3 增加动态数据支持
  • v0.0.4 动态数据修改为事件触发
  • v0.0.5 细节完善
  • v0.0.8 增加提交号码数
  • v0.0.9 完善下载功能
  • v0.0.32 用户中心接口支持、弃用ContactsGroup.js、异步加载分组
  • v0.0.34 兼容6.0、6.1版本
  • v0.0.36 短信UI重做
  • v0.0.37 重做导入