1.修改運維作業紀錄 圖片上傳

This commit is contained in:
Kai 2021-06-26 14:21:56 +08:00
parent c091961393
commit be597cfbc9
3 changed files with 3 additions and 3 deletions

View File

@ -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)
{

View File

@ -171,7 +171,7 @@ namespace SolarPower.Models
}
else
{
return string.Empty;
return null;
}
}
set { finishTime = value; }

View File

@ -465,7 +465,7 @@
var myDropzone = Dropzone.forElement("#recode-file-div");
if (myDropzone.getAcceptedFiles().length > 1) {
if (myDropzone.files.length > 0) {
myDropzone.processQueue();