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
Logs/
/Api/Ewide.Web.Entry/wwwroot/Upload
/Api/Ewide.EntityFramework.Core/dbsettings.Development.json

View File

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

View File

@@ -8,8 +8,4 @@
<ProjectReference Include="..\Ewide.EntityFramework.Core\Ewide.EntityFramework.Core.csproj" />
</ItemGroup>
<ItemGroup>
<Folder Include="Migrations\" />
</ItemGroup>
</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": {
"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: '应用名称',
dataIndex: 'name',
sorter: true,
},
{
title: '唯一编码',
dataIndex: 'code',
sorter: true,
},
{
title: '是否默认',
@@ -87,6 +89,7 @@ export default {
scopedSlots: {
customRender: 'active',
},
sorter: true,
},
{
title: '状态',
@@ -94,10 +97,12 @@ export default {
scopedSlots: {
customRender: 'status',
},
sorter: true,
},
{
title: '排序',
dataIndex: 'sort',
sorter: true,
},
],
codes: [

View File

@@ -58,35 +58,44 @@ components: {
{
title: '参数名称',
dataIndex: 'name',
sorter: true,
},
{
title: '唯一编码',
dataIndex: 'code',
sorter: true,
},
{
title: '参数值',
dataIndex: 'value',
sorter: true,
},
{
title: '所属分类',
dataIndex: 'groupCode',
sorter: true,
},
{
title: '备注',
dataIndex: 'remark',
sorter: true,
},
{
],
};
},
created() {
const flag = this.$auth({ sysConfig: [['edit'], ['delete']] });
if (flag) {
this.columns.push({
title: '操作',
width: '200px',
dataIndex: 'action',
scopedSlots: {
customRender: 'action',
},
});
}
},
],
};
},
created() {},
methods: {
/**
* 必要的方法

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,6 +1,10 @@
<template>
<div class="logo">
<img :src="require('@/assets/image/logo32.png')" alt />
<span>LazyOn</span>
<img
: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>
</template>