|
@@ -104,6 +104,8 @@ func (s *safeService) GetDetail(id int, pid int) viewmodels.SafeDetail {
|
|
|
account := s.daoProjectAccount.Get(safeData.Uid, pid)
|
|
|
data.AuditName = account.Name
|
|
|
data.CreateTime = safeData.CreateTime
|
|
|
+ data.Times = safeData.Times
|
|
|
+ data.Status = safeData.Status
|
|
|
fileList, total := s.daoAnnex.GetList(3, safeData.Id, 1, conf.PageSize)
|
|
|
// 加密id
|
|
|
fileArr := make([]viewmodels.AnnexListView, 0)
|
|
@@ -127,14 +129,17 @@ func (s *safeService) GetDetail(id int, pid int) viewmodels.SafeDetail {
|
|
|
encryptAuditors := make([]viewmodels.Auditors, 0)
|
|
|
for _, item := range auditors {
|
|
|
auditorVM := viewmodels.Auditors{}
|
|
|
+ auditorId, _ := comm.AesEncrypt(item.AuditorId, conf.SignSecret)
|
|
|
auditId, _ := comm.AesEncrypt(item.AuditId, conf.SignSecret)
|
|
|
+ auditorVM.AuditorId = auditorId
|
|
|
auditorVM.AuditId = auditId
|
|
|
auditorVM.Name = item.Name
|
|
|
auditorVM.Position = item.Position
|
|
|
auditorVM.AuditOrder = item.AuditOrder
|
|
|
auditorVM.AccountGroup = item.AccountGroup
|
|
|
auditorVM.Progress = item.Progress
|
|
|
-
|
|
|
+ auditorVM.Company = item.Company
|
|
|
+ auditorVM.Status = item.Status
|
|
|
encryptAuditors = append(encryptAuditors, auditorVM)
|
|
|
}
|
|
|
auditHistory := s.daoSafeAudit.GetAuditHistory(safeData.Id, safeData.Times)
|