|
@@ -1416,7 +1416,8 @@ func (this *OilSupplierController) GetDictListByStatus() {
|
|
|
dictList["CountryList"] = areaJsonSvc.GetCountryList()
|
|
dictList["CountryList"] = areaJsonSvc.GetCountryList()
|
|
|
//获取专业审批处室部门
|
|
//获取专业审批处室部门
|
|
|
var preorglist []organize.Base_Organizetree
|
|
var preorglist []organize.Base_Organizetree
|
|
|
- svc.GetProOrTreeList(&preorglist)
|
|
|
|
|
|
|
+ ids := orgsvc.GetAllChildUnitById("0")
|
|
|
|
|
+ svc.GetProOrTreeList(ids, &preorglist)
|
|
|
dictList["ProOrgList"] = preorglist
|
|
dictList["ProOrgList"] = preorglist
|
|
|
//获取我创建的所有公司
|
|
//获取我创建的所有公司
|
|
|
var list []supplier.OilSupplier
|
|
var list []supplier.OilSupplier
|
|
@@ -1871,11 +1872,13 @@ func (this *OilSupplierController) GetAuditerByFist() {
|
|
|
Id := this.Ctx.Input.Param(":firstId")
|
|
Id := this.Ctx.Input.Param(":firstId")
|
|
|
auditstepcode := this.GetString("auditstepcode")
|
|
auditstepcode := this.GetString("auditstepcode")
|
|
|
certSrv := suppliercert.GetOilSupplierCertService(utils.DBE)
|
|
certSrv := suppliercert.GetOilSupplierCertService(utils.DBE)
|
|
|
|
|
+ orgSrv := organize.GetOrganizeService(utils.DBE)
|
|
|
var userentity userRole.Base_User
|
|
var userentity userRole.Base_User
|
|
|
certSrv.GetEntityById(Id,&userentity)
|
|
certSrv.GetEntityById(Id,&userentity)
|
|
|
- depId := strings.Split(userentity.Superior,",")
|
|
|
|
|
|
|
+ comid := orgSrv.GetMyUnitDepartmentId(userentity.Departmentid)
|
|
|
|
|
+ //depId := strings.Split(userentity.Superior,",")
|
|
|
var users []userRole.Base_RoleList
|
|
var users []userRole.Base_RoleList
|
|
|
- certSrv.GetAuditUser(depId[len(depId)-1], auditstepcode, &users)
|
|
|
|
|
|
|
+ certSrv.GetAuditUser(comid, auditstepcode, &users)
|
|
|
var datainfo ErrorDataInfo
|
|
var datainfo ErrorDataInfo
|
|
|
datainfo.Item = users
|
|
datainfo.Item = users
|
|
|
this.Data["json"] = &datainfo
|
|
this.Data["json"] = &datainfo
|