chenzhfa a1d8e3a8c3 hrwa前端初始化 2 năm trước cách đây
..
basicsetting a1d8e3a8c3 hrwa前端初始化 2 năm trước cách đây
demo a1d8e3a8c3 hrwa前端初始化 2 năm trước cách đây
paysetting a1d8e3a8c3 hrwa前端初始化 2 năm trước cách đây
public a1d8e3a8c3 hrwa前端初始化 2 năm trước cách đây
refer a1d8e3a8c3 hrwa前端初始化 2 năm trước cách đây
reportquery a1d8e3a8c3 hrwa前端初始化 2 năm trước cách đây
wapayment a1d8e3a8c3 hrwa前端初始化 2 năm trước cách đây
.gitignore a1d8e3a8c3 hrwa前端初始化 2 năm trước cách đây
README.md a1d8e3a8c3 hrwa前端初始化 2 năm trước cách đây
push.sh a1d8e3a8c3 hrwa前端初始化 2 năm trước cách đây

README.md

各个目录代表的模块名

  • basicsetting
    • budgetitem 预算项目构成
    • waitem 公共薪资项目
    • taxrate 税率表
    • warule 薪资规则
    • wagrade 薪资标准设置
    • period 薪资期间(grp/org)
  • paysetting
    • amoscheme 分摊方案
    • classpower 薪资方案权限
    • itempower 薪资项目权限
    • classitem 薪资发放项目
    • unitclass 汇总薪资方案
    • taxgroup 合并计税方案
    • taxrptitem 个税申报表设置
    • waclass 薪资方案
    • adjustbill 定调资申请/审批(apply/approve)
    • adjustdoc 定调资信息维护
    • conversion 业务流配置
  • wapayment

    • bankoffer 银行报盘
    • datainterface 数据接口
    • end 期末处理
    • amo 薪资分摊
    • paydata 薪资发放
    • payfile 薪资档案
    • payleave 离职结薪
    • payroll 发放申请/审批(apply/approve)
    • psntax 个人所得税
    • repay 薪资补发
    • taxforecast 个税测算
    • taxreport 个税申报表
    • payslip 薪资条管理
  • refer

    • ClassItemTransferGridRef 薪资结转项目
    • WaClassGridTreeRef 薪资类别
    • WaGradeDeptGridRef 薪资标准-自助
    • WaItem4ClassItemGridRef 公共薪资项目(classitem)
    • WaPaydataGridRef 薪资档案(Tax)
    • WaPrmlvGridRef 薪资级别
    • TaxtableGridRef 税率表
    • WaClassItemGridRef 薪资发放项目
    • WaGradeGridRef 薪资标准
    • WaItem4GradeGridRef 公共薪资项目(grade)
    • WaPeriodSchemeGridRef 薪资期间方案
    • WaSeclvGridRef 薪资档别
    • WaClass4PayrollGridRef 薪资类别(发放审批)
    • WaClassRangeGridRef
    • WaItem4AuditGridRef 公共薪资项目(audit)
    • WaItemGridRef 公共薪资项目
    • WaPrmSecGridRef 薪资标准值
    • WaWageformGridRef 薪资规则
  • public

    • fonts 字体文件
    • mystyle 自定义样式
    • style 默认样式

各个业务模块名称及URL

业务模块名称 URL
预算项目构成 http://localhost:3006/hrwa/basicsetting/budgetitem/main
公共薪资项目 http://localhost:3006/hrwa/basicsetting/item/main
税率表 http://localhost:3006/hrwa/basicsetting/taxrate/main
薪资规则 http://localhost:3006/hrwa/basicsetting/rule/main
薪资标准设置 http://localhost:3006/hrwa/basicsetting/grade/main
薪资期间 http://localhost:3006/hrwa/basicsetting/period/main
分摊方案 http://localhost:3006/hrwa/paysetting/amoscheme/main
薪资方案权限 http://localhost:3006/hrwa/paysetting/classpower/main
薪资项目权限 http://localhost:3006/hrwa/paysetting/itempower/main
薪资发放项目 http://localhost:3006/hrwa/paysetting/classitem/main
汇总薪资方案 http://localhost:3006/hrwa/paysetting/unitclass/main
合并计税方案 http://localhost:3006/hrwa/paysetting/taxgroup/main
个税申报表设置 http://localhost:3006/hrwa/paysetting/taxrptitem/main
薪资方案 http://localhost:3006/hrwa/paysetting/category/main
定调资申请/审批 http://localhost:3006/hrwa/paysetting/adjust/main
定调资信息维护 http://localhost:3006/hrwa/paysetting/psndocwadoc/main
业务流配置 http://localhost:3006/hrwa/paysetting/conversion/main
银行报盘 http://localhost:3006/hrwa/wapayment/bankoffer/main
数据接口 http://localhost:3006/hrwa/wapayment/datainterface/main
期末处理 http://localhost:3006/hrwa/wapayment/end/main
薪资分摊 http://localhost:3006/hrwa/wapayment/amo/main
薪资发放 http://localhost:3006/hrwa/wapayment/paydata/main
薪资档案 http://localhost:3006/hrwa/wapayment/payfile/main
离职结薪 http://localhost:3006/hrwa/wapayment/payleave/main
发放申请/审批 http://localhost:3006/hrwa/wapayment/payroll/main
个人所得税 http://localhost:3006/hrwa/wapayment/psntax/main
薪资补发 http://localhost:3006/hrwa/wapayment/repay/main
个税测算 http://localhost:3006/hrwa/wapayment/taxforecast/main
个税申报表 http://localhost:3006/hrwa/wapayment/taxreport/main
薪资条管理 http://localhost:3006/hrwa/wapayment/payslip/main

###开发注意点: 1、由于列表和卡片同时加载,卡片状态如果是display:none的时候不会加载样式渲染。所以初始写createForm的时候,给外层加上

                <div style={{height: this.state.showMode == 'card' ? 'auto' : '0', overflow: this.state.showMode == 'card' ? '': 'hidden'}}

2、空图片的加载 尽可能的给最外层定义高度; 当前页面的高度需要通过计算实现,否则数据很少时,下方会有留白。并且加上nc公共类(白色背景)具体实现:

      1、定义state: pageHeight
      2、在componentDidMount中:
      let height = document.documentElement.clientHeight;
      this.setState({pageHeight: height - 18});
      3、在render中,绑定style={{height: this.state.pageHeight}}
      例如:<div  className="period-list nc-single-table" style={{height: this.state.pageHeight}}>


3 列表页面的分页在有数据的时候,都是显示的,并不是>10显示 所有的模态框不允许点击背景关闭,所以设置modalDropup: true,backdrop: 'static'//是否弹出遮罩层/点击遮罩层是否触发关闭事件 ``` 4:公共参照的使用: ·注意事项1之前传参没放在param里面的,需要放到param。比如下面这样;其他的没什么影响。 ·注意事项2:页面中用到组织的地方。要用公共组件,因为这本来就是一个公共的东西,以后需要改什么都好改一些。使用方式:import OrgRefer from '../../../../hrpub/common/components/referSearch/org'; 5:获取groupId

  1:import {  getBusinessInfo } from 'nc-lightapp-front'
  2:在componentDidMountd中:  this.businessInfo = getBusinessInfo() || {groupId: '0001HR100000000005M3'}
  3:在使用的地方:this.businessInfo.groupId;(注意this指向)