mirror of
https://gitee.com/java110/WechatOwnerService.git
synced 2026-06-12 10:00:57 +08:00
优化代码
This commit is contained in:
parent
5d87b1c9a0
commit
c523af1e9d
@ -119,7 +119,7 @@ export default {
|
|||||||
queryRoomRenovationRecord: baseUrl + "app/roomRenovation/queryRoomRenovationRecord",
|
queryRoomRenovationRecord: baseUrl + "app/roomRenovation/queryRoomRenovationRecord",
|
||||||
queryRoomRenovationRecordDetail: baseUrl + "app/roomRenovation/queryRoomRenovationRecordDetail",
|
queryRoomRenovationRecordDetail: baseUrl + "app/roomRenovation/queryRoomRenovationRecordDetail",
|
||||||
queryContract: baseUrl + "app/contract/queryContract",
|
queryContract: baseUrl + "app/contract/queryContract",
|
||||||
queryQuestionAnswer: baseUrl + "app/questionAnswer/queryQuestionAnswer",
|
queryQuestionAnswer: baseUrl + "app/question.queryOwnerQuestionAnswer",
|
||||||
queryQuestionAnswerTitle: baseUrl + "app/questionAnswer/queryQuestionAnswerTitle",
|
queryQuestionAnswerTitle: baseUrl + "app/questionAnswer/queryQuestionAnswerTitle",
|
||||||
saveUserQuestionAnswerValue: baseUrl + "app/userQuestionAnswer/saveUserQuestionAnswerValue",
|
saveUserQuestionAnswerValue: baseUrl + "app/userQuestionAnswer/saveUserQuestionAnswerValue",
|
||||||
listMachineTranslates: baseUrl + "app/machineTranslate.listMachineTranslates",
|
listMachineTranslates: baseUrl + "app/machineTranslate.listMachineTranslates",
|
||||||
|
|||||||
@ -55,11 +55,7 @@
|
|||||||
let that = this;
|
let that = this;
|
||||||
that.communityId = context.getCurrentCommunity().communityId;
|
that.communityId = context.getCurrentCommunity().communityId;
|
||||||
that.userId = context.getUserInfo().userId;
|
that.userId = context.getUserInfo().userId;
|
||||||
getProperty()
|
this._queryQuestionAnswer();
|
||||||
.then(function(_property) {
|
|
||||||
that.storeId = _property.storeId;
|
|
||||||
that._queryQuestionAnswer();
|
|
||||||
})
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
_queryQuestionAnswer: function(){
|
_queryQuestionAnswer: function(){
|
||||||
@ -67,11 +63,8 @@
|
|||||||
queryQuestionAnswer({
|
queryQuestionAnswer({
|
||||||
page:1,
|
page:1,
|
||||||
row:50,
|
row:50,
|
||||||
qaTypes:'1001,3003',
|
qaType:'3003',
|
||||||
objType:'3306',
|
|
||||||
communityId: that.communityId,
|
communityId: that.communityId,
|
||||||
userId: that.userId,
|
|
||||||
storeId: that.storeId
|
|
||||||
})
|
})
|
||||||
.then(_data=>{
|
.then(_data=>{
|
||||||
_data.data.forEach(function(item, index) {
|
_data.data.forEach(function(item, index) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user