diff --git a/src/router/modules/system.ts b/src/router/modules/system.ts index 94d28ef..1a4b535 100644 --- a/src/router/modules/system.ts +++ b/src/router/modules/system.ts @@ -17,7 +17,7 @@ { path: 'list', name: 'AreaList', - component: () => import('@/views/system/area/list.area.vue'), + component: () => import('@/views/system/area/listArea.vue'), meta: { title: '区域管理', auth: '/sys/area', @@ -209,7 +209,7 @@ { path: 'list', name: 'BusinessList', - component: () => import('@/views/system/log/list.log.vue'), + component: () => import('@/views/system/log/listLog.vue'), meta: { title: '业务日志', auth: '/sys/log/biz/list', diff --git a/src/router/modules/system.ts b/src/router/modules/system.ts index 94d28ef..1a4b535 100644 --- a/src/router/modules/system.ts +++ b/src/router/modules/system.ts @@ -17,7 +17,7 @@ { path: 'list', name: 'AreaList', - component: () => import('@/views/system/area/list.area.vue'), + component: () => import('@/views/system/area/listArea.vue'), meta: { title: '区域管理', auth: '/sys/area', @@ -209,7 +209,7 @@ { path: 'list', name: 'BusinessList', - component: () => import('@/views/system/log/list.log.vue'), + component: () => import('@/views/system/log/listLog.vue'), meta: { title: '业务日志', auth: '/sys/log/biz/list', diff --git a/src/views/system/area/list.area.vue b/src/views/system/area/list.area.vue deleted file mode 100644 index 16a8cc8..0000000 --- a/src/views/system/area/list.area.vue +++ /dev/null @@ -1,171 +0,0 @@ - - - - - diff --git a/src/router/modules/system.ts b/src/router/modules/system.ts index 94d28ef..1a4b535 100644 --- a/src/router/modules/system.ts +++ b/src/router/modules/system.ts @@ -17,7 +17,7 @@ { path: 'list', name: 'AreaList', - component: () => import('@/views/system/area/list.area.vue'), + component: () => import('@/views/system/area/listArea.vue'), meta: { title: '区域管理', auth: '/sys/area', @@ -209,7 +209,7 @@ { path: 'list', name: 'BusinessList', - component: () => import('@/views/system/log/list.log.vue'), + component: () => import('@/views/system/log/listLog.vue'), meta: { title: '业务日志', auth: '/sys/log/biz/list', diff --git a/src/views/system/area/list.area.vue b/src/views/system/area/list.area.vue deleted file mode 100644 index 16a8cc8..0000000 --- a/src/views/system/area/list.area.vue +++ /dev/null @@ -1,171 +0,0 @@ - - - - - diff --git a/src/views/system/area/listArea.vue b/src/views/system/area/listArea.vue new file mode 100644 index 0000000..335a6fb --- /dev/null +++ b/src/views/system/area/listArea.vue @@ -0,0 +1,170 @@ + + + + + diff --git a/src/router/modules/system.ts b/src/router/modules/system.ts index 94d28ef..1a4b535 100644 --- a/src/router/modules/system.ts +++ b/src/router/modules/system.ts @@ -17,7 +17,7 @@ { path: 'list', name: 'AreaList', - component: () => import('@/views/system/area/list.area.vue'), + component: () => import('@/views/system/area/listArea.vue'), meta: { title: '区域管理', auth: '/sys/area', @@ -209,7 +209,7 @@ { path: 'list', name: 'BusinessList', - component: () => import('@/views/system/log/list.log.vue'), + component: () => import('@/views/system/log/listLog.vue'), meta: { title: '业务日志', auth: '/sys/log/biz/list', diff --git a/src/views/system/area/list.area.vue b/src/views/system/area/list.area.vue deleted file mode 100644 index 16a8cc8..0000000 --- a/src/views/system/area/list.area.vue +++ /dev/null @@ -1,171 +0,0 @@ - - - - - diff --git a/src/views/system/area/listArea.vue b/src/views/system/area/listArea.vue new file mode 100644 index 0000000..335a6fb --- /dev/null +++ b/src/views/system/area/listArea.vue @@ -0,0 +1,170 @@ + + + + + diff --git a/src/views/system/log/list.log.vue b/src/views/system/log/list.log.vue deleted file mode 100644 index 8c035ca..0000000 --- a/src/views/system/log/list.log.vue +++ /dev/null @@ -1,205 +0,0 @@ - - - - - - - diff --git a/src/router/modules/system.ts b/src/router/modules/system.ts index 94d28ef..1a4b535 100644 --- a/src/router/modules/system.ts +++ b/src/router/modules/system.ts @@ -17,7 +17,7 @@ { path: 'list', name: 'AreaList', - component: () => import('@/views/system/area/list.area.vue'), + component: () => import('@/views/system/area/listArea.vue'), meta: { title: '区域管理', auth: '/sys/area', @@ -209,7 +209,7 @@ { path: 'list', name: 'BusinessList', - component: () => import('@/views/system/log/list.log.vue'), + component: () => import('@/views/system/log/listLog.vue'), meta: { title: '业务日志', auth: '/sys/log/biz/list', diff --git a/src/views/system/area/list.area.vue b/src/views/system/area/list.area.vue deleted file mode 100644 index 16a8cc8..0000000 --- a/src/views/system/area/list.area.vue +++ /dev/null @@ -1,171 +0,0 @@ - - - - - diff --git a/src/views/system/area/listArea.vue b/src/views/system/area/listArea.vue new file mode 100644 index 0000000..335a6fb --- /dev/null +++ b/src/views/system/area/listArea.vue @@ -0,0 +1,170 @@ + + + + + diff --git a/src/views/system/log/list.log.vue b/src/views/system/log/list.log.vue deleted file mode 100644 index 8c035ca..0000000 --- a/src/views/system/log/list.log.vue +++ /dev/null @@ -1,205 +0,0 @@ - - - - - - - diff --git a/src/views/system/log/listErrorLog.vue b/src/views/system/log/listErrorLog.vue index ce05c27..9256771 100644 --- a/src/views/system/log/listErrorLog.vue +++ b/src/views/system/log/listErrorLog.vue @@ -79,7 +79,7 @@ } // 页数发生变化后的操作,可能是页码变化,可能是每页容量变化,此函数必写 -const changePage = (val: any) => { +const changePage = (val: { size: number; page: number }) => { if (val && val.size) { listQuery.limit = val.size } diff --git a/src/router/modules/system.ts b/src/router/modules/system.ts index 94d28ef..1a4b535 100644 --- a/src/router/modules/system.ts +++ b/src/router/modules/system.ts @@ -17,7 +17,7 @@ { path: 'list', name: 'AreaList', - component: () => import('@/views/system/area/list.area.vue'), + component: () => import('@/views/system/area/listArea.vue'), meta: { title: '区域管理', auth: '/sys/area', @@ -209,7 +209,7 @@ { path: 'list', name: 'BusinessList', - component: () => import('@/views/system/log/list.log.vue'), + component: () => import('@/views/system/log/listLog.vue'), meta: { title: '业务日志', auth: '/sys/log/biz/list', diff --git a/src/views/system/area/list.area.vue b/src/views/system/area/list.area.vue deleted file mode 100644 index 16a8cc8..0000000 --- a/src/views/system/area/list.area.vue +++ /dev/null @@ -1,171 +0,0 @@ - - - - - diff --git a/src/views/system/area/listArea.vue b/src/views/system/area/listArea.vue new file mode 100644 index 0000000..335a6fb --- /dev/null +++ b/src/views/system/area/listArea.vue @@ -0,0 +1,170 @@ + + + + + diff --git a/src/views/system/log/list.log.vue b/src/views/system/log/list.log.vue deleted file mode 100644 index 8c035ca..0000000 --- a/src/views/system/log/list.log.vue +++ /dev/null @@ -1,205 +0,0 @@ - - - - - - - diff --git a/src/views/system/log/listErrorLog.vue b/src/views/system/log/listErrorLog.vue index ce05c27..9256771 100644 --- a/src/views/system/log/listErrorLog.vue +++ b/src/views/system/log/listErrorLog.vue @@ -79,7 +79,7 @@ } // 页数发生变化后的操作,可能是页码变化,可能是每页容量变化,此函数必写 -const changePage = (val: any) => { +const changePage = (val: { size: number; page: number }) => { if (val && val.size) { listQuery.limit = val.size } diff --git a/src/views/system/log/listLog.vue b/src/views/system/log/listLog.vue new file mode 100644 index 0000000..745c63d --- /dev/null +++ b/src/views/system/log/listLog.vue @@ -0,0 +1,205 @@ + + + + + + + diff --git a/src/router/modules/system.ts b/src/router/modules/system.ts index 94d28ef..1a4b535 100644 --- a/src/router/modules/system.ts +++ b/src/router/modules/system.ts @@ -17,7 +17,7 @@ { path: 'list', name: 'AreaList', - component: () => import('@/views/system/area/list.area.vue'), + component: () => import('@/views/system/area/listArea.vue'), meta: { title: '区域管理', auth: '/sys/area', @@ -209,7 +209,7 @@ { path: 'list', name: 'BusinessList', - component: () => import('@/views/system/log/list.log.vue'), + component: () => import('@/views/system/log/listLog.vue'), meta: { title: '业务日志', auth: '/sys/log/biz/list', diff --git a/src/views/system/area/list.area.vue b/src/views/system/area/list.area.vue deleted file mode 100644 index 16a8cc8..0000000 --- a/src/views/system/area/list.area.vue +++ /dev/null @@ -1,171 +0,0 @@ - - - - - diff --git a/src/views/system/area/listArea.vue b/src/views/system/area/listArea.vue new file mode 100644 index 0000000..335a6fb --- /dev/null +++ b/src/views/system/area/listArea.vue @@ -0,0 +1,170 @@ + + + + + diff --git a/src/views/system/log/list.log.vue b/src/views/system/log/list.log.vue deleted file mode 100644 index 8c035ca..0000000 --- a/src/views/system/log/list.log.vue +++ /dev/null @@ -1,205 +0,0 @@ - - - - - - - diff --git a/src/views/system/log/listErrorLog.vue b/src/views/system/log/listErrorLog.vue index ce05c27..9256771 100644 --- a/src/views/system/log/listErrorLog.vue +++ b/src/views/system/log/listErrorLog.vue @@ -79,7 +79,7 @@ } // 页数发生变化后的操作,可能是页码变化,可能是每页容量变化,此函数必写 -const changePage = (val: any) => { +const changePage = (val: { size: number; page: number }) => { if (val && val.size) { listQuery.limit = val.size } diff --git a/src/views/system/log/listLog.vue b/src/views/system/log/listLog.vue new file mode 100644 index 0000000..745c63d --- /dev/null +++ b/src/views/system/log/listLog.vue @@ -0,0 +1,205 @@ + + + + + + + diff --git a/src/views/system/log/loginLog.vue b/src/views/system/log/loginLog.vue index 904f51c..30dc2c1 100644 --- a/src/views/system/log/loginLog.vue +++ b/src/views/system/log/loginLog.vue @@ -95,7 +95,7 @@ } // 页数发生变化后的操作,可能是页码变化,可能是每页容量变化,此函数必写 -const changePage = (val: any) => { +const changePage = (val: { size: number; page: number }) => { if (val && val.size) { listQuery.limit = val.size } diff --git a/src/router/modules/system.ts b/src/router/modules/system.ts index 94d28ef..1a4b535 100644 --- a/src/router/modules/system.ts +++ b/src/router/modules/system.ts @@ -17,7 +17,7 @@ { path: 'list', name: 'AreaList', - component: () => import('@/views/system/area/list.area.vue'), + component: () => import('@/views/system/area/listArea.vue'), meta: { title: '区域管理', auth: '/sys/area', @@ -209,7 +209,7 @@ { path: 'list', name: 'BusinessList', - component: () => import('@/views/system/log/list.log.vue'), + component: () => import('@/views/system/log/listLog.vue'), meta: { title: '业务日志', auth: '/sys/log/biz/list', diff --git a/src/views/system/area/list.area.vue b/src/views/system/area/list.area.vue deleted file mode 100644 index 16a8cc8..0000000 --- a/src/views/system/area/list.area.vue +++ /dev/null @@ -1,171 +0,0 @@ - - - - - diff --git a/src/views/system/area/listArea.vue b/src/views/system/area/listArea.vue new file mode 100644 index 0000000..335a6fb --- /dev/null +++ b/src/views/system/area/listArea.vue @@ -0,0 +1,170 @@ + + + + + diff --git a/src/views/system/log/list.log.vue b/src/views/system/log/list.log.vue deleted file mode 100644 index 8c035ca..0000000 --- a/src/views/system/log/list.log.vue +++ /dev/null @@ -1,205 +0,0 @@ - - - - - - - diff --git a/src/views/system/log/listErrorLog.vue b/src/views/system/log/listErrorLog.vue index ce05c27..9256771 100644 --- a/src/views/system/log/listErrorLog.vue +++ b/src/views/system/log/listErrorLog.vue @@ -79,7 +79,7 @@ } // 页数发生变化后的操作,可能是页码变化,可能是每页容量变化,此函数必写 -const changePage = (val: any) => { +const changePage = (val: { size: number; page: number }) => { if (val && val.size) { listQuery.limit = val.size } diff --git a/src/views/system/log/listLog.vue b/src/views/system/log/listLog.vue new file mode 100644 index 0000000..745c63d --- /dev/null +++ b/src/views/system/log/listLog.vue @@ -0,0 +1,205 @@ + + + + + + + diff --git a/src/views/system/log/loginLog.vue b/src/views/system/log/loginLog.vue index 904f51c..30dc2c1 100644 --- a/src/views/system/log/loginLog.vue +++ b/src/views/system/log/loginLog.vue @@ -95,7 +95,7 @@ } // 页数发生变化后的操作,可能是页码变化,可能是每页容量变化,此函数必写 -const changePage = (val: any) => { +const changePage = (val: { size: number; page: number }) => { if (val && val.size) { listQuery.limit = val.size } diff --git a/src/views/system/tenant/list.tenant.vue b/src/views/system/tenant/list.tenant.vue index 20256b0..eebf1df 100644 --- a/src/views/system/tenant/list.tenant.vue +++ b/src/views/system/tenant/list.tenant.vue @@ -126,7 +126,7 @@ /> - - - - + + +