Skip to content

Commit 618f4c0

Browse files
committed
tablePermission init
1 parent ad28d57 commit 618f4c0

File tree

3 files changed

+671
-0
lines changed

3 files changed

+671
-0
lines changed

src/pages/metadata/table/list.vue

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,14 @@
150150
flat
151151
dense
152152
></q-btn>
153+
<q-btn
154+
unelevated
155+
@click="onTablePermissionClickAction(props.row.id)"
156+
color="primary"
157+
label="权限设置"
158+
flat
159+
dense
160+
></q-btn>
153161
</q-td>
154162
<q-td key="id" :props="props">{{ props.row.id }}</q-td>
155163
<q-td key="name" :props="props">
@@ -401,6 +409,11 @@ export default {
401409
onFormBuilderClickAction(id) {
402410
this.$router.push("/dataSource/" + this.dataSource + "/metadata/tables/" + id + "/formBuilder");
403411
},
412+
413+
onTablePermissionClickAction(id) {
414+
this.$router.push("/dataSource/" + this.dataSource + "/metadata/tables/" + id + "/tablePermission");
415+
},
416+
404417
async onExportClickAction(id) {
405418
let ids = [];
406419
this.selected.forEach(function(val){

0 commit comments

Comments
 (0)