<template>
  <app-base>
    <div id="content"></div>
  </app-base>
</template>
<script>
  import Comp from "./comp"
  // import TestData from "./TestData"
  // #eeeeee #00ADB5#393E46#222831
  export default {


    ready() {
      // if (this.$login) {
      //   console.log('登录信息', this.$login.f)
      //   global.login=this.$login.f
      // }
      // 设置模板为测试,,
      global.canvas = "TestDataComponent";
      global.myjson = Object.assign(global.myjson, {
        TestDataComponent:{"template":{"PaddingRight":"@10","PaddingTop":"@10","children":[{"PaddingTop":"@10","Classes":"@BorderRound","PaddingLeft":"@8","Right":"@10","Row":"@30,1*","StrokeStyle":"@#EEE","PaddingRight":"@8","children":[{"children":[{"type":"Select","Right":"@2","Data":"stat.Data.SafeCheckTypeArray","Classes":"@SelectWhite BorderRound","@Change":"stat.Call($query_info$,e.Value.self,1)"},{"type":"Select","Data":"stat.Data.ConfigChange","Classes":"@SelectWhite BorderRound","Radius":"@5","Right":"@2","@Change":"stat.Call($query_info$,e.Value.self,2)"},{"FillStyle":"@#fff","type":"Button","Background":"@#6AA6E2","PaddingTop":"@8","PaddingLeft":"@20","Right":"@2","Classes":"@BorderRound","@Click":"stat.Call($query_config$)","Text":"@查询","Radius":"@3"},{"type":"Button","FillStyle":"@#fff","Text":"@保存配置","Radius":"@3","PaddingLeft":"@2","@Click":"stat.Call($save_Json$)","PaddingTop":"@8","Classes":"@BorderRound","Background":"@#6AA6E2"}],"type":"Grid","Name":"@top","Row":"@1*","Column":"@1*,1*,70,60"},{"type":"Grid","if":"stat.Data.mainbool","Row":"@30,1*","Column":"@1*","Top":"@5","children":[{"children":[{"type":"Text","Text":"@安检项目配置","HAlign":"@Center","VAlign":"@Center","Left":"@60"},{"@Click":"stat.Call($addb$)","type":"Text","PaddingTop":"@8","Text":"@ 添加>>"}],"type":"Grid","Background":"@#DFEDFB","FillStyle":"@#666","Row":"@1*","Column":"@1*,60"},{"type":"Scroll","Name":"@滚动1","Slots":{"item":{"Name":"@滚动里的列表1","Data":"stat.Data.DevicesSetConfigArray","Slots":{"item":{"Row":"@50,1*","Column":"@1*,80,80,100","Background":"@#CBEAF1","@Click":"stat.Call($bChoose$,index)","children":[{"type":"Text","Font":"@Bold 18px 微软雅黑","VAlign":"@Center","Left":"@20","Text":"data.checkname"},{"FillStyle":"@#9BC8E9","PaddingTop":"@9","Text":"@修改项目","Radius":"@3","Classes":"@BorderRound","Background":"@#fff","PaddingLeft":"@8","@Click":"stat.Call($bChange$,index)","type":"Button","Bottom":"@10","Top":"@9","Right":"@10","StrokeStyle":"@#9BC8E9"},{"PaddingTop":"@9","Text":"@删除项目","Right":"@10","Classes":"@BorderRound","Background":"@#fff","FillStyle":"@#9BC8E9","Top":"@9","PaddingLeft":"@8","Bottom":"@10","StrokeStyle":"@#9BC8E9","Radius":"@3","@Click":"stat.Call($bDel$,index)","type":"Button"},{"StrokeStyle":"@#9BC8E9","type":"Button","Background":"@#5AC0D9","Radius":"@3","Right":"@30","Bottom":"@10","Top":"@9","Text":"@添加内容","PaddingTop":"@9","@Click":"stat.Call($bAdd$,index)","PaddingLeft":"@8","Classes":"@BorderRound","FillStyle":"@#fff"},{"if":"data.bool","Height":"@160","Slots":{"item":{"type":"List","ColSpan":"@4","Data":"stat.Data.ChangeArray","Slots":{"item":{"PaddingTop":"@1","children":[{"Text":"data.lname","Font":"@Bold 15px 微软雅黑","PaddingTop":"@7","Left":"@30","type":"Text"},{"Background":"@#fff","Text":"@修改","type":"Button","Right":"@10","Top":"@5","Radius":"@5","@Click":"stat.Call($changeClick$,data.self,index)","StrokeStyle":"@#9AC7E9","Bottom":"@5","Classes":"@BorderRound","FillStyle":"@#9AC7E9","PaddingTop":"@3","PaddingLeft":"@8"},{"Text":"@删除","Background":"@#fff","Top":"@5","StrokeStyle":"@#9AC7E9","Bottom":"@5","PaddingTop":"@3","type":"Button","Right":"@30","@Click":"stat.Call($delItem$,index)","PaddingLeft":"@9","Radius":"@5","FillStyle":"@#9AC7E9","Classes":"@BorderRound"}],"Column":"@1*,55,75","Bottom":"@1","Left":"@5","Row":"@30","type":"Grid","Background":"@#DFEDFB","Classes":"@BorderRound","Radius":"@5","Right":"@5","Height":"@30"}}}},"type":"Scroll","Name":"@滚动2","ColSpan":"@4"}],"type":"Grid","Bottom":"@1"}},"type":"List"}}}]}],"type":"Grid","Column":"@1*","Background":"@#fff","PaddingBottom":"@10","Radius":"@10"},{"Row":"@1*","PaddingTop":"@10","PaddingRight":"@8","children":[{"Data":"stat.Data","if":"detail_page","type":"Component","TemplateName":"stat.Data.selected"}],"Column":"@1*","Background":"@#fff","PaddingLeft":"@8","type":"Grid","PaddingBottom":"@10","Name":"@详细信息","Radius":"@10","Classes":"@BorderRound","StrokeStyle":"@#EEE","if":"stat.Data.detail_page"}],"type":"Grid","Column":"@1*,320","PaddingLeft":"@10","Row":"@1*","Background":"@#ECF6FF","PaddingBottom":"@10"},"Drag":{}}
        ,
        bDetail:{"Drag":{},"template":{"type":"Grid","Row":"@30,80,40","Column":"@1*","children":[{"Classes":"@BorderRound","Radius":"@5","Name":"@top","children":[{"FillStyle":"@#385474","type":"Text","Classes":"@BorderRound","Font":"@Bold 20px 微软雅黑","Background":"@#F2F6FA","HAlign":"@Center","Radius":"@5","VAlign":"@Center","Text":"@修改项目"},{"type":"Stack","Left":"@5","Right":"@5","Classes":"@BorderRect","StrokeStyle":"@#dfe4e7"}],"type":"Grid","Row":"@1*,0","Column":"@1*","StrokeStyle":"@#DFEDFB"},{"Row":"@*,*,*","Top":"@8","Name":"@con","children":[{"type":"Text","Text":"@名       字","VAlign":"@Center","FillStyle":"@#666"},{"type":"Input","Classes":"@SelectWhite BorderRound","Value":"stat.Data.b_Area.checkname","Height":"@28","@Change":"stat.Call($addb_name$,e.Value)"},{"Text":"@是否必选","FillStyle":"@#666","VAlign":"@Center","Top":"@10","type":"Text"},{"Selected":"stat.Data.b_Area.checkmust","@Change":"stat.Call($addb_isMust$,e.Value)","type":"Select","Top":"@10","Classes":"@SelectWhite BorderRound","Radius":"@2","Data":"stat.Data.isCheckMust"}],"type":"Grid","Column":"@66,1*"},{"type":"Stack","Top":"@10","Original":"@H","HAlign":"@Center","children":[{"Width":"@70","Right":"@20","Radius":"@5","FillStyle":"@#fff","Classes":"@BorderRound","Text":"@取消","type":"Button","PaddingLeft":"@20","PaddingTop":"@8","Height":"@30","Background":"@#5AC0D9","@Click":"stat.Call($b_off$)"},{"Text":"@确认修改","Radius":"@5","Classes":"@BorderRound","Height":"@30","PaddingTop":"@7","PaddingLeft":"@7","@Click":"stat.Call($b_true$)","type":"Button","Width":"@70","Background":"@#5AC0D9","FillStyle":"@#fff"}]}]}}
        ,
        addb:{"template":{"Row":"@30,80,40","children":[{"Row":"@1*,0","Column":"@1*","StrokeStyle":"@#DFEDFB","Classes":"@BorderRound","children":[{"type":"Text","VAlign":"@Center","Classes":"@BorderRound","Text":"@添加项目","FillStyle":"@#385474","Font":"@Bold 20px 微软雅黑","Radius":"@5","Background":"@#F2F6FA","HAlign":"@Center"},{"type":"Stack","Left":"@5","Right":"@5","Classes":"@BorderRect","StrokeStyle":"@#dfe4e7"}],"type":"Grid","Radius":"@5","Name":"@top"},{"Top":"@8","Name":"@con","Column":"@66,1*","children":[{"type":"Text","FillStyle":"@#666","Text":"@名       字","VAlign":"@Center"},{"Classes":"@SelectWhite BorderRound","Value":"stat.Data.b_Area.checkname","@Change":"stat.Call($addb_name$,e.Value)","type":"Input","Height":"@28","PlaceHolder":"@请输入新项目名称"},{"Text":"@是否必选","FillStyle":"@#666","VAlign":"@Center","type":"Text","Top":"@10"},{"@Change":"stat.Call($addb_isMust$,e.Value)","type":"Select","Data":"stat.Data.isCheckMust","Selected":"stat.Data.b_Area.checkmust","Top":"@10","Classes":"@SelectWhite BorderRound","Radius":"@2"}],"type":"Grid","Row":"@*,*,*"},{"type":"Stack","Original":"@H","HAlign":"@Center","Top":"@10","children":[{"Classes":"@BorderRound","Right":"@20","type":"Button","Text":"@取消","Radius":"@5","Width":"@70","Height":"@30","FillStyle":"@#fff","Background":"@#5AC0D9","PaddingTop":"@8","PaddingLeft":"@20","@Click":"stat.Call($addb_off$)"},{"@Click":"stat.Call($addb_true$)","type":"Button","Classes":"@BorderRound","PaddingLeft":"@7","Radius":"@5","FillStyle":"@#fff","Background":"@#5AC0D9","Height":"@30","Text":"@确认添加","PaddingTop":"@7","Width":"@70"}]}],"type":"Grid","Column":"@1*"},"Drag":{}}
        ,
        addDetail:{"template":{"Column":"@1*","children":[{"children":[{"VAlign":"@Center","Classes":"@BorderRound","Font":"@Bold 20px 微软雅黑","HAlign":"@Center","type":"Text","FillStyle":"@#385474","Text":"@添加内容","Radius":"@5","Background":"@#F2F6FA"},{"Left":"@5","Right":"@5","type":"Stack","Classes":"@BorderRect","StrokeStyle":"@#dfe4e7"}],"type":"Grid","Column":"@1*","StrokeStyle":"@#DFEDFB","Classes":"@BorderRound","Radius":"@5","Row":"@1*,0"},{"type":"Grid","Column":"@66,1*","Row":"@*,*","Name":"@top","Top":"@8","children":[{"type":"Text","PaddingRight":"@-4","Text":"@名字：","VAlign":"@Center","HAlign":"@Right"},{"type":"Input","Value":"stat.Data.ChangeArea.lname","Right":"@2","Height":"@28","Classes":"@SelectWhite BorderRound","@Change":"stat.Call($modal_input$,e.Value)"},{"VAlign":"@Center","Top":"@10","HAlign":"@Right","type":"Text","Text":"@选择属性："},{"Radius":"@2","@Change":"stat.Call($modal_type$,e.Value)","type":"Select","Data":"stat.Data.itemType","Selected":"stat.Data.ChangeArea.type","Top":"@5","Right":"@2","Classes":"@SelectWhite BorderRound"}]},{"type":"Grid","Row":"@35,30,*,*,*,0","Column":"@66,1*","if":"stat.Data.data_bool","children":[{"VAlign":"@Center","Top":"@10","type":"Text","Text":"@是否多选：","HAlign":"@Center"},{"Selected":"stat.Data.ChangeArea.multiple","Data":"stat.Data.RadioButton","Right":"@2","Top":"@5","Classes":"@SelectWhite BorderRound","Radius":"@2","@Change":"stat.Call($RadioCli$,e.Value)","type":"Select"},{"type":"Text","ColSpan":"@2","VAlign":"@Center","Text":"@数据"},{"type":"Scroll","Height":"@150","ColSpan":"@2","Slots":{"item":{"type":"List","Data":"stat.Data.ChangeArea.options","Slots":{"item":{"PaddingBottom":"@3","Height":"@28","Row":"@1*","PaddingRight":"@5","VAlign":"@Center","type":"Grid","PaddingLeft":"@5","Column":"@100,80,80,27","children":[{"Height":"@25","Right":"@2","@Change":"stat.Call($modal_list$,e.Value,index,1)","type":"Input","Value":"data.data","Width":"@97"},{"Data":"stat.Data.isDefect","Right":"@2","Classes":"@SelectWhite BorderRound","Radius":"@2","@Change":"stat.Call($modal_list$,e.Value,index,2)","type":"Select","Selected":"data.isdefect"},{"Right":"@2","Classes":"@SelectWhite BorderRound","Radius":"@2","Data":"stat.Data.isDefault","@Change":"stat.Call($modal_list$,e.Value,index,3)","type":"Select","Selected":"data.isdefault"},{"Classes":"@BorderRect BorderRound","PaddingTop":"@7","Background":"@#f38181","PaddingLeft":"@7","Left":"@2","@Click":"stat.Call($modal_list_del$,index)","@DragStart":" ","StrokeStyle":"@#EF7B7D","Slots":{"item":{"Path":"@close","type":"Image","Name":"Button_Image"}},"type":"Button","Radius":"@2"}]}}}}},{"Row":"@1*,0,35,35,*,45,45","PaddingTop":"@2","children":[{"FillStyle":"@#385474","Font":"@Bold 17px 微软雅黑","Height":"@23","Left":"@5","ColSpan":"@2","Text":"@添加数据","type":"Text"},{"Right":"@5","Left":"@5","type":"Stack","ColSpan":"@2","StrokeStyle":"@#dfe4e7","Classes":"@BorderRect"},{"type":"Text","Top":"@10","Text":"@名字：","HAlign":"@Right","VAlign":"@Center"},{"Classes":"@BorderRect","@Change":"stat.Call($modal_optionsChange$,e.Value,1)","type":"Input","Top":"@7","Right":"@2"},{"Top":"@5","Row":"@1*","children":[{"type":"Text","HAlign":"@Right","VAlign":"@Center","Text":"@是否隐患："},{"Selected":"stat.Data.keep_options.isdefect","@Change":"stat.Call($modal_optionsChange$,e.Value,2)","type":"Select","Classes":"@SelectWhite BorderRound","Radius":"@2","Right":"@2","Data":"stat.Data.isDefect"}],"type":"Grid","Column":"@100,1*","VAlign":"@Center","ColSpan":"@2"},{"type":"Grid","Top":"@5","Row":"@1*","children":[{"type":"Text","HAlign":"@Right","VAlign":"@Center","Text":"@隐患等级："},{"type":"Input","Height":"@30","Right":"@2","PlaceHolder":"@当前：不添加此项","@Change":"stat.Call($level$,e.Value)"}],"ColSpan":"@2","if":"stat.Data.defect_bool","Height":"@35","Column":"@100,1*","VAlign":"@Center"},{"type":"Stack","if":"stat.Data.isdefect_bool","ColSpan":"@2","Height":"@0"},{"Top":"@3","PaddingBottom":"@7","Row":"@1*","Column":"@100,1*","ColSpan":"@2","Height":"@40","children":[{"HAlign":"@Right","VAlign":"@Center","type":"Text","Text":"@是否默认："},{"VAlign":"@Center","Height":"@32","Radius":"@2","Right":"@2","type":"Select","Data":"stat.Data.isDefault","Selected":"stat.Data.keep_options.isdefault","Classes":"@SelectWhite BorderRound","@Change":"stat.Call($modal_optionsChange$,e.Value,3)"}],"type":"Grid"},{"HAlign":"@Center","Top":"@12","Row":"@1*","Column":"@75","ColSpan":"@2","children":[{"PaddingTop":"@10","Radius":"@2","FillStyle":"@#fff","Background":"@#5AC0D9","type":"Button","PaddingLeft":"@24","Text":"@添加","Classes":"@BorderRound","@Click":"stat.Call($modal_add$)"}],"type":"Grid"}],"type":"Grid","Column":"@100,1*","PaddingBottom":"@3","ColSpan":"@2"},{"Top":"@5","type":"Stack","Bottom":"@5","Classes":"@BorderRect","ColSpan":"@2","StrokeStyle":"@#dfe4e7","Left":"@5","Right":"@5"}]},{"type":"Stack","if":"stat.Data.isdata_bool"},{"HAlign":"@Center","Top":"@10","children":[{"Classes":"@BorderRound","PaddingLeft":"@10","Background":"@#5AC0D9","FillStyle":"@#fff","Radius":"@3","@Click":"stat.Call($add_off$)","type":"Button","Text":"@清空内容","Right":"@30","PaddingTop":"@8"},{"Text":"@确认添加","PaddingTop":"@8","FillStyle":"@#fff","Radius":"@3","type":"Button","Background":"@#5AC0D9","PaddingLeft":"@10","@Click":"stat.Call($add_true$)","Classes":"@BorderRound"}],"type":"Grid","Row":"@1*","Height":"@30","Column":"@105,75"}],"type":"Grid","Row":"@30,*,*,40"},"Drag":{}}
        ,
        addSuccess:{"template":{"type":"Grid","Row":"@30,0,30","Column":"@1*","children":[{"StrokeStyle":"@#DFEDFB","Classes":"@BorderRound","Radius":"@5","Row":"@1*,0","children":[{"type":"Text","VAlign":"@Center","HAlign":"@Center","Background":"@#F2F6FA","Font":"@Bold 20px 微软雅黑","Classes":"@BorderRound","FillStyle":"@#385474","Radius":"@5","Text":"@添加成功"},{"type":"Text","Text":"@文本"}],"type":"Grid","Column":"@1*"},{"type":"Stack","StrokeStyle":"@#dfe4e7","Left":"@5","Right":"@5","Classes":"@BorderRect"}]},"Drag":{}}
        ,
        alterSuccess:{"template":{"type":"Grid","Row":"@30,0,30","Column":"@1*","children":[{"StrokeStyle":"@#DFEDFB","Classes":"@BorderRound","Radius":"@5","Row":"@1*,0","children":[{"type":"Text","VAlign":"@Center","HAlign":"@Center","Background":"@#F2F6FA","Font":"@Bold 20px 微软雅黑","Classes":"@BorderRound","FillStyle":"@#385474","Radius":"@5","Text":"@修改成功"},{"type":"Text","Text":"@文本"}],"type":"Grid","Column":"@1*"},{"type":"Stack","StrokeStyle":"@#dfe4e7","Left":"@5","Right":"@5","Classes":"@BorderRect"}]},"Drag":{}}
        ,
        alterDetail:{"template":{"Column":"@1*","Row":"@30,*,*,40","if":"stat.data.detail_page","children":[{"type":"Grid","StrokeStyle":"@#DFEDFB","Classes":"@BorderRound","Radius":"@5","Row":"@1*,0","Column":"@1*","children":[{"FillStyle":"@#385474","Classes":"@BorderRound","Font":"@Bold 20px 微软雅黑","HAlign":"@Center","Text":"@修改内容","Background":"@#F2F6FA","VAlign":"@Center","Radius":"@5","type":"Text"},{"type":"Stack","StrokeStyle":"@#dfe4e7","Left":"@5","Right":"@5","Classes":"@BorderRect"}]},{"Top":"@8","Column":"@66,1*","Row":"@*,*","children":[{"type":"Text","Text":"@名字：","VAlign":"@Center","HAlign":"@Right","PaddingRight":"@-4"},{"Right":"@2","Height":"@28","@Change":"stat.Call($modal_input$,e.Value)","type":"Input","Classes":"@SelectWhite BorderRound","Value":"stat.Data.ChangeArea.lname"},{"type":"Text","VAlign":"@Center","Top":"@10","HAlign":"@Right","Text":"@选择属性："},{"Classes":"@SelectWhite BorderRound","@Change":"stat.Call($modal_type$,e.Value)","type":"Select","Radius":"@2","Data":"stat.Data.itemType","Selected":"stat.Data.ChangeArea.type","Top":"@5","Right":"@2"}],"type":"Grid","Name":"@top"},{"Row":"@35,30,*,*,*,0","if":"stat.Data.data_bool","children":[{"Text":"@是否多选：","HAlign":"@Center","VAlign":"@Center","type":"Text","Top":"@10"},{"Top":"@5","Classes":"@SelectWhite BorderRound","Radius":"@2","@Change":"stat.Call($RadioCli$,e.Value)","type":"Select","Selected":"stat.Data.ChangeArea.multiple","Data":"stat.Data.RadioButton","Right":"@2"},{"VAlign":"@Center","Text":"@数据","ColSpan":"@2","type":"Text"},{"type":"Scroll","Height":"@150","ColSpan":"@2","Slots":{"item":{"Slots":{"item":{"PaddingRight":"@5","VAlign":"@Center","Row":"@1*","children":[{"type":"Input","Right":"@2","Value":"data.data","@Change":"stat.Call($modal_list$,e.Value,index,1)"},{"Data":"stat.Data.isDefect","Right":"@2","Classes":"@SelectWhite BorderRound","Radius":"@2","@Change":"stat.Call($modal_list$,e.Value,index,2)","type":"Select","Selected":"data.isdefect"},{"Selected":"data.isdefault","Right":"@2","Classes":"@SelectWhite BorderRound","Radius":"@2","@Change":"stat.Call($modal_list$,e.Value,index,3)","type":"Select","Data":"stat.Data.isDefault"},{"Classes":"@BorderRect BorderRound","PaddingLeft":"@7","@DragStart":" ","Left":"@2","Background":"@#f38181","Radius":"@2","PaddingTop":"@7","StrokeStyle":"@#EF7B7D","@Click":"stat.Call($modal_list_del$,index)","Slots":{"item":{"Path":"@close","type":"Image","Name":"Button_Image"}},"type":"Button"}],"type":"Grid","Column":"@97,80,80,27","PaddingBottom":"@3","PaddingLeft":"@5","Height":"@28"}},"type":"List","Data":"stat.Data.ChangeArea.options"}}},{"PaddingTop":"@2","Column":"@100,1*","PaddingBottom":"@3","children":[{"ColSpan":"@2","Text":"@添加数据","FillStyle":"@#385474","Font":"@Bold 17px 微软雅黑","Height":"@23","Left":"@5","type":"Text"},{"type":"Stack","Right":"@5","Left":"@5","ColSpan":"@2","StrokeStyle":"@#dfe4e7","Classes":"@BorderRect"},{"HAlign":"@Right","type":"Text","VAlign":"@Center","Top":"@10","Text":"@名字："},{"Top":"@7","Value":"stat.Data.keep_options.data","@Change":"stat.Call($modal_optionsChange$,e.Value,1)","type":"Input","Right":"@2","Classes":"@BorderRect"},{"type":"Grid","ColSpan":"@2","Top":"@5","Row":"@1*","Column":"@100,1*","VAlign":"@Center","children":[{"type":"Text","VAlign":"@Center","Text":"@是否隐患：","HAlign":"@Right"},{"type":"Select","Radius":"@2","Right":"@2","Data":"stat.Data.isDefect","Selected":"stat.Data.keep_options.isdefect","Classes":"@SelectWhite BorderRound","@Change":"stat.Call($modal_optionsChange$,e.Value,2)"}]},{"Row":"@1*","Column":"@100,1*","if":"stat.Data.defect_bool","type":"Grid","Top":"@5","ColSpan":"@2","VAlign":"@Center","Height":"@35","children":[{"HAlign":"@Right","type":"Text","VAlign":"@Center","Text":"@隐患等级："},{"@Change":"stat.Call($level$,e.Value)","type":"Input","Height":"@30","PlaceHolder":"@当前：不添加此项","Right":"@2"}]},{"type":"Stack","ColSpan":"@2","if":"stat.Data.isdefect_bool","Height":"@0"},{"children":[{"HAlign":"@Right","VAlign":"@Center","type":"Text","Text":"@是否默认："},{"type":"Select","Radius":"@2","Classes":"@SelectWhite BorderRound","Right":"@2","VAlign":"@Center","Selected":"stat.Data.keep_options.isdefault","Data":"stat.Data.isDefault","Height":"@32","@Change":"stat.Call($modal_optionsChange$,e.Value,3)"}],"type":"Grid","Top":"@3","PaddingBottom":"@7","Row":"@1*","Column":"@100,1*","ColSpan":"@2","Height":"@40"},{"type":"Grid","HAlign":"@Center","Top":"@12","Row":"@1*","Column":"@75","ColSpan":"@2","children":[{"PaddingTop":"@10","Text":"@添加","FillStyle":"@#fff","Background":"@#5AC0D9","@Click":"stat.Call($modal_add$)","type":"Button","Classes":"@BorderRound","PaddingLeft":"@24","Radius":"@2"}]}],"type":"Grid","ColSpan":"@2","Row":"@1*,0,35,35,*,45,45"},{"type":"Stack","Classes":"@BorderRect","ColSpan":"@2","StrokeStyle":"@#dfe4e7","Left":"@5","Right":"@5","Top":"@5","Bottom":"@5"}],"type":"Grid","Column":"@66,1*"},{"type":"Stack","if":"stat.Data.isdata_bool"},{"Row":"@1*","Height":"@30","children":[{"Classes":"@BorderRound","PaddingLeft":"@11","@Click":"stat.Call($pop_up_off$)","Text":"@取消修改","PaddingTop":"@8","Right":"@30","FillStyle":"@#fff","type":"Button","Background":"@#5AC0D9","Radius":"@3"},{"PaddingTop":"@8","Classes":"@BorderRound","Background":"@#5AC0D9","FillStyle":"@#fff","@Click":"stat.Call($pop_up$)","type":"Button","PaddingLeft":"@10","Radius":"@3","Text":"@确认修改"}],"type":"Grid","Column":"@105,75","HAlign":"@Center","Top":"@10"}],"type":"Grid"},"Drag":{}}
        ,
        defaultPage:{"template":{"Column":"@1*","Row":"@30,0,30","children":[{"Classes":"@BorderRound","Radius":"@5","Row":"@1*,0","children":[{"Radius":"@5","VAlign":"@Center","Text":"@No activity","Background":"@#F2F6FA","Font":"@Bold 20px 微软雅黑","type":"Text","Classes":"@BorderRound","HAlign":"@Center","FillStyle":"@#385474"},{"type":"Text","Text":"@文本"}],"type":"Grid","Column":"@1*","StrokeStyle":"@#DFEDFB"},{"type":"Stack","StrokeStyle":"@#dfe4e7","Left":"@5","Right":"@5","Classes":"@BorderRect"},{"Text":"@燃气表不可被修改","HAlign":"@Center","VAlign":"@Center","type":"Text"}],"type":"Grid"},"Drag":{}}
      });
      loadWasm().then(() => {
        global.stat = new Comp()
        global.stat.ready().then(() => {
          console.log(global.stat)
          run()
          console.log(global.stat.isSend)
        })
      })
    }
    //{"template":{"PaddingTop":"@10","children":[{"PaddingBottom":"@10","PaddingLeft":"@8","StrokeStyle":"@#EEE","Background":"@#fff","children":[{"type":"Grid","Row":"@1*","Column":"@1*,1*,70,60","Name":"@top","children":[{"type":"Select","Classes":"@SelectWhite BorderRound","Right":"@2","Data":"stat.Data.SafeCheckTypeArray","@Change":"stat.Call($query_info$,e.Value.self,1)"},{"@Change":"stat.Call($query_info$,e.Value.self,2)","type":"Select","Data":"stat.Data.ConfigChange","Classes":"@SelectWhite BorderRound","Radius":"@5","Right":"@2"},{"Classes":"@BorderRound","PaddingTop":"@8","Right":"@2","Background":"@#6AA6E2","Text":"@查询","@Click":"stat.Call($query_config$)","Radius":"@3","FillStyle":"@#fff","PaddingLeft":"@20","type":"Button"},{"type":"Button","Radius":"@3","Background":"@#6AA6E2","PaddingLeft":"@2","Text":"@保存配置","Classes":"@BorderRound","@Click":"stat.Call($save_Json$)","FillStyle":"@#fff","PaddingTop":"@8"}]},{"type":"Grid","Column":"@1*","Top":"@5","if":"stat.Data.mainbool","Row":"@30,1*","children":[{"children":[{"type":"Text","Text":"@安检项目配置","HAlign":"@Center","VAlign":"@Center","Left":"@60"},{"PaddingTop":"@8","Text":"@ 添加>>","@Click":"stat.Call($addb$)","type":"Text"}],"type":"Grid","Row":"@1*","Column":"@1*,60","Background":"@#DFEDFB","FillStyle":"@#666"},{"type":"Scroll","Slots":{"item":{"type":"List","Data":"stat.Data.DevicesSetConfigArray","Slots":{"item":{"type":"Grid","Bottom":"@1","Row":"@*,1*","Column":"@1*","Background":"@#CBEAF1","@Click":"stat.Call($bChoose$,index)","children":[{"type":"Grid","Row":"@1*","Column":"@1*,80,80,100","Height":"@50","children":[{"Font":"@Bold 18px 微软雅黑","VAlign":"@Center","Left":"@20","Text":"data.checkname","type":"Text"},{"Top":"@9","Classes":"@BorderRound","Radius":"@3","type":"Button","PaddingTop":"@9","Text":"@修改项目","Right":"@10","StrokeStyle":"@#9BC8E9","Background":"@#fff","Bottom":"@10","@Click":"stat.Call($bChange$,index)","FillStyle":"@#9BC8E9","PaddingLeft":"@8"},{"Background":"@#fff","Text":"@删除项目","type":"Button","StrokeStyle":"@#9BC8E9","Top":"@9","Radius":"@3","FillStyle":"@#9BC8E9","PaddingLeft":"@8","Classes":"@BorderRound","Right":"@10","Bottom":"@10","PaddingTop":"@9","@Click":"stat.Call($bDel$,index)"},{"type":"Button","PaddingLeft":"@8","StrokeStyle":"@#9BC8E9","FillStyle":"@#fff","PaddingTop":"@9","Background":"@#5AC0D9","Text":"@添加内容","Radius":"@3","Bottom":"@10","Classes":"@BorderRound","Right":"@30","Top":"@9","@Click":"stat.Call($bAdd$,index)"}]},{"type":"List","ColSpan":"@4","if":"data.bool","Data":"stat.Data.ChangeArray","Slots":{"item":{"Right":"@5","Row":"@30","type":"Grid","Left":"@5","Background":"@#DFEDFB","Classes":"@BorderRound","Column":"@1*,55,75","children":[{"PaddingTop":"@7","Left":"@30","Text":"data.lname","type":"Text","Font":"@Bold 15px 微软雅黑"},{"Top":"@5","PaddingTop":"@3","FillStyle":"@#9AC7E9","Right":"@10","Bottom":"@5","Radius":"@5","type":"Button","Background":"@#fff","Text":"@修改","Classes":"@BorderRound","PaddingLeft":"@8","@Click":"stat.Call($changeClick$,data.self,index)","StrokeStyle":"@#9AC7E9"},{"Radius":"@5","Text":"@删除","Classes":"@BorderRound","@Click":"stat.Call($delItem$,index)","Background":"@#fff","FillStyle":"@#9AC7E9","Bottom":"@5","PaddingLeft":"@9","PaddingTop":"@3","Top":"@5","type":"Button","StrokeStyle":"@#9AC7E9","Right":"@30"}],"PaddingTop":"@1","Radius":"@5","Height":"@30","Bottom":"@1"}}}]}}}}}]}],"type":"Grid","Radius":"@10","Row":"@30,1*","PaddingTop":"@10","Right":"@10","Column":"@1*","PaddingRight":"@8","Classes":"@BorderRound"},{"Name":"@详细信息","PaddingRight":"@8","PaddingLeft":"@8","PaddingTop":"@10","PaddingBottom":"@10","Radius":"@10","if":"stat.Data.detail_page","Classes":"@BorderRound","StrokeStyle":"@#EEE","Column":"@1*","children":[{"type":"Component","TemplateName":"stat.Data.selected","Data":"stat.Data","if":"detail_page"}],"type":"Grid","Background":"@#fff","Row":"@1*"}],"PaddingBottom":"@10","PaddingLeft":"@10","PaddingRight":"@10","Background":"@#ECF6FF","Row":"@1*","type":"Grid","Column":"@1*,300"},"Drag":{}}
    //{"template":{"type":"Grid","PaddingBottom":"@10","PaddingRight":"@10","PaddingLeft":"@10","PaddingTop":"@10","Row":"@1*","Background":"@#ECF6FF","Column":"@1*,300","children":[{"Radius":"@10","StrokeStyle":"@#EEE","PaddingTop":"@10","Right":"@10","PaddingLeft":"@8","children":[{"type":"Grid","Name":"@top","Row":"@1*","Column":"@1*,1*,70,60","children":[{"@Change":"stat.Call($query_info$,e.Value.self,1)","type":"Select","Right":"@2","Data":"stat.Data.SafeCheckTypeArray","Classes":"@SelectWhite BorderRound"},{"Right":"@2","Data":"stat.Data.ConfigChange","Classes":"@SelectWhite BorderRound","@Change":"stat.Call($query_info$,e.Value.self,2)","type":"Select","Radius":"@5"},{"Background":"@#6AA6E2","FillStyle":"@#fff","PaddingTop":"@8","Classes":"@BorderRound","type":"Button","Text":"@查询","Radius":"@3","PaddingLeft":"@20","@Click":"stat.Call($query_config$)","Right":"@2"},{"Classes":"@BorderRound","@Click":"stat.Call($save_Json$)","FillStyle":"@#fff","Text":"@保存配置","Radius":"@3","Background":"@#6AA6E2","PaddingLeft":"@2","type":"Button","PaddingTop":"@8"}]},{"Top":"@5","Row":"@30,1*","Column":"@1*","if":"stat.Data.mainbool","children":[{"type":"Grid","Row":"@1*","Column":"@1*,60","Background":"@#DFEDFB","FillStyle":"@#666","children":[{"type":"Text","Text":"@安检项目配置","HAlign":"@Center","VAlign":"@Center","Left":"@60"},{"PaddingTop":"@8","Text":"@ 添加>>","@Click":"stat.Call($addb$)","type":"Text"}]},{"type":"Scroll","Name":"@滚动1","Slots":{"item":{"Slots":{"item":{"type":"Grid","Bottom":"@1","Row":"@50,1*","Column":"@1*,80,80,100","Background":"@#CBEAF1","@Click":"stat.Call($bChoose$,index)","children":[{"type":"Text","Font":"@Bold 18px 微软雅黑","VAlign":"@Center","Left":"@20","Text":"data.checkname"},{"FillStyle":"@#9BC8E9","PaddingLeft":"@8","PaddingTop":"@9","@Click":"stat.Call($bChange$,index)","type":"Button","Bottom":"@10","Top":"@9","Right":"@10","Classes":"@BorderRound","Background":"@#fff","StrokeStyle":"@#9BC8E9","Text":"@修改项目","Radius":"@3"},{"Bottom":"@10","PaddingTop":"@9","StrokeStyle":"@#9BC8E9","Radius":"@3","Text":"@删除项目","Right":"@10","@Click":"stat.Call($bDel$,index)","type":"Button","FillStyle":"@#9BC8E9","Top":"@9","PaddingLeft":"@8","Classes":"@BorderRound","Background":"@#fff"},{"StrokeStyle":"@#9BC8E9","Top":"@9","type":"Button","Text":"@添加内容","PaddingTop":"@9","Background":"@#5AC0D9","Radius":"@3","Right":"@30","@Click":"stat.Call($bAdd$,index)","PaddingLeft":"@8","Classes":"@BorderRound","FillStyle":"@#fff","Bottom":"@10"},{"Name":"@滚动2","ColSpan":"@4","if":"data.bool","Height":"@160","Slots":{"item":{"type":"List","ColSpan":"@4","Data":"stat.Data.ChangeArray","Slots":{"item":{"Left":"@5","Row":"@30","PaddingTop":"@1","type":"Grid","children":[{"Font":"@Bold 15px 微软雅黑","PaddingTop":"@7","Left":"@30","type":"Text","Text":"data.lname"},{"StrokeStyle":"@#9AC7E9","Bottom":"@5","Background":"@#fff","Text":"@修改","Classes":"@BorderRound","type":"Button","FillStyle":"@#9AC7E9","Right":"@10","Top":"@5","PaddingTop":"@3","Radius":"@5","PaddingLeft":"@8","@Click":"stat.Call($changeClick$,data.self,index)"},{"Top":"@5","FillStyle":"@#9AC7E9","StrokeStyle":"@#9AC7E9","Bottom":"@5","PaddingTop":"@3","type":"Button","Right":"@30","Text":"@删除","Classes":"@BorderRound","Background":"@#fff","@Click":"stat.Call($delItem$,index)","PaddingLeft":"@9","Radius":"@5"}],"Background":"@#DFEDFB","Classes":"@BorderRound","Radius":"@5","Right":"@5","Column":"@1*,55,75","Bottom":"@1","Height":"@30"}}}},"type":"Scroll"}]}},"type":"List","Name":"@滚动里的列表1","Data":"stat.Data.DevicesSetConfigArray"}}}],"type":"Grid"}],"Classes":"@BorderRound","Background":"@#fff","PaddingBottom":"@10","Column":"@1*","Row":"@30,1*","type":"Grid","PaddingRight":"@8"},{"PaddingRight":"@8","Classes":"@BorderRound","type":"Grid","StrokeStyle":"@#EEE","PaddingTop":"@10","PaddingLeft":"@8","if":"stat.Data.detail_page","PaddingBottom":"@10","Name":"@详细信息","Background":"@#fff","Column":"@1*","Row":"@1*","Radius":"@10","children":[{"type":"Component","if":"detail_page","TemplateName":"stat.Data.selected","Data":"stat.Data"}]}]},"Drag":{}}
    //{"template":{"type":"Grid","PaddingLeft":"@10","PaddingRight":"@10","PaddingTop":"@10","Background":"@#ECF6FF","children":[{"type":"Grid","StrokeStyle":"@#EEE","Row":"@30,1*","Right":"@10","PaddingBottom":"@10","Column":"@1*","PaddingLeft":"@8","PaddingRight":"@8","Classes":"@BorderRound","Background":"@#fff","Radius":"@10","PaddingTop":"@10","children":[{"Row":"@1*","Column":"@1*,1*,70,60","Name":"@top","children":[{"Right":"@2","@Change":"stat.Call($query_info$,e.Value.self,1)","type":"Select","Data":"stat.Data.SafeCheckTypeArray","Classes":"@SelectWhite BorderRound"},{"type":"Select","Data":"stat.Data.ConfigChange","Classes":"@SelectWhite BorderRound","Radius":"@5","Right":"@2","@Change":"stat.Call($query_info$,e.Value.self,2)"},{"@Click":"stat.Call($query_config$)","Background":"@#6AA6E2","Radius":"@3","Text":"@查询","Classes":"@BorderRound","FillStyle":"@#fff","PaddingTop":"@8","type":"Button","Right":"@2","PaddingLeft":"@20"},{"@Click":"stat.Call($save_Json$)","FillStyle":"@#fff","PaddingTop":"@8","PaddingLeft":"@2","Classes":"@BorderRound","Text":"@保存配置","type":"Button","Radius":"@3","Background":"@#6AA6E2"}],"type":"Grid"},{"children":[{"type":"Grid","Background":"@#DFEDFB","FillStyle":"@#666","Row":"@1*","Column":"@1*,60","children":[{"Text":"@安检项目配置","HAlign":"@Center","type":"Text","VAlign":"@Center","Left":"@60"},{"PaddingTop":"@8","Text":"@ 添加>>","@Click":"stat.Call($addb$)","type":"Text"}]},{"type":"Scroll","Slots":{"item":{"Slots":{"item":{"type":"Grid","Row":"@50,1*","Column":"@1*,80,80,100","Background":"@#CBEAF1","Bottom":"@1","@Click":"stat.Call($bChoose$,index)","children":[{"Font":"@Bold 18px 微软雅黑","VAlign":"@Center","Left":"@20","Text":"data.checkname","type":"Text"},{"Background":"@#fff","Bottom":"@10","PaddingLeft":"@8","Top":"@9","type":"Button","Text":"@修改项目","StrokeStyle":"@#9BC8E9","Classes":"@BorderRound","@Click":"stat.Call($bChange$,index)","PaddingTop":"@9","Radius":"@3","Right":"@10","FillStyle":"@#9BC8E9"},{"PaddingTop":"@9","Radius":"@3","Background":"@#fff","FillStyle":"@#9BC8E9","Text":"@删除项目","Bottom":"@10","type":"Button","Top":"@9","@Click":"stat.Call($bDel$,index)","Classes":"@BorderRound","Right":"@10","StrokeStyle":"@#9BC8E9","PaddingLeft":"@8"},{"Top":"@9","Classes":"@BorderRound","Background":"@#5AC0D9","PaddingLeft":"@8","PaddingTop":"@9","Right":"@30","Text":"@添加内容","@Click":"stat.Call($bAdd$,index)","type":"Button","Radius":"@3","StrokeStyle":"@#9BC8E9","Bottom":"@10","FillStyle":"@#fff"},{"if":"data.bool","Slots":{"item":{"PaddingTop":"@1","Radius":"@5","type":"Grid","Left":"@5","Height":"@30","Background":"@#DFEDFB","Classes":"@BorderRound","Right":"@5","Bottom":"@1","Column":"@1*,55,75","Row":"@30","children":[{"PaddingTop":"@7","Left":"@30","Text":"data.lname","type":"Text","Font":"@Bold 15px 微软雅黑"},{"Background":"@#fff","Top":"@5","StrokeStyle":"@#9AC7E9","Text":"@修改","Classes":"@BorderRound","PaddingLeft":"@8","PaddingTop":"@3","FillStyle":"@#9AC7E9","Right":"@10","Bottom":"@5","Radius":"@5","type":"Button","@Click":"stat.Call($changeClick$,data.self,index)"},{"StrokeStyle":"@#9AC7E9","Bottom":"@5","PaddingLeft":"@9","Radius":"@5","Text":"@删除","Classes":"@BorderRound","@Click":"stat.Call($delItem$,index)","Right":"@30","Top":"@5","Background":"@#fff","FillStyle":"@#9AC7E9","type":"Button","PaddingTop":"@3"}]}},"type":"List","Data":"stat.Data.ChangeArray","ColSpan":"@4"}]}},"type":"List","Data":"stat.Data.DevicesSetConfigArray"}}}],"type":"Grid","if":"stat.Data.mainbool","Row":"@30,1*","Column":"@1*","Top":"@5"}]},{"PaddingLeft":"@8","Name":"@详细信息","children":[{"Data":"stat.Data","if":"detail_page","type":"Component","TemplateName":"stat.Data.selected"}],"PaddingTop":"@10","Row":"@1*","StrokeStyle":"@#EEE","type":"Grid","Classes":"@BorderRound","Radius":"@10","Column":"@1*","Background":"@#fff","PaddingRight":"@8","if":"stat.Data.detail_page","PaddingBottom":"@10"}],"Column":"@1*,300","Row":"@1*","PaddingBottom":"@10"},"Drag":{}}
    //{"template":{"Row":"@1*","PaddingRight":"@10","PaddingLeft":"@10","children":[{"Row":"@30,1*","StrokeStyle":"@#EEE","type":"Grid","Right":"@10","PaddingBottom":"@10","Radius":"@10","PaddingRight":"@8","Background":"@#fff","PaddingTop":"@10","Classes":"@BorderRound","PaddingLeft":"@8","Column":"@1*","children":[{"Column":"@1*,1*,70,60","Name":"@top","Row":"@1*","children":[{"Classes":"@SelectWhite BorderRound","type":"Select","Radius":"@5","Data":"stat.Data.SafeCheckTypeArray","Right":"@2"},{"Data":"stat.Data.ConfigChange","Classes":"@SelectWhite BorderRound","Radius":"@5","Right":"@2","type":"Select"},{"Background":"@#6AA6E2","Radius":"@3","type":"Button","FillStyle":"@#fff","VAlign":"@Center","HAlign":"@Center","Right":"@2","Classes":"@BorderRound","Text":"@查询"},{"Background":"@#6AA6E2","Classes":"@BorderRound","HAlign":"@Center","@Click":"stat.Call($save_Json$)","type":"Button","Radius":"@3","Text":"@保存配置","VAlign":"@Center","FillStyle":"@#fff"}],"type":"Grid"},{"children":[{"HAlign":"@Center","VAlign":"@Center","Text":"@安检项目配置","Background":"@#DFEDFB","Bottom":"@1","PaddingBottom":"@1","type":"Text","FillStyle":"@#666"},{"HAlign":"@Center","type":"Button","FillStyle":"@#fff","Classes":"@BorderRound","Radius":"@3","Left":"@2","VAlign":"@Center","Text":"@添加项目","Background":"@#6AA6E2","Bottom":"@2","@Click":"stat.Call($addb$)"},{"type":"Scroll","ColSpan":"@2","Slots":{"item":{"type":"List","Data":"stat.Data.DevicesSetConfigArray","Slots":{"item":{"type":"Grid","Bottom":"@1","Row":"@50,1*","Column":"@1*,80,80,50,70","Background":"@#CBEAF1","@Click":"stat.Call($bChoose$,index)","children":[{"Text":"data.checkname","Font":"@Bold 18px 微软雅黑","VAlign":"@Center","type":"Text","Left":"@20"},{"Bottom":"@10","StrokeStyle":"@#9BC8E9","Top":"@9","Text":"@修改项目","VAlign":"@Center","HAlign":"@Center","Right":"@10","type":"Button","Classes":"@BorderRound","Radius":"@3","Background":"@#fff","@Click":"stat.Call($bChange$,index)","FillStyle":"@#9BC8E9"},{"Right":"@10","Text":"@添加内容","HAlign":"@Center","Background":"@#fff","Classes":"@BorderRound","@Click":"stat.Call($bAdd$,index)","type":"Button","StrokeStyle":"@#9BC8E9","FillStyle":"@#9BC8E9","Bottom":"@10","VAlign":"@Center","Top":"@9","Radius":"@3"},{"HAlign":"@Center","VAlign":"@Center","Text":"@向上","Top":"@9","Classes":"@BorderRound","Right":"@10","Background":"@#5AC0D9","type":"Button","FillStyle":"@#fff","Radius":"@3","Bottom":"@10"},{"type":"Button","Right":"@30","Top":"@9","Bottom":"@10","VAlign":"@Center","Classes":"@BorderRound","Text":"@向下","FillStyle":"@#fff","HAlign":"@Center","Radius":"@3","Background":"@#5AC0D9"},{"type":"List","ColSpan":"@5","Data":"stat.Data.ChangeArray","if":"data.bool","Slots":{"item":{"Right":"@5","PaddingTop":"@1","Left":"@5","type":"Grid","Bottom":"@1","Radius":"@5","Column":"@1*,55,75","Classes":"@BorderRound","children":[{"Text":"data.lname","Font":"@Bold 15px 微软雅黑","VAlign":"@Center","Left":"@30","type":"Text"},{"FillStyle":"@#9AC7E9","Right":"@10","VAlign":"@Center","StrokeStyle":"@#9AC7E9","Background":"@#fff","Top":"@5","HAlign":"@Center","Radius":"@5","Bottom":"@5","Classes":"@BorderRound","type":"Button","Text":"@修改","@Click":"stat.Call($changeClick$,data.self,index)"},{"Text":"@删除","VAlign":"@Center","Radius":"@5","@Click":"stat.Call($delItem$,index)","FillStyle":"@#9AC7E9","Top":"@5","StrokeStyle":"@#9AC7E9","Bottom":"@5","type":"Button","HAlign":"@Center","Background":"@#fff","Right":"@30","Classes":"@BorderRound"}],"Background":"@#DFEDFB","Row":"@30"}}}]}}}}}],"type":"Grid","Row":"@30,1*","Column":"@1*,62","Top":"@5"}]},{"PaddingLeft":"@8","Background":"@#fff","Radius":"@10","Classes":"@BorderRound","PaddingRight":"@8","Name":"@详细信息","type":"Grid","StrokeStyle":"@#EEE","Row":"@1*","PaddingBottom":"@10","if":"stat.Data.detail_page","Column":"@1*","PaddingTop":"@10","children":[{"type":"Component","TemplateName":"stat.Data.selected","Data":"stat.Data","if":"detail_page"}]}],"type":"Grid","Column":"@1*,300","Background":"@#ECF6FF","PaddingBottom":"@10","PaddingTop":"@10"},"Drag":{}}
    //{"template":{"PaddingRight":"@10","PaddingTop":"@10","PaddingBottom":"@10","Column":"@1*","Row":"@1*","Background":"@#ECF6FF","children":[{"type":"Grid","ShadowBlur":"@1","PaddingTop":"@10","Column":"@1*","Radius":"@10","Background":"@#fff","ShadowColor":"@#323232","PaddingRight":"@8","Row":"@30,1*","Classes":"@BorderRound","PaddingLeft":"@8","PaddingBottom":"@10","children":[{"type":"Grid","Name":"@top","Row":"@1*","Column":"@1*,1*,70,60","children":[{"Right":"@2","Classes":"@SelectWhite BorderRound","type":"Select","Radius":"@5","Data":"stat.Data.SafeCheckTypeArray"},{"Classes":"@SelectWhite BorderRound","Radius":"@5","type":"Select","Right":"@2","Data":"stat.Data.ConfigChange"},{"Background":"@#6AA6E2","FillStyle":"@#fff","type":"Button","HAlign":"@Center","Classes":"@BorderRound","Radius":"@5","Text":"@查询","VAlign":"@Center","Right":"@2"},{"HAlign":"@Center","Background":"@#6AA6E2","FillStyle":"@#fff","Radius":"@5","VAlign":"@Center","@Click":"stat.Call($save_Json$)","type":"Button","Text":"@保存配置","Classes":"@BorderRound"}]},{"Column":"@1*","Top":"@5","Row":"@30,1*","children":[{"HAlign":"@Center","VAlign":"@Center","Text":"@安检项目配置","Background":"@#DFEDFB","type":"Text","Bottom":"@1","PaddingBottom":"@1","FillStyle":"@#666"},{"type":"List","Data":"stat.Data.DevicesSetConfigArray","Slots":{"item":{"Row":"@50,1*","Column":"@1*,80,80,50,70","Bottom":"@1","Background":"@#CBEAF1","@Click":"stat.Call($bChoose$,index)","children":[{"Font":"@Bold 18px 微软雅黑","VAlign":"@Center","Text":"data.checkname","type":"Text","Left":"@20"},{"Right":"@10","type":"Button","Radius":"@3","Classes":"@BorderRound","Background":"@#fff","Top":"@10","FillStyle":"@#9BC8E9","Bottom":"@10","VAlign":"@Center","Text":"@修改项目","StrokeStyle":"@#9BC8E9","HAlign":"@Center"},{"Text":"@添加内容","type":"Button","FillStyle":"@#9BC8E9","Radius":"@3","Background":"@#fff","HAlign":"@Center","Bottom":"@10","Top":"@10","Classes":"@BorderRound","Right":"@10","StrokeStyle":"@#9BC8E9","VAlign":"@Center"},{"Bottom":"@10","StrokeStyle":"@#9BC8E9","Text":"@向上","Classes":"@BorderRound","HAlign":"@Center","type":"Button","Top":"@10","VAlign":"@Center","Radius":"@3","FillStyle":"@#fff","Background":"@#5AC0D9","Right":"@10"},{"Right":"@30","HAlign":"@Center","FillStyle":"@#fff","type":"Button","StrokeStyle":"@#9BC8E9","VAlign":"@Center","Radius":"@3","Top":"@10","Classes":"@BorderRound","Text":"@向下","Background":"@#5AC0D9","Bottom":"@10"},{"Slots":{"item":{"PaddingTop":"@1","children":[{"VAlign":"@Center","Left":"@30","Text":"data.lname","type":"Text","Font":"@Bold 15px 微软雅黑"},{"type":"Button","Background":"@#fff","Right":"@10","Radius":"@5","Classes":"@BorderRound","FillStyle":"@#9AC7E9","Text":"@修改","HAlign":"@Center","StrokeStyle":"@#9AC7E9","VAlign":"@Center","@Click":"stat.Call($changeClick$,data.self,index),stat.ShowModal($CAndA$,$修改业务$,$pop_up$,$pop_up_off$)"},{"type":"Button","Right":"@20","Radius":"@5","VAlign":"@Center","StrokeStyle":"@#9AC7E9","Classes":"@BorderRound","FillStyle":"@#9AC7E9","HAlign":"@Center","Text":"@删除","Background":"@#fff","@Click":"stat.Call($delItem$,index)"}],"type":"Grid","Bottom":"@1","Column":"@1*,55,65","Height":"@27","Row":"@1*","Background":"@#DFEDFB"}},"type":"List","ColSpan":"@5","Data":"stat.Data.ChangeArray","if":"data.bool"}],"type":"Grid"}}}],"type":"Grid"}]}],"type":"Grid","PaddingLeft":"@10"},"Drag":{}}
    //{"Drag":{"Add":{"Width":"@288","children":[{"Column":"@66,1*","Row":"@*,*","Name":"@top","children":[{"Text":"@名       字","VAlign":"@Center","type":"Text"},{"Value":"stat.Data.keep.lname","@Change":"stat.Call($add_name$,e.Value)","type":"Input","Height":"@28","Classes":"@SelectWhite BorderRound"},{"type":"Text","Text":"@选择属性","VAlign":"@Center","Top":"@2"},{"@Change":"stat.Call($add_type$,e.Value)","type":"Select","Top":"@2","Classes":"@SelectWhite BorderRound","Radius":"@2","Data":"stat.Data.itemType","Text":"stat.Data.keep.type"}],"type":"Grid"},{"type":"Grid","Row":"@30,*,80,*","Column":"@1*,1*","if":"stat.Data.data_bool","children":[{"Text":"@数据","ColSpan":"@2","VAlign":"@Center","type":"Text"},{"ColSpan":"@2","Height":"@150","Slots":{"item":{"Data":"stat.Data.keep.options","Slots":{"item":{"Row":"@1*","Height":"@25","Column":"@60,80,103,25","PaddingRight":"@5","VAlign":"@Center","children":[{"@Change":"stat.Call($add_list$,e.Value,index,1)","type":"Input","Right":"@2","Value":"data.data"},{"Right":"@2","Classes":"@SelectWhite BorderRound","Radius":"@2","Text":"data.isdefect","Data":"stat.Data.isDefect","@Change":"stat.Call($add_list$,e.Value,index,2)","type":"Select"},{"Data":"stat.Data.isDefault","Text":"data.isdefault","Right":"@2","Classes":"@SelectWhite BorderRound","Radius":"@2","@Change":"stat.Call($add_list$,e.Value,index,3)","type":"Select"},{"VAlign":"@Center","PaddingLeft":"@2","Classes":"@BorderRect BorderRound","Slots":{"item":{"Name":"Button_Image","Path":"@close","type":"Image"}},"Radius":"@2","type":"Button","@Click":"stat.Call($add_list_del$,index)","HAlign":"@Center","Background":"@#ED2C21","PaddingTop":"@2"}],"type":"Grid","PaddingLeft":"@5"}},"type":"List"}},"type":"Scroll"},{"PaddingRight":"@4","children":[{"type":"Text","Text":"@添加数据","ColSpan":"@3","HAlign":"@Center","VAlign":"@Center"},{"Classes":"@SelectWhite BorderRound","Right":"@2","@Change":"stat.Call($add_optionsChange$,e.Value,1)","type":"Input","Top":"@2"},{"Data":"stat.Data.isDefect","Text":"stat.Data.keep_options.isdefect","Classes":"@SelectWhite BorderRound","@Change":"stat.Call($add_optionsChange$,e.Value,2)","type":"Select","Right":"@2","Radius":"@2","Top":"@2"},{"Top":"@2","Text":"stat.Data.keep_options.isdefault","Data":"stat.Data.isDefault","Classes":"@SelectWhite BorderRound","Radius":"@2","@Change":"stat.Call($add_optionsChange$,e.Value,3)","type":"Select"},{"VAlign":"@Center","type":"Text","Top":"@5","@Click":"stat.Call($add_option$)","HAlign":"@Center","Bottom":"@5","Right":"@66","Left":"@66","FillStyle":"@#fff","ColSpan":"@3","Text":"@              添加                ","Classes":"@SearchButton BorderRound"}],"Row":"@*,1*,1*","PaddingBottom":"@3","type":"Grid","PaddingLeft":"@4","ColSpan":"@2","PaddingTop":"@2","Column":"@66,1*,1*"},{"Top":"@5","Text":"@是否可多选","type":"Text","VAlign":"@Center","Height":"@20","HAlign":"@Center"},{"Radius":"@2","Text":"stat.Data.keep.multiple","Data":"stat.Data.RadioButton","@Change":"stat.Call($add_multiple$,e.Value)","type":"Select","Classes":"@SelectWhite BorderRound"}]}],"PaddingRight":"@2","Row":"@*,1*","Column":"@1*","Height":"@360","PaddingLeft":"@5","PaddingTop":"@3","type":"Grid"},"CAndA":{"PaddingRight":"@2","PaddingTop":"@3","type":"Grid","PaddingLeft":"@5","Column":"@1*","Row":"@*,1*","children":[{"Row":"@*,*","Name":"@top","Column":"@66,1*","children":[{"type":"Text","Text":"@名       字","VAlign":"@Center"},{"Value":"stat.Data.ChangeArea.lname","Height":"@28","@Change":"stat.Call($modal_input$,e.Value)","type":"Input","Classes":"@SelectWhite BorderRound"},{"VAlign":"@Center","Top":"@2","type":"Text","Text":"@选择属性"},{"type":"Select","Text":"stat.Data.ChangeArea.type","Top":"@2","Classes":"@SelectWhite BorderRound","Radius":"@2","Data":"stat.Data.itemType","@Change":"stat.Call($modal_type$,e.Value)"}],"type":"Grid"},{"Column":"@1*,1*","if":"stat.Data.data_bool","children":[{"VAlign":"@Center","Text":"@数据","type":"Text","ColSpan":"@2"},{"type":"Scroll","ColSpan":"@2","Height":"@150","Slots":{"item":{"type":"List","Data":"stat.Data.ChangeArea.options","Slots":{"item":{"PaddingLeft":"@5","Row":"@1*","Height":"@25","children":[{"Right":"@2","Value":"data.data","@Change":"stat.Call($modal_list$,e.Value,index,1)","type":"Input"},{"Text":"data.isdefect","Data":"stat.Data.isDefect","@Change":"stat.Call($modal_list$,e.Value,index,2)","type":"Select","Right":"@2","Classes":"@SelectWhite BorderRound","Radius":"@2"},{"@Change":"stat.Call($modal_list$,e.Value,index,3)","type":"Select","Right":"@2","Classes":"@SelectWhite BorderRound","Radius":"@2","Data":"stat.Data.isDefault","Text":"data.isdefault"},{"HAlign":"@Center","Classes":"@BorderRect BorderRound","@Click":"stat.Call($modal_list_del$,index)","Slots":{"item":{"Name":"Button_Image","Path":"@close","type":"Image"}},"Radius":"@2","Background":"@#ED2C21","PaddingTop":"@2","type":"Button","VAlign":"@Center","PaddingLeft":"@2"}],"type":"Grid","Column":"@60,80,103,25","PaddingRight":"@5","VAlign":"@Center"}}}}},{"PaddingBottom":"@3","PaddingLeft":"@4","PaddingTop":"@2","Column":"@66,1*,1*","children":[{"Text":"@添加数据","ColSpan":"@3","HAlign":"@Center","VAlign":"@Center","type":"Text"},{"Right":"@2","Top":"@2","Classes":"@SelectWhite BorderRound","@Change":"stat.Call($modal_optionsChange$,e.Value,1)","type":"Input"},{"@Change":"stat.Call($modal_optionsChange$,e.Value,2)","type":"Select","Data":"stat.Data.isDefect","Text":"stat.Data.keep_options.isdefect","Classes":"@SelectWhite BorderRound","Right":"@2","Radius":"@2","Top":"@2"},{"Classes":"@SelectWhite BorderRound","Radius":"@2","Top":"@2","Text":"stat.Data.keep_options.isdefault","Data":"stat.Data.isDefault","@Change":"stat.Call($modal_optionsChange$,e.Value,3)","type":"Select"},{"Top":"@5","VAlign":"@Center","ColSpan":"@3","Classes":"@SearchButton BorderRound","FillStyle":"@#fff","Right":"@66","Text":"@              添加                ","@Click":"stat.Call($modal_add$)","Bottom":"@5","Left":"@66","HAlign":"@Center","type":"Text"}],"Row":"@*,1*,1*","PaddingRight":"@4","type":"Grid","ColSpan":"@2"},{"VAlign":"@Center","Height":"@20","HAlign":"@Center","type":"Text","Top":"@5","Text":"@是否可多选"},{"Text":"stat.Data.ChangeArea.multiple","Classes":"@SelectWhite BorderRound","Radius":"@2","@Change":"stat.Call($RadioCli$,e.Value)","type":"Select","Data":"stat.Data.RadioButton"}],"type":"Grid","Row":"@30,*,80,*"}],"Height":"@360","Width":"@288"},"RootAppend":{"Row":"@*,1*","Height":"@78","PaddingLeft":"@5","children":[{"type":"Grid","Name":"@top","Column":"@66,1*","Row":"@*,*","Top":"@8","children":[{"type":"Text","Text":"@名       字","VAlign":"@Center"},{"@Change":"stat.Call($RootAppend_name$,e.Value)","type":"Input","Value":"stat.Data.ChangeArea.lname","Height":"@28","Classes":"@SelectWhite BorderRound"},{"type":"Text","VAlign":"@Center","Top":"@2","Text":"@是否必选"},{"@Change":"stat.Call($RootAppend_isMust$,e.Value)","type":"Select","Data":"stat.Data.isCheckMust","Text":"stat.Data.ChangeArea.type","Top":"@2","Classes":"@SelectWhite BorderRound","Radius":"@2"}]}],"Column":"@1*","type":"Grid","Width":"@288","PaddingTop":"@3","PaddingRight":"@2"}},"template":{"type":"Grid","Column":"@1*","Row":"@30,1*","Background":"@#fff","children":[{"children":[{"type":"Select","Background":"@#fff","Text":"this.Selected.name","Classes":"@SelectWhite BorderRound","Radius":"@10","Right":"@2","Data":"stat.Data.SafeCheckTypeArray","Slots":{"item":{"Text":"data.name","Background":"@#ffffff","type":"Text"}}},{"type":"Select","Data":"stat.Data.ConfigChange","Background":"@#fff","Classes":"@SelectWhite BorderRound","Right":"@2","Radius":"@10","Slots":{"item":{"Background":"@#ffffff","Text":"data","type":"Text"}}},{"HAlign":"@Center","Slots":{"item":{"Classes":"@SearchButtonImg","type":"Image","Name":"SearchButton_Image"}},"type":"Button","Radius":"@8","VAlign":"@Center","Classes":"@BorderRound","Right":"@5","Background":"@#00ADB5"},{"Background":"@#00ADB5","HAlign":"@Center","FillStyle":"@#fff","@Click":"stat.Call($save_Json$)","type":"Button","Text":"@保存配置","Classes":"@BorderRound","Right":"@2","Radius":"@5","VAlign":"@Center"}],"type":"Grid","Row":"@1*","Column":"@1*,1*,70,60"},{"PaddingTop":"@5","Row":"@30,1*","children":[{"FillStyle":"@#fff","@Click":"  stat.ShowModal($RootAppend$,$添加项目$,$RootAppend_true$,$RootAppend_off$)","Classes":"@BorderRound","Radius":"@5","Text":"@添加","Background":"@#222831","VAlign":"@Center","type":"Button","Font":"@Bold 20px 微软雅黑","HAlign":"@Center"},{"type":"List","Data":"stat.Data.DevicesSetConfigArray","Slots":{"item":{"Radius":"@5","Column":"@1*,80,30","PaddingLeft":"@5","PaddingRight":"@2","Classes":"@BorderRound","type":"Grid","FillStyle":"@#fff","children":[{"type":"Text","Text":"data.checkname","VAlign":"@Center","Font":"@Bold 20px 微软雅黑","FillStyle":"@#fff"},{"type":"Text","Text":"@ ","if":"data.add_bool"},{"Font":"@16px 微软雅黑","HAlign":"@Center","if":"data.bool","@Click":"stat.ShowModal($Add$,$添加安检项目$,$add_true$,$add_off$)","Slots":{"item":{"type":"Text","Text":"@添加项目","if":"data.bool"}},"type":"Button","VAlign":"@Center"},{"type":"Button","Classes":"@BorderRound","Width":"@28","Height":"@28","Background":"@#222831","Radius":"@5","@Click":"stat.Call($bChoose$,index)","Slots":{"item":{"Classes":"@DropDownButtonImg","type":"Image","Name":"DropDownButton_Image"}}},{"FillStyle":"@#000","Slots":{"item":{"VAlign":"@Center","Column":"@1*,45,45","Height":"@25","FillStyle":"@#000","Radius":"@5","children":[{"type":"Text","Text":"data.lname","Font":"@Bold 18px 微软雅黑","VAlign":"@Center","PaddingLeft":"@10","FillStyle":"@#fff"},{"type":"Button","Bottom":"@2","HAlign":"@Center","Name":"@修改","Right":"@5","VAlign":"@Center","Classes":"@BorderRound","Background":"@#00ADB5","Top":"@2","@Click":"stat.Call($changeClick$,data.self,index),stat.ShowModal($CAndA$,$修改业务$,$pop_up$,$pop_up_off$)","Radius":"@5","Text":"@修改"},{"Bottom":"@2","Name":"@删除","Right":"@5","Background":"@#00ADB5","Text":"@删除","type":"Button","Top":"@2","Radius":"@5","VAlign":"@Center","HAlign":"@Center","Classes":"@BorderRound","@Click":"stat.Call($delItem$,index)"}],"Background":"@#393E46","Classes":"@BorderRound","Row":"@1*","type":"Grid"}},"type":"List","Data":"stat.Data.ChangeArray","if":"data.bool","ColSpan":"@3"}],"Background":"@#222831","Row":"@30,1*"}}}],"type":"Grid","Column":"@1*"}]}}
  }
</script>

