calculateField.html 5.1 KB

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