|
|
@@ -110,17 +110,17 @@ |
|
|
|
}, |
|
|
|
created() { |
|
|
|
this.getUserInfo(); |
|
|
|
this.getList(); |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
getUserInfo() { |
|
|
|
getInfo().then(response => { |
|
|
|
this.nickName = response.user.nickName; |
|
|
|
this.phone = response.user.phonenumber; |
|
|
|
this.getList(response.user.userId); |
|
|
|
}); |
|
|
|
}, |
|
|
|
getList(){ |
|
|
|
listSurveyTask().then(response => { |
|
|
|
getList(userId){ |
|
|
|
listSurveyTask({userId: userId}).then(response => { |
|
|
|
this.surveyTask = response.data; |
|
|
|
}); |
|
|
|
}, |
|
|
|