Browse Source

init

master
parent
commit
19acaf0bb5
  1. 1010
      src/views/index.vue
  2. 1097
      src/views/index1.vue
  3. 14
      src/views/system/dict/index.vue

1010
src/views/index.vue

File diff suppressed because it is too large Load Diff

1097
src/views/index1.vue

File diff suppressed because it is too large Load Diff

14
src/views/system/dict/index.vue

@ -131,6 +131,13 @@ @@ -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>
<el-button
size="mini"
type="text"
@ -289,6 +296,11 @@ export default { @@ -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) {
this.reset();
@ -344,4 +356,4 @@ export default { @@ -344,4 +356,4 @@ export default {
}
}
};
</script>
</script>

Loading…
Cancel
Save