|
@@ -444,7 +444,7 @@ func (c *ReimburseController) Reimburse_Del() {
|
|
}
|
|
}
|
|
o.Commit()
|
|
o.Commit()
|
|
|
|
|
|
- NatsServer.AddUserLogs(c.User.T_uuid, "报销", "删除", err)
|
|
|
|
|
|
+ NatsServer.AddUserLogs(c.User.T_uuid, "报销", "删除", T_id)
|
|
|
|
|
|
c.Data["json"] = lib.JSONS{Code: 200, Msg: "ok!", Data: reimburse.Id}
|
|
c.Data["json"] = lib.JSONS{Code: 200, Msg: "ok!", Data: reimburse.Id}
|
|
c.ServeJSON()
|
|
c.ServeJSON()
|
|
@@ -481,7 +481,7 @@ func (c *ReimburseController) Reimburse_Get() {
|
|
pList = append(pList, p)
|
|
pList = append(pList, p)
|
|
}
|
|
}
|
|
|
|
|
|
- NatsServer.AddUserLogs(c.User.T_uuid, "报销", "删除", err)
|
|
|
|
|
|
+ NatsServer.AddUserLogs(c.User.T_uuid, "报销", "删除", T_id)
|
|
|
|
|
|
c.Data["json"] = lib.JSONS{Code: 200, Msg: "ok!", Data: Reimburse.ReimburseToReimburse_Detail(reimburse, pList)}
|
|
c.Data["json"] = lib.JSONS{Code: 200, Msg: "ok!", Data: Reimburse.ReimburseToReimburse_Detail(reimburse, pList)}
|
|
c.ServeJSON()
|
|
c.ServeJSON()
|
|
@@ -523,7 +523,7 @@ func (c *ReimburseController) Reimburse_Submit_Audit() {
|
|
|
|
|
|
NatsServer.AddNews(conf.FinanceUuid, fmt.Sprintf("【报销审核】您有一条%s的报销审核待处理", c.User.T_name), conf.ReimburseApprovalUrl)
|
|
NatsServer.AddNews(conf.FinanceUuid, fmt.Sprintf("【报销审核】您有一条%s的报销审核待处理", c.User.T_name), conf.ReimburseApprovalUrl)
|
|
|
|
|
|
- NatsServer.AddUserLogs(c.User.T_uuid, "报销", "提交审核", err)
|
|
|
|
|
|
+ NatsServer.AddUserLogs(c.User.T_uuid, "报销", "提交审核", reimburse)
|
|
|
|
|
|
c.Data["json"] = lib.JSONS{Code: 200, Msg: "ok!", Data: T_id}
|
|
c.Data["json"] = lib.JSONS{Code: 200, Msg: "ok!", Data: T_id}
|
|
c.ServeJSON()
|
|
c.ServeJSON()
|
|
@@ -577,7 +577,7 @@ func (c *ReimburseController) Reimburse_Edit_Audit() {
|
|
|
|
|
|
NatsServer.AddNews(reimburse.T_uid, fmt.Sprintf("【报销申请】您的报销申请%s", Reimburse.Read_Audit_Get(T_State)), conf.MyReimburseUrl)
|
|
NatsServer.AddNews(reimburse.T_uid, fmt.Sprintf("【报销申请】您的报销申请%s", Reimburse.Read_Audit_Get(T_State)), conf.MyReimburseUrl)
|
|
|
|
|
|
- NatsServer.AddUserLogs(c.User.T_uuid, "报销", "修改审核状态", err)
|
|
|
|
|
|
+ NatsServer.AddUserLogs(c.User.T_uuid, "报销", "修改审核状态", reimburse)
|
|
|
|
|
|
c.Data["json"] = lib.JSONS{Code: 200, Msg: "ok!", Data: T_id}
|
|
c.Data["json"] = lib.JSONS{Code: 200, Msg: "ok!", Data: T_id}
|
|
c.ServeJSON()
|
|
c.ServeJSON()
|
|
@@ -658,7 +658,7 @@ func (c *ReimburseController) Reimburse_Edit_Finance() {
|
|
NatsServer.AddNews(reimburse.T_uid, fmt.Sprintf("【报销打款】您的报销申请已%s", Reimburse.Read_Audit_Get(reimburse.T_State)), conf.MyReimburseUrl)
|
|
NatsServer.AddNews(reimburse.T_uid, fmt.Sprintf("【报销打款】您的报销申请已%s", Reimburse.Read_Audit_Get(reimburse.T_State)), conf.MyReimburseUrl)
|
|
}
|
|
}
|
|
|
|
|
|
- NatsServer.AddUserLogs(c.User.T_uuid, "报销", "修改(财务)", err)
|
|
|
|
|
|
+ NatsServer.AddUserLogs(c.User.T_uuid, "报销", "修改(财务)", reimburse)
|
|
|
|
|
|
c.Data["json"] = lib.JSONS{Code: 200, Msg: "ok!", Data: T_id}
|
|
c.Data["json"] = lib.JSONS{Code: 200, Msg: "ok!", Data: T_id}
|
|
c.ServeJSON()
|
|
c.ServeJSON()
|