Commit a95e870e by YuleiLan

统一时间字段。

parent dfa3a064
......@@ -33,7 +33,7 @@
</li>
<li class="list-group-item">
<svg-icon icon-class="date" /> 创建日期
<div class="pull-right">{{ user.createdAt }}</div>
<div class="pull-right">{{ user.create_time }}</div>
</li>
</ul>
</div>
......
......@@ -48,9 +48,9 @@
>{{ scope.row.status === '1' ? '停用' : '正常' }}</el-tag>
</template>
</el-table-column>
<el-table-column label="创建时间" align="center" prop="createdAt" width="200">
<el-table-column label="创建时间" align="center" prop="create_time" width="200">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.createdAt) }}</span>
<span>{{ parseTime(scope.row.create_time) }}</span>
</template>
</el-table-column>
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
......
......@@ -53,9 +53,9 @@
>{{ visibleFormat(scope.row) }}</el-tag>
</template>
</el-table-column>
<el-table-column label="创建时间" align="center" prop="createdAt" width="180">
<el-table-column label="创建时间" align="center" prop="create_time" width="180">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.createdAt) }}</span>
<span>{{ parseTime(scope.row.create_time) }}</span>
</template>
</el-table-column>
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="180">
......
......@@ -81,9 +81,9 @@
>{{ scope.row.status === '1' ? '停用' : '正常' }}</el-tag>
</template>
</el-table-column>
<el-table-column label="创建时间" align="center" prop="createdAt" width="180">
<el-table-column label="创建时间" align="center" prop="create_time" width="180">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.createdAt) }}</span>
<span>{{ parseTime(scope.row.create_time) }}</span>
</template>
</el-table-column>
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
......@@ -302,7 +302,7 @@ export default {
this.downloadLoading = true
import('@/vendor/Export2Excel').then(excel => {
const tHeader = ['岗位编号', '岗位编码', '岗位名称', '排序', '创建时间']
const filterVal = ['postId', 'postCode', 'postName', 'sort', 'createdAt']
const filterVal = ['postId', 'postCode', 'postName', 'sort', 'create_time']
const list = this.postList
const data = formatJson(filterVal, list)
excel.export_json_to_excel({
......
......@@ -97,9 +97,9 @@
/>
</template>
</el-table-column>
<el-table-column label="创建时间" align="center" prop="createdAt" width="180">
<el-table-column label="创建时间" align="center" prop="create_time" width="180">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.createdAt) }}</span>
<span>{{ parseTime(scope.row.create_time) }}</span>
</template>
</el-table-column>
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
......@@ -517,7 +517,7 @@ export default {
this.downloadLoading = true
import('@/vendor/Export2Excel').then(excel => {
const tHeader = ['角色编号', '角色名称', '权限字符', '显示顺序', '状态', '创建时间']
const filterVal = ['roleId', 'roleName', 'roleKey', 'roleSort', 'status', 'createdAt']
const filterVal = ['roleId', 'roleName', 'roleKey', 'roleSort', 'status', 'create_time']
const list = this.roleList
const data = formatJson(filterVal, list)
excel.export_json_to_excel({
......
......@@ -111,9 +111,9 @@
/>
</template>
</el-table-column>
<el-table-column label="创建时间" align="center" prop="createdAt" width="165">
<el-table-column label="创建时间" align="center" prop="create_time" width="165">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.createdAt) }}</span>
<span>{{ parseTime(scope.row.create_time) }}</span>
</template>
</el-table-column>
<el-table-column
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment