Merge branch 'abp' of https://gitee.com/ccnetcore/Yi into abp

This commit is contained in:
陈淳
2024-05-16 11:43:35 +08:00
4 changed files with 7 additions and 6 deletions

1
.gitignore vendored
View File

@@ -272,3 +272,4 @@ logs
/Yi.Abp.Net8/test/Yi.Abp.Test/appsettings.Development.json
/Yi.Abp.Net8/test/Yi.Abp.Test/appsettings.Production.json
database_backup
/Yi.Abp.Net8/src/Yi.Abp.Web/appsettings.Staging.json

View File

@@ -8,7 +8,7 @@ namespace Yi.Framework.Rbac.Application.Contracts.Dtos.Post
public Guid Id { get; set; }
public DateTime CreationTime { get; set; } = DateTime.Now;
public long? CreatorId { get; set; }
public Guid State { get; set; }
public bool? State { get; set; }
public string PostCode { get; set; } = string.Empty;
public string PostName { get; set; } = string.Empty;
public string? Remark { get; set; }

View File

@@ -5,7 +5,7 @@ namespace Yi.Framework.Rbac.Application.Contracts.Dtos.Post
public Guid Id { get; set; }
public DateTime CreationTime { get; set; } = DateTime.Now;
public Guid? CreatorId { get; set; }
public bool State { get; set; }
public bool? State { get; set; }
public string PostCode { get; set; } = string.Empty;
public string PostName { get; set; } = string.Empty;
public string? Remark { get; set; }

View File

@@ -528,16 +528,16 @@ function submitForm() {
proxy.$refs["userRef"].validate(valid => {
if (valid) {
if (form.value.id != undefined) {
updateUser(form.value.id,form.value).then(response => {
updateUser(form.value.id,form.value).then(async response => {
proxy.$modal.msgSuccess("修改成功");
open.value = false;
getList();
await getList();
});
} else {
addUser(form.value).then(response => {
addUser(form.value).then(async response => {
proxy.$modal.msgSuccess("新增成功");
open.value = false;
getList();
await getList();
});
}
}