apply-clients 3.2.36 → 3.2.49

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (286) hide show
  1. package/dist-android/static/15.js +2 -2
  2. package/dist-android/static/23.js +2 -2
  3. package/index.html +1 -1
  4. package/package.json +5 -5
  5. package/src/AndroidApp.vue +10 -9
  6. package/src/android-bootstrap/fonts/glyphicons-halflings-regular.eot +0 -0
  7. package/src/android-bootstrap/fonts/glyphicons-halflings-regular.svg +288 -0
  8. package/src/android-bootstrap/fonts/glyphicons-halflings-regular.ttf +0 -0
  9. package/src/android-bootstrap/fonts/glyphicons-halflings-regular.woff +0 -0
  10. package/src/android-bootstrap/fonts/glyphicons-halflings-regular.woff2 +0 -0
  11. package/src/android-bootstrap/less/.csscomb.json +304 -0
  12. package/src/android-bootstrap/less/.csslintrc +19 -0
  13. package/src/android-bootstrap/less/alerts.less +73 -0
  14. package/src/android-bootstrap/less/badges.less +66 -0
  15. package/src/android-bootstrap/less/bootstrap.less +56 -0
  16. package/src/android-bootstrap/less/breadcrumbs.less +26 -0
  17. package/src/android-bootstrap/less/button-groups.less +247 -0
  18. package/src/android-bootstrap/less/buttons.less +173 -0
  19. package/src/android-bootstrap/less/carousel.less +269 -0
  20. package/src/android-bootstrap/less/close.less +34 -0
  21. package/src/android-bootstrap/less/code.less +69 -0
  22. package/src/android-bootstrap/less/component-animations.less +33 -0
  23. package/src/android-bootstrap/less/dropdowns.less +216 -0
  24. package/src/android-bootstrap/less/forms.less +626 -0
  25. package/src/android-bootstrap/less/glyphicons.less +305 -0
  26. package/src/android-bootstrap/less/grid.less +84 -0
  27. package/src/android-bootstrap/less/input-groups.less +167 -0
  28. package/src/android-bootstrap/less/jumbotron.less +52 -0
  29. package/src/android-bootstrap/less/labels.less +64 -0
  30. package/src/android-bootstrap/less/list-group.less +141 -0
  31. package/src/android-bootstrap/less/media.less +66 -0
  32. package/src/android-bootstrap/less/mixins/alerts.less +14 -0
  33. package/src/android-bootstrap/less/mixins/background-variant.less +9 -0
  34. package/src/android-bootstrap/less/mixins/border-radius.less +18 -0
  35. package/src/android-bootstrap/less/mixins/buttons.less +69 -0
  36. package/src/android-bootstrap/less/mixins/center-block.less +7 -0
  37. package/src/android-bootstrap/less/mixins/clearfix.less +22 -0
  38. package/src/android-bootstrap/less/mixins/forms.less +90 -0
  39. package/src/android-bootstrap/less/mixins/gradients.less +59 -0
  40. package/src/android-bootstrap/less/mixins/grid-framework.less +92 -0
  41. package/src/android-bootstrap/less/mixins/grid.less +122 -0
  42. package/src/android-bootstrap/less/mixins/hide-text.less +21 -0
  43. package/src/android-bootstrap/less/mixins/image.less +33 -0
  44. package/src/android-bootstrap/less/mixins/labels.less +12 -0
  45. package/src/android-bootstrap/less/mixins/list-group.less +30 -0
  46. package/src/android-bootstrap/less/mixins/nav-divider.less +10 -0
  47. package/src/android-bootstrap/less/mixins/nav-vertical-align.less +9 -0
  48. package/src/android-bootstrap/less/mixins/opacity.less +8 -0
  49. package/src/android-bootstrap/less/mixins/pagination.less +24 -0
  50. package/src/android-bootstrap/less/mixins/panels.less +24 -0
  51. package/src/android-bootstrap/less/mixins/progress-bar.less +10 -0
  52. package/src/android-bootstrap/less/mixins/reset-filter.less +8 -0
  53. package/src/android-bootstrap/less/mixins/reset-text.less +18 -0
  54. package/src/android-bootstrap/less/mixins/resize.less +6 -0
  55. package/src/android-bootstrap/less/mixins/responsive-visibility.less +15 -0
  56. package/src/android-bootstrap/less/mixins/size.less +10 -0
  57. package/src/android-bootstrap/less/mixins/tab-focus.less +9 -0
  58. package/src/android-bootstrap/less/mixins/table-row.less +44 -0
  59. package/src/android-bootstrap/less/mixins/text-emphasis.less +9 -0
  60. package/src/android-bootstrap/less/mixins/text-overflow.less +8 -0
  61. package/src/android-bootstrap/less/mixins/vendor-prefixes.less +227 -0
  62. package/src/android-bootstrap/less/mixins.less +40 -0
  63. package/src/android-bootstrap/less/modals.less +151 -0
  64. package/src/android-bootstrap/less/navbar.less +660 -0
  65. package/src/android-bootstrap/less/navs.less +302 -0
  66. package/src/android-bootstrap/less/normalize.less +424 -0
  67. package/src/android-bootstrap/less/pager.less +76 -0
  68. package/src/android-bootstrap/less/pagination.less +89 -0
  69. package/src/android-bootstrap/less/panels.less +274 -0
  70. package/src/android-bootstrap/less/popovers.less +131 -0
  71. package/src/android-bootstrap/less/print.less +101 -0
  72. package/src/android-bootstrap/less/progress-bars.less +87 -0
  73. package/src/android-bootstrap/less/responsive-embed.less +35 -0
  74. package/src/android-bootstrap/less/responsive-utilities.less +194 -0
  75. package/src/android-bootstrap/less/scaffolding.less +161 -0
  76. package/src/android-bootstrap/less/tables.less +262 -0
  77. package/src/android-bootstrap/less/theme.less +291 -0
  78. package/src/android-bootstrap/less/thumbnails.less +36 -0
  79. package/src/android-bootstrap/less/tooltip.less +102 -0
  80. package/src/android-bootstrap/less/type.less +303 -0
  81. package/src/android-bootstrap/less/utilities.less +55 -0
  82. package/src/android-bootstrap/less/variables.less +896 -0
  83. package/src/android-bootstrap/less/wells.less +29 -0
  84. package/src/apply.js +143 -25
  85. package/src/applyAndroid.js +5 -3
  86. package/src/components/Util.js +5 -5
  87. package/src/components/app_apply/AppServiceView.vue +2 -2
  88. package/src/components/app_apply/Process/AppExplorationUser.vue +200 -310
  89. package/src/components/app_apply/Process/AppProgressReport.vue +84 -0
  90. package/src/components/app_apply/Process/AppServiceControl.vue +215 -4
  91. package/src/components/app_apply/ProgressReport/ProgressReportDetail.vue +64 -0
  92. package/src/components/app_apply/ProgressReport/ProgressReportList.vue +209 -0
  93. package/src/components/app_apply/Supervisory/AppProcessSupervisory.vue +12 -129
  94. package/src/components/image/tubiao.png +0 -0
  95. package/src/components/product/{ApplyCharge → Apply/ApplyCharge}/ApplyChargeList.vue +4 -8
  96. package/src/components/product/{ApplyCharge → Apply/ApplyCharge}/ApplyChargeSearch.vue +2 -4
  97. package/src/components/product/{Function → Apply/Function}/InstallFunction.vue +4 -4
  98. package/src/components/product/{Function → Apply/Function}/InstallInfoSelect.vue +12 -16
  99. package/src/components/product/{Function → Apply/Function}/Service/FunctionServiceControl.vue +0 -1
  100. package/src/components/product/{Function → Apply/Function}/StopApplyCrrdList.vue +0 -0
  101. package/src/components/product/{Function → Apply/Function}/functions/ApplyRecordCancel.vue +1 -1
  102. package/src/components/product/{Function → Apply/Function}/functions/StopInstall.vue +11 -25
  103. package/src/components/product/{Process → Apply/Process}/ExplorationSelect.vue +5 -8
  104. package/src/components/product/{Process → Apply/Process}/ExplorationUser.vue +3 -4
  105. package/src/components/product/Apply/Process/Processes/InstallationDetails.vue +478 -0
  106. package/src/components/product/{Process → Apply/Process}/Processes/addressAndUserinfoManagement.vue +3 -8
  107. package/src/components/product/{Process → Apply/Process}/Processes/chargeManagement.vue +11 -51
  108. package/src/components/product/{Process → Apply/Process}/Processes/supplementalAgreement.vue +1 -1
  109. package/src/components/product/{Process → Apply/Process}/Service/ServiceControl.vue +11 -75
  110. package/src/components/product/{Process → Apply/Process}/ShowBackReason.vue +0 -0
  111. package/src/components/product/{Supervisory → Apply/Supervisory}/Service/SupervisoryServiceControl.vue +0 -5
  112. package/src/components/product/{Supervisory → Apply/Supervisory}/SupervisoryControl.vue +43 -22
  113. package/src/components/product/{Supervisory → Apply/Supervisory}/SupervisoryList.vue +15 -13
  114. package/src/components/product/{Supervisory → Apply/Supervisory}/SupervisoryhCart.vue +1 -1
  115. package/src/components/product/Ledger/ContractManagement/OtherContract/OtherContract.vue +156 -0
  116. package/src/components/product/Ledger/ContractManagement/OtherContract/OtherContractInformation.vue +429 -0
  117. package/src/components/product/Ledger/ContractManagement/OtherContract/OtherContractList.vue +267 -0
  118. package/src/components/product/Ledger/ContractManagement/PurchaseContract/PurchaseContract.vue +138 -0
  119. package/src/components/product/Ledger/ContractManagement/PurchaseContract/PurchaseContractInformation.vue +715 -0
  120. package/src/components/product/Ledger/ContractManagement/PurchaseContract/PurchaseContractList.vue +304 -0
  121. package/src/components/product/Ledger/ContractManagement/RepairContract/RepairContract.vue +119 -0
  122. package/src/components/product/Ledger/ContractManagement/RepairContract/RepairContractInformation.vue +286 -0
  123. package/src/components/product/Ledger/ContractManagement/RepairContract/RepairContractList.vue +258 -0
  124. package/src/components/product/Ledger/FacilityManagement/EmployRecord/EmployRecord.vue +24 -0
  125. package/src/components/product/Ledger/FacilityManagement/EmployRecord/EmployRecordList.vue +218 -0
  126. package/src/components/product/Ledger/FacilityManagement/FacilityInventory/FacilityEmployRecord.vue +124 -0
  127. package/src/components/product/Ledger/FacilityManagement/FacilityInventory/FacilityInventory.vue +307 -0
  128. package/src/components/product/Ledger/FacilityManagement/FacilityInventory/FacilityInventoryInformation.vue +583 -0
  129. package/src/components/product/Ledger/FacilityManagement/FacilityInventory/FacilityInventoryList.vue +285 -0
  130. package/src/components/product/Ledger/FacilityManagement/FacilityInventory/FacilityServiceRecord.vue +113 -0
  131. package/src/components/product/Ledger/FacilityManagement/FacilityInventory/addFacilityInformation.vue +406 -0
  132. package/src/components/product/Ledger/FacilityManagement/FacilityInventory/addoldFacilityInformation.vue +326 -0
  133. package/src/components/product/Ledger/FacilityManagement/ScrapRecord/ScrapRecord.vue +24 -0
  134. package/src/components/product/Ledger/FacilityManagement/ScrapRecord/ScrapRecordList.vue +157 -0
  135. package/src/components/product/Ledger/FacilityManagement/ServiceRecord/ServiceRecord.vue +24 -0
  136. package/src/components/product/Ledger/FacilityManagement/ServiceRecord/ServiceRecordList.vue +168 -0
  137. package/src/components/product/Ledger/FileDownload/FileDownload.vue +42 -0
  138. package/src/components/product/Ledger/Function/InstallFunction.vue +118 -0
  139. package/src/components/product/Ledger/Function/InstallInfoSelect.vue +299 -0
  140. package/src/components/product/Ledger/Function/Service/FunctionServiceControl.vue +220 -0
  141. package/src/components/product/Ledger/Function/functions/PauseInstall.vue +92 -0
  142. package/src/components/product/Ledger/ImportApply/ImportApply.vue +68 -0
  143. package/src/components/product/Ledger/MaterialManagement/DeliveryRecord/DeliveryRecord.vue +24 -0
  144. package/src/components/product/Ledger/MaterialManagement/DeliveryRecord/DeliveryRecordList.vue +281 -0
  145. package/src/components/product/Ledger/MaterialManagement/InventoryInformation/InventoryInformation.vue +313 -0
  146. package/src/components/product/Ledger/MaterialManagement/InventoryInformation/InventoryInformationList.vue +250 -0
  147. package/src/components/product/Ledger/MaterialManagement/InventoryInformation/MaterialDeliveryRecord.vue +110 -0
  148. package/src/components/product/Ledger/MaterialManagement/InventoryInformation/MaterialEarlyWarning.vue +194 -0
  149. package/src/components/product/Ledger/MaterialManagement/InventoryInformation/MaterialInformation.vue +186 -0
  150. package/src/components/product/Ledger/MaterialManagement/InventoryInformation/MaterialOutStock.vue +438 -0
  151. package/src/components/product/Ledger/MaterialManagement/InventoryInformation/MaterialOutboundOrder.vue +457 -0
  152. package/src/components/product/Ledger/MaterialManagement/InventoryInformation/MaterialWarehousingRecord.vue +110 -0
  153. package/src/components/product/Ledger/MaterialManagement/InventoryInformation/PurchaseMaterial.vue +425 -0
  154. package/src/components/product/Ledger/MaterialManagement/InventoryInformation/PurchaseOrder.vue +481 -0
  155. package/src/components/product/Ledger/MaterialManagement/InventoryInformation/ReturnMaterial.vue +321 -0
  156. package/src/components/product/Ledger/MaterialManagement/OutboundOrder/OutboundOrder.vue +86 -0
  157. package/src/components/product/Ledger/MaterialManagement/OutboundOrder/OutboundOrderInformation.vue +327 -0
  158. package/src/components/product/Ledger/MaterialManagement/OutboundOrder/OutboundOrderList.vue +304 -0
  159. package/src/components/product/Ledger/MaterialManagement/OutboundOrder/PrintMaterialBill.vue +139 -0
  160. package/src/components/product/Ledger/MaterialManagement/PurchaseRecords/PrintPurchaseOrder.vue +157 -0
  161. package/src/components/product/Ledger/MaterialManagement/PurchaseRecords/PurchaseRecords.vue +73 -0
  162. package/src/components/product/Ledger/MaterialManagement/PurchaseRecords/PurchaseRecordsInformation.vue +268 -0
  163. package/src/components/product/Ledger/MaterialManagement/PurchaseRecords/PurchaseRecordsList.vue +261 -0
  164. package/src/components/product/Ledger/MaterialManagement/WarehousingRecord/WarehousingRecord.vue +24 -0
  165. package/src/components/product/Ledger/MaterialManagement/WarehousingRecord/WarehousingRecordList.vue +275 -0
  166. package/src/components/product/Ledger/Process/ProcessBusiness.vue +155 -0
  167. package/src/components/product/Ledger/Process/ProcessSelect.vue +340 -0
  168. package/src/components/product/Ledger/Process/Processes/ExhibitionPicture.vue +27 -0
  169. package/src/components/product/Ledger/Process/Processes/ProgressReport.vue +236 -0
  170. package/src/components/product/Ledger/Process/Processes/ProjectMaterialList.vue +77 -0
  171. package/src/components/product/Ledger/Process/Processes/QinhuaMaterialList.vue +72 -0
  172. package/src/components/product/Ledger/Process/Service/ServiceControl.vue +639 -0
  173. package/src/components/product/Ledger/QinhuaMaterial/PickingRecord/PickingInformation.vue +316 -0
  174. package/src/components/product/Ledger/QinhuaMaterial/PickingRecord/PickingRecord.vue +67 -0
  175. package/src/components/product/Ledger/QinhuaMaterial/PickingRecord/PickingRecordList.vue +194 -0
  176. package/src/components/product/Ledger/QinhuaMaterial/SeasoningRecord/SeasoningInformation.vue +385 -0
  177. package/src/components/product/Ledger/QinhuaMaterial/SeasoningRecord/SeasoningRecord.vue +70 -0
  178. package/src/components/product/Ledger/QinhuaMaterial/SeasoningRecord/SeasoningRecordList.vue +208 -0
  179. package/src/components/product/Ledger/Stop/StopApply.vue +103 -0
  180. package/src/components/product/Ledger/Stop/StopApplyList.vue +241 -0
  181. package/src/components/product/Ledger/Supervisory/ProcessSupervisory.vue +163 -0
  182. package/src/components/product/Ledger/Supervisory/Service/RenWuDan.vue +78 -0
  183. package/src/components/product/Ledger/Supervisory/Service/SupervisoryServiceControl.vue +606 -0
  184. package/src/components/product/Ledger/Supervisory/SupervisoryCart.vue +102 -0
  185. package/src/components/product/Ledger/Supervisory/SupervisoryList.vue +387 -0
  186. package/src/components/product/ServiceView.vue +376 -374
  187. package/src/components/product/VueUtils/ApplyUpload.vue +1 -3
  188. package/src/expandcssAndroid.less +534 -0
  189. package/src/main.js +2 -0
  190. package/static/Functions.js +91 -0
  191. package/static/Jsons.js +784 -0
  192. package/static/ManageHomePic//346/244/255/345/234/2064.png +0 -0
  193. package/static/ManagementControl/echarts10.png +0 -0
  194. package/static/ManagementControl/echarts11.png +0 -0
  195. package/static/ManagementControl/echarts12.png +0 -0
  196. package/static/ManagementControl/echarts13.png +0 -0
  197. package/static/ManagementControl/echarts14.png +0 -0
  198. package/static/ManagementControl/echarts15.png +0 -0
  199. package/static/ManagementControl/echarts16.png +0 -0
  200. package/static/ManagementControl/echarts17.png +0 -0
  201. package/static/ManagementControl/echarts18.png +0 -0
  202. package/static/ManagementControl/echarts4.png +0 -0
  203. package/static/ManagementControl/echarts5.png +0 -0
  204. package/static/ManagementControl/echarts51.png +0 -0
  205. package/static/ManagementControl/echarts6.png +0 -0
  206. package/static/ManagementControl/echarts7.png +0 -0
  207. package/static/ManagementControl/echarts71.png +0 -0
  208. package/static/ManagementControl/echarts8.png +0 -0
  209. package/static/ManagementControl//345/233/276/345/261/20211/346/213/267/350/264/235.png +0 -0
  210. package/static/ManagementControl//347/237/251/345/275/2425/346/213/267/350/264/2353.png +0 -0
  211. package/static/ManagementControl//347/237/251/345/275/2425/346/213/267/350/264/2355.png +0 -0
  212. package/static/ManagementControl//347/237/251/345/275/2425/346/213/267/350/264/2356.png +0 -0
  213. package/static/class.js +97 -0
  214. package/static/images/lefticon//346/226/207/344/273/266/346/250/241/345/235/227.png +0 -0
  215. package/static/init.js +135 -0
  216. package/static/jcwx.jpg +0 -0
  217. package/static/lefticon//345/215/241/346/234/215/345/212/241/347/256/241/347/220/206.png +0 -0
  218. package/static/lefticon//345/221/274/345/217/253/347/263/273/347/273/237.png +0 -0
  219. package/static/lefticon//345/224/256/346/260/224/346/224/266/350/264/271.png +0 -0
  220. package/static/lefticon//345/233/276/345/261/2023/346/213/267/350/264/2354.png +0 -0
  221. package/static/lefticon//345/233/276/345/261/202577.png +0 -0
  222. package/static/lefticon//345/233/276/345/261/2028/346/213/267/350/264/23513.png +0 -0
  223. package/static/lefticon//345/256/211/346/243/200/346/237/245/347/234/213.png +0 -0
  224. package/static/lefticon//345/256/211/346/243/200/350/256/241/345/210/222.png +0 -0
  225. package/static/lefticon//345/276/256/344/277/241/346/234/215/345/212/241.png +0 -0
  226. package/static/lefticon//346/212/245/345/273/272/347/263/273/347/273/237.png +0 -0
  227. package/static/lefticon//346/212/245/350/241/250/346/237/245/350/257/242.png +0 -0
  228. package/static/lefticon//346/227/245/345/270/270/347/256/241/347/220/206.png +0 -0
  229. package/static/lefticon//346/234/272/350/241/250/347/256/241/347/220/206.png +0 -0
  230. package/static/lefticon//346/237/245/350/257/242/345/210/227/350/241/250.png +0 -0
  231. package/static/lefticon//346/241/243/346/241/210/347/256/241/347/220/206.png +0 -0
  232. package/static/lefticon//347/211/251/350/201/224/347/275/221/350/241/250.png +0 -0
  233. package/static/lefticon//347/237/251/345/275/2421183.png +0 -0
  234. package/static/lefticon//347/263/273/347/273/237/347/256/241/347/220/206.png +0 -0
  235. package/static/lefticon//347/263/273/347/273/237/350/256/276/347/275/256.png +0 -0
  236. package/static/lefticon//347/273/217/350/220/245/347/256/241/346/216/247.png +0 -0
  237. package/static/lefticon//347/273/274/345/220/210/344/270/232/345/212/241.png +0 -0
  238. package/static/lefticon//347/273/274/345/220/210/346/237/245/350/257/242.png +0 -0
  239. package/static/lefticon//350/217/234/345/215/225/344/274/270/347/274/251.png +0 -0
  240. package/static/lefticon//351/200/200/345/207/272/347/263/273/347/273/237.png +0 -0
  241. package/static/loginbg1.jpg +0 -0
  242. package/static/loginbg_jincheng.jpg +0 -0
  243. package/static/loginbgmain.jpg +0 -0
  244. package/static/mainicon/adddevice.png +0 -0
  245. package/static/mainicon/addmeter.png +0 -0
  246. package/static/mainicon/bank.png +0 -0
  247. package/static/mainicon/biaopan.png +0 -0
  248. package/static/mainicon/cad.jpg +0 -0
  249. package/static/mainicon/chaobiaoyuan.png +0 -0
  250. package/static/mainicon/danganguanli.png +0 -0
  251. package/static/mainicon/deletedevice.png +0 -0
  252. package/static/mainicon/excel.jpg +0 -0
  253. package/static/mainicon/huizong.png +0 -0
  254. package/static/mainicon/jibiaoguanli.png +0 -0
  255. package/static/mainicon/jibiaoguanli2.png +0 -0
  256. package/static/mainicon/jiezhang.png +0 -0
  257. package/static/mainicon/loginbg.jpg +0 -0
  258. package/static/mainicon/shouqishoufei.png +0 -0
  259. package/static/mainicon/treeopen.png +0 -0
  260. package/static/mainicon/treeout.png +0 -0
  261. package/static/mainicon/treeset.png +0 -0
  262. package/static/mainicon/word.jpg +0 -0
  263. package/static/mainicon/wulianwang.png +0 -0
  264. package/static/mainicon/yingyechaxun.png +0 -0
  265. package/static/mainicon/zongheyewu.png +0 -0
  266. package/static/newStyle/loginbg-liaoyuan.gif +0 -0
  267. package/static/newStyle/loginbg.gif +0 -0
  268. package/static/newStyle/loginbg1366.gif +0 -0
  269. package/static/newStyle/loginbg_1.gif +0 -0
  270. package/static/newStyle/searchin.png +0 -0
  271. package/static/newStyle/searchout.png +0 -0
  272. package/static/newStyle//350/261/252/344/275/263/347/207/203/346/260/224.png +0 -0
  273. package/static/newStyle.7z +0 -0
  274. package/static/newStyle.zip +0 -0
  275. package/static/refresh.png +0 -0
  276. package/static/static.zip +0 -0
  277. package/static/tools.js +246 -0
  278. package/static/treeclose.png +0 -0
  279. package/static/wasm_exec.js +591 -0
  280. package/src/components/app_apply/Process/Processes/AppInstallationDetails.vue +0 -456
  281. package/src/components/product/ApplyCharge/ApplyChargeReport.vue +0 -107
  282. package/src/components/product/Process/Processes/InstallationDetails.vue +0 -515
  283. package/src/components/product/Process/Processes/printCharge.vue +0 -133
  284. package/src/components/product/Test.vue +0 -36
  285. package/src/components/product/VueUtils/ToolsPage.vue +0 -51
  286. package/src/components/product/VueUtils/Tree.vue +0 -330
