20240410 开车会议管理
This commit is contained in:
@@ -80,6 +80,7 @@ namespace FineUIPro.Web.TestRun.DriverReport
|
||||
this.Grid3.DataSource = items3;
|
||||
this.Grid3.DataBind();
|
||||
}
|
||||
WindowAtt_Close(null, null);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -147,6 +148,27 @@ namespace FineUIPro.Web.TestRun.DriverReport
|
||||
}
|
||||
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../../AttachFile/webuploader.aspx?type=0&toKeyId={0}&path=FileUpload/TestRun/DriverReport/MonthReport&menuId={1}", this.hdId.Text, BLL.Const.MonthReportMenuId)));
|
||||
}
|
||||
protected void WindowAtt_Close(object sender, WindowCloseEventArgs e)
|
||||
{
|
||||
this.lbtnAttach.Text = string.Empty;
|
||||
string url = string.Empty;
|
||||
var attLists = BLL.AttachFileService.Getfiles(this.hdId.Text, BLL.Const.MonthReportMenuId);
|
||||
if (attLists != null)
|
||||
{
|
||||
List<string> lists = Funs.GetStrListByStr(attLists.AttachUrl, ',');
|
||||
if (lists.Count > 0)
|
||||
{
|
||||
foreach (var item in lists)
|
||||
{
|
||||
url += item.Substring(item.IndexOf('_') + 1) + "\r\n";
|
||||
}
|
||||
}
|
||||
if (!string.IsNullOrEmpty(url))
|
||||
{
|
||||
this.lbtnAttach.Text = url;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 保存
|
||||
|
||||
Reference in New Issue
Block a user