|
@@ -19,7 +19,7 @@
|
|
<div class="module-main" v-if="tableConfig">
|
|
<div class="module-main" v-if="tableConfig">
|
|
<slot name="left"></slot>
|
|
<slot name="left"></slot>
|
|
<div class="table">
|
|
<div class="table">
|
|
- <by-table :propConfig="tableConfig" :ref="tableID" @pagination="paginationChange" @detail="detail" />
|
|
|
|
|
|
+ <by-table :propConfig="tableConfig" :ref="tableID" @pagination="paginationChange" @detail="detail" @onChangeRow="onChangeRow" />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -105,6 +105,10 @@ export default class ModuleView extends ModuleViewHandle {
|
|
this.$emit('pagination',page)
|
|
this.$emit('pagination',page)
|
|
// this.getList();
|
|
// this.getList();
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ onChangeRow(row:any){
|
|
|
|
+ this.$emit('onChangeRow',row);
|
|
|
|
+ }
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|
|
|
|
|