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

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

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