calculateField.html 5.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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"><input id="text{$.pid}viewColumnPathInput" type="text" name="path" value="text{$.path}" class="editTableInput"/></td>
  16. </tr>
  17. <tr>
  18. <td class="editTableTitle">{{$.lp.isName}}:</td>
  19. <td class="editTableValue">
  20. <input name="isName" type="radio" value="true" text{($.isName)===true?'checked':''} onclick="if(this.checked){
  21. //$('text{$.pid}cmsNamePropertyArea').setStyle('display', '');
  22. }"/>{{$.lp.yes}}
  23. <input name="isName" type="radio" value="false" text{($.isName)!==true?'checked':''} onclick="if(this.checked){
  24. //$('text{$.pid}cmsNamePropertyArea').setStyle('display', 'none');
  25. }"/>{{$.lp.no}}
  26. </td>
  27. </tr>
  28. </table>
  29. </div>
  30. </div>
  31. <div style="margin-top:10px">
  32. <div style="padding: 5px;">
  33. {{$.lp.valueScriptNote}}
  34. <br/>{ <br/>
  35. &nbsp;&nbsp;"importedData" : {}, //{{$.lp.valueScriptImportedDataNote}}<br/>
  36. &nbsp;&nbsp;"data" : {}, //{{$.lp.valueScriptDataNote}} <br/>
  37. &nbsp;&nbsp;"document" : {}, //{{$.lp.valueScriptDocumentNote}}<br/>
  38. &nbsp;&nbsp;"work" : {}, //{{$.lp.valueScriptWorkNote}}<br/>
  39. };
  40. </div>
  41. <div class="MWFFormulaArea" name="valueScript" title="{{$.lp.valueScript}}"></div>
  42. <div style="display:text{($.vtype=='cms')?'block':'none'}" id="text{$.pid}cmsFieldProperty" class="text{$.vid}cmsFieldProperty">
  43. <div style="background-color: #EEE; height:24px; line-height: 24px; text-align: center; font-weight: bold">{{$.lp.cmsProperty}}</div>
  44. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  45. <tr>
  46. <td class="editTableTitle">{{$.lp.isAuthor}}:</td>
  47. <td class="editTableValue">
  48. <input name="isAuthor" type="radio" value="true" text{($.isAuthor)==true?'checked':''}/>{{$.lp.yes}}
  49. <input name="isAuthor" type="radio" value="false" text{($.isAuthor)!==true?'checked':''}/>{{$.lp.no}}
  50. </td>
  51. </tr>
  52. <tr>
  53. <td class="editTableTitle">{{$.lp.isReader}}:</td>
  54. <td class="editTableValue">
  55. <input name="isReader" type="radio" value="true" text{($.isReader)==true?'checked':''}/>{{$.lp.yes}}
  56. <input name="isReader" type="radio" value="false" text{($.isReader)!==true?'checked':''}/>{{$.lp.no}}
  57. </td>
  58. </tr>
  59. </table>
  60. </div>
  61. <!-- <div style="display:text{($.vtype=='process')?'block':'none'}" id="text{$.pid}processFieldProperty" class="text{$.vid}processFieldProperty">-->
  62. <!-- <div style="background-color: #EEE; height:24px; line-height: 24px; text-align: center; font-weight: bold">{{$.lp.workProperty}}</div>-->
  63. <!-- <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">-->
  64. <!-- <tr>-->
  65. <!-- <td class="editTableTitleNoWidth" style="width: 120px;">{{$.lp.isTitle}}:</td>-->
  66. <!-- <td class="editTableValue">-->
  67. <!-- <input name="isProcessTitle" type="radio" value="true" text{($.isProcessTitle)==true?'checked':''}/>{{$.lp.yes}}-->
  68. <!-- <input name="isProcessTitle" type="radio" value="false" text{($.isProcessTitle)!==true?'checked':''}/>{{$.lp.no}}-->
  69. <!-- </td>-->
  70. <!-- </tr>-->
  71. <!-- <tr style="display:text{(($.vProcessDrafter)==='importer')?'none':''}" class="text{$.vid}isProcessDrafterArea">-->
  72. <!-- <td class="editTableTitle">{{$.lp.isProcessDrafter}}:</td>-->
  73. <!-- <td class="editTableValue">-->
  74. <!-- <input name="isProcessDrafter" type="radio" value="true" text{($.isProcessDrafter)==true?'checked':''}/>{{$.lp.yes}}-->
  75. <!-- <input name="isProcessDrafter" type="radio" value="false" text{($.isProcessDrafter)!==true?'checked':''}/>{{$.lp.no}}-->
  76. <!-- </td>-->
  77. <!-- </tr>-->
  78. <!-- </table>-->
  79. <!-- </div>-->
  80. </div>
  81. </div>
  82. <!-- <div title="事件" class="MWFTab">-->
  83. <!-- <div class="MWFEventsArea" name="events"></div>-->
  84. <!-- </div>-->
  85. <div title="JSON" class="MWFTab">
  86. <div class="MWFJSONArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
  87. </div>
  88. </div>