address-client 4.0.1 → 4.0.2

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 (160) hide show
  1. package/.gradle/8.5/checksums/checksums.lock +0 -0
  2. package/.gradle/8.5/dependencies-accessors/dependencies-accessors.lock +0 -0
  3. package/.gradle/8.5/dependencies-accessors/gc.properties +0 -0
  4. package/.gradle/8.5/executionHistory/executionHistory.bin +0 -0
  5. package/.gradle/8.5/executionHistory/executionHistory.lock +0 -0
  6. package/.gradle/8.5/fileChanges/last-build.bin +0 -0
  7. package/.gradle/8.5/fileHashes/fileHashes.bin +0 -0
  8. package/.gradle/8.5/fileHashes/fileHashes.lock +0 -0
  9. package/.gradle/8.5/gc.properties +0 -0
  10. package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  11. package/.gradle/buildOutputCleanup/cache.properties +2 -2
  12. package/.gradle/file-system.probe +0 -0
  13. package/.gradle/vcs-1/gc.properties +0 -0
  14. package/CHANGELOG.md +15 -15
  15. package/build/dev-server.js +185 -185
  16. package/build/versionCheck.js +31 -31
  17. package/build/webpack.base.conf.js +82 -82
  18. package/examples/showAdd/App.vue +40 -40
  19. package/gradle/wrapper/gradle-wrapper.jar +0 -0
  20. package/gradle/wrapper/gradle-wrapper.properties +7 -0
  21. package/gradlew +249 -0
  22. package/gradlew.bat +92 -0
  23. package/index.html +44 -44
  24. package/package.json +101 -101
  25. package/src/address.js +74 -74
  26. package/src/components/AddAreaMsg.vue +757 -757
  27. package/src/components/AddCommunityManageMsg.vue +220 -220
  28. package/src/components/AddStreetManageMsg.vue +204 -204
  29. package/src/components/AddStreetOrPcd.vue +316 -316
  30. package/src/components/AddressAddAddress.vue +479 -479
  31. package/src/components/AddressFiles.vue +156 -156
  32. package/src/components/AddressList.vue +637 -637
  33. package/src/components/AddressListLiuLi.vue +17 -17
  34. package/src/components/AddressManage.vue +117 -117
  35. package/src/components/AddressTree.vue +501 -501
  36. package/src/components/AreaFiles.vue +73 -73
  37. package/src/components/AreaList.vue +410 -410
  38. package/src/components/AreaManage.vue +104 -104
  39. package/src/components/AreaTree.vue +508 -508
  40. package/src/components/Basch.vue +72 -72
  41. package/src/components/BatchOrders.vue +328 -328
  42. package/src/components/BuildingList.vue +129 -129
  43. package/src/components/CityList.vue +134 -134
  44. package/src/components/CityManage.vue +76 -76
  45. package/src/components/CommunityAreaList.vue +87 -87
  46. package/src/components/CommunityManage.vue +78 -78
  47. package/src/components/CommunityManageList.vue +244 -244
  48. package/src/components/NewAddressInfo.vue +432 -432
  49. package/src/components/StreetList.vue +241 -241
  50. package/src/components/StreetManage.vue +68 -68
  51. package/src/components/StreetManageList.vue +225 -225
  52. package/src/components/UserAddress.vue +911 -907
  53. package/src/components/UserAddressChange.vue +58 -58
  54. package/src/components/selectAddress/BatchList.vue +326 -326
  55. package/src/components/selectAddress/BatchOrders.vue +37 -36
  56. package/src/filiale/WEINAN/AddAreaMsg.vue +745 -745
  57. package/src/filiale/WEINAN/AddressList.vue +588 -588
  58. package/src/filiale/WEINAN/AddressManage.vue +122 -122
  59. package/src/filiale/WEINAN/AreaList.vue +435 -435
  60. package/src/filiale/WEINAN/AreaManage.vue +109 -109
  61. package/src/filiale/WEINAN/AreaUserList.vue +226 -226
  62. package/src/filiale/WEINAN/UserAddress.vue +783 -783
  63. package/src/filiale/WEINAN/sale.js +18 -18
  64. package/src/filiale/chengtou/UserAddress.vue +894 -894
  65. package/src/filiale/chengtou/sale.js +7 -7
  66. package/src/filiale/dongguan/AddStreetOrPcd.vue +422 -422
  67. package/src/filiale/dongguan/sale.js +7 -7
  68. package/src/filiale/gaomi/AddressList.vue +430 -430
  69. package/src/filiale/gaomi/UserAddress.vue +832 -832
  70. package/src/filiale/gaomi/sale.js +14 -14
  71. package/src/filiale/gongyi/AddAreaMsg.vue +651 -651
  72. package/src/filiale/gongyi/AreaManage.vue +100 -100
  73. package/src/filiale/gongyi/UserAddress.vue +751 -751
  74. package/src/filiale/gongyi/sale.js +14 -14
  75. package/src/filiale/haile/AddressList.vue +615 -615
  76. package/src/filiale/haile/sale.js +8 -8
  77. package/src/filiale/jingwei/UserAddress.vue +764 -764
  78. package/src/filiale/jingwei/sale.js +12 -12
  79. package/src/filiale/lixianV3/AreaList.vue +416 -416
  80. package/src/filiale/lixianV3/sale.js +12 -12
  81. package/src/filiale/macheng/AddAreaMsg.vue +635 -635
  82. package/src/filiale/macheng/AddStreetOrPcd.vue +231 -231
  83. package/src/filiale/macheng/AddressList.vue +613 -613
  84. package/src/filiale/macheng/AreaList.vue +318 -318
  85. package/src/filiale/macheng/CityManage.vue +76 -76
  86. package/src/filiale/macheng/StreetList.vue +186 -186
  87. package/src/filiale/macheng/UserAddress.vue +743 -743
  88. package/src/filiale/macheng/sale.js +17 -17
  89. package/src/filiale/meihekou/UserAddress.vue +898 -898
  90. package/src/filiale/meihekou/sale.js +8 -8
  91. package/src/filiale/qianneng/AddAreaMsg.vue +755 -755
  92. package/src/filiale/qianneng/AddStreetOrPcd.vue +328 -328
  93. package/src/filiale/qianneng/AddressList.vue +638 -638
  94. package/src/filiale/qianneng/AreaList.vue +431 -431
  95. package/src/filiale/qianneng/CityManage.vue +81 -81
  96. package/src/filiale/qianneng/UserAddress.vue +1125 -1125
  97. package/src/filiale/qianneng/sale.js +20 -20
  98. package/src/filiale/qinhua/AddAreaMsg.vue +743 -743
  99. package/src/filiale/qinhua/AddressList.vue +627 -627
  100. package/src/filiale/qinhua/AddressManage.vue +117 -117
  101. package/src/filiale/qinhua/AreaList.vue +425 -425
  102. package/src/filiale/qinhua/AreaManage.vue +100 -100
  103. package/src/filiale/qinhua/CityManage.vue +76 -76
  104. package/src/filiale/qinhua/StreetList.vue +241 -241
  105. package/src/filiale/qinhua/UserAddress.vue +894 -894
  106. package/src/filiale/qinhua/sale.js +20 -20
  107. package/src/filiale/rizhao/UserAddress.vue +897 -897
  108. package/src/filiale/rizhao/sale.js +8 -8
  109. package/src/filiale/rongcheng/AddressList.vue +363 -363
  110. package/src/filiale/rongcheng/UserAddress.vue +799 -799
  111. package/src/filiale/rongcheng/sale.js +11 -11
  112. package/src/filiale/shanggao/AddAreaMsg.vue +752 -752
  113. package/src/filiale/shanggao/AddStreetOrPcd.vue +312 -312
  114. package/src/filiale/shanggao/AddressList.vue +613 -613
  115. package/src/filiale/shanggao/AreaList.vue +436 -436
  116. package/src/filiale/shanggao/BuildingList.vue +129 -129
  117. package/src/filiale/shanggao/StreetList.vue +240 -240
  118. package/src/filiale/shanggao/UserAddress.vue +953 -953
  119. package/src/filiale/shanggao/sale.js +16 -16
  120. package/src/filiale/shanxian/AddAreaMsg.vue +766 -766
  121. package/src/filiale/shanxian/AddressList.vue +658 -658
  122. package/src/filiale/shanxian/AreaList.vue +458 -458
  123. package/src/filiale/shanxian/AreaManage.vue +107 -107
  124. package/src/filiale/shanxian/UserAddress.vue +900 -900
  125. package/src/filiale/shanxian/sale.js +15 -15
  126. package/src/filiale/shaoguan/AddAreaMsg.vue +629 -629
  127. package/src/filiale/shaoguan/UserAddress.vue +762 -762
  128. package/src/filiale/shaoguan/sale.js +11 -11
  129. package/src/filiale/tongchuan/AddAreaMsg.vue +635 -635
  130. package/src/filiale/tongchuan/AddStreetOrPcd.vue +351 -351
  131. package/src/filiale/tongchuan/AddressList.vue +379 -379
  132. package/src/filiale/tongchuan/AreaList.vue +315 -315
  133. package/src/filiale/tongchuan/AreaManage.vue +100 -100
  134. package/src/filiale/tongchuan/CityList.vue +133 -133
  135. package/src/filiale/tongchuan/StreetList.vue +215 -215
  136. package/src/filiale/tongchuan/UserAddress.vue +822 -822
  137. package/src/filiale/tongchuan/sale.js +19 -19
  138. package/src/filiale/wuhai/UserAddress.vue +795 -795
  139. package/src/filiale/wuhai/sale.js +12 -12
  140. package/src/filiale/xihu/AreaList.vue +409 -409
  141. package/src/filiale/xihu/StreetList.vue +238 -238
  142. package/src/filiale/xihu/sale.js +14 -14
  143. package/src/filiale/xinkang/AddAreaMsg.vue +780 -780
  144. package/src/filiale/xinkang/AreaList.vue +413 -413
  145. package/src/filiale/xinkang/sale.js +9 -9
  146. package/src/filiale/yangchun/AddAreaMsg.vue +764 -764
  147. package/src/filiale/yangchun/sale.js +7 -7
  148. package/src/filiale/zhongsheng/AddressList.vue +671 -671
  149. package/src/filiale/zhongsheng/AreaList.vue +500 -500
  150. package/src/filiale/zhongsheng/sale.js +12 -12
  151. package/src/filiale/zhongyi/AddAreaMsg.vue +757 -757
  152. package/src/filiale/zhongyi/sale.js +12 -12
  153. package/src/filiale/zhoukou/AddAreaMsg.vue +673 -673
  154. package/src/filiale/zhoukou/AddressList.vue +391 -391
  155. package/src/filiale/zhoukou/AddressManage.vue +115 -115
  156. package/src/filiale/zhoukou/AreaList.vue +319 -319
  157. package/src/filiale/zhoukou/AreaManage.vue +100 -100
  158. package/src/filiale/zhoukou/UserAddress.vue +925 -925
  159. package/src/filiale/zhoukou/sale.js +23 -23
  160. package/src/main.js +23 -23
