Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
front-backend
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
framework
front-backend
Commits
fe24067a
Commit
fe24067a
authored
Dec 12, 2020
by
zhengjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[代码优化](v2.6):日期格式化返回,无需再进行转换
close
https://github.com/elunez/eladmin/issues/514
parent
1526db3d
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
20 additions
and
98 deletions
+20
-98
src/views/generator/index.vue
+1
-5
src/views/mnt/app/index.vue
+1
-5
src/views/mnt/database/index.vue
+1
-5
src/views/mnt/deploy/index.vue
+1
-5
src/views/mnt/deploy/sysRestore.vue
+1
-5
src/views/mnt/deployHistory/index.vue
+1
-5
src/views/mnt/server/index.vue
+1
-5
src/views/monitor/log/errorLog.vue
+1
-5
src/views/monitor/log/index.vue
+1
-5
src/views/monitor/online/index.vue
+1
-5
src/views/system/dept/index.vue
+1
-5
src/views/system/job/index.vue
+1
-5
src/views/system/menu/index.vue
+1
-5
src/views/system/role/index.vue
+1
-5
src/views/system/timing/index.vue
+1
-5
src/views/system/timing/log.vue
+1
-5
src/views/system/user/center.vue
+1
-3
src/views/system/user/index.vue
+1
-5
src/views/tools/storage/local/index.vue
+1
-5
src/views/tools/storage/qiniu/index.vue
+1
-5
No files found.
src/views/generator/index.vue
View file @
fe24067a
...
...
@@ -27,11 +27,7 @@
<el-table-column
:show-overflow-tooltip=
"true"
prop=
"engine"
label=
"数据库引擎"
/>
<el-table-column
:show-overflow-tooltip=
"true"
prop=
"coding"
label=
"字符编码集"
/>
<el-table-column
:show-overflow-tooltip=
"true"
prop=
"remark"
label=
"备注"
/>
<el-table-column
prop=
"createTime"
label=
"创建日期"
>
<template
slot-scope=
"scope"
>
<span>
{{
parseTime
(
scope
.
row
.
createTime
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"createTime"
label=
"创建日期"
/>
<el-table-column
label=
"操作"
width=
"160px"
align=
"center"
fixed=
"right"
>
<template
slot-scope=
"scope"
>
<el-button
size=
"mini"
style=
"margin-right: 2px"
type=
"text"
>
...
...
src/views/mnt/app/index.vue
View file @
fe24067a
...
...
@@ -59,11 +59,7 @@
<el-table-column
prop=
"uploadPath"
label=
"上传目录"
/>
<el-table-column
prop=
"deployPath"
label=
"部署目录"
/>
<el-table-column
prop=
"backupPath"
label=
"备份目录"
/>
<el-table-column
prop=
"createTime"
label=
"创建日期"
>
<template
slot-scope=
"scope"
>
<span>
{{
parseTime
(
scope
.
row
.
createTime
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"createTime"
label=
"创建日期"
/>
<el-table-column
v-if=
"checkPer['admin','app:edit','app:del']"
label=
"操作"
width=
"150px"
align=
"center"
>
<template
slot-scope=
"scope"
>
<udOperation
...
...
src/views/mnt/database/index.vue
View file @
fe24067a
...
...
@@ -51,11 +51,7 @@
<el-table-column
prop=
"name"
width=
"130px"
label=
"数据库名称"
/>
<el-table-column
prop=
"jdbcUrl"
label=
"连接地址"
/>
<el-table-column
prop=
"userName"
width=
"200px"
label=
"用户名"
/>
<el-table-column
prop=
"createTime"
width=
"200px"
label=
"创建日期"
>
<template
slot-scope=
"scope"
>
<span>
{{
parseTime
(
scope
.
row
.
createTime
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"createTime"
width=
"200px"
label=
"创建日期"
/>
<el-table-column
v-if=
"checkPer['admin','database:edit','database:del']"
label=
"操作"
width=
"150px"
align=
"center"
>
<template
slot-scope=
"scope"
>
<udOperation
...
...
src/views/mnt/deploy/index.vue
View file @
fe24067a
...
...
@@ -90,11 +90,7 @@
<el-table-column
type=
"selection"
width=
"55"
/>
<el-table-column
prop=
"app.name"
label=
"应用名称"
/>
<el-table-column
prop=
"servers"
label=
"服务器列表"
/>
<el-table-column
prop=
"createTime"
label=
"部署日期"
>
<
template
slot-scope=
"scope"
>
<span>
{{
parseTime
(
scope
.
row
.
createTime
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"createTime"
label=
"部署日期"
/>
<el-table-column
v-if=
"checkPer['admin','deploy:edit','deploy:del']"
label=
"操作"
width=
"150px"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<udOperation
...
...
src/views/mnt/deploy/sysRestore.vue
View file @
fe24067a
...
...
@@ -15,11 +15,7 @@
</el-table-column>
<el-table-column
prop=
"appName"
label=
"应用名称"
/>
<el-table-column
prop=
"ip"
label=
"部署IP"
/>
<el-table-column
prop=
"deployDate"
label=
"部署时间"
>
<
template
slot-scope=
"scope"
>
<span>
{{
parseTime
(
scope
.
row
.
deployDate
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"deployDate"
label=
"部署时间"
/>
<el-table-column
prop=
"deployUser"
label=
"部署人员"
/>
</el-table>
</el-form>
...
...
src/views/mnt/deployHistory/index.vue
View file @
fe24067a
...
...
@@ -16,11 +16,7 @@
<el-table-column
prop=
"appName"
label=
"应用名称"
/>
<el-table-column
prop=
"ip"
label=
"部署IP"
/>
<el-table-column
prop=
"deployUser"
label=
"部署人员"
/>
<el-table-column
prop=
"deployDate"
label=
"部署时间"
>
<template
slot-scope=
"scope"
>
<span>
{{
parseTime
(
scope
.
row
.
deployDate
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"deployDate"
label=
"部署时间"
/>
<el-table-column
v-if=
"checkPer['admin','deployHistory:del']"
label=
"操作"
width=
"100px"
align=
"center"
>
<template
slot-scope=
"scope"
>
<el-popover
...
...
src/views/mnt/server/index.vue
View file @
fe24067a
...
...
@@ -42,11 +42,7 @@
<el-table-column
prop=
"ip"
label=
"IP"
/>
<el-table-column
prop=
"port"
label=
"端口"
/>
<el-table-column
prop=
"account"
label=
"账号"
/>
<el-table-column
prop=
"createTime"
label=
"创建日期"
>
<template
slot-scope=
"scope"
>
<span>
{{
parseTime
(
scope
.
row
.
createTime
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"createTime"
label=
"创建日期"
/>
<el-table-column
v-if=
"checkPer['admin','serverDeploy:edit','serverDeploy:del']"
label=
"操作"
width=
"150px"
align=
"center"
>
<template
slot-scope=
"scope"
>
<udOperation
...
...
src/views/monitor/log/errorLog.vue
View file @
fe24067a
...
...
@@ -35,11 +35,7 @@
<el-table-column
:show-overflow-tooltip=
"true"
prop=
"address"
label=
"IP来源"
/>
<el-table-column
prop=
"description"
label=
"描述"
/>
<el-table-column
prop=
"browser"
label=
"浏览器"
/>
<el-table-column
prop=
"createTime"
label=
"创建日期"
>
<
template
slot-scope=
"scope"
>
<span>
{{
parseTime
(
scope
.
row
.
createTime
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"createTime"
label=
"创建日期"
/>
<el-table-column
label=
"异常详情"
width=
"100px"
>
<
template
slot-scope=
"scope"
>
<el-button
size=
"mini"
type=
"text"
@
click=
"info(scope.row.id)"
>
查看详情
</el-button>
...
...
src/views/monitor/log/index.vue
View file @
fe24067a
...
...
@@ -42,11 +42,7 @@
<el-tag
v-else
type=
"danger"
>
{{
scope
.
row
.
time
}}
ms
</el-tag>
</
template
>
</el-table-column>
<el-table-column
prop=
"createTime"
label=
"创建日期"
width=
"180px"
>
<
template
slot-scope=
"scope"
>
<span>
{{
parseTime
(
scope
.
row
.
createTime
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"createTime"
label=
"创建日期"
width=
"180px"
/>
</el-table>
<!--分页组件-->
<pagination
/>
...
...
src/views/monitor/online/index.vue
View file @
fe24067a
...
...
@@ -29,11 +29,7 @@
<el-table-column
prop=
"ip"
label=
"登录IP"
/>
<el-table-column
:show-overflow-tooltip=
"true"
prop=
"address"
label=
"登录地点"
/>
<el-table-column
prop=
"browser"
label=
"浏览器"
/>
<el-table-column
prop=
"loginTime"
label=
"登录时间"
>
<template
slot-scope=
"scope"
>
<span>
{{
parseTime
(
scope
.
row
.
loginTime
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"loginTime"
label=
"登录时间"
/>
<el-table-column
label=
"操作"
width=
"70px"
fixed=
"right"
>
<template
slot-scope=
"scope"
>
<el-popover
...
...
src/views/system/dept/index.vue
View file @
fe24067a
...
...
@@ -79,11 +79,7 @@
/>
</
template
>
</el-table-column>
<el-table-column
prop=
"createTime"
label=
"创建日期"
>
<
template
slot-scope=
"scope"
>
<span>
{{
parseTime
(
scope
.
row
.
createTime
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"createTime"
label=
"创建日期"
/>
<el-table-column
v-if=
"checkPer['admin','dept:edit','dept:del']"
label=
"操作"
width=
"130px"
align=
"center"
fixed=
"right"
>
<
template
slot-scope=
"scope"
>
<udOperation
...
...
src/views/system/job/index.vue
View file @
fe24067a
...
...
@@ -24,11 +24,7 @@
/>
</
template
>
</el-table-column>
<el-table-column
prop=
"createTime"
label=
"创建日期"
>
<
template
slot-scope=
"scope"
>
<span>
{{
parseTime
(
scope
.
row
.
createTime
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"createTime"
label=
"创建日期"
/>
<!-- 编辑与删除 -->
<el-table-column
v-if=
"checkPer(['admin','job:edit','job:del'])"
...
...
src/views/system/menu/index.vue
View file @
fe24067a
...
...
@@ -133,11 +133,7 @@
<span
v-else
>
是
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"createTime"
label=
"创建日期"
width=
"135px"
>
<
template
slot-scope=
"scope"
>
<span>
{{
parseTime
(
scope
.
row
.
createTime
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"createTime"
label=
"创建日期"
width=
"135px"
/>
<el-table-column
v-if=
"checkPer['admin','menu:edit','menu:del']"
label=
"操作"
width=
"130px"
align=
"center"
fixed=
"right"
>
<
template
slot-scope=
"scope"
>
<udOperation
...
...
src/views/system/role/index.vue
View file @
fe24067a
...
...
@@ -61,11 +61,7 @@
<el-table-column
prop=
"dataScope"
label=
"数据权限"
/>
<el-table-column
prop=
"level"
label=
"角色级别"
/>
<el-table-column
:show-overflow-tooltip=
"true"
prop=
"description"
label=
"描述"
/>
<el-table-column
:show-overflow-tooltip=
"true"
width=
"135px"
prop=
"createTime"
label=
"创建日期"
>
<template
slot-scope=
"scope"
>
<span>
{{
parseTime
(
scope
.
row
.
createTime
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
:show-overflow-tooltip=
"true"
width=
"135px"
prop=
"createTime"
label=
"创建日期"
/>
<el-table-column
v-if=
"checkPer['admin','roles:edit','roles:del']"
label=
"操作"
width=
"130px"
align=
"center"
fixed=
"right"
>
<template
slot-scope=
"scope"
>
<udOperation
...
...
src/views/system/timing/index.vue
View file @
fe24067a
...
...
@@ -84,11 +84,7 @@
</
template
>
</el-table-column>
<el-table-column
:show-overflow-tooltip=
"true"
prop=
"description"
width=
"150px"
label=
"描述"
/>
<el-table-column
:show-overflow-tooltip=
"true"
prop=
"createTime"
width=
"136px"
label=
"创建日期"
>
<
template
slot-scope=
"scope"
>
<span>
{{
parseTime
(
scope
.
row
.
createTime
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
:show-overflow-tooltip=
"true"
prop=
"createTime"
width=
"136px"
label=
"创建日期"
/>
<el-table-column
v-if=
"checkPer['admin','timing:edit','timing:del']"
label=
"操作"
width=
"170px"
align=
"center"
fixed=
"right"
>
<
template
slot-scope=
"scope"
>
<el-button
v-permission=
"['admin','timing:edit']"
size=
"mini"
style=
"margin-right: 3px;"
type=
"text"
@
click=
"crud.toEdit(scope.row)"
>
编辑
</el-button>
...
...
src/views/system/timing/log.vue
View file @
fe24067a
...
...
@@ -38,11 +38,7 @@
<el-tag
:type=
"scope.row.isSuccess ? 'success' : 'danger'"
>
{{
scope
.
row
.
isSuccess
?
'成功'
:
'失败'
}}
</el-tag>
</
template
>
</el-table-column>
<el-table-column
:show-overflow-tooltip=
"true"
prop=
"createTime"
label=
"创建日期"
>
<
template
slot-scope=
"scope"
>
<span>
{{
parseTime
(
scope
.
row
.
createTime
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
:show-overflow-tooltip=
"true"
prop=
"createTime"
label=
"创建日期"
/>
</el-table>
<el-dialog
:visible
.
sync=
"errorDialog"
append-to-body
title=
"异常详情"
width=
"85%"
>
<pre
v-highlightjs=
"errorInfo"
><code
class=
"java"
/></pre>
...
...
src/views/system/user/center.vue
View file @
fe24067a
...
...
@@ -81,7 +81,7 @@
<div
style=
"display:inline-block;float: right;cursor: pointer"
@
click=
"init"
>
创建日期
<i
class=
"el-icon-refresh"
style=
"margin-left: 40px"
/></div>
</
template
>
<
template
slot-scope=
"scope"
>
<span>
{{
parseTime
(
scope
.
row
.
createTime
)
}}
</span>
<span>
{{
scope
.
row
.
createTime
}}
</span>
</
template
>
</el-table-column>
</el-table>
...
...
@@ -112,7 +112,6 @@ import updateEmail from './center/updateEmail'
import
{
getToken
}
from
'@/utils/auth'
import
store
from
'@/store'
import
{
isvalidPhone
}
from
'@/utils/validate'
import
{
parseTime
}
from
'@/utils/index'
import
crud
from
'@/mixins/crud'
import
{
editUser
}
from
'@/api/system/user'
import
Avatar
from
'@/assets/images/avatar.png'
...
...
@@ -163,7 +162,6 @@ export default {
store
.
dispatch
(
'GetInfo'
).
then
(()
=>
{})
},
methods
:
{
parseTime
,
toggleShow
()
{
this
.
show
=
!
this
.
show
},
...
...
src/views/system/user/index.vue
View file @
fe24067a
...
...
@@ -163,11 +163,7 @@
/>
</
template
>
</el-table-column>
<el-table-column
:show-overflow-tooltip=
"true"
prop=
"createTime"
width=
"135"
label=
"创建日期"
>
<
template
slot-scope=
"scope"
>
<span>
{{
parseTime
(
scope
.
row
.
createTime
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
:show-overflow-tooltip=
"true"
prop=
"createTime"
width=
"135"
label=
"创建日期"
/>
<el-table-column
v-if=
"checkPer['admin','user:edit','user:del']"
label=
"操作"
...
...
src/views/tools/storage/local/index.vue
View file @
fe24067a
...
...
@@ -94,11 +94,7 @@
<el-table-column
prop=
"type"
label=
"类别"
/>
<el-table-column
prop=
"size"
label=
"大小"
/>
<el-table-column
prop=
"operate"
label=
"操作人"
/>
<el-table-column
prop=
"createTime"
label=
"创建日期"
>
<
template
slot-scope=
"scope"
>
<span>
{{
parseTime
(
scope
.
row
.
createTime
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"createTime"
label=
"创建日期"
/>
</el-table>
<!--分页组件-->
<pagination
/>
...
...
src/views/tools/storage/qiniu/index.vue
View file @
fe24067a
...
...
@@ -57,11 +57,7 @@
<el-table-column
prop=
"bucket"
label=
"空间名称"
/>
<el-table-column
prop=
"size"
label=
"文件大小"
/>
<el-table-column
prop=
"type"
label=
"空间类型"
/>
<el-table-column
prop=
"updateTime"
label=
"创建日期"
>
<
template
slot-scope=
"scope"
>
<span>
{{
parseTime
(
scope
.
row
.
updateTime
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"updateTime"
label=
"创建日期"
/>
</el-table>
<!--分页组件-->
<pagination
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment