// components/dk-table/dk-table.js
Component({
  /**
   * 组件的属性列表
   */
  properties: {
    columns:{
      type:Array,
      value:[{title:'门店名称',name:'storeName',width:'35%'},{title:'成交金额',name:'amount',width:'25%'},{title:'任务目标',name:'target',width:'25%'},{title:'完成率',name:'rate',width:'15%'}]
    },
    topData:{
      type:Array,
      value:[]
    },
    tableData:{
      type:Array,
      value:[{storeName:'门店11a',amount:'1888',target:'2000',rate:'80%'},{storeName:'门店1',amount:'1888',target:'2000',rate:'80%'},{storeName:'门店1',amount:'1888',target:'2000',rate:'80%'},{storeName:'门店1',amount:'1888',target:'2000',rate:'80%'},{storeName:'门店23123123345345341',amount:'1888222222222222222222222',target:'2000',rate:'80%'}]
    }
  },

  /**
   * 组件的初始数据
   */
  data: {

  },

  /**
   * 组件的方法列表
   */
  methods: {

  }
})