@@ -1,40 +1,40 @@
1
- <template>
2
- <app-base>
3
- <div id="content"></div>
4
- </app-base>
5
- </template>
6
-
7
- <script>
8
- import Comp from "./comp"
9
- import {HttpResetClass} from 'vue-client'
10
-
11
- export default {
12
-
13
- ready() {
14
-
15
- // 设置模板为测试,,
16
- global.canvas = "TestDataComponent";
17
- global.myjson = Object.assign(global.myjson, {zx23a
18
- // TestDataComponent: {"template":{"Row":"@1*","Background":"@#f5f7f9","Column":"@300,1*","children":[{"type":"Dock","Name":"@左边","Background":"@#ffffff","StrokeStyle":"@#dce0e3","Classes":"@BorderRect","children":[{"Bottom":"@1","PaddingLeft":"@5","PaddingRight":"@5","StrokeStyle":"@#dce0e3","Column":"@*,*","PaddingBottom":"@4","children":[{"type":"Button","Text":"@查询","@Click":"stat.Popup($SearchPlan$,stat,this,e.draw)","Slots":{"item":{"type":"Image","Path":"this.MouseIn:$searchhover$,$searchnormal$","Classes":"@SearchButtonImg"}}},{"type":"Stack","PaddingBottom":"@4","PaddingTop":"@8"}],"type":"Grid","Name":"@上边","Classes":"@BorderRect","PaddingTop":"@3","Row":"@*,*","Pos":"@Top"},{"children":[{"type":"Scroll","Slots":{"item":{"type":"List","Data":"stat.Data.meterbook.list.data","Name":"@安检计划","@Change":"stat.Call($openBook$, e.Value.self)","Slots":{"item":{"children":[{"PaddingTop":"@20","PaddingLeft":"@10","@DragOver":"stat.DragOver()","children":[{"ColSpan":"@2","Font":"@15px 微软雅黑","Text":"data.f_book_name","type":"Text"},{"type":"Button","Classes":"@BorderRound","Name":"@编辑","@Click":"stat.Call($editBook$,data.self),stat.ShowModal($upPlan$,$编辑抄表册$,$editBookSave$,$cancel$)","Slots":{"item":{"Path":"@edit","type":"Image","Name":"Button_Image"}}},{"Slots":{"item":{"Name":"Button_Image","type":"Image","Path":"@delete"}},"type":"Button","Classes":"@BorderRound","Name":"@删除","@Click":"stat.Call($deleteBook$,data.self),stat.ShowModal($deleteMsg$,$$,$delete$,$cancel$)"},{"Top":"@12","FillStyle":"@#4792de","Text":"$所属公司:{data.f_filiale_name}$","type":"Text","ColSpan":"@2"},{"Top":"@10","children":[{"Classes":"@BorderRound","PaddingBottom":"@2","PaddingTop":"@2","Font":"@12px 微软雅黑","FillStyle":"@#4792de","StrokeStyle":"@#cfdce8","Background":"@#ffffff","Radius":"@8","Text":"data.f_inputtor","type":"Text","ColSpan":"@3","PaddingRight":"@5","PaddingLeft":"@5"}],"type":"Stack","ColSpan":"@2","HAlign":"@Right"},{"type":"Text","Text":"$创建人: {data.f_operator}$","Top":"@12","ColSpan":"@2","Classes":"@NormalFontLighter"},{"type":"Text","Top":"@12","Left":"@10","Classes":"@NormalFontLighter","Text":"@人数"},{"Classes":"@NormalFontHeavy","ColSpan":"@1","Name":"@总数","type":"Text","HAlign":"@Center","Text":"data.num","Top":"@12"},{"Classes":"@NormalFontLighter","Text":"@公司","type":"Text","Top":"@12"},{"Top":"@12","Text":"data.f_orgname","Left":"@5","type":"Text","Classes":"@NormalFontHeavy"},{"Text":"@部门","Classes":"@NormalFontLighter","Left":"@10","Top":"@12","type":"Text"},{"Text":"data.f_depname","Top":"@12","Classes":"@NormalFontHeavy","HAlign":"@Right","type":"Text"},{"type":"Text","Text":"@备注","Top":"@12"},{"type":"Text","Top":"@12","ColSpan":"@3","Text":"data.f_book_remark"}],"type":"Grid","PaddingRight":"@10","Row":"@*,*,*,*,*","PaddingBottom":"@20","Column":"@42,1*,42,1*","@Drop":"stat.Call($moveOneBook$,data.id,stat.GetDrag())"},{"StrokeStyle":"@#dce0e3","Classes":"@BorderRect","Left":"@5","type":"Stack","Right":"@5"}],"type":"Stack","Background":"data.id==stat.Data.SelectedPlan: $#d8eafb$, this.MouseIn: $#f5f6f7$, $$","PaddingBottom":"@1","Width":"@300","Original":"@V"}}}}},{"Classes":"@BorderRect","Left":"@5","type":"Stack","Right":"@5","StrokeStyle":"@#dfe4e7"},{"Column":"@1*,1*","children":[{"type":"Text","Text":"$共{stat.Data.meterbook.list.count}条$"},{"type":"Button","FillStyle":"this.MouseIn:$#000000$,$#666666$","HAlign":"@Right","@Change":"stat.Call($loadMore$,$meterbook$)","Slots":{"item":{"children":[{"type":"Image","VAlign":"@Bottom","Path":"@doubledown"},{"Left":"@4","Text":"@更多","type":"Text"}],"type":"Stack","Name":"LoadMoreButton_Stack"}}}],"type":"Grid","Row":"@1*","PaddingLeft":"@20","PaddingRight":"@20","PaddingTop":"@10","PaddingBottom":"@10"},{"Right":"@5","type":"Stack","Left":"@5","Classes":"@BorderRect","StrokeStyle":"@#dfe4e7"},{"type":"Button","HAlign":"@Center","Top":"@20","Classes":"@BorderRound","Bottom":"@20","@Click":"stat.ShowModal($NewPlan$,$添加抄表册$,$addNewBook$,$cancel$)","Slots":{"item":{"Name":"Button_Image","Path":"this.MouseIn:$addnewhover$,$addnew$","type":"Image"}}}],"type":"Grid","Pos":"@Center","Classes":"@NormalFontlight","Column":"@1*","Row":"@1*,0,*,0,*"}]},{"Background":"@#f5f7f9","Classes":"@BorderRect","Name":"@右边","children":[{"type":"Stack","Classes":"@BorderRect","HAlign":"@Right","Pos":"@Top","Background":"@#ffffff","StrokeStyle":"@#dce0e3","Name":"@工具条","children":[{"type":"Stack","Top":"@4","Bottom":"@4","children":[{"type":"Button","Right":"@10","Text":"@导入","Classes":"@Button2","@Click":"stat.Call($$)"},{"Text":"@导出","Classes":"@Button2","Right":"@24","@Click":"stat.Call($downFile$)","type":"Button"}]}]},{"Pos":"@Center","Row":"@1*,1*","children":[{"children":[{"children":[{"type":"Text","VAlign":"@Center","Text":"@册内用户"},{"Value":"stat.Data.bookuser.search.model.f_user_name","@Change":"stat.Call($setProperty$, $bookuser$, $f_user_name$, e.Value)","type":"Input","Left":"@10","Width":"@150","PlaceHolder":"@客户姓名","Classes":"@BorderRect"},{"Width":"@150","@Change":"stat.Call($setProperty$, $bookuser$, $f_address$, e.Value)","type":"Input","Classes":"@BorderRect","PlaceHolder":"@客户地址","Value":"stat.Data.bookuser.search.model.f_address","Left":"@10"},{"type":"Input","Value":"stat.Data.bookuser.search.model.f_user_phone","Width":"@150","Left":"@10","PlaceHolder":"@客户电话","@Change":"stat.Call($setProperty$, $bookuser$, $f_user_phone$, e.Value)"},{"Slots":{"item":{"type":"Image","Name":"SearchButton_Image","Classes":"@SearchButtonImg"}},"type":"Button","Classes":"@SearchButton BorderRound","Left":"@10","@Click":"stat.Call($searchBookUser$)"},{"type":"Text","Text":"stat.Data.selectBook.f_book_name","VAlign":"@Center","HAlign":"@Center","PaddingLeft":"@20"}],"type":"Stack","Bottom":"@17"},{"Slots":{"head":{"children":[{"children":[{"@Change":"stat.Call($setCheckAll$, $bookuser$)","type":"CheckBox"},{"type":"Text","Left":"@9","Text":"@全选"}],"type":"Stack","Classes":"@DataGridHead","HAlign":"@Center"},{"Classes":"@DataGridHead","type":"Text","Text":"@客户姓名"},{"Text":"@客户地址","Classes":"@DataGridHead","type":"Text"},{"Classes":"@DataGridHead","Text":"@客户电话","type":"Text"}],"type":"Grid","Row":"@1*"},"item":{"children":[{"type":"CheckBox","IsSelected":"stat.Data.bookuser.check.Call($isChecked$, data.f_userfiles_id)","Classes":"@DataGridBody","HAlign":"@Center","@Change":"stat.Call($setCheck$, $bookuser$, data.f_userfiles_id)"},{"type":"Text","Text":"data.f_user_name","Classes":"@DataGridBody"},{"Text":"data.f_address","type":"Text","Classes":"@DataGridBody"},{"Classes":"@DataGridBody","Text":"data.f_user_phone","type":"Text"}],"type":"Grid","Row":"@1*"}},"type":"DataGrid","Data":"stat.Data.bookuser.list.data","Classes":"@BorderRect","Column":"@100,150,300,200","@DragStart":"stat.SetDrag($in$)","@DragOver":"stat.DragOver()","@Drop":"stat.Call($userInToBook$,stat.Data.selectBook.id,stat.GetDrag())"},{"Top":"@12","Row":"@1*","Column":"@*,*,1*,*","PaddingTop":"@5","Classes":"@NormalFontlight","children":[{"type":"Text","Text":"@"},{"Left":"@20","type":"Text","VAlign":"@Center","Text":"$共{stat.Data.bookuser.list.count}条$"},{"type":"Text","Text":"@ "},{"type":"Button","FillStyle":"this.MouseIn:$#000000$,$#666666$","@Click":"stat.Call($loadMore$,$bookuser$)","Slots":{"item":{"type":"Stack","Name":"LoadMoreButton_Stack","children":[{"type":"Image","VAlign":"@Bottom","Path":"@doubledown"},{"Left":"@4","Text":"@更多","type":"Text"}]}}}],"type":"Grid"}],"type":"Grid","Column":"@1*","PaddingBottom":"@20","Classes":"@BorderRect","PaddingLeft":"@10","Row":"@*,1*,*","StrokeStyle":"@#dfe4e7","PaddingRight":"@24","PaddingTop":"@12"},{"StrokeStyle":"@#dfe4e7","Classes":"@BorderRect","children":[{"Bottom":"@17","children":[{"type":"Text","Text":"@未在册内用户","VAlign":"@Center"},{"Left":"@10","Width":"@150","@Change":"stat.Call($setProperty$, $notinbookuser$, $f_user_name$, e.Value)","type":"Input","PlaceHolder":"@客户姓名","Value":"stat.Data.notinbookuser.search.model.f_user_name","Classes":"@BorderRect"},{"Classes":"@BorderRect","Left":"@10","Width":"@150","PlaceHolder":"@客户地址","@Change":"stat.Call($setProperty$, $notinbookuser$, $f_address$, e.Value)","type":"Input","Value":"stat.Data.notinbookuser.search.model.f_address"},{"Left":"@10","@Change":"stat.Call($setProperty$, $notinbookuser$, $f_user_phone$, e.Value)","type":"Input","Width":"@150","PlaceHolder":"@客户电话","Value":"stat.Data.notinbookuser.search.model.f_user_phone"},{"Left":"@10","Classes":"@SearchButton BorderRound","@Click":"stat.Call($searchNotInBookUser$)","Slots":{"item":{"type":"Image","Name":"SearchButton_Image","Classes":"@SearchButtonImg"}},"type":"Button"}],"type":"Stack"},{"Classes":"@BorderRect","Data":"stat.Data.notinbookuser.list.data","Column":"@100,150,300,200","@Drop":"stat.Call($userOutBook$,stat.Data.selectBook.id,stat.GetDrag())","@DragStart":"stat.SetDrag($out$)","@DragOver":"stat.DragOver()","Slots":{"head":{"type":"Grid","Row":"@*","children":[{"type":"Stack","Classes":"@DataGridHead","children":[{"type":"CheckBox","@Change":"stat.Call($setCheckAll$, $notinbookuser$)"},{"Left":"@9","type":"Text","Text":"@全选"}]},{"Text":"@客户姓名","type":"Text","Classes":"@DataGridHead"},{"Text":"@客户地址","Classes":"@DataGridHead","type":"Text"},{"Classes":"@DataGridHead","type":"Text","Text":"@客户电话"}]},"item":{"type":"Grid","Row":"@*","children":[{"HAlign":"@Center","IsSelected":"stat.Data.notinbookuser.check.Call($isChecked$, data.f_userfiles_id)","@Change":"stat.Call($setCheck$, $notinbookuser$, data.f_userfiles_id)","type":"CheckBox","Classes":"@DataGridBody","VAlign":"@Center"},{"Text":"data.f_user_name","Classes":"@DataGridBody","type":"Text"},{"type":"Text","Text":"data.f_address","Classes":"@DataGridBody"},{"Classes":"@DataGridBody","Text":"data.f_user_phone","type":"Text"}]}},"type":"DataGrid"},{"Classes":"@NormalFontlight","Top":"@12","Row":"@1*","children":[{"type":"Text","Text":"@"},{"Left":"@20","Text":"$共{stat.Data.notinbookuser.list.count}条$","type":"Text"},{"type":"Text","Text":"@ "},{"Slots":{"item":{"children":[{"type":"Image","Path":"@doubledown","VAlign":"@Bottom"},{"Left":"@4","Text":"@更多","type":"Text"}],"type":"Stack"}},"type":"Button","Text":"@加载更多","FillStyle":"this.MouseIn:$#000000$,$#666666$","@Click":"stat.Call($loadMore$,$notinbookuser$)"}],"type":"Grid","Column":"@*,*,1*,*"}],"type":"Grid","Row":"@*,1*,*","Column":"@1*","PaddingLeft":"@10","PaddingBottom":"@20","PaddingRight":"@24","PaddingTop":"@12"}],"type":"Grid","Column":"@1*"}],"type":"Dock"}],"type":"Grid"},"Drag":{"upPlan":{"type":"Grid","Column":"@*","Row":"@*","children":[{"Background":"@#ffffff","Classes":"@NormalFontlight","PaddingTop":"@20","Row":"@*,*","Column":"@80,170,80,170","children":[{"VAlign":"@Center","type":"Text","Text":"@* 抄表册名","Right":"@10","HAlign":"@Right"},{"type":"Input","Value":"stat.Data.editBookInfo.f_book_name","@Change":"stat.Call($editBookInfos$,$f_book_name$,e.Value)"},{"type":"Text","Text":"@抄表员","Right":"@10","HAlign":"@Right","VAlign":"@Center"},{"type":"Select","Data":"stat.Data.inputtorInfo","Classes":"@SelectWhite BorderRound","Selected":"stat.Data.editBookInfo.f_inputtor","@Change":"stat.Call($editBookInfos$,$f_inputtor$,e.Value)"},{"HAlign":"@Right","VAlign":"@Center","type":"Text","Top":"@10","Text":"@所属公司","Right":"@10"},{"type":"Select","Classes":"@SelectWhite BorderRound","Top":"@10","Selected":"stat.Data.editBookInfo.f_filiale_name","Data":"stat.Data.orgInfo","@Change":"stat.Call($editBookInfos$,$f_filiale_name$,e.Value)"},{"type":"Text","Top":"@10","Text":"@备注","Right":"@10","HAlign":"@Right","VAlign":"@Center"},{"@Change":"stat.Call($editBookInfos$,$f_book_remark$,e.Value)","type":"Input","Value":"stat.Data.editBookInfo.f_book_remark","Top":"@10"}],"PaddingBottom":"@20","PaddingLeft":"@20","PaddingRight":"@36","type":"Grid"}]},"SearchPlan":{"children":[{"Row":"@*,*,*,*,*,*","children":[{"Classes":"@GridLabel","Text":"@抄表册名","type":"Text","PaddingBottom":"@6"},{"type":"Input","Value":"stat.Data.meterbook.search.model.f_book_name","@Change":"stat.Call($setProperty$, $meterbook$, $f_book_name$, e.Value)"},{"Text":"@抄表员","Classes":"@GridLabel","PaddingBottom":"@6","PaddingTop":"@6","type":"Text"},{"@Change":"stat.Call($setProperty$, $meterbook$, $f_inputtor$, e.Value)","type":"Input","PaddingTop":"@6","Value":"stat.Data.meterbook.search.model.f_inputtor"},{"type":"Stack","Top":"@20","ColSpan":"@2","HAlign":"@Center","children":[{"type":"Button","Classes":"@Button2","Right":"@50","Text":"@取消","@Click":"stat.RestorePopup(this,e.draw)"},{"@Click":"stat.Call($searchMeterBook$),stat.RestorePopup(this,e.draw)","type":"Button","FillStyle":"@#ffffff","Classes":"@Button","Text":"@查询"}]}],"PaddingBottom":"@10","PaddingTop":"@10","Classes":"@BorderRound NormalFont PopupSearch","PaddingLeft":"@10","type":"Grid","PaddingRight":"@20","Column":"@70,170"}],"type":"Grid","Column":"@1*","Classes":"@PopupSearch PopupShadow","Row":"@1*"},"drag":{"Text":"@","type":"Text"},"start":{"Path":"@drag","type":"Image"},"NewPlan":{"Column":"@*","Row":"@*","children":[{"type":"Grid","PaddingLeft":"@20","Pos":"@Center","Row":"@*,*,*","PaddingRight":"@36","Classes":"@NormalFontlight","Column":"@80,170,80,170,80,170","PaddingBottom":"@20","children":[{"Right":"@10","Text":"@* 抄表册名称","HAlign":"@Right","VAlign":"@Center","type":"Text"},{"@Change":"stat.Call($addNewBookInfo$, $f_book_name$, e.Value)","type":"Input"},{"HAlign":"@Right","VAlign":"@Center","Right":"@10","type":"Text","Text":"@抄表员"},{"Classes":"@SelectWhite BorderRound","Data":"stat.Data.inputtorInfo","@Change":"stat.Call($addNewBookInfo$, $f_inputtor$, e.Value)","type":"Select"},{"HAlign":"@Right","VAlign":"@Center","Right":"@10","Text":"@所属公司","type":"Text"},{"@Change":"stat.Call($addNewBookInfo$, $f_filiale_name$, e.Value)","type":"Select","Classes":"@SelectWhite BorderRound","Data":"stat.Data.orgInfo"},{"PaddingBottom":"@6","Right":"@10","Text":"@公司","Top":"@10","HAlign":"@Right","VAlign":"@Center","type":"Text","PaddingTop":"@6"},{"type":"Text","Top":"@10","Text":"stat.Data.loginInfo.data.orgs","HAlign":"@Center","VAlign":"@Center"},{"HAlign":"@Right","VAlign":"@Center","type":"Text","Top":"@10","Right":"@10","Text":"@部门"},{"HAlign":"@Center","type":"Text","VAlign":"@Center","Top":"@10","Text":"stat.Data.loginInfo.data.deps"},{"Text":"@登陆人","HAlign":"@Right","VAlign":"@Center","type":"Text","Right":"@10","Top":"@10"},{"Text":"stat.Data.loginInfo.data.name","type":"Text","Top":"@10","HAlign":"@Center","VAlign":"@Center"},{"Top":"@10","Text":"@备注","PaddingTop":"@6","PaddingBottom":"@6","HAlign":"@Right","VAlign":"@Center","type":"Text","Right":"@10"},{"ColSpan":"@5","Top":"@10","@Change":"stat.Call($addNewBookInfo$, $f_book_remark$, e.Value)","type":"Input"}],"Background":"@#ffffff","PaddingTop":"@20"}],"type":"Grid"},"deleteMsg":{"children":[{"children":[{"PaddingLeft":"@100","PaddingRight":"@100","type":"Text","PaddingTop":"@70","PaddingBottom":"@70","VAlign":"@Center","Text":"$确认删除{stat.Data.deleteBookInfo.f_book_name}?$","HAlign":"@Center"}],"type":"Grid","Column":"@*","Background":"@#ffffff","Classes":"@NormalFontlight","HAlign":"@Center","VAlign":"@Center","Row":"@*"}],"type":"Grid","Column":"@*","Row":"@*"}}}
19
- TestDataComponent:
20
- {"template":{"Row":"@1*","Background":"@#f5f7f9","Column":"@300,1*","children":[{"Classes":"@BorderRect","Name":"@左边","Background":"@#ffffff","children":[{"type":"Grid","PaddingRight":"@5","StrokeStyle":"@#dce0e3","Classes":"@BorderRect","Name":"@上边","children":[{"type":"Button","Text":"@查询","@Click":"stat.Popup($SearchPlan$,stat,this,e.draw)","Slots":{"item":{"Path":"this.MouseIn:$searchhover$,$searchnormal$","Classes":"@SearchButtonImg","type":"Image"}}},{"type":"Stack","PaddingBottom":"@4","PaddingTop":"@8"},{"type":"Button","Classes":"@BorderRound","PaddingTop":"@5","@Click":"stat.Call($listBack$)","Slots":{"item":{"Path":"@back","type":"Image","Name":"Button_Image"}}}],"Column":"@*,1*,*","PaddingTop":"@3","Pos":"@Top","Row":"@*,*","PaddingLeft":"@5","PaddingBottom":"@4","Bottom":"@1"},{"Row":"@30,1*,0,*,0","Pos":"@Center","Classes":"@NormalFontlight","children":[{"type":"Text","VAlign":"@Center","HAlign":"@Center","Text":"stat.Data.selectCommunityInfo"},{"type":"Scroll","Slots":{"item":{"Slots":{"item":{"type":"Stack","PaddingBottom":"@1","Width":"@300","Original":"@V","children":[{"type":"Grid","PaddingTop":"@20","Column":"@42,1*,42,1*","PaddingLeft":"@10","PaddingRight":"@10","PaddingBottom":"@20","Row":"@20,20,20","children":[{"Font":"@15px 微软雅黑","Text":"data.name","ColSpan":"@4","type":"Text"},{"ColSpan":"@1","type":"Text","FillStyle":"@#4792de","Text":"@省份"},{"type":"Text","Classes":"@NormalFontHeavy","ColSpan":"@1","Text":"data.province"},{"FillStyle":"@#4792de","type":"Text","Text":"@地区"},{"Text":"data.district","type":"Text"},{"type":"Text","FillStyle":"@#4792de","Text":"@街道"},{"type":"Text","Text":"data.street"}]},{"StrokeStyle":"@#dce0e3","type":"Stack","Classes":"@BorderRect","Left":"@5","Right":"@5"}]}},"type":"List","Name":"@安检计划","Data":"stat.Data.listInfo","@Change":"stat.Call($checkCom$, e.Value.self)"}}},{"Left":"@5","type":"Stack","Right":"@5","StrokeStyle":"@#dfe4e7","Classes":"@BorderRect"},{"PaddingBottom":"@10","Column":"@1*,1*","Row":"@1*","PaddingLeft":"@20","PaddingRight":"@20","PaddingTop":"@10","children":[{"type":"Text","Text":"@"},{"type":"Button","HAlign":"@Right","FillStyle":"this.MouseIn:$#000000$,$#666666$","@Click":"stat.Call($loadMore$,$community$)","Slots":{"item":{"type":"Stack","Name":"LoadMoreButton_Stack","children":[{"type":"Image","VAlign":"@Bottom","Path":"@doubledown"},{"type":"Text","Left":"@4","Text":"@更多"}]}}}],"type":"Grid"},{"StrokeStyle":"@#dfe4e7","Right":"@5","type":"Stack","Left":"@5","Classes":"@BorderRect"}],"type":"Grid","Column":"@1*"}],"type":"Dock","StrokeStyle":"@#dce0e3"},{"type":"Dock","Background":"@#f5f7f9","Classes":"@BorderRect","Name":"@右边","children":[{"Pos":"@Top","Background":"@#ffffff","StrokeStyle":"@#dce0e3","Name":"@工具条","Classes":"@BorderRect","children":[{"HAlign":"@Center","VAlign":"@Center","Pos":"@Center","Text":"stat.Data.selectShow","type":"Text"},{"type":"Stack","Top":"@4","Bottom":"@4","children":[{"PaddingTop":"@10","Text":"@","type":"Text"}]}],"type":"Stack","HAlign":"@Center"},{"type":"Grid","Column":"@1*","Pos":"@Center","Row":"@1*","Background":"@#F7F7F7","children":[{"VAlign":"@Center","Width":"@1000","Slots":{"item":{"Data":"stat.Data.towerInfo","TierHeight":"@90","SingleWidth":"@120","HAlign":"@Center","VAlign":"@Center","type":"DynamicTable"}},"type":"Scroll","Height":"@800","HAlign":"@Center"}]}]}],"type":"Grid"},"Drag":{"deleteMsg":{"children":[{"children":[{"PaddingBottom":"@70","VAlign":"@Center","Text":"$确认删除{stat.Data.deleteBookInfo.f_book_name}?$","HAlign":"@Center","PaddingLeft":"@100","PaddingRight":"@100","type":"Text","PaddingTop":"@70"}],"type":"Grid","Column":"@*","Background":"@#ffffff","Classes":"@NormalFontlight","HAlign":"@Center","VAlign":"@Center","Row":"@*"}],"type":"Grid","Column":"@*","Row":"@*"},"upPlan":{"Row":"@*","children":[{"PaddingLeft":"@20","PaddingTop":"@20","PaddingBottom":"@20","PaddingRight":"@36","Row":"@*,*","Background":"@#ffffff","children":[{"Text":"@* 抄表册名","Right":"@10","HAlign":"@Right","VAlign":"@Center","type":"Text"},{"@Change":"stat.Call($editBookInfos$,$f_book_name$,e.Value)","type":"Input","Value":"stat.Data.editBookInfo.f_book_name"},{"HAlign":"@Right","VAlign":"@Center","type":"Text","Text":"@抄表员","Right":"@10"},{"Data":"stat.Data.inputtorInfo","Classes":"@SelectWhite BorderRound","Selected":"stat.Data.editBookInfo.f_inputtor","@Change":"stat.Call($editBookInfos$,$f_inputtor$,e.Value)","type":"Select"},{"HAlign":"@Right","VAlign":"@Center","type":"Text","Top":"@10","Text":"@所属公司","Right":"@10"},{"@Change":"stat.Call($editBookInfos$,$f_filiale_name$,e.Value)","type":"Select","Classes":"@SelectWhite BorderRound","Top":"@10","Selected":"stat.Data.editBookInfo.f_filiale_name","Data":"stat.Data.orgInfo"},{"type":"Text","Top":"@10","Text":"@备注","Right":"@10","HAlign":"@Right","VAlign":"@Center"},{"type":"Input","Value":"stat.Data.editBookInfo.f_book_remark","Top":"@10","@Change":"stat.Call($editBookInfos$,$f_book_remark$,e.Value)"}],"Column":"@80,170,80,170","type":"Grid","Classes":"@NormalFontlight"}],"type":"Grid","Column":"@*"},"SearchPlan":{"type":"Grid","Row":"@1*","Column":"@1*","Classes":"@PopupSearch PopupShadow","children":[{"Row":"@*,*,*,*,*,*","PaddingLeft":"@10","type":"Grid","PaddingTop":"@10","Column":"@70,170","PaddingBottom":"@10","Classes":"@BorderRound NormalFont PopupSearch","PaddingRight":"@20","children":[{"PaddingBottom":"@6","Classes":"@GridLabel","Text":"@小区名称","type":"Text"},{"type":"Input","Value":"stat.Data.community.search.model.name","@Change":"stat.Call($setProperty$, $community$, $name$, e.Value)"},{"PaddingTop":"@6","Text":"@街 道","Classes":"@GridLabel","type":"Text","PaddingBottom":"@6"},{"PaddingTop":"@6","@Change":"stat.Call($setProperty$, $community$, $street$, e.Value)","type":"Input","Value":"stat.Data.community.search.model.street"},{"ColSpan":"@2","HAlign":"@Center","children":[{"type":"Button","Right":"@50","Text":"@取消","Classes":"@Button2","@Click":"stat.RestorePopup(this,e.draw)"},{"Classes":"@Button","Text":"@查询","FillStyle":"@#ffffff","@Click":"stat.Call($searchCommunity$),stat.RestorePopup(this,e.draw)","type":"Button"}],"type":"Stack","Top":"@20"}]}]},"drag":{"Text":"@","type":"Text"},"start":{"Path":"@drag","type":"Image"},"NewPlan":{"Column":"@*","Row":"@*","children":[{"PaddingTop":"@20","Column":"@80,170,80,170,80,170","Classes":"@NormalFontlight","type":"Grid","PaddingBottom":"@20","children":[{"HAlign":"@Right","VAlign":"@Center","type":"Text","Right":"@10","Text":"@* 抄表册名称"},{"type":"Input","@Change":"stat.Call($addNewBookInfo$, $f_book_name$, e.Value)"},{"type":"Text","Text":"@抄表员","HAlign":"@Right","VAlign":"@Center","Right":"@10"},{"@Change":"stat.Call($addNewBookInfo$, $f_inputtor$, e.Value)","type":"Select","Classes":"@SelectWhite BorderRound","Data":"stat.Data.inputtorInfo"},{"VAlign":"@Center","Right":"@10","Text":"@所属公司","type":"Text","HAlign":"@Right"},{"type":"Select","Classes":"@SelectWhite BorderRound","Data":"stat.Data.orgInfo","@Change":"stat.Call($addNewBookInfo$, $f_filiale_name$, e.Value)"},{"Right":"@10","Text":"@公司","Top":"@10","HAlign":"@Right","VAlign":"@Center","type":"Text","PaddingTop":"@6","PaddingBottom":"@6"},{"Top":"@10","Text":"stat.Data.loginInfo.data.orgs","HAlign":"@Center","VAlign":"@Center","type":"Text"},{"type":"Text","Top":"@10","Right":"@10","Text":"@部门","HAlign":"@Right","VAlign":"@Center"},{"Top":"@10","Text":"stat.Data.loginInfo.data.deps","HAlign":"@Center","type":"Text","VAlign":"@Center"},{"HAlign":"@Right","VAlign":"@Center","type":"Text","Right":"@10","Top":"@10","Text":"@登陆人"},{"Text":"stat.Data.loginInfo.data.name","type":"Text","Top":"@10","HAlign":"@Center","VAlign":"@Center"},{"PaddingBottom":"@6","HAlign":"@Right","VAlign":"@Center","type":"Text","Right":"@10","Top":"@10","Text":"@备注","PaddingTop":"@6"},{"ColSpan":"@5","Top":"@10","@Change":"stat.Call($addNewBookInfo$, $f_book_remark$, e.Value)","type":"Input"}],"Pos":"@Center","Row":"@*,*,*","PaddingRight":"@36","PaddingLeft":"@20","Background":"@#ffffff"}],"type":"Grid"}}}
21
- });
22
- loadWasm().then(() => {
23
- global.stat = new Comp()
24
-
25
- if (this.$login) {
26
- global.stat.loginInfo = this.$login.f
27
- console.log('登录信息', this.$login.f)
28
- console.log('stat',global.stat)
29
- console.log('login',global.stat.loginInfo)
30
- }
31
- global.stat.ready().then(() => {
32
- console.log(global.stat)
33
- run()
34
- })
35
- })
36
- }
37
-
38
-
39
- }
40
- </script>
1
+ <template>
2
+ <app-base>
3
+ <div id="content"></div>
4
+ </app-base>
5
+ </template>
6
+
7
+ <script>
8
+ import Comp from "./comp"
9
+ import {HttpResetClass} from 'vue-client'
10
+
11
+ export default {
12
+
13
+ ready() {
14
+
15
+ // 设置模板为测试,,
16
+ global.canvas = "TestDataComponent";
17
+ global.myjson = Object.assign(global.myjson, {zx23a
18
+ // TestDataComponent: {"template":{"Row":"@1*","Background":"@#f5f7f9","Column":"@300,1*","children":[{"type":"Dock","Name":"@左边","Background":"@#ffffff","StrokeStyle":"@#dce0e3","Classes":"@BorderRect","children":[{"Bottom":"@1","PaddingLeft":"@5","PaddingRight":"@5","StrokeStyle":"@#dce0e3","Column":"@*,*","PaddingBottom":"@4","children":[{"type":"Button","Text":"@查询","@Click":"stat.Popup($SearchPlan$,stat,this,e.draw)","Slots":{"item":{"type":"Image","Path":"this.MouseIn:$searchhover$,$searchnormal$","Classes":"@SearchButtonImg"}}},{"type":"Stack","PaddingBottom":"@4","PaddingTop":"@8"}],"type":"Grid","Name":"@上边","Classes":"@BorderRect","PaddingTop":"@3","Row":"@*,*","Pos":"@Top"},{"children":[{"type":"Scroll","Slots":{"item":{"type":"List","Data":"stat.Data.meterbook.list.data","Name":"@安检计划","@Change":"stat.Call($openBook$, e.Value.self)","Slots":{"item":{"children":[{"PaddingTop":"@20","PaddingLeft":"@10","@DragOver":"stat.DragOver()","children":[{"ColSpan":"@2","Font":"@15px 微软雅黑","Text":"data.f_book_name","type":"Text"},{"type":"Button","Classes":"@BorderRound","Name":"@编辑","@Click":"stat.Call($editBook$,data.self),stat.ShowModal($upPlan$,$编辑抄表册$,$editBookSave$,$cancel$)","Slots":{"item":{"Path":"@edit","type":"Image","Name":"Button_Image"}}},{"Slots":{"item":{"Name":"Button_Image","type":"Image","Path":"@delete"}},"type":"Button","Classes":"@BorderRound","Name":"@删除","@Click":"stat.Call($deleteBook$,data.self),stat.ShowModal($deleteMsg$,$$,$delete$,$cancel$)"},{"Top":"@12","FillStyle":"@#4792de","Text":"$所属公司:{data.f_filiale_name}$","type":"Text","ColSpan":"@2"},{"Top":"@10","children":[{"Classes":"@BorderRound","PaddingBottom":"@2","PaddingTop":"@2","Font":"@12px 微软雅黑","FillStyle":"@#4792de","StrokeStyle":"@#cfdce8","Background":"@#ffffff","Radius":"@8","Text":"data.f_inputtor","type":"Text","ColSpan":"@3","PaddingRight":"@5","PaddingLeft":"@5"}],"type":"Stack","ColSpan":"@2","HAlign":"@Right"},{"type":"Text","Text":"$创建人: {data.f_operator}$","Top":"@12","ColSpan":"@2","Classes":"@NormalFontLighter"},{"type":"Text","Top":"@12","Left":"@10","Classes":"@NormalFontLighter","Text":"@人数"},{"Classes":"@NormalFontHeavy","ColSpan":"@1","Name":"@总数","type":"Text","HAlign":"@Center","Text":"data.num","Top":"@12"},{"Classes":"@NormalFontLighter","Text":"@公司","type":"Text","Top":"@12"},{"Top":"@12","Text":"data.f_orgname","Left":"@5","type":"Text","Classes":"@NormalFontHeavy"},{"Text":"@部门","Classes":"@NormalFontLighter","Left":"@10","Top":"@12","type":"Text"},{"Text":"data.f_depname","Top":"@12","Classes":"@NormalFontHeavy","HAlign":"@Right","type":"Text"},{"type":"Text","Text":"@备注","Top":"@12"},{"type":"Text","Top":"@12","ColSpan":"@3","Text":"data.f_book_remark"}],"type":"Grid","PaddingRight":"@10","Row":"@*,*,*,*,*","PaddingBottom":"@20","Column":"@42,1*,42,1*","@Drop":"stat.Call($moveOneBook$,data.id,stat.GetDrag())"},{"StrokeStyle":"@#dce0e3","Classes":"@BorderRect","Left":"@5","type":"Stack","Right":"@5"}],"type":"Stack","Background":"data.id==stat.Data.SelectedPlan: $#d8eafb$, this.MouseIn: $#f5f6f7$, $$","PaddingBottom":"@1","Width":"@300","Original":"@V"}}}}},{"Classes":"@BorderRect","Left":"@5","type":"Stack","Right":"@5","StrokeStyle":"@#dfe4e7"},{"Column":"@1*,1*","children":[{"type":"Text","Text":"$共{stat.Data.meterbook.list.count}条$"},{"type":"Button","FillStyle":"this.MouseIn:$#000000$,$#666666$","HAlign":"@Right","@Change":"stat.Call($loadMore$,$meterbook$)","Slots":{"item":{"children":[{"type":"Image","VAlign":"@Bottom","Path":"@doubledown"},{"Left":"@4","Text":"@更多","type":"Text"}],"type":"Stack","Name":"LoadMoreButton_Stack"}}}],"type":"Grid","Row":"@1*","PaddingLeft":"@20","PaddingRight":"@20","PaddingTop":"@10","PaddingBottom":"@10"},{"Right":"@5","type":"Stack","Left":"@5","Classes":"@BorderRect","StrokeStyle":"@#dfe4e7"},{"type":"Button","HAlign":"@Center","Top":"@20","Classes":"@BorderRound","Bottom":"@20","@Click":"stat.ShowModal($NewPlan$,$添加抄表册$,$addNewBook$,$cancel$)","Slots":{"item":{"Name":"Button_Image","Path":"this.MouseIn:$addnewhover$,$addnew$","type":"Image"}}}],"type":"Grid","Pos":"@Center","Classes":"@NormalFontlight","Column":"@1*","Row":"@1*,0,*,0,*"}]},{"Background":"@#f5f7f9","Classes":"@BorderRect","Name":"@右边","children":[{"type":"Stack","Classes":"@BorderRect","HAlign":"@Right","Pos":"@Top","Background":"@#ffffff","StrokeStyle":"@#dce0e3","Name":"@工具条","children":[{"type":"Stack","Top":"@4","Bottom":"@4","children":[{"type":"Button","Right":"@10","Text":"@导入","Classes":"@Button2","@Click":"stat.Call($$)"},{"Text":"@导出","Classes":"@Button2","Right":"@24","@Click":"stat.Call($downFile$)","type":"Button"}]}]},{"Pos":"@Center","Row":"@1*,1*","children":[{"children":[{"children":[{"type":"Text","VAlign":"@Center","Text":"@册内用户"},{"Value":"stat.Data.bookuser.search.model.f_user_name","@Change":"stat.Call($setProperty$, $bookuser$, $f_user_name$, e.Value)","type":"Input","Left":"@10","Width":"@150","PlaceHolder":"@客户姓名","Classes":"@BorderRect"},{"Width":"@150","@Change":"stat.Call($setProperty$, $bookuser$, $f_address$, e.Value)","type":"Input","Classes":"@BorderRect","PlaceHolder":"@客户地址","Value":"stat.Data.bookuser.search.model.f_address","Left":"@10"},{"type":"Input","Value":"stat.Data.bookuser.search.model.f_user_phone","Width":"@150","Left":"@10","PlaceHolder":"@客户电话","@Change":"stat.Call($setProperty$, $bookuser$, $f_user_phone$, e.Value)"},{"Slots":{"item":{"type":"Image","Name":"SearchButton_Image","Classes":"@SearchButtonImg"}},"type":"Button","Classes":"@SearchButton BorderRound","Left":"@10","@Click":"stat.Call($searchBookUser$)"},{"type":"Text","Text":"stat.Data.selectBook.f_book_name","VAlign":"@Center","HAlign":"@Center","PaddingLeft":"@20"}],"type":"Stack","Bottom":"@17"},{"Slots":{"head":{"children":[{"children":[{"@Change":"stat.Call($setCheckAll$, $bookuser$)","type":"CheckBox"},{"type":"Text","Left":"@9","Text":"@全选"}],"type":"Stack","Classes":"@DataGridHead","HAlign":"@Center"},{"Classes":"@DataGridHead","type":"Text","Text":"@客户姓名"},{"Text":"@客户地址","Classes":"@DataGridHead","type":"Text"},{"Classes":"@DataGridHead","Text":"@客户电话","type":"Text"}],"type":"Grid","Row":"@1*"},"item":{"children":[{"type":"CheckBox","IsSelected":"stat.Data.bookuser.check.Call($isChecked$, data.f_userfiles_id)","Classes":"@DataGridBody","HAlign":"@Center","@Change":"stat.Call($setCheck$, $bookuser$, data.f_userfiles_id)"},{"type":"Text","Text":"data.f_user_name","Classes":"@DataGridBody"},{"Text":"data.f_address","type":"Text","Classes":"@DataGridBody"},{"Classes":"@DataGridBody","Text":"data.f_user_phone","type":"Text"}],"type":"Grid","Row":"@1*"}},"type":"DataGrid","Data":"stat.Data.bookuser.list.data","Classes":"@BorderRect","Column":"@100,150,300,200","@DragStart":"stat.SetDrag($in$)","@DragOver":"stat.DragOver()","@Drop":"stat.Call($userInToBook$,stat.Data.selectBook.id,stat.GetDrag())"},{"Top":"@12","Row":"@1*","Column":"@*,*,1*,*","PaddingTop":"@5","Classes":"@NormalFontlight","children":[{"type":"Text","Text":"@"},{"Left":"@20","type":"Text","VAlign":"@Center","Text":"$共{stat.Data.bookuser.list.count}条$"},{"type":"Text","Text":"@ "},{"type":"Button","FillStyle":"this.MouseIn:$#000000$,$#666666$","@Click":"stat.Call($loadMore$,$bookuser$)","Slots":{"item":{"type":"Stack","Name":"LoadMoreButton_Stack","children":[{"type":"Image","VAlign":"@Bottom","Path":"@doubledown"},{"Left":"@4","Text":"@更多","type":"Text"}]}}}],"type":"Grid"}],"type":"Grid","Column":"@1*","PaddingBottom":"@20","Classes":"@BorderRect","PaddingLeft":"@10","Row":"@*,1*,*","StrokeStyle":"@#dfe4e7","PaddingRight":"@24","PaddingTop":"@12"},{"StrokeStyle":"@#dfe4e7","Classes":"@BorderRect","children":[{"Bottom":"@17","children":[{"type":"Text","Text":"@未在册内用户","VAlign":"@Center"},{"Left":"@10","Width":"@150","@Change":"stat.Call($setProperty$, $notinbookuser$, $f_user_name$, e.Value)","type":"Input","PlaceHolder":"@客户姓名","Value":"stat.Data.notinbookuser.search.model.f_user_name","Classes":"@BorderRect"},{"Classes":"@BorderRect","Left":"@10","Width":"@150","PlaceHolder":"@客户地址","@Change":"stat.Call($setProperty$, $notinbookuser$, $f_address$, e.Value)","type":"Input","Value":"stat.Data.notinbookuser.search.model.f_address"},{"Left":"@10","@Change":"stat.Call($setProperty$, $notinbookuser$, $f_user_phone$, e.Value)","type":"Input","Width":"@150","PlaceHolder":"@客户电话","Value":"stat.Data.notinbookuser.search.model.f_user_phone"},{"Left":"@10","Classes":"@SearchButton BorderRound","@Click":"stat.Call($searchNotInBookUser$)","Slots":{"item":{"type":"Image","Name":"SearchButton_Image","Classes":"@SearchButtonImg"}},"type":"Button"}],"type":"Stack"},{"Classes":"@BorderRect","Data":"stat.Data.notinbookuser.list.data","Column":"@100,150,300,200","@Drop":"stat.Call($userOutBook$,stat.Data.selectBook.id,stat.GetDrag())","@DragStart":"stat.SetDrag($out$)","@DragOver":"stat.DragOver()","Slots":{"head":{"type":"Grid","Row":"@*","children":[{"type":"Stack","Classes":"@DataGridHead","children":[{"type":"CheckBox","@Change":"stat.Call($setCheckAll$, $notinbookuser$)"},{"Left":"@9","type":"Text","Text":"@全选"}]},{"Text":"@客户姓名","type":"Text","Classes":"@DataGridHead"},{"Text":"@客户地址","Classes":"@DataGridHead","type":"Text"},{"Classes":"@DataGridHead","type":"Text","Text":"@客户电话"}]},"item":{"type":"Grid","Row":"@*","children":[{"HAlign":"@Center","IsSelected":"stat.Data.notinbookuser.check.Call($isChecked$, data.f_userfiles_id)","@Change":"stat.Call($setCheck$, $notinbookuser$, data.f_userfiles_id)","type":"CheckBox","Classes":"@DataGridBody","VAlign":"@Center"},{"Text":"data.f_user_name","Classes":"@DataGridBody","type":"Text"},{"type":"Text","Text":"data.f_address","Classes":"@DataGridBody"},{"Classes":"@DataGridBody","Text":"data.f_user_phone","type":"Text"}]}},"type":"DataGrid"},{"Classes":"@NormalFontlight","Top":"@12","Row":"@1*","children":[{"type":"Text","Text":"@"},{"Left":"@20","Text":"$共{stat.Data.notinbookuser.list.count}条$","type":"Text"},{"type":"Text","Text":"@ "},{"Slots":{"item":{"children":[{"type":"Image","Path":"@doubledown","VAlign":"@Bottom"},{"Left":"@4","Text":"@更多","type":"Text"}],"type":"Stack"}},"type":"Button","Text":"@加载更多","FillStyle":"this.MouseIn:$#000000$,$#666666$","@Click":"stat.Call($loadMore$,$notinbookuser$)"}],"type":"Grid","Column":"@*,*,1*,*"}],"type":"Grid","Row":"@*,1*,*","Column":"@1*","PaddingLeft":"@10","PaddingBottom":"@20","PaddingRight":"@24","PaddingTop":"@12"}],"type":"Grid","Column":"@1*"}],"type":"Dock"}],"type":"Grid"},"Drag":{"upPlan":{"type":"Grid","Column":"@*","Row":"@*","children":[{"Background":"@#ffffff","Classes":"@NormalFontlight","PaddingTop":"@20","Row":"@*,*","Column":"@80,170,80,170","children":[{"VAlign":"@Center","type":"Text","Text":"@* 抄表册名","Right":"@10","HAlign":"@Right"},{"type":"Input","Value":"stat.Data.editBookInfo.f_book_name","@Change":"stat.Call($editBookInfos$,$f_book_name$,e.Value)"},{"type":"Text","Text":"@抄表员","Right":"@10","HAlign":"@Right","VAlign":"@Center"},{"type":"Select","Data":"stat.Data.inputtorInfo","Classes":"@SelectWhite BorderRound","Selected":"stat.Data.editBookInfo.f_inputtor","@Change":"stat.Call($editBookInfos$,$f_inputtor$,e.Value)"},{"HAlign":"@Right","VAlign":"@Center","type":"Text","Top":"@10","Text":"@所属公司","Right":"@10"},{"type":"Select","Classes":"@SelectWhite BorderRound","Top":"@10","Selected":"stat.Data.editBookInfo.f_filiale_name","Data":"stat.Data.orgInfo","@Change":"stat.Call($editBookInfos$,$f_filiale_name$,e.Value)"},{"type":"Text","Top":"@10","Text":"@备注","Right":"@10","HAlign":"@Right","VAlign":"@Center"},{"@Change":"stat.Call($editBookInfos$,$f_book_remark$,e.Value)","type":"Input","Value":"stat.Data.editBookInfo.f_book_remark","Top":"@10"}],"PaddingBottom":"@20","PaddingLeft":"@20","PaddingRight":"@36","type":"Grid"}]},"SearchPlan":{"children":[{"Row":"@*,*,*,*,*,*","children":[{"Classes":"@GridLabel","Text":"@抄表册名","type":"Text","PaddingBottom":"@6"},{"type":"Input","Value":"stat.Data.meterbook.search.model.f_book_name","@Change":"stat.Call($setProperty$, $meterbook$, $f_book_name$, e.Value)"},{"Text":"@抄表员","Classes":"@GridLabel","PaddingBottom":"@6","PaddingTop":"@6","type":"Text"},{"@Change":"stat.Call($setProperty$, $meterbook$, $f_inputtor$, e.Value)","type":"Input","PaddingTop":"@6","Value":"stat.Data.meterbook.search.model.f_inputtor"},{"type":"Stack","Top":"@20","ColSpan":"@2","HAlign":"@Center","children":[{"type":"Button","Classes":"@Button2","Right":"@50","Text":"@取消","@Click":"stat.RestorePopup(this,e.draw)"},{"@Click":"stat.Call($searchMeterBook$),stat.RestorePopup(this,e.draw)","type":"Button","FillStyle":"@#ffffff","Classes":"@Button","Text":"@查询"}]}],"PaddingBottom":"@10","PaddingTop":"@10","Classes":"@BorderRound NormalFont PopupSearch","PaddingLeft":"@10","type":"Grid","PaddingRight":"@20","Column":"@70,170"}],"type":"Grid","Column":"@1*","Classes":"@PopupSearch PopupShadow","Row":"@1*"},"drag":{"Text":"@","type":"Text"},"start":{"Path":"@drag","type":"Image"},"NewPlan":{"Column":"@*","Row":"@*","children":[{"type":"Grid","PaddingLeft":"@20","Pos":"@Center","Row":"@*,*,*","PaddingRight":"@36","Classes":"@NormalFontlight","Column":"@80,170,80,170,80,170","PaddingBottom":"@20","children":[{"Right":"@10","Text":"@* 抄表册名称","HAlign":"@Right","VAlign":"@Center","type":"Text"},{"@Change":"stat.Call($addNewBookInfo$, $f_book_name$, e.Value)","type":"Input"},{"HAlign":"@Right","VAlign":"@Center","Right":"@10","type":"Text","Text":"@抄表员"},{"Classes":"@SelectWhite BorderRound","Data":"stat.Data.inputtorInfo","@Change":"stat.Call($addNewBookInfo$, $f_inputtor$, e.Value)","type":"Select"},{"HAlign":"@Right","VAlign":"@Center","Right":"@10","Text":"@所属公司","type":"Text"},{"@Change":"stat.Call($addNewBookInfo$, $f_filiale_name$, e.Value)","type":"Select","Classes":"@SelectWhite BorderRound","Data":"stat.Data.orgInfo"},{"PaddingBottom":"@6","Right":"@10","Text":"@公司","Top":"@10","HAlign":"@Right","VAlign":"@Center","type":"Text","PaddingTop":"@6"},{"type":"Text","Top":"@10","Text":"stat.Data.loginInfo.data.orgs","HAlign":"@Center","VAlign":"@Center"},{"HAlign":"@Right","VAlign":"@Center","type":"Text","Top":"@10","Right":"@10","Text":"@部门"},{"HAlign":"@Center","type":"Text","VAlign":"@Center","Top":"@10","Text":"stat.Data.loginInfo.data.deps"},{"Text":"@登陆人","HAlign":"@Right","VAlign":"@Center","type":"Text","Right":"@10","Top":"@10"},{"Text":"stat.Data.loginInfo.data.name","type":"Text","Top":"@10","HAlign":"@Center","VAlign":"@Center"},{"Top":"@10","Text":"@备注","PaddingTop":"@6","PaddingBottom":"@6","HAlign":"@Right","VAlign":"@Center","type":"Text","Right":"@10"},{"ColSpan":"@5","Top":"@10","@Change":"stat.Call($addNewBookInfo$, $f_book_remark$, e.Value)","type":"Input"}],"Background":"@#ffffff","PaddingTop":"@20"}],"type":"Grid"},"deleteMsg":{"children":[{"children":[{"PaddingLeft":"@100","PaddingRight":"@100","type":"Text","PaddingTop":"@70","PaddingBottom":"@70","VAlign":"@Center","Text":"$确认删除{stat.Data.deleteBookInfo.f_book_name}?$","HAlign":"@Center"}],"type":"Grid","Column":"@*","Background":"@#ffffff","Classes":"@NormalFontlight","HAlign":"@Center","VAlign":"@Center","Row":"@*"}],"type":"Grid","Column":"@*","Row":"@*"}}}
19
+ TestDataComponent:
20
+ {"template":{"Row":"@1*","Background":"@#f5f7f9","Column":"@300,1*","children":[{"Classes":"@BorderRect","Name":"@左边","Background":"@#ffffff","children":[{"type":"Grid","PaddingRight":"@5","StrokeStyle":"@#dce0e3","Classes":"@BorderRect","Name":"@上边","children":[{"type":"Button","Text":"@查询","@Click":"stat.Popup($SearchPlan$,stat,this,e.draw)","Slots":{"item":{"Path":"this.MouseIn:$searchhover$,$searchnormal$","Classes":"@SearchButtonImg","type":"Image"}}},{"type":"Stack","PaddingBottom":"@4","PaddingTop":"@8"},{"type":"Button","Classes":"@BorderRound","PaddingTop":"@5","@Click":"stat.Call($listBack$)","Slots":{"item":{"Path":"@back","type":"Image","Name":"Button_Image"}}}],"Column":"@*,1*,*","PaddingTop":"@3","Pos":"@Top","Row":"@*,*","PaddingLeft":"@5","PaddingBottom":"@4","Bottom":"@1"},{"Row":"@30,1*,0,*,0","Pos":"@Center","Classes":"@NormalFontlight","children":[{"type":"Text","VAlign":"@Center","HAlign":"@Center","Text":"stat.Data.selectCommunityInfo"},{"type":"Scroll","Slots":{"item":{"Slots":{"item":{"type":"Stack","PaddingBottom":"@1","Width":"@300","Original":"@V","children":[{"type":"Grid","PaddingTop":"@20","Column":"@42,1*,42,1*","PaddingLeft":"@10","PaddingRight":"@10","PaddingBottom":"@20","Row":"@20,20,20","children":[{"Font":"@15px 微软雅黑","Text":"data.name","ColSpan":"@4","type":"Text"},{"ColSpan":"@1","type":"Text","FillStyle":"@#4792de","Text":"@省份"},{"type":"Text","Classes":"@NormalFontHeavy","ColSpan":"@1","Text":"data.province"},{"FillStyle":"@#4792de","type":"Text","Text":"@地区"},{"Text":"data.district","type":"Text"},{"type":"Text","FillStyle":"@#4792de","Text":"@街道"},{"type":"Text","Text":"data.street"}]},{"StrokeStyle":"@#dce0e3","type":"Stack","Classes":"@BorderRect","Left":"@5","Right":"@5"}]}},"type":"List","Name":"@安检计划","Data":"stat.Data.listInfo","@Change":"stat.Call($checkCom$, e.Value.self)"}}},{"Left":"@5","type":"Stack","Right":"@5","StrokeStyle":"@#dfe4e7","Classes":"@BorderRect"},{"PaddingBottom":"@10","Column":"@1*,1*","Row":"@1*","PaddingLeft":"@20","PaddingRight":"@20","PaddingTop":"@10","children":[{"type":"Text","Text":"@"},{"type":"Button","HAlign":"@Right","FillStyle":"this.MouseIn:$#000000$,$#666666$","@Click":"stat.Call($loadMore$,$community$)","Slots":{"item":{"type":"Stack","Name":"LoadMoreButton_Stack","children":[{"type":"Image","VAlign":"@Bottom","Path":"@doubledown"},{"type":"Text","Left":"@4","Text":"@更多"}]}}}],"type":"Grid"},{"StrokeStyle":"@#dfe4e7","Right":"@5","type":"Stack","Left":"@5","Classes":"@BorderRect"}],"type":"Grid","Column":"@1*"}],"type":"Dock","StrokeStyle":"@#dce0e3"},{"type":"Dock","Background":"@#f5f7f9","Classes":"@BorderRect","Name":"@右边","children":[{"Pos":"@Top","Background":"@#ffffff","StrokeStyle":"@#dce0e3","Name":"@工具条","Classes":"@BorderRect","children":[{"HAlign":"@Center","VAlign":"@Center","Pos":"@Center","Text":"stat.Data.selectShow","type":"Text"},{"type":"Stack","Top":"@4","Bottom":"@4","children":[{"PaddingTop":"@10","Text":"@","type":"Text"}]}],"type":"Stack","HAlign":"@Center"},{"type":"Grid","Column":"@1*","Pos":"@Center","Row":"@1*","Background":"@#F7F7F7","children":[{"VAlign":"@Center","Width":"@1000","Slots":{"item":{"Data":"stat.Data.towerInfo","TierHeight":"@90","SingleWidth":"@120","HAlign":"@Center","VAlign":"@Center","type":"DynamicTable"}},"type":"Scroll","Height":"@800","HAlign":"@Center"}]}]}],"type":"Grid"},"Drag":{"deleteMsg":{"children":[{"children":[{"PaddingBottom":"@70","VAlign":"@Center","Text":"$确认删除{stat.Data.deleteBookInfo.f_book_name}?$","HAlign":"@Center","PaddingLeft":"@100","PaddingRight":"@100","type":"Text","PaddingTop":"@70"}],"type":"Grid","Column":"@*","Background":"@#ffffff","Classes":"@NormalFontlight","HAlign":"@Center","VAlign":"@Center","Row":"@*"}],"type":"Grid","Column":"@*","Row":"@*"},"upPlan":{"Row":"@*","children":[{"PaddingLeft":"@20","PaddingTop":"@20","PaddingBottom":"@20","PaddingRight":"@36","Row":"@*,*","Background":"@#ffffff","children":[{"Text":"@* 抄表册名","Right":"@10","HAlign":"@Right","VAlign":"@Center","type":"Text"},{"@Change":"stat.Call($editBookInfos$,$f_book_name$,e.Value)","type":"Input","Value":"stat.Data.editBookInfo.f_book_name"},{"HAlign":"@Right","VAlign":"@Center","type":"Text","Text":"@抄表员","Right":"@10"},{"Data":"stat.Data.inputtorInfo","Classes":"@SelectWhite BorderRound","Selected":"stat.Data.editBookInfo.f_inputtor","@Change":"stat.Call($editBookInfos$,$f_inputtor$,e.Value)","type":"Select"},{"HAlign":"@Right","VAlign":"@Center","type":"Text","Top":"@10","Text":"@所属公司","Right":"@10"},{"@Change":"stat.Call($editBookInfos$,$f_filiale_name$,e.Value)","type":"Select","Classes":"@SelectWhite BorderRound","Top":"@10","Selected":"stat.Data.editBookInfo.f_filiale_name","Data":"stat.Data.orgInfo"},{"type":"Text","Top":"@10","Text":"@备注","Right":"@10","HAlign":"@Right","VAlign":"@Center"},{"type":"Input","Value":"stat.Data.editBookInfo.f_book_remark","Top":"@10","@Change":"stat.Call($editBookInfos$,$f_book_remark$,e.Value)"}],"Column":"@80,170,80,170","type":"Grid","Classes":"@NormalFontlight"}],"type":"Grid","Column":"@*"},"SearchPlan":{"type":"Grid","Row":"@1*","Column":"@1*","Classes":"@PopupSearch PopupShadow","children":[{"Row":"@*,*,*,*,*,*","PaddingLeft":"@10","type":"Grid","PaddingTop":"@10","Column":"@70,170","PaddingBottom":"@10","Classes":"@BorderRound NormalFont PopupSearch","PaddingRight":"@20","children":[{"PaddingBottom":"@6","Classes":"@GridLabel","Text":"@小区名称","type":"Text"},{"type":"Input","Value":"stat.Data.community.search.model.name","@Change":"stat.Call($setProperty$, $community$, $name$, e.Value)"},{"PaddingTop":"@6","Text":"@街 道","Classes":"@GridLabel","type":"Text","PaddingBottom":"@6"},{"PaddingTop":"@6","@Change":"stat.Call($setProperty$, $community$, $street$, e.Value)","type":"Input","Value":"stat.Data.community.search.model.street"},{"ColSpan":"@2","HAlign":"@Center","children":[{"type":"Button","Right":"@50","Text":"@取消","Classes":"@Button2","@Click":"stat.RestorePopup(this,e.draw)"},{"Classes":"@Button","Text":"@查询","FillStyle":"@#ffffff","@Click":"stat.Call($searchCommunity$),stat.RestorePopup(this,e.draw)","type":"Button"}],"type":"Stack","Top":"@20"}]}]},"drag":{"Text":"@","type":"Text"},"start":{"Path":"@drag","type":"Image"},"NewPlan":{"Column":"@*","Row":"@*","children":[{"PaddingTop":"@20","Column":"@80,170,80,170,80,170","Classes":"@NormalFontlight","type":"Grid","PaddingBottom":"@20","children":[{"HAlign":"@Right","VAlign":"@Center","type":"Text","Right":"@10","Text":"@* 抄表册名称"},{"type":"Input","@Change":"stat.Call($addNewBookInfo$, $f_book_name$, e.Value)"},{"type":"Text","Text":"@抄表员","HAlign":"@Right","VAlign":"@Center","Right":"@10"},{"@Change":"stat.Call($addNewBookInfo$, $f_inputtor$, e.Value)","type":"Select","Classes":"@SelectWhite BorderRound","Data":"stat.Data.inputtorInfo"},{"VAlign":"@Center","Right":"@10","Text":"@所属公司","type":"Text","HAlign":"@Right"},{"type":"Select","Classes":"@SelectWhite BorderRound","Data":"stat.Data.orgInfo","@Change":"stat.Call($addNewBookInfo$, $f_filiale_name$, e.Value)"},{"Right":"@10","Text":"@公司","Top":"@10","HAlign":"@Right","VAlign":"@Center","type":"Text","PaddingTop":"@6","PaddingBottom":"@6"},{"Top":"@10","Text":"stat.Data.loginInfo.data.orgs","HAlign":"@Center","VAlign":"@Center","type":"Text"},{"type":"Text","Top":"@10","Right":"@10","Text":"@部门","HAlign":"@Right","VAlign":"@Center"},{"Top":"@10","Text":"stat.Data.loginInfo.data.deps","HAlign":"@Center","type":"Text","VAlign":"@Center"},{"HAlign":"@Right","VAlign":"@Center","type":"Text","Right":"@10","Top":"@10","Text":"@登陆人"},{"Text":"stat.Data.loginInfo.data.name","type":"Text","Top":"@10","HAlign":"@Center","VAlign":"@Center"},{"PaddingBottom":"@6","HAlign":"@Right","VAlign":"@Center","type":"Text","Right":"@10","Top":"@10","Text":"@备注","PaddingTop":"@6"},{"ColSpan":"@5","Top":"@10","@Change":"stat.Call($addNewBookInfo$, $f_book_remark$, e.Value)","type":"Input"}],"Pos":"@Center","Row":"@*,*,*","PaddingRight":"@36","PaddingLeft":"@20","Background":"@#ffffff"}],"type":"Grid"}}}
21
+ });
22
+ loadWasm().then(() => {
23
+ global.stat = new Comp()
24
+
25
+ if (this.$login) {
26
+ global.stat.loginInfo = this.$login.f
27
+ console.log('登录信息', this.$login.f)
28
+ console.log('stat',global.stat)
29
+ console.log('login',global.stat.loginInfo)
30
+ }
31
+ global.stat.ready().then(() => {
32
+ console.log(global.stat)
33
+ run()
34
+ })
35
+ })
36
+ }
37
+
38
+
39
+ }
40
+ </script>
@@ -0,0 +1,7 @@
1
+ distributionBase=GRADLE_USER_HOME
2
+ distributionPath=wrapper/dists
3
+ distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
4
+ networkTimeout=10000
5
+ validateDistributionUrl=true
6
+ zipStoreBase=GRADLE_USER_HOME
7
+ zipStorePath=wrapper/dists
package/gradlew ADDED
@@ -0,0 +1,249 @@
1
+ #!/bin/sh
2
+
3
+ #
4
+ # Copyright © 2015-2021 the original authors.
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # https://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+ #
18
+
19
+ ##############################################################################
20
+ #
21
+ # Gradle start up script for POSIX generated by Gradle.
22
+ #
23
+ # Important for running:
24
+ #
25
+ # (1) You need a POSIX-compliant shell to run this script. If your /bin/sh is
26
+ # noncompliant, but you have some other compliant shell such as ksh or
27
+ # bash, then to run this script, type that shell name before the whole
28
+ # command line, like:
29
+ #
30
+ # ksh Gradle
31
+ #
32
+ # Busybox and similar reduced shells will NOT work, because this script
33
+ # requires all of these POSIX shell features:
34
+ # * functions;
35
+ # * expansions «$var», «${var}», «${var:-default}», «${var+SET}»,
36
+ # «${var#prefix}», «${var%suffix}», and «$( cmd )»;
37
+ # * compound commands having a testable exit status, especially «case»;
38
+ # * various built-in commands including «command», «set», and «ulimit».
39
+ #
40
+ # Important for patching:
41
+ #
42
+ # (2) This script targets any POSIX shell, so it avoids extensions provided
43
+ # by Bash, Ksh, etc; in particular arrays are avoided.
44
+ #
45
+ # The "traditional" practice of packing multiple parameters into a
46
+ # space-separated string is a well documented source of bugs and security
47
+ # problems, so this is (mostly) avoided, by progressively accumulating
48
+ # options in "$@", and eventually passing that to Java.
49
+ #
50
+ # Where the inherited environment variables (DEFAULT_JVM_OPTS, JAVA_OPTS,
51
+ # and GRADLE_OPTS) rely on word-splitting, this is performed explicitly;
52
+ # see the in-line comments for details.
53
+ #
54
+ # There are tweaks for specific operating systems such as AIX, CygWin,
55
+ # Darwin, MinGW, and NonStop.
56
+ #
57
+ # (3) This script is generated from the Groovy template
58
+ # https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
59
+ # within the Gradle project.
60
+ #
61
+ # You can find Gradle at https://github.com/gradle/gradle/.
62
+ #
63
+ ##############################################################################
64
+
65
+ # Attempt to set APP_HOME
66
+
67
+ # Resolve links: $0 may be a link
68
+ app_path=$0
69
+
70
+ # Need this for daisy-chained symlinks.
71
+ while
72
+ APP_HOME=${app_path%"${app_path##*/}"} # leaves a trailing /; empty if no leading path
73
+ [ -h "$app_path" ]
74
+ do
75
+ ls=$( ls -ld "$app_path" )
76
+ link=${ls#*' -> '}
77
+ case $link in #(
78
+ /*) app_path=$link ;; #(
79
+ *) app_path=$APP_HOME$link ;;
80
+ esac
81
+ done
82
+
83
+ # This is normally unused
84
+ # shellcheck disable=SC2034
85
+ APP_BASE_NAME=${0##*/}
86
+ # Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
87
+ APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit
88
+
89
+ # Use the maximum available, or set MAX_FD != -1 to use that value.
90
+ MAX_FD=maximum
91
+
92
+ warn () {
93
+ echo "$*"
94
+ } >&2
95
+
96
+ die () {
97
+ echo
98
+ echo "$*"
99
+ echo
100
+ exit 1
101
+ } >&2
102
+
103
+ # OS specific support (must be 'true' or 'false').
104
+ cygwin=false
105
+ msys=false
106
+ darwin=false
107
+ nonstop=false
108
+ case "$( uname )" in #(
109
+ CYGWIN* ) cygwin=true ;; #(
110
+ Darwin* ) darwin=true ;; #(
111
+ MSYS* | MINGW* ) msys=true ;; #(
112
+ NONSTOP* ) nonstop=true ;;
113
+ esac
114
+
115
+ CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
116
+
117
+
118
+ # Determine the Java command to use to start the JVM.
119
+ if [ -n "$JAVA_HOME" ] ; then
120
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
121
+ # IBM's JDK on AIX uses strange locations for the executables
122
+ JAVACMD=$JAVA_HOME/jre/sh/java
123
+ else
124
+ JAVACMD=$JAVA_HOME/bin/java
125
+ fi
126
+ if [ ! -x "$JAVACMD" ] ; then
127
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
128
+
129
+ Please set the JAVA_HOME variable in your environment to match the
130
+ location of your Java installation."
131
+ fi
132
+ else
133
+ JAVACMD=java
134
+ if ! command -v java >/dev/null 2>&1
135
+ then
136
+ die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
137
+
138
+ Please set the JAVA_HOME variable in your environment to match the
139
+ location of your Java installation."
140
+ fi
141
+ fi
142
+
143
+ # Increase the maximum file descriptors if we can.
144
+ if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
145
+ case $MAX_FD in #(
146
+ max*)
147
+ # In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
148
+ # shellcheck disable=SC2039,SC3045
149
+ MAX_FD=$( ulimit -H -n ) ||
150
+ warn "Could not query maximum file descriptor limit"
151
+ esac
152
+ case $MAX_FD in #(
153
+ '' | soft) :;; #(
154
+ *)
155
+ # In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
156
+ # shellcheck disable=SC2039,SC3045
157
+ ulimit -n "$MAX_FD" ||
158
+ warn "Could not set maximum file descriptor limit to $MAX_FD"
159
+ esac
160
+ fi
161
+
162
+ # Collect all arguments for the java command, stacking in reverse order:
163
+ # * args from the command line
164
+ # * the main class name
165
+ # * -classpath
166
+ # * -D...appname settings
167
+ # * --module-path (only if needed)
168
+ # * DEFAULT_JVM_OPTS, JAVA_OPTS, and GRADLE_OPTS environment variables.
169
+
170
+ # For Cygwin or MSYS, switch paths to Windows format before running java
171
+ if "$cygwin" || "$msys" ; then
172
+ APP_HOME=$( cygpath --path --mixed "$APP_HOME" )
173
+ CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" )
174
+
175
+ JAVACMD=$( cygpath --unix "$JAVACMD" )
176
+
177
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
178
+ for arg do
179
+ if
180
+ case $arg in #(
181
+ -*) false ;; # don't mess with options #(
182
+ /?*) t=${arg#/} t=/${t%%/*} # looks like a POSIX filepath
183
+ [ -e "$t" ] ;; #(
184
+ *) false ;;
185
+ esac
186
+ then
187
+ arg=$( cygpath --path --ignore --mixed "$arg" )
188
+ fi
189
+ # Roll the args list around exactly as many times as the number of
190
+ # args, so each arg winds up back in the position where it started, but
191
+ # possibly modified.
192
+ #
193
+ # NB: a `for` loop captures its iteration list before it begins, so
194
+ # changing the positional parameters here affects neither the number of
195
+ # iterations, nor the values presented in `arg`.
196
+ shift # remove old arg
197
+ set -- "$@" "$arg" # push replacement arg
198
+ done
199
+ fi
200
+
201
+
202
+ # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
203
+ DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
204
+
205
+ # Collect all arguments for the java command:
206
+ # * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
207
+ # and any embedded shellness will be escaped.
208
+ # * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
209
+ # treated as '${Hostname}' itself on the command line.
210
+
211
+ set -- \
212
+ "-Dorg.gradle.appname=$APP_BASE_NAME" \
213
+ -classpath "$CLASSPATH" \
214
+ org.gradle.wrapper.GradleWrapperMain \
215
+ "$@"
216
+
217
+ # Stop when "xargs" is not available.
218
+ if ! command -v xargs >/dev/null 2>&1
219
+ then
220
+ die "xargs is not available"
221
+ fi
222
+
223
+ # Use "xargs" to parse quoted args.
224
+ #
225
+ # With -n1 it outputs one arg per line, with the quotes and backslashes removed.
226
+ #
227
+ # In Bash we could simply go:
228
+ #
229
+ # readarray ARGS < <( xargs -n1 <<<"$var" ) &&
230
+ # set -- "${ARGS[@]}" "$@"
231
+ #
232
+ # but POSIX shell has neither arrays nor command substitution, so instead we
233
+ # post-process each arg (as a line of input to sed) to backslash-escape any
234
+ # character that might be a shell metacharacter, then use eval to reverse
235
+ # that process (while maintaining the separation between arguments), and wrap
236
+ # the whole thing up as a single "set" statement.
237
+ #
238
+ # This will of course break if any of these variables contains a newline or
239
+ # an unmatched quote.
240
+ #
241
+
242
+ eval "set -- $(
243
+ printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" |
244
+ xargs -n1 |
245
+ sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' |
246
+ tr '\n' ' '
247
+ )" '"$@"'
248
+
249
+ exec "$JAVACMD" "$@"
package/gradlew.bat ADDED
@@ -0,0 +1,92 @@
1
+ @rem
2
+ @rem Copyright 2015 the original author or authors.
3
+ @rem
4
+ @rem Licensed under the Apache License, Version 2.0 (the "License");
5
+ @rem you may not use this file except in compliance with the License.
6
+ @rem You may obtain a copy of the License at
7
+ @rem
8
+ @rem https://www.apache.org/licenses/LICENSE-2.0
9
+ @rem
10
+ @rem Unless required by applicable law or agreed to in writing, software
11
+ @rem distributed under the License is distributed on an "AS IS" BASIS,
12
+ @rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ @rem See the License for the specific language governing permissions and
14
+ @rem limitations under the License.
15
+ @rem
16
+
17
+ @if "%DEBUG%"=="" @echo off
18
+ @rem ##########################################################################
19
+ @rem
20
+ @rem Gradle startup script for Windows
21
+ @rem
22
+ @rem ##########################################################################
23
+
24
+ @rem Set local scope for the variables with windows NT shell
25
+ if "%OS%"=="Windows_NT" setlocal
26
+
27
+ set DIRNAME=%~dp0
28
+ if "%DIRNAME%"=="" set DIRNAME=.
29
+ @rem This is normally unused
30
+ set APP_BASE_NAME=%~n0
31
+ set APP_HOME=%DIRNAME%
32
+
33
+ @rem Resolve any "." and ".." in APP_HOME to make it shorter.
34
+ for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
35
+
36
+ @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
37
+ set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
38
+
39
+ @rem Find java.exe
40
+ if defined JAVA_HOME goto findJavaFromJavaHome
41
+
42
+ set JAVA_EXE=java.exe
43
+ %JAVA_EXE% -version >NUL 2>&1
44
+ if %ERRORLEVEL% equ 0 goto execute
45
+
46
+ echo.
47
+ echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
48
+ echo.
49
+ echo Please set the JAVA_HOME variable in your environment to match the
50
+ echo location of your Java installation.
51
+
52
+ goto fail
53
+
54
+ :findJavaFromJavaHome
55
+ set JAVA_HOME=%JAVA_HOME:"=%
56
+ set JAVA_EXE=%JAVA_HOME%/bin/java.exe
57
+
58
+ if exist "%JAVA_EXE%" goto execute
59
+
60
+ echo.
61
+ echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
62
+ echo.
63
+ echo Please set the JAVA_HOME variable in your environment to match the
64
+ echo location of your Java installation.
65
+
66
+ goto fail
67
+
68
+ :execute
69
+ @rem Setup the command line
70
+
71
+ set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
72
+
73
+
74
+ @rem Execute Gradle
75
+ "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
76
+
77
+ :end
78
+ @rem End local scope for the variables with windows NT shell
79
+ if %ERRORLEVEL% equ 0 goto mainEnd
80
+
81
+ :fail
82
+ rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
83
+ rem the _cmd.exe /c_ return code!
84
+ set EXIT_CODE=%ERRORLEVEL%
85
+ if %EXIT_CODE% equ 0 set EXIT_CODE=1
86
+ if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE%
87
+ exit /b %EXIT_CODE%
88
+
89
+ :mainEnd
90
+ if "%OS%"=="Windows_NT" endlocal
91
+
92
+ :omega