ljm 6 anni fa
parent
commit
7013ad0ff8

+ 2 - 2
src/dashoo.cn/backend/api/controllers/oilsupplier/supplier.go

@@ -1006,7 +1006,7 @@ func (this *OilSupplierController) GetDictList() {
 	userSvc.GetEntityById(this.User.Id, &userEntity)
 	dictList["Supervisers"] = userSvc.GetUserListByDepartmentId(this.User.AccCode, userEntity.Departmentid)
 	dictList["GaodeMapChinaAreas"] = areaJsonSvc.GetGaodeMapChinaAreas()
-	//	dictList["CountryList"] = areaJsonSvc.GetCountryList()
+	dictList["CountryList"] = areaJsonSvc.GetCountryList()
 	//获取我创建的所有公司
 	var list []supplier.OilSupplier
 	if this.User.IsCompanyUser == 1 {
@@ -1059,7 +1059,7 @@ func (this *OilSupplierController) GetDictListByStatus() {
 	userSvc.GetEntityById(this.User.Id, &userEntity)
 	dictList["Supervisers"] = userSvc.GetUserListByDepartmentId(this.User.AccCode, userEntity.Departmentid)
 	dictList["GaodeMapChinaAreas"] = areaJsonSvc.GetGaodeMapChinaAreas()
-	//	dictList["CountryList"] = areaJsonSvc.GetCountryList()
+	dictList["CountryList"] = areaJsonSvc.GetCountryList()
 	//获取我创建的所有公司
 	var list []supplier.OilSupplier
 	if this.User.IsCompanyUser == 1 {