address-client 3.0.33-aode → 3.0.34-aodeToV4
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/buildOutputCleanup/cache.properties +2 -2
- package/CHANGELOG.md +12 -12
- package/examples/showAdd/App.vue +40 -40
- package/index.html +40 -40
- package/package.json +1 -1
- package/src/components/AddAreaMsg.vue +599 -599
- package/src/components/AddStreetOrPcd.vue +231 -231
- package/src/components/AddressAddAddress.vue +479 -479
- package/src/components/AddressFiles.vue +156 -156
- package/src/components/AddressList.vue +23 -7
- package/src/components/AddressManage.vue +117 -117
- package/src/components/AddressTree.vue +501 -501
- package/src/components/AreaFiles.vue +73 -73
- package/src/components/AreaList.vue +36 -6
- package/src/components/AreaManage.vue +101 -101
- package/src/components/AreaTree.vue +508 -508
- package/src/components/Basch.vue +72 -72
- package/src/components/BatchOrders.vue +328 -328
- package/src/components/CityManage.vue +76 -76
- package/src/components/NewAddressInfo.vue +432 -432
- package/src/components/OneCodeList.vue +1 -1
- package/src/components/StreetList.vue +184 -184
- package/src/components/UserAddress.vue +780 -780
- package/src/components/UserAddressChange.vue +58 -58
- package/src/components/addressts/AddressListts.vue +6 -6
- package/src/components/addressts/UserAddressChangets.vue +1 -1
- package/src/components/addressts/UserAddressts.vue +6 -6
- package/src/components/areauser/AreaUser.vue +233 -233
- package/src/components/selectAddress/BatchList.vue +326 -326
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
#Fri Jul 10 10:01:08 CST 2020
|
|
2
|
-
gradle.version=3.5
|
|
1
|
+
#Fri Jul 10 10:01:08 CST 2020
|
|
2
|
+
gradle.version=3.5
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
# Change Log
|
|
2
|
-
所有关于本产品的变化都在该文档里。
|
|
3
|
-
|
|
4
|
-
## 1.3.2-2018-11-12 @刘江涛
|
|
5
|
-
- 地址查询修改
|
|
6
|
-
|
|
7
|
-
## 1.3.1-2018-11-11 @何宁社
|
|
8
|
-
- 地址管理完成
|
|
9
|
-
- 地址查询完成
|
|
10
|
-
|
|
11
|
-
## 1.2.0-2018-11-11 @何宁社
|
|
12
|
-
- 删除样式
|
|
1
|
+
# Change Log
|
|
2
|
+
所有关于本产品的变化都在该文档里。
|
|
3
|
+
|
|
4
|
+
## 1.3.2-2018-11-12 @刘江涛
|
|
5
|
+
- 地址查询修改
|
|
6
|
+
|
|
7
|
+
## 1.3.1-2018-11-11 @何宁社
|
|
8
|
+
- 地址管理完成
|
|
9
|
+
- 地址查询完成
|
|
10
|
+
|
|
11
|
+
## 1.2.0-2018-11-11 @何宁社
|
|
12
|
+
- 删除样式
|
package/examples/showAdd/App.vue
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<app-base>
|
|
3
|
-
<div id="content"></div>
|
|
4
|
-
</app-base>
|
|
5
|
-
</template>
|
|
6
|
-
|
|
7
|
-
<script>
|
|
8
|
-
import Comp from "./comp"
|
|
9
|
-
import {HttpResetClass} from 'vue-client'
|
|
10
|
-
|
|
11
|
-
export default {
|
|
12
|
-
|
|
13
|
-
ready() {
|
|
14
|
-
|
|
15
|
-
// 设置模板为测试,,
|
|
16
|
-
global.canvas = "TestDataComponent";
|
|
17
|
-
global.myjson = Object.assign(global.myjson, {
|
|
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
|
-
TestDataComponent:
|
|
20
|
-
{"template":{"Row":"@1*","Background":"@#f5f7f9","Column":"@300,1*","children":[{"Classes":"@BorderRect","Name":"@左边","Background":"@#ffffff","children":[{"type":"Grid","PaddingRight":"@5","StrokeStyle":"@#dce0e3","Classes":"@BorderRect","Name":"@上边","children":[{"type":"Button","Text":"@查询","@Click":"stat.Popup($SearchPlan$,stat,this,e.draw)","Slots":{"item":{"Path":"this.MouseIn:$searchhover$,$searchnormal$","Classes":"@SearchButtonImg","type":"Image"}}},{"type":"Stack","PaddingBottom":"@4","PaddingTop":"@8"},{"type":"Button","Classes":"@BorderRound","PaddingTop":"@5","@Click":"stat.Call($listBack$)","Slots":{"item":{"Path":"@back","type":"Image","Name":"Button_Image"}}}],"Column":"@*,1*,*","PaddingTop":"@3","Pos":"@Top","Row":"@*,*","PaddingLeft":"@5","PaddingBottom":"@4","Bottom":"@1"},{"Row":"@30,1*,0,*,0","Pos":"@Center","Classes":"@NormalFontlight","children":[{"type":"Text","VAlign":"@Center","HAlign":"@Center","Text":"stat.Data.selectCommunityInfo"},{"type":"Scroll","Slots":{"item":{"Slots":{"item":{"type":"Stack","PaddingBottom":"@1","Width":"@300","Original":"@V","children":[{"type":"Grid","PaddingTop":"@20","Column":"@42,1*,42,1*","PaddingLeft":"@10","PaddingRight":"@10","PaddingBottom":"@20","Row":"@20,20,20","children":[{"Font":"@15px 微软雅黑","Text":"data.name","ColSpan":"@4","type":"Text"},{"ColSpan":"@1","type":"Text","FillStyle":"@#4792de","Text":"@省份"},{"type":"Text","Classes":"@NormalFontHeavy","ColSpan":"@1","Text":"data.province"},{"FillStyle":"@#4792de","type":"Text","Text":"@地区"},{"Text":"data.district","type":"Text"},{"type":"Text","FillStyle":"@#4792de","Text":"@街道"},{"type":"Text","Text":"data.street"}]},{"StrokeStyle":"@#dce0e3","type":"Stack","Classes":"@BorderRect","Left":"@5","Right":"@5"}]}},"type":"List","Name":"@安检计划","Data":"stat.Data.listInfo","@Change":"stat.Call($checkCom$, e.Value.self)"}}},{"Left":"@5","type":"Stack","Right":"@5","StrokeStyle":"@#dfe4e7","Classes":"@BorderRect"},{"PaddingBottom":"@10","Column":"@1*,1*","Row":"@1*","PaddingLeft":"@20","PaddingRight":"@20","PaddingTop":"@10","children":[{"type":"Text","Text":"@"},{"type":"Button","HAlign":"@Right","FillStyle":"this.MouseIn:$#000000$,$#666666$","@Click":"stat.Call($loadMore$,$community$)","Slots":{"item":{"type":"Stack","Name":"LoadMoreButton_Stack","children":[{"type":"Image","VAlign":"@Bottom","Path":"@doubledown"},{"type":"Text","Left":"@4","Text":"@更多"}]}}}],"type":"Grid"},{"StrokeStyle":"@#dfe4e7","Right":"@5","type":"Stack","Left":"@5","Classes":"@BorderRect"}],"type":"Grid","Column":"@1*"}],"type":"Dock","StrokeStyle":"@#dce0e3"},{"type":"Dock","Background":"@#f5f7f9","Classes":"@BorderRect","Name":"@右边","children":[{"Pos":"@Top","Background":"@#ffffff","StrokeStyle":"@#dce0e3","Name":"@工具条","Classes":"@BorderRect","children":[{"HAlign":"@Center","VAlign":"@Center","Pos":"@Center","Text":"stat.Data.selectShow","type":"Text"},{"type":"Stack","Top":"@4","Bottom":"@4","children":[{"PaddingTop":"@10","Text":"@","type":"Text"}]}],"type":"Stack","HAlign":"@Center"},{"type":"Grid","Column":"@1*","Pos":"@Center","Row":"@1*","Background":"@#F7F7F7","children":[{"VAlign":"@Center","Width":"@1000","Slots":{"item":{"Data":"stat.Data.towerInfo","TierHeight":"@90","SingleWidth":"@120","HAlign":"@Center","VAlign":"@Center","type":"DynamicTable"}},"type":"Scroll","Height":"@800","HAlign":"@Center"}]}]}],"type":"Grid"},"Drag":{"deleteMsg":{"children":[{"children":[{"PaddingBottom":"@70","VAlign":"@Center","Text":"$确认删除{stat.Data.deleteBookInfo.f_book_name}?$","HAlign":"@Center","PaddingLeft":"@100","PaddingRight":"@100","type":"Text","PaddingTop":"@70"}],"type":"Grid","Column":"@*","Background":"@#ffffff","Classes":"@NormalFontlight","HAlign":"@Center","VAlign":"@Center","Row":"@*"}],"type":"Grid","Column":"@*","Row":"@*"},"upPlan":{"Row":"@*","children":[{"PaddingLeft":"@20","PaddingTop":"@20","PaddingBottom":"@20","PaddingRight":"@36","Row":"@*,*","Background":"@#ffffff","children":[{"Text":"@* 抄表册名","Right":"@10","HAlign":"@Right","VAlign":"@Center","type":"Text"},{"@Change":"stat.Call($editBookInfos$,$f_book_name$,e.Value)","type":"Input","Value":"stat.Data.editBookInfo.f_book_name"},{"HAlign":"@Right","VAlign":"@Center","type":"Text","Text":"@抄表员","Right":"@10"},{"Data":"stat.Data.inputtorInfo","Classes":"@SelectWhite BorderRound","Selected":"stat.Data.editBookInfo.f_inputtor","@Change":"stat.Call($editBookInfos$,$f_inputtor$,e.Value)","type":"Select"},{"HAlign":"@Right","VAlign":"@Center","type":"Text","Top":"@10","Text":"@所属公司","Right":"@10"},{"@Change":"stat.Call($editBookInfos$,$f_filiale_name$,e.Value)","type":"Select","Classes":"@SelectWhite BorderRound","Top":"@10","Selected":"stat.Data.editBookInfo.f_filiale_name","Data":"stat.Data.orgInfo"},{"type":"Text","Top":"@10","Text":"@备注","Right":"@10","HAlign":"@Right","VAlign":"@Center"},{"type":"Input","Value":"stat.Data.editBookInfo.f_book_remark","Top":"@10","@Change":"stat.Call($editBookInfos$,$f_book_remark$,e.Value)"}],"Column":"@80,170,80,170","type":"Grid","Classes":"@NormalFontlight"}],"type":"Grid","Column":"@*"},"SearchPlan":{"type":"Grid","Row":"@1*","Column":"@1*","Classes":"@PopupSearch PopupShadow","children":[{"Row":"@*,*,*,*,*,*","PaddingLeft":"@10","type":"Grid","PaddingTop":"@10","Column":"@70,170","PaddingBottom":"@10","Classes":"@BorderRound NormalFont PopupSearch","PaddingRight":"@20","children":[{"PaddingBottom":"@6","Classes":"@GridLabel","Text":"@小区名称","type":"Text"},{"type":"Input","Value":"stat.Data.community.search.model.name","@Change":"stat.Call($setProperty$, $community$, $name$, e.Value)"},{"PaddingTop":"@6","Text":"@街 道","Classes":"@GridLabel","type":"Text","PaddingBottom":"@6"},{"PaddingTop":"@6","@Change":"stat.Call($setProperty$, $community$, $street$, e.Value)","type":"Input","Value":"stat.Data.community.search.model.street"},{"ColSpan":"@2","HAlign":"@Center","children":[{"type":"Button","Right":"@50","Text":"@取消","Classes":"@Button2","@Click":"stat.RestorePopup(this,e.draw)"},{"Classes":"@Button","Text":"@查询","FillStyle":"@#ffffff","@Click":"stat.Call($searchCommunity$),stat.RestorePopup(this,e.draw)","type":"Button"}],"type":"Stack","Top":"@20"}]}]},"drag":{"Text":"@","type":"Text"},"start":{"Path":"@drag","type":"Image"},"NewPlan":{"Column":"@*","Row":"@*","children":[{"PaddingTop":"@20","Column":"@80,170,80,170,80,170","Classes":"@NormalFontlight","type":"Grid","PaddingBottom":"@20","children":[{"HAlign":"@Right","VAlign":"@Center","type":"Text","Right":"@10","Text":"@* 抄表册名称"},{"type":"Input","@Change":"stat.Call($addNewBookInfo$, $f_book_name$, e.Value)"},{"type":"Text","Text":"@抄表员","HAlign":"@Right","VAlign":"@Center","Right":"@10"},{"@Change":"stat.Call($addNewBookInfo$, $f_inputtor$, e.Value)","type":"Select","Classes":"@SelectWhite BorderRound","Data":"stat.Data.inputtorInfo"},{"VAlign":"@Center","Right":"@10","Text":"@所属公司","type":"Text","HAlign":"@Right"},{"type":"Select","Classes":"@SelectWhite BorderRound","Data":"stat.Data.orgInfo","@Change":"stat.Call($addNewBookInfo$, $f_filiale_name$, e.Value)"},{"Right":"@10","Text":"@公司","Top":"@10","HAlign":"@Right","VAlign":"@Center","type":"Text","PaddingTop":"@6","PaddingBottom":"@6"},{"Top":"@10","Text":"stat.Data.loginInfo.data.orgs","HAlign":"@Center","VAlign":"@Center","type":"Text"},{"type":"Text","Top":"@10","Right":"@10","Text":"@部门","HAlign":"@Right","VAlign":"@Center"},{"Top":"@10","Text":"stat.Data.loginInfo.data.deps","HAlign":"@Center","type":"Text","VAlign":"@Center"},{"HAlign":"@Right","VAlign":"@Center","type":"Text","Right":"@10","Top":"@10","Text":"@登陆人"},{"Text":"stat.Data.loginInfo.data.name","type":"Text","Top":"@10","HAlign":"@Center","VAlign":"@Center"},{"PaddingBottom":"@6","HAlign":"@Right","VAlign":"@Center","type":"Text","Right":"@10","Top":"@10","Text":"@备注","PaddingTop":"@6"},{"ColSpan":"@5","Top":"@10","@Change":"stat.Call($addNewBookInfo$, $f_book_remark$, e.Value)","type":"Input"}],"Pos":"@Center","Row":"@*,*,*","PaddingRight":"@36","PaddingLeft":"@20","Background":"@#ffffff"}],"type":"Grid"}}}
|
|
21
|
-
});
|
|
22
|
-
loadWasm().then(() => {
|
|
23
|
-
global.stat = new Comp()
|
|
24
|
-
|
|
25
|
-
if (this.$login) {
|
|
26
|
-
global.stat.loginInfo = this.$login.f
|
|
27
|
-
console.log('登录信息', this.$login.f)
|
|
28
|
-
console.log('stat',global.stat)
|
|
29
|
-
console.log('login',global.stat.loginInfo)
|
|
30
|
-
}
|
|
31
|
-
global.stat.ready().then(() => {
|
|
32
|
-
console.log(global.stat)
|
|
33
|
-
run()
|
|
34
|
-
})
|
|
35
|
-
})
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
}
|
|
40
|
-
</script>
|
|
1
|
+
<template>
|
|
2
|
+
<app-base>
|
|
3
|
+
<div id="content"></div>
|
|
4
|
+
</app-base>
|
|
5
|
+
</template>
|
|
6
|
+
|
|
7
|
+
<script>
|
|
8
|
+
import Comp from "./comp"
|
|
9
|
+
import {HttpResetClass} from 'vue-client'
|
|
10
|
+
|
|
11
|
+
export default {
|
|
12
|
+
|
|
13
|
+
ready() {
|
|
14
|
+
|
|
15
|
+
// 设置模板为测试,,
|
|
16
|
+
global.canvas = "TestDataComponent";
|
|
17
|
+
global.myjson = Object.assign(global.myjson, {
|
|
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
|
+
TestDataComponent:
|
|
20
|
+
{"template":{"Row":"@1*","Background":"@#f5f7f9","Column":"@300,1*","children":[{"Classes":"@BorderRect","Name":"@左边","Background":"@#ffffff","children":[{"type":"Grid","PaddingRight":"@5","StrokeStyle":"@#dce0e3","Classes":"@BorderRect","Name":"@上边","children":[{"type":"Button","Text":"@查询","@Click":"stat.Popup($SearchPlan$,stat,this,e.draw)","Slots":{"item":{"Path":"this.MouseIn:$searchhover$,$searchnormal$","Classes":"@SearchButtonImg","type":"Image"}}},{"type":"Stack","PaddingBottom":"@4","PaddingTop":"@8"},{"type":"Button","Classes":"@BorderRound","PaddingTop":"@5","@Click":"stat.Call($listBack$)","Slots":{"item":{"Path":"@back","type":"Image","Name":"Button_Image"}}}],"Column":"@*,1*,*","PaddingTop":"@3","Pos":"@Top","Row":"@*,*","PaddingLeft":"@5","PaddingBottom":"@4","Bottom":"@1"},{"Row":"@30,1*,0,*,0","Pos":"@Center","Classes":"@NormalFontlight","children":[{"type":"Text","VAlign":"@Center","HAlign":"@Center","Text":"stat.Data.selectCommunityInfo"},{"type":"Scroll","Slots":{"item":{"Slots":{"item":{"type":"Stack","PaddingBottom":"@1","Width":"@300","Original":"@V","children":[{"type":"Grid","PaddingTop":"@20","Column":"@42,1*,42,1*","PaddingLeft":"@10","PaddingRight":"@10","PaddingBottom":"@20","Row":"@20,20,20","children":[{"Font":"@15px 微软雅黑","Text":"data.name","ColSpan":"@4","type":"Text"},{"ColSpan":"@1","type":"Text","FillStyle":"@#4792de","Text":"@省份"},{"type":"Text","Classes":"@NormalFontHeavy","ColSpan":"@1","Text":"data.province"},{"FillStyle":"@#4792de","type":"Text","Text":"@地区"},{"Text":"data.district","type":"Text"},{"type":"Text","FillStyle":"@#4792de","Text":"@街道"},{"type":"Text","Text":"data.street"}]},{"StrokeStyle":"@#dce0e3","type":"Stack","Classes":"@BorderRect","Left":"@5","Right":"@5"}]}},"type":"List","Name":"@安检计划","Data":"stat.Data.listInfo","@Change":"stat.Call($checkCom$, e.Value.self)"}}},{"Left":"@5","type":"Stack","Right":"@5","StrokeStyle":"@#dfe4e7","Classes":"@BorderRect"},{"PaddingBottom":"@10","Column":"@1*,1*","Row":"@1*","PaddingLeft":"@20","PaddingRight":"@20","PaddingTop":"@10","children":[{"type":"Text","Text":"@"},{"type":"Button","HAlign":"@Right","FillStyle":"this.MouseIn:$#000000$,$#666666$","@Click":"stat.Call($loadMore$,$community$)","Slots":{"item":{"type":"Stack","Name":"LoadMoreButton_Stack","children":[{"type":"Image","VAlign":"@Bottom","Path":"@doubledown"},{"type":"Text","Left":"@4","Text":"@更多"}]}}}],"type":"Grid"},{"StrokeStyle":"@#dfe4e7","Right":"@5","type":"Stack","Left":"@5","Classes":"@BorderRect"}],"type":"Grid","Column":"@1*"}],"type":"Dock","StrokeStyle":"@#dce0e3"},{"type":"Dock","Background":"@#f5f7f9","Classes":"@BorderRect","Name":"@右边","children":[{"Pos":"@Top","Background":"@#ffffff","StrokeStyle":"@#dce0e3","Name":"@工具条","Classes":"@BorderRect","children":[{"HAlign":"@Center","VAlign":"@Center","Pos":"@Center","Text":"stat.Data.selectShow","type":"Text"},{"type":"Stack","Top":"@4","Bottom":"@4","children":[{"PaddingTop":"@10","Text":"@","type":"Text"}]}],"type":"Stack","HAlign":"@Center"},{"type":"Grid","Column":"@1*","Pos":"@Center","Row":"@1*","Background":"@#F7F7F7","children":[{"VAlign":"@Center","Width":"@1000","Slots":{"item":{"Data":"stat.Data.towerInfo","TierHeight":"@90","SingleWidth":"@120","HAlign":"@Center","VAlign":"@Center","type":"DynamicTable"}},"type":"Scroll","Height":"@800","HAlign":"@Center"}]}]}],"type":"Grid"},"Drag":{"deleteMsg":{"children":[{"children":[{"PaddingBottom":"@70","VAlign":"@Center","Text":"$确认删除{stat.Data.deleteBookInfo.f_book_name}?$","HAlign":"@Center","PaddingLeft":"@100","PaddingRight":"@100","type":"Text","PaddingTop":"@70"}],"type":"Grid","Column":"@*","Background":"@#ffffff","Classes":"@NormalFontlight","HAlign":"@Center","VAlign":"@Center","Row":"@*"}],"type":"Grid","Column":"@*","Row":"@*"},"upPlan":{"Row":"@*","children":[{"PaddingLeft":"@20","PaddingTop":"@20","PaddingBottom":"@20","PaddingRight":"@36","Row":"@*,*","Background":"@#ffffff","children":[{"Text":"@* 抄表册名","Right":"@10","HAlign":"@Right","VAlign":"@Center","type":"Text"},{"@Change":"stat.Call($editBookInfos$,$f_book_name$,e.Value)","type":"Input","Value":"stat.Data.editBookInfo.f_book_name"},{"HAlign":"@Right","VAlign":"@Center","type":"Text","Text":"@抄表员","Right":"@10"},{"Data":"stat.Data.inputtorInfo","Classes":"@SelectWhite BorderRound","Selected":"stat.Data.editBookInfo.f_inputtor","@Change":"stat.Call($editBookInfos$,$f_inputtor$,e.Value)","type":"Select"},{"HAlign":"@Right","VAlign":"@Center","type":"Text","Top":"@10","Text":"@所属公司","Right":"@10"},{"@Change":"stat.Call($editBookInfos$,$f_filiale_name$,e.Value)","type":"Select","Classes":"@SelectWhite BorderRound","Top":"@10","Selected":"stat.Data.editBookInfo.f_filiale_name","Data":"stat.Data.orgInfo"},{"type":"Text","Top":"@10","Text":"@备注","Right":"@10","HAlign":"@Right","VAlign":"@Center"},{"type":"Input","Value":"stat.Data.editBookInfo.f_book_remark","Top":"@10","@Change":"stat.Call($editBookInfos$,$f_book_remark$,e.Value)"}],"Column":"@80,170,80,170","type":"Grid","Classes":"@NormalFontlight"}],"type":"Grid","Column":"@*"},"SearchPlan":{"type":"Grid","Row":"@1*","Column":"@1*","Classes":"@PopupSearch PopupShadow","children":[{"Row":"@*,*,*,*,*,*","PaddingLeft":"@10","type":"Grid","PaddingTop":"@10","Column":"@70,170","PaddingBottom":"@10","Classes":"@BorderRound NormalFont PopupSearch","PaddingRight":"@20","children":[{"PaddingBottom":"@6","Classes":"@GridLabel","Text":"@小区名称","type":"Text"},{"type":"Input","Value":"stat.Data.community.search.model.name","@Change":"stat.Call($setProperty$, $community$, $name$, e.Value)"},{"PaddingTop":"@6","Text":"@街 道","Classes":"@GridLabel","type":"Text","PaddingBottom":"@6"},{"PaddingTop":"@6","@Change":"stat.Call($setProperty$, $community$, $street$, e.Value)","type":"Input","Value":"stat.Data.community.search.model.street"},{"ColSpan":"@2","HAlign":"@Center","children":[{"type":"Button","Right":"@50","Text":"@取消","Classes":"@Button2","@Click":"stat.RestorePopup(this,e.draw)"},{"Classes":"@Button","Text":"@查询","FillStyle":"@#ffffff","@Click":"stat.Call($searchCommunity$),stat.RestorePopup(this,e.draw)","type":"Button"}],"type":"Stack","Top":"@20"}]}]},"drag":{"Text":"@","type":"Text"},"start":{"Path":"@drag","type":"Image"},"NewPlan":{"Column":"@*","Row":"@*","children":[{"PaddingTop":"@20","Column":"@80,170,80,170,80,170","Classes":"@NormalFontlight","type":"Grid","PaddingBottom":"@20","children":[{"HAlign":"@Right","VAlign":"@Center","type":"Text","Right":"@10","Text":"@* 抄表册名称"},{"type":"Input","@Change":"stat.Call($addNewBookInfo$, $f_book_name$, e.Value)"},{"type":"Text","Text":"@抄表员","HAlign":"@Right","VAlign":"@Center","Right":"@10"},{"@Change":"stat.Call($addNewBookInfo$, $f_inputtor$, e.Value)","type":"Select","Classes":"@SelectWhite BorderRound","Data":"stat.Data.inputtorInfo"},{"VAlign":"@Center","Right":"@10","Text":"@所属公司","type":"Text","HAlign":"@Right"},{"type":"Select","Classes":"@SelectWhite BorderRound","Data":"stat.Data.orgInfo","@Change":"stat.Call($addNewBookInfo$, $f_filiale_name$, e.Value)"},{"Right":"@10","Text":"@公司","Top":"@10","HAlign":"@Right","VAlign":"@Center","type":"Text","PaddingTop":"@6","PaddingBottom":"@6"},{"Top":"@10","Text":"stat.Data.loginInfo.data.orgs","HAlign":"@Center","VAlign":"@Center","type":"Text"},{"type":"Text","Top":"@10","Right":"@10","Text":"@部门","HAlign":"@Right","VAlign":"@Center"},{"Top":"@10","Text":"stat.Data.loginInfo.data.deps","HAlign":"@Center","type":"Text","VAlign":"@Center"},{"HAlign":"@Right","VAlign":"@Center","type":"Text","Right":"@10","Top":"@10","Text":"@登陆人"},{"Text":"stat.Data.loginInfo.data.name","type":"Text","Top":"@10","HAlign":"@Center","VAlign":"@Center"},{"PaddingBottom":"@6","HAlign":"@Right","VAlign":"@Center","type":"Text","Right":"@10","Top":"@10","Text":"@备注","PaddingTop":"@6"},{"ColSpan":"@5","Top":"@10","@Change":"stat.Call($addNewBookInfo$, $f_book_remark$, e.Value)","type":"Input"}],"Pos":"@Center","Row":"@*,*,*","PaddingRight":"@36","PaddingLeft":"@20","Background":"@#ffffff"}],"type":"Grid"}}}
|
|
21
|
+
});
|
|
22
|
+
loadWasm().then(() => {
|
|
23
|
+
global.stat = new Comp()
|
|
24
|
+
|
|
25
|
+
if (this.$login) {
|
|
26
|
+
global.stat.loginInfo = this.$login.f
|
|
27
|
+
console.log('登录信息', this.$login.f)
|
|
28
|
+
console.log('stat',global.stat)
|
|
29
|
+
console.log('login',global.stat.loginInfo)
|
|
30
|
+
}
|
|
31
|
+
global.stat.ready().then(() => {
|
|
32
|
+
console.log(global.stat)
|
|
33
|
+
run()
|
|
34
|
+
})
|
|
35
|
+
})
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
}
|
|
40
|
+
</script>
|
package/index.html
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="zh-CN">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="utf-8">
|
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
|
6
|
-
<META HTTP-EQUIV="pragma" CONTENT="no-cache">
|
|
7
|
-
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate">
|
|
8
|
-
<META HTTP-EQUIV="expires" CONTENT="0">
|
|
9
|
-
<title>奥枫信息系统</title>
|
|
10
|
-
<style media="screen">
|
|
11
|
-
/*url(./static/newmainbg.jpg)*/
|
|
12
|
-
body{width: 100%;background:#7f8eaf no-repeat center bottom; background-size: cover;}
|
|
13
|
-
body .loginbg{ width:100%; height:100%; background:url(./static/loginbg.jpg) no-repeat center top;}
|
|
14
|
-
</style>
|
|
15
|
-
</head>
|
|
16
|
-
<body id="bodymain" class="themeOne">
|
|
17
|
-
<app></app>
|
|
18
|
-
<!--<address-select :f_location="{f_locationType: 't_organization', f_locationId: 1535}" :show="true" />-->
|
|
19
|
-
</body>
|
|
20
|
-
|
|
21
|
-
</html>
|
|
22
|
-
|
|
23
|
-
<script>
|
|
24
|
-
import NewAreaInfo from "./src/components/NewAreaInfo";
|
|
25
|
-
export default {
|
|
26
|
-
components: {NewAreaInfo}
|
|
27
|
-
}
|
|
28
|
-
</script>
|
|
29
|
-
<script>
|
|
30
|
-
import NewAreaInfo from "./src/components/NewAreaInfo";
|
|
31
|
-
export default {
|
|
32
|
-
components: {NewAreaInfo}
|
|
33
|
-
}
|
|
34
|
-
</script>
|
|
35
|
-
<script>
|
|
36
|
-
import Basch from "./src/components/basch";
|
|
37
|
-
export default {
|
|
38
|
-
components: {Basch}
|
|
39
|
-
}
|
|
40
|
-
</script>
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="zh-CN">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
|
6
|
+
<META HTTP-EQUIV="pragma" CONTENT="no-cache">
|
|
7
|
+
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate">
|
|
8
|
+
<META HTTP-EQUIV="expires" CONTENT="0">
|
|
9
|
+
<title>奥枫信息系统</title>
|
|
10
|
+
<style media="screen">
|
|
11
|
+
/*url(./static/newmainbg.jpg)*/
|
|
12
|
+
body{width: 100%;background:#7f8eaf no-repeat center bottom; background-size: cover;}
|
|
13
|
+
body .loginbg{ width:100%; height:100%; background:url(./static/loginbg.jpg) no-repeat center top;}
|
|
14
|
+
</style>
|
|
15
|
+
</head>
|
|
16
|
+
<body id="bodymain" class="themeOne">
|
|
17
|
+
<app></app>
|
|
18
|
+
<!--<address-select :f_location="{f_locationType: 't_organization', f_locationId: 1535}" :show="true" />-->
|
|
19
|
+
</body>
|
|
20
|
+
|
|
21
|
+
</html>
|
|
22
|
+
|
|
23
|
+
<script>
|
|
24
|
+
import NewAreaInfo from "./src/components/NewAreaInfo";
|
|
25
|
+
export default {
|
|
26
|
+
components: {NewAreaInfo}
|
|
27
|
+
}
|
|
28
|
+
</script>
|
|
29
|
+
<script>
|
|
30
|
+
import NewAreaInfo from "./src/components/NewAreaInfo";
|
|
31
|
+
export default {
|
|
32
|
+
components: {NewAreaInfo}
|
|
33
|
+
}
|
|
34
|
+
</script>
|
|
35
|
+
<script>
|
|
36
|
+
import Basch from "./src/components/basch";
|
|
37
|
+
export default {
|
|
38
|
+
components: {Basch}
|
|
39
|
+
}
|
|
40
|
+
</script>
|