<template>
  <div class="router-back dep">
   <avue-crud :data="tableData" :option="tableOption"></avue-crud>
  </div>
 </template>
 
 <script>
  export default {
    name: '',
    props: {
    },
    components: {
 
    },
    data () {
      return {
       tableData:[
       {
           name: "张三",
           sex: "男",
           num: "1",
           state: "3",
           site: "5",
           type: 2,
           ready: 3,
           remark: "",
         },
         {
           name: "李四",
           sex: "女",
           num: "1",
           state: "3",
           site: "5",
           type: 2,
           ready: 3,
           remark: "",
         },
       ],
       tableOption:{
         align: "center",
         menuAlign: "center",
         menuWidth: 400,
         viewBtn: true,
         stripe: true,
         selection: true,
         menuTitle: "操作",
         emptyBtnText: "重置",
         addBtnIcon: "el-icon-plus",
         searchMenuPosition: "center",
         searchMenuSpan: 6,
         column:[
         {
             label: "参数主键",
             prop: "name",
           },
           {
             label: "参数名称",
             prop: "num",
             search: true,
           },
           {
             label: "参数键名",
             prop: "site",
             search: true,
           },
           {
             label: "参数键值",
             prop: "state",
           },
           {
             label: "系统内置",
             prop: "ready",
             search: true,
           },
           {
             label: "备注",
             prop: "remark",
           },
           {
             label: "创建时间",
             prop: "sex",
             search: true,
           },
         ]
       }
      }
    },
    methods: {
 
    },
    mounted() {
 
    },
    watch: {
 
    },
    computed: {
 
    },
    filters: {
 
    }
  }
 </script>
 
 <style scoped lang='scss'>
 .dep{
   padding: 20px;
 }
 </style>