<template>
  <work-busy :is-busy="comp.isSend"></work-busy>
  <app-base>
    <div id="content"></div>
  </app-base>
</template>
<script>
import Comp from "./comp"
import TestData from "./TestData"
export default {
  data(){
    return{
      comp:null
    }
  },
  ready() {
    try{
      if (this.$login) {
        console.log('登录信息', this.$login.f)
        global.login=this.$login.f
      }
      this.comp=new Comp()
      // 设置模板为测试,,
      global.canvas = "TestDataComponent";
      global.myjson = Object.assign(global.myjson, {
        //TestDataComponent:{"template":{"type":"Grid","Background":"@#f5f7f9","Column":"@230,1*","Row":"@1*","children":[{"children":[{"Row":"@*,*","PaddingLeft":"@5","type":"Grid","Name":"@上边","StrokeStyle":"@#dce0e3","Classes":"@BorderRect","PaddingRight":"@5","Column":"@*,1*","children":[{"Slots":{"item":{"Path":"this.MouseIn:$searchhover$,$searchnormal$","Classes":"@SearchButtonImg","type":"Image"}},"type":"Button","Text":"@查询","@Click":"stat.Popup($SearchPlan$,stat,this,e.draw)","@MouseDown":"stat.Popup($SearchPlan$,stat,this,e.draw)"},{"Selected":"$按时间降序$","@Change":"stat.Call($loadCheckPlan$,e.Value)","type":"Select","Data":"stat.Data.orderList","Left":"@10","Classes":"@SelectGray BorderRound","Background":"@#fff","StrokeStyle":"@#dfe4e7"},{"type":"Text","Text":"@"},{"type":"Stack","PaddingBottom":"@4","PaddingTop":"@8","children":[{"type":"Button","FillStyle":"this.MouseIn: $#0f69c5$, $#4792de$","Left":"@110","Text":"@下发","@Click":"stat.Call($sendCheckPlan$)"},{"Text":"@删除","@Click":"stat.Call($delCheckPlan$)","type":"Button","FillStyle":"this.MouseIn: $#0f69c5$, $#4792de$","Left":"@12"}]}],"Pos":"@Top","Bottom":"@1","PaddingBottom":"@4","PaddingTop":"@3"},{"Pos":"@Center","Classes":"@NormalFontlight","Column":"@1*","children":[{"@DragOver":"stat.DragOver()","Slots":{"item":{"@Change":"stat.Call($openPlan$, e.Value.self)","Slots":{"item":{"type":"Stack","Original":"@V","Background":"data.id==stat.Data.SelectedPlan: $#d8eafb$, this.MouseIn: $#f5f6f7$, $$","PaddingBottom":"@1","Width":"@230","children":[{"@Drop":"stat.Call($dragtoPlan$,data.id,data.f_safecheck_type,data.f_filialeid,stat.GetDrag())","PaddingTop":"@20","PaddingBottom":"@20","PaddingLeft":"@10","Row":"@*,*,*,*","Column":"@25,42,1*,42,1*","PaddingRight":"@10","children":[{"children":[{"IsSelected":"stat.Data.checkplan.check.Call($isChecked$, data.id)","@Change":"stat.Call($addParam$, $checkplan$, data.id)","type":"CheckBox","if":"data.f_issued==$已下发$:false,true"}],"type":"Stack","RowSpan":"@4","VAlign":"@Center"},{"type":"Text","ColSpan":"@3","Font":"@15px 微软雅黑","Text":"data.f_plan_name"},{"Slots":{"item":{"type":"Image","Name":"Button_Image","Path":"@edit"}},"type":"Button","Classes":"@BorderRound","HAlign":"@Center","@Click":"stat.Data.Call($setPlanVal$,data.self),stat.ShowModal($upPlan$,$修改计划$,$upCheckPlan$,$cancel$)"},{"Text":"data.f_issued","Top":"@12","FillStyle":"@#4792de","type":"Text"},{"Top":"@10","ColSpan":"@3","HAlign":"@Right","children":[{"type":"Text","PaddingLeft":"@5","ColSpan":"@3","PaddingBottom":"@2","Font":"@12px 微软雅黑","PaddingRight":"@5","Background":"@#ffffff","Classes":"@BorderRound","Radius":"@8","FillStyle":"@#4792de","Text":"data.f_checker!=$$:data.f_checker,$共享","StrokeStyle":"@#cfdce8","PaddingTop":"@2"}],"type":"Stack"},{"type":"Text","Text":"${data.f_plan_year}-{data.f_plan_month}$","Classes":"@NormalFontLighter","Top":"@12","ColSpan":"@2"},{"Top":"@12","Left":"@10","Classes":"@NormalFontLighter","type":"Text","Text":"@总"},{"ColSpan":"@1","type":"Text","Name":"@总数","HAlign":"@Right","Text":"data.plan_count","Top":"@12","Right":"@10","Classes":"@NormalFontHeavy"},{"Top":"@12","type":"Text","Classes":"@NormalFontLighter","Text":"@已检"},{"type":"Text","Text":"data.checked","Left":"@5","Classes":"@NormalFontHeavy","Top":"@12"},{"Top":"@12","Text":"@未检","Classes":"@NormalFontLighter","Left":"@10","type":"Text"},{"Classes":"@NormalFontHeavy","Text":"data.unchecked","HAlign":"@Right","Top":"@12","Right":"@10","type":"Text"}],"type":"Grid"},{"Classes":"@BorderRect","type":"Stack","Left":"@5","Right":"@5","StrokeStyle":"@#dce0e3"}]}},"type":"List","Data":"stat.Data.checkplan.list.data","Name":"@安检计划"}},"type":"Scroll"},{"StrokeStyle":"@#dfe4e7","type":"Stack","Classes":"@BorderRect","Left":"@5","Right":"@5"},{"Row":"@1*","PaddingLeft":"@20","PaddingRight":"@20","children":[{"Text":"$共{stat.Data.checkplan.list.count}条$","type":"Text"},{"FillStyle":"this.MouseIn:$#000000$,$#666666$","@Click":"stat.Call($loadMore$,$checkplan$)","Slots":{"item":{"type":"Stack","Name":"LoadMoreButton_Stack","children":[{"Path":"@doubledown","type":"Image","VAlign":"@Bottom"},{"Text":"@更多","type":"Text","Left":"@4"}]}},"type":"Button","HAlign":"@Right"}],"type":"Grid","PaddingTop":"@10","PaddingBottom":"@10","Column":"@1*,1*"},{"type":"Stack","Left":"@5","Classes":"@BorderRect","StrokeStyle":"@#dfe4e7","Right":"@5"},{"Bottom":"@20","HAlign":"@Center","@Click":"stat.ShowModal($NewPlan$,$生成计划$,$addNewPlan$,$cancel$)","Slots":{"item":{"type":"Image","Name":"Button_Image","Path":"this.MouseIn:$addnewhover$,$addnew$"}},"type":"Button","Top":"@20","Classes":"@BorderRound"}],"type":"Grid","Row":"@1*,0,*,0,*"}],"type":"Dock","Classes":"@BorderRect","Name":"@左边","Background":"@#ffffff","StrokeStyle":"@#dce0e3"},{"Classes":"@BorderRect","children":[{"type":"Stack","Classes":"@BorderRect","HAlign":"@Right","Pos":"@Top","Background":"@#ffffff","StrokeStyle":"@#dce0e3","Name":"@工具条","children":[{"type":"Stack","Top":"@4","Bottom":"@4","children":[{"type":"Stack","Height":"@30","children":[{"type":"Button","Text":"@导出EXCEL","Classes":"@Button2","Right":"@30","@Click":"stat.Call($exportFile$)"}]}]}]},{"type":"Grid","Column":"@1*","Pos":"@Center","Row":"@1*,1*","children":[{"PaddingLeft":"@10","children":[{"type":"Stack","Bottom":"@17","children":[{"VAlign":"@Center","Text":"@计划信息","type":"Text"},{"type":"Input","Width":"@150","PlaceHolder":"@用户编号","Classes":"@BorderRect","Left":"@10","@Change":"stat.Call($setProperty$,$checkplanitems$,$usercode$, e.Value)"},{"type":"Input","Classes":"@BorderRect","PlaceHolder":"@用户名称","Left":"@10","Width":"@150","@Change":"stat.Call($setProperty$,$checkplanitems$,$username$, e.Value)"},{"type":"Input","Width":"@150","Left":"@10","PlaceHolder":"@用户地址","@Change":"stat.Call($setProperty$,$checkplanitems$,$f_address$, e.Value)"},{"type":"Input","PlaceHolder":"@全文搜索","Left":"@10","Width":"@150","@Change":"stat.Call($fieldChange$,$planItemConditionValue$,e.Value)"},{"Slots":{"item":{"Name":"DropDownButton_Image","Classes":"@DropDownButtonImg","type":"Image"}},"type":"Button","Classes":"@DropDownButton BorderRound","Left":"@10","@Click":"stat.Popup($condition1$,stat,this,e.draw)"},{"Classes":"@SearchButton BorderRound","@Click":"stat.Call($searchPlanItem$)","Slots":{"item":{"Classes":"@SearchButtonImg","type":"Image","Name":"SearchButton_Image"}},"type":"Button","Left":"@10"}]},{"Data":"stat.Data.checkplanitems.list.data","Classes":"@BorderRect","@DragOver":"stat.DragOver()","@DragStart":"stat.SetDrag($item$)","@Drop":"stat.Call($dragtoPlanItem$,stat.Data.checkplanitems.search.model.f_plan_id,stat.Data.plan.f_safecheck_type,stat.GetDrag())","Slots":{"head":{"Row":"@1*","children":[{"HAlign":"@Center","children":[{"@Change":"stat.Call($changeCheckAll$, $checkplanitems$)","type":"CheckBox"},{"Text":"@全选","Left":"@9","type":"Text"}],"type":"Stack","Classes":"@DataGridHead"},{"Text":"@用户编号","type":"Text","Classes":"@DataGridHead","HAlign":"@Center"},{"Classes":"@DataGridHead","Text":"@用户名称","HAlign":"@Center","type":"Text"},{"type":"Text","Text":"@用户类型","Classes":"@DataGridHead","HAlign":"@Center"},{"Text":"@小区名称","Classes":"@DataGridHead","HAlign":"@Center","type":"Text"},{"HAlign":"@Center","type":"Text","Text":"@状态","Classes":"@DataGridBody"},{"Classes":"@DataGridHead","HAlign":"@Center","type":"Text","Text":"@地址"},{"HAlign":"@Center","Classes":"@DataGridHead","type":"Text","Text":"@操作"}],"type":"Grid"},"item":{"type":"Grid","Row":"@1*","children":[{"type":"CheckBox","Classes":"@DataGridBody","HAlign":"@Center","IsSelected":"stat.Data.checkplanitems.check.Call($isChecked$, data.f_check_item_id)","@Change":"stat.Call($addParam$, $checkplanitems$, data.f_check_item_id)"},{"type":"Text","Text":"data.f_userinfo_code","Classes":"@DataGridBody"},{"type":"Text","Text":"data.f_user_name","Classes":"@DataGridBody"},{"type":"Text","Classes":"@DataGridBody","Text":"data.f_user_type"},{"type":"Text","Classes":"@DataGridBody","Text":"data.f_residential_area"},{"type":"Text","Classes":"@DataGridBody","Text":"data.f_state"},{"Classes":"@DataGridBody","Text":"data.f_address","type":"Text"},{"HAlign":"@Center","Height":"@28","VAlign":"@Center","Classes":"@BorderRect","StrokeStyle":"@#dfe4e7","children":[{"type":"Button","Text":"@补录","Classes":"@Button2","Right":"@10","if":"data.f_state==$未检$:true,false","@Click":"stat.DrawModal($suppPaper$,$补录$,$addnewPaper$,$cancel$,e.draw),stat.Call($getselector$),stat.Call($suppfdevice$),stat.Call($fieldChange$,$suppplanitem$,data.self)"},{"Text":"@修改","if":"stat.Data.Call($isUpdate$,data.f_state,data.f_supplement_tag):true,false","@Click":"stat.DrawModal($suppPaper$,$修改$,$updatePaper$,$cancel$,e.draw),stat.Call($getselector$),stat.Call($getPaper$,data.f_check_item_id)","type":"Button","Classes":"@Button2"}],"type":"Stack"}]}},"type":"DataGrid","Column":"@100,100,130,100,130,100,1*,1*"},{"children":[{"children":[{"type":"Text","Text":"$显示 1~{global.Length(stat.Data.checkplanitems.list.data)}$","if":"global.Length(stat.Data.checkplanitems.list.data)==0:false,true","VAlign":"@Center"}],"type":"Stack"},{"type":"Text","Left":"@20","VAlign":"@Center","Text":"$共{stat.Data.checkplanitems.list.count}条$"},{"type":"Text","Text":"@ "},{"FillStyle":"this.MouseIn:$#000000$,$#666666$","@Click":"stat.Call($loadMore$,$checkplanitems$)","Slots":{"item":{"Name":"LoadMoreButton_Stack","children":[{"type":"Image","VAlign":"@Bottom","Path":"@doubledown"},{"Left":"@4","Text":"@更多","type":"Text"}],"type":"Stack"}},"type":"Button"}],"type":"Grid","Top":"@12","Row":"@1*","Column":"@*,*,1*,*","PaddingTop":"@5","Classes":"@NormalFontlight"}],"PaddingTop":"@12","Column":"@1*","Row":"@*,1*,*","PaddingRight":"@24","StrokeStyle":"@#dfe4e7","Classes":"@BorderRect","type":"Grid","PaddingBottom":"@20"},{"type":"Grid","Column":"@1*","Row":"@*,1*,*","PaddingBottom":"@20","children":[{"type":"Stack","Bottom":"@17","children":[{"Text":"@用户信息","type":"Text","VAlign":"@Center"},{"@Change":"stat.Call($setProperty$,$user$,$userinfocode$, e.Value)","type":"Input","Classes":"@BorderRect","Left":"@10","Width":"@150","PlaceHolder":"@用户编号"},{"type":"Input","Left":"@10","PlaceHolder":"@用户名称","Width":"@150","@Change":"stat.Call($setProperty$,$user$,$username$, e.Value)"},{"type":"Input","PlaceHolder":"@用户地址","Width":"@150","Left":"@10","@Change":"stat.Call($setProperty$,$user$,$useraddress$, e.Value)"},{"type":"Text","Text":"@距上次安检","Left":"@10","VAlign":"@Center"},{"Left":"@5","@Change":"stat.Call($fieldChange$,$startday$,e.Value)","type":"Input","Right":"@5","Width":"@40"},{"type":"Text","VAlign":"@Center","Text":"@到"},{"type":"Input","Width":"@40","Left":"@5","@Change":"stat.Call($fieldChange$,$endday$,e.Value)"},{"type":"Select","Background":"@#fff","Data":"stat.Data.unitTime","@Change":"stat.Call($fieldChange$,$selectTime$,e.Value)","Classes":"@SelectGray BorderRound","StrokeStyle":"@#dfe4e7","Width":"@50","Selected":"stat.Data.selectTime","Left":"@5"},{"PlaceHolder":"@全文搜索","Classes":"@BorderRect","type":"Input","Left":"@10","Width":"@150"},{"type":"Button","Classes":"@DropDownButton BorderRound","Left":"@10","@Click":"stat.Popup($condition$,stat,this,e.draw)","Slots":{"item":{"Name":"DropDownButton_Image","Classes":"@DropDownButtonImg","type":"Image"}}},{"Classes":"@SearchButton BorderRound","Left":"@10","@Click":"stat.Call($searchUser$)","Slots":{"item":{"type":"Image","Name":"SearchButton_Image","Classes":"@SearchButtonImg"}},"type":"Button"}]},{"@Drop":"stat.Call($delPlanItem$,stat.GetDrag())","@DragStart":"stat.SetDrag($user$)","Slots":{"item":{"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"},{"Text":"data.f_userinfo_code","type":"Text","Classes":"@DataGridBody"},{"Text":"data.f_user_name","Classes":"@DataGridBody","type":"Text"},{"Classes":"@DataGridBody","Text":"data.f_user_type","type":"Text"},{"Text":"data.f_residential_area","Classes":"@DataGridBody","type":"Text"},{"Classes":"@DataGridBody","type":"Text","Text":"data.f_plan_name"},{"Text":"data.f_address","type":"Text","Classes":"@DataGridBody"}],"type":"Grid"},"head":{"children":[{"type":"Stack","Classes":"@DataGridHead","children":[{"type":"CheckBox","@Change":"stat.Call($changeCheckAll$, $user$)"},{"Left":"@9","type":"Text","Text":"@全选"}]},{"type":"Text","Classes":"@DataGridHead","Text":"@用户编号"},{"Text":"@用户名称","Classes":"@DataGridHead","type":"Text"},{"Classes":"@DataGridHead","Text":"@用户类型","type":"Text"},{"Classes":"@DataGridHead","Text":"@区/县","type":"Text"},{"Text":"@所属计划","type":"Text","Classes":"@DataGridHead"},{"Classes":"@DataGridHead","type":"Text","Text":"@地址"}],"type":"Grid","Row":"@*"}},"type":"DataGrid","Column":"@100,100,130,100,150,150,1*","Data":"stat.Data.user.list.data","Classes":"@BorderRect","@DragOver":"stat.DragOver()"},{"Classes":"@NormalFontlight","children":[{"type":"Stack","children":[{"type":"Text","Text":"$显示 1~{global.Length(stat.Data.user.list.data)}$","if":"global.Length(stat.Data.user.list.data)==0:false,true"}]},{"type":"Text","Text":"$共{stat.Data.user.list.count}条$","Left":"@20"},{"type":"Text","Text":"@ "},{"FillStyle":"this.MouseIn:$#000000$,$#666666$","Text":"@加载更多","@Click":"stat.Call($loadMore$,$user$)","Slots":{"item":{"children":[{"VAlign":"@Bottom","type":"Image","Path":"@doubledown"},{"Text":"@更多","type":"Text","Left":"@4"}],"type":"Stack"}},"type":"Button"}],"type":"Grid","Top":"@12","Row":"@1*","Column":"@*,*,1*,*"}],"PaddingLeft":"@10","Classes":"@BorderRect","PaddingRight":"@24","PaddingTop":"@12","StrokeStyle":"@#dfe4e7"}]}],"type":"Dock","Name":"@右边","Background":"@#f5f7f9"}]},"Drag":{"SearchPlan":{"children":[{"type":"Grid","children":[{"type":"Text","Classes":"@GridLabel","Text":"@计划名称","PaddingBottom":"@6"},{"type":"Input","Value":"stat.Data.checkplan.search.model.f_plan_name","@Change":"stat.Call($setProperty$, $checkplan$, $f_plan_name$, e.Value)"},{"type":"Text","Classes":"@GridLabel","Text":"@计划年份"},{"Top":"@10","Selected":"stat.Data.checkplan.search.model.f_plan_year","@Change":"stat.Call($setProperty$, $checkplan$, $f_plan_year$, e.Value)","type":"Select","Classes":"@SelectWhite BorderRound","Data":"stat.Call($years$)"},{"Text":"@计划月份","type":"Text","Classes":"@GridLabel"},{"@Change":"stat.Call($setProperty$, $checkplan$, $f_plan_month$, e.Value)","type":"Select","Selected":"stat.Data.checkplan.search.model.f_plan_month","Bottom":"@1","Classes":"@SelectWhite BorderRound","Data":"stat.Call($months$)","Top":"@10"},{"Text":"@是否共享","Classes":"@GridLabel","type":"Text"},{"@Change":"stat.Call($isAndNotChange$, e.Value)","type":"Select","Selected":"stat.Data.sIsAndNotSelect","Original":"@H","VAlign":"@Center","Data":"stat.Data.isAndNot","TemplateName":"@RadioButton"},{"Text":"@安检员","Classes":"@GridLabel","type":"Text"},{"Slots":{"item":{"Height":"@30","children":[{"Text":"data.name","type":"Text","VAlign":"@Center","Left":"@10"}],"type":"Stack"}},"type":"Select","Data":"stat.Data.checker","Classes":"@SelectWhite BorderRound","Selected":"stat.Data.checkplan.search.model.checkername","Top":"@10","@Change":"stat.Call($fieldChange$,$checkplan$,e.Value.self)"},{"type":"Text","Text":"@安检类型","Classes":"@GridLabel"},{"Data":"stat.Data.safecheckTypeList","@Change":"stat.Call($setProperty$, $checkplan$, $safechecktype$, e.Value)","type":"Select","Classes":"@SelectWhite BorderRound","Top":"@10"},{"Top":"@20","children":[{"type":"Button","Text":"@取消","Classes":"@Button2","Right":"@50","@Click":"stat.RestorePopup(this,e.draw)"},{"type":"Button","FillStyle":"@#ffffff","Classes":"@Button","Text":"@查询","@Click":"stat.Call($loadCheckPlan$,$$),stat.RestorePopup(this,e.draw)"}],"type":"Stack","ColSpan":"@2","HAlign":"@Center"}],"Column":"@70,170","PaddingRight":"@20","PaddingTop":"@10","Classes":"@BorderRound NormalFont PopupSearch","PaddingLeft":"@10","PaddingBottom":"@10","Row":"@*,*,*,*,*,*,*"}],"type":"Grid","Classes":"@PopupSearch PopupShadow","Row":"@1*","Column":"@1*"},"start":{"type":"Image","Path":"@drag"},"condition":{"Row":"@1*","children":[{"Column":"@*","Classes":"@BorderRound NormalFont PopupSearch","Row":"@*,*","Background":"@#fff","children":[{"Slots":{"item":{"Slots":{"item":{"Background":"@#fff","children":[{"type":"Select","@Change":"stat.Call($conditionListChange$,$conditionList$,index,$selectitem$,e.Value.self)","Classes":"@SelectGray BorderRound","Data":"stat.Data.conditionJson","Right":"@8","Text":"this.Selected.checkname","StrokeStyle":"@#dfe4e7","Width":"@150","Slots":{"item":{"Height":"@30","children":[{"Left":"@10","VAlign":"@Center","type":"Text","Text":"data.checkname"}],"type":"Stack"}},"Selected":"data.selectitem","Background":"@#fff"},{"type":"Input","Value":"data.selectValue","Width":"@150","if":"data.selectitem.type==$input$","@Change":"stat.Call($conditionListChange$,$conditionList$,data.num,$selectValue$,e.Value)"},{"type":"DateInput","Width":"@150","@Change":"stat.Call($conditionListChange$,$conditionList$,data.num,$selectValue$,e.Value)","if":"data.selectitem.type==$date$","Background":"@#fff","StrokeStyle":"@#dfe4e7","Date":"data.selectValue","ShowDateAndTime":"@All","Classes":"@SelectGray BorderRound"},{"Selected":"data.selectValue","Background":"@#fff","Data":"data.selectitem.options","if":"data.selectitem.type==$selector$","@Change":"stat.Call($conditionListChange$,$conditionList$,data.num,$selectValue$,e.Value)","type":"Select","StrokeStyle":"@#dfe4e7","Classes":"@SelectGray BorderRound","Width":"@150"},{"Path":"@littledelete","@Click":"stat.Call($deletecondition$,$conditionList$,$user$,index)","type":"Image","Left":"@8","VAlign":"@Center"}],"type":"Grid","Row":"@*","PaddingRight":"@10","PaddingBottom":"@10","Column":"@*,*,*,*,*","PaddingLeft":"@10","PaddingTop":"@10"}},"type":"List","Data":"stat.Data.conditionList","Name":"@新"}},"type":"Scroll","Height":"@200"},{"Path":"@littleadd","@Click":"stat.Call($addconditionList$,$conditionList$)","type":"Image","HAlign":"@Center","Bottom":"@10","VAlign":"@Center"}],"type":"Grid"}],"type":"Grid","Column":"@1*","Classes":"@PopupSearch PopupShadow"},"condition1":{"children":[{"Classes":"@BorderRound NormalFont PopupSearch","children":[{"Height":"@200","Slots":{"item":{"Name":"@新","Data":"stat.Data.planitemconditionList","Slots":{"item":{"type":"Grid","Column":"@*,*,*,*,*","Row":"@*","PaddingRight":"@10","children":[{"StrokeStyle":"@#dfe4e7","Classes":"@SelectGray BorderRound","Text":"this.Selected.checkname","Right":"@8","Data":"stat.Data.planitemconditionJson","@Change":"stat.Call($conditionListChange$,$planitemconditionList$,index,$selectitem$,e.Value.self)","Slots":{"item":{"type":"Stack","Height":"@30","children":[{"VAlign":"@Center","type":"Text","Text":"data.checkname","Left":"@10"}]}},"Width":"@150","Background":"@#fff","type":"Select","Selected":"data.selectitem"},{"@Change":"stat.Call($conditionListChange$,$planitemconditionList$,data.num,$selectValue$,e.Value)","type":"Input","Width":"@150","Value":"data.selectValue","if":"data.selectitem.type==$input$"},{"Classes":"@SelectGray BorderRound","if":"data.selectitem.type==$date$","Width":"@150","type":"DateInput","StrokeStyle":"@#dfe4e7","Background":"@#fff","ShowDateAndTime":"@All","Date":"data.selectValue","@Change":"stat.Call($conditionListChange$,$planitemconditionList$,data.num,$selectValue$,e.Value)"},{"StrokeStyle":"@#dfe4e7","@Change":"stat.Call($conditionListChange$,$planitemconditionList$,data.num,$selectValue$,e.Value)","Selected":"data.selectValue","Data":"data.selectitem.options","Classes":"@SelectGray BorderRound","Background":"@#fff","Width":"@150","type":"Select","if":"data.selectitem.type==$selector$"},{"Left":"@8","VAlign":"@Center","Path":"@littledelete","@Click":"stat.Call($deletecondition$,$planitemconditionList$,$checkplanitems$,index)","type":"Image"}],"PaddingTop":"@10","PaddingBottom":"@10","PaddingLeft":"@10","Background":"@#fff"}},"type":"List"}},"type":"Scroll"},{"VAlign":"@Center","Path":"@littleadd","Bottom":"@10","HAlign":"@Center","@Click":"stat.Call($addconditionList$,$planitemconditionList$)","type":"Image"}],"type":"Grid","Column":"@*","Row":"@*,*"}],"type":"Grid","Column":"@1*","Row":"@1*","Classes":"@PopupSearch PopupShadow"},"drag":{"type":"Text","Text":"@ "},"NewPlan":{"type":"Grid","Row":"@*","Column":"@*","children":[{"Row":"@*,*","PaddingLeft":"@20","Background":"@#ffffff","children":[{"HAlign":"@Right","type":"Text","VAlign":"@Center","Right":"@10","Text":"@* 计划名称"},{"type":"Input","@Change":"stat.Call($setNewPlan$, $f_plan_name$, e.Value)"},{"type":"Text","Text":"@计划年份","HAlign":"@Right","VAlign":"@Center","Right":"@10"},{"Classes":"@SelectWhite BorderRound","Data":"stat.Call($years$)","@Change":"stat.Call($setNewPlan$, $f_plan_year$, e.Value)","type":"Select"},{"HAlign":"@Right","type":"Text","VAlign":"@Center","Right":"@10","Text":"@计划月份"},{"type":"Select","Data":"stat.Call($months$)","Classes":"@SelectWhite BorderRound","@Change":"stat.Call($setNewPlan$, $f_plan_month$, e.Value)"},{"Top":"@10","HAlign":"@Right","VAlign":"@Center","type":"Text","Right":"@10","Text":"@是否共享"},{"Selected":"stat.Data.isShare","Data":"stat.Data.isAndNot","Original":"@H","@Change":"stat.Call($fieldChange$, $isShare$, e.Value)","type":"Select","TemplateName":"@RadioButton"},{"Text":"@安检员","HAlign":"@Right","if":"stat.Data.isShare==$否$:true,false","VAlign":"@Center","type":"Text","Top":"@10","Right":"@10"},{"Top":"@10","Selected":"stat.Data.newPlan.f_checker==$$:$请选择安检员$,stat.Data.newPlan.f_checker","if":"stat.Data.isShare==$否$:true,false","@Change":"stat.Call($fieldChange$,$createPlan$,e.Value.self)","Slots":{"item":{"children":[{"type":"Text","Text":"data.name","Left":"@10","VAlign":"@Center"}],"type":"Stack","Height":"@30"}},"type":"Select","Data":"stat.Data.checker","Classes":"@SelectWhite BorderRound"},{"Right":"@10","Top":"@10","Text":"@安检类型","type":"Text","HAlign":"@Right","VAlign":"@Center"},{"@Change":"stat.Call($setNewPlan$, $f_safecheck_type$, e.Value)","type":"Select","Classes":"@SelectWhite BorderRound","Top":"@10","Data":"stat.Data.safecheckList"}],"Pos":"@Center","type":"Grid","Classes":"@NormalFontlight","PaddingTop":"@20","PaddingRight":"@36","Column":"@80,170,80,170,80,170","PaddingBottom":"@20"}]},"upPlan":{"children":[{"PaddingRight":"@36","Column":"@80,170,80,170","Classes":"@NormalFontlight","children":[{"type":"Text","HAlign":"@Right","VAlign":"@Center","Text":"@* 计划名称","Right":"@10"},{"Value":"stat.Data.plan.f_plan_name","@Change":"stat.Data.Call($setPlan$,$f_plan_name$,e.Value) ","type":"Input"},{"HAlign":"@Right","VAlign":"@Center","type":"Text","Text":"@安检员","Right":"@10"},{"Data":"stat.Data.checkersname","@Change":"stat.Call($fieldChange$,$upPlan$,e.Value.self)","Slots":{"item":{"children":[{"Text":"data.name","Left":"@10","VAlign":"@Center","type":"Text"}],"type":"Stack","Height":"@30"}},"type":"Select","Classes":"@SelectWhite BorderRound","Selected":"stat.Data.plan.f_checker"},{"Top":"@10","Text":"@计划年份","Right":"@10","HAlign":"@Right","VAlign":"@Center","type":"Text"},{"Data":"stat.Data.Call($years$)","Top":"@10","Selected":"stat.Data.plan.f_plan_year","Classes":"@SelectWhite BorderRound","@Change":"stat.Data.Call($setPlan$,$f_plan_year$,e.Value) ","type":"Select"},{"type":"Text","Text":"@计划月份","Right":"@10","HAlign":"@Right","VAlign":"@Center","Top":"@10"},{"@Change":"stat.Data.Call($setPlan$,$f_plan_month$,e.Value) ","type":"Select","Data":"stat.Data.Call($months$)","Selected":"stat.Data.plan.f_plan_month","Classes":"@SelectWhite BorderRound","Top":"@10"}],"PaddingTop":"@20","PaddingBottom":"@20","PaddingLeft":"@20","Row":"@*,*","type":"Grid","Background":"@#ffffff"}],"type":"Grid","Row":"@*","Column":"@*"},"suppPaper":{"Column":"@280,280,331","children":[{"type":"Grid","Classes":"@BorderRect","Column":"@1*","Row":"@30,1*","children":[{"Text":"@用户基本信息","VAlign":"@Center","type":"Text","HAlign":"@Center"},{"Column":"@70,170","Row":"@35,35,35,35,35,35,35,35,35,35,35,35,35,35,35","PaddingLeft":"@10","PaddingBottom":"@10","type":"Grid","PaddingTop":"@10","children":[{"Text":"@用户地址","Classes":"@GridLabel","type":"Text","PaddingBottom":"@6"},{"Bottom":"@5","@Change":"stat.Call($setNewPaper$,$f_address$,e.Value)","type":"Input","Classes":"@SelectWhite","Value":"stat.Data.suppplanitem.f_address","Top":"@5"},{"type":"Text","Classes":"@GridLabel","PaddingBottom":"@6","Text":"@证件号"},{"Bottom":"@5","Value":"stat.Data.suppplanitem.f_idnumber","Top":"@5","@Change":"stat.Call($setNewPaper$,$f_idnumber$,e.Value)","type":"Input"},{"type":"Text","Classes":"@GridLabel","PaddingBottom":"@6","Text":"@电话号码"},{"Bottom":"@5","Value":"stat.Data.suppplanitem.f_user_phone","Top":"@5","@Change":"stat.Call($setNewPaper$,$f_user_phone$,e.Value)","type":"Input"},{"type":"Text","Text":"@区/县","Classes":"@GridLabel","PaddingBottom":"@6"},{"Bottom":"@5","Value":"stat.Data.suppplanitem.f_area","@Change":"stat.Call($setNewPaper$,$f_area$,e.Value)","type":"Input","Top":"@5"},{"Text":"@备注信息","Classes":"@GridLabel","type":"Text","PaddingBottom":"@6"},{"Value":"stat.Data.suppplanitem.f_comments","@Change":"stat.Call($setNewPaper$,$f_comments$,e.Value)","type":"Input","Top":"@5","Bottom":"@5"},{"Text":"@楼号","Classes":"@GridLabel","type":"Text","PaddingBottom":"@6"},{"Bottom":"@5","Value":"stat.Data.suppplanitem.f_building","Top":"@5","@Change":"stat.Call($setNewPaper$,$f_building$,e.Value)","type":"Input"},{"Classes":"@GridLabel","type":"Text","PaddingBottom":"@6","Text":"@楼层"},{"Top":"@5","Bottom":"@5","Value":"stat.Data.suppplanitem.f_floor","@Change":"stat.Call($setNewPaper$,$f_floor$,e.Value)","type":"Input"},{"Text":"@小区","Classes":"@GridLabel","PaddingBottom":"@6","type":"Text"},{"type":"Input","Value":"stat.Data.suppplanitem.f_residential_area","Top":"@5","Bottom":"@5","@Change":"stat.Call($setNewPaper$,$f_residential_area$,e.Value)"},{"PaddingBottom":"@6","type":"Text","Text":"@街道","Classes":"@GridLabel"},{"Bottom":"@5","@Change":"stat.Call($setNewPaper$,$f_street$,e.Value)","type":"Input","Value":"stat.Data.suppplanitem.f_street","Top":"@5"},{"Classes":"@GridLabel","PaddingBottom":"@6","type":"Text","Text":"@单元"},{"@Change":"stat.Call($setNewPaper$,$f_unit$,e.Value)","type":"Input","Value":"stat.Data.suppplanitem.f_unit","Top":"@5","Bottom":"@5"},{"Text":"@用户名","Classes":"@GridLabel","type":"Text","PaddingBottom":"@6"},{"type":"Input","Value":"stat.Data.suppplanitem.f_user_name","Top":"@5","Bottom":"@5","@Change":"stat.Call($setNewPaper$,$f_user_name$,e.Value)"},{"Text":"@用户类型","Classes":"@GridLabel","type":"Text","PaddingBottom":"@6"},{"Top":"@5","Bottom":"@5","@Change":"stat.Data.suppplanitem.f_user_type","type":"Select","Selected":"stat.Call($setNewPaper$,$f_user_type$,e.Value)","Data":"stat.Data.userType","Classes":"@SelectWhite BorderRound"},{"type":"Text","PaddingBottom":"@6","Text":"@用户编号","Classes":"@GridLabel"},{"@Change":"stat.Call($setNewPaper$,$f_userinfo_code$,e.Value)","type":"Input","Top":"@5","Bottom":"@5","Value":"stat.Data.suppplanitem.f_userinfo_code"},{"PaddingBottom":"@6","Text":"@门牌号","type":"Text","Classes":"@GridLabel"},{"Bottom":"@5","Value":"stat.Data.suppplanitem.f_room","@Change":"stat.Call($setNewPaper$,$f_room$,e.Value)","type":"Input","Top":"@5"}],"PaddingRight":"@20","Classes":"@BorderRound NormalFont PopupSearch"}]},{"Column":"@1*","Row":"@30,1*","children":[{"Text":"@安检状况","HAlign":"@Center","type":"Text","VAlign":"@Center"},{"PaddingLeft":"@10","type":"Grid","Column":"@70,170","Row":"@35,35,35,35,35,35,35,35,35,35,35,35,35,35,35","PaddingBottom":"@10","PaddingRight":"@20","Classes":"@BorderRound NormalFont PopupSearch","children":[{"type":"Text","Classes":"@GridLabel","PaddingBottom":"@6","Text":"@到达时间"},{"type":"DateInput","Top":"@5","Bottom":"@5","Date":"stat.Data.suppplanitem.f_onsite_time","Classes":"@SelectWhite BorderRound","@Change":"stat.Call($setNewPaper$,$f_onsite_time$,e.Value)"},{"PaddingBottom":"@6","type":"Text","Text":"@离开时间","Classes":"@GridLabel"},{"@Change":"stat.Call($setNewPaper$,$f_offsite_time$,e.Value)","type":"DateInput","Date":"stat.Data.suppplanitem.f_offsite_time","Classes":"@SelectWhite BorderRound","Top":"@5","Bottom":"@5"},{"PaddingBottom":"@6","Text":"@入户状态","Classes":"@GridLabel","type":"Text"},{"Top":"@5","Bottom":"@5","Selected":"stat.Data.suppplanitem.f_entry_status","@Change":"stat.Call($setNewPaper$,$f_entry_status$,e.Value)","type":"Select","Data":"stat.Data.userState","Classes":"@SelectWhite BorderRound"},{"PaddingBottom":"@6","type":"Text","Text":"@燃气使用","Classes":"@GridLabel"},{"Data":"stat.Data.gasUse","Classes":"@SelectWhite BorderRound","Top":"@5","@Change":"stat.Call($setNewPaper$,$f_usegas$,e.Value)","type":"Select","Bottom":"@5","Selected":"stat.Data.suppplanitem.f_usegas"},{"type":"Text","Classes":"@GridLabel","Text":"@安检员","PaddingBottom":"@6"},{"Selected":"stat.Data.suppplanitem.f_checker_name","Data":"stat.Data.checkersname","Classes":"@SelectWhite BorderRound","@Change":"stat.Call($setNewPaper$,$f_checker_name$,e.Value)","type":"Select","Top":"@5","Bottom":"@5"}],"PaddingTop":"@10"}],"type":"Grid"},{"type":"Grid","Column":"@1*","Row":"@30,1*","children":[{"HAlign":"@Center","VAlign":"@Center","Text":"@安检选项","type":"Text"},{"PaddingTop":"@10","PaddingRight":"@20","type":"Grid","Row":"@*","PaddingLeft":"@10","Classes":"@BorderRound NormalFont PopupSearch","Column":"@1*","children":[{"type":"Scroll","Height":"@525","Slots":{"item":{"type":"List","Data":"stat.Data.listbutton","Slots":{"item":{"Column":"@1*","Top":"@5","Bottom":"@5","Row":"@35","children":[{"children":[{"Text":"data.lname","Width":"@100","Pos":"@Center","type":"Text","Classes":"@GridLabel"},{"Bottom":"@5","Value":"data.selected","Height":"@25","if":"data.type==$string$:true,false","Width":"@200","Top":"@5","@Change":"stat.Call($changeSelected$,data.lname,data.mname,e.Value)","type":"Input"},{"Classes":"@SelectWhite BorderRound","@Change":"stat.Call($changeSelected$,data.lname,data.mname,e.Value)","type":"DateInput","Bottom":"@5","Date":"data.selected","Width":"@200","Height":"@25","if":"data.type==$date$:true,false","Top":"@5"},{"Bottom":"@5","Height":"@25","Classes":"@SelectWhite BorderRound","Top":"@5","Width":"@200","Selected":"data.selected","type":"Select","@Change":"stat.Call($changeSelected$,data.lname,data.mname,e.Value)","if":"data.type==$selector$:true,false","Data":"stat.Data.Call($reoption$,data.lname,data.mname)"}],"type":"Grid","Row":"@1*","Column":"@100,200"}],"type":"Grid"}}}}}],"PaddingBottom":"@10"}]}],"type":"Grid","Classes":"@PopupSearch PopupShadow","Row":"@1*"}}}
        TestDataComponent:{"template":{"Background":"@#f5f7f9","Column":"@230,1*","children":[{"type":"Dock","Classes":"@BorderRect","Name":"@左边","Background":"@#ffffff","StrokeStyle":"@#dce0e3","children":[{"type":"Grid","Column":"@*,1*","Row":"@*,*","Classes":"@BorderRect","PaddingLeft":"@5","StrokeStyle":"@#dce0e3","Pos":"@Top","Bottom":"@1","PaddingRight":"@5","PaddingTop":"@3","PaddingBottom":"@4","Name":"@上边","children":[{"type":"Button","Text":"@查询","@MouseDown":"stat.Popup($SearchPlan$,stat,this,e.draw)","@Click":"stat.Popup($SearchPlan$,stat,this,e.draw)","Slots":{"item":{"Path":"this.MouseIn:$searchhover$,$searchnormal$","Classes":"@SearchButtonImg","type":"Image"}}},{"Classes":"@SelectGray BorderRound","Background":"@#fff","@Change":"stat.Call($loadCheckPlan$,e.Value)","type":"Select","StrokeStyle":"@#dfe4e7","Selected":"$按时间降序$","Data":"stat.Data.orderList","Left":"@10"},{"type":"Text","Text":"@"},{"PaddingTop":"@8","children":[{"type":"Button","FillStyle":"this.MouseIn: $#0f69c5$, $#4792de$","Left":"@110","Text":"@下发","@Click":"stat.Call($sendCheckPlan$)"},{"type":"Button","Left":"@12","Text":"@删除","FillStyle":"this.MouseIn: $#0f69c5$, $#4792de$","@Click":"stat.Call($delCheckPlan$)"}],"type":"Stack","PaddingBottom":"@4"}]},{"Classes":"@NormalFontlight","children":[{"type":"Scroll","@DragOver":"stat.DragOver()","Slots":{"item":{"@Change":"stat.Call($openPlan$, e.Value.self)","Slots":{"item":{"type":"Stack","Original":"@V","Background":"data.id==stat.Data.SelectedPlan: $#d8eafb$, this.MouseIn: $#f5f6f7$, $$","PaddingBottom":"@1","Width":"@230","children":[{"PaddingTop":"@20","PaddingBottom":"@20","type":"Grid","PaddingRight":"@10","@Drop":"stat.Call($dragtoPlan$,data.id,data.f_safecheck_type,data.f_filialeid,stat.GetDrag())","Row":"@*,*,*,*","PaddingLeft":"@10","children":[{"RowSpan":"@4","VAlign":"@Center","children":[{"if":"data.f_issued==$已下发$:false,true","IsSelected":"stat.Data.checkplan.check.Call($isChecked$, data.id)","@Change":"stat.Call($addParam$, $checkplan$, data.id)","type":"CheckBox"}],"type":"Stack"},{"type":"Text","ColSpan":"@3","Font":"@15px 微软雅黑","Text":"data.f_plan_name"},{"HAlign":"@Center","@Click":"stat.Data.Call($setPlanVal$,data.self),stat.ShowModal($upPlan$,$修改计划$,$upCheckPlan$,$cancel$)","Slots":{"item":{"type":"Image","Name":"Button_Image","Path":"@edit"}},"type":"Button","Classes":"@BorderRound"},{"type":"Text","Text":"data.f_issued","Top":"@12","FillStyle":"@#4792de"},{"Top":"@10","ColSpan":"@3","HAlign":"@Right","children":[{"Font":"@12px 微软雅黑","type":"Text","StrokeStyle":"@#cfdce8","PaddingTop":"@2","PaddingBottom":"@2","Background":"@#ffffff","Classes":"@BorderRound","Text":"data.f_checker!=$$:data.f_checker,$共享","PaddingLeft":"@5","Radius":"@8","FillStyle":"@#4792de","ColSpan":"@3","PaddingRight":"@5"}],"type":"Stack"},{"Text":"${data.f_plan_year}-{data.f_plan_month}$","Classes":"@NormalFontLighter","Top":"@12","ColSpan":"@2","type":"Text"},{"Top":"@12","Left":"@10","Classes":"@NormalFontLighter","type":"Text","Text":"@总"},{"Name":"@总数","HAlign":"@Right","Text":"data.plan_count","Top":"@12","Right":"@10","Classes":"@NormalFontHeavy","ColSpan":"@1","type":"Text"},{"type":"Text","Classes":"@NormalFontLighter","Text":"@已检","Top":"@12"},{"Text":"data.checked","Left":"@5","Classes":"@NormalFontHeavy","Top":"@12","type":"Text"},{"type":"Text","Top":"@12","Text":"@未检","Classes":"@NormalFontLighter","Left":"@10"},{"Classes":"@NormalFontHeavy","Text":"data.unchecked","HAlign":"@Right","Top":"@12","Right":"@10","type":"Text"}],"Column":"@25,42,1*,42,1*"},{"Left":"@5","Right":"@5","StrokeStyle":"@#dce0e3","Classes":"@BorderRect","type":"Stack"}]}},"type":"List","Data":"stat.Data.checkplan.list.data","Name":"@安检计划"}}},{"type":"Stack","Left":"@5","Right":"@5","StrokeStyle":"@#dfe4e7","Classes":"@BorderRect"},{"children":[{"Text":"$共{stat.Data.checkplan.list.count}条$","type":"Text"},{"FillStyle":"this.MouseIn:$#000000$,$#666666$","@Click":"stat.Call($loadMore$,$checkplan$)","Slots":{"item":{"children":[{"Path":"@doubledown","type":"Image","VAlign":"@Bottom"},{"type":"Text","Left":"@4","Text":"@更多"}],"type":"Stack","Name":"LoadMoreButton_Stack"}},"type":"Button","HAlign":"@Right"}],"type":"Grid","PaddingRight":"@20","PaddingTop":"@10","PaddingBottom":"@10","Column":"@1*,1*","Row":"@1*","PaddingLeft":"@20"},{"Left":"@5","Classes":"@BorderRect","StrokeStyle":"@#dfe4e7","type":"Stack","Right":"@5"},{"type":"Button","Classes":"@BorderRound","Bottom":"@20","HAlign":"@Center","Top":"@20","@Click":"stat.ShowModal($NewPlan$,$生成计划$,$addNewPlan$,$cancel$)","Slots":{"item":{"type":"Image","Name":"Button_Image","Path":"this.MouseIn:$addnewhover$,$addnew$"}}}],"type":"Grid","Column":"@1*","Row":"@1*,0,*,0,*","Pos":"@Center"}]},{"type":"Dock","Name":"@右边","Background":"@#f5f7f9","Classes":"@BorderRect","children":[{"children":[{"type":"Stack","Top":"@4","Bottom":"@4","children":[{"type":"Stack","Height":"@30","children":[{"Classes":"@Button2","Right":"@30","Text":"@导出EXCEL","@Click":"stat.Call($exportFile$)","type":"Button"}]}]}],"type":"Stack","HAlign":"@Right","Pos":"@Top","Background":"@#ffffff","StrokeStyle":"@#dce0e3","Name":"@工具条","Classes":"@BorderRect"},{"Row":"@1*,1*","children":[{"type":"Grid","Classes":"@BorderRect","PaddingRight":"@24","PaddingLeft":"@10","Column":"@1*","StrokeStyle":"@#dfe4e7","PaddingBottom":"@20","PaddingTop":"@12","Row":"@*,1*,*","children":[{"type":"Stack","Bottom":"@17","children":[{"type":"Text","VAlign":"@Center","Text":"@计划信息"},{"type":"Input","Left":"@10","Width":"@150","PlaceHolder":"@用户编号","Classes":"@BorderRect","@Change":"stat.Call($setProperty$,$checkplanitems$,$usercode$, e.Value)"},{"@Change":"stat.Call($setProperty$,$checkplanitems$,$username$, e.Value)","type":"Input","Width":"@150","Classes":"@BorderRect","PlaceHolder":"@用户名称","Left":"@10"},{"type":"Input","Left":"@10","PlaceHolder":"@用户地址","Width":"@150","@Change":"stat.Call($setProperty$,$checkplanitems$,$f_address$, e.Value)"},{"type":"Input","Left":"@10","Width":"@150","PlaceHolder":"@全文搜索","@Change":"stat.Call($fieldChange$,$planItemConditionValue$,e.Value)"},{"type":"Button","Classes":"@DropDownButton BorderRound","Left":"@10","@Click":"stat.Popup($condition1$,stat,this,e.draw)","Slots":{"item":{"type":"Image","Name":"DropDownButton_Image","Classes":"@DropDownButtonImg"}}},{"Left":"@10","@Click":"stat.Call($searchPlanItem$)","Slots":{"item":{"Classes":"@SearchButtonImg","type":"Image","Name":"SearchButton_Image"}},"type":"Button","Classes":"@SearchButton BorderRound"}]},{"Slots":{"head":{"children":[{"HAlign":"@Center","children":[{"type":"CheckBox","@Change":"stat.Call($changeCheckAll$, $checkplanitems$)"},{"Text":"@全选","Left":"@9","type":"Text"}],"type":"Stack","Classes":"@DataGridHead"},{"type":"Text","Classes":"@DataGridHead","HAlign":"@Center","Text":"@用户编号"},{"Text":"@用户名称","HAlign":"@Center","type":"Text","Classes":"@DataGridHead"},{"Classes":"@DataGridHead","HAlign":"@Center","type":"Text","Text":"@用户类型"},{"Text":"@小区名称","Classes":"@DataGridHead","HAlign":"@Center","type":"Text"},{"Classes":"@DataGridBody","HAlign":"@Center","type":"Text","Text":"@状态"},{"type":"Text","Text":"@地址","Classes":"@DataGridHead","HAlign":"@Center"},{"Text":"@操作","HAlign":"@Center","Classes":"@DataGridHead","type":"Text"}],"type":"Grid","Row":"@1*"},"item":{"Row":"@1*","children":[{"type":"CheckBox","IsSelected":"stat.Data.checkplanitems.check.Call($isChecked$, data.f_check_item_id)","Classes":"@DataGridBody","HAlign":"@Center","@Change":"stat.Call($addParam$, $checkplanitems$, data.f_check_item_id)"},{"type":"Text","Text":"data.f_userinfo_code","Classes":"@DataGridBody"},{"type":"Text","Text":"data.f_user_name","Classes":"@DataGridBody"},{"Classes":"@DataGridBody","Text":"data.f_user_type","type":"Text"},{"type":"Text","Classes":"@DataGridBody","Text":"data.f_residential_area"},{"type":"Text","Classes":"@DataGridBody","Text":"data.f_state"},{"type":"Text","Text":"data.f_address","Classes":"@DataGridBody"},{"Classes":"@BorderRect","StrokeStyle":"@#dfe4e7","HAlign":"@Center","children":[{"Classes":"@Button2","Right":"@10","if":"data.f_state==$未检$:true,false","@Click":"stat.DrawModal($suppPaper$,$补录$,$addnewPaper$,$cancel$,e.draw),stat.Call($getselector$),stat.Call($suppfdevice$),stat.Call($fieldChange$,$suppplanitem$,data.self)","type":"Button","Text":"@补录"},{"type":"Button","Classes":"@Button2","Text":"@修改","if":"stat.Data.Call($isUpdate$,data.f_state,data.f_supplement_tag):true,false","@Click":"stat.DrawModal($suppPaper$,$修改$,$updatePaper$,$cancel$,e.draw),stat.Call($getselector$),stat.Call($changeListButton$),stat.Call($getPaper$,data.f_check_item_id)"}],"type":"Stack","Height":"@28","VAlign":"@Center"}],"type":"Grid"}},"type":"DataGrid","Classes":"@BorderRect","Column":"@100,100,130,100,130,100,1*,1*","Data":"stat.Data.checkplanitems.list.data","@DragStart":"stat.SetDrag($item$)","@Drop":"stat.Call($dragtoPlanItem$,stat.Data.checkplanitems.search.model.f_plan_id,stat.Data.plan.f_safecheck_type,stat.GetDrag())","@DragOver":"stat.DragOver()"},{"children":[{"type":"Stack","children":[{"type":"Text","VAlign":"@Center","Text":"$显示 1~{global.Length(stat.Data.checkplanitems.list.data)}$","if":"global.Length(stat.Data.checkplanitems.list.data)==0:false,true"}]},{"VAlign":"@Center","type":"Text","Text":"$共{stat.Data.checkplanitems.list.count}条$","Left":"@20"},{"type":"Text","Text":"@ "},{"type":"Button","FillStyle":"this.MouseIn:$#000000$,$#666666$","@Click":"stat.Call($loadMore$,$checkplanitems$)","Slots":{"item":{"children":[{"type":"Image","VAlign":"@Bottom","Path":"@doubledown"},{"Left":"@4","Text":"@更多","type":"Text"}],"type":"Stack","Name":"LoadMoreButton_Stack"}}}],"type":"Grid","PaddingTop":"@5","Classes":"@NormalFontlight","Top":"@12","Row":"@1*","Column":"@*,*,1*,*"}]},{"Row":"@*,1*,*","Classes":"@BorderRect","PaddingTop":"@12","StrokeStyle":"@#dfe4e7","PaddingLeft":"@10","PaddingBottom":"@20","children":[{"type":"Stack","Bottom":"@17","children":[{"type":"Text","Text":"@用户信息","VAlign":"@Center"},{"@Change":"stat.Call($setProperty$,$user$,$userinfocode$, e.Value)","type":"Input","PlaceHolder":"@用户编号","Classes":"@BorderRect","Left":"@10","Width":"@150"},{"type":"Input","Left":"@10","PlaceHolder":"@用户名称","Width":"@150","@Change":"stat.Call($setProperty$,$user$,$username$, e.Value)"},{"type":"Input","PlaceHolder":"@用户地址","Width":"@150","Left":"@10","@Change":"stat.Call($setProperty$,$user$,$useraddress$, e.Value)"},{"Left":"@10","VAlign":"@Center","type":"Text","Text":"@距上次安检"},{"@Change":"stat.Call($fieldChange$,$startday$,e.Value)","type":"Input","Left":"@5","Right":"@5","Width":"@40"},{"type":"Text","VAlign":"@Center","Text":"@到"},{"@Change":"stat.Call($fieldChange$,$endday$,e.Value)","type":"Input","Left":"@5","Width":"@40"},{"@Change":"stat.Call($fieldChange$,$selectTime$,e.Value)","type":"Select","Background":"@#fff","Selected":"stat.Data.selectTime","Width":"@50","Classes":"@SelectGray BorderRound","Left":"@5","Data":"stat.Data.unitTime","StrokeStyle":"@#dfe4e7"},{"PlaceHolder":"@全文搜索","Classes":"@BorderRect","Left":"@10","Width":"@150","type":"Input"},{"Slots":{"item":{"Name":"DropDownButton_Image","Classes":"@DropDownButtonImg","type":"Image"}},"type":"Button","Left":"@10","Classes":"@DropDownButton BorderRound","@Click":"stat.Popup($condition$,stat,this,e.draw)"},{"type":"Button","Left":"@10","Classes":"@SearchButton BorderRound","@Click":"stat.Call($searchUser$)","Slots":{"item":{"Classes":"@SearchButtonImg","type":"Image","Name":"SearchButton_Image"}}}]},{"Slots":{"head":{"Row":"@*","children":[{"Classes":"@DataGridHead","children":[{"@Change":"stat.Call($changeCheckAll$, $user$)","type":"CheckBox"},{"Left":"@9","type":"Text","Text":"@全选"}],"type":"Stack"},{"Text":"@用户编号","type":"Text","Classes":"@DataGridHead"},{"Text":"@用户名称","Classes":"@DataGridHead","type":"Text"},{"Classes":"@DataGridHead","Text":"@用户类型","type":"Text"},{"Text":"@区/县","type":"Text","Classes":"@DataGridHead"},{"Text":"@所属计划","type":"Text","Classes":"@DataGridHead"},{"type":"Text","Text":"@地址","Classes":"@DataGridHead"}],"type":"Grid"},"item":{"Row":"@*","children":[{"@Change":"stat.Call($addParam$, $user$, data.id)","type":"CheckBox","Classes":"@DataGridBody","VAlign":"@Center","IsSelected":"stat.Data.user.check.Call($isChecked$, data.id)","HAlign":"@Center"},{"Classes":"@DataGridBody","Text":"data.f_userinfo_code","type":"Text"},{"Classes":"@DataGridBody","type":"Text","Text":"data.f_user_name"},{"type":"Text","Classes":"@DataGridBody","Text":"data.f_user_type"},{"type":"Text","Text":"data.f_residential_area","Classes":"@DataGridBody"},{"Classes":"@DataGridBody","type":"Text","Text":"data.f_plan_name"},{"Text":"data.f_address","type":"Text","Classes":"@DataGridBody"}],"type":"Grid"}},"type":"DataGrid","Data":"stat.Data.user.list.data","Classes":"@BorderRect","Column":"@100,100,130,100,150,150,1*","@Drop":"stat.Call($delPlanItem$,stat.GetDrag())","@DragStart":"stat.SetDrag($user$)","@DragOver":"stat.DragOver()"},{"Row":"@1*","Column":"@*,*,1*,*","Classes":"@NormalFontlight","Top":"@12","children":[{"type":"Stack","children":[{"Text":"$显示 1~{global.Length(stat.Data.user.list.data)}$","type":"Text","if":"global.Length(stat.Data.user.list.data)==0:false,true"}]},{"Text":"$共{stat.Data.user.list.count}条$","type":"Text","Left":"@20"},{"type":"Text","Text":"@ "},{"type":"Button","FillStyle":"this.MouseIn:$#000000$,$#666666$","Text":"@加载更多","@Click":"stat.Call($loadMore$,$user$)","Slots":{"item":{"children":[{"VAlign":"@Bottom","type":"Image","Path":"@doubledown"},{"type":"Text","Left":"@4","Text":"@更多"}],"type":"Stack"}}}],"type":"Grid"}],"type":"Grid","Column":"@1*","PaddingRight":"@24"}],"type":"Grid","Column":"@1*","Pos":"@Center"}]}],"type":"Grid","Row":"@1*"},"Drag":{"drag":{"type":"Text","Text":"@ "},"NewPlan":{"Row":"@*","Column":"@*","children":[{"children":[{"HAlign":"@Right","type":"Text","VAlign":"@Center","Right":"@10","Text":"@* 计划名称"},{"type":"Input","@Change":"stat.Call($setNewPlan$, $f_plan_name$, e.Value)"},{"type":"Text","Text":"@计划年份","HAlign":"@Right","VAlign":"@Center","Right":"@10"},{"type":"Select","Classes":"@SelectWhite BorderRound","Data":"stat.Call($years$)","@Change":"stat.Call($setNewPlan$, $f_plan_year$, e.Value)"},{"HAlign":"@Right","type":"Text","VAlign":"@Center","Right":"@10","Text":"@计划月份"},{"type":"Select","Data":"stat.Call($months$)","Classes":"@SelectWhite BorderRound","@Change":"stat.Call($setNewPlan$, $f_plan_month$, e.Value)"},{"type":"Text","Right":"@10","Text":"@是否共享","Top":"@10","HAlign":"@Right","VAlign":"@Center"},{"Original":"@H","@Change":"stat.Call($fieldChange$, $isShare$, e.Value)","type":"Select","TemplateName":"@RadioButton","Selected":"stat.Data.isShare","Data":"stat.Data.isAndNot"},{"Text":"@安检员","HAlign":"@Right","if":"stat.Data.isShare==$否$:true,false","VAlign":"@Center","type":"Text","Top":"@10","Right":"@10"},{"Top":"@10","Selected":"stat.Data.newPlan.f_checker==$$:$请选择安检员$,stat.Data.newPlan.f_checker","if":"stat.Data.isShare==$否$:true,false","@Change":"stat.Call($fieldChange$,$createPlan$,e.Value.self)","Slots":{"item":{"type":"Stack","Height":"@30","children":[{"type":"Text","Text":"data.name","Left":"@10","VAlign":"@Center"}]}},"type":"Select","Data":"stat.Data.checker","Classes":"@SelectWhite BorderRound"},{"type":"Text","HAlign":"@Right","VAlign":"@Center","Right":"@10","Top":"@10","Text":"@安检类型"},{"Classes":"@SelectWhite BorderRound","Top":"@10","Data":"stat.Data.safecheckList","@Change":"stat.Call($setNewPlan$, $f_safecheck_type$, e.Value)","type":"Select"}],"Classes":"@NormalFontlight","PaddingRight":"@36","type":"Grid","PaddingBottom":"@20","Pos":"@Center","Column":"@80,170,80,170,80,170","PaddingLeft":"@20","Row":"@*,*","Background":"@#ffffff","PaddingTop":"@20"}],"type":"Grid"},"upPlan":{"type":"Grid","Row":"@*","Column":"@*","children":[{"Background":"@#ffffff","type":"Grid","Column":"@80,170,80,170","Row":"@*,*","PaddingBottom":"@20","children":[{"type":"Text","HAlign":"@Right","VAlign":"@Center","Text":"@* 计划名称","Right":"@10"},{"Value":"stat.Data.plan.f_plan_name","@Change":"stat.Data.Call($setPlan$,$f_plan_name$,e.Value) ","type":"Input"},{"HAlign":"@Right","VAlign":"@Center","type":"Text","Text":"@安检员","Right":"@10"},{"Selected":"stat.Data.plan.f_checker","Data":"stat.Data.checkersname","@Change":"stat.Call($fieldChange$,$upPlan$,e.Value.self)","Slots":{"item":{"children":[{"Text":"data.name","Left":"@10","VAlign":"@Center","type":"Text"}],"type":"Stack","Height":"@30"}},"type":"Select","Classes":"@SelectWhite BorderRound"},{"HAlign":"@Right","VAlign":"@Center","type":"Text","Top":"@10","Text":"@计划年份","Right":"@10"},{"Selected":"stat.Data.plan.f_plan_year","Classes":"@SelectWhite BorderRound","@Change":"stat.Data.Call($setPlan$,$f_plan_year$,e.Value) ","type":"Select","Data":"stat.Data.Call($years$)","Top":"@10"},{"Right":"@10","HAlign":"@Right","VAlign":"@Center","Top":"@10","type":"Text","Text":"@计划月份"},{"Selected":"stat.Data.plan.f_plan_month","Classes":"@SelectWhite BorderRound","Top":"@10","@Change":"stat.Data.Call($setPlan$,$f_plan_month$,e.Value) ","type":"Select","Data":"stat.Data.Call($months$)"}],"PaddingTop":"@20","PaddingRight":"@36","Classes":"@NormalFontlight","PaddingLeft":"@20"}]},"suppPaper":{"PaddingLeft":"@30","PaddingRight":"@30","Row":"@160,100,300","Column":"@1000","children":[{"type":"Grid","Row":"@30,1*","Column":"@1*","children":[{"type":"Text","VAlign":"@Center","HAlign":"@Center","Text":"@用户基本信息","Pos":"@Center","Font":"@20px 微软雅黑"},{"type":"Grid","Column":"@1*,1*,1*,1*","Row":"@1*","children":[{"Row":"@*,*,*,*","Column":"@1*,3*","children":[{"Classes":"@GridLabel","PaddingBottom":"@6","VAlign":"@Center","HAlign":"@Center","Text":"@用户姓名","type":"Text"},{"type":"Input","Classes":"@SelectWhite","Top":"@5","Right":"@5","Value":"stat.Data.suppplanitem.f_user_name","@Change":"stat.Call($setNewPaper$,$f_user_name$,e.Value)"},{"HAlign":"@Center","Text":"@区/县","Classes":"@GridLabel","PaddingBottom":"@6","VAlign":"@Center","type":"Text"},{"type":"Input","Right":"@5","Value":"stat.Data.suppplanitem.f_area","Classes":"@SelectWhite","Top":"@5","@Change":"stat.Call($setNewPaper$,$f_area$,e.Value)"},{"type":"Text","PaddingBottom":"@6","VAlign":"@Center","HAlign":"@Center","Text":"@楼号","Classes":"@GridLabel"},{"type":"Input","Value":"stat.Data.suppplanitem.f_building","Classes":"@SelectWhite","Top":"@5","Right":"@5","@Change":"stat.Call($setNewPaper$,$f_building$,e.Value)"},{"Classes":"@GridLabel","Text":"@备注信息","PaddingBottom":"@6","HAlign":"@Center","type":"Text","VAlign":"@Center"},{"Classes":"@SelectWhite","Top":"@5","Right":"@5","type":"Input"}],"type":"Grid"},{"type":"Grid","Row":"@*,*,*,*","Column":"@1*,3*","children":[{"PaddingBottom":"@6","VAlign":"@Center","HAlign":"@Center","Text":"@电话号码","type":"Text","Classes":"@GridLabel"},{"type":"Input","Value":"stat.Data.suppplanitem.f_user_phone","Right":"@5","Classes":"@SelectWhite","Top":"@5","@Change":"stat.Call($setNewPaper$,$f_user_phone$,e.Value)"},{"type":"Text","HAlign":"@Center","Text":"@街道","Classes":"@GridLabel","PaddingBottom":"@6","VAlign":"@Center"},{"type":"Input","Top":"@5","Value":"stat.Data.suppplanitem.f_street","Right":"@5","Classes":"@SelectWhite","@Change":"stat.Call($setNewPaper$,$f_street$,e.Value)"},{"Classes":"@GridLabel","PaddingBottom":"@6","VAlign":"@Center","HAlign":"@Center","type":"Text","Text":"@楼层"},{"Value":"stat.Data.suppplanitem.f_floor","@Change":"stat.Call($setNewPaper$,$f_floor$,e.Value)","type":"Input","Classes":"@SelectWhite","Top":"@5","Right":"@5"},{"type":"Text","HAlign":"@Center","VAlign":"@Center","PaddingBottom":"@6","Text":"@用户类型","Classes":"@GridLabel"},{"Height":"@25","Data":"stat.Data.userType","Selected":"stat.Call($setNewPaper$,$f_user_type$,e.Value)","Bottom":"@5","Classes":"@SelectWhite BorderRound","Right":"@5","Top":"@5","@Change":"stat.Data.suppplanitem.f_user_type","type":"Select"}]},{"type":"Grid","Column":"@1*,3*","Row":"@*,*,*,*","children":[{"type":"Text","VAlign":"@Center","HAlign":"@Center","Text":"@用户地址","Classes":"@GridLabel","PaddingBottom":"@6"},{"Right":"@5","Classes":"@SelectWhite","Top":"@5","Value":"stat.Data.suppplanitem.f_address","@Change":"stat.Call($setNewPaper$,$f_address$,e.Value)","type":"Input"},{"type":"Text","Text":"@小区","Classes":"@GridLabel","PaddingBottom":"@6","VAlign":"@Center","HAlign":"@Center"},{"type":"Input","Classes":"@SelectWhite","Value":"stat.Data.suppplanitem.f_residential_area","Top":"@5","Right":"@5","@Change":"stat.Call($setNewPaper$,$f_residential_area$,e.Value)"},{"type":"Text","PaddingBottom":"@6","Text":"@门牌号","Classes":"@GridLabel","VAlign":"@Center","HAlign":"@Center"},{"Classes":"@SelectWhite","Top":"@5","Right":"@5","Value":"stat.Data.suppplanitem.f_room","@Change":"stat.Call($setNewPaper$,$f_room$,e.Value)","type":"Input"}]},{"type":"Grid","Row":"@*,*,*,*","Column":"@1*,3*","children":[{"VAlign":"@Center","HAlign":"@Center","Text":"@证件号","Classes":"@GridLabel","PaddingBottom":"@6","type":"Text"},{"Top":"@5","Right":"@5","Value":"stat.Data.suppplanitem.f_idnumber","@Change":"stat.Call($setNewPaper$,$f_idnumber$,e.Value)","type":"Input","Classes":"@SelectWhite"},{"type":"Text","Text":"@单元","Classes":"@GridLabel","PaddingBottom":"@6","VAlign":"@Center","HAlign":"@Center"},{"@Change":"stat.Call($setNewPaper$,$f_unit$,e.Value)","type":"Input","Top":"@5","Value":"stat.Data.suppplanitem.f_unit","Right":"@5","Classes":"@SelectWhite"},{"type":"Text","Classes":"@GridLabel","VAlign":"@Center","HAlign":"@Center","PaddingBottom":"@6","Text":"@用户编号"},{"Right":"@5","Classes":"@SelectWhite","Value":"stat.Data.suppplanitem.f_userinfo_code","@Change":"stat.Call($setNewPaper$,$f_userinfo_code$,e.Value)","type":"Input","Top":"@5"}]}]}]},{"type":"Grid","Column":"@1*","Row":"@30,1*","children":[{"Font":"@20px 微软雅黑","HAlign":"@Center","type":"Text","VAlign":"@Center","Text":"@安检状况"},{"Column":"@1*,1*,1*,1*","Row":"@1*","children":[{"children":[{"type":"Text","Text":"@到达时间","VAlign":"@Center","HAlign":"@Center","PaddingBottom":"@6","Classes":"@GridLabel"},{"@Change":"stat.Call($setNewPaper$,$f_onsite_time$,e.Value)","type":"DateInput","Right":"@5","Height":"@25","Date":"stat.Data.suppplanitem.f_onsite_time","Classes":"@SelectWhite BorderRound","Top":"@5"},{"PaddingBottom":"@6","HAlign":"@Center","VAlign":"@Center","Classes":"@GridLabel","Text":"@离开时间","type":"Text"},{"type":"DateInput","Top":"@5","Right":"@5","Height":"@25","Date":"stat.Data.suppplanitem.f_offsite_time","Classes":"@SelectWhite BorderRound","@Change":"stat.Call($setNewPaper$,$f_offsite_time$,e.Value)"}],"type":"Grid","Row":"@*,*","Column":"@1*,3*"},{"children":[{"type":"Text","Classes":"@GridLabel","Text":"@入户状态","VAlign":"@Center","HAlign":"@Center","PaddingBottom":"@6"},{"Top":"@5","Right":"@5","Height":"@25","Selected":"stat.Data.suppplanitem.f_entry_status","Data":"stat.Data.userState","Classes":"@SelectWhite BorderRound","@Change":"stat.Call($setNewPaper$,$f_entry_status$,e.Value)","type":"Select"}],"type":"Grid","Row":"@*,*","Column":"@1*,3*"},{"type":"Grid","Column":"@1*,3*","Row":"@*,*","children":[{"type":"Text","Classes":"@GridLabel","Text":"@燃气使用","VAlign":"@Center","HAlign":"@Center","PaddingBottom":"@6"},{"Height":"@25","Selected":"stat.Data.suppplanitem.f_usegas","Data":"stat.Data.gasUse","Classes":"@SelectWhite BorderRound","Top":"@5","Right":"@5","@Change":"stat.Call($setNewPaper$,$f_usegas$,e.Value)","type":"Select"}]},{"type":"Grid","Row":"@*,*","Column":"@1*,3*","children":[{"type":"Text","VAlign":"@Center","HAlign":"@Center","PaddingBottom":"@6","Classes":"@GridLabel","Text":"@安检员"},{"@Change":"stat.Call($setNewPaper$,$f_checker_name$,e.Value)","type":"Select","Height":"@25","Selected":"stat.Data.suppplanitem.f_checker_name","Data":"stat.Data.checkersname","Classes":"@SelectWhite BorderRound","Top":"@5","Right":"@5"}]}],"type":"Grid"}]},{"type":"Grid","Row":"@30,1*","Column":"@1*","children":[{"type":"Text","Font":"@20px 微软雅黑","HAlign":"@Center","VAlign":"@Center","Text":"@安检选项"},{"type":"Scroll","Slots":{"item":{"Column":"@1*,1*,1*,1*","Row":"@1*","children":[{"type":"List","Data":"stat.Data.listbuttona","Slots":{"item":{"children":[{"children":[{"Text":"data.lname","Classes":"@GridLabel","VAlign":"@Center","HAlign":"@Center","type":"Text","Font":" data.mname==$$:$18px 微软雅黑$,$$","Right":"@6","PaddingBottom":"@6"},{"type":"Input","Value":"data.selected","Classes":"@SelectWhite","Height":"@25","if":"data.type==$string$:true,false","Top":"@5","Right":"@5","@Change":"stat.Call($changeSelected$,data.lname,data.mname,e.Value)"},{"Classes":"@SelectWhite BorderRound","type":"DateInput","if":"data.type==$date$:true,false","Top":"@5","Right":"@5","Height":"@25","Bottom":"@5","Date":"data.selected"},{"Right":"@5","Classes":"@SelectWhite BorderRound","Data":"stat.Data.Call($reoption$,data.lname,data.mname)","Bottom":"@5","type":"Select","if":"data.type==$selector$:true,false","Height":"@25","@Change":"stat.Call($changeSelected$,data.lname,data.mname,e.Value)","Selected":"data.selected","Top":"@5"}],"type":"Grid","Column":"@1*,3*","Height":"@35","Row":"@1*"}],"type":"Grid","Row":"@35","Column":"@1*","Background":"@#ffffff","Bottom":"@5"}}},{"Slots":{"item":{"children":[{"Height":"@35","Row":"@1*","children":[{"Right":"@6","PaddingBottom":"@6","Text":"data.lname","Classes":"@GridLabel","VAlign":"@Center","HAlign":"@Center","type":"Text"},{"if":"data.type==$string$:true,false","@Change":"stat.Call($changeSelected$,data.lname,data.mname,e.Value)","type":"Input","Classes":"@SelectWhite","Height":"@25","Top":"@5","Right":"@5","Value":"data.selected"},{"Height":"@25","if":"data.type==$date$:true,false","type":"DateInput","Date":"data.selected","Classes":"@SelectWhite BorderRound","Top":"@5","Right":"@5"},{"Height":"@25","Selected":"data.selected","Top":"@5","if":"data.type==$selector$:true,false","Right":"@5","@Change":"stat.Call($changeSelected$,data.lname,data.mname,e.Value)","type":"Select","Data":"stat.Data.Call($reoption$,data.lname,data.mname)","Classes":"@SelectWhite BorderRound"}],"type":"Grid","Column":"@1*,3*"}],"type":"Grid","Row":"@35","Column":"@1*","Background":"@#ffffff","Bottom":"@5"}},"type":"List","Data":"stat.Data.listbuttonb"},{"type":"List","Data":"stat.Data.listbuttonc","Slots":{"item":{"Column":"@1*","Background":"@#ffffff","children":[{"Height":"@35","Row":"@1*","children":[{"type":"Text","PaddingBottom":"@6","Text":"data.lname","Classes":"@GridLabel","VAlign":"@Center","HAlign":"@Center","Right":"@6"},{"type":"Input","Classes":"@SelectWhite","Height":"@25","Top":"@5","if":"data.type==$string$:true,false","Right":"@5","Value":"data.selected","@Change":"stat.Call($changeSelected$,data.lname,data.mname,e.Value)"},{"Top":"@5","Right":"@5","type":"DateInput","Height":"@25","Date":"data.selected","Classes":"@SelectWhite BorderRound","if":"data.type==$date$:true,false"},{"@Change":"stat.Call($changeSelected$,data.lname,data.mname,e.Value)","type":"Select","Data":"stat.Data.Call($reoption$,data.lname,data.mname)","Right":"@5","Height":"@25","Classes":"@SelectWhite BorderRound","Selected":"data.selected","Top":"@5","if":"data.type==$selector$:true,false"}],"type":"Grid","Column":"@1*,3*"}],"type":"Grid","Bottom":"@5","Row":"@35"}}},{"type":"List","Data":"stat.Data.listbuttond","Slots":{"item":{"Row":"@35","Column":"@1*","Background":"@#ffffff","children":[{"type":"Grid","Column":"@1*,3*","Height":"@35","Row":"@1*","children":[{"Right":"@6","type":"Text","PaddingBottom":"@6","Text":"data.lname","Classes":"@GridLabel","VAlign":"@Center","HAlign":"@Center"},{"@Change":"stat.Call($changeSelected$,data.lname,data.mname,e.Value)","type":"Input","Classes":"@SelectWhite","Height":"@25","Top":"@5","if":"data.type==$string$:true,false","Right":"@5","Value":"data.selected"},{"type":"DateInput","Height":"@25","Date":"data.selected","Classes":"@SelectWhite BorderRound","if":"data.type==$date$:true,false","Top":"@5","Right":"@5"},{"Height":"@25","if":"data.type==$selector$:true,false","Right":"@5","Data":"stat.Data.Call($reoption$,data.lname,data.mname)","Top":"@5","@Change":"stat.Call($changeSelected$,data.lname,data.mname,e.Value)","type":"Select","Classes":"@SelectWhite BorderRound","Selected":"data.selected"}]}],"type":"Grid","Bottom":"@5"}}}],"type":"Grid"}}}]}],"type":"Grid"},"SearchPlan":{"type":"Grid","Classes":"@PopupSearch PopupShadow","Row":"@1*","Column":"@1*","children":[{"Column":"@70,170","PaddingLeft":"@10","children":[{"PaddingBottom":"@6","type":"Text","Classes":"@GridLabel","Text":"@计划名称"},{"Value":"stat.Data.checkplan.search.model.f_plan_name","@Change":"stat.Call($setProperty$, $checkplan$, $f_plan_name$, e.Value)","type":"Input"},{"Text":"@计划年份","type":"Text","Classes":"@GridLabel"},{"Data":"stat.Call($years$)","Top":"@10","Selected":"stat.Data.checkplan.search.model.f_plan_year","@Change":"stat.Call($setProperty$, $checkplan$, $f_plan_year$, e.Value)","type":"Select","Classes":"@SelectWhite BorderRound"},{"Text":"@计划月份","type":"Text","Classes":"@GridLabel"},{"Top":"@10","@Change":"stat.Call($setProperty$, $checkplan$, $f_plan_month$, e.Value)","type":"Select","Selected":"stat.Data.checkplan.search.model.f_plan_month","Bottom":"@1","Classes":"@SelectWhite BorderRound","Data":"stat.Call($months$)"},{"Text":"@是否共享","Classes":"@GridLabel","type":"Text"},{"Selected":"stat.Data.sIsAndNotSelect","Original":"@H","VAlign":"@Center","Data":"stat.Data.isAndNot","TemplateName":"@RadioButton","@Change":"stat.Call($isAndNotChange$, e.Value)","type":"Select"},{"type":"Text","Text":"@安检员","Classes":"@GridLabel"},{"Data":"stat.Data.checker","Classes":"@SelectWhite BorderRound","Selected":"stat.Data.checkplan.search.model.checkername","Top":"@10","@Change":"stat.Call($fieldChange$,$checkplan$,e.Value.self)","Slots":{"item":{"type":"Stack","Height":"@30","children":[{"Left":"@10","Text":"data.name","type":"Text","VAlign":"@Center"}]}},"type":"Select"},{"Classes":"@GridLabel","type":"Text","Text":"@安检类型"},{"@Change":"stat.Call($setProperty$, $checkplan$, $safechecktype$, e.Value)","type":"Select","Classes":"@SelectWhite BorderRound","Top":"@10","Data":"stat.Data.safecheckTypeList"},{"ColSpan":"@2","HAlign":"@Center","Top":"@20","children":[{"type":"Button","Text":"@取消","Classes":"@Button2","Right":"@50","@Click":"stat.RestorePopup(this,e.draw)"},{"type":"Button","FillStyle":"@#ffffff","Classes":"@Button","Text":"@查询","@Click":"stat.Call($loadCheckPlan$,$$),stat.RestorePopup(this,e.draw)"}],"type":"Stack"}],"type":"Grid","Row":"@*,*,*,*,*,*,*","PaddingBottom":"@10","PaddingTop":"@10","PaddingRight":"@20","Classes":"@BorderRound NormalFont PopupSearch"}]},"start":{"type":"Image","Path":"@drag"},"condition":{"Column":"@1*","Classes":"@PopupSearch PopupShadow","Row":"@1*","children":[{"children":[{"Height":"@200","Slots":{"item":{"Data":"stat.Data.conditionList","Name":"@新","Slots":{"item":{"PaddingLeft":"@10","Row":"@*","Column":"@*,*,*,*,*","PaddingBottom":"@10","PaddingTop":"@10","type":"Grid","Background":"@#fff","PaddingRight":"@10","children":[{"Selected":"data.selectitem","Text":"this.Selected.checkname","Background":"@#fff","@Change":"stat.Call($conditionListChange$,$conditionList$,index,$selectitem$,e.Value.self)","Classes":"@SelectGray BorderRound","type":"Select","Data":"stat.Data.conditionJson","Width":"@150","Right":"@8","Slots":{"item":{"Height":"@30","children":[{"VAlign":"@Center","type":"Text","Text":"data.checkname","Left":"@10"}],"type":"Stack"}},"StrokeStyle":"@#dfe4e7"},{"Value":"data.selectValue","Width":"@150","if":"data.selectitem.type==$input$","@Change":"stat.Call($conditionListChange$,$conditionList$,data.num,$selectValue$,e.Value)","type":"Input"},{"StrokeStyle":"@#dfe4e7","ShowDateAndTime":"@All","type":"DateInput","if":"data.selectitem.type==$date$","Background":"@#fff","Width":"@150","Date":"data.selectValue","Classes":"@SelectGray BorderRound","@Change":"stat.Call($conditionListChange$,$conditionList$,data.num,$selectValue$,e.Value)"},{"if":"data.selectitem.type==$selector$","@Change":"stat.Call($conditionListChange$,$conditionList$,data.num,$selectValue$,e.Value)","type":"Select","StrokeStyle":"@#dfe4e7","Classes":"@SelectGray BorderRound","Selected":"data.selectValue","Background":"@#fff","Width":"@150","Data":"data.selectitem.options"},{"Left":"@8","VAlign":"@Center","Path":"@littledelete","@Click":"stat.Call($deletecondition$,$conditionList$,$user$,index)","type":"Image"}]}},"type":"List"}},"type":"Scroll"},{"HAlign":"@Center","Bottom":"@10","VAlign":"@Center","Path":"@littleadd","@Click":"stat.Call($addconditionList$,$conditionList$)","type":"Image"}],"type":"Grid","Column":"@*","Classes":"@BorderRound NormalFont PopupSearch","Row":"@*,*","Background":"@#fff"}],"type":"Grid"},"condition1":{"Row":"@1*","Classes":"@PopupSearch PopupShadow","children":[{"children":[{"Height":"@200","Slots":{"item":{"Name":"@新","Data":"stat.Data.planitemconditionList","Slots":{"item":{"type":"Grid","children":[{"Classes":"@SelectGray BorderRound","Text":"this.Selected.checkname","Width":"@150","Selected":"data.selectitem","Data":"stat.Data.planitemconditionJson","Slots":{"item":{"type":"Stack","Height":"@30","children":[{"type":"Text","Text":"data.checkname","Left":"@10","VAlign":"@Center"}]}},"type":"Select","@Change":"stat.Call($conditionListChange$,$planitemconditionList$,index,$selectitem$,e.Value.self)","Right":"@8","StrokeStyle":"@#dfe4e7","Background":"@#fff"},{"Width":"@150","Value":"data.selectValue","if":"data.selectitem.type==$input$","@Change":"stat.Call($conditionListChange$,$planitemconditionList$,data.num,$selectValue$,e.Value)","type":"Input"},{"type":"DateInput","ShowDateAndTime":"@All","Background":"@#fff","Classes":"@SelectGray BorderRound","Width":"@150","StrokeStyle":"@#dfe4e7","if":"data.selectitem.type==$date$","Date":"data.selectValue","@Change":"stat.Call($conditionListChange$,$planitemconditionList$,data.num,$selectValue$,e.Value)"},{"Width":"@150","if":"data.selectitem.type==$selector$","Selected":"data.selectValue","Data":"data.selectitem.options","Classes":"@SelectGray BorderRound","type":"Select","@Change":"stat.Call($conditionListChange$,$planitemconditionList$,data.num,$selectValue$,e.Value)","StrokeStyle":"@#dfe4e7","Background":"@#fff"},{"Path":"@littledelete","@Click":"stat.Call($deletecondition$,$planitemconditionList$,$checkplanitems$,index)","type":"Image","Left":"@8","VAlign":"@Center"}],"PaddingTop":"@10","PaddingLeft":"@10","Row":"@*","PaddingRight":"@10","PaddingBottom":"@10","Background":"@#fff","Column":"@*,*,*,*,*"}},"type":"List"}},"type":"Scroll"},{"type":"Image","VAlign":"@Center","Path":"@littleadd","Bottom":"@10","HAlign":"@Center","@Click":"stat.Call($addconditionList$,$planitemconditionList$)"}],"type":"Grid","Column":"@*","Row":"@*,*","Classes":"@BorderRound NormalFont PopupSearch"}],"type":"Grid","Column":"@1*"}}}
      });

      loadWasm().then(()=> {
        global.stat = this.comp
        global.stat.ready().then(()=> {
          console.log(global.stat)
          run()
          this.comp.isSend=false
        })
      })
    }catch (e) {
      this.$showAlert("加载出错啦！请清除缓存在试一次！")
      this.comp.isSend=false
    }
  }

  /*{"template":{"type":"Grid","Column":"@200,1*","Row":"@1*","Background":"@#f5f7f9","children":[{"StrokeStyle":"@#dce0e3","children":[{"PaddingLeft":"@5","Column":"@*,1*","Name":"@上边","Bottom":"@1","PaddingTop":"@3","Row":"@*","StrokeStyle":"@#dce0e3","type":"Grid","PaddingBottom":"@4","Classes":"@BorderRect","Pos":"@Top","PaddingRight":"@5","children":[{"type":"Button","Text":"@查询","@MouseDown":"stat.Popup($SearchPlan$,stat,this,e.draw)","@Click":"stat.Popup($SearchPlan$,stat,this,e.draw)","Slots":{"item":{"type":"Image","Path":"this.MouseIn:$searchhover$,$searchnormal$","Classes":"@SearchButtonImg"}}},{"Background":"@#fff","Selected":"$按时间降序$","Data":"stat.Data.orderList","@Change":"stat.Call($loadCheckPlan$,e.Value)","type":"Select","Left":"@10","Classes":"@SelectGray BorderRound"}]},{"Column":"@1*","children":[{"type":"Scroll","Slots":{"item":{"type":"List","Name":"@安检计划","Data":"stat.Data.checkplan.list.data","@Change":"stat.Call($openPlan$, e.Value.self)","Slots":{"item":{"PaddingBottom":"@1","children":[{"children":[{"type":"Text","Font":"@15px 微软雅黑","Text":"data.f_plan_name","ColSpan":"@4"},{"type":"Text","Top":"@12","Text":"@已下载"},{"children":[{"Classes":"@BorderRound","PaddingLeft":"@5","Font":"@12px 微软雅黑","Text":"data.f_checker!=$$:data.f_checker,$共享","PaddingTop":"@2","Background":"@#ffffff","Radius":"@8","FillStyle":"@#4792de","PaddingRight":"@5","ColSpan":"@3","StrokeStyle":"@#cfdce8","type":"Text","PaddingBottom":"@2"}],"type":"Stack","HAlign":"@Right","Top":"@10","ColSpan":"@3"},{"Classes":"@NormalFontLighter","type":"Text","Top":"@12","ColSpan":"@2","Text":"${data.f_plan_year}-{data.f_plan_month}$"},{"Text":"@总","Top":"@12","type":"Text","Left":"@10","Classes":"@NormalFontLighter"},{"Text":"stat.Call($getSumItem$, data.self)","Top":"@12","Classes":"@NormalFontHeavy","Name":"@总数","HAlign":"@Right","type":"Text"},{"type":"Text","Text":"@已检","Top":"@12","Classes":"@NormalFontLighter"},{"Top":"@12","Text":"stat.Call($getChecked$, data.self)","type":"Text","Left":"@5","Classes":"@NormalFontHeavy"},{"Left":"@10","Top":"@12","Text":"@未检","Classes":"@NormalFontLighter","type":"Text"},{"Top":"@12","Classes":"@NormalFontHeavy","type":"Text","Text":"stat.Call($getNotChecked$, data.self)","HAlign":"@Right"}],"Row":"@*,*,*,*","PaddingRight":"@15","PaddingTop":"@20","type":"Grid","PaddingLeft":"@15","Column":"@42,1*,42,1*","@Drop":"stat.Call($dragtoPlan$,data.id,data.f_filialeid,stat.GetDrag())","PaddingBottom":"@20"},{"Right":"@5","StrokeStyle":"@#dce0e3","Classes":"@BorderRect","type":"Stack","Left":"@5"}],"type":"Stack","Width":"@200","Original":"@V"}}}}},{"StrokeStyle":"@#dfe4e7","type":"Stack","Classes":"@BorderRect","Left":"@5","Right":"@5"},{"type":"Grid","PaddingRight":"@20","PaddingTop":"@10","PaddingBottom":"@10","Column":"@1*,1*","Row":"@1*","PaddingLeft":"@20","children":[{"type":"Text","Text":"$共{stat.Data.checkplan.list.count}条$"},{"Slots":{"item":{"children":[{"type":"Image","VAlign":"@Bottom","Path":"@doubledown"},{"Left":"@4","Text":"@更多","type":"Text"}],"type":"Stack","Name":"LoadMoreButton_Stack"}},"type":"Button","FillStyle":"this.MouseIn:$#000000$,$#666666$","HAlign":"@Right","@Click":"stat.Call($loadMore$,$checkplan$)"}]},{"type":"Stack","StrokeStyle":"@#dfe4e7","Right":"@5","Left":"@5","Classes":"@BorderRect"},{"Classes":"@BorderRound","Bottom":"@20","HAlign":"@Center","Top":"@20","@Click":"stat.ShowModal($NewPlan$,$生成计划$,$addNewPlan$,$cancel$)","Slots":{"item":{"Path":"this.MouseIn:$addnewhover$,$addnew$","type":"Image","Name":"Button_Image"}},"type":"Button"}],"type":"Grid","Row":"@1*,0,*,0,*","Pos":"@Center","Classes":"@NormalFontlight"}],"type":"Dock","Classes":"@BorderRect","Name":"@左边","Background":"@#ffffff"},{"children":[{"Classes":"@BorderRect","HAlign":"@Right","Pos":"@Top","children":[{"type":"Stack","Top":"@4","Bottom":"@4","children":[{"Text":"@删除","type":"Button","Right":"@10","Classes":"@Button2"},{"type":"Button","Right":"@10","Text":"@打印","Classes":"@Button2"},{"Classes":"@Button2","type":"Button","Right":"@24","Text":"@导出"}]}],"type":"Stack","Background":"@#ffffff","StrokeStyle":"@#dce0e3","Name":"@工具条"},{"type":"Grid","Column":"@1*","Pos":"@Center","Row":"@1*,1*","children":[{"type":"Grid","PaddingBottom":"@20","PaddingRight":"@24","children":[{"Bottom":"@17","children":[{"type":"Text","Text":"@计划信息","VAlign":"@Center"},{"Classes":"@BorderRect","Left":"@10","@Change":"stat.Call($setProperty$,$checkplanitems$,$f_address$, e.Value)","type":"Input","Width":"@150","PlaceHolder":"@住户地址"},{"type":"Input","Left":"@10","Width":"@150","Classes":"@BorderRect","PlaceHolder":"@其他条件"},{"Classes":"@DropDownButton BorderRound","Left":"@10","Slots":{"item":{"Name":"DropDownButton_Image","Classes":"@DropDownButtonImg","type":"Image"}},"type":"Button"},{"Slots":{"item":{"Classes":"@SearchButtonImg","type":"Image","Name":"SearchButton_Image"}},"type":"Button","Left":"@10","Classes":"@SearchButton BorderRound","@Click":"stat.Call($searchPlanItem$)"}],"type":"Stack"},{"Data":"stat.Data.checkplanitems.list.data","Classes":"@BorderRect","@DragStart":"stat.SetDrag($item$)","Slots":{"head":{"type":"Grid","Row":"@1*","children":[{"children":[{"type":"CheckBox"},{"Text":"@全选","type":"Text","Left":"@9"}],"type":"Stack","HAlign":"@Center","Classes":"@DataGridHead"},{"Classes":"@DataGridHead","Text":"@用户编号","type":"Text"},{"type":"Text","Text":"@用户名称","Classes":"@DataGridHead"},{"type":"Text","Classes":"@DataGridHead","Text":"@用户类型"},{"type":"Text","Text":"@小区名称","Classes":"@DataGridHead"},{"Text":"@状态","type":"Text","Classes":"@DataGridBody"},{"Classes":"@DataGridHead","type":"Text","Text":"@地址"}]},"item":{"children":[{"type":"CheckBox","Classes":"@DataGridBody","HAlign":"@Center","IsSelected":"stat.Data.checkplanitems.check.Call($isChecked$, data.itemid)","@Change":"stat.Call($addParam$, $checkplanitems$, data.itemid)"},{"type":"Text","Classes":"@DataGridBody","Text":"data.f_userinfo_code"},{"type":"Text","Text":"data.f_user_name","Classes":"@DataGridBody"},{"type":"Text","Text":"data.f_user_type","Classes":"@DataGridBody"},{"type":"Text","Text":"data.f_residential_area","Classes":"@DataGridBody"},{"type":"Text","Classes":"@DataGridBody","Text":"data.f_state"},{"type":"Text","Classes":"@DataGridBody","Text":"data.f_address"}],"type":"Grid","Row":"@1*","@Drop":"stat.Call($dragtoPlanItem$,data.id,data.f_filialeid,stat.GetDrag())"}},"type":"DataGrid","Column":"@100,100,100,100,100,100,1*"},{"type":"Grid","Top":"@12","Row":"@1*","Column":"@*,*,1*,*","PaddingTop":"@5","Classes":"@NormalFontlight","children":[{"Text":"@显示1~22行","VAlign":"@Center","type":"Text"},{"Left":"@20","VAlign":"@Center","Text":"$共{stat.Data.checkplanitems.list.count}条$","type":"Text"},{"type":"Text","Text":"@ "},{"type":"Button","FillStyle":"this.MouseIn:$#000000$,$#666666$","@Click":"stat.Call($loadMore$,$checkplanitems$)","Slots":{"item":{"type":"Stack","Name":"LoadMoreButton_Stack","children":[{"Path":"@doubledown","type":"Image","VAlign":"@Bottom"},{"Text":"@更多","type":"Text","Left":"@4"}]}}}]}],"PaddingLeft":"@10","Column":"@1*","Classes":"@BorderRect","StrokeStyle":"@#dfe4e7","Row":"@*,1*,*","PaddingTop":"@12"},{"PaddingLeft":"@10","Column":"@1*","PaddingBottom":"@20","PaddingTop":"@12","type":"Grid","StrokeStyle":"@#dfe4e7","Row":"@*,1*,*","PaddingRight":"@24","Classes":"@BorderRect","children":[{"type":"Stack","Bottom":"@17","children":[{"type":"Text","Text":"@用户信息","VAlign":"@Center"},{"type":"Input","Width":"@150","PlaceHolder":"@用户编号","Classes":"@BorderRect","Left":"@10","@Change":"stat.Call($setProperty$,$user$,$userinfocode$, e.Value)"},{"type":"Input","Left":"@10","Width":"@150","PlaceHolder":"@其它条件","Classes":"@BorderRect"},{"type":"Button","Classes":"@DropDownButton BorderRound","Left":"@10","Slots":{"item":{"Classes":"@DropDownButtonImg","type":"Image","Name":"DropDownButton_Image"}}},{"type":"Button","Left":"@10","Classes":"@SearchButton BorderRound","@Click":"stat.Call($searchUser$)","Slots":{"item":{"type":"Image","Name":"SearchButton_Image","Classes":"@SearchButtonImg"}}}]},{"Column":"@100,100,100,100,100,150,1*","Data":"stat.Data.user.list.data","@DragStart":"stat.SetDrag($user$)","@Drop":"stat.Call($delPlanItem$,stat.GetDrag())","Slots":{"item":{"type":"Grid","Row":"@*","children":[{"VAlign":"@Center","IsSelected":"stat.Data.user.check.Call($isChecked$, data.id)","HAlign":"@Center","Classes":"@DataGridBody","@Change":"stat.Call($addParam$, $user$, data.id)","type":"CheckBox"},{"Text":"data.f_userinfo_code","Classes":"@DataGridBody","type":"Text"},{"Text":"data.f_user_name","type":"Text","Classes":"@DataGridBody"},{"type":"Text","Classes":"@DataGridBody","Text":"@无"},{"type":"Text","Text":"data.f_residential_area","Classes":"@DataGridBody"},{"type":"Text","Classes":"@DataGridBody","Text":"data.f_plan_name"},{"type":"Text","Classes":"@DataGridBody","Text":"data.f_address"}]},"head":{"Row":"@*","children":[{"Classes":"@DataGridHead","children":[{"type":"CheckBox","@Change":"stat.Call($changeCheckAll$, $user$)"},{"type":"Text","Text":"@全选","Left":"@9"}],"type":"Stack"},{"Classes":"@DataGridHead","Text":"@用户编号","type":"Text"},{"type":"Text","Text":"@用户名称","Classes":"@DataGridHead"},{"Text":"@用户类型","Classes":"@DataGridHead","type":"Text"},{"Classes":"@DataGridHead","type":"Text","Text":"@区/县"},{"type":"Text","Text":"@所属计划","Classes":"@DataGridHead"},{"type":"Text","Text":"@地址","Classes":"@DataGridHead"}],"type":"Grid"}},"type":"DataGrid","Classes":"@BorderRect"},{"type":"Grid","Row":"@1*","Column":"@*,*,1*,*","Classes":"@NormalFontlight","Top":"@12","children":[{"type":"Text","Text":"@显示2~22行"},{"type":"Text","Left":"@20","Text":"$共{stat.Data.user.list.count}条$"},{"type":"Text","Text":"@ "},{"Text":"@加载更多","@Click":"stat.Call($loadMore$,$user$)","Slots":{"item":{"type":"Stack","children":[{"Path":"@doubledown","VAlign":"@Bottom","type":"Image"},{"type":"Text","Left":"@4","Text":"@更多"}]}},"type":"Button","FillStyle":"this.MouseIn:$#000000$,$#666666$"}]}]}]}],"type":"Dock","Name":"@右边","Background":"@#f5f7f9","Classes":"@BorderRect"}]},"Drag":{"SearchPlan":{"Column":"@1*","children":[{"Classes":"@BorderRound NormalFont PopupSearch","Column":"@70,170","PaddingLeft":"@10","PaddingRight":"@20","children":[{"type":"Text","PaddingBottom":"@6","Classes":"@GridLabel","Text":"@计划名称"},{"type":"Input","Value":"stat.Data.checkplan.search.model.f_plan_name","@Change":"stat.Call($setProperty$, $checkplan$, $f_plan_name$, e.Value)"},{"Text":"@计划年份","type":"Text","Classes":"@GridLabel"},{"Top":"@10","Classes":"@SelectWhite BorderRound","type":"Select"},{"Classes":"@GridLabel","type":"Text","Text":"@计划月份"},{"Top":"@10","Bottom":"@1","Classes":"@SelectWhite BorderRound","type":"Select"},{"type":"Text","Text":"@是否共享","Classes":"@GridLabel"},{"type":"Select","Data":"stat.Data.isAndNot","TemplateName":"@RadioButton","Original":"@H"},{"Classes":"@GridLabel","Text":"@安检员","type":"Text"},{"Classes":"@SelectWhite BorderRound","Top":"@10","type":"Select"},{"Top":"@20","ColSpan":"@2","children":[{"Classes":"@Button2","Right":"@50","@Click":"stat.RestorePopup(this,e.draw)","type":"Button","Text":"@取消"},{"type":"Button","Text":"@查询","FillStyle":"@#ffffff","Classes":"@Button","@Click":"stat.Call($loadCheckPlan$),stat.RestorePopup(this,e.draw)"}],"type":"Stack","HAlign":"@Center"}],"type":"Grid","PaddingBottom":"@10","PaddingTop":"@10","Row":"@*,*,*,*,*,*"}],"type":"Grid","Classes":"@PopupSearch PopupShadow","Row":"@1*"},"start":{"type":"Text","Text":"@start"},"drag":{"type":"Text","Text":"@drag"},"NewPlan":{"children":[{"Column":"@80,170,80,170,80,170","Background":"@#ffffff","PaddingRight":"@36","PaddingTop":"@20","Row":"@*,*","children":[{"HAlign":"@Right","VAlign":"@Center","type":"Text","Right":"@10","Text":"@* 计划名称"},{"@Change":"stat.Call($setNewPlan$, $f_plan_name$, e.Value)","type":"Input"},{"Text":"@计划年份","HAlign":"@Right","VAlign":"@Center","Right":"@10","type":"Text"},{"Classes":"@SelectWhite BorderRound","Data":"stat.Call($years$)","@Change":"stat.Call($setNewPlan$, $f_plan_year$, e.Value)","type":"Select"},{"type":"Text","VAlign":"@Center","Right":"@10","Text":"@计划月份","HAlign":"@Right"},{"type":"Select","Classes":"@SelectWhite BorderRound","Data":"stat.Call($months$)","@Change":"stat.Call($setNewPlan$, $f_plan_month$, e.Value)"},{"HAlign":"@Right","VAlign":"@Center","type":"Text","Right":"@10","Text":"@是否共享","Top":"@10"},{"type":"Select","Data":"stat.Data.isAndNot","Original":"@H","TemplateName":"@RadioButton"},{"Text":"@安检员","HAlign":"@Right","type":"Text","VAlign":"@Center","Top":"@10","Right":"@10"},{"type":"Select","Classes":"@SelectWhite BorderRound","Top":"@10"}],"PaddingBottom":"@20","Classes":"@NormalFontlight","Pos":"@Center","PaddingLeft":"@20","type":"Grid"}],"type":"Grid","Row":"@*","Column":"@*"}}}
    */
//
  /*
  * {"template":{"children":[{"StrokeStyle":"@#dce0e3","Classes":"@BorderRect","Name":"@左边","children":[{"children":[{"@MouseDown":"stat.Popup($SearchPlan$,stat,this,e.draw)","Slots":{"item":{"Classes":"@SearchButtonImg","type":"Image","Path":"this.MouseIn:$searchhover$,$searchnormal$"}},"type":"Button","Text":"@查询","@Click":"stat.Popup($SearchPlan$,stat,this,e.draw)"},{"type":"Select","StrokeStyle":"@#dfe4e7","Selected":"$按时间降序$","Data":"stat.Data.orderList","Left":"@10","Classes":"@SelectGray BorderRound","Background":"@#fff","@Change":"stat.Call($loadCheckPlan$,e.Value)"},{"type":"Text","Text":"@"},{"type":"Stack","PaddingBottom":"@4","PaddingTop":"@8","children":[{"type":"Button","Left":"@80","Text":"@下发","FillStyle":"this.MouseIn: $#0f69c5$, $#4792de$","@Click":"stat.Call($sendCheckPlan$)"},{"type":"Button","FillStyle":"this.MouseIn: $#0f69c5$, $#4792de$","Left":"@12","Text":"@删除","@Click":"stat.Call($delCheckPlan$)"}]}],"type":"Grid","PaddingRight":"@5","Name":"@上边","PaddingTop":"@3","Bottom":"@1","Classes":"@BorderRect","StrokeStyle":"@#dce0e3","PaddingLeft":"@5","Pos":"@Top","Column":"@*,1*","Row":"@*,*","PaddingBottom":"@4"},{"children":[{"type":"Scroll","Slots":{"item":{"Slots":{"item":{"PaddingBottom":"@1","children":[{"PaddingTop":"@20","Row":"@*,*,*,*","Column":"@25,42,1*,42,1*","type":"Grid","children":[{"type":"Stack","VAlign":"@Center","RowSpan":"@4","children":[{"@Change":"stat.Call($addParam$, $checkplan$, data.id)","type":"CheckBox","IsSelected":"stat.Data.checkplan.check.Call($isChecked$, data.id)","if":"data.f_issued==$是$:false,true"}]},{"type":"Text","Font":"@15px 微软雅黑","Text":"data.f_plan_name","ColSpan":"@3"},{"type":"Button","Classes":"@BorderRound","@Click":"stat.ShowModal($upPlan$,$修改计划$,$upCheckPlan$,$cancel$)","Slots":{"item":{"Name":"Button_Image","Path":"@edit","type":"Image"}}},{"type":"Text","Top":"@12","FillStyle":"@#4792de","Text":"data.f_issued==$是$:$已下发$,$未下发$"},{"ColSpan":"@3","HAlign":"@Right","Top":"@10","children":[{"PaddingTop":"@2","ColSpan":"@3","Font":"@12px 微软雅黑","StrokeStyle":"@#cfdce8","FillStyle":"@#4792de","Classes":"@BorderRound","Text":"data.f_checker!=$$:data.f_checker,$共享","PaddingBottom":"@2","PaddingLeft":"@5","type":"Text","Background":"@#ffffff","PaddingRight":"@5","Radius":"@8"}],"type":"Stack"},{"Text":"${data.f_plan_year}-{data.f_plan_month}$","Classes":"@NormalFontLighter","type":"Text","Top":"@12","ColSpan":"@2"},{"Text":"@总","Top":"@12","type":"Text","Left":"@10","Classes":"@NormalFontLighter"},{"Top":"@12","type":"Text","Classes":"@NormalFontHeavy","ColSpan":"@1","Name":"@总数","HAlign":"@Right","Text":"stat.Call($getSumItem$, data.self)"},{"Classes":"@NormalFontLighter","type":"Text","Text":"@已检","Top":"@12"},{"Left":"@5","Classes":"@NormalFontHeavy","type":"Text","Top":"@12","Text":"stat.Call($getChecked$, data.self)"},{"Left":"@10","Top":"@12","Text":"@未检","type":"Text","Classes":"@NormalFontLighter"},{"Text":"stat.Call($getNotChecked$, data.self)","HAlign":"@Right","type":"Text","Top":"@12","Classes":"@NormalFontHeavy"}],"PaddingBottom":"@20","PaddingRight":"@10","@Drop":"stat.Call($dragtoPlan$,data.id,data.f_filialeid,stat.GetDrag())","PaddingLeft":"@10"},{"StrokeStyle":"@#dce0e3","type":"Stack","Classes":"@BorderRect","Left":"@5","Right":"@5"}],"type":"Stack","Width":"@200","Original":"@V","Background":"data.id==stat.Data.SelectedPlan: $#d8eafb$, this.MouseIn: $#f5f6f7$, $$"}},"type":"List","Data":"stat.Data.checkplan.list.data","Name":"@安检计划","@Change":"stat.Call($openPlan$, e.Value.self)"}}},{"type":"Stack","StrokeStyle":"@#dfe4e7","Classes":"@BorderRect","Left":"@5","Right":"@5"},{"children":[{"type":"Text","Text":"$共{stat.Data.checkplan.list.count}条$"},{"FillStyle":"this.MouseIn:$#000000$,$#666666$","@Click":"stat.Call($loadMore$,$checkplan$)","Slots":{"item":{"type":"Stack","Name":"LoadMoreButton_Stack","children":[{"type":"Image","VAlign":"@Bottom","Path":"@doubledown"},{"type":"Text","Left":"@4","Text":"@更多"}]}},"type":"Button","HAlign":"@Right"}],"type":"Grid","PaddingBottom":"@10","Column":"@1*,1*","Row":"@1*","PaddingLeft":"@20","PaddingRight":"@20","PaddingTop":"@10"},{"Left":"@5","Classes":"@BorderRect","StrokeStyle":"@#dfe4e7","type":"Stack","Right":"@5"},{"type":"Button","Top":"@20","Classes":"@BorderRound","Bottom":"@20","HAlign":"@Center","@Click":"stat.ShowModal($NewPlan$,$生成计划$,$addNewPlan$,$cancel$)","Slots":{"item":{"type":"Image","Name":"Button_Image","Path":"this.MouseIn:$addnewhover$,$addnew$"}}}],"type":"Grid","Classes":"@NormalFontlight","Column":"@1*","Row":"@1*,0,*,0,*","Pos":"@Center"}],"type":"Dock","Background":"@#ffffff"},{"Name":"@右边","children":[{"Name":"@工具条","Classes":"@BorderRect","children":[{"type":"Stack","Bottom":"@4","Top":"@4","children":[{"Text":"@删除","Right":"@10","Classes":"@Button2","type":"Button"},{"Right":"@10","Text":"@打印","type":"Button","Classes":"@Button2"},{"type":"Button","Classes":"@Button2","Right":"@24","Text":"@导出"}]}],"type":"Stack","HAlign":"@Right","Pos":"@Top","Background":"@#ffffff","StrokeStyle":"@#dce0e3"},{"type":"Grid","Column":"@1*","Pos":"@Center","Row":"@1*,1*","children":[{"Column":"@1*","children":[{"children":[{"type":"Text","VAlign":"@Center","Text":"@计划信息"},{"Left":"@10","Width":"@150","@Change":"stat.Call($setProperty$,$checkplanitems$,$f_address$, e.Value)","type":"Input","PlaceHolder":"@住户地址","Classes":"@BorderRect"},{"type":"Input","PlaceHolder":"@全文搜索","Left":"@10","Width":"@150","Classes":"@BorderRect"},{"Left":"@10","Data":"stat.Data.planItemCondition","type":"Select","Classes":"@SelectGray BorderRound","Width":"@120","Background":"@#fff","@Change":"stat.Call($fieldChange$,$planItemConditionSelect$,e.Value)","StrokeStyle":"@#dfe4e7","Selected":"$请选择条件$"},{"type":"Input","Left":"@10","Width":"@150","@Change":"stat.Call($fieldChange$,$planItemConditionValue$,e.Value)"},{"@Click":"stat.Call($searchPlanItem$)","Slots":{"item":{"type":"Image","Name":"SearchButton_Image","Classes":"@SearchButtonImg"}},"type":"Button","Classes":"@SearchButton BorderRound","Left":"@10"}],"type":"Stack","Bottom":"@17"},{"Classes":"@BorderRect","Column":"@100,100,100,100,100,100,1*","@Drop":"stat.Call($dragtoPlanItem$,stat.Data.checkplanitems.search.model.f_plan_id,stat.GetDrag())","@DragOver":"stat.DragOver()","@DragStart":"stat.SetDrag($item$)","Slots":{"item":{"children":[{"Classes":"@DataGridBody","@Change":"stat.Call($addParam$, $checkplanitems$, data.itemid)","type":"CheckBox","HAlign":"@Center","IsSelected":"stat.Data.checkplanitems.check.Call($isChecked$, data.itemid)"},{"Text":"data.f_userinfo_code","Classes":"@DataGridBody","type":"Text"},{"type":"Text","Classes":"@DataGridBody","Text":"data.f_user_name"},{"Classes":"@DataGridBody","type":"Text","Text":"data.f_user_type"},{"Classes":"@DataGridBody","Text":"data.f_residential_area","type":"Text"},{"Text":"data.f_state","type":"Text","Classes":"@DataGridBody"},{"Classes":"@DataGridBody","type":"Text","Text":"data.f_address"}],"type":"Grid","Row":"@1*"},"head":{"Row":"@1*","children":[{"type":"Stack","HAlign":"@Center","Classes":"@DataGridHead","children":[{"type":"CheckBox"},{"type":"Text","Left":"@9","Text":"@全选"}]},{"type":"Text","Classes":"@DataGridHead","Text":"@用户编号"},{"type":"Text","Text":"@用户名称","Classes":"@DataGridHead"},{"Text":"@用户类型","type":"Text","Classes":"@DataGridHead"},{"Classes":"@DataGridHead","type":"Text","Text":"@小区名称"},{"Classes":"@DataGridBody","Text":"@状态","type":"Text"},{"type":"Text","Text":"@地址","Classes":"@DataGridHead"}],"type":"Grid"}},"type":"DataGrid","Data":"stat.Data.checkplanitems.list.data"},{"Column":"@*,*,1*,*","PaddingTop":"@5","children":[{"Text":"@显示 1~20","VAlign":"@Center","type":"Text"},{"type":"Text","Text":"$共{stat.Data.checkplanitems.list.count}条$","Left":"@20","VAlign":"@Center"},{"type":"Text","Text":"@ "},{"type":"Button","FillStyle":"this.MouseIn:$#000000$,$#666666$","@Click":"stat.Call($loadMore$,$checkplanitems$)","Slots":{"item":{"type":"Stack","Name":"LoadMoreButton_Stack","children":[{"type":"Image","VAlign":"@Bottom","Path":"@doubledown"},{"Text":"@更多","type":"Text","Left":"@4"}]}}}],"type":"Grid","Classes":"@NormalFontlight","Top":"@12","Row":"@1*"}],"type":"Grid","PaddingBottom":"@20","PaddingRight":"@24","Classes":"@BorderRect","Row":"@*,1*,*","StrokeStyle":"@#dfe4e7","PaddingLeft":"@10","PaddingTop":"@12"},{"PaddingTop":"@12","PaddingLeft":"@10","PaddingBottom":"@20","Column":"@1*","Row":"@*,1*,*","type":"Grid","PaddingRight":"@24","StrokeStyle":"@#dfe4e7","Classes":"@BorderRect","children":[{"type":"Stack","Bottom":"@17","children":[{"type":"Text","Text":"@用户信息","VAlign":"@Center"},{"@Change":"stat.Call($setProperty$,$user$,$userinfocode$, e.Value)","type":"Input","Width":"@150","PlaceHolder":"@用户编号","Classes":"@BorderRect","Left":"@10"},{"Width":"@150","type":"Input","PlaceHolder":"@全文搜索","Classes":"@BorderRect","Left":"@10"},{"Width":"@120","Left":"@10","Data":"stat.Data.userCondition","Classes":"@SelectGray BorderRound","@Change":"stat.Call($fieldChange$,$userConditionSelect$,e.Value)","type":"Select","Background":"@#fff","Selected":"$请选择条件$","StrokeStyle":"@#dfe4e7"},{"Left":"@10","Width":"@150","@Change":"stat.Call($fieldChange$,$userConditionValue$,e.Value)","type":"Input"},{"Slots":{"item":{"Classes":"@SearchButtonImg","type":"Image","Name":"SearchButton_Image"}},"type":"Button","Left":"@10","Classes":"@SearchButton BorderRound","@Click":"stat.Call($searchUser$)"}]},{"Slots":{"head":{"type":"Grid","Row":"@*","children":[{"children":[{"type":"CheckBox","@Change":"stat.Call($changeCheckAll$, $user$)"},{"Left":"@9","type":"Text","Text":"@全选"}],"type":"Stack","Classes":"@DataGridHead"},{"Classes":"@DataGridHead","Text":"@用户编号","type":"Text"},{"Text":"@用户名称","Classes":"@DataGridHead","type":"Text"},{"Classes":"@DataGridHead","type":"Text","Text":"@用户类型"},{"Classes":"@DataGridHead","type":"Text","Text":"@区/县"},{"Classes":"@DataGridHead","type":"Text","Text":"@所属计划"},{"Classes":"@DataGridHead","type":"Text","Text":"@地址"}]},"item":{"Row":"@*","children":[{"HAlign":"@Center","Classes":"@DataGridBody","@Change":"stat.Call($addParam$, $user$, data.id)","type":"CheckBox","VAlign":"@Center","IsSelected":"stat.Data.user.check.Call($isChecked$, data.id)"},{"type":"Text","Text":"data.f_userinfo_code","Classes":"@DataGridBody"},{"Text":"data.f_user_name","type":"Text","Classes":"@DataGridBody"},{"type":"Text","Classes":"@DataGridBody","Text":"@无"},{"type":"Text","Text":"data.f_residential_area","Classes":"@DataGridBody"},{"type":"Text","Classes":"@DataGridBody","Text":"data.f_plan_name"},{"Text":"data.f_address","type":"Text","Classes":"@DataGridBody"}],"type":"Grid"}},"type":"DataGrid","Column":"@100,100,100,100,100,150,1*","Data":"stat.Data.user.list.data","Classes":"@BorderRect","@DragStart":"stat.SetDrag($user$)","@Drop":"stat.Call($delPlanItem$,stat.GetDrag())"},{"Classes":"@NormalFontlight","Top":"@12","children":[{"type":"Text","Text":"@显示 1~20"},{"type":"Text","Text":"$共{stat.Data.user.list.count}条$","Left":"@20"},{"type":"Text","Text":"@ "},{"type":"Button","FillStyle":"this.MouseIn:$#000000$,$#666666$","Text":"@加载更多","@Click":"stat.Call($loadMore$,$user$)","Slots":{"item":{"children":[{"type":"Image","Path":"@doubledown","VAlign":"@Bottom"},{"type":"Text","Left":"@4","Text":"@更多"}],"type":"Stack"}}}],"type":"Grid","Row":"@1*","Column":"@*,*,1*,*"}]}]}],"type":"Dock","Background":"@#f5f7f9","Classes":"@BorderRect"}],"type":"Grid","Background":"@#f5f7f9","Column":"@200,1*","Row":"@1*"},"Drag":{"SearchPlan":{"type":"Grid","Row":"@1*","Column":"@1*","Classes":"@PopupSearch PopupShadow","children":[{"type":"Grid","PaddingRight":"@20","Column":"@70,170","PaddingTop":"@10","Row":"@*,*,*,*,*,*","PaddingLeft":"@10","PaddingBottom":"@10","Classes":"@BorderRound NormalFont PopupSearch","children":[{"Classes":"@GridLabel","type":"Text","Text":"@计划名称","PaddingBottom":"@6"},{"type":"Input","Value":"stat.Data.checkplan.search.model.f_plan_name","@Change":"stat.Call($setProperty$, $checkplan$, $f_plan_name$, e.Value)"},{"type":"Text","Text":"@计划年份","Classes":"@GridLabel"},{"type":"Select","Top":"@10","Selected":"stat.Data.checkplan.search.model.f_plan_year","Classes":"@SelectWhite BorderRound","Data":"stat.Call($years$)","@Change":"stat.Call($setProperty$, $checkplan$, $f_plan_year$, e.Value)"},{"Text":"@计划月份","Classes":"@GridLabel","type":"Text"},{"Classes":"@SelectWhite BorderRound","@Change":"stat.Call($setProperty$, $checkplan$, $f_plan_month$, e.Value)","type":"Select","Data":"stat.Call($months$)","Top":"@10","Selected":"stat.Data.checkplan.search.model.f_plan_month","Bottom":"@1"},{"type":"Text","Text":"@是否共享","Classes":"@GridLabel"},{"Data":"stat.Data.isAndNot","TemplateName":"@RadioButton","Selected":"stat.Data.sIsAndNotSelect","Original":"@H","VAlign":"@Center","@Change":"stat.Call($isAndNotChange$, e.Value)","type":"Select"},{"type":"Text","Classes":"@GridLabel","Text":"@安检员"},{"type":"Select","Top":"@10","Classes":"@SelectWhite BorderRound"},{"children":[{"@Click":"stat.RestorePopup(this,e.draw)","type":"Button","Right":"@50","Text":"@取消","Classes":"@Button2"},{"type":"Button","Text":"@查询","FillStyle":"@#ffffff","Classes":"@Button","@Click":"stat.Call($loadCheckPlan$,$$),stat.RestorePopup(this,e.draw)"}],"type":"Stack","ColSpan":"@2","HAlign":"@Center","Top":"@20"}]}]},"start":{"type":"Image","Path":"@drag"},"drag":{"Text":"@ ","type":"Text"},"NewPlan":{"type":"Grid","Row":"@*","Column":"@*","children":[{"PaddingRight":"@36","Row":"@*,*","PaddingBottom":"@20","PaddingLeft":"@20","Column":"@80,170,80,170,80,170","Background":"@#ffffff","Classes":"@NormalFontlight","Pos":"@Center","children":[{"Right":"@10","type":"Text","Text":"@* 计划名称","HAlign":"@Right","VAlign":"@Center"},{"type":"Input","@Change":"stat.Call($setNewPlan$, $f_plan_name$, e.Value)"},{"type":"Text","HAlign":"@Right","VAlign":"@Center","Right":"@10","Text":"@计划年份"},{"type":"Select","Data":"stat.Call($years$)","Classes":"@SelectWhite BorderRound","@Change":"stat.Call($setNewPlan$, $f_plan_year$, e.Value)"},{"Text":"@计划月份","HAlign":"@Right","VAlign":"@Center","Right":"@10","type":"Text"},{"type":"Select","Data":"stat.Call($months$)","Classes":"@SelectWhite BorderRound","@Change":"stat.Call($setNewPlan$, $f_plan_month$, e.Value)"},{"Text":"@是否共享","Top":"@10","HAlign":"@Right","type":"Text","VAlign":"@Center","Right":"@10"},{"TemplateName":"@RadioButton","Selected":"stat.Data.newPlan.f_share","@Change":"stat.Call($setNewPlan$, $f_share$, e.Value),stat.Call($flush$)","type":"Select","Data":"stat.Data.isAndNot","Original":"@H"},{"Right":"@10","Text":"@安检员","HAlign":"@Right","VAlign":"@Center","Top":"@10","if":"stat.Data.newPlan.f_share==$否$:true,false","type":"Text"},{"type":"Select","Top":"@10","if":"stat.Data.newPlan.f_share==$否$:true,false","Classes":"@SelectWhite BorderRound"}],"type":"Grid","PaddingTop":"@20"}]},"upPlan":{"type":"Grid","Row":"@*","Column":"@*","children":[{"children":[{"type":"Text","VAlign":"@Center","Text":"@* 计划名称","Right":"@10","HAlign":"@Right"},{"type":"Input","Value":"stat.Data.plan.f_plan_name","@Change":"stat.Data.Call($setPlan$,$f_plan_name$,e.Value) "},{"type":"Text","HAlign":"@Right","VAlign":"@Center","Text":"@安检员","Right":"@10"},{"@Change":"stat.Data.Call($setPlan$,$f_checker$,e.Value) ","type":"Select","Classes":"@SelectWhite BorderRound","Selected":"stat.Data.plan.checker"},{"VAlign":"@Center","Top":"@10","Text":"@计划年份","type":"Text","Right":"@10","HAlign":"@Right"},{"Top":"@10","Selected":"stat.Data.plan.f_plan_year","@Change":"stat.Data.Call($setPlan$,$f_plan_year$,e.Value) ","type":"Select","Classes":"@SelectWhite BorderRound"},{"VAlign":"@Center","type":"Text","Top":"@10","Text":"@计划月份","Right":"@10","HAlign":"@Right"},{"Top":"@10","Selected":"stat.Data.plan.f_plan_month","Classes":"@SelectWhite BorderRound","@Change":"stat.Data.Call($setPlan$,$f_plan_month$,e.Value) ","type":"Select"}],"type":"Grid","Background":"@#ffffff","Classes":"@NormalFontlight","PaddingLeft":"@20","Column":"@80,170,80,170","PaddingTop":"@20","PaddingRight":"@36","Row":"@*,*","PaddingBottom":"@20"}]}}}
  * */
}
</script>
