cd_inp.ss.jsp 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. <div class="content-div" ssFith="true">
  2. <table class="form">
  3. <tr>
  4. <th rowspan="4">缩略图</th>
  5. <td rowspan="4">
  6. <input name="sltwj" placeholder="default-card.png" class="photo" />
  7. </td>
  8. <th width="118px">建筑物</th>
  9. <td>
  10. <%-- 改,<in@put jzw_lc 是干啥用的???。Lin
  11. <in@put type="hidden" name="jzw_lc" value="${empty jzwid?lcid:jzwid}" />
  12. <in@put name="jzwid" width="168px" class="input-text input-number" wdCascadingSelect="name:'jzw_lc_total'"/> --%>
  13. <input name="jzwid" width="168px" ssCcp="jzw_lc"/>
  14. </td>
  15. </tr>
  16. <tr>
  17. <th width="118px">楼层</th>
  18. <td><input name="lcid" width="168px"/></td>
  19. </tr>
  20. <tr>
  21. <th width="118px">场地类别</th>
  22. <td><input name="cdlbm" cb="cdlbNoKf" inp="true" width="168px"/></td>
  23. </tr>
  24. <tr>
  25. <th>平面图</th>
  26. <td>
  27. <input name="pmtid" width="168px" class="input-text input-number" />
  28. <equal.ss val="${empty cd.pmtid}" val2="false">
  29. <input type="hidden" name="pmt${cd.pmtid}id" value="${cd.pmtid}"/>
  30. <%-- 改,用普通的 <equal@ss > 只有一个值。Lin
  31. <wd:contains valueList="change" value="${dataType}"> --%>
  32. <equal.ss val="${dataType}" val2="change">
  33. <input type="button" class="content-button" name="pmt${cd.pmtid}Edit" value="编辑" />
  34. </equal.ss>
  35. <input type="hidden" name="pmt${cd.pmtid}codebook" value="name:'cd_chuang',filter:{cdid:'${cd.cdid}'},desc:'床位'" />
  36. <form.ss name="pmt"/>
  37. </equal.ss>
  38. </td>
  39. </tr>
  40. <tr>
  41. <th>场地号</th>
  42. <td><input name="cdh" width="168px"/></td>
  43. <th>名称</th>
  44. <td><input name="mc" width="168px"/></td>
  45. </tr>
  46. <tr>
  47. <th>负责部门</th>
  48. <td><input name="fzbmid" width="168px" inp="true"/></td>
  49. <th>负责人员</th>
  50. <td><input name="fzryid" width="168px" ssCcp='{name:"bm_ry",prfx:"fz"}'/></td>
  51. </tr>
  52. <tr>
  53. <th>容纳人数</th>
  54. <td><input name="rnrs" width="168px"/></td>
  55. <th>是否有PPT</th>
  56. <td>
  57. <%-- 改,直接写 <in@put。数据库默认值已经改为 1 了。Lin
  58. <in@put name="sfyppt" value="否" wdRadio="value:'0',nullable:'false',checked:true"/>
  59. <in@put name="sfyppt" value="是" wdRadio="value:'1'"/>
  60. --%> <input name="sfyppt"/>
  61. </td>
  62. </tr>
  63. <tr>
  64. <th>最大容纳人数</th>
  65. <td><input name="zdrnrs" width="168px"/></td>
  66. <th>课室形状</th>
  67. <td><input name="ksxzm" width="168px"/></td>
  68. </tr>
  69. <tr>
  70. <th>室内面积</th>
  71. <td><input name="snmj" width="168px"/></td>
  72. <th>建筑面积</th>
  73. <td><input name="jzmj" width="168px"/></td>
  74. </tr>
  75. <tr>
  76. <th>描述</th>
  77. <td colspan="3">
  78. <input name="ms" ssBtn="{desc:'附件',name:'fjid',val:'${cd.fjid}'}" height="90px" width="calc(100% + 12px)"/>
  79. </td>
  80. </tr>
  81. </table>
  82. </div>
  83. <script>
  84. //加载样式
  85. function loadStyle() {
  86. $(".photo").css({
  87. "max-width": "110px",
  88. "height": "auto",
  89. "width": "auto",
  90. "position": "absolute",
  91. "top": "12px"
  92. });
  93. }
  94. window.onload = function() {
  95. loadStyle();
  96. }
  97. </script>