address-client 3.0.24-78 → 3.0.24-aode
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.
- package/.gradle/{5.2.1 → 5.5}/fileChanges/last-build.bin +0 -0
- package/.gradle/5.5/fileHashes/fileHashes.lock +0 -0
- package/.gradle/{5.2.1 → 5.5}/gc.properties +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/built.bin +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +2 -2
- package/.gradle/buildOutputCleanup/cache.properties.lock +1 -0
- package/CHANGELOG.md +0 -3
- package/build/dev-server.js +2 -2
- package/build/webpack.base.conf.js +2 -6
- package/examples/showAdd/App.vue +2 -2
- package/index.html +0 -4
- package/package.json +5 -6
- package/src/address.js +5 -11
- package/src/components/AddAreaMsg.vue +78 -148
- package/src/components/AddStreetOrPcd.vue +2 -79
- package/src/components/AddressList.vue +108 -182
- package/src/components/AddressManage.vue +1 -1
- package/src/components/AddressTree.vue +1 -1
- package/src/components/AreaList.vue +247 -317
- package/src/components/AreaManage.vue +18 -17
- package/src/components/CityManage.vue +1 -1
- package/src/components/NewAddressInfo.vue +1 -1
- package/src/components/StreetList.vue +26 -50
- package/src/components/UserAddress.vue +383 -509
- package/src/components/areauser/AreaUser.vue +233 -0
- package/.gradle/5.2.1/executionHistory/executionHistory.bin +0 -0
- package/.gradle/5.2.1/executionHistory/executionHistory.lock +0 -0
- package/.gradle/5.2.1/fileHashes/fileHashes.bin +0 -0
- package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
- package/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/gradle/wrapper/gradle-wrapper.properties +0 -5
- package/gradlew +0 -172
- package/gradlew.bat +0 -84
- package/src/components/CityList.vue +0 -133
- package/src/filiale/WEINAN/AddAreaMsg.vue +0 -656
- package/src/filiale/WEINAN/AddressList.vue +0 -351
- package/src/filiale/WEINAN/AddressManage.vue +0 -122
- package/src/filiale/WEINAN/AreaList.vue +0 -275
- package/src/filiale/WEINAN/UserAddress.vue +0 -783
- package/src/filiale/WEINAN/sale.js +0 -16
- package/src/filiale/gaomi/AddressList.vue +0 -430
- package/src/filiale/gaomi/UserAddress.vue +0 -832
- package/src/filiale/gaomi/sale.js +0 -14
- package/src/filiale/gongyi/AddAreaMsg.vue +0 -640
- package/src/filiale/gongyi/AreaManage.vue +0 -100
- package/src/filiale/gongyi/UserAddress.vue +0 -751
- package/src/filiale/gongyi/sale.js +0 -14
- package/src/filiale/jingwei/UserAddress.vue +0 -764
- package/src/filiale/jingwei/sale.js +0 -12
- package/src/filiale/macheng/AddAreaMsg.vue +0 -635
- package/src/filiale/macheng/AddStreetOrPcd.vue +0 -231
- package/src/filiale/macheng/AddressList.vue +0 -306
- package/src/filiale/macheng/AreaList.vue +0 -279
- package/src/filiale/macheng/CityManage.vue +0 -76
- package/src/filiale/macheng/StreetList.vue +0 -186
- package/src/filiale/macheng/UserAddress.vue +0 -743
- package/src/filiale/macheng/sale.js +0 -17
- package/src/filiale/rongcheng/AddressList.vue +0 -363
- package/src/filiale/rongcheng/UserAddress.vue +0 -799
- package/src/filiale/rongcheng/sale.js +0 -11
- package/src/filiale/shaoguan/AddAreaMsg.vue +0 -631
- package/src/filiale/shaoguan/UserAddress.vue +0 -764
- package/src/filiale/shaoguan/sale.js +0 -11
- package/src/filiale/tongchuan/AddAreaMsg.vue +0 -635
- package/src/filiale/tongchuan/AddStreetOrPcd.vue +0 -308
- package/src/filiale/tongchuan/AddressList.vue +0 -379
- package/src/filiale/tongchuan/AreaList.vue +0 -315
- package/src/filiale/tongchuan/AreaManage.vue +0 -100
- package/src/filiale/tongchuan/CityList.vue +0 -133
- package/src/filiale/tongchuan/StreetList.vue +0 -208
- package/src/filiale/tongchuan/UserAddress.vue +0 -795
- package/src/filiale/tongchuan/sale.js +0 -19
- package/src/filiale/wuhai/UserAddress.vue +0 -795
- package/src/filiale/wuhai/sale.js +0 -12
- package/src/filiale/zhoukou/AddressList.vue +0 -391
- package/src/filiale/zhoukou/UserAddress.vue +0 -833
- package/src/filiale/zhoukou/sale.js +0 -13
|
File without changes
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
File without changes
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
#
|
|
2
|
-
gradle.version=5
|
|
1
|
+
#Fri Jul 10 10:01:08 CST 2020
|
|
2
|
+
gradle.version=3.5
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
package/CHANGELOG.md
CHANGED
package/build/dev-server.js
CHANGED
|
@@ -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:
|
|
13
|
+
var str = 'http://127.0.0.1:8091/ldap', str2= 'http://192.168.10.14:8300'
|
|
14
14
|
var proxyTable = {
|
|
15
15
|
|
|
16
16
|
'/rs/logic/getLogin': {
|
|
@@ -36,7 +36,7 @@ var proxyTable = {
|
|
|
36
36
|
},
|
|
37
37
|
'/rs': {
|
|
38
38
|
// target: 'http://192.168.50.199:8300'
|
|
39
|
-
target:
|
|
39
|
+
target: str2
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
var path = require('path')
|
|
2
2
|
var cssLoaders = require('./css-loaders')
|
|
3
3
|
var projectRoot = path.resolve(__dirname, '../')
|
|
4
|
+
|
|
4
5
|
module.exports = {
|
|
5
6
|
entry: {
|
|
6
7
|
app: './src/main.js'
|
|
@@ -15,8 +16,7 @@ module.exports = {
|
|
|
15
16
|
fallback: [path.join(__dirname, '../node_modules')],
|
|
16
17
|
alias: {
|
|
17
18
|
'src': path.resolve(__dirname, '../src'),
|
|
18
|
-
'test': path.resolve(__dirname, '../test')
|
|
19
|
-
'@src': path.resolve('src')
|
|
19
|
+
'test': path.resolve(__dirname, '../test')
|
|
20
20
|
}
|
|
21
21
|
},
|
|
22
22
|
resolveLoader: {
|
|
@@ -54,10 +54,6 @@ module.exports = {
|
|
|
54
54
|
test: /\.less$/,
|
|
55
55
|
loader: 'style!css!less'
|
|
56
56
|
},
|
|
57
|
-
{
|
|
58
|
-
test: /\.css$/,
|
|
59
|
-
loader: 'style!css'
|
|
60
|
-
},
|
|
61
57
|
{
|
|
62
58
|
test: /\.(png|jpg|gif|svg|woff2?|eot|ttf)(\?.*)?$/,
|
|
63
59
|
loader: 'url',
|
package/examples/showAdd/App.vue
CHANGED
|
@@ -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($$)"},{"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, {
|
|
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":"@*"}}}
|
|
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/index.html
CHANGED
|
@@ -12,10 +12,6 @@
|
|
|
12
12
|
body{width: 100%;background:#7f8eaf no-repeat center bottom; background-size: cover;}
|
|
13
13
|
body .loginbg{ width:100%; height:100%; background:url(./static/loginbg.jpg) no-repeat center top;}
|
|
14
14
|
</style>
|
|
15
|
-
<!--引入地图组件-->
|
|
16
|
-
<script src="https://webapi.amap.com/maps?v=1.4.2&key=4889f1e58df01cb40415536c8907bf64"></script>
|
|
17
|
-
<!--引入UI组件库(1.1版本) -->
|
|
18
|
-
<script src="https://webapi.amap.com/ui/1.1/main.js?v=1.1.1"></script>
|
|
19
15
|
</head>
|
|
20
16
|
<body id="bodymain" class="themeOne">
|
|
21
17
|
<app></app>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "address-client",
|
|
3
|
-
"version": "3.0.24-
|
|
3
|
+
"version": "3.0.24-aode",
|
|
4
4
|
"description": "地址管理前台组件",
|
|
5
5
|
"author": "wanbochao",
|
|
6
6
|
"license": "ISC",
|
|
@@ -72,15 +72,15 @@
|
|
|
72
72
|
"mocha": "^3.2.0",
|
|
73
73
|
"ncp": "^2.0.0",
|
|
74
74
|
"rimraf": "^2.5.0",
|
|
75
|
-
"sale-client": "
|
|
75
|
+
"sale-client": "1.0.66-aode",
|
|
76
76
|
"selenium-server": "2.52.0",
|
|
77
77
|
"sinon": "^2.1.0",
|
|
78
78
|
"sinon-chai": "^2.8.0",
|
|
79
79
|
"style": "0.0.3",
|
|
80
80
|
"style-loader": "^0.20.3",
|
|
81
|
-
"system-clients": "3.1.
|
|
81
|
+
"system-clients": "3.1.84",
|
|
82
82
|
"url-loader": "^0.5.7",
|
|
83
|
-
"vue-client": "1.
|
|
83
|
+
"vue-client": "1.22.20-5",
|
|
84
84
|
"vue-hot-reload-api": "^1.2.0",
|
|
85
85
|
"vue-html-loader": "^1.0.0",
|
|
86
86
|
"vue-loader": "^8.2.1",
|
|
@@ -93,7 +93,6 @@
|
|
|
93
93
|
"webpack-dev-middleware": "^1.4.0",
|
|
94
94
|
"webpack-hot-middleware": "^2.6.0",
|
|
95
95
|
"webpack-merge": "^0.8.3",
|
|
96
|
-
"jsencrypt": "3.0.0-rc.1"
|
|
97
|
-
"axios": "0.15.3"
|
|
96
|
+
"jsencrypt": "3.0.0-rc.1"
|
|
98
97
|
}
|
|
99
98
|
}
|
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 () {
|
|
7
7
|
Vue.config.silent = false
|
|
8
8
|
/** ********************** pc端 *********************** **/
|
|
9
9
|
Vue.component('address-select', (resolve) => { require(['./components/AddressModel'], resolve) })
|
|
@@ -21,14 +21,14 @@ export default function (filiale) {
|
|
|
21
21
|
Vue.component('area-files', (resolve) => { require(['./components/AreaFiles'], resolve) })
|
|
22
22
|
//街道列表
|
|
23
23
|
Vue.component('street-list', (resolve) => { require(['./components/StreetList'], resolve) })
|
|
24
|
-
|
|
25
|
-
Vue.component('city-list', (resolve) => { require(['./components/CityList'], resolve) })
|
|
26
|
-
//街道管理(包含街道,省区县的添加)
|
|
24
|
+
//城市管理(包含街道,省区县的添加)
|
|
27
25
|
Vue.component('city-manage', (resolve) => { require(['./components/CityManage'], resolve) })
|
|
28
26
|
//街道区县添加
|
|
29
27
|
Vue.component('add-street-pcd', (resolve) => { require(['./components/AddStreetOrPcd'], resolve) })
|
|
30
28
|
//小区列表
|
|
31
29
|
Vue.component('area-list', (resolve) => { require(['./components/AreaList'], resolve) })
|
|
30
|
+
// 使用该小区的用户信息
|
|
31
|
+
Vue.component('area-user', (resolve) => { require(['./components/areauser/AreaUser.vue'], resolve) })
|
|
32
32
|
//小区管理(包含修改表具,小区的添加)
|
|
33
33
|
Vue.component('area-manage', (resolve) => { require(['./components/AreaManage'], resolve) })
|
|
34
34
|
//单位管理()
|
|
@@ -45,11 +45,5 @@ export default function (filiale) {
|
|
|
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
|
-
|
|
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
|
-
}
|
|
48
|
+
|
|
55
49
|
}
|