@@ -0,0 +1,784 @@
1
+ var myjson = {
2
+ Component: {
3
+ template: {
4
+ type: "Text",
5
+ }
6
+ },
7
+ TestTemplate: {
8
+ template: {
9
+ type: "Text", Text: "@测试模板",
10
+ }
11
+ },
12
+ Modal:{
13
+ template:{
14
+ type: "Dock", Classes:"@Modal BorderRound",
15
+ children:[
16
+ {"type":"Text", "Text":"stat.Title", "Pos":"@Top", PaddingLeft:"@20", PaddingBottom:"@20"},
17
+ {"type":"Slot", "SlotName":"@item", "Pos":"@Center", Classes:"@BorderRect", StrokeStyle:"@#eaedee"},
18
+ {
19
+ "type":"Stack", "Pos":"@Bottom", PaddingTop:"@20", Right:"@20", HAlign:"@Right", PaddingBottom:"@1",
20
+ children:[
21
+ {"type":"Button", "Text":"@取消", "@Click": "stat.Cancel()", Classes:"@Button2", Right:"@20"},
22
+ {"type":"Button", "Text":"@确定", "@Click": "stat.Confirm()", Classes:"@Button", FillStyle:"@#ffffff"},
23
+ ]
24
+ },
25
+ ]
26
+ },
27
+ },
28
+ "Tips": {
29
+ "template":{
30
+ type: "Stack", Font:'@16px 苹方', Background:'@#ffffff',
31
+ children: [
32
+ {"type":"Text", "Text":"stat.Text",Left:"@5",Right:"@5",Top:"@5",Bottom:"@5"}
33
+ ]
34
+ }
35
+ },
36
+ DefaultOver:{
37
+ template:{
38
+ type:"Text", Font:"@16px 微软雅黑", Text:"@此处无效", Classes:"@Text",
39
+ }
40
+ },
41
+ Extension:{
42
+ template:{
43
+ type:"ExtensionPanel", Name:"@ExtensionPanel",
44
+ children:[
45
+ {type:"Slot", SlotName:"@item", Pos:"@Content"}
46
+ ]
47
+ }
48
+ },
49
+ Button: {
50
+ template: {
51
+ type: 'Slot', SlotName: '@item', default: {
52
+ Name: '@Button-Text',
53
+ type: 'Text',
54
+ Text: 'stat.Text',
55
+ }
56
+ }
57
+ },
58
+ Calendar:{
59
+ template:{
60
+ type:"Grid", Row:"@275", Column:"@245", Classes:"@BorderRound", Radius:"@4",Background:"@#FFFFFF",StrokeStyle:"@#cccccc",
61
+ children:[
62
+ {
63
+ type:"Stack", Original:"@V",Width:"@245", Height:"@275", if:"stat.ShowPanel!=$time$",
64
+ children:[
65
+ {
66
+ type:"Grid", Row:"@*", Column:"@1*,2*,1*", Top:"@14",Bottom:"@5",
67
+ children:[
68
+ {
69
+ type: 'Button', Text: '@<', '@Click': "stat.Prev().NotifyAll(stat,$Showstr$,$Days$,$Years$)", Font: '@15px 苹方',
70
+ Classes:"@CalendarTextNormal BorderRound"
71
+ },
72
+ {
73
+ type: 'Button', Text: 'stat.Showstr', '@Click': "stat.Super().NotifyAll(stat,$Showstr$,$ShowPanel$,$Years$)",Classes:"@CalendarTextNormal BorderRound"
74
+ },
75
+ {
76
+ type: 'Button', Text: '@>', '@Click': "stat.Next().NotifyAll(stat,$Showstr$,$Days$,$Years$)", Font: '@15px 苹方',Classes:"@CalendarTextNormal BorderRound"
77
+ },
78
+ ]
79
+ },
80
+ {
81
+ type:"Stack", Original:"@V", if:"stat.ShowPanel==$day$", Left:"@17",Right:"@17",
82
+ children:[
83
+ {
84
+ type:"Grid", Column:"@1*,1*,1*,1*,1*,1*,1*", Row:"@30",
85
+ children:[
86
+ {type:"Text", Text:"data", for:["日","一","二","三","四","五","六"],HAlign:"@Center", VAlign:"@Center",}
87
+ ]
88
+ },
89
+ {
90
+ type:"Grid", Column:"@1*,1*,1*,1*,1*,1*,1*", Row:"@1*,1*,1*,1*,1*,1*",Height:"@180",
91
+ children:[
92
+ {
93
+ type:"Text", Text:"data.Day", for:"stat.Days", "@Click":"stat.ChooseDate(data).NotifyAll(stat,$Days$,$Showstr$)", Classes:"@CalendarTextNormal BorderRound", Background:"stat.IsSelected(data):$#4792de$,this.MouseIn:$#e6ebf1$,$$", FillStyle:"data.NowMonth == 0:$#000000$,$#cccccc$"
94
+ }
95
+ ]
96
+ },
97
+ {
98
+ type:"Grid", Column:"@1*", Row:"@*", PaddingTop:"@1", PaddingBottom:"@5", PaddingLeft:"@20", PaddingRight:"@20", children:[
99
+ {
100
+ type:"Stack", HAlign:"@Center",
101
+ children:[
102
+ {type:"Button",HAlign:"@Center", Classes:"@Button2", Right:"@10", if:"stat.ShowDateAndTime!=$Date$", Text:"@选择时间","@Click":"stat.SetShowPanel($time$).Notify($ShowPanel$, stat)",},
103
+ {type:"Button",HAlign:"@Center", Classes:"@Button2", Left:"@10", Text:"@确定","@Click":"stat.ChooseTime()",}
104
+ ]
105
+ }
106
+
107
+ ]
108
+ }
109
+ ]
110
+
111
+ },
112
+ {
113
+ type:"Grid", Column:"@1*,1*,1*,1*",Row:"@1*,1*,1*", if:"stat.ShowPanel==$month$", Height:"@180", Left:"@17",Right:"@17",
114
+ children:[
115
+ {
116
+ type:"Text", Text:"data", for:"stat.Months", Top:"@10", "@Click":"stat.ChooseMonth(data).NotifyAll(stat,$Days$,$ShowPanel$,$Showstr$)", Classes:"@CalendarTextNormal BorderRound"
117
+ }
118
+ ]
119
+ },
120
+ {
121
+ type:"Grid", Column:"@1*,1*,1*,1*",Row:"@1*,1*,1*", if:"stat.ShowPanel==$year$", Height:"@180", Left:"@17",Right:"@17", Top:"@10",
122
+ children:[
123
+ {
124
+ type:"Text", Text:"data", for:"stat.Years", Top:"@10", "@Click":"stat.ChooseYear(data).NotifyAll(stat,$ShowPanel$,$Showstr$)", Classes:"@CalendarTextNormal BorderRound"
125
+ }
126
+ ]
127
+ }
128
+ ]
129
+ },
130
+ {
131
+ type:"Grid",HAlign:"@Center", VAlign:"@Center", Column:"@100,35", Row:"@50,50,50,60", if:"stat.ShowPanel == $time$",
132
+ children:[
133
+ {type:"Select",Top:"@10",Bottom:"@10", Text:"${ stat.Hour}$", Data:"stat.Hours", Classes:"@SelectGray", "@Change":"stat.SetHour(e.Value).Notify($Hour$, stat)"},{type:"Text", VAlign:"@Center", "Text":"@时", Left:"@10"},
134
+ {type:"Select",Top:"@10",Bottom:"@10", Text:"${ stat.Minute}$", Data:"stat.Minutes", Classes:"@SelectGray", "@Change":"stat.SetMinute(e.Value).Notify($Minute$, stat)"},{type:"Text", VAlign:"@Center", "Text":"@分", Left:"@10"},
135
+ {type:"Select",Top:"@10",Bottom:"@10", Text:"${ stat.Second}$", Data:"stat.Minutes", Classes:"@SelectGray","@Change":"stat.SetSecond(e.Value).Notify($Second$, stat)"},{type:"Text", VAlign:"@Center", "Text":"@秒", Left:"@10"},
136
+ {
137
+ type:"Stack",ColSpan:"@2",HAlign:"@Center",Height:"@32", children:[
138
+ {type:"Button",Classes:"@Button2", Text:"@确定", "@Click":"stat.EnterTime()"},
139
+ ]
140
+ },
141
+
142
+ ]
143
+ }
144
+ ],
145
+
146
+ }
147
+ },
148
+ DateInput:{
149
+ template:{
150
+ type:"Dropdown", Text:"stat.Date", Enabled:"stat.Enabled",
151
+ Slots:{
152
+ item: {
153
+ type:"Calendar", Date:"stat.Date",ShowDateAndTime:"stat.ShowDateAndTime", Width:"@245", Height:"@275", "@Change":"stat.GetTemplate().RestorePopup(e.draw),stat.SetDate(e.Value, stat), stat.Notify($Date$, stat)"
154
+ }
155
+ }
156
+ }
157
+ },
158
+ CheckBox:{
159
+ template:{
160
+ type:"Image", Path:"stat.IsSelected:$checkbox_true$,$checkbox_false$", '@Click':"stat.Select()",
161
+ }
162
+ },
163
+ DataGrid: {
164
+ "template":{
165
+ "type":"Dock", "Name":"@DataGrid_Dock",
166
+ "children": [
167
+ {
168
+ "type": "Slot", "Name": "@headSlot", "SlotName": "@head", "Pos": "@Top",
169
+ Background:"@#eff1f3", Font:"@14px 微软雅黑", FillStyle:"@#666666",
170
+ "Column": "stat.Column",
171
+ "ContentX": "stat.Comps.Scroll.ContentX",
172
+ "@DragStart": "stat.Drag(e.x, e.y, this)",
173
+ "@Drop": "stat.Drop(e.x, e.y, this).Notify($ColumnOrder$, stat)",
174
+ },
175
+ {
176
+ "type":"Scroll", "Name":"@DataGrid_Scroll", "Pos":"@Center", "ID": "@Scroll",
177
+ "Slots": {
178
+ "item":{
179
+ "type": "List", "Data":"stat.Data", "Name": "@List",
180
+ "Slots":{
181
+ "item":{
182
+ "type":"Slot", "Name": "@bodySlot", "SlotName": "@item",
183
+ "Column": "stat.Column",
184
+ "@Click": "stat.Select(data, stat)",
185
+ FillStyle:"data==stat.Selected: $#ffffff$, $#333333$",
186
+ Background:"data==stat.Selected: $#83a6c9$, this.MouseIn: $#eef1f4$, index%2==0:$#ffffff$, $#f9fafb$",
187
+ "ColumnOrder": "stat.ColumnOrder"
188
+ },
189
+ },
190
+ },
191
+ },
192
+ },
193
+ ],
194
+ },
195
+ },
196
+ DateLine:{
197
+ template:{
198
+ type:"List", Data:"stat.Data",
199
+ Slots:{
200
+ item:{
201
+ type:"Grid", Column:"@*,1*",Row:"@*", Background:"stat.Background",
202
+ children:[
203
+ {
204
+ type:"Grid", Column:"@1*,1,1*", Row:"@*,1*",
205
+ children:[
206
+ {type:"Image", Path:"@cycle13",ColSpan:"@3", HAlign:"@Center", PaddingLeft:"@1", PaddingRight:"@1"},
207
+ {type:"Text", Text:"@",},
208
+ {type:"Stack", Width:"@1",HAlign:"@Center",Classes:"@BorderRect", StrokeStyle:"@#cccccc"}
209
+ ]
210
+ },
211
+ {
212
+ type:"Slot", SlotName:"@item", Left:"@5"
213
+ }
214
+ ]
215
+ }
216
+ }
217
+ }
218
+ },
219
+ RadioButton:{
220
+ template:{
221
+ type:"Stack", Original:"stat.Original",
222
+ children:[
223
+ {
224
+ type:"Stack", for:"stat.Data",PaddingTop:"4",PaddingBottom:"4", "@Click":"stat.Select(data, stat)", Original:"@H", Left:"@15",
225
+ children:[
226
+ {type:"Image", Path:"data==stat.Selected:$radioButtonSelected$,this.MouseIn:$radioButtonHover$,$radioButtonNormal$", VAlign:"@Center"},
227
+ {type:"Text", Text:"data", Left:"@5", VAlign:"@Center"}
228
+ ]
229
+ }
230
+ ]
231
+ }
232
+ },
233
+ TestDataGrid:{
234
+ template:{
235
+ type:"DataGrid", Font:'@16px Arial', Height: "@200", Width: "@400", Background: "@#ffffff",
236
+ Column:"@150,200,50,100,150",
237
+ Data:[
238
+ {name:"张三", sex:"男", age:21, height:177, weight:150},
239
+ {name:"李四", sex:"男", age:22, height:180, weight:160},
240
+ {name:"王五", sex:"男", age:20, height:177, weight:140},
241
+ {name:"赵六", sex:"女", age:23, height:177, weight:120},
242
+ {name:"周七", sex:"男", age:22, height:177, weight:133},
243
+ {name:"吴八", sex:"女", age:25, height:177, weight:122},
244
+ {name:"郑九", sex:"女", age:26, height:177, weight:100},
245
+ ],
246
+ Slots: {
247
+ "head": {type: "Grid", Row:"@50",
248
+ children:[
249
+ {type:"Text", Text:"@姓名"},
250
+ {type:"Text", Text:"@性别"},
251
+ {type:"Text", Text:"@年龄"},
252
+ {type:"Text", Text:"@身高"},
253
+ {type:"Text", Text:"@体重"},
254
+ ]
255
+ },
256
+ "item": {type: "Grid", Row:"@50",
257
+ children:[
258
+ {type:"Text", Text:"data.name"},
259
+ {type:"Text", Text:"data.sex"},
260
+ {type:"Text", Text:"data.age"},
261
+ {type:"Text", Text:"data.height"},
262
+ {type:"Text", Text:"data.weight"},
263
+ ]
264
+ }
265
+ }
266
+ }
267
+ },
268
+ Dropdown:{
269
+ template: {
270
+ "type": "Grid", "Column": "@1*,*", "Row": "@*",
271
+ "@MouseDown": "stat.Popup(e.draw)", PaddingTop: "@8", PaddingBottom:"@8", PaddingLeft:"@10", PaddingRight:"@10",
272
+ children: [
273
+ {
274
+ Name: "@Dropdown_Value", type: "Text", Text: "stat.GetText(stat.Text, stat.PlaceHolder)", FillStyle:"stat.Text==$$:$#666666$,$#333333$",
275
+ },
276
+ {
277
+ Name: "@Dropdown_down", type: "Image", Path: "@down_black10_6", VAlign:"@Center",Classes:"@BorderRound", "StrokeStyle":"@",
278
+ },
279
+ ]
280
+ },
281
+ Drag: {
282
+ "popup": {
283
+ "type": "Slot", "SlotName": "@item",
284
+ }
285
+ }
286
+ },
287
+ Select: {
288
+ template: {
289
+ type: 'Dropdown', Text: 'stat.GetShowText(stat.Text, stat.Selected)', PlaceHolder:"stat.PlaceHolder",Enabled:"stat.Enabled",
290
+ Slots: {
291
+ item: {
292
+ type: "Scroll", MaxHeight: "@150",
293
+ Slots: {
294
+ item: {
295
+ type: 'List', Data: 'stat.Data',
296
+ '@Change': 'stat.GetTemplate().RestorePopup(e.draw), stat.Select(e.Value, stat)',
297
+ Slots: {
298
+ item: {
299
+ type:"Slot", SlotName:"@item", Background: '(stat.SelectMode!=$none$ && data==stat.Selected): $#d8eafb$, this.MouseIn: $#f5f6f7$, $$',
300
+ default:{
301
+ type: "Text", Text: "data", PaddingLeft:"@10", PaddingTop:"@8", PaddingRight:"@10", PaddingBottom:"@8",
302
+ },
303
+ }
304
+ }
305
+ }
306
+ }
307
+ }
308
+ }
309
+ }
310
+ },
311
+ SearchBox:{
312
+ template:{
313
+ Name:"@SearchBox", type:"Input", "@Input":"stat.Search(e.Value)",
314
+ },
315
+ Drag:{
316
+ popup:{
317
+ type: "Scroll", Height: "@100", MaxHeight:"@100",
318
+ Slots: {
319
+ item: {
320
+ type: 'List', Data:"stat.Data",
321
+ '@Change': 'stat.RestorePopup(e.draw)',
322
+ Slots: {
323
+ item: {
324
+ type: "Text", Text: "data"
325
+ }
326
+ }
327
+ }
328
+ }
329
+ }
330
+ }
331
+ },
332
+ Input: {
333
+ template: {
334
+ type: "Text", Text: "stat.GetText(stat.Value, stat.PlaceHolder)",VAlign:"@Center",Background:"@#FFFFFF", Classes:"@BorderRound", Radius:"@2", FillStyle:"stat.Value==$$:$#666666$,$#333333$", StrokeStyle:"stat.InputError:$red$,$#c7c7c7$",
335
+ PaddingLeft:"@10", PaddingRight:"@10",PaddingTop:"@1", PaddingBottom:"@1"
336
+ },
337
+ },
338
+ List:{
339
+ template: {
340
+ type:"Stack", Original: "@V",
341
+ children:
342
+ [
343
+ {
344
+ Background: '(stat.SelectMode!=$none$ && data==stat.Selected): $#d8eafb$, this.MouseIn: $#f5f6f7$, $$',
345
+ type:"Slot", for:'stat.ShowData', "@Click": "stat.Select(data, stat)",SlotName:'@item',
346
+ default:{
347
+ type: "Text", Text: "data", PaddingLeft:"@10", PaddingTop:"@8", PaddingRight:"@10", PaddingBottom:"@8",
348
+ },
349
+ }
350
+ ]
351
+ },
352
+ },
353
+ Test:{
354
+ template: {
355
+ type: "Stack", Original: "@V",
356
+ children: [
357
+ {
358
+ type: "Stack", Original: "@H", Width: "@800", Background:"@#ffffff", Height:"@400",
359
+ children: [
360
+ {type: "Text", Text: "@测试1", Width: "@100", Height: "@50", "@Click": "log(stat)"},
361
+ {type: "Button", Text: "@测试2", Width: "@100", Height: "@50",Radius:"@4", Classes:"@Button"},
362
+ {type: "Select", Data: ["a", "b", "c", "d", "e"], Width: "@200", Height: "@35", TemplateName:"@RadioButton", Original:"@H"},
363
+ {type: "Calendar", "@Change":"global.Log($time$,e.Value)", Height:"@275"},
364
+ {type:"DateInput",Width:"@120",Height:"@35", "@Change":"global.Log(e.Value)",ShowDateAndTime:"@Time"},
365
+ {type:"DateInput",Width:"@120",Height:"@35", "@Change":"global.Log(e.Value)",ShowDateAndTime:"@Date"},
366
+ {type:"DateInput",Width:"@120",Height:"@35", "@Change":"global.Log(e.Value)",},
367
+ {type: "CheckBox", Name: "@Check"},
368
+ {
369
+ type: "List", Width: "@100", Height: "@300",Data:["a","b","c","d"],
370
+ Slots: {
371
+ item: {
372
+ type: "Text", Text: "@data", Width: "@100", Height: "@35",
373
+ }
374
+ }
375
+ },
376
+ {
377
+ type: "Scroll", Width: "@100", Height: "@300",
378
+ Slots: {
379
+ item: {
380
+ type: "List",Data:["a","b","c","d"],
381
+ Slots: {
382
+ item: {
383
+ type: "Text", Text: "data", Width: "@100", Height: "@35",
384
+ }
385
+ }
386
+ }
387
+ }
388
+ }
389
+ ]},
390
+ {
391
+ type: "Stack", Original: "@H", Width: "@800", Height:"@50", Background:"@#ffffff",
392
+ children:[
393
+ {
394
+ type: "Select", Data:["a", "b", "c", "d","e", "f","g", "h", "i", "j", "k","l","m","n","o","p","q"], Classes:"@SelectWhite",Width:"@100"
395
+ },
396
+ {
397
+ type:"SearchBox", Height:"@35", Width:"@100" ,
398
+ },
399
+ {
400
+ type: "Component", TemplateName: "@TestTemplate",
401
+ },
402
+ {
403
+ type:"DateLine", Data:["1", "2", "3", "4"],Background:"@#ffffff",
404
+ Slots:{
405
+ item:{
406
+ type:"Stack", Original:"@V",
407
+ children:[
408
+ {type:"Text", Text:"@xx年xx月xx日xx时",Bottom:"@10"},
409
+ {type:"Text", Text:"@张三派发任务给李四", Bottom:"@10"},
410
+ ]
411
+
412
+ }
413
+ }
414
+ },
415
+ {
416
+ type:"Select", Width:"@100", Data:[{name:"lisi"},{name:"zhangsan"},{name:"wangwu"},{name:"zhaoliu"}], Text:"this.Selected.name", Slots:{
417
+ item:{
418
+ type:"Stack", PaddingTop:"@5", PaddingBottom:"@5",Background:"this.MouseIn: $#f5f6f7$,$#ffffff$",
419
+ children:[
420
+ {type:"CheckBox", "@Change":"global.Log($Select {data.name} {index}!!$)"},
421
+ {type:"Text", Text:"data.name", Left:"@10"}
422
+ ]
423
+ }
424
+ }
425
+ },
426
+ {
427
+ type:"Scroll", Width:"@200",
428
+ Slots:{
429
+ item:{
430
+ type:"List", Data:["a","b","c","d","e","f","g"], "@Change":"global.Log($List选中{e.Value}!!!$)",
431
+ Slots:{
432
+ item:{
433
+ type:"Grid", Column:"@1*,1*", Row:"@1*,1*", children:[
434
+ {type:"Button", "@Click":"global.Log($按钮{data}被点击$)"},
435
+ {type:"Select", Data:[1,2,3, 4, 5], "@Change":"global.Log($Select {data} 选中 {e.Value}$)"},
436
+ {type:"DateInput", "@Change":"global.Log($DateInput {data} 选中 {e.Value}$)"},
437
+ ]
438
+ }
439
+ }
440
+ }
441
+ }
442
+ }
443
+ ]
444
+ },
445
+ {
446
+ type:"Grid", Height:"@300",Column:"@200,1*,100", Row:"@1*", Background:"@yellow",
447
+ children:[
448
+ {
449
+ type:"WorkFlow", Rootid:"@1001",Background:"@#ffffff",Height:"@500", Width:"@300",
450
+ Data:{
451
+ "1001":{"defname": "节点1", "person": "张三", "backActivities": ["1002", "1003"],"finishTime":"2010-01-02 12:01:23"},
452
+ "1002":{"defname": "节点2", "person": "李四", "backActivities": ["1004", "1005"], "finishTime":"2010-02-02 12:01:23",},
453
+ "1003":{"defname": "节点3", "person": "张三", "backActivities": ["1006"], "finishTime":"2010-01-03 12:01:23",},
454
+ "1004":{"defname": "节点4", "person": "张三", "backActivities": ["1007"], "finishTime":"2011-03-02 12:01:23",},
455
+ "1005":{"defname": "节点5", "person": "张三", "backActivities": [], "finishTime":"2011-02-02 12:01:23",},
456
+ "1006":{"defname": "节点6", "person": "张三", "backActivities": ["1007"], "finishTime":"2010-05-02 12:01:23",},
457
+ "1007":{"defname": "节点7", "person": "张三", "backActivities": [], "finishTime":"2012-01-02 12:01:23",},
458
+ },
459
+ Slots:{
460
+ item:{
461
+ type:"Text", Text:"data.defname"
462
+ }
463
+ }
464
+ },
465
+ {
466
+ type:"Scroll", Width:"@500", Height:"@250", Slots:{
467
+ item:
468
+ // {
469
+ // type:"Stack", children:[
470
+ {type:"DynamicTable",TierHeight:"@60", SingleWidth:"@100", Data:
471
+ {
472
+ "一单元":{
473
+ "upGround":[
474
+ [{id:"1001", userinfo:"张三", state:"正常", pipe:"a"},{id:"1002", userinfo:"李四", state:"正常", pipe:"b"},{id:"1003", userinfo:"王五", state:"正常", pipe:"c"},{id:"1004", userinfo:"赵六1", pipe:"d"},],
475
+ [{id:"2001", userinfo:"张三", pipe:"a"},{id:"2002", userinfo:"李四", pipe:"b"},{id:"2003", userinfo:"王五", pipe:"c"},{id:"2004", userinfo:"赵六2", pipe:"d"},],
476
+ [{id:"3001", userinfo:"张三", pipe:"a"},{id:"3002", userinfo:"李四", pipe:"b"},{id:"3003", userinfo:"王五", pipe:"c"},{id:"3004", userinfo:"赵六3", pipe:"d"},{id:"3005", userinfo:"赵六5", pipe:"c"},{id:"3006", userinfo:"赵六5", pipe:"c"},],
477
+ [{id:"4001", userinfo:"张三", pipe:"a"},{id:"4002", userinfo:"李四", pipe:"b"},{id:"4003", userinfo:"王五", pipe:"c"},{id:"4004", userinfo:"赵六4", pipe:"d"},],
478
+ ],
479
+ "underGround":[
480
+ [{id:"-1001", userinfo:"张三", pipe:"a"},{id:"-1002", userinfo:"李四", pipe:"b"},{id:"-1003", userinfo:"王五", pipe:"c"},{id:"-1004", userinfo:"赵六7", pipe:"d"},],
481
+ [{id:"-2001", userinfo:"张三", pipe:"a"},{id:"-2002", userinfo:"李四", pipe:"b"},{id:"-2003", userinfo:"王五", pipe:"c"},{id:"-2004", userinfo:"赵六8", pipe:"d"},{id:"-2005", userinfo:"赵六6", pipe:"d"},],
482
+ ],
483
+ "pipes":{a:1,b:1,c:3,d:2}
484
+ },
485
+ "二单元": {
486
+ "upGround": [
487
+ [{id: "1001", userinfo: "张三", pipe: "a"}, {id: "1002", userinfo: "李四", pipe: "b"}, {id: "1003", userinfo: "王五", pipe: "c"}, {id: "1004", userinfo: "赵六1", pipe: "d"},],
488
+ [{id: "2001", userinfo: "张三", pipe: "a"}, {id: "2002", userinfo: "李四", pipe: "b"}, {id: "2003", userinfo: "王五", pipe: "c"}, {id: "2004", userinfo: "赵六2", pipe: "d"},],
489
+ [{id: "3001", userinfo: "张三", pipe: "a"}, {id: "3002", userinfo: "李四", pipe: "b"}, {id: "3003", userinfo: "王五", pipe: "c"}, {id: "3004", userinfo: "赵六3", pipe: "d"}, {id: "3004", userinfo: "赵六5", pipe: "c"},],
490
+ [{id: "4001", userinfo: "张三", pipe: "a"}, {id: "4002", userinfo: "李四", pipe: "b"}, {id: "4003", userinfo: "王五", pipe: "c"}, {id: "4004", userinfo: "赵六4", pipe: "d"},],
491
+ ],
492
+ "underGround": [
493
+ [{id: "-1001", userinfo: "张三", pipe: "a"}, {id: "-1002", userinfo: "李四", pipe: "b"}, {id: "-1003", userinfo: "王五", pipe: "c"}, {id: "-1004", userinfo: "赵六7", pipe: "d"},],
494
+ [{id: "-2001", userinfo: "张三", pipe: "a"}, {id: "-2002", userinfo: "李四", pipe: "b"}, {id: "-2003", userinfo: "王五", pipe: "c"}, {id: "-2004", userinfo: "赵六8", pipe: "d"},],
495
+ ],
496
+ "pipes": {a: 1, b: 1, c: 2, d: 1}
497
+ }
498
+ }
499
+ }
500
+ // ]
501
+ // }
502
+ }
503
+ },
504
+ {type:"Input", VerifyKey:"1",Width:"@100"}
505
+ ]
506
+ }
507
+ ],
508
+ },
509
+ },
510
+ Tree:{
511
+ template:{
512
+ type:'Stack', Original:'@V',
513
+ children:[
514
+ {
515
+ type:'Grid',Column:"@1*",Row:"@1*",
516
+ Background: 'data.Data==stat.Selected: $#ccffcc$, $$',
517
+ for:'stat.ToNodes(stat.Data,stat.Opened,stat.Getter)',
518
+ '@Click':'stat.Select(data)',
519
+ children:[{
520
+ type:"Stack", Left: 'data.Level*20',
521
+ children:[
522
+ {
523
+ type:'Text',Text:'stat.HasChild(data.Data):(data.Open:$-$,$+$),$ $',
524
+ '@Click': 'stat.Switch(data.Data).Notify($Opened$, stat)',
525
+ },
526
+ {
527
+ type: "Slot", SlotName: "@item"
528
+ }
529
+ ]
530
+ }
531
+
532
+ ]
533
+ }
534
+ ]
535
+ }
536
+ },
537
+ Scroll: {
538
+ template: {
539
+ type: "ScrollView", Name:"@ScrollView", ContentX: "stat.ContentX", ContentY: "stat.ContentY",
540
+ "@Change": "stat.SetContentY(e.Value).Notify($ContentY$, stat)", MaxHeight: "stat.MaxHeight",
541
+ children: [
542
+ {
543
+ type: "Slot", SlotName: "@item", Pos: "@Content",
544
+ },
545
+ {
546
+ type: "ScrollBar", Width: "@6", Pos: "@VScroll", Origin: "@V", Value: "stat.ContentY", StrokeStyle: "@#cccccc",
547
+ "@Change": "stat.SetContentY(e.Value).Notify($ContentY$, stat)",
548
+ },
549
+ {
550
+ type: "ScrollBar", Height: "@6", Pos: "@HScroll", Origin: "@H", Value: "stat.ContentX", StrokeStyle: "@#cccccc",
551
+ "@Change": "stat.SetContentX(e.Value).Notify($ContentX$, stat)",
552
+ },
553
+ ]
554
+ },
555
+ },
556
+ TestTabset: {"template":{"type":"Stack","Background":"@#ccddff","children":[{"Slots":{},"children":[{"type":"Tab","children":[{"type":"Text"},{"type":"Text","Text":"@发的"},{"type":"Stack","children":[{"type":"Text","Text":"@发的"}]}]},{"type":"Tab","children":[{"type":"Text"},{"type":"Text","Text":"@不对"}]}],"type":"Tabset","Width":"@500"},{"type":"Text","Width":"@500"}]}},
557
+ Tabset: {
558
+ template: {
559
+ type: "Dock",
560
+ children: [
561
+ {
562
+ type: "Stack", Pos: "@Top",
563
+ "children": [{
564
+ "type": "Agent", "Template": "data",
565
+ "@Click": "stat.SetSelected(index).Notify($Index$)",
566
+ "for": "stat.GetHeads(stat.Children)",
567
+ }],
568
+ },
569
+ {
570
+ type: "Agent", Pos:"@Center", Template: "stat.Get(stat.Index, stat.Children)",
571
+ },
572
+ ]
573
+ },
574
+ },
575
+ WorkFlow:{
576
+ template:{
577
+ type:"WorkFlowBase", Data:"stat.Data", Rootid:"stat.Rootid",
578
+ children:[
579
+ {
580
+ type:"Slot", SlotName:"@item"
581
+ },
582
+ ]
583
+ },
584
+ },
585
+ Editor:{
586
+ template:{
587
+ Name:'@编辑界面', type:'Dock',Background:'@#eeeeee ',
588
+ children:[
589
+ {
590
+ type:'Grid', Name:'@ToolBar', Column:"@*,*,*,1*,", Row:"@*", Pos:'@Top', FillStyle:"@#FFFFFF",
591
+ children:[
592
+ {
593
+ type:'Button', Text:'@打开', Left:"@5", Classes:"@Button",
594
+ "@Click": "stat.Open(e.draw).NotifyAll(stat, $EditPanel$, $EditDrags$, $Slots$)"
595
+ },
596
+ {
597
+ type:'Button', Text:'@保存', Left:"@5", Classes:"@Button",
598
+ '@Click':"stat.Save(e.draw).NotifyAll(stat, $EditPanel$, $Selected$, $Slots$)"
599
+ },
600
+ {
601
+ type:"Stack", Original:"@H", FillStyle:"@#333333",
602
+ children:[
603
+ {type:"Text", for:"stat.GetStates(stat.Slots)", Text:"data", Left:"@10", VAlign:"@Center"},
604
+ ]
605
+ },
606
+ {
607
+ type: 'Stack',HAlign:"@Right",
608
+ children: [
609
+ {type:'Button', Text:'@删除', Left:"@5", Classes:"@Button", '@Click':"stat.Delete(e.draw).Notify($EditPanel$, stat)"}
610
+ ]
611
+ },
612
+ ]
613
+ },
614
+ {
615
+ type:'EditPanel', ID:'@EditPanel', Name:'@界面编辑部分', Pos:'@Center',Row:'@1*', Column:"@1*",
616
+ Selected: "stat.Selected",
617
+ "@Change": "stat.SetSelected(e.Value).NotifyAll(stat, $Selected$, $EditPanel$)",
618
+ "@EditChange": "stat.Notify($EditPanel$, stat)",
619
+ "@DragOver":"stat.DragOver()",
620
+ "@Start":"stat.SetDragComp(e.Value, e.draw)",
621
+ },
622
+ {
623
+ type:'Grid', Column:"@1*", Row:"@1*,1*,*", Pos:'@Left', Width:"@150",
624
+ children:[
625
+ {
626
+ type:'Scroll',
627
+ Slots: {
628
+ item:{
629
+ type:'Stack', Name:'@ComponentList', Original:"@V",
630
+ children:[
631
+ {
632
+ type:'Text', for:tools, Text:'data.name', Tips:"data.Tips", Top:'@5',Height:"@35",
633
+ "@DragStart":"stat.SetDragEditor(data,e.draw)",Left:"@5"
634
+ }
635
+ ]
636
+ }
637
+ }
638
+ },
639
+ {
640
+ type:"Scroll",
641
+ Slots:{
642
+ item:{
643
+ type:'Tree', Name:'@组件树',Getter:"stat", Data:"stat.EditPanel", ID:'@Tree',
644
+ Selected:"stat.Selected",
645
+ "@Change":"stat.SetSelected(e.Value.Data).Notify($Selected$,stat)",
646
+ Slots:{
647
+ item:{
648
+ type:'Stack',
649
+ children:[
650
+ {type:'Text', Text:'@《',
651
+ "@Drop":"stat.DropBefore(data.Data).Notify($EditPanel$, stat)",
652
+ },
653
+ {
654
+ type:'Text', Text:'${data.Data.GetComponent().Type}.{data.Data.GetComponent().Name}',
655
+ "@DragStart": 'stat.SetDragComp(data.Data, e.draw)',
656
+ "@DragOver":"stat.DragOver()",
657
+ "@Drop":"stat.Drop(data.Data).Notify($EditPanel$, stat)", Height:'@35',Font:'@17px 楷体'
658
+ },
659
+ {type:'Text', Text:'@》',
660
+ "@Drop":"stat.DropAfter(data.Data).Notify($EditPanel$, stat)",
661
+ },
662
+ ]
663
+ }
664
+ }
665
+ }
666
+ }
667
+ },
668
+ {
669
+ type:"Dock",
670
+ children: [
671
+ {type:"Text", Text: "@+", "@Click": "stat.ShowModal($modal$)", Pos:"@Top"},
672
+ {type:"Stack", Original:"@V", Pos:"@Center", children:[
673
+ {
674
+ type:"Stack", for: "stat.GetDragNames(stat.EditDrags)",
675
+ children:[
676
+ {type:"Text", Text:"data", "@Click":"stat.ToDrag(data).NotifyAll(stat, $EditPanel$, $Selected$)"},
677
+ {type:"Text", Text:"@-", Left:"@5", "@Click":"stat.ShowDeleteModal(data)"}
678
+ ]
679
+ },
680
+ ]
681
+ }
682
+ ]
683
+ }
684
+ ]
685
+ },
686
+ {
687
+ type:'Stack', Pos:'@Right', Width:'@200', Original:"@V", Background:'@#888888',
688
+ children:[
689
+ {type:"Text", Text:"@属性"},
690
+ {
691
+ type:"Scroll", Name:"@属性列表", Height:"@250",
692
+ Slots:{
693
+ item:{
694
+ type:"List", Data:"stat.GetProperties(stat.Selected)", SelectMode:"@none",
695
+ Slots:{
696
+ item:{
697
+ type:"Grid", Column:"@60,1*",Row:"@*",
698
+ children:[
699
+ {type:"Text", Name:"@属性名",Text:"stat.GetName(data)", Background:'@#ffddcc',VAlign:"@Center", Tips:"stat.GetName(data)"},
700
+ {
701
+ type: "Select", Data: "data.value", if:"stat.GetInputType(data)==$select$",
702
+ Selected:"stat.GetField(stat.Selected, stat.GetName(data))",
703
+ "@Change":"stat.SetField(stat.GetName(data),e.Value),stat.Selected.Notify(stat.GetName(data),stat.Selected)",Height:"@35", Background:'@#cccccc'
704
+ },
705
+ {
706
+ type:"Input", Name:"@属性值", if:"stat.GetInputType(data)==$input$",
707
+ Value:"stat.GetField(stat.Selected, data)",
708
+ "@Change":"stat.SetField(data,e.Value),stat.Selected.Notify(data,stat.Selected)",Height:"@35", Background:'@#cccccc'
709
+ }
710
+ ]
711
+ }
712
+ }
713
+ }
714
+ }
715
+ },
716
+ {type:"Text", Text:"@事件"},
717
+ {
718
+ type:"Scroll", Height:"@200",
719
+ Slots:{
720
+ item:{
721
+ type:"List", Data:"stat.Events",
722
+ Slots:{
723
+ item:{
724
+ type:"Grid", Column:"@60,1*",Row:"@1*", Height:"@35",Width:"@200",
725
+ children:[
726
+ {type:"Text", Text:"data", Width:"@100", Height:"@35", Tips:"data"},
727
+ {type:"Input", Name:"@事件值", Value:"stat.GetEvent(stat.Selected,data)", Height:"@35", "@Change":"stat.SetEvent(data,e.Value)", Background:'@#cccccc'}
728
+ ]
729
+ }
730
+ }
731
+ }
732
+ }
733
+ },
734
+ {type:"Text", Text:"@插槽"},
735
+ {
736
+ type:"Scroll", Height:"@80",
737
+ Slots:{
738
+ item:{
739
+ type:"List", Name:"@插槽列表", Data:"stat.GetSlotNames(stat.Selected)",
740
+ "@Change":"stat.ToSlot(e.Value,e.draw).NotifyAll(stat, $EditPanel$, $Selected$, $Slots$)",
741
+ Slots:{
742
+ item:{
743
+ type:"Text", Text:"data", Width:"@100", Height:"@35"
744
+ }
745
+ }
746
+ }
747
+ }
748
+ }
749
+ ]
750
+ },
751
+ {
752
+ type:"Grid", Pos:"@Bottom", Bottom:"@10"
753
+ }
754
+ ]
755
+ },
756
+ Drag: {
757
+ start: {
758
+ type: "Text", Text: "@拖拽", PaddingLeft: "@10", PaddingTop: "@10", PaddingRight: "@10", PaddingBottom: "@10"
759
+ },
760
+ drag: {
761
+ type: "Text", Text: "@放至此处", PaddingLeft: "@10", PaddingTop: "@10", PaddingRight: "@10", PaddingBottom: "@10",
762
+ },
763
+ modal: {
764
+ type: "Input", "@Change": "stat.AddDrag(e.Value).Notify($EditDrags$, stat)",
765
+ },
766
+ deleteDrag:{
767
+ type:"Text", Text:"@确定删除附加组件?"
768
+ }
769
+ },
770
+ Fields:[ "Background", "Column", "Row", "Classes", "Clip", "ColSpan", "RowSpan", "Data", "Date", "FillStyle", "Font", "GlobalAlpha", "Height", "Width", "HAlign", "VAlign", "Left", "Top", "Right", "Bottom", "if", "PaddingLeft", "PaddingTop", "PaddingRight", "PaddingBottom", "Name", "Radius", "StrokeStyle", "Original","Path",
771
+ {key: "Pos", value: ["@Top", "@Left", "@Center", "@Right", "@Bottom"]},{key:"ShowDateAndTime",value:["@All", "@Time", "@Date"]},
772
+ "Enabled", "Selected", "ShadowBlur", "ShadowColor", "SingleWidth", "TierHeight", "TemplateName", "Text", "Tips", "Value","VerifyKey", "PlaceHolder", "ParentStat", "IsSelected"],
773
+ Events:["Click","Change","DragStart","DragOver","Drop","MouseDown"]
774
+ }
775
+ };
776
+ var DataTest=[
777
+ {name:"张三", sex:"男", age:21, height:177, weight:150},
778
+ {name:"李四", sex:"男", age:22, height:180, weight:160},
779
+ {name:"王五", sex:"男", age:20, height:177, weight:140},
780
+ {name:"赵六", sex:"女", age:23, height:177, weight:120},
781
+ {name:"周七", sex:"男", age:22, height:177, weight:133},
782
+ {name:"吴八", sex:"女", age:25, height:177, weight:122},
783
+ {name:"郑九", sex:"女", age:26, height:177, weight:100},
784
+ ];