mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-24 05:46:03 +08:00
加入题目
This commit is contained in:
parent
239046a4d9
commit
591eb00145
@ -12,6 +12,8 @@
|
||||
qaTitle: '',
|
||||
seq: '',
|
||||
qaId: '',
|
||||
objId: '',
|
||||
objType: '',
|
||||
titleValues: []
|
||||
}
|
||||
},
|
||||
@ -20,7 +22,7 @@
|
||||
},
|
||||
_initEvent: function () {
|
||||
vc.on('addQuestionAnswerTitle', 'openAddQuestionAnswerTitleModal', function (_param) {
|
||||
$that.addQuestionAnswerTitleInfo.qaId = _param.qaId;
|
||||
vc.copyObject(_param, $that.addQuestionAnswerTitleInfo);
|
||||
$('#addQuestionAnswerTitleModel').modal('show');
|
||||
});
|
||||
},
|
||||
@ -113,6 +115,8 @@
|
||||
qaTitle: '',
|
||||
seq: '',
|
||||
qaId: '',
|
||||
objId: '',
|
||||
objType: '',
|
||||
titleValues: []
|
||||
};
|
||||
},
|
||||
|
||||
@ -72,7 +72,7 @@
|
||||
|
||||
},
|
||||
_toQuestionAnswerTitle:function(_questionAnswer){
|
||||
vc.jumpToPage('/admin.html#/pages/property/questionAnswerTitleManage?qaId='+_questionAnswer.qaId)
|
||||
vc.jumpToPage('/admin.html#/pages/property/questionAnswerTitleManage?qaId='+_questionAnswer.qaId+"&objType="+_questionAnswer.objType+"&objId="+_questionAnswer.objId)
|
||||
},
|
||||
_moreCondition: function () {
|
||||
if (vc.component.questionAnswerManageInfo.moreCondition) {
|
||||
|
||||
@ -16,7 +16,9 @@
|
||||
titleType: '',
|
||||
qaTitle: '',
|
||||
titleId: '',
|
||||
qaId: ''
|
||||
qaId: '',
|
||||
objType: '',
|
||||
objId: ''
|
||||
|
||||
}
|
||||
}
|
||||
@ -24,6 +26,8 @@
|
||||
_initMethod: function () {
|
||||
let _qaId = vc.getParam('qaId');
|
||||
$that.questionAnswerTitleManageInfo.conditions.qaId = _qaId;
|
||||
$that.questionAnswerTitleManageInfo.conditions.objType = vc.getParam('objType');
|
||||
$that.questionAnswerTitleManageInfo.conditions.objId = vc.getParam('objId');
|
||||
vc.component._listQuestionAnswerTitles(DEFAULT_PAGE, DEFAULT_ROWS);
|
||||
},
|
||||
_initEvent: function () {
|
||||
@ -63,7 +67,9 @@
|
||||
},
|
||||
_openAddQuestionAnswerTitleModal: function () {
|
||||
vc.emit('addQuestionAnswerTitle', 'openAddQuestionAnswerTitleModal', {
|
||||
qaId: $that.questionAnswerTitleManageInfo.conditions.qaId
|
||||
qaId: $that.questionAnswerTitleManageInfo.conditions.qaId,
|
||||
objId: $that.questionAnswerTitleManageInfo.conditions.objId,
|
||||
objType: $that.questionAnswerTitleManageInfo.conditions.objType,
|
||||
});
|
||||
},
|
||||
_openEditQuestionAnswerTitleModel: function (_questionAnswerTitle) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user