You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

264 lines
14 KiB

2 years ago
  1. <!DOCTYPE html>
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <meta http-equiv="Expires" content="0">
  6. <meta http-equiv="Pragma" content="no-cache">
  7. <meta http-equiv="Cache-control" content="no-cache">
  8. <meta http-equiv="Cache" content="no-cache">
  9. <title data-i18n="common.Task_Upd"> 待辦事項編輯</title>
  10. <link href="/Content/googleapis.css" rel="stylesheet" type='text/css' />
  11. <link href="/Scripts/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
  12. <link href="/Scripts/plugins/jquery-ui/jquery-ui.min.css" rel="stylesheet" type="text/css" />
  13. <link href="/Scripts/plugins/fontawesome/css/font-awesome.css" rel="stylesheet" type="text/css" />
  14. <link href="/Scripts/plugins/line-icons/simple-line-icons.css" rel="stylesheet" type="text/css" />
  15. <link href="/Scripts/plugins/uniform/css/uniform.default.min.css" rel="stylesheet" />
  16. <link href="/Scripts/plugins/toastr/toastr.min.css" rel="stylesheet" type="text/css" />
  17. <link href="/Scripts/3rd/datetimepicker-addon/jquery-ui-timepicker-addon.min.css" rel="stylesheet" />
  18. <link href="/Scripts/3rd/jquery.filer/jquery.filer.css" rel="stylesheet" />
  19. <link href="/Scripts/3rd/jquery.filer/jquery.filer-dragdropbox-theme.css" rel="stylesheet" />
  20. <link href="/Scripts/3rd/jquery.filer/file.theme.list.css" rel="stylesheet" />
  21. <link href="/Scripts/3rd/select2/css/select2.min.css" rel="stylesheet" />
  22. <link href="/Content/modern.min.css" rel="stylesheet" />
  23. <link href="/Content/custom.min.css" rel="stylesheet" type="text/css" />
  24. <link href="/Content/themes/red.css" rel="stylesheet" type="text/css" />
  25. <link href="/Content/style2.0.css" rel="stylesheet" type="text/css" />
  26. </head>
  27. <body>
  28. <div class="page-inner">
  29. <div class="page-title">
  30. </div>
  31. <div id="Toolbar">
  32. </div>
  33. <div id="main-wrapper">
  34. <!--主作業區 Start-->
  35. <div class="row">
  36. <div class="panel-info">
  37. <div class="panel-body">
  38. <form id="form_main" class="form-horizontal">
  39. <div class="form-group">
  40. <label class="col-sm-2 control-label wright"><b class="t-red">*</b><span data-i18n="Task_Upd.EventName">待辦事項主旨</span></label>
  41. <div class="col-sm-8">
  42. <input type="text" class="form-control w100p" name="EventName" id="EventName" maxlength="100" required data-msg="Task_Upd.EventName_required" datamsg="請輸入待辦事項主旨">
  43. </div>
  44. </div>
  45. <div class="form-group">
  46. <label class="col-sm-2 control-label wright"><span data-i18n="Task_Upd.StartDate">工作起始時間</span></label>
  47. <div class="col-sm-3">
  48. <input type="text" class="form-control w100p date-picker" readonly name="StartDate" id="StartDate" maxlength="16">
  49. </div>
  50. <label class="col-sm-2 control-label wright"><span data-i18n="Task_Upd.EndDate">工作起始時間</span></label>
  51. <div class="col-sm-3">
  52. <input type="text" class="form-control w100p date-picker" readonly name="EndDate" id="EndDate" maxlength="16" data-msg-compardate="common.ComparDate" datamsgcompardate="日期訖不能小於日期起" data-rule-compardate="compardate">
  53. </div>
  54. </div>
  55. <div class="form-group">
  56. <label class="col-sm-2 control-label wright"><span data-i18n="common.Important">重要性</span></label>
  57. <div class="col-sm-3">
  58. <select class="form-control w100p" id="Important" name="Important">
  59. <option value="M" title="普通">普通</option>
  60. <option value="H" title="緊急">緊急</option>
  61. </select>
  62. </div>
  63. <label class="col-sm-2 control-label wright"><span data-i18n="common.Status">狀態</span></label>
  64. <div class="col-sm-3">
  65. <select class="form-control w100p" id="Status" name="Status">
  66. <option value="U" title="未開始">未開始</option>
  67. <option value="G" title="進行中">進行中</option>
  68. <option value="D" title="普通">已完成(待確認)</option>
  69. <option value="O" title="緊急">已確認</option>
  70. </select>
  71. </div>
  72. </div>
  73. <div class="form-group">
  74. <label class="col-sm-2 control-label wright"><span data-i18n="Task_Upd.Progress">完成度(%)</span></label>
  75. <div class="col-sm-3">
  76. <input type="text" class="form-control w100p" name="Progress" id="Progress" maxlength="3">
  77. </div>
  78. <label class="col-sm-2 control-label wright"><span data-i18n="Task_Upd.AlertTime">提醒時間</span></label>
  79. <div class="col-sm-3">
  80. <input type="text" class="form-control w100p datetime-picker" name="AlertTime" id="AlertTime" maxlength="16">
  81. </div>
  82. </div>
  83. <div class="form-group">
  84. <label class="col-sm-2 control-label wright"><span data-i18n="Task_Upd.CreateUser">事件指派人</span></label>
  85. <div class="col-sm-3">
  86. <div class="form-control-static" name="CreateUser" id="CreateUser" data-source="members.MemberID.MemberName"></div>
  87. </div>
  88. <label class="col-sm-2 control-label"><b class="t-red">*</b><span data-i18n="Task_Upd.Owner">事件所有人</span></label>
  89. <div class="col-sm-3">
  90. <select class="form-control w100p" data-type="select2" id="Owner" name="Owner" required data-msg="Task_Upd.Owner_required" datamsg="請選擇事件所有人"></select>
  91. </div>
  92. </div>
  93. <div class="form-group">
  94. <label class="col-sm-2 control-label wright"><span data-i18n="Task_Upd.TaskDescription">待辦說明</span></label>
  95. <div class="col-sm-8">
  96. <script type="text/plain" id="UE_TaskDescription">
  97. </script>
  98. </div>
  99. </div>
  100. <div class="form-group">
  101. <label class="col-sm-2 control-label wright"><span data-i18n="Task_Upd.TaskReward">工作回報</span></label>
  102. <div class="col-sm-8">
  103. <script type="text/plain" id="UE_TaskReward">
  104. </script>
  105. </div>
  106. </div>
  107. <div class="form-group">
  108. <label class="col-sm-2 control-label wright"><span data-i18n="Task_Upd.ReplyData">工作回報紀錄</span></label>
  109. <div class="col-sm-8">
  110. <div id="ReplyData" style="overflow: scroll; overflow: scroll; overflow-x: hidden; overflow: auto; height: auto;">
  111. </div>
  112. </div>
  113. </div>
  114. <div class="form-group">
  115. <label class="col-sm-2 control-label wright" for="input-Default"><span data-i18n="common.FileUpload">附件上傳</span></label>
  116. <div class="col-sm-8 file-list">
  117. <input type="file" class="displayNone" name="files[]" id="fileInput" multiple>
  118. </div>
  119. </div>
  120. <div class="form-group">
  121. <label class="col-sm-2 control-label wright"></label>
  122. <div class="col-sm-8">
  123. <div id="ShowFileDetail" style="overflow: scroll; overflow: scroll; overflow-x: hidden; overflow: auto; height: auto;">
  124. </div>
  125. </div>
  126. </div>
  127. <div class="form-group">
  128. <label class="col-sm-2 control-label wright"><span data-i18n="common.Memo">備註</span></label>
  129. <div class="col-sm-8">
  130. <textarea name="Memo" id="Memo" class="form-control" rows="5" cols="20"></textarea>
  131. </div>
  132. </div>
  133. <div class="form-group">
  134. <label class="col-sm-2 control-label"><span data-i18n="common.CreateUser">創建人</span></label>
  135. <div class="col-sm-3">
  136. <div class="form-control-static" name="CreateUserName" id="CreateUserName"></div>
  137. </div>
  138. <label class="col-sm-2 control-label"><span data-i18n="common.CreateDate">創建時間</span></label>
  139. <div class="col-sm-3">
  140. <div class="form-control-static" name="CreateDate" id="CreateDate"></div>
  141. </div>
  142. </div>
  143. <div class="form-group">
  144. <label class="col-sm-2 control-label"><span data-i18n="common.ModifyUser">最新修改人</span></label>
  145. <div class="col-sm-3">
  146. <div class="form-control-static" name="ModifyUserName" id="ModifyUserName"></div>
  147. </div>
  148. <label class="col-sm-2 control-label"><span data-i18n="common.ModifyDate">最新修改時間</span></label>
  149. <div class="col-sm-3">
  150. <div class="form-control-static" name="ModifyDate" id="ModifyDate"></div>
  151. </div>
  152. </div>
  153. </form>
  154. </div>
  155. </div>
  156. </div>
  157. <!--主作業區 End-->
  158. </div>
  159. </div>
  160. <script id="Task_temp" type="text/x-jsrender">
  161. <table class="display table dataTable">
  162. <tr>
  163. <th>
  164. 項次
  165. </th>
  166. <th>
  167. 回覆人
  168. </th>
  169. <th>
  170. 回覆內容
  171. </th>
  172. <th>
  173. 回覆狀態
  174. </th>
  175. <th>
  176. 回覆時間
  177. </th>
  178. </tr>
  179. {{for List}}
  180. <tr>
  181. <td align="center">
  182. {{:RowIndex}}
  183. </td>
  184. <td align="center">
  185. {{:ReplyUser}}
  186. </td>
  187. <td align="left">
  188. {{:ReplyContent}}
  189. </td>
  190. <td align="center">
  191. {{:ReplyStatus}}
  192. </td>
  193. <td align="center">
  194. {{:ReplyDate}}
  195. </td>
  196. </tr>
  197. {{/for}}
  198. </table>
  199. </script>
  200. <script id="File_Detail" type="text/x-jsrender">
  201. <table class="display table dataTable">
  202. <tr>
  203. <th>
  204. 項次
  205. </th>
  206. <th>
  207. 檔案名稱
  208. </th>
  209. <th>
  210. 檔案類型
  211. </th>
  212. <th>
  213. 檔案大小
  214. </th>
  215. <th>
  216. 上傳時間
  217. </th>
  218. <th>
  219. 下載
  220. </th>
  221. <th>
  222. 刪除
  223. </th>
  224. </tr>
  225. {{for List}}
  226. <tr>
  227. <td align="center">
  228. {{:RowIndex}}
  229. </td>
  230. <td align="left">
  231. {{:FileName}}
  232. </td>
  233. <td align="center">
  234. {{:SubFileName}}
  235. </td>
  236. <td align="center">
  237. {{:FileSizeName}}
  238. </td>
  239. <td align="center">
  240. {{:CreateDate}}
  241. </td>
  242. <td align="center">
  243. <button type="button" data-i18n="common.Toolbar_Download" class="btn-custom green downloadfile" data-path="{{:FilePath}}" value="附件下載">附件下載</button>
  244. </td>
  245. <td align="center">
  246. <button type="button" data-i18n="common.Toolbar_FileDel" class="btn-custom red deletefile" data-fileid="{{:FileID}}" value="附件刪除">附件刪除</button>
  247. </td>
  248. </tr>
  249. {{/for}}
  250. </table>
  251. </script>
  252. </body>
  253. </html>
  254. <script src="/Scripts/loadjs.min.js"></script>
  255. <script src="/Scripts/JSLoader.js?v=20180801"></script>
  256. <script src="/Scripts/3rd/jquery-2.1.3.min.js"></script>
  257. <script src="/Scripts/3rd/layer/layui/layui.all.min.js"></script>
  258. <script src="/Ueditor/ueditor.config.js"></script>
  259. <script src="/Ueditor/ueditor.all.js"></script>
  260. <script src="/Ueditor/lang/zh-tw/zh-tw.js"></script>
  261. <script src="/Scripts/pages/Sys/Task_Upd.js?v=20180801"></script>