diff --git a/constant/url.js b/constant/url.js index 07f1116..96b7575 100755 --- a/constant/url.js +++ b/constant/url.js @@ -119,7 +119,7 @@ export default { queryRoomRenovationRecord: baseUrl + "app/roomRenovation/queryRoomRenovationRecord", queryRoomRenovationRecordDetail: baseUrl + "app/roomRenovation/queryRoomRenovationRecordDetail", queryContract: baseUrl + "app/contract/queryContract", - queryQuestionAnswer: baseUrl + "app/questionAnswer/queryQuestionAnswer", + queryQuestionAnswer: baseUrl + "app/question.queryOwnerQuestionAnswer", queryQuestionAnswerTitle: baseUrl + "app/questionAnswer/queryQuestionAnswerTitle", saveUserQuestionAnswerValue: baseUrl + "app/userQuestionAnswer/saveUserQuestionAnswerValue", listMachineTranslates: baseUrl + "app/machineTranslate.listMachineTranslates", diff --git a/pages/questionAnswer/questionAnswer.vue b/pages/questionAnswer/questionAnswer.vue index 1eab165..317cdde 100644 --- a/pages/questionAnswer/questionAnswer.vue +++ b/pages/questionAnswer/questionAnswer.vue @@ -55,11 +55,7 @@ let that = this; that.communityId = context.getCurrentCommunity().communityId; that.userId = context.getUserInfo().userId; - getProperty() - .then(function(_property) { - that.storeId = _property.storeId; - that._queryQuestionAnswer(); - }) + this._queryQuestionAnswer(); }, methods: { _queryQuestionAnswer: function(){ @@ -67,11 +63,8 @@ queryQuestionAnswer({ page:1, row:50, - qaTypes:'1001,3003', - objType:'3306', + qaType:'3003', communityId: that.communityId, - userId: that.userId, - storeId: that.storeId }) .then(_data=>{ _data.data.forEach(function(item, index) {