This commit is contained in:
2025-03-06 16:48:24 +08:00
parent 195be54b10
commit 3afe6eada7
8 changed files with 296 additions and 179 deletions
@@ -1,4 +1,5 @@
using BLL;
using FineUIPro.Web.BaseInfo;
using System;
using System.Collections.Generic;
using System.Data;
@@ -43,11 +44,12 @@ namespace FineUIPro.Web.HSSE.EduTrain
{
UnitService.InitUnitByProjectIdUnitTypeDropDownList1(drpUnit, this.CurrUser.LoginProjectId, false);
TrainTypeService.InitTrainTypeDropDownList(drpTrainType, true);
var data = APIBaseInfoService.getWorkPost(CurrUser.ProjectId, null);
this.drpWorkPost.DataValueField = "BaseInfoId";
this.drpWorkPost.DataTextField = "BaseInfoName";
this.drpWorkPost.DataSource = data;
this.drpWorkPost.DataBind();
WorkPostService.InitWorkPostByProjectIdDropDownList(drpWorkPost, this.CurrUser.LoginProjectId, false);
//var data = APIBaseInfoService.getWorkPost(CurrUser.ProjectId, null);
//this.drpWorkPost.DataValueField = "BaseInfoId";
//this.drpWorkPost.DataTextField = "BaseInfoName";
//this.drpWorkPost.DataSource = data;
//this.drpWorkPost.DataBind();
//Funs.FineUIPleaseSelect(drpWorkPost);
}