address-client 3.0.26-aode → 3.0.26-rongcheng

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 (40) hide show
  1. package/.gradle/buildOutputCleanup/cache.properties +2 -2
  2. package/CHANGELOG.md +3 -0
  3. package/build/dev-server.js +1 -1
  4. package/build/webpack.base.conf.js +6 -2
  5. package/examples/showAdd/App.vue +2 -2
  6. package/package.json +99 -103
  7. package/src/address.js +10 -4
  8. package/src/components/AddAreaMsg.vue +676 -514
  9. package/src/components/AddressList.vue +83 -84
  10. package/src/components/AddressTree.vue +1 -1
  11. package/src/components/AreaList.vue +164 -133
  12. package/src/components/AreaManage.vue +78 -77
  13. package/src/components/BuildingList.vue +180 -0
  14. package/src/components/NewAddressInfo.vue +1 -1
  15. package/src/components/UserAddress.vue +386 -375
  16. package/src/filiale/WEINAN/AddAreaMsg.vue +656 -0
  17. package/src/filiale/WEINAN/AddressManage.vue +122 -0
  18. package/src/filiale/WEINAN/UserAddress.vue +783 -0
  19. package/src/filiale/WEINAN/sale.js +14 -0
  20. package/src/filiale/gongyi/AddAreaMsg.vue +651 -0
  21. package/src/filiale/gongyi/AreaManage.vue +100 -0
  22. package/src/filiale/gongyi/UserAddress.vue +745 -0
  23. package/src/filiale/gongyi/sale.js +14 -0
  24. package/src/filiale/macheng/AddAreaMsg.vue +635 -0
  25. package/src/filiale/macheng/AddStreetOrPcd.vue +231 -0
  26. package/src/filiale/macheng/AddressList.vue +306 -0
  27. package/src/filiale/macheng/AreaList.vue +286 -0
  28. package/src/filiale/macheng/CityManage.vue +76 -0
  29. package/src/filiale/macheng/StreetList.vue +186 -0
  30. package/src/filiale/macheng/UserAddress.vue +743 -0
  31. package/src/filiale/macheng/sale.js +17 -0
  32. package/src/filiale/rongcheng/AddressList.vue +363 -0
  33. package/src/filiale/rongcheng/UserAddress.vue +845 -0
  34. package/src/filiale/rongcheng/sale.js +11 -0
  35. package/src/filiale/shaoguan/AddAreaMsg.vue +631 -0
  36. package/src/filiale/shaoguan/sale.js +11 -0
  37. package/src/main.js +2 -2
  38. package/.gradle/buildOutputCleanup/built.bin +0 -0
  39. package/.gradle/buildOutputCleanup/cache.properties.lock +0 -1
  40. package/src/components/areauser/AreaUser.vue +0 -233
@@ -1,2 +1,2 @@
1
- #Fri Jul 10 10:01:08 CST 2020
2
- gradle.version=3.5
1
+ #Mon Dec 07 15:35:10 CST 2020
2
+ gradle.version=5.2.1
package/CHANGELOG.md CHANGED
@@ -1,6 +1,9 @@
1
1
  # Change Log
2
2
  所有关于本产品的变化都在该文档里。
3
3
 
4
+ ## 3.0.24-2020-10-15 @张科科
5
+ --地址管理 特殊建档 增加小区选择
6
+
4
7
  ## 1.3.2-2018-11-12 @刘江涛
5
8
  - 地址查询修改
6
9
 
@@ -10,7 +10,7 @@ var proxy = httpProxy.createProxyServer()
10
10
 
11
11
  // Define HTTP proxies to your custom API backend
12
12
  // https://github.com/chimurai/http-proxy-middleware
