sys_eq_list.clmt 3.9 KB

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