NC移动审批集成微信、钉钉,移动端已实现单据查询、审批驳回、流程图历史、附件查看下载等功能!
本人从后端到前端开发完成上线,共花费3个月的时间,虽期间也会做别的事,但工作量还是很大;后端使用springboot+mybatis技术,使用了restful技术调用NC审批等接口,前端用的钉钉小程序(和微信小程序差不多),使用的是原生js技术,有需要的朋友可以找我要源码(后端加前端),我可以提供给大家!
下面是前端小程序的部分截图:
{
"pages": [
"page/index/index",
"page/my/my",
"page/detail/detail",
"page/approved/approved",
"page/rejected/rejected",
"page/bxdetail/bxdetail",
"page/fksqdetail/fksqdetail",
"page/cghtdetail/cghtdetail",
"page/cgfpdetail/cgfpdetail",
"page/supplierdetail/supplierdetail",
"page/praybilldetail/praybilldetail",
"page/priceauditdetail/priceauditdetail",
"page/wapayrolldetail/wapayrolldetail",
"page/applycombinedetail/applycombinedetail",
"page/icinvcountdetail/icinvcountdetail",
"page/qcpassbilldetail/qcpassbilldetail",
"page/erjkzbdetail/erjkzbdetail",
"page/ctsaledetail/ctsaledetail",
"page/tuihuansaledetail/tuihuansaledetail"
],
"window": {
"titleBarColor": "#6495ED",
"defaultTitle": "交互平台",
"backgroundColor": "#F5F5F9",
"pullRefresh": false,
"allowsBounceVertical": "YES"
},
"tabBar": {
"textColor": "#404040",
"selectedColor": "#108ee9",
"backgroundColor": "#F5F5F9",
"items": [
{
"pagePath": "page/index/index",
"icon": "page/image/icon_component.png",
"activeIcon": "page/image/icon_component_HL.png",
"name": "待审批"
},
{
"pagePath": "page/approved/approved",
"icon": "page/image/icon_API.png",
"activeIcon": "page/image/icon_API_HL.png",
"name": "已审批"
},
{
"pagePath": "page/rejected/rejected",
"icon": "page/image/icon_biz.png",
"activeIcon": "page/image/icon_biz_HL.png",
"name": "已驳回"
},
{
"pagePath": "page/my/my",
"icon": "page/image/icon_biz.png",
"activeIcon": "page/image/icon_biz_HL.png",
"name": "我的"
}
]
},
"debug": true
}
module.exports = {
IndexUrl: WxApiRoot + 'WorkTask/getTaskList', //待审批单据
LoginUrl: WxApiRoot + 'Userinfo/login', //登录接口
MaterialPfUrl: WxApiRoot + 'WorkTask/getMaterialPf', //物料详情页
BxzbUrl: WxApiRoot + 'WorkTask/getBxzb', //报销单详情页
CmpApplyUrl: WxApiRoot + 'WorkTask/getCmpApply', //付款申请详情页
CtPuUrl: WxApiRoot + 'WorkTask/getCtPu', //采购合同详情页
PoInvoiceUrl: WxApiRoot + 'WorkTask/getPoInvoice', //采购发票详情页
SupplierPfUrl: WxApiRoot + 'WorkTask/getSupplierPf', //供应商申请单详情页
PrayBillUrl: WxApiRoot + 'WorkTask/getPrayBill', //查询请购单详情
PriceAuditUrl: WxApiRoot + 'WorkTask/getPriceAudit', //查询价格审批单详情
WaPayrollUrl: WxApiRoot + 'WorkTask/getWaPayroll', //查询薪资发放申请单详情
ApplyCombineUrl: WxApiRoot + 'WorkTask/getApplyCombine',//查询付款申请合并
IcInvcountUrl: WxApiRoot + 'WorkTask/getIcInvcount',//查询盘点单
QcPassbillUrl: WxApiRoot + 'WorkTask/getQcPassbill',//查询紧急放行单
ErJkzbUrl: WxApiRoot + 'WorkTask/getErJkzb',//查询个人借款单
CtSaleUrl: WxApiRoot + 'WorkTask/getCtSale',//查询销售合同
TuiHuanSaleorderUrl: WxApiRoot + 'WorkTask/getTuiHuanSaleorder',//查询退货货
DoAgreeUrl: WxApiRoot + 'WorkTask/doAgree',//审批操作
DoDisAgreeUrl: WxApiRoot + 'WorkTask/doDisAgree',//不审批操作
DoRejectUrl: WxApiRoot + 'WorkTask/doReject',//驳回操作
ApprovedDetailUrl: WxApiRoot + 'WorkTask/getApprovedDetail',//驳回操作
AttachmentListUrl: WxApiRoot + 'WorkTask/getMessageAttachmentList',//查询单据附件列表
AttachmentUrl: WxApiRoot + 'WorkTask/getMessageAttachment',//查询单据附件列表
};