Commit 7553a06c authored by renjintao's avatar renjintao

uerId

parent 334f552d
......@@ -43,7 +43,7 @@ export default {
components: {},
data() {
return {
currentUserId: JSON.parse(sessionStorage.getItem('userInfo')).userId,
currentUserId: 0,
processTitle: '审批流程',
dataImmut: [],
dataMut: [],
......@@ -60,6 +60,7 @@ export default {
}
},
created() {
this.currentUserId=this.$store.state.userInfo.userId
this.load(this.schemaIdVal)
},
methods: {
......
......@@ -95,7 +95,6 @@
import Api from '../user/api'
import avatar from '@/assets/images/avatar.png'
import inputFiles from '@/components/page/inputFile.vue'
var userId = JSON.parse(sessionStorage.getItem('userInfo')).userId
export default {
components: {
inputFiles
......@@ -104,6 +103,7 @@ export default {
return {
parms: 'app=user&eid=23&name=avatarUrl',
cardWidth: '600px',
userId:0,
pwdModel: {
id: null,
oldPwd: '',
......@@ -142,6 +142,7 @@ export default {
}
},
created() {
this.userId=this.$store.state.userInfo.userId
this.cardWidth = window.innerWidth - 620 + 'px'
},
async fetch({ store, params }) {
......
......@@ -145,7 +145,7 @@ export default {
},
data() {
return {
currentUserId: JSON.parse(sessionStorage.getItem('userInfo')).userId,
currentUserId: 0,
formMyCheck: {
radioSp: '通过',
comment: '',
......@@ -196,6 +196,7 @@ export default {
await store.dispatch('loadDictionary') // 加载数据字典
},
created() {
this.currentUserId=this.$store.state.userInfo.userId
this.detailId = this.$http.common.getquerystring('id')
this.footerStatu = this.$http.common.getquerystring('statu')
this.getDetailInfos(this.detailId)
......
......@@ -84,7 +84,7 @@ export default {
},
data() {
return {
currentUserId: JSON.parse(sessionStorage.getItem('userInfo')).userId,
currentUserId: 0,
formMyCheck: {
radioSp: '通过',
comment: '',
......@@ -134,6 +134,7 @@ export default {
await store.dispatch('loadDictionary') // 加载数据字典
},
created() {
this.currentUserId=this.$store.state.userInfo.userId
this.detailId = this.$http.common.getquerystring('id')
this.footerStatu = this.$http.common.getquerystring('statu')
this.getDetailInfos(this.detailId)
......
......@@ -84,7 +84,7 @@ export default {
},
data() {
return {
currentUserId: JSON.parse(sessionStorage.getItem('userInfo')).userId,
currentUserId: 0,
formMyCheck: {
radioSp: '通过',
comment: '',
......@@ -134,6 +134,7 @@ export default {
await store.dispatch('loadDictionary') // 加载数据字典
},
created() {
this.currentUserId=this.$store.state.userInfo.userId
this.detailId = this.$http.common.getquerystring('id')
this.footerStatu = this.$http.common.getquerystring('statu')
this.getDetailInfos(this.detailId)
......
......@@ -84,7 +84,7 @@ export default {
},
data() {
return {
currentUserId: JSON.parse(sessionStorage.getItem('userInfo')).userId,
currentUserId: 0,
formMyCheck: {
radioSp: '通过',
comment: '',
......@@ -134,6 +134,7 @@ export default {
await store.dispatch('loadDictionary') // 加载数据字典
},
created() {
this.currentUserId=this.$store.state.userInfo.userId
this.detailId = this.$http.common.getquerystring('id')
this.footerStatu = this.$http.common.getquerystring('statu')
this.getDetailInfos(this.detailId)
......
......@@ -98,7 +98,7 @@ export default {
},
data() {
return {
currentUserId: JSON.parse(sessionStorage.getItem('userInfo')).userId,
currentUserId: 0,
formMyCheck: {
radioSp: '通过',
comment: '',
......@@ -146,6 +146,7 @@ export default {
await store.dispatch('loadDictionary') // 加载数据字典
},
created() {
this.currentUserId=this.$store.state.userInfo.userId
this.detailId = this.$http.common.getquerystring('id')
this.footerStatu = this.$http.common.getquerystring('statu')
this.getDetailInfos(this.detailId)
......
......@@ -97,7 +97,7 @@ export default {
},
data() {
return {
currentUserId: JSON.parse(sessionStorage.getItem('userInfo')).userId,
currentUserId: 0,
formMyCheck: {
radioSp: '通过',
comment: '',
......@@ -145,6 +145,7 @@ export default {
await store.dispatch('loadDictionary') // 加载数据字典
},
created() {
this.currentUserId=this.$store.state.userInfo.userId
this.detailId = this.$http.common.getquerystring('id')
this.footerStatu = this.$http.common.getquerystring('statu')
this.getDetailInfos(this.detailId)
......
......@@ -84,7 +84,7 @@ export default {
},
data() {
return {
currentUserId: JSON.parse(sessionStorage.getItem('userInfo')).userId,
currentUserId:0,
formMyCheck: {
radioSp: '通过',
comment: '',
......@@ -116,6 +116,7 @@ export default {
await store.dispatch('loadDictionary') // 加载数据字典
},
created() {
this.currentUserId=this.$store.state.userInfo.userId
this.detailId = this.$http.common.getquerystring('id')
this.footerStatu = this.$http.common.getquerystring('statu')
this.getDetailInfos(this.detailId)
......
......@@ -131,7 +131,7 @@ export default {
},
data() {
return {
currentUserId: JSON.parse(sessionStorage.getItem('userInfo')).userId,
currentUserId: 0,
formMyCheck: {
radioSp: '通过',
comment: '',
......@@ -181,6 +181,7 @@ export default {
await store.dispatch('loadDictionary') // 加载数据字典
},
created() {
this.currentUserId=this.$store.state.userInfo.userId
this.detailId = this.$http.common.getquerystring('id')
this.footerStatu = this.$http.common.getquerystring('statu')
console.log(this.detailId)
......
......@@ -155,7 +155,7 @@ export default {
},
data() {
return {
currentUserId: JSON.parse(sessionStorage.getItem('userInfo')).userId,
currentUserId:0,
formMyCheck: {
radioSp: '通过',
comment: '',
......@@ -205,6 +205,7 @@ export default {
await store.dispatch('loadDictionary') // 加载数据字典
},
created() {
this.currentUserId=this.$store.state.userInfo.userId
this.detailId = this.$http.common.getquerystring('id')
this.footerStatu = this.$http.common.getquerystring('statu')
this.getDetailInfos(this.detailId)
......
......@@ -156,7 +156,7 @@ export default {
},
data() {
return {
currentUserId: JSON.parse(sessionStorage.getItem('userInfo')).userId,
currentUserId: 0,
formMyCheck: {
radioSp: '通过',
comment: '',
......@@ -214,6 +214,7 @@ export default {
await store.dispatch('loadDictionary') // 加载数据字典
},
created() {
this.currentUserId=this.$store.state.userInfo.userId
this.detailId = this.$http.common.getquerystring('id')
this.footerStatu = this.$http.common.getquerystring('statu')
console.log(this.footerStatu)
......
......@@ -83,7 +83,7 @@ export default {
},
data() {
return {
currentUserId: JSON.parse(sessionStorage.getItem('userInfo')).userId,
currentUserId: 0,
formMyCheck: {
radioSp: '通过',
comment: '',
......@@ -133,6 +133,7 @@ export default {
await store.dispatch('loadDictionary') // 加载数据字典
},
created() {
this.currentUserId=this.$store.state.userInfo.userId
this.detailId = this.$http.common.getquerystring('id')
this.footerStatu = this.$http.common.getquerystring('statu')
this.getDetailInfos(this.detailId)
......
......@@ -96,7 +96,7 @@ export default {
},
data() {
return {
currentUserId: JSON.parse(sessionStorage.getItem('userInfo')).userId,
currentUserId: 0,
formMyCheck: {
radioSp: '通过',
comment: '',
......@@ -132,6 +132,7 @@ export default {
},
created() {
this.getDetailInfos(this.idVal)
this.currentUserId=this.$store.state.userInfo.userId
},
methods: {
nextCheckOk() {
......
......@@ -59,7 +59,7 @@ export default {
components: {},
data() {
return {
currentUserId: JSON.parse(sessionStorage.getItem('userInfo')).userId,
currentUserId: 0,
processTitle: '审批流程',
currentNodeId: null,
dataImmut: [],
......@@ -129,6 +129,7 @@ export default {
}
},
created() {
this.currentUserId=this.$store.state.userInfo.userId
this.dataImmut = []
this.dataMut = []
......
......@@ -66,10 +66,8 @@ export default {
data() {
return {
entity: {
creator: parseInt(
JSON.parse(sessionStorage.getItem('userInfo')).userId
),
creatorUserId: JSON.parse(sessionStorage.getItem('userInfo')).userId
creator:"",
creatorUserId:0
},
rules: {
storeTitle: [{ required: true, message: '请选择库位', trigger: 'blur' }]
......@@ -174,6 +172,10 @@ export default {
}
}
},
created() {
this.creator = this.$store.state.userInfo.name
this.creatorUserId = this.$store.state.userInfo.userId
},
methods: {
handleSubmit() {
let listTemp = []
......
......@@ -66,10 +66,8 @@ export default {
data() {
return {
entity: {
creator: parseInt(
JSON.parse(sessionStorage.getItem('userInfo')).userId
),
creatorUserId: JSON.parse(sessionStorage.getItem('userInfo')).userId
creator:"",
creatorUserId: 0
},
conditions: {
storeId: { op: 'Equal', value: null },
......@@ -166,6 +164,10 @@ export default {
}
}
},
created() {
this.creator = this.$store.state.userInfo.name
this.creatorUserId = this.$store.state.userInfo.userId
},
methods: {
handleSubmit() {
let listTemp = []
......
......@@ -66,10 +66,8 @@ export default {
data() {
return {
entity: {
creator: parseInt(
JSON.parse(sessionStorage.getItem('userInfo')).userId
),
creatorUserId: JSON.parse(sessionStorage.getItem('userInfo')).userId
creator: '',
creatorUserId: 0
},
conditions: {
storeId: { op: 'Equal', value: null },
......@@ -167,6 +165,10 @@ export default {
}
}
},
created() {
this.creator = this.$store.state.userInfo.name
this.creatorUserId = this.$store.state.userInfo.userId
},
methods: {
handleSubmit() {
let listTemp = []
......
......@@ -974,7 +974,7 @@ export default {
}
this.$refs.routingchangeorder.flag = 0
this.$refs.routingchangeorder.routing_header_Id = this.headerSelected.id
var userId = JSON.parse(sessionStorage.getItem('userInfo')).userId
var userId = this.$store.state.userInfo.userId
let parma = {
Id: userId
}
......
......@@ -935,7 +935,7 @@ export default {
}
this.$refs.routingchangeorder.flag = 0
this.$refs.routingchangeorder.routing_header_Id = this.headerSelected.id
var userId = JSON.parse(sessionStorage.getItem('userInfo')).userId
var userId =this.$store.state.userInfo.userId
let parma = {
Id: userId
}
......
......@@ -66,10 +66,8 @@ export default {
data() {
return {
entity: {
creator: parseInt(
JSON.parse(sessionStorage.getItem('userInfo')).userId
),
creatorUserId: JSON.parse(sessionStorage.getItem('userInfo')).userId
creator: '',
creatorUserId: 0
},
rules: {
storeTitle: [{ required: true, message: '请选择库位', trigger: 'blur' }]
......@@ -174,6 +172,10 @@ export default {
}
}
},
created() {
this.creator = this.$store.state.userInfo.name
this.creatorUserId = this.$store.state.userInfo.userId
},
methods: {
handleSubmit() {
let listTemp = []
......
......@@ -66,10 +66,8 @@ export default {
data() {
return {
entity: {
creator: parseInt(
JSON.parse(sessionStorage.getItem('userInfo')).userId
),
creatorUserId: JSON.parse(sessionStorage.getItem('userInfo')).userId
creator:'',
creatorUserId: 0
},
conditions: {
storeId: { op: 'Equal', value: null },
......@@ -166,6 +164,10 @@ export default {
}
}
},
created() {
this.creator = this.$store.state.userInfo.name
this.creatorUserId = this.$store.state.userInfo.userId
},
methods: {
handleSubmit() {
let listTemp = []
......
......@@ -66,10 +66,8 @@ export default {
data() {
return {
entity: {
creator: parseInt(
JSON.parse(sessionStorage.getItem('userInfo')).userId
),
creatorUserId: JSON.parse(sessionStorage.getItem('userInfo')).userId
creator: '',
creatorUserId:0
},
conditions: {
storeId: { op: 'Equal', value: null },
......@@ -167,6 +165,10 @@ export default {
}
}
},
created() {
this.creator = this.$store.state.userInfo.name
this.creatorUserId = this.$store.state.userInfo.userId
},
methods: {
handleSubmit() {
let listTemp = []
......
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