weeklyschedule-add.jsp 52 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859
  1. <%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
  2. <%@include file="/context/mytags.jsp"%>
  3. <!DOCTYPE html>
  4. <html>
  5. <head>
  6. <title>weeklyschedule</title>
  7. <t:base type="jquery,easyui,tools,DatePicker"></t:base>
  8. <script src="plug-in/layer/layer.js"></script>
  9. <script>
  10. var userchangeflag = '';
  11. var days = [
  12. "monam","monpm","tuesam","tuespm","wedam","wedpm","thuram","thurpm","friam","fripm","satam","satpm","sunam","sunpm"
  13. ];
  14. $(function() {
  15. $(document).ready(function() {
  16. initSetting();
  17. });
  18. });
  19. //初始化设置,设置可编辑性
  20. function initSetting(){
  21. //人员类型
  22. var managerflag = $("#managerflag").val();
  23. //当前周标记,0表示当前周之前(都不可编辑),1表示当前周,2表示当前周之后(都可以编辑)
  24. var curweekflag = $("#curweekflag").val();
  25. //当前日期
  26. var myDate = new Date();
  27. var day = myDate.getDay(); //获取当前星期X(0-6,0代表星期天)
  28. if(day == 0)
  29. day = 7;
  30. /* var formatdate = getNowFormatDate(); */
  31. //flag前面的行全部停止编辑
  32. var readonlyFlag = 14;
  33. if(curweekflag == '1'){
  34. readonlyFlag = day*2;
  35. }else if(curweekflag == '2'){
  36. readonlyFlag = 0;
  37. }
  38. console.log(readonlyFlag);
  39. for(var i = 0;i < readonlyFlag; i++){
  40. var zjlEle = document.getElementById("what"+days[i]+"zjl");
  41. zjlEle.readOnly = true;
  42. var personnalEle = document.getElementById("what"+days[i]);
  43. personnalEle.readOnly = true;
  44. var whereEle = document.getElementById("where"+days[i]);
  45. whereEle.readOnly = true;
  46. var remarkEle = document.getElementById("remark"+days[i]);
  47. remarkEle.readOnly = true;
  48. var whoEle = document.getElementById("who"+days[i]+"names");
  49. whoEle.onclick = '';
  50. }
  51. if(managerflag == '1'){
  52. for(var i = 0;i < 14; i++){
  53. var whoEle = document.getElementById("tdwho"+days[i]);
  54. whoEle.hidden = true;
  55. }
  56. var whoTD = document.getElementById("tdwho");
  57. whoTD.hidden = true;
  58. /* var tdtitle = document.getElementById("tdtitle");
  59. tdtitle.colspan=6; */
  60. var tdnotdone = document.getElementById("tdnotdone");
  61. tdnotdone.colspan=4;
  62. var tdbtn = document.getElementById("tdbtn");
  63. tdbtn.colspan=6;
  64. }else{
  65. for(var i = 0;i < 14; i++){
  66. var whatZjlEle = document.getElementById("what"+days[i]+"zjl");
  67. whatZjlEle.readOnly = true;
  68. }
  69. }
  70. }
  71. //获取当前时间,格式YYYY-MM-DD
  72. function getNowFormatDate() {
  73. var date = new Date();
  74. var seperator1 = "-";
  75. var year = date.getFullYear();
  76. var month = date.getMonth() + 1;
  77. var strDate = date.getDate();
  78. if (month >= 1 && month <= 9) {
  79. month = "0" + month;
  80. }
  81. if (strDate >= 0 && strDate <= 9) {
  82. strDate = "0" + strDate;
  83. }
  84. var currentdate = year + seperator1 + month + seperator1 + strDate;
  85. return currentdate;
  86. }
  87. function btn_ok(){
  88. $("#btnsub").click();
  89. }
  90. function callback(data){
  91. if(userchangeflag == '1'){
  92. window.location.href="weeklyscheduleController.do?goAdd&opt=changeUser&managerflag=1&userid="+$("#userselect").val()+"&currentMonDate="+$("#mondate").val();
  93. }else {
  94. if(data.success){
  95. layer.alert(data.msg, function(index){
  96. var params = "&opt=reload&userid="+$("#userid").val()+"&currentMonDate="+$("#mondate").val();
  97. if($("#managerflag").val() == "1")
  98. params+= "&managerflag=1";
  99. window.location.href="weeklyscheduleController.do?goAdd"+params
  100. layer.close(index);
  101. });
  102. }
  103. else{
  104. layer.alert(data.msg);
  105. }
  106. }
  107. }
  108. // 定义菜单栏离页面顶部的距离,默认为200
  109. var divOffsetTop = 200;
  110. //滚动事件
  111. window.onscroll=function(){
  112. var div = document.getElementById("btndiv");
  113. // 计算页面滚动了多少(需要区分不同浏览器)
  114. var topVal = 0;
  115. if(window.pageYOffset){//这一条滤去了大部分, 只留了IE678
  116. topVal = window.pageYOffset;
  117. }
  118. else if(document.documentElement.scrollTop ){//IE678 的非quirk模式
  119. topVal = document.documentElement.scrollTop;
  120. }
  121. else if(document.body.scrolltop){//IE678 的quirk模式
  122. topVal = document.body.scrolltop;
  123. }
  124. if(topVal <= divOffsetTop){
  125. div.style.position = "";
  126. }
  127. else {
  128. div.style.position = "fixed";
  129. }
  130. };
  131. // 页面加载完之后,计算菜单栏到页面顶部的实际距离
  132. window.onload=function(){
  133. var div = document.getElementById("btndiv");
  134. divOffsetTop = div.offsetTop;
  135. };
  136. </script>
  137. <script type="text/javascript">
  138. //编写自定义JS代码
  139. </script>
  140. </head>
  141. <body>
  142. <div id="btndiv" align="center" style="width: 100%; height: 50px; line-height: 40px; top: 0px; background: white;vertical-align: middle;position:relative;">
  143. <!-- <table style="width: 99%;" cellpadding="0" cellspacing="0" class="formtable" border="0">
  144. <tr height="30px" >
  145. <td align="center" id="tdtitle"> -->
  146. <p>
  147. <label class="Validform_label" style="text-align: center; margin:0 auto;font-size: 13px ;float: left;">
  148. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  149. 工作执行人:
  150. </label>
  151. <c:if test="${not empty managerflag}">
  152. <select style="width: 104px;float: left;" id="userselect" name="userselect" onchange="changeUser(this)">
  153. <c:forEach items="${useridList }" var="user">
  154. <option value="${user.id }" <c:if test="${userid==user.id}">selected="selected"</c:if>>${user.realname }</option>
  155. </c:forEach>
  156. </select>
  157. </c:if>
  158. <c:if test="${empty managerflag}">
  159. <label class="Validform_label" style="text-align: center; margin:0 auto;font-size: 16px ;float: left;">
  160. ${username}
  161. </label>
  162. </c:if>
  163. <label class="Validform_label" style="text-align: center; margin:0 auto;font-size: 18px ">
  164. 一周工作安排 ( ${weeklyschedulePage.weekFromTo} )
  165. </label>
  166. <span style="display:-moz-inline-box;display:inline-block;float: right;" >
  167. <a href="#" class="easyui-linkbutton l-btn" iconcls="icon-left" onclick="goBefore()" id="downexport">
  168. <span>上一周</span>
  169. </a>
  170. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  171. <a href="#" class="easyui-linkbutton l-btn" iconcls="icon-right" onclick="goNext()" id="">
  172. <span>下一周</span>
  173. </a>
  174. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  175. <a href="#" class="easyui-linkbutton l-btn" iconcls="icon-save" onclick="btn_ok()"> 保 存</a>
  176. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  177. </span>
  178. </p>
  179. <!-- </td>
  180. </tr>
  181. </table> -->
  182. <!-- <img alt="" id="uptb" class="imgbtn" onclick="showChar()" src="images/tb1.png">
  183. <img alt="" id="upbg" class="imgbtn" onclick="showTabel()" src="images/bg.png">
  184. <span style="display:-moz-inline-box;display:inline-block;float: right;margin-right: 10px;" >
  185. <a href="#" class="easyui-linkbutton l-btn" iconcls="icon-search" style="margin-left: 50px;" onclick="kaoqinsearch()" id="">
  186. <span>查询</span>
  187. </a>
  188. </span> -->
  189. </div>
  190. <div class="content" >
  191. <t:formvalid formid="formobj" dialog="false" usePlugin="password" layout="table" action="weeklyscheduleController.do?doAdd" tiptype="1" callback="callback">
  192. <input id="id" name="id" type="hidden" value="${weeklyschedulePage.id}"/>
  193. <input id="status" name="status" type="hidden" value="${weeklyschedulePage.status}"/>
  194. <input id="userid" name="userid" type="hidden" value="${weeklyschedulePage.userid}"/>
  195. <input id="managerflag" name="managerflag" type="hidden" value="${managerflag}"/>
  196. <input id="curweekflag" name="curweekflag" type="hidden" value="${curweekflag}"/>
  197. <input id="tempuserid" name="tempuserid" type="hidden" value="${userid}"/>
  198. <table id="weeklyscheduleTable" style="width: 99%;" cellpadding="0" cellspacing="0" class="formtable" border="1">
  199. <%-- <tr height="45px" >
  200. <td align="center" colspan="7" id="tdtitle">
  201. <label class="Validform_label" style="text-align: center; margin:0 auto;font-size: 13px ;float: left;">
  202. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  203. 工作执行人:
  204. </label>
  205. <c:if test="${not empty managerflag}">
  206. <select style="width: 104px;float: left;" id="userselect" name="userselect" onchange="changeUser(this)">
  207. <c:forEach items="${useridList }" var="user">
  208. <option value="${user.id }" <c:if test="${userid==user.id}">selected="selected"</c:if>>${user.realname }</option>
  209. </c:forEach>
  210. </select>
  211. </c:if>
  212. <c:if test="${empty managerflag}">
  213. <label class="Validform_label" style="text-align: center; margin:0 auto;font-size: 16px ;float: left;">
  214. ${username}
  215. </label>
  216. </c:if>
  217. <label class="Validform_label" style="text-align: center; margin:0 auto;font-size: 18px ">
  218. 一周工作安排 ( ${weeklyschedulePage.weekFromTo} )
  219. </label>
  220. <span style="display:-moz-inline-box;display:inline-block;float: right;" >
  221. <a href="#" class="easyui-linkbutton l-btn" iconcls="icon-left" onclick="goBefore()" id="downexport">
  222. <span>上一周</span>
  223. </a>
  224. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  225. <a href="#" class="easyui-linkbutton l-btn" iconcls="icon-right" onclick="goNext()" id="">
  226. <span>下一周</span>
  227. </a>
  228. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  229. </span>
  230. </td>
  231. </tr> --%>
  232. <tr height="45px" >
  233. <td align="center" colspan="2">
  234. <label class="Validform_label" style="text-align: center; margin:0 auto;font-size: 16px ">
  235. 日 期
  236. </label>
  237. </td>
  238. <td align="center">
  239. <label class="Validform_label" style="text-align: center; margin:0 auto;font-size: 16px ">
  240. 总经理安排工作内容
  241. </label>
  242. </td>
  243. <td align="center">
  244. <label class="Validform_label" style="text-align: center; margin:0 auto;font-size: 16px ">
  245. 个人工作计划内容
  246. </label>
  247. </td>
  248. <td align="center" id="tdwho" >
  249. <label id="titlewho" class="Validform_label" style="text-align: center; margin:0 auto;font-size: 16px " >
  250. 主要参与人员
  251. </label>
  252. </td>
  253. <td align="center">
  254. <label class="Validform_label" style="text-align: center; margin:0 auto;font-size: 16px ">
  255. 地 点
  256. </label>
  257. </td>
  258. <td align="center">
  259. <label class="Validform_label" style="text-align: center; margin:0 auto;font-size: 16px ">
  260. 备 注
  261. </label>
  262. </td>
  263. </tr>
  264. <tr>
  265. <td align="center" style="width: 100px" rowspan="2">
  266. <input id="mondate" name="mondate" readonly="true" type="text" value="${weeklyschedulePage.mondate}" class="inputxt" style="width: 90px;font-size: 13px;border: 0;text-align: center;font-weight: bold;" />
  267. <br>
  268. <label class="Validform_label">
  269. ( 星期一 )
  270. </label>
  271. </td>
  272. <td align="center" style="width: 80px">
  273. <label class="Validform_label" >上午</label>
  274. </td>
  275. <td align="center" width="400px">
  276. <textarea style="width:98%;height: 40px;border: none" class="inputxt" rows="3" id="whatmonamzjl" name="whatmonamzjl" ignore="ignore" >${weeklyschedulePage.whatmonamzjl}</textarea>
  277. </td>
  278. <td align="center" width="400px">
  279. <textarea style="width:98%;height: 40px;border: none" class="inputxt" rows="3" id="whatmonam" name="whatmonam" ignore="ignore" >${weeklyschedulePage.whatmonam}</textarea>
  280. </td>
  281. <td id="tdwhomonam" class="value" width="250px">
  282. <input id="whomonamnames" name="whomonamnames" readonly="true" type="text" style="width: 250px;border: none;height: 20px;" class="inputxt" ignore="ignore" value="${weeklyschedulePage.whomonamnames}"
  283. onclick="openPersonSelect('monam');return false;"/>
  284. <input id="whomonams" name="whomonams" type="hidden" value="${whomonams}">
  285. <label class="Validform_label" style="display: none;">主要参与人员</label>
  286. <!-- <a href="#" class="easyui-linkbutton" plain="true" icon="icon-select" id="pseronMonAm" onclick="openPersonSelect('monam');return false;">选择</a>
  287. <a href="#" class="easyui-linkbutton" plain="true" icon="icon-clean" id="psersonMonAmRedo" onclick="openPersonSelectClean('monam');return false;">清空</a> -->
  288. </td>
  289. <td class="value" width="150px">
  290. <%-- <input id="wheremonam" name="wheremonam" type="text" style="width: 140px;height: 40px;border: none" class="inputxt" ignore="ignore" value="${weeklyschedulePage.wheremonam}" /> --%>
  291. <textarea style="width:98%;height: 40px;border: none" class="inputxt" rows="3" id="wheremonam" name="wheremonam" ignore="ignore" >${weeklyschedulePage.wheremonam}</textarea>
  292. <label class="Validform_label" style="display: none;">地点</label>
  293. </td>
  294. <td class="value" width="150px">
  295. <textarea style="width:98%;height: 40px;border: none" class="inputxt" rows="3" id="remarkmonam" name="remarkmonam" ignore="ignore" >${weeklyschedulePage.remarkmonam}</textarea>
  296. <%-- <input id="remarkmonam" name="remarkmonam" type="text" style="width: 140px;height: 40px;border: none" class="inputxt" ignore="ignore" value="${weeklyschedulePage.remarkmonam}" /> --%>
  297. <label class="Validform_label" style="display: none;">备注</label>
  298. </td>
  299. </tr>
  300. <tr>
  301. <td align="center" style="width: 80px">
  302. <label class="Validform_label" >下午</label>
  303. </td>
  304. <td align="center" width="400px">
  305. <textarea style="width:98%;height: 40px;border: none" class="inputxt" rows="3" id="whatmonpmzjl" name="whatmonpmzjl" ignore="ignore" >${weeklyschedulePage.whatmonpmzjl}</textarea>
  306. </td>
  307. <td align="center" width="400px">
  308. <textarea style="width:98%;height: 40px;border: none" class="inputxt" rows="3" id="whatmonpm" name="whatmonpm" ignore="ignore" >${weeklyschedulePage.whatmonpm}</textarea>
  309. </td>
  310. <td id="tdwhomonpm" class="value" width="250px">
  311. <input id="whomonpmnames" name="whomonpmnames" value="${weeklyschedulePage.whomonpmnames}" readonly="true" type="text" style="width: 250px;border: none;height: 20px;" class="inputxt" ignore="ignore"
  312. onclick="openPersonSelect('monpm');return false;"/>
  313. <input id="whomonpms" name="whomonpms" type="hidden" value="${whomonpms}">
  314. <label class="Validform_label" style="display: none;">主要参与人员</label>
  315. <!-- <a href="#" class="easyui-linkbutton" plain="true" icon="icon-select" id="pseronMonPm" onclick="openPersonSelect('monpm');return false;">选择</a>
  316. <a href="#" class="easyui-linkbutton" plain="true" icon="icon-clean" id="psersonMonPmRedo" onclick="openPersonSelectClean('monpm');return false;">清空</a> -->
  317. </td>
  318. <td class="value" width="150px">
  319. <textarea style="width:98%;height: 40px;border: none" class="inputxt" rows="3" id="wheremonpm" name="wheremonpm" ignore="ignore" >${weeklyschedulePage.wheremonpm}</textarea>
  320. <%-- <input id="wheremonpm" name="wheremonpm" value="${weeklyschedulePage.wheremonpm}" type="text" style="width: 140px;height: 40px;border: none" class="inputxt" ignore="ignore" /> --%>
  321. <label class="Validform_label" style="display: none;">地点</label>
  322. </td>
  323. <td class="value" width="150px">
  324. <textarea style="width:98%;height: 40px;border: none" class="inputxt" rows="3" id="remarkmonpm" name="remarkmonpm" ignore="ignore" >${weeklyschedulePage.remarkmonpm}</textarea>
  325. <%-- <input id="remarkmonpm" name="remarkmonpm" value="${weeklyschedulePage.remarkmonpm}" type="text" style="width: 140px;height: 40px;border: none" class="inputxt" ignore="ignore" /> --%>
  326. <label class="Validform_label" style="display: none;">备注</label>
  327. </td>
  328. </tr>
  329. <tr>
  330. <td align="center" style="width: 100px" rowspan="2">
  331. <input id="tuesdate" name="tuesdate" readonly="true" type="text" value="${weeklyschedulePage.tuesdate}" class="inputxt" style="width: 90px;font-size: 13px;border: 0;text-align: center;font-weight: bold;" />
  332. <br>
  333. <label class="Validform_label">
  334. ( 星期二 )
  335. </label>
  336. </td>
  337. <td align="center" style="width: 80px">
  338. <label class="Validform_label" >上午</label>
  339. </td>
  340. <td align="center" width="400px">
  341. <textarea style="width:98%;height: 40px;border: none" class="inputxt" rows="3" id="whattuesamzjl" name="whattuesamzjl" ignore="ignore" >${weeklyschedulePage.whattuesamzjl}</textarea>
  342. </td>
  343. <td align="center" width="400px">
  344. <textarea style="width:98%;height: 40px;border: none" class="inputxt" rows="3" id="whattuesam" name="whattuesam" ignore="ignore" >${weeklyschedulePage.whattuesam}</textarea>
  345. </td>
  346. <td id="tdwhotuesam" class="value" width="250px">
  347. <input id="whotuesamnames" name="whotuesamnames" value="${weeklyschedulePage.whotuesamnames}" readonly="true" type="text" style="width: 250px;border: none;height: 20px;" class="inputxt" ignore="ignore"
  348. onclick="openPersonSelect('tuesam');return false;" />
  349. <input id="whotuesams" name="whotuesams" type="hidden" value="${weeklyschedulePage.whotuesams}">
  350. <label class="Validform_label" style="display: none;">主要参与人员</label>
  351. <!-- <a href="#" class="easyui-linkbutton" plain="true" icon="icon-select" id="departSearch" onclick="openPersonSelect('tuesam');return false;">选择</a>
  352. <a href="#" class="easyui-linkbutton" plain="true" icon="icon-clean" id="departRedo" onclick="openPersonSelectClean('tuesam');return false;">清空</a> -->
  353. </td>
  354. <td class="value" width="150px">
  355. <textarea style="width:98%;height: 40px;border: none" class="inputxt" rows="3" id="wheretuesam" name="wheretuesam" ignore="ignore" >${weeklyschedulePage.wheretuesam}</textarea>
  356. <%-- <input id="wheretuesam" name="wheretuesam" value="${weeklyschedulePage.wheretuesam}" type="text" style="width: 140px;height: 40px;border: none" class="inputxt" ignore="ignore" /> --%>
  357. <label class="Validform_label" style="display: none;">地点</label>
  358. </td>
  359. <td class="value" width="150px">
  360. <textarea style="width:98%;height: 40px;border: none" class="inputxt" rows="3" id="remarktuesam" name="remarktuesam" ignore="ignore" >${weeklyschedulePage.remarktuesam}</textarea>
  361. <%-- <input id="remarktuesam" name="remarktuesam" value="${weeklyschedulePage.remarktuesam}" type="text" style="width: 140px;height: 40px;border: none" class="inputxt" ignore="ignore" /> --%>
  362. <label class="Validform_label" style="display: none;">备注</label>
  363. </td>
  364. </tr>
  365. <tr>
  366. <td align="center" style="width: 80px">
  367. <label class="Validform_label" >下午</label>
  368. </td>
  369. <td align="center" width="400px">
  370. <textarea style="width:98%;height: 40px;border: none" class="inputxt" rows="3" id="whattuespmzjl" name="whattuespmzjl" ignore="ignore" >${weeklyschedulePage.whattuespmzjl}</textarea>
  371. </td>
  372. <td align="center" width="400px">
  373. <textarea style="width:98%;height: 40px;border: none" class="inputxt" rows="3" id="whattuespm" name="whattuespm" ignore="ignore" >${weeklyschedulePage.whattuespm}</textarea>
  374. </td>
  375. <td id="tdwhotuespm" class="value" width="250px">
  376. <input id="whotuespmnames" name="whotuespmnames" value="${weeklyschedulePage.whotuespmnames}" readonly="true" type="text" style="width: 250px;border: none;height: 20px;" class="inputxt" ignore="ignore"
  377. onclick="openPersonSelect('tuespm');return false;"/>
  378. <input id="whotuespms" name="whotuespms" type="hidden" value="${weeklyschedulePage.whotuespms}">
  379. <label class="Validform_label" style="display: none;">主要参与人员</label>
  380. <!-- <a href="#" class="easyui-linkbutton" plain="true" icon="icon-select" id="departSearch" onclick="openPersonSelect('tuespm');return false;">选择</a>
  381. <a href="#" class="easyui-linkbutton" plain="true" icon="icon-clean" id="departRedo" onclick="openPersonSelectClean('tuespm');return false;">清空</a> -->
  382. </td>
  383. <td class="value" width="150px">
  384. <textarea style="width:98%;height: 40px;border: none" class="inputxt" rows="3" id="wheretuespm" name="wheretuespm" ignore="ignore" >${weeklyschedulePage.wheretuespm}</textarea>
  385. <%-- <input id="wheretuespm" name="wheretuespm" value="${weeklyschedulePage.wheretuespm}" type="text" style="width: 140px;height: 40px;border: none" class="inputxt" ignore="ignore" /> --%>
  386. <label class="Validform_label" style="display: none;">地点</label>
  387. </td>
  388. <td class="value" width="150px">
  389. <textarea style="width:98%;height: 40px;border: none" class="inputxt" rows="3" id="remarktuespm" name="remarktuespm" ignore="ignore" >${weeklyschedulePage.remarktuespm}</textarea>
  390. <%-- <input id="remarktuespm" name="remarktuespm" value="${weeklyschedulePage.remarktuespm}" type="text" style="width: 140px;height: 40px;border: none" class="inputxt" ignore="ignore" /> --%>
  391. <label class="Validform_label" style="display: none;">备注</label>
  392. </td>
  393. </tr>
  394. <tr>
  395. <td align="center" style="width: 100px" rowspan="2">
  396. <input id="weddate" name="weddate" readonly="true" type="text" value="${weeklyschedulePage.weddate}" class="inputxt" style="width: 90px;font-size: 13px;border: 0;text-align: center;font-weight: bold;" />
  397. <br>
  398. <label class="Validform_label">
  399. ( 星期三 )
  400. </label>
  401. </td>
  402. <td align="center" style="width: 80px">
  403. <label class="Validform_label" >上午</label>
  404. </td>
  405. <td align="center" width="400px">
  406. <textarea style="width:98%;height: 40px;border: none" class="inputxt" rows="3" id="whatwedamzjl" name="whatwedamzjl" ignore="ignore" >${weeklyschedulePage.whatwedamzjl}</textarea>
  407. </td>
  408. <td align="center" width="400px">
  409. <textarea style="width:98%;height: 40px;border: none" class="inputxt" rows="3" id="whatwedam" name="whatwedam" ignore="ignore" >${weeklyschedulePage.whatwedam}</textarea>
  410. </td>
  411. <td id="tdwhowedam" class="value" width="250px">
  412. <input id="whowedamnames" name="whowedamnames" value="${weeklyschedulePage.whowedamnames}" readonly="true" type="text" style="width: 250px;border: none;height: 20px;" class="inputxt" ignore="ignore"
  413. onclick="openPersonSelect('wedam');return false;"/>
  414. <input id="whowedams" name="whowedams" type="hidden" value="${weeklyschedulePage.whowedams}">
  415. <label class="Validform_label" style="display: none;">主要参与人员</label>
  416. <!-- <a href="#" class="easyui-linkbutton" plain="true" icon="icon-select" id="departSearch" onclick="openPersonSelect('wedam');return false;">选择</a>
  417. <a href="#" class="easyui-linkbutton" plain="true" icon="icon-clean" id="departRedo" onclick="openPersonSelectClean('wedam');return false;">清空</a> -->
  418. </td>
  419. <td class="value" width="150px">
  420. <textarea style="width:98%;height: 40px;border: none" class="inputxt" rows="3" id="wherewedam" name="wherewedam" ignore="ignore" >${weeklyschedulePage.wherewedam}</textarea>
  421. <%-- <input id="wherewedam" name="wherewedam" value="${weeklyschedulePage.wherewedam}" type="text" style="width: 140px;height: 40px;border: none" class="inputxt" ignore="ignore" /> --%>
  422. <label class="Validform_label" style="display: none;">地点</label>
  423. </td>
  424. <td class="value" width="150px">
  425. <textarea style="width:98%;height: 40px;border: none" class="inputxt" rows="3" id="remarkwedam" name="remarkwedam" ignore="ignore" >${weeklyschedulePage.remarkwedam}</textarea>
  426. <%-- <input id="remarkwedam" name="remarkwedam" value="${weeklyschedulePage.remarkwedam}" type="text" style="width: 140px;height: 40px;border: none" class="inputxt" ignore="ignore" /> --%>
  427. <label class="Validform_label" style="display: none;">备注</label>
  428. </td>
  429. </tr>
  430. <tr>
  431. <td align="center" style="width: 80px">
  432. <label class="Validform_label" >下午</label>
  433. </td>
  434. <td align="center" width="400px">
  435. <textarea style="width:98%;height: 40px;border: none" class="inputxt" rows="3" id="whatwedpmzjl" name="whatwedpmzjl" ignore="ignore" >${weeklyschedulePage.whatwedpmzjl}</textarea>
  436. </td>
  437. <td align="center" width="400px">
  438. <textarea style="width:98%;height: 40px;border: none" class="inputxt" rows="3" id="whatwedpm" name="whatwedpm" ignore="ignore" >${weeklyschedulePage.whatwedpm}</textarea>
  439. </td>
  440. <td id="tdwhowedpm" class="value" width="250px">
  441. <input id="whowedpmnames" name="whowedpmnames" value="${weeklyschedulePage.whowedpmnames}" readonly="true" type="text" style="width: 250px;border: none;height: 20px;" class="inputxt" ignore="ignore"
  442. onclick="openPersonSelect('wedpm');return false;"/>
  443. <input id="whowedpms" name="whowedpms" type="hidden" value="${weeklyschedulePage.whowedpms}">
  444. <label class="Validform_label" style="display: none;">主要参与人员</label>
  445. <!-- <a href="#" class="easyui-linkbutton" plain="true" icon="icon-select" id="departSearch" onclick="openPersonSelect('wedpm');return false;">选择</a>
  446. <a href="#" class="easyui-linkbutton" plain="true" icon="icon-clean" id="departRedo" onclick="openPersonSelectClean('wedpm');return false;">清空</a> -->
  447. </td>
  448. <td class="value" width="150px">
  449. <textarea style="width:98%;height: 40px;border: none" class="inputxt" rows="3" id="wherewedpm" name="wherewedpm" ignore="ignore" >${weeklyschedulePage.wherewedpm}</textarea>
  450. <%-- <input id="wherewedpm" name="wherewedpm" value="${weeklyschedulePage.wherewedpm}" type="text" style="width: 140px;height: 40px;border: none" class="inputxt" ignore="ignore" /> --%>
  451. <label class="Validform_label" style="display: none;">地点</label>
  452. </td>
  453. <td class="value" width="150px">
  454. <textarea style="width:98%;height: 40px;border: none" class="inputxt" rows="3" id="remarkwedpm" name="remarkwedpm" ignore="ignore" >${weeklyschedulePage.remarkwedpm}</textarea>
  455. <%-- <input id="remarkwedpm" name="remarkwedpm" value="${weeklyschedulePage.remarkwedpm}" type="text" style="width: 140px;height: 40px;border: none" class="inputxt" ignore="ignore" /> --%>
  456. <label class="Validform_label" style="display: none;">备注</label>
  457. </td>
  458. </tr>
  459. <tr>
  460. <td align="center" style="width: 100px" rowspan="2">
  461. <input id="thurdate" name="thurdate" readonly="true" type="text" value="${weeklyschedulePage.thurdate}" class="inputxt" style="width: 90px;font-size: 13px;border: 0;text-align: center;font-weight: bold;" />
  462. <br>
  463. <label class="Validform_label">
  464. ( 星期四 )
  465. </label>
  466. </td>
  467. <td align="center" style="width: 80px">
  468. <label class="Validform_label" >上午</label>
  469. </td>
  470. <td align="center" width="400px">
  471. <textarea style="width:98%;height: 40px;border: none" class="inputxt" rows="3" id="whatthuramzjl" name="whatthuramzjl" ignore="ignore" >${weeklyschedulePage.whatthuramzjl}</textarea>
  472. </td>
  473. <td align="center" width="400px">
  474. <textarea style="width:98%;height: 40px;border: none" class="inputxt" rows="3" id="whatthuram" name="whatthuram" ignore="ignore" >${weeklyschedulePage.whatthuram}</textarea>
  475. </td>
  476. <td id="tdwhothuram" class="value" width="250px">
  477. <input id="whothuramnames" name="whothuramnames" value="${weeklyschedulePage.whothuramnames}" readonly="true" type="text" style="width: 250px;border: none;height: 20px;" class="inputxt" ignore="ignore"
  478. onclick="openPersonSelect('thuram');return false;"/>
  479. <input id="whothurams" name="whothurams" type="hidden" value="${weeklyschedulePage.whothurams}">
  480. <label class="Validform_label" style="display: none;">主要参与人员</label>
  481. <!-- <a href="#" class="easyui-linkbutton" plain="true" icon="icon-select" id="departSearch" onclick="openPersonSelect('thuram');return false;">选择</a>
  482. <a href="#" class="easyui-linkbutton" plain="true" icon="icon-clean" id="departRedo" onclick="openPersonSelect('thuram');return false;">清空</a> -->
  483. </td>
  484. <td class="value" width="150px">
  485. <textarea style="width:98%;height: 40px;border: none" class="inputxt" rows="3" id="wherethuram" name="wherethuram" ignore="ignore" >${weeklyschedulePage.wherethuram}</textarea>
  486. <%-- <input id="wherethuram" name="wherethuram" value="${weeklyschedulePage.wherethuram}" type="text" style="width: 140px;height: 40px;border: none" class="inputxt" ignore="ignore" /> --%>
  487. <label class="Validform_label" style="display: none;">地点</label>
  488. </td>
  489. <td class="value" width="150px">
  490. <textarea style="width:98%;height: 40px;border: none" class="inputxt" rows="3" id="remarkthuram" name="remarkthuram" ignore="ignore" >${weeklyschedulePage.remarkthuram}</textarea>
  491. <%-- <input id="remarkthuram" name="remarkthuram" value="${weeklyschedulePage.remarkthuram}" type="text" style="width: 140px;height: 40px;border: none" class="inputxt" ignore="ignore" /> --%>
  492. <label class="Validform_label" style="display: none;">备注</label>
  493. </td>
  494. </tr>
  495. <tr>
  496. <td align="center" style="width: 80px">
  497. <label class="Validform_label" >下午</label>
  498. </td>
  499. <td align="center" width="400px">
  500. <textarea style="width:98%;height: 40px;border: none" class="inputxt" rows="3" id="whatthurpmzjl" name="whatthurpmzjl" ignore="ignore" >${weeklyschedulePage.whatthurpmzjl}</textarea>
  501. </td>
  502. <td align="center" width="400px">
  503. <textarea style="width:98%;height: 40px;border: none" class="inputxt" rows="3" id="whatthurpm" name="whatthurpm" ignore="ignore" >${weeklyschedulePage.whatthurpm}</textarea>
  504. </td>
  505. <td id="tdwhothurpm" class="value" width="250px">
  506. <input id="whothurpmnames" name="whothurpmnames" value="${weeklyschedulePage.whothurpmnames}" readonly="true" type="text" style="width: 250px;border: none;height: 20px;" class="inputxt" ignore="ignore"
  507. onclick="openPersonSelect('thurpm');return false;"/>
  508. <input id="whothurpms" name="whothurpms" type="hidden" value="${weeklyschedulePage.whothurpms}">
  509. <label class="Validform_label" style="display: none;">主要参与人员</label>
  510. <!-- <a href="#" class="easyui-linkbutton" plain="true" icon="icon-select" id="departSearch" onclick="openPersonSelect('thurpm');return false;">选择</a>
  511. <a href="#" class="easyui-linkbutton" plain="true" icon="icon-clean" id="departRedo" onclick="openPersonSelectClean('thurpm');return false;">清空</a> -->
  512. </td>
  513. <td class="value" width="150px">
  514. <textarea style="width:98%;height: 40px;border: none" class="inputxt" rows="3" id="wherethurpm" name="wherethurpm" ignore="ignore" >${weeklyschedulePage.wherethurpm}</textarea>
  515. <%-- <input id="wherethurpm" name="wherethurpm" value="${weeklyschedulePage.wherethurpm}" type="text" style="width: 140px;height: 40px;border: none" class="inputxt" ignore="ignore" /> --%>
  516. <label class="Validform_label" style="display: none;">地点</label>
  517. </td>
  518. <td class="value" width="150px">
  519. <textarea style="width:98%;height: 40px;border: none" class="inputxt" rows="3" id="remarkthurpm" name="remarkthurpm" ignore="ignore" >${weeklyschedulePage.remarkthurpm}</textarea>
  520. <%-- <input id="remarkthurpm" name="remarkthurpm" value="${weeklyschedulePage.remarkthurpm}" type="text" style="width: 140px;height: 40px;border: none" class="inputxt" ignore="ignore" /> --%>
  521. <label class="Validform_label" style="display: none;">备注</label>
  522. </td>
  523. </tr>
  524. <tr>
  525. <td align="center" style="width: 100px" rowspan="2">
  526. <input id="fridate" name="fridate" readonly="true" type="text" value="${weeklyschedulePage.fridate}" class="inputxt" style="width: 90px;font-size: 13px;border: 0;text-align: center;font-weight: bold;" />
  527. <br>
  528. <label class="Validform_label">
  529. ( 星期五 )
  530. </label>
  531. </td>
  532. <td align="center" style="width: 80px">
  533. <label class="Validform_label" >上午</label>
  534. </td>
  535. <td align="center" width="400px">
  536. <textarea style="width:98%;height: 40px;border: none" class="inputxt" rows="3" id="whatfriamzjl" name="whatfriamzjl" ignore="ignore" >${weeklyschedulePage.whatfriamzjl}</textarea>
  537. </td>
  538. <td align="center" width="400px">
  539. <textarea style="width:98%;height: 40px;border: none" class="inputxt" rows="3" id="whatfriam" name="whatfriam" ignore="ignore" >${weeklyschedulePage.whatfriam}</textarea>
  540. </td>
  541. <td id="tdwhofriam" class="value" width="250px">
  542. <input id="whofriamnames" name="whofriamnames" value="${weeklyschedulePage.whofriamnames}" readonly="true" type="text" style="width: 250px;border: none;height: 20px;" class="inputxt" ignore="ignore"
  543. onclick="openPersonSelect('friam');return false;"/>
  544. <input id="whofriams" name="whofriams" type="hidden" value="${weeklyschedulePage.whofriams}">
  545. <label class="Validform_label" style="display: none;">主要参与人员</label>
  546. <!-- <a href="#" class="easyui-linkbutton" plain="true" icon="icon-select" id="departSearch" onclick="openPersonSelect('friam');return false;">选择</a>
  547. <a href="#" class="easyui-linkbutton" plain="true" icon="icon-clean" id="departRedo" onclick="openPersonSelectClean('friam');return false;">清空</a> -->
  548. </td>
  549. <td class="value" width="150px">
  550. <textarea style="width:98%;height: 40px;border: none" class="inputxt" rows="3" id="wherefriam" name="wherefriam" ignore="ignore" >${weeklyschedulePage.wherefriam}</textarea>
  551. <%-- <input id="wherefriam" name="wherefriam" value="${weeklyschedulePage.wherefriam}" type="text" style="width: 140px;height: 40px;border: none" class="inputxt" ignore="ignore" /> --%>
  552. <label class="Validform_label" style="display: none;">地点</label>
  553. </td>
  554. <td class="value" width="150px">
  555. <textarea style="width:98%;height: 40px;border: none" class="inputxt" rows="3" id="remarkfriam" name="remarkfriam" ignore="ignore" >${weeklyschedulePage.remarkfriam}</textarea>
  556. <%-- <input id="remarkfriam" name="remarkfriam" value="${weeklyschedulePage.remarkfriam}" type="text" style="width: 140px;height: 40px;border: none" class="inputxt" ignore="ignore" /> --%>
  557. <label class="Validform_label" style="display: none;">备注</label>
  558. </td>
  559. </tr>
  560. <tr>
  561. <td align="center" style="width: 80px">
  562. <label class="Validform_label" >下午</label>
  563. </td>
  564. <td align="center" width="400px">
  565. <textarea style="width:98%;height: 40px;border: none" class="inputxt" rows="3" id="whatfripmzjl" name="whatfripmzjl" ignore="ignore" >${weeklyschedulePage.whatfripmzjl}</textarea>
  566. </td>
  567. <td align="center" width="400px">
  568. <textarea style="width:98%;height: 40px;border: none" class="inputxt" rows="3" id="whatfripm" name="whatfripm" ignore="ignore" >${weeklyschedulePage.whatfripm}</textarea>
  569. </td>
  570. <td id="tdwhofripm" class="value" width="250px">
  571. <input id="whofripmnames" name="whofripmnames" value="${weeklyschedulePage.whofripmnames}" readonly="true" type="text" style="width: 250px;border: none;height: 20px;" class="inputxt" ignore="ignore"
  572. onclick="openPersonSelect('fripm');return false;"/>
  573. <input id="whofripms" name="whofripms" type="hidden" value="${weeklyschedulePage.whofripms}">
  574. <label class="Validform_label" style="display: none;">主要参与人员</label>
  575. <!-- <a href="#" class="easyui-linkbutton" plain="true" icon="icon-select" id="departSearch" onclick="openPersonSelect('fripm');return false;">选择</a>
  576. <a href="#" class="easyui-linkbutton" plain="true" icon="icon-clean" id="departRedo" onclick="openPersonSelectClean('fripm');return false;">清空</a> -->
  577. </td>
  578. <td class="value" width="150px">
  579. <textarea style="width:98%;height: 40px;border: none" class="inputxt" rows="3" id="wherefripm" name="wherefripm" ignore="ignore" >${weeklyschedulePage.wherefripm}</textarea>
  580. <%-- <input id="wherefripm" name="wherefripm" value="${weeklyschedulePage.wherefripm}" type="text" style="width: 140px;height: 40px;border: none" class="inputxt" ignore="ignore" /> --%>
  581. <label class="Validform_label" style="display: none;">地点</label>
  582. </td>
  583. <td class="value" width="150px">
  584. <textarea style="width:98%;height: 40px;border: none" class="inputxt" rows="3" id="remarkfripm" name="remarkfripm" ignore="ignore" >${weeklyschedulePage.remarkfripm}</textarea>
  585. <%-- <input id="remarkfripm" name="remarkfripm" value="${weeklyschedulePage.remarkfripm}" type="text" style="width: 140px;height: 40px;border: none" class="inputxt" ignore="ignore" /> --%>
  586. <label class="Validform_label" style="display: none;">备注</label>
  587. </td>
  588. </tr>
  589. <tr>
  590. <td align="center" style="width: 100px" rowspan="2">
  591. <input id="satdate" name="satdate" readonly="true" type="text" value="${weeklyschedulePage.satdate}" class="inputxt" style="width: 90px;font-size: 13px;border: 0;text-align: center;font-weight: bold;" />
  592. <br>
  593. <label class="Validform_label">
  594. ( 星期六 )
  595. </label>
  596. </td>
  597. <td align="center" style="width: 80px">
  598. <label class="Validform_label" >上午</label>
  599. </td>
  600. <td align="center" width="400px">
  601. <textarea style="width:98%;height: 40px;border: none" class="inputxt" rows="3" id="whatsatamzjl" name="whatsatamzjl" ignore="ignore" >${weeklyschedulePage.whatsatamzjl}</textarea>
  602. </td>
  603. <td align="center" width="400px">
  604. <textarea style="width:98%;height: 40px;border: none" class="inputxt" rows="3" id="whatsatam" name="whatsatam" ignore="ignore" >${weeklyschedulePage.whatsatam}</textarea>
  605. </td>
  606. <td id="tdwhosatam" class="value" width="250px">
  607. <input id="whosatamnames" name="whosatamnames" value="${weeklyschedulePage.whosatamnames}" readonly="true" type="text" style="width: 250px;border: none;height: 20px;" class="inputxt" ignore="ignore"
  608. onclick="openPersonSelect('satam');return false;"/>
  609. <input id="whosatams" name="whosatams" type="hidden" value="${weeklyschedulePage.whosatams}">
  610. <label class="Validform_label" style="display: none;">主要参与人员</label>
  611. <!-- <a href="#" class="easyui-linkbutton" plain="true" icon="icon-select" id="departSearch" onclick="openPersonSelect('satam');return false;">选择</a>
  612. <a href="#" class="easyui-linkbutton" plain="true" icon="icon-clean" id="departRedo" onclick="openPersonSelectClean('satam');return false;">清空</a> -->
  613. </td>
  614. <td class="value" width="150px">
  615. <textarea style="width:98%;height: 40px;border: none" class="inputxt" rows="3" id="wheresatam" name="wheresatam" ignore="ignore" >${weeklyschedulePage.wheresatam}</textarea>
  616. <%-- <input id="wheresatam" name="wheresatam" value="${weeklyschedulePage.wheresatam}" type="text" style="width: 140px;height: 40px;border: none" class="inputxt" ignore="ignore" /> --%>
  617. <label class="Validform_label" style="display: none;">地点</label>
  618. </td>
  619. <td class="value" width="150px">
  620. <textarea style="width:98%;height: 40px;border: none" class="inputxt" rows="3" id="remarksatam" name="remarksatam" ignore="ignore" >${weeklyschedulePage.remarksatam}</textarea>
  621. <%-- <input id="remarksatam" name="remarksatam" value="${weeklyschedulePage.remarksatam}" type="text" style="width: 140px;height: 40px;border: none" class="inputxt" ignore="ignore" /> --%>
  622. <label class="Validform_label" style="display: none;">备注</label>
  623. </td>
  624. </tr>
  625. <tr>
  626. <td align="center" style="width: 80px">
  627. <label class="Validform_label" >下午</label>
  628. </td>
  629. <td align="center" width="400px">
  630. <textarea style="width:98%;height: 40px;border: none" class="inputxt" rows="3" id="whatsatpmzjl" name="whatsatpmzjl" ignore="ignore" >${weeklyschedulePage.whatsatpmzjl}</textarea>
  631. </td>
  632. <td align="center" width="400px">
  633. <textarea style="width:98%;height: 40px;border: none" class="inputxt" rows="3" id="whatsatpm" name="whatsatpm" ignore="ignore" >${weeklyschedulePage.whatsatpm}</textarea>
  634. </td>
  635. <td id="tdwhosatpm" class="value" width="250px">
  636. <input id="whosatpmnames" name="whosatpmnames" value="${weeklyschedulePage.whosatpmnames}" readonly="true" type="text" style="width: 250px;border: none;height: 20px;" class="inputxt" ignore="ignore"
  637. onclick="openPersonSelect('satpm');return false;"/>
  638. <input id="whosatpms" name="whosatpms" type="hidden" value="${weeklyschedulePage.whosatpms}">
  639. <label class="Validform_label" style="display: none;">主要参与人员</label>
  640. <!-- <a href="#" class="easyui-linkbutton" plain="true" icon="icon-select" id="departSearch" onclick="openPersonSelect('satpm');return false;">选择</a>
  641. <a href="#" class="easyui-linkbutton" plain="true" icon="icon-clean" id="departRedo" onclick="openPersonSelectClean('satpm');return false;">清空</a> -->
  642. </td>
  643. <td class="value" width="150px">
  644. <textarea style="width:98%;height: 40px;border: none" class="inputxt" rows="3" id="wheresatpm" name="wheresatpm" ignore="ignore" >${weeklyschedulePage.wheresatpm}</textarea>
  645. <%-- <input id="wheresatpm" name="wheresatpm" value="${weeklyschedulePage.wheresatpm}" type="text" style="width: 140px;height: 40px;border: none" class="inputxt" ignore="ignore" /> --%>
  646. <label class="Validform_label" style="display: none;">地点</label>
  647. </td>
  648. <td class="value" width="150px">
  649. <textarea style="width:98%;height: 40px;border: none" class="inputxt" rows="3" id="remarksatpm" name="remarksatpm" ignore="ignore" >${weeklyschedulePage.remarksatpm}</textarea>
  650. <%-- <input id="remarksatpm" name="remarksatpm" value="${weeklyschedulePage.remarksatpm}" type="text" style="width: 140px;height: 40px;border: none" class="inputxt" ignore="ignore" /> --%>
  651. <label class="Validform_label" style="display: none;">备注</label>
  652. </td>
  653. </tr>
  654. <tr>
  655. <td align="center" style="width: 100px" rowspan="2">
  656. <input id="sundate" name="sundate" readonly="true" type="text" value="${weeklyschedulePage.sundate}" class="inputxt" style="width: 90px;font-size: 13px;border: 0;text-align: center;font-weight: bold;" />
  657. <br>
  658. <label class="Validform_label">
  659. ( 星期日 )
  660. </label>
  661. </td>
  662. <td align="center" style="width: 80px">
  663. <label class="Validform_label" >上午</label>
  664. </td>
  665. <td align="center" width="400px">
  666. <textarea style="width:98%;height: 40px;border: none" class="inputxt" rows="3" id="whatsunamzjl" name="whatsunamzjl" ignore="ignore" >${weeklyschedulePage.whatsunamzjl}</textarea>
  667. </td>
  668. <td align="center" width="400px">
  669. <textarea style="width:98%;height: 40px;border: none" class="inputxt" rows="3" id="whatsunam" name="whatsunam" ignore="ignore" >${weeklyschedulePage.whatsunam}</textarea>
  670. </td>
  671. <td id="tdwhosunam" class="value" width="250px">
  672. <input id="whosunamnames" name="whosunamnames" value="${weeklyschedulePage.whosunamnames}" readonly="true" type="text" style="width: 250px;border: none;height: 20px;" class="inputxt" ignore="ignore"
  673. onclick="openPersonSelect('sunam');return false;"/>
  674. <input id="whosunams" name="whosunams" type="hidden" value="${weeklyschedulePage.whosunams}">
  675. <label class="Validform_label" style="display: none;">主要参与人员</label>
  676. <!-- <a href="#" class="easyui-linkbutton" plain="true" icon="icon-select" id="departSearch" onclick="openPersonSelect('sunam');return false;">选择</a>
  677. <a href="#" class="easyui-linkbutton" plain="true" icon="icon-clean" id="departRedo" onclick="openPersonSelectClean('sunam');return false;">清空</a> -->
  678. </td>
  679. <td class="value" width="150px">
  680. <textarea style="width:98%;height: 40px;border: none" class="inputxt" rows="3" id="wheresunam" name="wheresunam" ignore="ignore" >${weeklyschedulePage.wheresunam}</textarea>
  681. <%-- <input id="wheresunam" name="wheresunam" value="${weeklyschedulePage.wheresunam}" type="text" style="width: 140px;height: 40px;border: none" class="inputxt" ignore="ignore" /> --%>
  682. <label class="Validform_label" style="display: none;">地点</label>
  683. </td>
  684. <td class="value" width="150px">
  685. <textarea style="width:98%;height: 40px;border: none" class="inputxt" rows="3" id="remarksunam" name="remarksunam" ignore="ignore" >${weeklyschedulePage.remarksunam}</textarea>
  686. <%-- <input id="remarksunam" name="remarksunam" value="${weeklyschedulePage.remarksunam}" type="text" style="width: 140px;height: 40px;border: none" class="inputxt" ignore="ignore" /> --%>
  687. <label class="Validform_label" style="display: none;">备注</label>
  688. </td>
  689. </tr>
  690. <tr>
  691. <td align="center" style="width: 80px">
  692. <label class="Validform_label" >下午</label>
  693. </td>
  694. <td align="center" width="400px">
  695. <textarea style="width:98%;height: 40px;border: none" class="inputxt" rows="3" id="whatsunpmzjl" name="whatsunpmzjl" ignore="ignore" >${weeklyschedulePage.whatsunpmzjl}</textarea>
  696. </td>
  697. <td align="center" width="400px">
  698. <textarea style="width:98%;height: 40px;border: none" class="inputxt" rows="3" id="whatsunpm" name="whatsunpm" ignore="ignore" >${weeklyschedulePage.whatsunpm}</textarea>
  699. </td>
  700. <td id="tdwhosunpm" class="value" width="250px">
  701. <input id="whosunpmnames" name="whosunpmnames" value="${weeklyschedulePage.whosunpmnames}" readonly="true" type="text" style="width: 250px;border: none;height: 20px;" class="inputxt" ignore="ignore"
  702. onclick="openPersonSelect('sunpm');return false;"/>
  703. <input id="whosunpms" name="whosunpms" type="hidden" value="${weeklyschedulePage.whosunpms}">
  704. <label class="Validform_label" style="display: none;">主要参与人员</label>
  705. <!-- <a href="#" class="easyui-linkbutton" plain="true" icon="icon-select" id="departSearch" onclick="openPersonSelect('sunpm');return false;">选择</a>
  706. <a href="#" class="easyui-linkbutton" plain="true" icon="icon-clean" id="departRedo" onclick="openPersonSelectClean('sunpm');return false;">清空</a> -->
  707. </td>
  708. <td class="value" width="150px">
  709. <textarea style="width:98%;height: 40px;border: none" class="inputxt" rows="3" id="wheresunpm" name="wheresunpm" ignore="ignore" >${weeklyschedulePage.wheresunpm}</textarea>
  710. <%-- <input id="wheresunpm" name="wheresunpm" value="${weeklyschedulePage.wheresunpm}" type="text" style="width: 140px;height: 40px;border: none" class="inputxt" ignore="ignore" /> --%>
  711. <label class="Validform_label" style="display: none;">地点</label>
  712. </td>
  713. <td class="value" width="150px">
  714. <textarea style="width:98%;height: 40px;border: none" class="inputxt" rows="3" id="remarksunpm" name="remarksunpm" ignore="ignore" >${weeklyschedulePage.remarksunpm}</textarea>
  715. <%-- <input id="remarksunpm" name="remarksunpm" value="${weeklyschedulePage.remarksunpm}" type="text" style="width: 140px;height: 40px;border: none" class="inputxt" ignore="ignore" /> --%>
  716. <label class="Validform_label" style="display: none;">备注</label>
  717. </td>
  718. </tr>
  719. <td align="center" colspan="2" style="background-color: yellow;">
  720. <label class="Validform_label" style="text-align: center; margin:0 auto;font-size: 14px ;" >上周未完成工作</label>
  721. </td>
  722. <td id="tdnotdone" align="center" colspan="5">
  723. <textarea style="width:98%;height: 40px;border: none" class="inputxt" rows="3" id="notdone" readonly="true" name="notdone" ignore="ignore" >${weeklyschedulePage.notdone}</textarea>
  724. </td>
  725. <tr>
  726. </tr>
  727. <tr>
  728. <td id="tdbtn" height="50px" align="center" colspan="7">
  729. <!-- <a href="#" class="easyui-linkbutton l-btn" plain="true" iconcls="icon-le-back" onclick="history.go(-1)">返回</a> -->
  730. <div style="display:none"><input type="submit" id ="btnsub" value=""/></div>
  731. <!-- <a href="#" class="easyui-linkbutton l-btn" iconcls="icon-le-ok" onclick="btn_ok()"> &nbsp;&nbsp;&nbsp;保&nbsp;&nbsp;&nbsp;&nbsp;存&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; </a> -->
  732. </td>
  733. </tr>
  734. </table>
  735. </t:formvalid>
  736. </div>
  737. </body>
  738. <style>
  739. .test{ position:fixed; bottom:0; left:0;width:100%;height:60px;background-color:white;}
  740. /* p{
  741. position:absolute;
  742. top:50%;
  743. } */
  744. select{
  745. /* position: absolute;
  746. top: 50%; */
  747. margin-top: 10px;
  748. /* margin-left: -320px; */
  749. }
  750. </style>
  751. <script src = "webpage/com/xcgl/weeklyschedule/weeklyschedule.js"></script>
  752. <script type="text/javascript">
  753. function openPersonSelect(weekday){
  754. $.dialog({content: 'url:weeklyscheduleController.do?openPersonView', zIndex: getzIndex(), title: '主要参与人员选择', lock: true, width: '650px', height: '400px',
  755. opacity: 0.4, button: [
  756. {name: '<t:mutiLang langKey="common.confirm"/>', callback: function (){
  757. //var postGeneralId=$("#id").val();
  758. //父页面接子页面传值
  759. //获得子页面getReason()方法中的值
  760. var iframe = this.iframe.contentWindow;
  761. // var userid="";
  762. if(iframe.getReason().length>0){
  763. var strData=eval(iframe.getReason());
  764. for(var key in strData[0]){
  765. if(key=="strUserId"){
  766. var idEle = document.getElementById("who"+weekday+"s");
  767. idEle.value = strData[0][key];
  768. }else if(key=="strRealName"){
  769. var nameEle = document.getElementById("who"+weekday+"names");
  770. nameEle.value = strData[0][key];
  771. }
  772. }
  773. }
  774. // if(userid.length==0){
  775. // layer.alert("请选择班次员工");
  776. // return false;
  777. // }
  778. }, focus: true},
  779. {name: '<t:mutiLang langKey="common.cancel"/>', callback: function (){}}
  780. ]}).zindex();
  781. }
  782. function goNext(){
  783. var managerflag = $("#managerflag").val();
  784. var url = "weeklyscheduleController.do?goAdd&opt=next&currentMonDate="+$("#mondate").val()+"&userid="+$("#userid").val();
  785. if(managerflag == ""){
  786. window.location.href=url;
  787. }else{
  788. url +="&managerflag=1"
  789. window.location.href=url;
  790. }
  791. }
  792. function goBefore(){
  793. var managerflag = $("#managerflag").val();
  794. var url = "weeklyscheduleController.do?goAdd&opt=before&currentMonDate="+$("#mondate").val()+"&userid="+$("#userid").val();
  795. if(managerflag == ""){
  796. window.location.href=url;
  797. }else{
  798. url +="&managerflag=1"
  799. window.location.href=url;
  800. }
  801. }
  802. function changeUser(obj) {
  803. var oldvalue = $("#userid").val();
  804. /* layer.confirm('是否保存当前数据?', {
  805. btn: ['确定','取消'], //按钮
  806. shade: false //不显示遮罩
  807. }, function(){
  808. document.formobj.submit();
  809. location.href="weeklyscheduleController.do?goAdd&opt=changeUser&managerflag=1&userid="+obj.options[obj.selectedIndex].value+"&currentMonDate="+$("#mondate").val();
  810. }, function(){
  811. location.href="weeklyscheduleController.do?goAdd&opt=changeUser&managerflag=1&userid="+obj.options[obj.selectedIndex].value+"&currentMonDate="+$("#mondate").val();
  812. }); */
  813. $.dialog.setting.zIndex = getzIndex(true);
  814. $.dialog.setting.width = '200px';
  815. $.dialog.confirm("是否保存当前数据?", function(){
  816. userchangeflag = '1';
  817. $("#btnsub").click();
  818. /* document.formobj.submit(function(data){
  819. window.location.href="weeklyscheduleController.do?goAdd&opt=changeUser&managerflag=1&userid="+obj.options[obj.selectedIndex].value+"&currentMonDate="+$("#mondate").val();
  820. }); */
  821. }, function(){
  822. window.location.href="weeklyscheduleController.do?goAdd&opt=changeUser&managerflag=1&userid="+obj.options[obj.selectedIndex].value+"&currentMonDate="+$("#mondate").val();
  823. });
  824. /* $("#userselect").find("option[value=" + oldvalue +"]").prop("selected",true); */
  825. /* var userid = obj.options[obj.selectedIndex].value; */
  826. }
  827. //清空班次员工
  828. function openPersonSelectClean(weekday) {
  829. var idEle = document.getElementById("who" + weekday + "s");
  830. idEle.value = "";
  831. var nameEle = document.getElementById("who" + weekday + "names");
  832. nameEle.value = "";
  833. }
  834. </script>