Commit 3bdf8942 authored by 罗林杰's avatar 罗林杰

修改bug

parent db10617e
...@@ -379,7 +379,7 @@ ...@@ -379,7 +379,7 @@
</el-table-column> </el-table-column>
<el-table-column label="创建时间" prop="createDate" :show-overflow-tooltip="true" width="180"> <el-table-column label="创建时间" prop="createDate" :show-overflow-tooltip="true" width="180">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.createDate | transformDateByFormat('YYYY-MM-DD HH:mm') }}</span> <span>{{ scope.row.createDate | transformDateByFormat('YYYY-MM-DD HH:mm:ss') }}</span>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
......
...@@ -826,7 +826,6 @@ export default { ...@@ -826,7 +826,6 @@ export default {
// 取消按钮 // 取消按钮
cancel() { cancel() {
this.open = false this.open = false
this.showSecretData = true
this.reset() this.reset()
}, },
// 表单重置 // 表单重置
...@@ -888,6 +887,7 @@ export default { ...@@ -888,6 +887,7 @@ export default {
this.reset() this.reset()
const userId = row.businessId || this.ids const userId = row.businessId || this.ids
getUser(userId).then(response => { getUser(userId).then(response => {
this.showSecretData = true
this.open = true this.open = true
this.form = response.data this.form = response.data
const data = response.data.roleIds.split(',') const data = response.data.roleIds.split(',')
...@@ -897,7 +897,6 @@ export default { ...@@ -897,7 +897,6 @@ export default {
this.form.roleList.push(id) this.form.roleList.push(id)
}) })
// this.form.postId = response.data.deptId // this.form.postId = response.data.deptId
this.showSecretData = true
this.title = '修改用户' this.title = '修改用户'
}) })
// this.getChildrenDept(userId) // this.getChildrenDept(userId)
......
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 to comment