diff --git a/src/api/race.js b/src/api/race.js index 7e4e43cc2..246082afc 100644 --- a/src/api/race.js +++ b/src/api/race.js @@ -41,3 +41,10 @@ export function importQuestionBand(data, companyId) { data }); } +/** 查询公司下题目类型数量 */ +export function selectQuestionTypeNum(companyId) { + return request({ + url: `/api/questionBank/type/number?companyId=${companyId}`, + method: 'get' + }); +} diff --git a/src/views/system/questionsRuleManage/add.vue b/src/views/system/questionsRuleManage/add.vue index e2385ddb4..4bea87bff 100644 --- a/src/views/system/questionsRuleManage/add.vue +++ b/src/views/system/questionsRuleManage/add.vue @@ -1,6 +1,21 @@