<template>
  <app-base>
    <div id="content"></div>
  </app-base>
</template>
<script>
import Comp from "./comp"
export default {
  title: '用户信息',
  ready() {
    global.canvas = "TestDataComponent";
    global.myjson = Object.assign(global.myjson, {
      TestDataComponent:{"template":{"Row":"@1*","Column":"@1*","Background":"@#f5f7f9","Pos":"@Top","children":[{"Classes":"@BorderRect","Name":"@查询","children":[{"Name":"@工具条","Pos":"@Top","HAlign":"@Right","children":[{"type":"Stack","Bottom":"@4","Top":"@4","children":[{"Classes":"@Button2","Right":"@10","type":"Button","Text":"@查询"},{"Classes":"@Button2","Text":"@删除","Right":"@10","type":"Button"},{"type":"Button","Classes":"@Button2","Text":"@导出","Right":"@24"}]}],"type":"Stack","Background":"@#ffffff","Classes":"@BorderRect","StrokeStyle":"@#dce0e3"},{"Row":"@1*","Column":"@1*","children":[{"type":"Grid","PaddingTop":"@12","Column":"@1*","PaddingLeft":"@10","Row":"@*,1*,*","StrokeStyle":"@#dfe4e7","Classes":"@BorderRect","PaddingBottom":"@20","PaddingRight":"@24","children":[{"type":"Stack","Bottom":"@17","children":[{"Width":"@100","HAlign":"@Center","type":"Text","PaddingLeft":"@20","Text":"@反馈日期","Pos":"@Center","VAlign":"@Center"},{"type":"DateInput","Width":"@150","Classes":"@SelectWhite","ShowDateAndTime":"@Date"},{"Slots":{"item":{"Classes":"@SearchButtonImg","type":"Image","Name":"SearchButton_Image"}},"type":"Button","Classes":"@SearchButton BorderRound","Left":"@10"}]},{"Column":"@100,200,200,1*","Classes":"@BorderRect","Slots":{"head":{"children":[{"type":"Stack","HAlign":"@Center","Classes":"@DataGridHead","children":[{"type":"CheckBox"},{"type":"Text","Left":"@9","Text":"@全选"}]},{"Classes":"@DataGridHead","HAlign":"@Center","Text":"@反馈人","type":"Text"},{"Text":"@反馈时间","type":"Text","Classes":"@DataGridHead","HAlign":"@Center"},{"type":"Text","Text":"@反馈内容","Classes":"@DataGridHead","HAlign":"@Center"}],"type":"Grid","Row":"@1*"},"item":{"type":"Grid","Row":"@*","children":[{"HAlign":"@Center","type":"CheckBox","Classes":"@DataGridBody"},{"type":"Text","Classes":"@DataGridBody"},{"type":"Text","Classes":"@DataGridBody"},{"type":"Text","Classes":"@DataGridBody"}]}},"type":"DataGrid"}]}],"type":"Grid","Pos":"@Center"}],"type":"Dock","Background":"@#f5f7f9"}],"type":"Grid"},"Drag":{}}
      });
    loadWasm().then(()=> {
      global.stat = new Comp()
      global.stat.ready().then(()=> {
        console.log(global.stat)
        run()
      })
    })
    }
  }
 </script>
