<template>
  <div>
    <list ref="list">
      <template v-slot:edit="scope">
        <edit :data="scope.data" @onSuccess="onSuccess"></edit>
      </template>
    </list>
  </div>
</template>

<script>
import list from './modules/list.vue'
import edit from './modules/edit.vue'

export default {
  components:{
    list,
    edit
  },
  methods:{
    onSuccess () {
      this.$refs['list'].query_coderuleList()
    }
  }
}

</script>
<style>
</style>