Skip to content

Commit

Permalink
[日常提交]:修改菜单种子数据
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliamXu96 committed Jan 5, 2023
1 parent af38f18 commit 488e8c9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions BaseService/BaseService.Host/DataSeeder/MenuSeeder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ public List<Menu> GetSeed()

var baseData = new Menu(Guid.NewGuid()) { CategoryId = 1, Name = "base", Label = "基础资料", Sort = 3, Path = "/base", Component = "Layout", Icon = "base", AlwaysShow = true };
var book = new Menu(Guid.NewGuid()) { Pid = baseData.Id, CategoryId = 1, Name = "Book", Label = "Book", Sort = 10, Path = "book", Component = "book/index", Permission = "Business.Book", Icon = "book" };
seed.Add(new Menu(Guid.NewGuid()) { Pid = book.Id, CategoryId = 2, Name = "Create", Label = "新增", Sort = 3, Permission = "BaseService.Book.Create", Icon = "create", Hidden = true });
seed.Add(new Menu(Guid.NewGuid()) { Pid = book.Id, CategoryId = 2, Name = "Update", Label = "修改", Sort = 3, Permission = "BaseService.Book.Update", Icon = "update", Hidden = true });
seed.Add(new Menu(Guid.NewGuid()) { Pid = book.Id, CategoryId = 2, Name = "Delete", Label = "删除", Sort = 3, Permission = "BaseService.Book.Delete", Icon = "delete", Hidden = true });
seed.Add(new Menu(Guid.NewGuid()) { Pid = book.Id, CategoryId = 2, Name = "Create", Label = "新增", Sort = 3, Permission = "Business.Book.Create", Icon = "create", Hidden = true });
seed.Add(new Menu(Guid.NewGuid()) { Pid = book.Id, CategoryId = 2, Name = "Update", Label = "修改", Sort = 3, Permission = "Business.Book.Update", Icon = "update", Hidden = true });
seed.Add(new Menu(Guid.NewGuid()) { Pid = book.Id, CategoryId = 2, Name = "Delete", Label = "删除", Sort = 3, Permission = "Business.Book.Delete", Icon = "delete", Hidden = true });

var print = new Menu(Guid.NewGuid()) { Pid = baseData.Id, CategoryId = 1, Name = "print", Label = "打印模板", Sort = 9, Path = "print", Component = "print/index", Permission = "Business.PrintTemplate", Icon = "printer" };
seed.Add(new Menu(Guid.NewGuid()) { Pid = print.Id, CategoryId = 2, Name = "Create", Label = "新增", Sort = 3, Permission = "Business.PrintTemplate", Icon = "create", Hidden = true });
Expand Down
2 changes: 1 addition & 1 deletion WebApp/vue/src/views/flow-design/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<div class="filter-right">
<router-link :to="'/tool/flowCreate/'">
<el-button size="mini" class="filter-item" style="margin-left: 10px" type="primary"
icon="el-icon-plus">添加</el-button>
icon="el-icon-plus">新增</el-button>
</router-link>
<el-button size="mini" class="filter-item" style="margin-left: 10px" type="success" icon="el-icon-edit"
@click="handleUpdate()">编辑</el-button>
Expand Down
2 changes: 1 addition & 1 deletion WebApp/vue/src/views/storage/local/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ export default {
this.listLoading = true;
this.listQuery.SkipCount = (this.page - 1) * this.listQuery.MaxResultCount;
this.$axios
.gets(config.storage.ip + "/api/app/file", this.listQuery)
.gets(config.storage.ip + "/api/storage/file", this.listQuery)
.then((response) => {
this.list = response.items;
this.totalCount = response.totalCount;
Expand Down

0 comments on commit 488e8c9

Please sign in to comment.