From 6eff014e1567acbc9eec44b0a167ee50e7315eb5 Mon Sep 17 00:00:00 2001 From: b110212000 Date: Thu, 8 Jul 2021 17:24:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=97=E7=AB=99=E7=B8=BD=E8=A6=BD-=E9=81=8B?= =?UTF-8?q?=E7=B6=AD=E7=B4=80=E9=8C=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SolarPower/Controllers/OperationController.cs | 7 +- .../StationOverviewInfo.cshtml | 450 +++++++++++++++++- .../StationOverview/_OperationRecord.cshtml | 186 +++++++- .../8f6f1382-0aaa-46e6-9d50-3016de4dfe4b.png | Bin 0 -> 7326 bytes 4 files changed, 640 insertions(+), 3 deletions(-) create mode 100644 SolarPower/wwwroot/upload/operation_recode/17/8f6f1382-0aaa-46e6-9d50-3016de4dfe4b.png diff --git a/SolarPower/Controllers/OperationController.cs b/SolarPower/Controllers/OperationController.cs index 3450c6c..799c34a 100644 --- a/SolarPower/Controllers/OperationController.cs +++ b/SolarPower/Controllers/OperationController.cs @@ -544,6 +544,7 @@ namespace SolarPower.Controllers FixDo = post.FixDo, Status = post.Status, FinishTime = !string.IsNullOrEmpty(finishTime) ? finishTime : null, + WorkPersonId = post.WorkPersonId, WorkTime = post.WorkTime, Notice = post.Notice, Description = post.Description, @@ -562,6 +563,7 @@ namespace SolarPower.Controllers "WorkTime", "Notice", "Description", + "WorkPersonId", "UpdatedBy", }; @@ -753,7 +755,10 @@ namespace SolarPower.Controllers foreach (var file in recode.RecodeFiles) { var hyperLink = "" + file.FileName + ""; - + if(recode.HyperLinks == null) + { + recode.HyperLinks = new List(); + } recode.HyperLinks.Add(hyperLink); } } diff --git a/SolarPower/Views/StationOverview/StationOverviewInfo.cshtml b/SolarPower/Views/StationOverview/StationOverviewInfo.cshtml index 9bfbba6..462d3fc 100644 --- a/SolarPower/Views/StationOverview/StationOverviewInfo.cshtml +++ b/SolarPower/Views/StationOverview/StationOverviewInfo.cshtml @@ -97,8 +97,12 @@ @section Scripts{ } \ No newline at end of file diff --git a/SolarPower/Views/StationOverview/_OperationRecord.cshtml b/SolarPower/Views/StationOverview/_OperationRecord.cshtml index 94571ea..9243033 100644 --- a/SolarPower/Views/StationOverview/_OperationRecord.cshtml +++ b/SolarPower/Views/StationOverview/_OperationRecord.cshtml @@ -1 +1,185 @@ -

5

\ No newline at end of file +
+
+
+ + + + +
+
+
+ +
+
+
+ +
+
+
+
+ +
+
+
+ + + + + + + + + + + + + + + + +
電廠表單號項目類型狀態處理人員本次作業預計照片完成時間
+ + + + + + + + + + + + + + + + + +
+
+ + + \ No newline at end of file diff --git a/SolarPower/wwwroot/upload/operation_recode/17/8f6f1382-0aaa-46e6-9d50-3016de4dfe4b.png b/SolarPower/wwwroot/upload/operation_recode/17/8f6f1382-0aaa-46e6-9d50-3016de4dfe4b.png new file mode 100644 index 0000000000000000000000000000000000000000..7024b48e3e7ea6eb92d8d003f34d5352cbb4dcab GIT binary patch literal 7326 zcmV;P9AV>$P)J-I;7Nw=;d;@BdBS zsskb@8WWF6`u;OQn2+)i)p`&;o2@Qav`#RBrdL#=~ zm+OfVn30IwZZ#T>RzuD-*b6iF_SgR+(yXkWtk!^NAfy2DkupHRVWcd}xe|aO;tTvy zBE&jC*7;Sb1l0)M0f$uGeNlctFw0P;=Uyk&(#TkbSf~QDiH~{k(I!J&B1VJ5WQJJA z`;)G0_CT$md{ppPlJAS?Ig$%5Ad{FFDH7s{gttM(pG-gEnv0m2s#Y5e=YA|7_+blp7A)Na`faiiVxq&!QKKMjxW9WeP1K;siSH0;IiPv?1ScBM`%ElQ=ip z?RL=~BPNy`?*M2y^1M@I06h`^NmQ9Yf{V~atk{q?%?x`>Kq(j_b_Lrei~+>Ifp;Q% zgUJE{2Lg^jQwoyhAV%Rf$Be_9ptZ<{AzUS=8s#47hM|d`R9hb%@gSiX%_3|z?D5wRWz|frU~EFDxD5S=ABNbDfhd2deTU`g+sFp~bCy4Pccf|LA^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