|
|
@@ -2610,7 +2610,7 @@ func (this *LimsDataEntryController) GetUserListByJHRole() {
|
|
|
//case "100000169":
|
|
|
// users = svc.GetUserByRole("10000195", this.User.AccCode)
|
|
|
case "100000168":
|
|
|
- users = svc.GetUserByRole("10000201", this.User.AccCode)
|
|
|
+ users = svc.GetUserByRole("10000209", this.User.AccCode)
|
|
|
default:
|
|
|
rsvc.GetAuditStepRoleEntity(OilAuditSettingName,this.User.DepartmentId,workflow.JN_JIAOHE, &RoleSet)
|
|
|
users = svc.GetUserByRole(strconv.Itoa(RoleSet.RoleId), this.User.AccCode)
|
|
|
@@ -2744,12 +2744,12 @@ func (this *LimsDataEntryController) CheckSubmit() {
|
|
|
return
|
|
|
}
|
|
|
case "100000168":
|
|
|
- users = svc.GetUserByRole("10000202", this.User.AccCode)
|
|
|
+ users = svc.GetUserByRole("10000210", this.User.AccCode)
|
|
|
for _, tmpUser := range users {
|
|
|
userIds += strconv.FormatInt(tmpUser.Id, 10) + ","
|
|
|
}
|
|
|
userIds = strings.Trim(userIds, ",")
|
|
|
- receiveVal = svcActiviti.TaskComplete(workflow.YX_DATA_KEY, strconv.Itoa(dataother.DataEntryId), userIds, this.User.Id, "1", dataother.AuditorRemark)
|
|
|
+ receiveVal = svcActiviti.TaskComplete(workflow.JL_DATA_KEY, strconv.Itoa(dataother.DataEntryId), userIds, this.User.Id, "1", dataother.AuditorRemark)
|
|
|
if receiveVal == "true" {
|
|
|
err := svc.UpdateEntityBytbl(this.User.AccCode+LimsDateEntryName, list[0].Id, entityempty, cols)
|
|
|
err = svc.UpdateEntityBytbl(this.User.AccCode+LimsTaskBalanceName, list[0].TaskId, balanceempty, balancecols)
|