Commit d8baabf8 authored by xulili's avatar xulili

更换userid

parent d955f75d
...@@ -27,18 +27,20 @@ ...@@ -27,18 +27,20 @@
data() { data() {
return { return {
// clerkId: '2003160512400400000', // clerkId: '2003160512400400000',
clerkId: '2003160512400400000', clerkId: '',
messageList: [] messageList: []
} }
}, },
mounted() { mounted() {
this.clerkId = sessionStorage.getItem('clerkId') this.clerkId = sessionStorage.getItem('userId')
this.handleGetMessageByClerkId() this.handleGetMessageByClerkId()
}, },
methods: { methods: {
handleGetMessageByClerkId() { handleGetMessageByClerkId() {
let _this = this let _this = this
getMessageByClerkId({clerkId: _this.clerkId}) let requestRarams = {clerkId: _this.clerkId}
alert(JSON.stringify(requestRarams))
getMessageByClerkId(requestRarams)
.then(res => { .then(res => {
if (res.result == 'success') { if (res.result == 'success') {
_this.messageList = res.data _this.messageList = res.data
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
} }
}, },
mounted() { mounted() {
this.supervisorId = sessionStorage.getItem('clerkId') this.supervisorId = sessionStorage.getItem('userId')
this.getClerkInfoBySupervisorId() this.getClerkInfoBySupervisorId()
}, },
methods: { methods: {
......
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