Commit 45e33ff9 authored by renjintao's avatar renjintao

userName

parent 9132db3b
......@@ -101,7 +101,7 @@ export default {
methods: {
initial() {
this.bugForm.pagePath = window.location.href
this.bugForm.createor = localStorage.getItem('userName')
this.bugForm.createor = this.$store.state.userInfo.userName
},
//初始化编辑信息
editeInfo(value) {
......@@ -150,7 +150,7 @@ export default {
pagePath: window.location.href,
content: '',
imgPaths: [],
createor: localStorage.getItem('userName'),
createor: this.$store.state.userInfo.userName,
level: 1,
name: ''
}
......
......@@ -349,7 +349,7 @@ export default {
//修改事件
addSave() {
let param = this.$refs.edit.addBugInfo()
param.auditUser = localStorage.getItem('userName')
param.auditUser = this.$store.state.userInfo.userName
if (param.id != null) {
//增加确定
this.$http.bug.createorupdate(param).then((res) => {
......@@ -373,7 +373,7 @@ export default {
//确定/关闭操作
detailSave() {
let param = this.$refs.detail.addBugInfo()
param.auditUser = localStorage.getItem('userName')
param.auditUser = this.$store.state.userInfo.userName
param.ids = [param.id]
if (param.id != null) {
//增加确定
......@@ -398,7 +398,7 @@ export default {
} else {
param = this.$refs.detail.addBugInfo()
}
param.auditUser = localStorage.getItem('userName')
param.auditUser = this.$store.state.userInfo.userName
param.ids = [param.id]
param.statusNew = 5
if (param.id != null) {
......@@ -440,7 +440,7 @@ export default {
//this.showBt = false
this.selectBatch = 100
}
this.listBatch.auditUser = localStorage.getItem('userName')
this.listBatch.auditUser = this.$store.state.userInfo.userName
},
//批量操作
statuChange(value) {
......
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