修改传参

This commit is contained in:
zyn
2023-04-11 10:42:42 +08:00
parent c1829340fe
commit 1a137cb6fc
4 changed files with 8 additions and 4 deletions
@@ -44,7 +44,8 @@ export default {
}, },
getDetail(){ getDetail(){
this.$http.get('lawss/AskQuestions/getAskQuestionsByakId',{ this.$http.get('lawss/AskQuestions/getAskQuestionsByakId',{
id: this.attId id: this.attId,
userId: this.$store.getters.userInfo.userId
},{ },{
_this: this _this: this
}, res => { }, res => {
@@ -1724,7 +1724,8 @@ export default {
this.dataLoading = true this.dataLoading = true
sessionStorage.setItem('queId', this.activeQue) sessionStorage.setItem('queId', this.activeQue)
this.$http.get('lawss/AskQuestions/getAskQuestionsByakId',{ this.$http.get('lawss/AskQuestions/getAskQuestionsByakId',{
id: this.activeQue id: this.activeQue,
userId: this.$store.getters.userInfo.userId
},{ },{
_this: this _this: this
}, res => { }, res => {
@@ -691,7 +691,8 @@ export default {
console.log('row = ', row) console.log('row = ', row)
this.$http.get('lawss/AskQuestions/getAskQuestionsByakId',{ this.$http.get('lawss/AskQuestions/getAskQuestionsByakId',{
id: row.id, id: row.id,
state: 'yes' state: 'yes',
userId: this.$store.getters.userInfo.userId
},{ },{
_this: this _this: this
}, res => { }, res => {
@@ -1037,7 +1037,8 @@ export default {
sessionStorage.setItem('queId', this.activeQue) sessionStorage.setItem('queId', this.activeQue)
this.$http.get('lawss/AskQuestions/getAskQuestionsByakId',{ this.$http.get('lawss/AskQuestions/getAskQuestionsByakId',{
id: this.activeQue, id: this.activeQue,
state: 'yes' state: 'yes',
userId: this.$store.getters.userInfo.userId
},{ },{
_this: this _this: this
}, res => { }, res => {