@ -131,6 +131,13 @@
</el-table-column>
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template slot-scope="scope">
<el-button
size="mini"
type="text"
icon="el-icon-plus"
@click="handleDetail(scope.row.dictId)"
v-hasPermi="['system:dict:Detail']"
>添加数据</el-button>
@ -289,6 +296,11 @@ export default {
this.single = selection.length!=1
this.multiple = !selection.length
},
/** 添加字段数据按钮操作 */
handleDetail(dictId) {
this.reset();
this.$router.push("/system/dict-data/index/"+ dictId);
/** 修改按钮操作 */
handleUpdate(row) {
@ -344,4 +356,4 @@ export default {
}
};
</script>