<template>
  <app-base>
    <div id="content"></div>

  </app-base>
</template>

<script>
import Comp from "./comp"
import {HttpResetClass} from 'vue-client'

export default {

    ready() {

      // 设置模板为测试,,
      global.canvas = "Component";
      global.myjson = Object.assign(global.myjson, {
        Component:{"template":{"Background":"@#f5f7f9","Column":"@230,1*","Row":"@1*","children":[{"Classes":"@BorderRect","Name":"@左边","Background":"@#ffffff","children":[{"PaddingLeft":"@5","PaddingTop":"@3","children":[{"type":"Button","Text":"@查询","@MouseDown":"stat.Popup($SearchPlan$,stat,this,e.draw)","Slots":{"item":{"Classes":"@SearchButtonImg","type":"Image","Path":"this.MouseIn:$searchhover$,$searchnormal$"}}},{"PaddingBottom":"@4","children":[{"type":"Button","Text":"@删除","FillStyle":"this.MouseIn: $#0f69c5$, $#4792de$","Left":"@12","@Click":"stat.Call($delCheckPlan$)"}],"type":"Stack","PaddingTop":"@8"}],"Classes":"@BorderRect","Bottom":"@1","PaddingBottom":"@4","Name":"@上边","Pos":"@Top","PaddingRight":"@5","type":"Grid","StrokeStyle":"@#dce0e3","Row":"@*,*","Column":"@*,1*"},{"children":[{"type":"Scroll","@DragOver":"stat.DragOver()","Slots":{"item":{"Data":"stat.Data.SelectAllPlan.list.data","Name":"@安检计划","Slots":{"item":{"Width":"@230","Original":"@V","Background":"data.id==stat.Data.SelectedPlan: $#d8eafb$, this.MouseIn: $#f5f6f7$, $$","children":[{"PaddingBottom":"@20","PaddingLeft":"@10","@Drop":"stat.Call($dragtoPlan$,data.id,data.f_filialeid,stat.GetDrag())","children":[{"type":"CheckBox","VAlign":"@Center","RowSpan":"@6"},{"Left":"@20","type":"Text","Text":"data.planname","ColSpan":"@3"},{"Classes":"@NormalFontLighter","Left":"@20","Top":"@12","type":"Text","Text":"@计划类型："},{"type":"Text","Left":"@20","Top":"@12","Text":"data.plantype"},{"Left":"@20","Top":"@12","type":"Text","Text":"@估表类型：","Classes":"@NormalFontLighter"},{"Top":"@12","Text":"data.tabletype","Left":"@20","type":"Text"},{"Top":"@12","Left":"@20","Text":"@减免类型：","Classes":"@NormalFontLighter","type":"Text"},{"Text":"data.breaktype","type":"Text","Left":"@20","Top":"@12"},{"type":"Text","Text":"@状      态：","Classes":"@NormalFontLighter","Left":"@20","Top":"@12"},{"type":"Text","Text":"data.state","Left":"@20","Top":"@12"}],"Row":"@*,*,*,*,*,*","type":"Grid","PaddingRight":"@10","PaddingTop":"@20","Column":"@20,1*,1*"},{"Left":"@5","Right":"@5","type":"Stack","StrokeStyle":"@#dce0e3","Classes":"@BorderRect"}],"type":"Stack","PaddingBottom":"@1"}},"type":"List"}}},{"Right":"@5","type":"Stack","StrokeStyle":"@#dfe4e7","Classes":"@BorderRect","Left":"@5"},{"Row":"@1*","PaddingLeft":"@20","PaddingRight":"@20","PaddingTop":"@10","PaddingBottom":"@10","Column":"@1*,1*","children":[{"type":"Text"},{"type":"Button","FillStyle":"this.MouseIn:$#000000$,$#666666$","HAlign":"@Right","@Click":"stat.Call($loadMore$,$checkplan$)","Slots":{"item":{"children":[{"VAlign":"@Bottom","Path":"@doubledown","type":"Image"},{"Left":"@4","Text":"@更多","type":"Text"}],"type":"Stack","Name":"LoadMoreButton_Stack"}}}],"type":"Grid"},{"Left":"@5","Classes":"@BorderRect","type":"Stack","StrokeStyle":"@#dfe4e7","Right":"@5"},{"Top":"@20","Classes":"@BorderRound","@Click":"stat.ShowModal($NewPlan$,$生成计划$,$addNewPlan$,$cancel$)","Slots":{"item":{"Name":"Button_Image","Path":"this.MouseIn:$addnewhover$,$addnew$","type":"Image"}},"type":"Button","Bottom":"@20","HAlign":"@Center"}],"type":"Grid","Row":"@1*,0,*,0,*","Pos":"@Center","Classes":"@NormalFontlight","Column":"@1*"}],"type":"Dock","StrokeStyle":"@#dce0e3"},{"type":"Dock","Classes":"@BorderRect","Name":"@右边","Background":"@#f5f7f9","children":[{"Classes":"@BorderRect","HAlign":"@Right","Pos":"@Top","Background":"@#ffffff","StrokeStyle":"@#dce0e3","children":[{"type":"Stack","Bottom":"@4","Top":"@4","children":[{"type":"Stack","Height":"@30"}]}],"type":"Stack","Name":"@工具条"},{"type":"Grid","Column":"@1*","Pos":"@Center","Row":"@1*,1*","children":[{"PaddingLeft":"@10","Row":"@*,1*,*","PaddingRight":"@24","Classes":"@BorderRect","PaddingTop":"@12","type":"Grid","Column":"@1*","PaddingBottom":"@20","children":[{"type":"Stack","Bottom":"@17","children":[{"VAlign":"@Center","Text":"@计划信息","type":"Text"},{"PlaceHolder":"@用户编号","Classes":"@BorderRect","Left":"@10","Width":"@150","@Change":"stat.Call($setProperty$,$checkplanitems$,$usercode$, e.Value)","type":"Input"},{"PlaceHolder":"@用户名称","Left":"@10","@Change":"stat.Call($setProperty$,$checkplanitems$,$username$, e.Value)","type":"Input","Width":"@150","Classes":"@BorderRect"},{"PlaceHolder":"@用户地址","Width":"@150","@Change":"stat.Call($setProperty$,$checkplanitems$,$f_address$, e.Value)","type":"Input","Left":"@10"},{"Width":"@150","PlaceHolder":"@全文搜索","Left":"@10","@Change":"stat.Call($fieldChange$,$planItemConditionValue$,e.Value)","type":"Input"},{"type":"Button","Classes":"@DropDownButton BorderRound","Left":"@10","@Click":"stat.Popup($condition1$,stat,this,e.draw)","Slots":{"item":{"Name":"DropDownButton_Image","Classes":"@DropDownButtonImg","type":"Image"}}},{"Classes":"@SearchButton BorderRound","@Click":"stat.Call($searchPlanItem$)","Slots":{"item":{"type":"Image","Name":"SearchButton_Image","Classes":"@SearchButtonImg"}},"type":"Button","Left":"@10"}]},{"@DragOver":"stat.DragOver()","@DragStart":"stat.SetDrag($item$)","@Drop":"stat.Call($dragtoPlanItem$,stat.Data.checkplanitems.search.model.f_plan_id,stat.GetDrag())","Slots":{"item":{"type":"Grid","Row":"@1*","children":[{"HAlign":"@Center","@Change":"stat.Call($addParam$, $checkplanitems$, data.f_check_item_id)","type":"CheckBox","IsSelected":"stat.Data.checkplanitems.check.Call($isChecked$, data.f_check_item_id)","Classes":"@DataGridBody"},{"Classes":"@BorderRect","StrokeStyle":"@#dfe4e7","HAlign":"@Center","Height":"@28","children":[{"Classes":"@Button2","Text":"@查询","Right":"@10","if":"data.f_state==$已检$:false,false","@Click":"stat.ShowModal($NewPlan$,$生成计划$,$addNewPlan$,$cancel$)","type":"Button"},{"Right":"@10","Text":"@补录","if":"data.f_state==$未检$:false,false","@Click":"stat.DrawModal($suppPaper$,$补录$,$addnewPaper$,$cancel$,e.draw),stat.Call($getselector$),stat.Call($suppfdevice$),stat.Call($fieldChange$,$suppplanitem$,data.self)","type":"Button","Classes":"@Button2"},{"Classes":"@Button2","Text":"@修改","if":"stat.Data.Call($isUpdate$,data.f_state,data.f_supplement_tag):false,false","@Click":"stat.DrawModal($suppPaper$,$修改$,$updatePaper$,$cancel$,e.draw),stat.Call($getselector$),stat.Call($getPaper$,data.f_check_item_id)","type":"Button"}],"type":"Stack","VAlign":"@Center"}]},"head":{"children":[{"Classes":"@DataGridHead","HAlign":"@Center","children":[{"type":"CheckBox","@Change":"stat.Call($changeCheckAll$, $checkplanitems$)"},{"Left":"@9","type":"Text","Text":"@全选"}],"type":"Stack"},{"Classes":"@DataGridHead","HAlign":"@Center","Text":"@用户编号","type":"Text"},{"Text":"@用户名称","HAlign":"@Center","type":"Text","Classes":"@DataGridHead"},{"type":"Text","Text":"@用户类型","Classes":"@DataGridHead","HAlign":"@Center"},{"HAlign":"@Center","type":"Text","Text":"@小区名称","Classes":"@DataGridHead"},{"Classes":"@DataGridBody","HAlign":"@Center","type":"Text","Text":"@状态"},{"Classes":"@DataGridHead","HAlign":"@Center","type":"Text","Text":"@地址"},{"type":"Text","Text":"@操作","HAlign":"@Center","Classes":"@DataGridHead"}],"type":"Grid","Row":"@1*"}},"type":"DataGrid","Classes":"@BorderRect","Column":"@100,100,130,100,130,100,1*,1*"},{"Classes":"@NormalFontlight","Top":"@12","Row":"@1*","Column":"@*,*,1*,*","children":[{"type":"Stack","children":[{"type":"Text","VAlign":"@Center"}]},{"type":"Text","Left":"@20","VAlign":"@Center"},{"type":"Text","Text":"@ "},{"Slots":{"item":{"children":[{"type":"Image","VAlign":"@Bottom","Path":"@doubledown"},{"type":"Text","Left":"@4","Text":"@更多"}],"type":"Stack","Name":"LoadMoreButton_Stack"}},"type":"Button","FillStyle":"this.MouseIn:$#000000$,$#666666$","@Click":"stat.Call($loadMore$,$checkplanitems$)"}],"type":"Grid","PaddingTop":"@5"}],"StrokeStyle":"@#dfe4e7"},{"PaddingTop":"@12","PaddingRight":"@24","Column":"@1*","PaddingLeft":"@10","Row":"@*,1*,*","children":[{"Bottom":"@17","children":[{"type":"Text","VAlign":"@Center","Text":"@用户信息"},{"Width":"@150","PlaceHolder":"@用户编号","@Change":"stat.Call($setProperty$,$user$,$userinfocode$, e.Value)","type":"Input","Classes":"@BorderRect","Left":"@10"},{"type":"Input","PlaceHolder":"@用户名称","Width":"@150","Left":"@10","@Change":"stat.Call($setProperty$,$user$,$username$, e.Value)"},{"Left":"@10","@Change":"stat.Call($setProperty$,$user$,$useraddress$, e.Value)","type":"Input","PlaceHolder":"@用户地址","Width":"@150"},{"VAlign":"@Center","type":"Text","Text":"@距上次安检","Left":"@10"},{"type":"Input","Width":"@40","Left":"@5","Right":"@5","@Change":"stat.Call($fieldChange$,$startday$,e.Value)"},{"VAlign":"@Center","Text":"@到","type":"Text"},{"Width":"@40","@Change":"stat.Call($fieldChange$,$endday$,e.Value)","type":"Input","Left":"@5"},{"type":"Select","Background":"@#fff","Width":"@50","Left":"@5","Classes":"@SelectGray BorderRound","Selected":"stat.Data.selectTime","StrokeStyle":"@#dfe4e7","@Change":"stat.Call($fieldChange$,$selectTime$,e.Value)"},{"type":"Input","PlaceHolder":"@全文搜索","Classes":"@BorderRect","Left":"@10","Width":"@150"},{"Classes":"@DropDownButton BorderRound","Left":"@10","@Click":"stat.Popup($condition$,stat,this,e.draw)","Slots":{"item":{"Classes":"@DropDownButtonImg","type":"Image","Name":"DropDownButton_Image"}},"type":"Button"},{"Slots":{"item":{"Classes":"@SearchButtonImg","type":"Image","Name":"SearchButton_Image"}},"type":"Button","Left":"@10","Classes":"@SearchButton BorderRound","@Click":"stat.Call($searchUser$)"}],"type":"Stack"},{"Slots":{"item":{"type":"Grid","Row":"@*","children":[{"Classes":"@DataGridBody","VAlign":"@Center","IsSelected":"stat.Data.user.check.Call($isChecked$, data.id)","HAlign":"@Center","@Change":"stat.Call($addParam$, $user$, data.id)","type":"CheckBox"}]},"head":{"children":[{"type":"Stack","Classes":"@DataGridHead","children":[{"type":"CheckBox","@Change":"stat.Call($changeCheckAll$, $user$)"},{"Left":"@9","type":"Text","Text":"@全选"}]},{"Text":"@用户编号","type":"Text","Classes":"@DataGridHead"},{"type":"Text","Text":"@用户名称","Classes":"@DataGridHead"},{"Text":"@用户类型","type":"Text","Classes":"@DataGridHead"},{"Classes":"@DataGridHead","Text":"@区/县","type":"Text"},{"Classes":"@DataGridHead","Text":"@所属计划","type":"Text"},{"Text":"@地址","Classes":"@DataGridHead","type":"Text"}],"type":"Grid","Row":"@*"}},"type":"DataGrid","Column":"@100,100,130,100,150,150,1*","Classes":"@BorderRect","@DragOver":"stat.DragOver()","@Drop":"stat.Call($delPlanItem$,stat.GetDrag())","@DragStart":"stat.SetDrag($user$)"},{"type":"Grid","Top":"@12","Row":"@1*","Column":"@*,*,1*,*","Classes":"@NormalFontlight","children":[{"type":"Stack","children":[{"type":"Text"}]},{"type":"Text","Left":"@20"},{"type":"Text","Text":"@ "},{"@Click":"stat.Call($loadMore$,$user$)","Slots":{"item":{"children":[{"Path":"@doubledown","VAlign":"@Bottom","type":"Image"},{"type":"Text","Left":"@4","Text":"@更多"}],"type":"Stack"}},"type":"Button","Text":"@加载更多","FillStyle":"this.MouseIn:$#000000$,$#666666$"}]}],"type":"Grid","Classes":"@BorderRect","PaddingBottom":"@20","StrokeStyle":"@#dfe4e7"}]}]}],"type":"Grid"},"Drag":{"condition":{"Classes":"@PopupSearch PopupShadow","Row":"@1*","Column":"@1*","children":[{"children":[{"Height":"@200","Slots":{"item":{"type":"List","Data":"stat.Data.conditionList","Name":"@新","Slots":{"item":{"Background":"@#fff","Column":"@*,*,*,*,*","PaddingBottom":"@10","Row":"@*","PaddingTop":"@10","PaddingRight":"@10","PaddingLeft":"@10","children":[{"Right":"@8","@Change":"stat.Call($conditionListChange$,$conditionList$,index,$selectitem$,e.Value.self)","Selected":"data.selectitem","Classes":"@SelectGray BorderRound","Width":"@150","Data":"stat.Data.conditionJson","type":"Select","StrokeStyle":"@#dfe4e7","Text":"this.Selected.checkname","Background":"@#fff","Slots":{"item":{"type":"Stack","Height":"@30","children":[{"type":"Text","Text":"data.checkname","Left":"@10","VAlign":"@Center"}]}}},{"Value":"data.selectValue","Width":"@150","if":"data.selectitem.type==$input$","@Change":"stat.Call($conditionListChange$,$conditionList$,data.num,$selectValue$,e.Value)","type":"Input"},{"Background":"@#fff","StrokeStyle":"@#dfe4e7","type":"DateInput","Date":"data.selectValue","Classes":"@SelectGray BorderRound","Width":"@150","ShowDateAndTime":"@All","@Change":"stat.Call($conditionListChange$,$conditionList$,data.num,$selectValue$,e.Value)","if":"data.selectitem.type==$date$"},{"StrokeStyle":"@#dfe4e7","@Change":"stat.Call($conditionListChange$,$conditionList$,data.num,$selectValue$,e.Value)","Background":"@#fff","type":"Select","Width":"@150","Data":"data.selectitem.options","Selected":"data.selectValue","if":"data.selectitem.type==$selector$","Classes":"@SelectGray BorderRound"},{"Path":"@littledelete","@Click":"stat.Call($deletecondition$,$conditionList$,$user$,index)","type":"Image","Left":"@8","VAlign":"@Center"}],"type":"Grid"}}}},"type":"Scroll"},{"VAlign":"@Center","@Click":"stat.Call($addconditionList$,$conditionList$)","type":"Image","Path":"@littleadd","HAlign":"@Center","Bottom":"@10"}],"type":"Grid","Column":"@*","Classes":"@BorderRound NormalFont PopupSearch","Row":"@*,*","Background":"@#fff"}],"type":"Grid"},"condition1":{"type":"Grid","Column":"@1*","Row":"@1*","Classes":"@PopupSearch PopupShadow","children":[{"Row":"@*,*","Classes":"@BorderRound NormalFont PopupSearch","children":[{"type":"Scroll","Height":"@200","Slots":{"item":{"Name":"@新","Data":"stat.Data.planitemconditionList","Slots":{"item":{"Column":"@*,*,*,*,*","PaddingBottom":"@10","children":[{"type":"Select","Classes":"@SelectGray BorderRound","Slots":{"item":{"type":"Stack","Height":"@30","children":[{"type":"Text","Text":"data.checkname","Left":"@10","VAlign":"@Center"}]}},"Data":"stat.Data.planitemconditionJson","@Change":"stat.Call($conditionListChange$,$planitemconditionList$,index,$selectitem$,e.Value.self)","Right":"@8","Background":"@#fff","StrokeStyle":"@#dfe4e7","Text":"this.Selected.checkname","Selected":"data.selectitem","Width":"@150"},{"if":"data.selectitem.type==$input$","@Change":"stat.Call($conditionListChange$,$planitemconditionList$,data.num,$selectValue$,e.Value)","type":"Input","Width":"@150","Value":"data.selectValue"},{"Background":"@#fff","ShowDateAndTime":"@All","StrokeStyle":"@#dfe4e7","Date":"data.selectValue","Classes":"@SelectGray BorderRound","type":"DateInput","if":"data.selectitem.type==$date$","@Change":"stat.Call($conditionListChange$,$planitemconditionList$,data.num,$selectValue$,e.Value)","Width":"@150"},{"Background":"@#fff","type":"Select","Width":"@150","Classes":"@SelectGray BorderRound","if":"data.selectitem.type==$selector$","Selected":"data.selectValue","StrokeStyle":"@#dfe4e7","Data":"data.selectitem.options","@Change":"stat.Call($conditionListChange$,$planitemconditionList$,data.num,$selectValue$,e.Value)"},{"VAlign":"@Center","Path":"@littledelete","@Click":"stat.Call($deletecondition$,$planitemconditionList$,$checkplanitems$,index)","type":"Image","Left":"@8"}],"type":"Grid","PaddingRight":"@10","Row":"@*","Background":"@#fff","PaddingLeft":"@10","PaddingTop":"@10"}},"type":"List"}}},{"@Click":"stat.Call($addconditionList$,$planitemconditionList$)","type":"Image","Bottom":"@10","HAlign":"@Center","VAlign":"@Center","Path":"@littleadd"}],"type":"Grid","Column":"@*"}]},"drag":{"type":"Text","Text":"@ "},"NewPlan":{"children":[{"Pos":"@Center","PaddingRight":"@36","Background":"@#ffffff","Column":"@80,170,80,170,80,170","PaddingTop":"@20","type":"Grid","PaddingLeft":"@20","PaddingBottom":"@20","children":[{"type":"Text","Text":"@计划名称","HAlign":"@Right","VAlign":"@Center","Right":"@10"},{"type":"Input","@Change":"stat.Call($setNewPlan$, $f_plan_name$, e.Value)"},{"type":"Text","VAlign":"@Center","Right":"@10","Text":"@计划类型","HAlign":"@Right"},{"type":"Select","Classes":"@SelectWhite BorderRound","@Change":"stat.Call($setNewPlan$, $f_plan_year$, e.Value)"},{"VAlign":"@Center","type":"Text","Right":"@10","Text":"@估表类型","HAlign":"@Right"},{"type":"Select","Classes":"@SelectWhite BorderRound","@Change":"stat.Call($setNewPlan$, $f_plan_month$, e.Value)"},{"Top":"@10","HAlign":"@Right","type":"Text","VAlign":"@Center","Right":"@10","Text":"@减免类型"},{"type":"Select","Top":"@10","Classes":"@SelectWhite BorderRound"},{"VAlign":"@Center","Top":"@10","Right":"@10","Text":"@估表数值","HAlign":"@Right","type":"Text"},{"Top":"@10","type":"Input","Classes":"@SelectWhite BorderRound"},{"type":"Text","Text":"@估表月份","Right":"@10","VAlign":"@Center","HAlign":"@Right"},{"type":"Input","Classes":"@SelectWhite BorderRound","Top":"@10"},{"Right":"@10","Text":"@开始时间","HAlign":"@Right","type":"Text","VAlign":"@Center"},{"Classes":"@SelectWhite BorderRound","Top":"@10","type":"DateInput"},{"type":"Text","Text":"@截止时间","VAlign":"@Center","HAlign":"@Right","Right":"@10"},{"type":"DateInput","Top":"@10","Classes":"@SelectWhite BorderRound"},{"HAlign":"@Right","Text":"@执行时间","Right":"@10","VAlign":"@Center","type":"Text"},{"type":"DateInput","Classes":"@SelectWhite BorderRound","Top":"@10"},{"type":"Text","HAlign":"@Right","Right":"@10","Text":"@减免数值","VAlign":"@Center"},{"type":"Input","Height":"@30","Top":"@10","Classes":"@SelectWhite BorderRound"},{"type":"Grid","Row":"@1*","Column":"@1*,1*","ColSpan":"@2","children":[{"type":"CheckBox","HAlign":"@Center","Left":"@40","VAlign":"@Center"},{"type":"Text","Text":"@已抄表","VAlign":"@Center"}]},{"type":"Grid","Row":"@1*","Column":"@1*,1*","ColSpan":"@2","children":[{"type":"CheckBox","VAlign":"@Center","HAlign":"@Center","Left":"@40"},{"type":"Text","Text":"@新用户","VAlign":"@Center"}]},{"type":"Grid","Row":"@1*","Column":"@1*,1*","ColSpan":"@6","children":[{"Top":"@15","HAlign":"@Center","VAlign":"@Center","Left":"@120","Right":"@120","type":"Button","Text":"@取消","Classes":"@Button2"},{"Text":"@查询","Classes":"@Button","HAlign":"@Center","Right":"@120","Left":"@120","FillStyle":"@#ffffff","type":"Button","Top":"@15","VAlign":"@Center"}]}],"Row":"@*,*,*,*,*"}],"type":"Grid","Classes":"@NormalFontlight","Row":"@*","Column":"@*"},"upPlan":{"type":"Grid","Column":"@*","Row":"@*","children":[{"children":[{"VAlign":"@Center","Text":"@* 计划名称","Right":"@10","HAlign":"@Right","type":"Text"},{"Value":"stat.Data.plan.f_plan_name","@Change":"stat.Data.Call($setPlan$,$f_plan_name$,e.Value) ","type":"Input"},{"HAlign":"@Right","VAlign":"@Center","Text":"@安检员","Right":"@10","type":"Text"},{"Slots":{"item":{"children":[{"Left":"@10","VAlign":"@Center","type":"Text","Text":"data.name"}],"type":"Stack","Height":"@30"}},"type":"Select","Classes":"@SelectWhite BorderRound"},{"Text":"@计划年份","Right":"@10","HAlign":"@Right","VAlign":"@Center","type":"Text","Top":"@10"},{"Classes":"@SelectWhite BorderRound","type":"Select","Top":"@10"},{"HAlign":"@Right","VAlign":"@Center","Top":"@10","Text":"@计划月份","type":"Text","Right":"@10"},{"Top":"@10","Classes":"@SelectWhite BorderRound","type":"Select"}],"PaddingLeft":"@20","Column":"@80,170,80,170","PaddingRight":"@36","Background":"@#ffffff","PaddingTop":"@20","type":"Grid","PaddingBottom":"@20","Row":"@*,*","Classes":"@NormalFontlight"}]},"suppPaper":{"Classes":"@PopupSearch PopupShadow","Row":"@1*","children":[{"Classes":"@BorderRect","Column":"@1*","children":[{"VAlign":"@Center","type":"Text","HAlign":"@Center","Text":"@用户基本信息"},{"PaddingRight":"@20","type":"Grid","children":[{"type":"Text","Text":"@用户地址","Classes":"@GridLabel","PaddingBottom":"@6"},{"Classes":"@SelectWhite","Value":"stat.Data.suppplanitem.f_address","Top":"@5","Bottom":"@5","@Change":"stat.Call($setNewPaper$,$f_address$,e.Value)","type":"Input"},{"type":"Text","Classes":"@GridLabel","PaddingBottom":"@6","Text":"@证件号"},{"type":"Input","Top":"@5","Bottom":"@5","Value":"stat.Data.suppplanitem.f_idnumber","@Change":"stat.Call($setNewPaper$,$f_idnumber$,e.Value)"},{"PaddingBottom":"@6","type":"Text","Text":"@电话号码","Classes":"@GridLabel"},{"Value":"stat.Data.suppplanitem.f_user_phone","Top":"@5","Bottom":"@5","@Change":"stat.Call($setNewPaper$,$f_user_phone$,e.Value)","type":"Input"},{"Text":"@用户性质","Classes":"@GridLabel","type":"Text","PaddingBottom":"@6"},{"@Change":"stat.Call($setNewPaper$,$f_userproperties$,e.Value)","type":"Input","Top":"@5","Bottom":"@5","Value":"stat.Data.suppplanitem.f_userproperties"},{"Text":"@区/县","Classes":"@GridLabel","type":"Text","PaddingBottom":"@6"},{"type":"Input","Top":"@5","Bottom":"@5","Value":"stat.Data.suppplanitem.f_area","@Change":"stat.Call($setNewPaper$,$f_area$,e.Value)"},{"Classes":"@GridLabel","type":"Text","PaddingBottom":"@6","Text":"@备注信息"},{"type":"Input","Top":"@5","Bottom":"@5","Value":"stat.Data.suppplanitem.f_comments","@Change":"stat.Call($setNewPaper$,$f_comments$,e.Value)"},{"type":"Text","Text":"@楼号","Classes":"@GridLabel","PaddingBottom":"@6"},{"Top":"@5","Bottom":"@5","Value":"stat.Data.suppplanitem.f_building","@Change":"stat.Call($setNewPaper$,$f_building$,e.Value)","type":"Input"},{"type":"Text","Text":"@楼层","Classes":"@GridLabel","PaddingBottom":"@6"},{"Value":"stat.Data.suppplanitem.f_floor","@Change":"stat.Call($setNewPaper$,$f_floor$,e.Value)","type":"Input","Top":"@5","Bottom":"@5"},{"type":"Text","Text":"@小区","Classes":"@GridLabel","PaddingBottom":"@6"},{"type":"Input","Bottom":"@5","Value":"stat.Data.suppplanitem.f_residential_area","Top":"@5","@Change":"stat.Call($setNewPaper$,$f_residential_area$,e.Value)"},{"Classes":"@GridLabel","PaddingBottom":"@6","type":"Text","Text":"@街道"},{"Value":"stat.Data.suppplanitem.f_street","@Change":"stat.Call($setNewPaper$,$f_street$,e.Value)","type":"Input","Top":"@5","Bottom":"@5"},{"PaddingBottom":"@6","type":"Text","Text":"@单元","Classes":"@GridLabel"},{"Value":"stat.Data.suppplanitem.f_unit","Top":"@5","@Change":"stat.Call($setNewPaper$,$f_unit$,e.Value)","type":"Input","Bottom":"@5"},{"PaddingBottom":"@6","type":"Text","Text":"@用户名","Classes":"@GridLabel"},{"@Change":"stat.Call($setNewPaper$,$f_user_name$,e.Value)","type":"Input","Top":"@5","Bottom":"@5","Value":"stat.Data.suppplanitem.f_user_name"},{"Text":"@用户类型","type":"Text","Classes":"@GridLabel","PaddingBottom":"@6"},{"Value":"stat.Data.suppplanitem.f_user_type","Top":"@5","@Change":"stat.Call($setNewPaper$,$f_user_type$,e.Value)","type":"Input","Bottom":"@5"},{"PaddingBottom":"@6","Text":"@用户编号","Classes":"@GridLabel","type":"Text"},{"type":"Input","Bottom":"@5","Value":"stat.Data.suppplanitem.f_userinfo_code","Top":"@5","@Change":"stat.Call($setNewPaper$,$f_userinfo_code$,e.Value)"},{"Classes":"@GridLabel","type":"Text","PaddingBottom":"@6","Text":"@门牌号"},{"Bottom":"@5","Value":"stat.Data.suppplanitem.f_room","@Change":"stat.Call($setNewPaper$,$f_room$,e.Value)","type":"Input","Top":"@5"}],"PaddingTop":"@10","Column":"@70,170","Row":"@35,35,35,35,35,35,35,35,35,35,35,35,35,35,35","Classes":"@BorderRound NormalFont PopupSearch","PaddingLeft":"@10","PaddingBottom":"@10"}],"type":"Grid","Row":"@30,1*"},{"Column":"@1*","Row":"@30,1*","children":[{"type":"Text","VAlign":"@Center","Text":"@安检状况","HAlign":"@Center"},{"PaddingBottom":"@10","PaddingRight":"@20","Column":"@70,170","children":[{"type":"Text","Classes":"@GridLabel","PaddingBottom":"@6","Text":"@到达时间"},{"Classes":"@SelectWhite BorderRound","Top":"@5","Bottom":"@5","@Change":"stat.Call($setNewPaper$,$f_onsite_time$,e.Value)","type":"DateInput"},{"Text":"@离开时间","type":"Text","Classes":"@GridLabel","PaddingBottom":"@6"},{"type":"DateInput","Top":"@5","Bottom":"@5","Classes":"@SelectWhite BorderRound","@Change":"stat.Call($setNewPaper$,$f_offsite_time$,e.Value)"},{"type":"Text","Text":"@入户状态","Classes":"@GridLabel","PaddingBottom":"@6"},{"Classes":"@SelectWhite BorderRound","@Change":"stat.Call($setNewPaper$,$f_entry_status$,e.Value)","type":"Select","Top":"@5","Bottom":"@5","Selected":"stat.Data.suppplanitem.f_entry_status"},{"PaddingBottom":"@6","Text":"@燃气使用","type":"Text","Classes":"@GridLabel"},{"type":"Select","Classes":"@SelectWhite BorderRound","Top":"@5","Bottom":"@5","Selected":"stat.Data.suppplanitem.f_usegas","@Change":"stat.Call($setNewPaper$,$f_usegas$,e.Value)"},{"Text":"@安检员","PaddingBottom":"@6","Classes":"@GridLabel","type":"Text"},{"Classes":"@SelectWhite BorderRound","Top":"@5","Bottom":"@5","type":"Select","Selected":"stat.Data.suppplanitem.f_checker_name"}],"PaddingTop":"@10","PaddingLeft":"@10","Row":"@35,35,35,35,35,35,35,35,35,35,35,35,35,35,35","Classes":"@BorderRound NormalFont PopupSearch","type":"Grid"}],"type":"Grid"},{"Row":"@30,1*","children":[{"Text":"@安检选项","HAlign":"@Center","VAlign":"@Center","type":"Text"},{"type":"Grid","PaddingBottom":"@10","Row":"@*","PaddingTop":"@10","Column":"@1*","PaddingLeft":"@10","PaddingRight":"@20","children":[{"Slots":{"item":{"Slots":{"item":{"Row":"@35","children":[{"children":[{"type":"Text","Classes":"@GridLabel","Text":"data.lname","Width":"@100","Pos":"@Center"},{"Height":"@25","if":"data.type==$string$:true,false","Width":"@200","Top":"@5","@Change":"stat.Call($changeSelected$,data.lname,data.mname,e.Value)","type":"Input","Bottom":"@5","Value":"data.selected"},{"type":"DateInput","Width":"@200","Bottom":"@5","Height":"@25","Date":"data.selected","@Change":"stat.Call($changeSelected$,data.lname,data.mname,e.Value)","Top":"@5","if":"data.type==$date$:true,false","Classes":"@SelectWhite BorderRound"},{"@Change":"stat.Call($changeSelected$,data.lname,data.mname,e.Value)","Classes":"@SelectWhite BorderRound","Width":"@200","Bottom":"@5","Top":"@5","Data":"stat.Data.Call($reoption$,data.lname,data.mname)","Selected":"data.selected","type":"Select","Height":"@25","if":"data.type==$selector$:true,false"}],"type":"Grid","Row":"@1*","Column":"@100,200"}],"type":"Grid","Column":"@1*","Top":"@5","Bottom":"@5"}},"type":"List","Data":"stat.Data.listbutton"}},"type":"Scroll","Height":"@525"}],"Classes":"@BorderRound NormalFont PopupSearch"}],"type":"Grid","Column":"@1*"}],"type":"Grid","Column":"@280,280,331"},"SearchPlan":{"children":[{"TemplateName":"@RadioButton","type":"Select","Original":"@H","Left":"@20","Top":"@10"},{"PaddingBottom":"@10","Row":"@*,*,*,*,*,*,*,*,*","type":"Grid","Classes":"@BorderRound NormalFont PopupSearch","children":[{"Classes":"@GridLabel","Text":"@计划名称","PaddingBottom":"@6","type":"Text"},{"type":"Input"},{"Classes":"@GridLabel","Text":"@计划l类型","type":"Text"},{"type":"Select","Classes":"@SelectWhite BorderRound","Top":"@10"},{"type":"Text","Text":"@估表方式","Classes":"@GridLabel"},{"type":"Select","Top":"@10","Bottom":"@1","Classes":"@SelectWhite BorderRound"},{"type":"Text","Text":"@减免方式","Classes":"@GridLabel"},{"Top":"@10","Slots":{"item":{"Height":"@30","children":[{"VAlign":"@Center","Left":"@10","Text":"data.name","type":"Text"}],"type":"Stack"}},"type":"Select","Classes":"@SelectWhite BorderRound"},{"Classes":"@GridLabel","Text":"@起始日期","type":"Text"},{"Top":"@10","Classes":"@SelectWhite BorderRound","type":"DateInput"},{"Classes":"@GridLabel","type":"Text","Text":"@截止日期"},{"Top":"@10","Classes":"@SelectWhite BorderRound","type":"DateInput"},{"Text":"@状态","Classes":"@GridLabel","type":"Text"},{"Top":"@10","TemplateName":"@RadioButton","type":"Select","Original":"@H"},{"Column":"@1*,1*","type":"Grid","Row":"@1*"},{"Column":"@1*,1*,1*,1*","Top":"@10","Row":"@1*","children":[{"type":"CheckBox"},{"Text":"@已抄表","type":"Text"},{"type":"CheckBox","Left":"@10"},{"type":"Text","Text":"@新用户"}],"type":"Grid"},{"ColSpan":"@2","HAlign":"@Center","Top":"@20","children":[{"@Click":"stat.RestorePopup(this,e.draw)","type":"Button","Right":"@50","Text":"@取消","Classes":"@Button2"},{"Text":"@查询","@Click":"stat.Call($loadCheckPlan$,$$),stat.RestorePopup(this,e.draw)","type":"Button","FillStyle":"@#ffffff","Classes":"@Button"}],"type":"Stack"}],"PaddingRight":"@20","PaddingLeft":"@10","Column":"@70,170","PaddingTop":"@10"}],"type":"Grid","Classes":"@PopupSearch PopupShadow","Row":"@1*","Column":"@1*"},"start":{"Path":"@drag","type":"Image"}}}

      });
      let imgs = ["drag.png"];
      global.getImages(imgs, "../../static/images/meterBook/");
      loadWasm().then(() => {
        global.stat = new Comp()
        if (this.$login) {
          global.stat.loginInfo = this.$login.f
          console.log('登录信息', this.$login.f)
          console.log('stat',global.stat)
          console.log('login',global.stat.loginInfo)
        }

        global.stat.ready().then(() => {
          console.log(global.stat)
          run()
        })

      })
    }


}
</script>
