|
@@ -2251,6 +2251,7 @@ func (this *ReportController) SearchReport() {
|
|
return
|
|
return
|
|
}
|
|
}
|
|
for k, v := range listYx {
|
|
for k, v := range listYx {
|
|
|
|
+ listYx[k].Source = 1
|
|
if v.MyCollectNum > 0 {
|
|
if v.MyCollectNum > 0 {
|
|
listYx[k].IsCollect = true
|
|
listYx[k].IsCollect = true
|
|
}
|
|
}
|
|
@@ -2262,6 +2263,7 @@ func (this *ReportController) SearchReport() {
|
|
return
|
|
return
|
|
}
|
|
}
|
|
for k, v := range listHz {
|
|
for k, v := range listHz {
|
|
|
|
+ listHz[k].Source = 1
|
|
if v.MyCollectNum > 0 {
|
|
if v.MyCollectNum > 0 {
|
|
listHz[k].IsCollect = true
|
|
listHz[k].IsCollect = true
|
|
}
|
|
}
|
|
@@ -2331,7 +2333,7 @@ func (this *ReportController) SearchResource() {
|
|
return
|
|
return
|
|
}
|
|
}
|
|
for k, v := range listHz {
|
|
for k, v := range listHz {
|
|
-
|
|
|
|
|
|
+ listHz[k].Source = 1
|
|
for _, v2 := range listSubjcet {
|
|
for _, v2 := range listSubjcet {
|
|
if v2.IndustrialManagementId == v.IndustrialManagementId {
|
|
if v2.IndustrialManagementId == v.IndustrialManagementId {
|
|
listHz[k].IndustrialSubjectList = append(listHz[k].IndustrialSubjectList, v2)
|
|
listHz[k].IndustrialSubjectList = append(listHz[k].IndustrialSubjectList, v2)
|
|
@@ -2339,6 +2341,7 @@ func (this *ReportController) SearchResource() {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
for k, v := range listYx {
|
|
for k, v := range listYx {
|
|
|
|
+ listYx[k].Source = 2
|
|
for _, v2 := range listSubjcet {
|
|
for _, v2 := range listSubjcet {
|
|
if v2.IndustrialManagementId == v.IndustrialManagementId {
|
|
if v2.IndustrialManagementId == v.IndustrialManagementId {
|
|
listYx[k].IndustrialSubjectList = append(listYx[k].IndustrialSubjectList, v2)
|
|
listYx[k].IndustrialSubjectList = append(listYx[k].IndustrialSubjectList, v2)
|