Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cdsf-static-bg
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
姜雷
cdsf-static-bg
Commits
9b7de110
Commit
9b7de110
authored
Oct 10, 2018
by
姜雷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
生日为空时不处理日期
parent
15efa8c8
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
user.vue
src/containers/management/user/user.vue
+1
-1
index.js
src/router/index.js
+1
-0
No files found.
src/containers/management/user/user.vue
View file @
9b7de110
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
</el-table-column>
</el-table-column>
<el-table-column
prop=
"sex"
:formatter=
"getSexValue"
label=
"性别"
min-width=
"50"
>
<el-table-column
prop=
"sex"
:formatter=
"getSexValue"
label=
"性别"
min-width=
"50"
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"birthday"
:formatter=
"(c,r,val) =>
$formatDate(new Date(val),'yyyy-MM-dd')
"
label=
"出生年月"
min-width=
"80"
>
<el-table-column
prop=
"birthday"
:formatter=
"(c,r,val) =>
val ? $formatDate(new Date(val),'yyyy-MM-dd') : ''
"
label=
"出生年月"
min-width=
"80"
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"cellphone"
label=
"手机号"
min-width=
"100"
>
<el-table-column
prop=
"cellphone"
label=
"手机号"
min-width=
"100"
>
</el-table-column>
</el-table-column>
...
...
src/router/index.js
View file @
9b7de110
...
@@ -23,6 +23,7 @@ export const constantRouterMap = [
...
@@ -23,6 +23,7 @@ export const constantRouterMap = [
name
:
'home'
,
name
:
'home'
,
redirect
:
'home'
,
redirect
:
'home'
,
meta
:
{
title
:
'首页'
,
icon
:
'example'
},
meta
:
{
title
:
'首页'
,
icon
:
'example'
},
hidden
:
true
,
children
:
[
children
:
[
{
{
path
:
'home'
,
path
:
'home'
,
...
...
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