Commit 3fcff1d2 authored by renjintao's avatar renjintao

userId

parent da8e8981
...@@ -330,9 +330,7 @@ export default { ...@@ -330,9 +330,7 @@ export default {
//选项卡切换 //选项卡切换
tab(data) { tab(data) {
if (data == '0') { if (data == '0') {
this.easySearch.creatorUserId.value = JSON.parse( this.easySearch.creatorUserId.value = this.$store.state.userInfo.userId
sessionStorage.getItem('userInfo')
).userId
} else { } else {
this.easySearch.creatorUserId.value = null this.easySearch.creatorUserId.value = null
} }
...@@ -349,7 +347,7 @@ export default { ...@@ -349,7 +347,7 @@ export default {
//修改事件 //修改事件
addSave() { addSave() {
let param = this.$refs.edit.addBugInfo() let param = this.$refs.edit.addBugInfo()
param.auditUser = localStorage.getItem('userName') param.auditUser = this.$store.state.userInfo.name
if (param.id != null) { if (param.id != null) {
//增加确定 //增加确定
this.$http.bug.createorupdate(param).then((res) => { this.$http.bug.createorupdate(param).then((res) => {
......
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