sys_eq_list.clmt 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. <templet>
  2. <version>1.0</version>
  3. <procedure _name="target">
  4. <parameters>
  5. <ref_parameter>
  6. <name>scopeFilter</name>
  7. <ref>resource/params.scopeFilter</ref>
  8. </ref_parameter>
  9. </parameters>
  10. <elements>
  11. <variable>
  12. <name>result</name>
  13. <assignment>clmt('dict/sys_eq', {scopeFilter: scopeFilter}, 'rtn')</assignment>
  14. </variable>
  15. <logic_grid>
  16. <name>grid</name>
  17. <description>处理设备列表</description>
  18. <l_grid name="grid">
  19. <rowCount>1</rowCount>
  20. <colCount>10</colCount>
  21. <rows>
  22. <l_row>
  23. <index>0</index>
  24. </l_row>
  25. </rows>
  26. <columns>
  27. <l_col>
  28. <index>0</index>
  29. </l_col>
  30. <l_col>
  31. <index>1</index>
  32. </l_col>
  33. <l_col>
  34. <index>2</index>
  35. </l_col>
  36. <l_col>
  37. <index>3</index>
  38. </l_col>
  39. <l_col>
  40. <index>4</index>
  41. </l_col>
  42. <l_col>
  43. <index>5</index>
  44. </l_col>
  45. <l_col>
  46. <index>6</index>
  47. </l_col>
  48. <l_col>
  49. <index>7</index>
  50. </l_col>
  51. <l_col>
  52. <index>8</index>
  53. </l_col>
  54. <l_col>
  55. <index>9</index>
  56. </l_col>
  57. </columns>
  58. <cells>
  59. <bogda_item>
  60. <l_cell>
  61. <l_replication _name="replication">
  62. <dataBind>=result</dataBind>
  63. <dimension>1</dimension>
  64. </l_replication>
  65. <rowIndex>0</rowIndex>
  66. <colIndex>0</colIndex>
  67. </l_cell>
  68. <l_cell>
  69. <l_replication _name="replication">
  70. <dataBind>=if(a1 != null, a1.children, [])</dataBind>
  71. <dimension>1</dimension>
  72. </l_replication>
  73. <rowIndex>0</rowIndex>
  74. <colIndex>1</colIndex>
  75. </l_cell>
  76. <l_cell>
  77. <l_replication _name="replication">
  78. <dataBind>=if(b1 != null, b1.children, [])</dataBind>
  79. <dimension>1</dimension>
  80. </l_replication>
  81. <rowIndex>0</rowIndex>
  82. <colIndex>2</colIndex>
  83. </l_cell>
  84. <l_cell>
  85. <rowIndex>0</rowIndex>
  86. <colIndex>3</colIndex>
  87. <props>
  88. <data>=get(a1, 'code')</data>
  89. <data_id>major</data_id>
  90. </props>
  91. </l_cell>
  92. <l_cell>
  93. <rowIndex>0</rowIndex>
  94. <colIndex>4</colIndex>
  95. <props>
  96. <data>=get(a1, 'name')</data>
  97. <data_id>majorName</data_id>
  98. </props>
  99. </l_cell>
  100. <l_cell>
  101. <rowIndex>0</rowIndex>
  102. <colIndex>5</colIndex>
  103. <props>
  104. <data>=get(b1, 'code')</data>
  105. <data_id>sys</data_id>
  106. </props>
  107. </l_cell>
  108. <l_cell>
  109. <rowIndex>0</rowIndex>
  110. <colIndex>6</colIndex>
  111. <props>
  112. <data>=get(b1, 'name')</data>
  113. <data_id>sysName</data_id>
  114. </props>
  115. </l_cell>
  116. <l_cell>
  117. <rowIndex>0</rowIndex>
  118. <colIndex>7</colIndex>
  119. <props>
  120. <data>=get(c1, 'code')</data>
  121. <data_id>code</data_id>
  122. </props>
  123. </l_cell>
  124. <l_cell>
  125. <rowIndex>0</rowIndex>
  126. <colIndex>8</colIndex>
  127. <props>
  128. <data>=get(c1, 'name')</data>
  129. <data_id>name</data_id>
  130. </props>
  131. </l_cell>
  132. <l_cell>
  133. <rowIndex>0</rowIndex>
  134. <colIndex>9</colIndex>
  135. </l_cell>
  136. </bogda_item>
  137. </cells>
  138. </l_grid>
  139. <output>
  140. <grid_out>
  141. <name>rtn</name>
  142. <content>region(D1,I1)</content>
  143. </grid_out>
  144. </output>
  145. </logic_grid>
  146. </elements>
  147. <output>
  148. <variable>
  149. <name>rtn</name>
  150. <description>设备列表</description>
  151. <assignment>if(grid != null, grid.rtn, null)</assignment>
  152. </variable>
  153. </output>
  154. </procedure>
  155. <comments>
  156. <next_id>1</next_id>
  157. <list>
  158. <comment>
  159. <id>0</id>
  160. <items>
  161. <comment_item>
  162. <content>查询专业-系统-设备列表</content>
  163. <update_time>2021-6-4 13:48</update_time>
  164. </comment_item>
  165. </items>
  166. </comment>
  167. </list>
  168. </comments>
  169. <comment_id>0</comment_id>
  170. </templet>