update all

This commit is contained in:
2021-04-28 18:44:47 +08:00
parent deda0e65a5
commit 0d16af867a
25 changed files with 88 additions and 24576 deletions

1
.gitignore vendored
View File

@@ -6,3 +6,4 @@ obj/
.vs .vs
Logs/ Logs/
/Api/Ewide.Web.Entry/wwwroot/Upload /Api/Ewide.Web.Entry/wwwroot/Upload
/Api/Ewide.EntityFramework.Core/dbsettings.Development.json

View File

@@ -118,6 +118,7 @@ namespace Ewide.Core
/// 不关联上级菜单显示 0标识关联 1表示不需要关联菜单 仅按钮有效 /// 不关联上级菜单显示 0标识关联 1表示不需要关联菜单 仅按钮有效
/// </summary> /// </summary>
[Comment("不关联菜单显示")] [Comment("不关联菜单显示")]
[Column("UnbindParent", TypeName = "bit")]
public bool UnbindParent { get; set; } public bool UnbindParent { get; set; }
/// <summary> /// <summary>

View File

@@ -8,8 +8,4 @@
<ProjectReference Include="..\Ewide.EntityFramework.Core\Ewide.EntityFramework.Core.csproj" /> <ProjectReference Include="..\Ewide.EntityFramework.Core\Ewide.EntityFramework.Core.csproj" />
</ItemGroup> </ItemGroup>
<ItemGroup>
<Folder Include="Migrations\" />
</ItemGroup>
</Project> </Project>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,5 +1,5 @@
{ {
"ConnectionStrings": { "ConnectionStrings": {
"DefaultConnection": "Data Source=localhost;Port=3307;Database=Ewide;User ID=root;Password=root;pooling=true;sslmode=none;CharSet=utf8;" "DefaultConnection": "Data Source=localhost;Port=3306;Database=ewide;User ID=root;Password=a45683926;pooling=true;sslmode=none;CharSet=utf8;"
} }
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

View File

@@ -76,10 +76,12 @@ export default {
{ {
title: '应用名称', title: '应用名称',
dataIndex: 'name', dataIndex: 'name',
sorter: true,
}, },
{ {
title: '唯一编码', title: '唯一编码',
dataIndex: 'code', dataIndex: 'code',
sorter: true,
}, },
{ {
title: '是否默认', title: '是否默认',
@@ -87,6 +89,7 @@ export default {
scopedSlots: { scopedSlots: {
customRender: 'active', customRender: 'active',
}, },
sorter: true,
}, },
{ {
title: '状态', title: '状态',
@@ -94,10 +97,12 @@ export default {
scopedSlots: { scopedSlots: {
customRender: 'status', customRender: 'status',
}, },
sorter: true,
}, },
{ {
title: '排序', title: '排序',
dataIndex: 'sort', dataIndex: 'sort',
sorter: true,
}, },
], ],
codes: [ codes: [

View File

@@ -39,7 +39,7 @@
</yo-table> </yo-table>
</a-card> </a-card>
<br /> <br />
<edit-form @ok="onReloadData" ref="edit-form" /> <edit-form @ok="onReloadData" ref="edit-form" />
<add-form @ok="onReloadData" ref="add-form" /> <add-form @ok="onReloadData" ref="add-form" />
</container> </container>
</template> </template>
@@ -47,10 +47,10 @@
import AddForm from './addForm'; import AddForm from './addForm';
import editForm from './editForm'; import editForm from './editForm';
export default { export default {
components: { components: {
AddForm, AddForm,
editForm, editForm,
}, },
data() { data() {
return { return {
query: {}, query: {},
@@ -58,35 +58,44 @@ components: {
{ {
title: '参数名称', title: '参数名称',
dataIndex: 'name', dataIndex: 'name',
sorter: true,
}, },
{ {
title: '唯一编码', title: '唯一编码',
dataIndex: 'code', dataIndex: 'code',
sorter: true,
}, },
{ {
title: '参数值', title: '参数值',
dataIndex: 'value', dataIndex: 'value',
sorter: true,
}, },
{ {
title: '所属分类', title: '所属分类',
dataIndex: 'groupCode', dataIndex: 'groupCode',
}, sorter: true,
{
title: '备注',
dataIndex: 'remark',
}, },
{ {
title: '操作', title: '备注',
width: '200px', dataIndex: 'remark',
dataIndex: 'action', sorter: true,
scopedSlots: {
customRender: 'action',
},
}, },
], ],
}; };
}, },
created() {}, created() {
const flag = this.$auth({ sysConfig: [['edit'], ['delete']] });
if (flag) {
this.columns.push({
title: '操作',
width: '200px',
dataIndex: 'action',
scopedSlots: {
customRender: 'action',
},
});
}
},
methods: { methods: {
/** /**
* 必要的方法 * 必要的方法

View File

@@ -73,24 +73,29 @@ export default {
{ {
title: '字典值', title: '字典值',
dataIndex: 'value', dataIndex: 'value',
sorter: true,
}, },
{ {
title: '唯一编码', title: '唯一编码',
dataIndex: 'code', dataIndex: 'code',
sorter: true,
}, },
{ {
title: '排序', title: '排序',
dataIndex: 'sort', dataIndex: 'sort',
sorter: true,
}, },
{ {
title: '备注', title: '备注',
dataIndex: 'remark', dataIndex: 'remark',
width: 200, width: 200,
sorter: true,
}, },
{ {
title: '状态', title: '状态',
dataIndex: 'status', dataIndex: 'status',
scopedSlots: { customRender: 'status' }, scopedSlots: { customRender: 'status' },
sorter: true,
}, },
], ],
}; };
@@ -99,7 +104,7 @@ export default {
this.onLoadCodes(); this.onLoadCodes();
/** 根据权限添加操作列 */ /** 根据权限添加操作列 */
const flag = this.$auth(/** ... */); const flag = this.$auth({ sysDictData: [['edit'], ['delete']] });
if (flag) { if (flag) {
this.columns.push({ this.columns.push({
title: '操作', title: '操作',

View File

@@ -71,24 +71,29 @@ export default {
{ {
title: '类型名称', title: '类型名称',
dataIndex: 'name', dataIndex: 'name',
sorter: true,
}, },
{ {
title: '唯一编码', title: '唯一编码',
dataIndex: 'code', dataIndex: 'code',
sorter: true,
}, },
{ {
title: '排序', title: '排序',
dataIndex: 'sort', dataIndex: 'sort',
sorter: true,
}, },
{ {
title: '备注', title: '备注',
dataIndex: 'remark', dataIndex: 'remark',
width: 200, width: 200,
sorter: true,
}, },
{ {
title: '状态', title: '状态',
dataIndex: 'status', dataIndex: 'status',
scopedSlots: { customRender: 'status' }, scopedSlots: { customRender: 'status' },
sorter: true,
}, },
], ],
codes: { codes: {
@@ -100,7 +105,7 @@ export default {
this.onLoadCodes(); this.onLoadCodes();
/** 根据权限添加操作列 */ /** 根据权限添加操作列 */
const flag = this.$auth(/** ... */); const flag = this.$auth({ sysDictType: [['edit'], ['delete']] });
if (flag) { if (flag) {
this.columns.push({ this.columns.push({
title: '操作', title: '操作',

View File

@@ -92,34 +92,41 @@ export default {
{ {
title: '日志名称', title: '日志名称',
dataIndex: 'name', dataIndex: 'name',
sorter: true,
}, },
{ {
title: '操作类型', title: '操作类型',
dataIndex: 'opType', dataIndex: 'opType',
scopedSlots: { customRender: 'opType' }, scopedSlots: { customRender: 'opType' },
sorter: true,
}, },
{ {
title: '是否成功', title: '是否成功',
dataIndex: 'success', dataIndex: 'success',
scopedSlots: { customRender: 'success' }, scopedSlots: { customRender: 'success' },
sorter: true,
}, },
{ {
title: 'ip', title: 'ip',
dataIndex: 'ip', dataIndex: 'ip',
sorter: true,
}, },
{ {
title: '请求地址', title: '请求地址',
dataIndex: 'url', dataIndex: 'url',
scopedSlots: { customRender: 'url' }, scopedSlots: { customRender: 'url' },
sorter: true,
}, },
{ {
title: '操作时间', title: '操作时间',
dataIndex: 'opTime', dataIndex: 'opTime',
scopedSlots: { customRender: 'opTime' }, scopedSlots: { customRender: 'opTime' },
sorter: true,
}, },
{ {
title: '操作人', title: '操作人',
dataIndex: 'account', dataIndex: 'account',
sorter: true,
}, },
], ],
codes: { codes: {

View File

@@ -84,33 +84,40 @@ export default {
{ {
title: '日志名称', title: '日志名称',
dataIndex: 'name', dataIndex: 'name',
sorter: true,
}, },
{ {
title: '访问类型', title: '访问类型',
dataIndex: 'visType', dataIndex: 'visType',
scopedSlots: { customRender: 'visType' }, scopedSlots: { customRender: 'visType' },
sorter: true,
}, },
{ {
title: '是否成功', title: '是否成功',
dataIndex: 'success', dataIndex: 'success',
scopedSlots: { customRender: 'success' }, scopedSlots: { customRender: 'success' },
sorter: true,
}, },
{ {
title: 'ip', title: 'ip',
dataIndex: 'ip', dataIndex: 'ip',
sorter: true,
}, },
{ {
title: '浏览器', title: '浏览器',
dataIndex: 'browser', dataIndex: 'browser',
sorter: true,
}, },
{ {
title: '访问时间', title: '访问时间',
dataIndex: 'visTime', dataIndex: 'visTime',
scopedSlots: { customRender: 'visTime' }, scopedSlots: { customRender: 'visTime' },
sorter: true,
}, },
{ {
title: '访问人', title: '访问人',
dataIndex: 'account', dataIndex: 'account',
sorter: true,
}, },
], ],

View File

@@ -67,20 +67,24 @@ export default {
title: '机构名称', title: '机构名称',
width: '400px', width: '400px',
dataIndex: 'name', dataIndex: 'name',
sorter: true,
}, },
{ {
title: '唯一编码', title: '唯一编码',
width: '200px', width: '200px',
dataIndex: 'code', dataIndex: 'code',
sorter: true,
}, },
{ {
title: '排序', title: '排序',
width: '80px', width: '80px',
dataIndex: 'sort', dataIndex: 'sort',
sorter: true,
}, },
{ {
title: '备注', title: '备注',
dataIndex: 'remark', dataIndex: 'remark',
sorter: true,
}, },
], ],
}; };

View File

@@ -59,31 +59,38 @@ export default {
{ {
title: '职位名称', title: '职位名称',
dataIndex: 'name', dataIndex: 'name',
sorter: true,
}, },
{ {
title: '唯一编码', title: '唯一编码',
dataIndex: 'code', dataIndex: 'code',
sorter: true,
}, },
{ {
title: '排序', title: '排序',
dataIndex: 'sort', dataIndex: 'sort',
sorter: true,
}, },
{ {
title: '备注', title: '备注',
dataIndex: 'remark', dataIndex: 'remark',
}, sorter: true,
{
title: '操作',
width: '200px',
dataIndex: 'action',
scopedSlots: {
customRender: 'action',
},
}, },
], ],
}; };
}, },
created() {}, created() {
if (this.$auth({ sysPos: [['edit'], ['delete']] })) {
this.columns.push({
title: '操作',
width: '200px',
dataIndex: 'action',
scopedSlots: {
customRender: 'action',
},
});
}
},
methods: { methods: {
/** /**
* 必要的方法 * 必要的方法

View File

@@ -86,14 +86,17 @@ export default {
{ {
title: '角色名', title: '角色名',
dataIndex: 'name', dataIndex: 'name',
sorter: true,
}, },
{ {
title: '唯一编码', title: '唯一编码',
dataIndex: 'code', dataIndex: 'code',
sorter: true,
}, },
{ {
title: '排序', title: '排序',
dataIndex: 'sort', dataIndex: 'sort',
sorter: true,
}, },
], ],
}; };

View File

@@ -1,6 +1,10 @@
<template> <template>
<div class="logo"> <div class="logo">
<img :src="require('@/assets/image/logo32.png')" alt /> <img
<span>LazyOn</span> :src="require('@/assets/image/logo.png')"
alt
v-if="$root.global.settings.navTheme == 'light'"
/>
<img :src="require('@/assets/image/logo-w.png')" alt v-else />
</div> </div>
</template> </template>