column.html 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  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="editTableTitle">{{$.lp.fieldTitle}}:</td>
  6. <td class="editTableValue"><input type="text" name="displayName" value="text{$.displayName}" class="editTableInput"/></td>
  7. </tr>
  8. </table>
  9. <div style="border-top: 1px solid #999; margin-top:10px">
  10. <div style="background-color: #EEE; height:24px; line-height: 24px; text-align: center; font-weight: bold">{{$.lp.data}}</div>
  11. <div class="MWFDataData" id="text{$.pid}dataDataEditor">
  12. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  13. <tr>
  14. <td class="editTableTitle">{{$.lp.fieldPath}}:</td>
  15. <td class="editTableValue">
  16. <input id="text{$.pid}viewColumnPathInput" type="text" name="path" value="text{$.path}" class="editTableInput"/>
  17. <div class="text{$.vid}dynamicTableIdPathNote" style="display:text{($.vtype==='dynamicTable')?'block':'none'};color:#999;">{{$.lp.idPathNote}}</div>
  18. </td>
  19. </tr>
  20. <tr>
  21. <td class="editTableTitle">{{$.lp.isName}}:</td>
  22. <td class="editTableValue">
  23. <input name="isName" type="radio" value="true" text{($.isName)===true?'checked':''} onclick="if(this.checked){
  24. $('text{$.pid}cmsNamePropertyArea').setStyle('display', '');
  25. // $('text{$.pid}processNamePropertyArea').setStyle('display', '');
  26. }"/>{{$.lp.yes}}
  27. <input name="isName" type="radio" value="false" text{($.isName)!==true?'checked':''} onclick="if(this.checked){
  28. $('text{$.pid}cmsNamePropertyArea').setStyle('display', 'none');
  29. // $('text{$.pid}processNamePropertyArea').setStyle('display', 'none');
  30. }"/>{{$.lp.no}}
  31. </td>
  32. </tr>
  33. </table>
  34. </div>
  35. </div>
  36. <div style="margin-top:10px">
  37. <div style="display:text{($.vtype!=='dynamicTable')?'block':'none'}" id="text{$.pid}dataTypeSelectedCMSProcessArea" class="text{$.vid}dataTypeSelectedCMSProcessArea">
  38. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  39. <tr>
  40. <td class="editTableTitle">{{$.lp.fieldType}}:</td>
  41. <td class="editTableValue">
  42. <select id="text{$.pid}dataTypeSelectedCMSProcess" name="dataType_CMSProcess"
  43. onchange="$('text{$.pid}lineBreak_CMSProcess_Tr').setStyle('display',this.options[this.selectedIndex].value==='string'?'':'none');">
  44. <option value="string" text{($.dataType_CMSProcess=='string')?'selected':''}>string</option>
  45. <option value="date" text{($.dataType_CMSProcess=='date')?'selected':''}>date</option>
  46. <option value="dateTime" text{($.dataType_CMSProcess=='dateTime')?'selected':''}>dateTime</option>
  47. <option value="number" text{($.dataType_CMSProcess=='number')?'selected':''}>number</option>
  48. <option value="boolean" text{($.dataType_CMSProcess=='boolean')?'selected':''}>boolean</option>
  49. <option value="stringList" text{($.dataType_CMSProcess=='stringList')?'selected':''}>stringList</option>
  50. <option value="dateList" text{($.dataType_CMSProcess=='dateList')?'selected':''}>dateList</option>
  51. <option value="dateTimeList" text{($.dataType_CMSProcess=='dateTimeList')?'selected':''}>dateTimeList</option>
  52. <option value="numberList" text{($.dataType_CMSProcess=='numberList')?'selected':''}>numberList</option>
  53. <option value="booleanList" text{($.dataType_CMSProcess=='booleanList')?'selected':''}>booleanList</option>
  54. <option value="json" text{($.dataType_CMSProcess=='json')?'selected':''}>json</option>
  55. </select></td>
  56. </tr>
  57. <tr id="text{$.pid}lineBreak_CMSProcess_Tr" style="display:text{($.dataType_CMSProcess==='string')?'':'none'}">
  58. <td class="editTableTitle">{{$.lp.lineBreak}}:</td>
  59. <td class="editTableValue">
  60. <input type="text" style="width: 150px;" name="lineBreak_CMSProcess" value="text{$.lineBreak_CMSProcess}" class="editTableInputNoWidth"/>
  61. </td>
  62. </tr>
  63. </table>
  64. </div>
  65. <div style="display:text{($.vtype=='dynamicTable')?'block':'none'}" id="text{$.pid}dataTypeSelectedQuerytableArea" class="text{$.vid}dataTypeSelectedQuerytableArea">
  66. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  67. <tr>
  68. <td class="editTableTitle">{{$.lp.fieldType}}:</td>
  69. <td class="editTableValue">
  70. <select id="text{$.pid}dataTypeSelectedQuerytable" name="dataType_Querytable"
  71. onchange="$('text{$.pid}lineBreak_Querytable_Tr').setStyle('display',this.options[this.selectedIndex].value==='string'?'':'none');">
  72. <option value="string" text{($.dataType_Querytable=='string')?'selected':''}>string</option>
  73. <option value="integer" text{($.dataType_Querytable=='integer')?'selected':''}>integer</option>
  74. <option value="long" text{($.dataType_Querytable=='long')?'selected':''}>long</option>
  75. <option value="double" text{($.dataType_Querytable=='double')?'selected':''}>double</option>
  76. <option value="boolean" text{($.dataType_Querytable=='boolean')?'selected':''}>boolean</option>
  77. <option value="date" text{($.dataType_Querytable=='date')?'selected':''}>date</option>
  78. <option value="time" text{($.dataType_Querytable=='time')?'selected':''}>time</option>
  79. <option value="dateTime" text{($.dataType_Querytable=='dateTime')?'selected':''}>dateTime</option>
  80. <option value="stringList" text{($.dataType_Querytable=='stringList')?'selected':''}>stringList</option>
  81. <option value="integerList" text{($.dataType_Querytable=='integerList')?'selected':''}>integerList</option>
  82. <option value="longList" text{($.dataType_Querytable=='longList')?'selected':''}>longList</option>
  83. <option value="doubleList" text{($.dataType_Querytable=='doubleList')?'selected':''}>doubleList</option>
  84. <option value="booleanList" text{($.dataType_Querytable=='booleanList')?'selected':''}>booleanList</option>
  85. <option value="stringLob" text{($.dataType_Querytable=='stringLob')?'selected':''}>stringLob</option>
  86. <option value="stringMap" text{($.dataType_Querytable=='stringMap')?'selected':''}>stringMap</option>
  87. </select></td>
  88. </tr>
  89. <tr id="text{$.pid}lineBreak_Querytable_Tr" style="display:text{($.dataType_Querytable==='string')?'':'none'}">
  90. <td class="editTableTitle">{{$.lp.lineBreak}}:</td>
  91. <td class="editTableValue">
  92. <input type="text" style="width: 150px;" name="lineBreak_Querytable" value="text{$.lineBreak_Querytable}" class="editTableInputNoWidth"/>
  93. </td>
  94. </tr>
  95. </table>
  96. <div class="MWFFormulaArea" name="defaultValueScript" title="{{$.lp.defaultValueScript}}"></div>
  97. </div>
  98. <div style="background-color: #EEE; height:24px; line-height: 24px; text-align: center; font-weight: bold">{{$.lp.validation}}</div>
  99. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  100. <tr>
  101. <td class="editTableTitle">{{$.lp.allowEmpty}}:</td>
  102. <td class="editTableValue">
  103. <input name="allowEmpty" type="radio" value="true" text{($.allowEmpty)!==false?'checked':''}/>{{$.lp.yes}}
  104. <input name="allowEmpty" type="radio" value="false" text{($.allowEmpty)===false?'checked':''}/>{{$.lp.no}}
  105. </td>
  106. </tr>
  107. <tr>
  108. <td class="editTableTitle">{{$.lp.validFieldType}}:</td>
  109. <td class="editTableValue">
  110. <input name="validFieldType" type="radio" value="true" text{($.validFieldType)!==false?'checked':''}/>{{$.lp.yes}}
  111. <input name="validFieldType" type="radio" value="false" text{($.validFieldType)===false?'checked':''}/>{{$.lp.no}}
  112. </td>
  113. </tr>
  114. <tr>
  115. <td class="editTableTitle">{{$.lp.checkInOption}}:</td>
  116. <td class="editTableValue">
  117. <input name="validInOption" type="radio" value="true" text{($.validInOption)===true?'checked':''}/>{{$.lp.yes}}
  118. <input name="validInOption" type="radio" value="false" text{($.validInOption)!==true?'checked':''}/>{{$.lp.no}}
  119. </td>
  120. </tr>
  121. </table>
  122. <div style="display:text{($.vtype=='cms')?'block':'none'}" id="text{$.pid}cmsFieldProperty" class="text{$.vid}cmsFieldProperty">
  123. <div style="background-color: #EEE; height:24px; line-height: 24px; text-align: center; font-weight: bold">{{$.lp.cmsProperty}}</div>
  124. <div style="display:text{(($.isName)==true)?'block':'none'}" id="text{$.pid}cmsNamePropertyArea">
  125. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  126. <tr>
  127. <td class="editTableTitle">{{$.lp.isAuthor}}:</td>
  128. <td class="editTableValue">
  129. <input name="isAuthor" type="radio" value="true" text{($.isAuthor)==true?'checked':''}/>{{$.lp.yes}}
  130. <input name="isAuthor" type="radio" value="false" text{($.isAuthor)!==true?'checked':''}/>{{$.lp.no}}
  131. </td>
  132. </tr>
  133. <tr>
  134. <td class="editTableTitle">{{$.lp.isReader}}:</td>
  135. <td class="editTableValue">
  136. <input name="isReader" type="radio" value="true" text{($.isReader)==true?'checked':''}/>{{$.lp.yes}}
  137. <input name="isReader" type="radio" value="false" text{($.isReader)!==true?'checked':''}/>{{$.lp.no}}
  138. </td>
  139. </tr>
  140. </table>
  141. </div>
  142. </div>
  143. <div style="background-color: #EEE; height:24px; line-height: 24px; text-align: center; font-weight: bold">{{$.lp.excelSelectedOption}}</div>
  144. <div class="MWFFormulaArea" name="optionScript" title="{{$.lp.selectedOptionScript}}"></div>
  145. <!-- <div style="display:text{($.vtype=='process')?'block':'none'}" id="text{$.pid}processFieldProperty" class="text{$.vid}processFieldProperty">-->
  146. <!-- <div style="background-color: #EEE; height:24px; line-height: 24px; text-align: center; font-weight: bold">{{$.lp.workProperty}}</div>-->
  147. <!-- <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">-->
  148. <!-- <tr>-->
  149. <!-- <td class="editTableTitleNoWidth" style="width: 120px;">{{$.lp.isTitle}}:</td>-->
  150. <!-- <td class="editTableValue">-->
  151. <!-- <input name="isProcessTitle" type="radio" value="true" text{($.isProcessTitle)==true?'checked':''}/>{{$.lp.yes}}-->
  152. <!-- <input name="isProcessTitle" type="radio" value="false" text{($.isProcessTitle)!==true?'checked':''}/>{{$.lp.no}}-->
  153. <!-- </td>-->
  154. <!-- </tr>-->
  155. <!-- </table>-->
  156. <!-- <div style="display:text{(($.isName)==true)?'block':'none'}" id="text{$.pid}processNamePropertyArea">-->
  157. <!-- <div style="display:text{(($.vProcessDrafter)==='importer')?'none':''}" class="text{$.vid}isProcessDrafterArea">-->
  158. <!-- <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">-->
  159. <!-- <tr>-->
  160. <!-- <td class="editTableTitleNoWidth" style="width: 120px;">{{$.lp.isProcessDrafter}}:</td>-->
  161. <!-- <td class="editTableValue">-->
  162. <!-- <input name="isProcessDrafter" type="radio" value="true" text{($.isProcessDrafter)==true?'checked':''}/>{{$.lp.yes}}-->
  163. <!-- <input name="isProcessDrafter" type="radio" value="false" text{($.isProcessDrafter)!==true?'checked':''}/>{{$.lp.no}}-->
  164. <!-- </td>-->
  165. <!-- </tr>-->
  166. <!-- </table>-->
  167. <!-- </div>-->
  168. <!-- </div>-->
  169. <!-- </div>-->
  170. </div>
  171. </div>
  172. <!-- <div title="事件" class="MWFTab">-->
  173. <!-- <div class="MWFEventsArea" name="events"></div>-->
  174. <!-- </div>-->
  175. <div title="JSON" class="MWFTab">
  176. <div class="MWFJSONArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
  177. </div>
  178. </div>