13
- var str = 'http://127.0.0.1:8091/ldap', str2= 'http://192.168.10.14:8300'
13
+ var str = 'http://127.0.0.1:8078', str2= 'http://192.168.50.4:8400/'
14
14
  var proxyTable = {
15
15
 
16
16
  '/rs/logic/getLogin': {
@@ -1,7 +1,6 @@
1
1
  var path = require('path')
2
2
  var cssLoaders = require('./css-loaders')
3
3
  var projectRoot = path.resolve(__dirname, '../')
4
-
5
4
  module.exports = {
6
5
  entry: {
7
6
  app: './src/main.js'
@@ -16,7 +15,8 @@ module.exports = {
16
15
  fallback: [path.join(__dirname, '../node_modules')],
17
16
  alias: {
18
17
  'src': path.resolve(__dirname, '../src'),
19
- 'test': path.resolve(__dirname, '../test')
18
+ 'test': path.resolve(__dirname, '../test'),
19
+ '@src': path.resolve('src')
20
20
  }
21
21
  },
22
22
  resolveLoader: {
@@ -54,6 +54,10 @@ module.exports = {
54
54
  test: /\.less$/,
55
55
  loader: 'style!css!less'
56
56
  },
57
+ {
58
+ test: /\.css$/,
59
+ loader: 'style!css'
60
+ },
57
61
  {
58
62
  test: /\.(png|jpg|gif|svg|woff2?|eot|ttf)(\?.*)?$/,
59
63
  loader: 'url',
@@ -14,8 +14,8 @@ export default {
14
14
 
15
15
  // 设置模板为测试,,
16
16
  global.canvas = "TestDataComponent";
17
- global.myjson = Object.assign(global.myjson, {
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($upLoad$)"},{"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":"@*"}}}
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
19
  TestDataComponent:
20
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
21
  });
package/package.json CHANGED
@@ -1,103 +1,99 @@
1
- {
2
- "name": "address-client",
3
- "version": "3.0.26-aode",
4
- "description": "地址管理前台组件",
5
- "author": "wanbochao",
6
- "license": "ISC",
7
- "main": "src/index.js",
8
- "keywords": [
9
- "sale"
10
- ],
11
- "scripts": {
12
- "unit": "karma start test/unit/karma.conf.js",
13
- "example": "node build/example-server.js",
14
- "dev": "node build/dev-server.js",
15
- "lint": "eslint src/**.js test/e2e/**.js test/unit/specs/** build/**.js",
16
- "build": "rimraf dist && mkdirp dist && ncp static dist/static && cross-env NODE_ENV=production webpack --progress --hide-modules --config build/webpack.prod.conf.js",
17
- "e2e": "node test/e2e/runner.js",
18
- "make": "rimraf dist-android && mkdirp dist-android && ncp static dist-android/static && cross-env NODE_ENV=production webpack --progress --hide-modules --config build/webpack.prodandroid.conf.js && publish",
19
- "release": "bash build/release.sh"
20
- },
21
- "repository": {
22
- "type": "git",
23
- "url": "https://gitee.com/aote/address_management.git"
24
- },
25
- "dependencies": {
26
- "less-loader": "^2.2.3",
27
- "vue": "^1.0.17"
28
- },
29
- "devDependencies": {
30
- "babel-core": "^6.0.0",
31
- "babel-loader": "^6.0.0",
32
- "babel-plugin-transform-runtime": "^6.0.0",
33
- "babel-preset-es2015": "^6.0.0",
34
- "babel-preset-stage-2": "^6.0.0",
35
- "chai": "^3.5.0",
36
- "co": "^4.6.0",
37
- "connect-history-api-fallback": "^1.1.0",
38
- "cross-env": "^1.0.7",
39
- "cross-spawn": "^2.1.5",
40
- "css-loader": "^0.23.0",
41
- "echarts": "^4.1.0",
42
- "eslint": "^2.0.0",
43
- "eslint-config-standard": "^5.1.0",
44
- "eslint-friendly-formatter": "^1.2.2",
45
- "eslint-loader": "^1.3.0",
46
- "eslint-plugin-html": "^1.3.0",
47
- "eslint-plugin-promise": "^1.0.8",
48
- "eslint-plugin-standard": "^1.3.2",
49
- "eslint-plugin-vue": "^0.1.1",
50
- "eventsource-polyfill": "^0.9.6",
51
- "express": "^4.13.3",
52
- "extract-text-webpack-plugin": "^1.0.1",
53
- "file-loader": "^0.8.4",
54
- "function-bind": "^1.0.2",
55
- "html-webpack-plugin": "^2.8.1",
56
- "http-proxy-middleware": "^0.11.0",
57
- "inject-loader": "^2.0.1",
58
- "isparta-loader": "^2.0.0",
59
- "jasmine-core": "^2.4.1",
60
- "jquery": "^3.3.1",
61
- "json-loader": "^0.5.4",
62
- "karma": "^1.4.1",
63
- "karma-chrome-launcher": "^2.2.0",
64
- "karma-coverage": "^1.1.1",
65
- "karma-mocha": "^1.3.0",
66
- "karma-sinon-chai": "^1.3.1",
67
- "karma-sourcemap-loader": "^0.3.7",
68
- "karma-spec-reporter": "0.0.31",
69
- "karma-webpack": "^2.0.2",
70
- "less": "^2.7.3",
71
- "mkdirp": "^0.5.1",
72
- "mocha": "^3.2.0",
73
- "ncp": "^2.0.0",
74
- "rimraf": "^2.5.0",
75
- "sale-client": "1.0.66-aode",
76
- "selenium-server": "2.52.0",
77
- "sinon": "^2.1.0",
78
- "sinon-chai": "^2.8.0",
79
- "style": "0.0.3",
80
- "style-loader": "^0.20.3",
81
- "system-clients": "3.1.84",
82
- "url-loader": "^0.5.7",
83
- "vue-client": "1.22.20-5",
84
- "vue-hot-reload-api": "^1.2.0",
85
- "vue-html-loader": "^1.0.0",
86
- "vue-loader": "^8.2.1",
87
- "vue-resource": "^1.5.0",
88
- "vue-router": "^0.7.13",
89
- "vue-strap": "^1.0.9",
90
- "vue-style-loader": "^1.0.0",
91
- "vue-validator": "2.1.7",
92
- "webpack": "^1.12.2",
93
- "webpack-dev-middleware": "^1.4.0",
94
- "webpack-hot-middleware": "^2.6.0",
95
- "webpack-merge": "^0.8.3",
96
- "jsencrypt": "3.0.0-rc.1"
97
- },
98
- "directories": {
99
- "doc": "doc",
100
- "example": "examples",
101
- "test": "test"
102
- }
103
- }
1
+ {
2
+ "name": "address-client",
3
+ "version": "3.0.26-rongcheng",
4
+ "description": "地址管理前台组件",
5
+ "author": "wanbochao",
6
+ "license": "ISC",
7
+ "main": "src/index.js",
8
+ "keywords": [
9
+ "sale"
10
+ ],
11
+ "scripts": {
12
+ "unit": "karma start test/unit/karma.conf.js",
13
+ "example": "node build/example-server.js",
14
+ "dev": "node build/dev-server.js",
15
+ "lint": "eslint src/**.js test/e2e/**.js test/unit/specs/** build/**.js",
16
+ "build": "rimraf dist && mkdirp dist && ncp static dist/static && cross-env NODE_ENV=production webpack --progress --hide-modules --config build/webpack.prod.conf.js",
17
+ "e2e": "node test/e2e/runner.js",
18
+ "make": "rimraf dist-android && mkdirp dist-android && ncp static dist-android/static && cross-env NODE_ENV=production webpack --progress --hide-modules --config build/webpack.prodandroid.conf.js && publish",
19
+ "release": "bash build/release.sh"
20
+ },
21
+ "repository": {
22
+ "type": "git",
23
+ "url": "https://gitee.com/aote/address_management.git"
24
+ },
25
+ "dependencies": {
26
+ "less-loader": "^2.2.3",
27
+ "vue": "^1.0.17"
28
+ },
29
+ "devDependencies": {
30
+ "babel-core": "^6.0.0",
31
+ "babel-loader": "^6.0.0",
32
+ "babel-plugin-transform-runtime": "^6.0.0",
33
+ "babel-preset-es2015": "^6.0.0",
34
+ "babel-preset-stage-2": "^6.0.0",
35
+ "chai": "^3.5.0",
36
+ "co": "^4.6.0",
37
+ "connect-history-api-fallback": "^1.1.0",
38
+ "cross-env": "^1.0.7",
39
+ "cross-spawn": "^2.1.5",
40
+ "css-loader": "^0.23.0",
41
+ "echarts": "^4.1.0",
42
+ "eslint": "^2.0.0",
43
+ "eslint-config-standard": "^5.1.0",
44
+ "eslint-friendly-formatter": "^1.2.2",
45
+ "eslint-loader": "^1.3.0",
46
+ "eslint-plugin-html": "^1.3.0",
47
+ "eslint-plugin-promise": "^1.0.8",
48
+ "eslint-plugin-standard": "^1.3.2",
49
+ "eslint-plugin-vue": "^0.1.1",
50
+ "eventsource-polyfill": "^0.9.6",
51
+ "express": "^4.13.3",
52
+ "extract-text-webpack-plugin": "^1.0.1",
53
+ "file-loader": "^0.8.4",
54
+ "function-bind": "^1.0.2",
55
+ "html-webpack-plugin": "^2.8.1",
56
+ "http-proxy-middleware": "^0.11.0",
57
+ "inject-loader": "^2.0.1",
58
+ "isparta-loader": "^2.0.0",
59
+ "jasmine-core": "^2.4.1",
60
+ "jquery": "^3.3.1",
61
+ "json-loader": "^0.5.4",
62
+ "karma": "^1.4.1",
63
+ "karma-chrome-launcher": "^2.2.0",
64
+ "karma-coverage": "^1.1.1",
65
+ "karma-mocha": "^1.3.0",
66
+ "karma-sinon-chai": "^1.3.1",
67
+ "karma-sourcemap-loader": "^0.3.7",
68
+ "karma-spec-reporter": "0.0.31",
69
+ "karma-webpack": "^2.0.2",
70
+ "less": "^2.7.3",
71
+ "mkdirp": "^0.5.1",
72
+ "mocha": "^3.2.0",
73
+ "ncp": "^2.0.0",
74
+ "rimraf": "^2.5.0",
75
+ "sale-client": "3.2.11-17",
76
+ "selenium-server": "2.52.0",
77
+ "sinon": "^2.1.0",
78
+ "sinon-chai": "^2.8.0",
79
+ "style": "0.0.3",
80
+ "style-loader": "^0.20.3",
81
+ "system-clients": "3.0.52",
82
+ "url-loader": "^0.5.7",
83
+ "vue-client": "1.23.0",
84
+ "vue-hot-reload-api": "^1.2.0",
85
+ "vue-html-loader": "^1.0.0",
86
+ "vue-loader": "^8.2.1",
87
+ "vue-resource": "^1.5.0",
88
+ "vue-router": "^0.7.13",
89
+ "vue-strap": "^1.0.9",
90
+ "vue-style-loader": "^1.0.0",
91
+ "vue-validator": "2.1.7",
92
+ "webpack": "^1.12.2",
93
+ "webpack-dev-middleware": "^1.4.0",
94
+ "webpack-hot-middleware": "^2.6.0",
95
+ "webpack-merge": "^0.8.3",
96
+ "jsencrypt": "3.0.0-rc.1",
97
+ "axios": "0.15.3"
98
+ }
99
+ }
package/src/address.js CHANGED
@@ -3,7 +3,7 @@ import App from './App'
3
3
  import { all } from 'vue-client'
4
4
  // import 'babel-polyfill'
5
5
 
6
- export default function () {
6
+ export default function (filiale) {
7
7
  Vue.config.silent = false
8
8
  /** ********************** pc端 *********************** **/
9
9
  Vue.component('address-select', (resolve) => { require(['./components/AddressModel'], resolve) })
@@ -27,8 +27,6 @@ export default function () {
27
27
  Vue.component('add-street-pcd', (resolve) => { require(['./components/AddStreetOrPcd'], resolve) })
28
28
  //小区列表
29
29
  Vue.component('area-list', (resolve) => { require(['./components/AreaList'], resolve) })
30
- // 使用该小区的用户信息
31
- Vue.component('area-user', (resolve) => { require(['./components/areauser/AreaUser.vue'], resolve) })
32
30
  //小区管理(包含修改表具,小区的添加)
33
31
  Vue.component('area-manage', (resolve) => { require(['./components/AreaManage'], resolve) })
34
32
  //单位管理()
@@ -39,11 +37,19 @@ export default function () {
39
37
  Vue.component('address-manage', (resolve) => { require(['./components/AddressManage'], resolve) })
40
38
  //地址列表
41
39
  Vue.component('address-list', (resolve) => { require(['./components/AddressList'], resolve) })
40
+ // 楼栋列表
41
+ Vue.component('building-list', (resolve) => { require(['./components/BuildingList'], resolve) })
42
42
  //地址管理
43
43
  Vue.component('user-address', (resolve) => { require(['./components/UserAddress'], resolve) })
44
44
  //地址变更记录
45
45
  Vue.component('user-address-change', (resolve) => { require(['./components/UserAddressChange'], resolve) })
46
46
  //批量置换接单
47
47
  Vue.component('batch_orders', (resolve) => { require(['./components/selectAddress/BatchOrders'], resolve) })
48
-
48
+ // 分公司特殊页面注册替换
49
+ if (filiale) {
50
+ let filialeComp = require(`./filiale/${filiale}/sale`).specialComp
51
+ for (let key in filialeComp) {
52
+ Vue.component(key, filialeComp[key])
53
+ }
54
+ }
49
55
  }