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 🙏

© 2024 – Pkg Stats / Ryan Hefner

@ganker/personnel-file.api

v3.0.11

Published

>占道施工、110接处警、受理单、有效警力报备、派警信息、人员档案管理的api接口层 #### 人员档案接口文档

Downloads

3

Readme

集成指挥中心

占道施工、110接处警、受理单、有效警力报备、派警信息、人员档案管理的api接口层

人员档案接口文档

  1. personnelInformationList

    • 接口功能:

    人员档案列表查询

    • 请求参数

    | 请求字段 | 字段类型 | 是否必填 | 说明 | --- | --- | --- | --- | |where|PersonnelInformationListInput| 否 | 为空时查询所有人员档案,不为空时按条件查询 |limit|ListLimt|否| 分页参数

    PersonnelInformationListInput {  
    /** 人员编号 */
    personCode?: string;
    /** 姓名 */
    realName?: string;
    /** 人员类型 */
    idTypeCodeOfPublicSecurityOrganStaff?: string;
    /** 需排序字段 */
    field?: string;
    /** 排序规则 */
    orderRule?: string;
    }
    ListLimit {
    page: number;
    psize: number;
    }
    • 返回参数

    返回字段 | 返回值类型 | 说明 | --- | --- | --- | PersonnelInformationListResult|ListCount |

PersonnelInformationListResult {
    /** 序号 */
    id?: number;
    /** 人员编号  */
    personCode?: string;
    /** 人员类型 */
    idTypeCodeOfPublicSecurityOrganStaff?: string;
    /** 姓名 */
    realName?: string;
    /** 记录类型 1: 非上报 2: 上报 */
    recordType?: string;
    /** 部门名称 */
    departmentName?: string;
    /** 所属部门Id */
    departmentId?: number
    /** 所属部门代码 */
    departmentCode?: string
    /** 身份证号 */
    idCardNumber?: string;
    /** 出生日期 */
    dateOfBirth?: string;
    /** 性别  0:未知的性别 1:男 2 :女  9:未说明的性别 */
    genderCode?: string;
    /** 民族 */
    nationalCode?: string;
    /** 政治面貌 */
    politicalStatusCode?: string;
    /** 入队时间 */
    joinTeamDate?: string;
    /** 学历 */
    educationalLevelCode?: string;
    /** 所学专业 */
    major?: string;
    /** 联系手机 */
    mobileNumber?: string;
    /** 办公电话 */
    officePhone?: string;
    /** 家庭电话 */
    familyPhone?: string;
    /** 籍贯 */
    nativePlace?: string;
    /** 家庭住址 */
    address?: string;
    /** 备注 */
    note?: string;
    /** 警员类型 */
    policeType?: string
    /** 警衔 */
    policeRankAndCivilianRankCode?: string
    /** 职级 */
    jobLevelCode?: string;
    /** 执法资格等级 */
    lawEnforcementLevel?: string;
    /** 编制类别 */
    compileCategoryCode?: string;
    /** 事故处理等级 */
    solveAccidentLevel?: string;
    /** 入党/入团时间 */
    joinPartyDate?: string;
    /** 创建时间 */
    createDate?: string;
    /** 创建人 */
    createUserName?: string;
}
  1. personnelInformationAdd

    • 接口功能:

    新增一条人员档案信息

    • 请求参数

    | 请求字段 | 字段类型 | 是否必填 | 说明 | --- | --- | --- | --- | |where|PersonnelInformationAddInput| 是 |

    PersonnelInformationAddInput {
    /** 人员类型 */  
    idTypeCodeOfPublicSecurityOrganStaff: string;  
    /** 姓名 */
    realName: string;
    /** 记录类型 1: 非上报 2: 上报 */
    recordType: string;
    /** 所属部门Id */
    departmentId: number
    /** 身份证号 */
    idCardNumber: string;
    /** 出生日期 */
    dateOfBirth: string;
    /** 性别  0:未知的性别 1:男 2 :女  9:未说明的性别 */
    genderCode: string;
    /** 民族 */
    nationalCode: string;
    /** 政治面貌 */
    politicalStatusCode?: string;
    /** 入队时间 */
    joinTeamDate?: string;
    /** 学历 */
    educationalLevelCode?: string;
    /** 所学专业 */
    major?: string;
    /** 联系手机 */
    mobileNumber?: string;
    /** 办公电话 */
    officePhone?: string;
    /** 家庭电话 */
    familyPhone?: string;
    /** 籍贯  */
    nativePlace?: string;
    /** 家庭住址 */
    address?: string;
    /** 备注 */
    note?: string;
    /** 警员类型 */
    policeType?: string
    /** 警员编号 */
    policeCode?: string
    /** 警衔 */
    policeRankAndCivilianRankCode?: string
    /** 职级 */
    jobLevelCode?: string;
    /** 执法资格等级 */
    lawEnforcementLevel?: string;
    /** 编制类别 */
    compileCategoryCode?: string;
    /** 事故处理等级 */
    solveAccidentLevel?: string;
    /** 入党/入团时间 */
    joinPartyDate?: string;
    }
    • 返回参数

    返回字段 | 返回值类型 | 说明 | --- | --- | --- | 无| Object | 返回新增成功后的人员档案信息

  2. personnelInformationUpdate

    • 接口功能:

    修改一条指定的人员档案信息

    • 请求参数

    | 请求字段 | 字段类型 | 是否必填 | 说明 | --- | --- | --- | --- | |where|PersonnelInformationAddInput| 是 |

    PersonnelInformationAddInput {
    /** id */
    id:number
    /** 人员类型 */  
    idTypeCodeOfPublicSecurityOrganStaff: string;  
    /** 姓名 */
    realName: string;
    /** 记录类型 1: 非上报 2: 上报 */
    recordType: string;
    /** 所属部门Id */
    departmentId: number
    /** 身份证号 */
    idCardNumber: string;
    /** 出生日期 */
    dateOfBirth: string;
    /** 性别  0:未知的性别 1:男 2 :女  9:未说明的性别 */
    genderCode: string;
    /** 民族 */
    nationalCode: string;
    /** 政治面貌 */
    politicalStatusCode?: string;
    /** 入队时间 */
    joinTeamDate?: string;
    /** 学历 */
    educationalLevelCode?: string;
    /** 所学专业 */
    major?: string;
    /** 联系手机 */
    mobileNumber?: string;
    /** 办公电话 */
    officePhone?: string;
    /** 家庭电话 */
    familyPhone?: string;
    /** 籍贯  */
    nativePlace?: string;
    /** 家庭住址 */
    address?: string;
    /** 备注 */
    note?: string;
    /** 警员类型 */
    policeType?: string
    /** 警员编号 */
    policeCode?: string
    /** 警衔 */
    policeRankAndCivilianRankCode?: string
    /** 职级 */
    jobLevelCode?: string;
    /** 执法资格等级 */
    lawEnforcementLevel?: string;
    /** 编制类别 */
    compileCategoryCode?: string;
    /** 事故处理等级 */
    solveAccidentLevel?: string;
    /** 入党/入团时间 */
    joinPartyDate?: string;
    }
    • 返回参数

    返回字段 | 返回值类型 | 说明 | --- | --- | --- | 无| Object | 返回修改过后的人员档案信息

  3. personnelInformationDelete

    • 接口功能:

    根据id删除一条指定的人员档案信息

    • 请求参数

    | 请求字段 | 字段类型 | 是否必填 | 说明 | --- | --- | --- | --- | |id|number| 是 |

    • 返回参数

    返回字段 | 返回值类型 | 说明 | --- | --- | --- | 无| Object | 返回被删除的人员档案信息