修改作业票
This commit is contained in:
@@ -289,7 +289,7 @@ namespace FineUIPro.Web.HSSE.License
|
||||
string uploadfilepath = string.Empty;
|
||||
string newUrl = string.Empty;
|
||||
string filePath = string.Empty;
|
||||
initTemplatePath = "File\\Word\\HSSE\\动土作业票.doc";
|
||||
initTemplatePath = "File\\Word\\HSSE\\临时用电作业票.doc";
|
||||
uploadfilepath = rootPath + initTemplatePath;
|
||||
newUrl = uploadfilepath.Replace(".doc", string.Format("{0:yyyy-MM}", DateTime.Now) + ".doc");
|
||||
filePath = initTemplatePath.Replace(".doc", string.Format("{0:yyyy-MM}", DateTime.Now) + ".pdf");
|
||||
@@ -340,12 +340,12 @@ namespace FineUIPro.Web.HSSE.License
|
||||
|
||||
}
|
||||
}
|
||||
Bookmark bookmarkWorkDepth = doc.Range.Bookmarks["WorkDepth"];//开挖深度
|
||||
Bookmark bookmarkWorkDepth = doc.Range.Bookmarks["WorkDepth"];//作业原因
|
||||
if (bookmarkWorkDepth != null)
|
||||
{
|
||||
if (getElectricity != null)
|
||||
{
|
||||
bookmarkWorkDepth.Text = getElectricity.WorkDepth;
|
||||
bookmarkWorkDepth.Text = getElectricity.Reason;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user