1.修改運維作業紀錄 圖片上傳
This commit is contained in:
parent
c091961393
commit
be597cfbc9
@ -700,7 +700,7 @@ namespace SolarPower.Controllers
|
||||
recode.FormId = !string.IsNullOrEmpty(recode.FormId) ? recode.FormId : "";
|
||||
recode.FixDo = !string.IsNullOrEmpty(recode.FixDo) ? recode.FixDo : "";
|
||||
recode.WorkPersonName = !string.IsNullOrEmpty(recode.WorkPersonName) ? recode.WorkPersonName : "";
|
||||
recode.FinishTime = !string.IsNullOrEmpty(recode.FinishTime) ? recode.FinishTime : "";
|
||||
//recode.FinishTime = !string.IsNullOrEmpty(recode.FinishTime) ? recode.FinishTime : "";
|
||||
|
||||
if (recode.RecodeFiles != null && recode.RecodeFiles.Count > 0)
|
||||
{
|
||||
|
||||
@ -171,7 +171,7 @@ namespace SolarPower.Models
|
||||
}
|
||||
else
|
||||
{
|
||||
return string.Empty;
|
||||
return null;
|
||||
}
|
||||
}
|
||||
set { finishTime = value; }
|
||||
|
||||
@ -465,7 +465,7 @@
|
||||
|
||||
var myDropzone = Dropzone.forElement("#recode-file-div");
|
||||
|
||||
if (myDropzone.getAcceptedFiles().length > 1) {
|
||||
if (myDropzone.files.length > 0) {
|
||||
|
||||
myDropzone.processQueue();
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user