Browse Source

init

master
parent
commit
19acaf0bb5
  1. 1010
      src/views/index.vue
  2. 1097
      src/views/index1.vue
  3. 12
      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

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

@ -131,6 +131,13 @@
</el-table-column> </el-table-column>
<el-table-column label="操作" align="center" class-name="small-padding fixed-width"> <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template slot-scope="scope"> <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 <el-button
size="mini" size="mini"
type="text" type="text"
@ -289,6 +296,11 @@ export default {
this.single = selection.length!=1 this.single = selection.length!=1
this.multiple = !selection.length this.multiple = !selection.length
}, },
/** 添加字段数据按钮操作 */
handleDetail(dictId) {
this.reset();
this.$router.push("/system/dict-data/index/"+ dictId);
},
/** 修改按钮操作 */ /** 修改按钮操作 */
handleUpdate(row) { handleUpdate(row) {
this.reset(); this.reset();

Loading…
Cancel
Save