eli-video-interview 1.2.40-alpha.6 → 1.2.40-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -21,7 +21,7 @@ export var ADD_QUESTION_TYPE_LIST = [
|
|
|
21
21
|
{
|
|
22
22
|
type: EVALUATION,
|
|
23
23
|
hide: true,
|
|
24
|
-
title: '
|
|
24
|
+
title: '评测题',
|
|
25
25
|
desc: '候选人根据所提供的文案进行朗读。',
|
|
26
26
|
},
|
|
27
27
|
{
|
|
@@ -81,7 +81,7 @@ export var AiVideoStatus = {
|
|
|
81
81
|
export var MAX_UPLOAD_FILE_SIZE = 1024 * 1024 * 20;
|
|
82
82
|
export var MAX_UPLOAD_VIDEO_FILE_SIZE = 1024 * 1024 * 500;
|
|
83
83
|
export var TEST_TYPE_READONLY = [2, 3, 4, 7, 8, 9, 10, 11, 12, 16];
|
|
84
|
-
export var DISABLED_REPEAT_TYPE = [2, 4, 7, 8, 9, 11, 12, 16];
|
|
84
|
+
export var DISABLED_REPEAT_TYPE = [2, 4, 7, 8, 9, 11, 12, 16, 17];
|
|
85
85
|
export var DISABLED_COST_TYPE = [7, 9, 8, 4, 11, 2, 16];
|
|
86
86
|
// 是否开启AI分析
|
|
87
87
|
export var IS_AI_ANALYSIS = function (step) { return step.aiType === 2; };
|
|
@@ -44,7 +44,13 @@ var AiEvaluation = function () {
|
|
|
44
44
|
var addQuestionOpen = state.addQuestionOpen, showOnlyAITest = state.showOnlyAITest;
|
|
45
45
|
var handleClickAdd = useCallback(function (aiShowType) {
|
|
46
46
|
setState({ addQuestionOpen: false });
|
|
47
|
-
updateQuestionState({
|
|
47
|
+
updateQuestionState({
|
|
48
|
+
open: true,
|
|
49
|
+
aiShowType: aiShowType,
|
|
50
|
+
token: '',
|
|
51
|
+
index: -1,
|
|
52
|
+
item: __assign(__assign({}, defaultQuestionParams), { aiShowType: aiShowType, type: aiShowType === ADD_QUESTION_TYPE.SINGLECHIOCE ? 17 : 1, token: uniqueId() }),
|
|
53
|
+
});
|
|
48
54
|
}, [setState, updateQuestionState]);
|
|
49
55
|
var content = (_jsx(List, { children: ADD_QUESTION_TYPE_SHOW_LIST.map(function (_a) {
|
|
50
56
|
var title = _a.title, desc = _a.desc, type = _a.type;
|
|
@@ -24,7 +24,7 @@ exports.ADD_QUESTION_TYPE_LIST = [
|
|
|
24
24
|
{
|
|
25
25
|
type: EVALUATION,
|
|
26
26
|
hide: true,
|
|
27
|
-
title: '
|
|
27
|
+
title: '评测题',
|
|
28
28
|
desc: '候选人根据所提供的文案进行朗读。',
|
|
29
29
|
},
|
|
30
30
|
{
|
|
@@ -84,7 +84,7 @@ exports.AiVideoStatus = {
|
|
|
84
84
|
exports.MAX_UPLOAD_FILE_SIZE = 1024 * 1024 * 20;
|
|
85
85
|
exports.MAX_UPLOAD_VIDEO_FILE_SIZE = 1024 * 1024 * 500;
|
|
86
86
|
exports.TEST_TYPE_READONLY = [2, 3, 4, 7, 8, 9, 10, 11, 12, 16];
|
|
87
|
-
exports.DISABLED_REPEAT_TYPE = [2, 4, 7, 8, 9, 11, 12, 16];
|
|
87
|
+
exports.DISABLED_REPEAT_TYPE = [2, 4, 7, 8, 9, 11, 12, 16, 17];
|
|
88
88
|
exports.DISABLED_COST_TYPE = [7, 9, 8, 4, 11, 2, 16];
|
|
89
89
|
// 是否开启AI分析
|
|
90
90
|
var IS_AI_ANALYSIS = function (step) { return step.aiType === 2; };
|
|
@@ -49,7 +49,13 @@ var AiEvaluation = function () {
|
|
|
49
49
|
var addQuestionOpen = state.addQuestionOpen, showOnlyAITest = state.showOnlyAITest;
|
|
50
50
|
var handleClickAdd = (0, react_1.useCallback)(function (aiShowType) {
|
|
51
51
|
setState({ addQuestionOpen: false });
|
|
52
|
-
updateQuestionState({
|
|
52
|
+
updateQuestionState({
|
|
53
|
+
open: true,
|
|
54
|
+
aiShowType: aiShowType,
|
|
55
|
+
token: '',
|
|
56
|
+
index: -1,
|
|
57
|
+
item: __assign(__assign({}, const_1.defaultQuestionParams), { aiShowType: aiShowType, type: aiShowType === ai_question_2.ADD_QUESTION_TYPE.SINGLECHIOCE ? 17 : 1, token: (0, utils_1.uniqueId)() }),
|
|
58
|
+
});
|
|
53
59
|
}, [setState, updateQuestionState]);
|
|
54
60
|
var content = ((0, jsx_runtime_1.jsx)(mui_1.List, { children: ai_question_1.ADD_QUESTION_TYPE_SHOW_LIST.map(function (_a) {
|
|
55
61
|
var title = _a.title, desc = _a.desc, type = _a.type;
|