<template>
  <div>
   <div style="display:flex; padding: 5px;">
      <el-button @click="getClickSingleSelectd">测试单树</el-button>
      <el-button @click="getClickDouble">测试双树</el-button>
    </div>
    <DialogSingleTree :show_dialog="is_show" :table_name="table_name" 
    @dialogClose="dialogClose" @dialogConfig="dialogConfig"></DialogSingleTree>
    <DialogDoubleTree :show_dialog="is_double_show" :table_name="table_name" 
    @dialogClose="dialogDoubleClose" @dialogConfig="dialogDoubleConfig"></DialogDoubleTree>
   
   <OperationList></OperationList>
    <!-- <OperationEdit>
      
    </OperationEdit> -->
    
  </div>
</template>
<script>
export default {
  name: 'Page-one',
  data() {
    return {
      is_show: false,
      is_double_show: false,
      table_name: 'sys_flame_menu'
    };
  },
  mounted() {
    let that = this;
  },
  methods: {
    getClickSingleSelectd() {
      let that = this;
      that.is_show = true;
      console.log('xxxxxxx');
    },
    getClickDouble(){
      let that = this;
      that.is_double_show = true;
      console.log('xxxxxxx');
    },
    dialogConfig(val) {
      let that = this;
      that.is_show = false;
    },
    dialogClose(val) {
      let that = this;
      that.is_show = false;
    },
    dialogDoubleConfig(val) {
      let that = this;
      that.is_double_show = false;
    },
    dialogDoubleClose(val) {
      let that = this;
      that.is_double_show = false;
    }
  }
};
</script>

<style></style>
