datatemplate.html 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232
  1. <div style="background-color: #FFF; overflow: hidden">
  2. <div title="{{$.lp.base}}" class="MWFTab">
  3. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  4. <tr>
  5. <td class="editTableTitleWithoutWith" width="80px">{{$.lp.id}}:</td>
  6. <td class="editTableValue"><input type="text" name="id" value="text{$.id}" class="editTableInput"/></td>
  7. </tr>
  8. <tr>
  9. <td class="editTableTitle">{{$.lp.name}}:</td>
  10. <td class="editTableValue"><input type="text" name="name" value="text{$.name}" class="editTableInput"/></td>
  11. </tr>
  12. <tr>
  13. <td class="editTableTitle">{{$.lp.description}}:</td>
  14. <td class="editTableValue"><input type="text" name="description" value="text{$.description}" class="editTableInput"/></td>
  15. </tr>
  16. </table>
  17. <div style="height:24px; text-align: center; line-height: 24px; background-color: #EEE; border-top: 1px solid #999;position: relative;">
  18. {{$.lp.outerSideModuleId}}
  19. <div class="MWFHelp" style="position: absolute;height: 16px;width: 16px;top:4px;right:4px;background: url('../x_component_process_FormDesigner/$Main/default/formtoolbar/question.png')">
  20. {{$.lp.datatemplateOuterNote}}
  21. </div>
  22. </div>
  23. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  24. <tr>
  25. <td class="editTableTitleWithoutWith" width="80px">{{$.lp.addButtonId}}:</td>
  26. <td class="editTableValue">
  27. <input type="text" name="outerAddActionId" value="text{$.outerAddActionId}" class="editTableInput"/>
  28. </td>
  29. </tr>
  30. <tr>
  31. <td class="editTableTitle">{{$.lp.deleteSelectedButtonId}}:</td>
  32. <td class="editTableValue">
  33. <input type="text" name="outerDeleteActionId" value="text{$.outerDeleteActionId}" class="editTableInput"/>
  34. </td>
  35. </tr>
  36. <tr>
  37. <td class="editTableTitle">{{$.lp.selectAllModuleId}}:</td>
  38. <td class="editTableValue">
  39. {{$.lp.useChecboxNote}}
  40. <input type="text" name="outerSelectAllId" value="text{$.outerSelectAllId}" class="editTableInput"/>
  41. </td>
  42. </tr>
  43. <tr>
  44. <td class="editTableTitle">{{$.lp.selectedValue}}:</td>
  45. <td class="editTableValue">
  46. {{$.lp.checkboxValueAllNote}}
  47. <input type="text" name="outerSelectAllSelectedValue" value="text{$.outerSelectAllSelectedValue}" class="editTableInput"/>
  48. </td>
  49. </tr>
  50. </table>
  51. <div style="height:24px; text-align: center; line-height: 24px; background-color: #EEE; border-top: 1px solid #999;position: relative;">
  52. {{$.lp.innerSideModuleId}}
  53. <div class="MWFHelp" style="position: absolute;height: 16px;width: 16px;top:4px;right:4px;background: url('../x_component_process_FormDesigner/$Main/default/formtoolbar/question.png')">
  54. {{$.lp.datatemplateInnerNote}}
  55. </div>
  56. </div>
  57. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  58. <tr>
  59. <td class="editTableTitleWithoutWith" width="80px">{{$.lp.addButtonId}}:</td>
  60. <td class="editTableValue">
  61. <input type="text" name="addActionId" value="text{$.addActionId}" class="editTableInput"/>
  62. </td>
  63. </tr>
  64. <tr>
  65. <td class="editTableTitle">{{$.lp.deleteButtonId}}:</td>
  66. <td class="editTableValue">
  67. <input type="text" name="deleteActionId" value="text{$.deleteActionId}" class="editTableInput"/>
  68. </td>
  69. </tr>
  70. <tr>
  71. <td class="editTableTitle">{{$.lp.sequenctModuleId}}:</td>
  72. <td class="editTableValue">
  73. {{$.lp.useTextFieldNote}}
  74. <input type="text" name="sequenceId" value="text{$.sequenceId}" class="editTableInput"/>
  75. </td>
  76. </tr>
  77. <tr>
  78. <td class="editTableTitle">{{$.lp.selectModuleId}}:</td>
  79. <td class="editTableValue">
  80. {{$.lp.useChecboxNote}}
  81. <input type="text" name="selectorId" value="text{$.selectorId}" class="editTableInput"/>
  82. </td>
  83. </tr>
  84. <tr>
  85. <td class="editTableTitle">{{$.lp.selectedValue}}:</td>
  86. <td class="editTableValue">
  87. {{$.lp.checkboxValueNote}}
  88. <input type="text" name="selectorSelectedValue" value="text{$.selectorSelectedValue}" class="editTableInput"/>
  89. </td>
  90. </tr>
  91. </table>
  92. <div style="height:24px; text-align: center; line-height: 24px; background-color: #EEE; border-top: 1px solid #999;">{{$.lp.count}}</div>
  93. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  94. <tr>
  95. <td class="editTableTitleWithoutWith" width="80px">{{$.lp.defaultShow}}:</td>
  96. <td class="editTableValue">
  97. <input type="text" name="defaultCount" value="text{$.defaultCount}" class="editTableInputNoWidth" style="width: 100px;"/>{{$.lp.item}}
  98. </td>
  99. </tr>
  100. <tr>
  101. <td class="editTableTitle">{{$.lp.maxItemCount}}:</td>
  102. <td class="editTableValue">
  103. <input type="text" name="maxCount" value="text{$.maxCount}" class="editTableInputNoWidth" style="width: 100px;"/>{{$.lp.item}}
  104. </td>
  105. </tr>
  106. <tr>
  107. <td class="editTableTitle">{{$.lp.minItemCount}}:</td>
  108. <td class="editTableValue">
  109. <input type="text" name="minCount" value="text{$.minCount}" class="editTableInputNoWidth" style="width: 100px;"/>{{$.lp.item}}
  110. </td>
  111. </tr>
  112. </table>
  113. <div class="MWFScriptArea" name="editableScript" title="{{$.lp.canEdit}}(S)"></div>
  114. <div class="MWFMaplist" name="styles" collapse="true" title="{{$.lp.style}}"></div>
  115. <div class="MWFMaplist" name="properties" collapse="true" title="{{$.lp.attribute}}"></div>
  116. <div class="MWFScriptArea" name="defaultData" title="{{$.lp.defaultData}}(S)"></div>
  117. <div class="MWFValidation" name="validationConfig"></div>
  118. <div class="MWFScriptArea" name="validation" title="{{$.lp.verificationScript}} (S)"></div>
  119. </div>
  120. <div title="{{$.lp.import}}" class="MWFTab">
  121. <!-- <div style="height:24px; text-align: center; line-height: 24px; background-color: #EEE; border-top: 1px solid #999;">导出导入</div>-->
  122. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  123. <tr>
  124. <td class="editTableTitle">{{$.lp.enabled}}:</td>
  125. <td class="editTableValue">
  126. <input type="radio" name="impexpType" value="none" text{(!$.impexpType || $.impexpType==='none')?'checked':''}
  127. onclick="if (this.checked){ $('text{$.pid}impexpArea').setStyle('display', 'none')}" />{{$.lp.disabled}}
  128. <input type="radio" name="impexpType" value="impexp" text{($.impexpType==='impexp')?'checked':''}
  129. onclick="if (this.checked){ $('text{$.pid}impexpArea').setStyle('display', 'block')}" />{{$.lp.exportImport}}
  130. <input type="radio" name="impexpType" value="exp" text{($.impexpType==='exp')?'checked':''}
  131. onclick="if (this.checked){ $('text{$.pid}impexpArea').setStyle('display', 'block')}" />{{$.lp.onlyExport}}
  132. <input type="radio" name="impexpType" value="imp" text{($.impexpType==='imp')?'checked':''}
  133. onclick="if (this.checked){ $('text{$.pid}impexpArea').setStyle('display', 'block')}" />{{$.lp.onlyImport}}
  134. </td>
  135. </tr>
  136. </table>
  137. <div id="text{$.pid}impexpArea" style="display: text{($.impexpType && $.impexpType!=='none')?'block':'none'};">
  138. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  139. <tr>
  140. <td class="editTableTitleWithoutWith" width="80px"></td>
  141. <td class="editTableValue">
  142. {{$.lp.dtImportInfor}}
  143. </td>
  144. </tr>
  145. <tr>
  146. <td class="editTableTitle">{{$.lp.importButtonId}}:</td>
  147. <td class="editTableValue">
  148. <input type="text" name="importActionId" value="text{$.importActionId}" class="editTableInput"/>
  149. </td>
  150. </tr>
  151. <tr>
  152. <td class="editTableTitle">{{$.lp.exportButtonId}}:</td>
  153. <td class="editTableValue">
  154. <input type="text" name="exportActionId" value="text{$.exportActionId}" class="editTableInput"/>
  155. </td>
  156. </tr>
  157. </table>
  158. <div class="MWFFormulaArea" name="excelName" title="{{$.lp.exportFileName}}"></div>
  159. <div class="MWFFieldConfigArea" name="excelFieldConfig" data-title="{{$.lp.importExporConfig}}"></div>
  160. <div style="height:24px; text-align: center; line-height: 24px; background-color: #EEE; border-top: 1px solid #999;">{{$.lp.validationPopFormConfig}}</div>
  161. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  162. <tr>
  163. <td class="editTableTitleWithoutWith" width="80px">{{$.lp.validationPopFormWidth}}:</td>
  164. <td class="editTableValue">
  165. <input type="text" name="impExpDlgWidth" value="text{$.impExpDlgWidth}" class="editTableInputNoWidth" style="width: 100px;"/>px
  166. </td>
  167. </tr>
  168. <tr>
  169. <td class="editTableTitle">{{$.lp.validationPopFormHeight}}:</td>
  170. <td class="editTableValue">
  171. <input type="text" name="impExpDlgHeight" value="text{$.impExpDlgHeight}" class="editTableInputNoWidth" style="width: 100px;"/>px
  172. </td>
  173. </tr>
  174. </table>
  175. <div class="MWFMaplist" name="impExpTableStyles" collapse="true" title="{{$.lp.validationTableStyle}}"></div>
  176. <div class="MWFMaplist" name="impExpTableTitleStyles" collapse="true" title="{{$.lp.validationTitleTdStyle}}"></div>
  177. <div class="MWFMaplist" name="impExpTableContentStyles" collapse="true" title="{{$.lp.validationContentTdStyle}}"></div>
  178. <div class="MWFMaplist" name="impExpTableProperties" collapse="true" title="{{$.lp.validationTableAttribute}}"></div>
  179. </div>
  180. </div>
  181. <div title="{{$.lp.section}}" class="MWFTab">
  182. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  183. <tr>
  184. <td class="editTableTitle">{{$.lp.enableSection}}:</td>
  185. <td class="editTableValue">
  186. <input onclick="if (this.checked){
  187. $('text{$.pid}sectionByEditArea').setStyle('display', 'block');
  188. $('text{$.pid}sectionMergeArea').setStyle('display', 'none');
  189. $('text{$.pid}sectionDisplayerArea').setStyle('display', 'block')
  190. }" type="radio" name="section" value="yes" text{($.section=='yes')?'checked':''}/>{{$.lp.yes}}
  191. <input onclick="if (this.checked){
  192. $('text{$.pid}sectionByEditArea').setStyle('display', 'none');
  193. $('text{$.pid}sectionMergeArea').setStyle('display', 'block');
  194. $('text{$.pid}sectionDisplayerArea').setStyle('display', 'none')
  195. }" type="radio" name="section" value="no" text{($.section!='yes')?'checked':''}/>{{$.lp.no}}
  196. </td>
  197. </tr>
  198. </table>
  199. <div id="text{$.pid}sectionByEditArea" style="display: text{($.section=='yes')?'block':'none'};">
  200. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  201. <tr>
  202. <td class="editTableTitle">{{$.lp.sectionBy}}:</td>
  203. <td class="editTableValue">
  204. <input class="editTableRadio" onclick="if (this.checked){ $('text{$.pid}sectionByScriptEditArea').setStyle('display', 'none');}" name="sectionBy" text{(($.sectionBy=='person') || ($.sectionBy!='unit' && $.sectionBy!='activity' && $.sectionBy!='script'))?'checked':''} type="radio" value="person"/>{{$.lp.handler}}<br/>
  205. <input class="editTableRadio" onclick="if (this.checked){ $('text{$.pid}sectionByScriptEditArea').setStyle('display', 'none');}" name="sectionBy" text{($.sectionBy=='unit')?'checked':''} type="radio" value="unit"/>{{$.lp.handlerUnit}}<br/>
  206. <input class="editTableRadio" onclick="if (this.checked){ $('text{$.pid}sectionByScriptEditArea').setStyle('display', 'none');}" name="sectionBy" text{($.sectionBy=='activity')?'checked':''} type="radio" value="activity"/>{{$.lp.activityId}}<br/>
  207. <input class="editTableRadio" onclick="if (this.checked){ $('text{$.pid}sectionByScriptEditArea').setStyle('display', 'none');}" name="sectionBy" text{($.sectionBy=='splitValue')?'checked':''} type="radio" value="splitValue"/>{{$.lp.splitValue}}<br/>
  208. <input class="editTableRadio" onclick="if (this.checked){ $('text{$.pid}sectionByScriptEditArea').setStyle('display', 'block');}" name="sectionBy" text{($.sectionBy=='script')?'checked':''} type="radio" value="script"/>{{$.lp.script}}<br/>
  209. </td>
  210. </tr>
  211. </table>
  212. <div id="text{$.pid}sectionByScriptEditArea" style="display: text{($.sectionBy=='script')?'block':'none'};">
  213. <div class="MWFScriptArea" name="sectionByScript" title="{{$.lp.sectionBy}} (S)"></div>
  214. </div>
  215. </div>
  216. <div id="text{$.pid}sectionDisplayerArea" class="MWFSectionDisplayerArea" style="display: text{($.section=='yes')?'':'none'};"></div>
  217. <div id="text{$.pid}sectionMergeArea" class="MWFSectionMergeArea" style="display: text{($.section=='yes')?'none':''};"></div>
  218. </div>
  219. <div title="{{$.lp.event}}" class="MWFTab">
  220. <div class="MWFEventsArea" name="events"></div>
  221. </div>
  222. <div title="HTML" class="MWFTab">
  223. <div class="MWFHTMLArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
  224. </div>
  225. <div title="JSON" class="MWFTab">
  226. <div class="MWFJSONArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
  227. </div>
  228. </div>