mirror of
https://gitee.com/java110/WechatOwnerService.git
synced 2026-02-23 21:36:38 +08:00
优化代码
This commit is contained in:
parent
5d87b1c9a0
commit
c523af1e9d
@ -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",
|
||||
|
||||
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user