eli-video-interview 1.2.41-alpha.23 → 1.2.41-alpha.25

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.
Files changed (25) hide show
  1. package/esm/modules/ai-question/components/QuestionUpdate/FllowupSetting.d.ts +4 -0
  2. package/esm/modules/ai-question/components/QuestionUpdate/FllowupSetting.js +74 -0
  3. package/esm/modules/ai-question/components/QuestionUpdate/FollowupKeyPoints.d.ts +9 -0
  4. package/esm/modules/ai-question/components/QuestionUpdate/FollowupKeyPoints.js +89 -0
  5. package/esm/modules/ai-question/components/QuestionUpdate/FollowupTarget.d.ts +9 -0
  6. package/esm/modules/ai-question/components/QuestionUpdate/FollowupTarget.js +68 -0
  7. package/esm/modules/ai-question/components/QuestionUpdate/Form.js +8 -7
  8. package/esm/modules/ai-question/components/QuestionUpdate/interface.d.ts +7 -0
  9. package/esm/modules/ai-report/components/AIEvaluate/index.js +1 -1
  10. package/esm/modules/ai-report/components/VideoQuestion/Workplaces.js +1 -1
  11. package/esm/services/ai-question.d.ts +1 -0
  12. package/esm/services/ai-question.js +1 -0
  13. package/lib/modules/ai-question/components/QuestionUpdate/FllowupSetting.d.ts +4 -0
  14. package/lib/modules/ai-question/components/QuestionUpdate/FllowupSetting.js +79 -0
  15. package/lib/modules/ai-question/components/QuestionUpdate/FollowupKeyPoints.d.ts +9 -0
  16. package/lib/modules/ai-question/components/QuestionUpdate/FollowupKeyPoints.js +91 -0
  17. package/lib/modules/ai-question/components/QuestionUpdate/FollowupTarget.d.ts +9 -0
  18. package/lib/modules/ai-question/components/QuestionUpdate/FollowupTarget.js +70 -0
  19. package/lib/modules/ai-question/components/QuestionUpdate/Form.js +8 -7
  20. package/lib/modules/ai-question/components/QuestionUpdate/interface.d.ts +7 -0
  21. package/lib/modules/ai-report/components/AIEvaluate/index.js +1 -1
  22. package/lib/modules/ai-report/components/VideoQuestion/workplaces.js +1 -1
  23. package/lib/services/ai-question.d.ts +1 -0
  24. package/lib/services/ai-question.js +3 -1
  25. package/package.json +1 -1
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { QuestionKeyPointsProps } from './interface';
3
+ declare const FllowupSetting: React.FC<QuestionKeyPointsProps>;
4
+ export default FllowupSetting;
@@ -0,0 +1,74 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ var __read = (this && this.__read) || function (o, n) {
13
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
14
+ if (!m) return o;
15
+ var i = m.call(o), r, ar = [], e;
16
+ try {
17
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
18
+ }
19
+ catch (error) { e = { error: error }; }
20
+ finally {
21
+ try {
22
+ if (r && !r.done && (m = i["return"])) m.call(i);
23
+ }
24
+ finally { if (e) throw e.error; }
25
+ }
26
+ return ar;
27
+ };
28
+ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
29
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
30
+ if (ar || !(i in from)) {
31
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
32
+ ar[i] = from[i];
33
+ }
34
+ }
35
+ return to.concat(ar || Array.prototype.slice.call(from));
36
+ };
37
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
38
+ import FollowupKeyPoints from './FollowupKeyPoints';
39
+ import FollowupTarget from './FollowupTarget';
40
+ import { Chip, Layout, Message, Typography } from 'fbm-ui';
41
+ import { Stack, Tooltip } from 'fbm-ui/lib/mui';
42
+ import { useState } from 'react';
43
+ var formater = function (content, title) {
44
+ if (title === void 0) { title = ''; }
45
+ return (_jsxs(Stack, __assign({ spacing: 1 }, { children: [_jsx(Typography, __assign({ variant: "caption", color: "white" }, { children: "".concat(title, "\uFF1A") })), content.map(function (item, index) { return (_jsx(Typography, __assign({ variant: "caption", color: "white" }, { children: "".concat(index + 1, "\u3001").concat(item) }), index)); })] })));
46
+ };
47
+ var FllowupSetting = function (_a) {
48
+ var index = _a.index, form = _a.form;
49
+ var _b = __read(useState(false), 2), openTarget = _b[0], setOpenTarget = _b[1];
50
+ var _c = __read(useState(false), 2), openKeyPoints = _c[0], setOpenKeyPoints = _c[1];
51
+ var _d = form.values.questions[index], _e = _d.followUpGoals, followUpGoals = _e === void 0 ? [] : _e, _f = _d.scorePoints, scorePoints = _f === void 0 ? [] : _f, content = _d.content;
52
+ var handleFollowupGoalsChange = function (followUpGoals) {
53
+ form.setValues(__assign(__assign({}, form.values), { questions: __spreadArray([], __read(form.values.questions.map(function (q, i) { return (i === index ? __assign(__assign({}, q), { followUpGoals: followUpGoals }) : q); })), false) }));
54
+ };
55
+ var handleScorePointsChange = function (scorePoints) {
56
+ form.setValues(__assign(__assign({}, form.values), { questions: __spreadArray([], __read(form.values.questions.map(function (q, i) { return (i === index ? __assign(__assign({}, q), { scorePoints: scorePoints }) : q); })), false) }));
57
+ };
58
+ return (_jsxs(Layout, { children: [_jsx(Stack, __assign({ spacing: 2, mb: 1, direction: "row", alignItems: "center", justifyContent: "space-between", mt: 0.375 }, { children: _jsxs(Stack, __assign({ spacing: 1, direction: "row", alignItems: "center" }, { children: [_jsx(Tooltip, __assign({ title: (scorePoints === null || scorePoints === void 0 ? void 0 : scorePoints.length) > 0 ? formater(scorePoints, '得分点') : '暂未设置得分点' }, { children: _jsx(Chip, { color: "primary", variant: "filled", label: (scorePoints === null || scorePoints === void 0 ? void 0 : scorePoints.length) > 0 ? "\u542B".concat(scorePoints.length, "\u6761\u9898\u76EE\u5F97\u5206\u70B9") : '添加题目得分点', onClick: function () {
59
+ if (content) {
60
+ setOpenKeyPoints(true);
61
+ }
62
+ else {
63
+ Message.error('面试内容为空,不能设置得分点');
64
+ }
65
+ } }) })), _jsx(Tooltip, __assign({ title: (followUpGoals === null || followUpGoals === void 0 ? void 0 : followUpGoals.length) > 0 ? formater(followUpGoals, '目标') : '暂未设置追问目标' }, { children: _jsx(Chip, { color: "primary", variant: "filled", label: (followUpGoals === null || followUpGoals === void 0 ? void 0 : followUpGoals.length) > 0 ? "\u542B".concat(followUpGoals.length, "\u6761\u8FFD\u95EE\u76EE\u6807") : '添加追问目标', onClick: function () {
66
+ if (content) {
67
+ setOpenTarget(true);
68
+ }
69
+ else {
70
+ Message.error('面试内容为空,不能设置追问目标');
71
+ }
72
+ } }) }))] })) })), openKeyPoints && (_jsx(FollowupKeyPoints, { question: content, followUpGoals: scorePoints, open: openKeyPoints, onClose: function () { return setOpenKeyPoints(false); }, onOk: handleScorePointsChange })), openTarget && (_jsx(FollowupTarget, { question: content, scorePoints: followUpGoals, open: openTarget, onClose: function () { return setOpenTarget(false); }, onOk: handleFollowupGoalsChange }))] }));
73
+ };
74
+ export default FllowupSetting;
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ declare const FollowupKeyPoints: ({ followUpGoals, question, open, onClose, onOk }: {
3
+ followUpGoals: any;
4
+ question: any;
5
+ open: any;
6
+ onClose: any;
7
+ onOk: any;
8
+ }) => JSX.Element;
9
+ export default FollowupKeyPoints;
@@ -0,0 +1,89 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ var __read = (this && this.__read) || function (o, n) {
13
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
14
+ if (!m) return o;
15
+ var i = m.call(o), r, ar = [], e;
16
+ try {
17
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
18
+ }
19
+ catch (error) { e = { error: error }; }
20
+ finally {
21
+ try {
22
+ if (r && !r.done && (m = i["return"])) m.call(i);
23
+ }
24
+ finally { if (e) throw e.error; }
25
+ }
26
+ return ar;
27
+ };
28
+ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
29
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
30
+ if (ar || !(i in from)) {
31
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
32
+ ar[i] = from[i];
33
+ }
34
+ }
35
+ return to.concat(ar || Array.prototype.slice.call(from));
36
+ };
37
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
38
+ import { PostAiModelGenerateByAI } from "../../../../services/ai-question";
39
+ import { AddIcon, AiIcon, CloseIcon } from 'fbm-icons';
40
+ import { Box, Button, Dialog, IconButton, Message, TextField, Typography } from 'fbm-ui';
41
+ import { Stack } from 'fbm-ui/lib/mui';
42
+ import { useCallback, useState } from 'react';
43
+ var FollowupKeyPoints = function (_a) {
44
+ var followUpGoals = _a.followUpGoals, question = _a.question, open = _a.open, onClose = _a.onClose, onOk = _a.onOk;
45
+ var _b = __read(useState(followUpGoals || ['']), 2), values = _b[0], setValues = _b[1];
46
+ var _c = __read(useState(false), 2), loading = _c[0], setLoading = _c[1];
47
+ var handleMakeFromAi = useCallback(function () {
48
+ setLoading(true);
49
+ PostAiModelGenerateByAI({ q: question })
50
+ .then(function (res) {
51
+ var _a = res, code = _a.code, _b = _a.data.text, text = _b === void 0 ? '' : _b, message = _a.message;
52
+ if (code === 0) {
53
+ setValues(__spreadArray(__spreadArray([], __read(values), false), [text], false));
54
+ }
55
+ else {
56
+ return Promise.reject(message);
57
+ }
58
+ })
59
+ .catch(function (err) {
60
+ Message.error(err.toString());
61
+ })
62
+ .finally(function () {
63
+ setLoading(false);
64
+ });
65
+ }, [question, values]);
66
+ var handleChange = useCallback(function (index, value) {
67
+ setValues(values.map(function (item, i) { return (i === index ? value : item); }));
68
+ }, [values]);
69
+ var handleAdd = useCallback(function () {
70
+ setValues(__spreadArray(__spreadArray([], __read(values), false), [''], false));
71
+ }, [values]);
72
+ var handleRemove = useCallback(function (index) {
73
+ setValues(values.filter(function (_, i) { return i !== index; }));
74
+ }, [values]);
75
+ return (_jsx(Dialog, __assign({ open: open,
76
+ // @ts-ignore
77
+ title: _jsxs(Stack, __assign({ direction: "row", spacing: 1 }, { children: [_jsx(Typography, __assign({ variant: "body1", fontWeight: 700 }, { children: "\u8BBE\u7F6E\u9898\u76EE\u5F97\u5206\u70B9" })), _jsx(Typography, __assign({ variant: "body2", color: "textSecondary" }, { children: "\uFF08\u6700\u591A\u6DFB\u52A03\u6761\uFF09" }))] })), size: "sm", onClose: onClose, okText: "\u786E\u8BA4", onOk: function () {
78
+ if (values.length > 3) {
79
+ return Message.error('最多添加3条得分点,请移除多余的得分点。');
80
+ }
81
+ onOk(values);
82
+ onClose();
83
+ } }, { children: _jsxs(Stack, { children: [_jsx(Typography, __assign({ variant: "body2", color: "textSecondary", mb: 4 }, { children: question })), values === null || values === void 0 ? void 0 : values.map(function (item, index) {
84
+ return (_jsxs(Stack, __assign({ direction: "row", spacing: 1 }, { children: [_jsx(TextField, { max: 100, sx: { flexGrow: 1, height: 'auto' }, value: item, onChange: function (e) {
85
+ handleChange(index, e.target.value);
86
+ } }), _jsx(Box, __assign({ height: 84, pt: 1 }, { children: _jsx(IconButton, __assign({ size: "small", onClick: function () { return handleRemove(index); } }, { children: _jsx(CloseIcon, {}) })) }))] }), index));
87
+ }), _jsxs(Stack, __assign({ spacing: 1, direction: "row", alignItems: "center" }, { children: [_jsx(Button, __assign({ variant: "outlined", color: "inherit", startIcon: _jsx(AddIcon, {}), onClick: handleAdd }, { children: "\u6DFB\u52A0" })), _jsx(Button, __assign({ variant: "outlined", loading: loading, color: "inherit", startIcon: _jsx(AiIcon, {}), onClick: handleMakeFromAi }, { children: "AI\u751F\u6210" }))] }))] }) })));
88
+ };
89
+ export default FollowupKeyPoints;
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ declare const FollowupTarget: ({ scorePoints, question, open, onClose, onOk }: {
3
+ scorePoints: any;
4
+ question: any;
5
+ open: any;
6
+ onClose: any;
7
+ onOk: any;
8
+ }) => JSX.Element;
9
+ export default FollowupTarget;
@@ -0,0 +1,68 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ var __read = (this && this.__read) || function (o, n) {
13
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
14
+ if (!m) return o;
15
+ var i = m.call(o), r, ar = [], e;
16
+ try {
17
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
18
+ }
19
+ catch (error) { e = { error: error }; }
20
+ finally {
21
+ try {
22
+ if (r && !r.done && (m = i["return"])) m.call(i);
23
+ }
24
+ finally { if (e) throw e.error; }
25
+ }
26
+ return ar;
27
+ };
28
+ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
29
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
30
+ if (ar || !(i in from)) {
31
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
32
+ ar[i] = from[i];
33
+ }
34
+ }
35
+ return to.concat(ar || Array.prototype.slice.call(from));
36
+ };
37
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
38
+ import { AddIcon, CloseIcon } from 'fbm-icons';
39
+ import { Box, Button, Dialog, IconButton, Message, TextField, Typography } from 'fbm-ui';
40
+ import { Stack } from 'fbm-ui/lib/mui';
41
+ import { useCallback, useState } from 'react';
42
+ var FollowupTarget = function (_a) {
43
+ var scorePoints = _a.scorePoints, question = _a.question, open = _a.open, onClose = _a.onClose, onOk = _a.onOk;
44
+ var _b = __read(useState(scorePoints || ['']), 2), values = _b[0], setValues = _b[1];
45
+ var handleChange = useCallback(function (index, value) {
46
+ setValues(values.map(function (item, i) { return (i === index ? value : item); }));
47
+ }, [values]);
48
+ var handleAdd = useCallback(function () {
49
+ setValues(__spreadArray(__spreadArray([], __read(values), false), [''], false));
50
+ }, [values]);
51
+ var handleRemove = useCallback(function (index) {
52
+ setValues(values.filter(function (_, i) { return i !== index; }));
53
+ }, [values]);
54
+ return (_jsx(Dialog, __assign({ open: open,
55
+ // @ts-ignore
56
+ title: _jsxs(Stack, __assign({ direction: "row", spacing: 1 }, { children: [_jsx(Typography, __assign({ variant: "body1", fontWeight: 700 }, { children: "\u8BBE\u7F6E\u8FFD\u95EE\u76EE\u6807" })), _jsx(Typography, __assign({ variant: "body2", color: "textSecondary" }, { children: "\uFF08\u6700\u591A\u6DFB\u52A03\u6761\uFF09" }))] })), size: "sm", onClose: onClose, okText: "\u786E\u8BA4", onOk: function () {
57
+ if (values.length > 3) {
58
+ return Message.error('最多添加3条追问目标,请移除多余的目标。');
59
+ }
60
+ onOk(values);
61
+ onClose();
62
+ } }, { children: _jsxs(Stack, { children: [_jsx(Typography, __assign({ variant: "body2", color: "textSecondary", mb: 4 }, { children: question })), values === null || values === void 0 ? void 0 : values.map(function (item, index) {
63
+ return (_jsxs(Stack, __assign({ direction: "row", spacing: 1 }, { children: [_jsx(TextField, { max: 100, sx: { flexGrow: 1, height: 'auto' }, value: item, onChange: function (e) {
64
+ handleChange(index, e.target.value);
65
+ } }), _jsx(Box, __assign({ height: 84, pt: 1 }, { children: _jsx(IconButton, __assign({ size: "small", onClick: function () { return handleRemove(index); } }, { children: _jsx(CloseIcon, {}) })) }))] }), index));
66
+ }), _jsx(Stack, __assign({ spacing: 1, direction: "row", alignItems: "center" }, { children: _jsx(Button, __assign({ variant: "outlined", color: "inherit", startIcon: _jsx(AddIcon, {}), onClick: handleAdd }, { children: "\u6DFB\u52A0" })) }))] }) })));
67
+ };
68
+ export default FollowupTarget;
@@ -74,6 +74,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
74
74
  import AiAnalysis from '../AiAnalysis';
75
75
  import Chioce from './Chioce';
76
76
  import { broadcastModeOptions, durationOptions, prepareTimeOptions } from './const';
77
+ import FllowupSetting from './FllowupSetting';
77
78
  import RandomQuestion from './RandomQuestion';
78
79
  import VideoVoice from './VideoVoice';
79
80
  import { useAiAbilityListStore } from "../../../../store/ai-ability-select/question-ability-store";
@@ -161,13 +162,13 @@ var QuestionForm = forwardRef(function (props, ref) {
161
162
  }), onChange: handleCategoryChange }) })))] })), aiShowType !== ADD_QUESTION_TYPE.SINGLECHIOCE &&
162
163
  ((form === null || form === void 0 ? void 0 : form.values.broadcastType) === 1 || preview ? (_jsx(FieldArray, { name: "questions", render: function () {
163
164
  var _a;
164
- return (_a = form.values.questions) === null || _a === void 0 ? void 0 : _a.map(function (_, index) { return (_jsxs(Stack, __assign({ direction: "row", justifyContent: "space-between", spacing: 1 }, { children: [_jsx(FormItem, { required: true, name: "questions.".concat(index, ".content"), label: "\u9762\u8BD5\u5185\u5BB9", max: 300, placeholder: "\u9762\u8BD5\u5185\u5BB9\uFF08\u7CFB\u7EDF\u5C06\u6839\u636E\u6B64\u5185\u5BB9\u5411\u5019\u9009\u4EBA\u8FDB\u884C\u8BED\u97F3\u64AD\u62A5\uFF09", InputProps: {
165
- rows: 3,
166
- multiline: true,
167
- sx: { padding: 0 },
168
- }, sx: { flexGrow: 1, height: 120 } }), form.values.questions.length > 1 && (_jsx(Box, __assign({ height: 84, pt: 1 }, { children: _jsx(IconButton, __assign({ size: "small", onClick: function () {
169
- form.setValues(__assign(__assign({}, form.values), { questions: __spreadArray([], __read(form.values.questions.filter(function (_, i) { return i !== index; })), false) }));
170
- } }, { children: _jsx(CloseIcon, {}) })) })))] }), index)); });
165
+ return (_a = form.values.questions) === null || _a === void 0 ? void 0 : _a.map(function (_, index) { return (_jsxs(_Fragment, { children: [_jsxs(Stack, __assign({ direction: "row", justifyContent: "space-between", spacing: 1 }, { children: [_jsx(FormItem, { required: true, name: "questions.".concat(index, ".content"), label: "\u9762\u8BD5\u5185\u5BB9", max: 300, placeholder: "\u9762\u8BD5\u5185\u5BB9\uFF08\u7CFB\u7EDF\u5C06\u6839\u636E\u6B64\u5185\u5BB9\u5411\u5019\u9009\u4EBA\u8FDB\u884C\u8BED\u97F3\u64AD\u62A5\uFF09", InputProps: {
166
+ rows: 3,
167
+ multiline: true,
168
+ sx: { padding: 0 },
169
+ }, sx: { flexGrow: 1, height: 120 } }), form.values.questions.length > 1 && (_jsx(Box, __assign({ height: 84, pt: 1 }, { children: _jsx(IconButton, __assign({ size: "small", onClick: function () {
170
+ form.setValues(__assign(__assign({}, form.values), { questions: __spreadArray([], __read(form.values.questions.filter(function (_, i) { return i !== index; })), false) }));
171
+ } }, { children: _jsx(CloseIcon, {}) })) })))] }), index), _jsx(FllowupSetting, { index: index, form: form })] })); });
171
172
  } })) : (_jsx(VideoVoice, {}))), !preview && aiShowType === ADD_QUESTION_TYPE.SINGLECHIOCE && (
172
173
  // @ts-ignore
173
174
  _jsx(Box, { children: _jsx(FieldArray, { name: "questions", render: function () {
@@ -1,4 +1,5 @@
1
1
  import { BaseAiAbilityParams, BaseExtraParams } from '@/modules/ai-question/interface';
2
+ import { FormProps } from 'fbm-ui';
2
3
  import type { FormikErrors } from 'formik';
3
4
  export interface VideoBroadcastParams {
4
5
  videoRetry?: number;
@@ -13,6 +14,8 @@ export interface Question {
13
14
  content: string;
14
15
  videoUrl: string;
15
16
  options?: Option[];
17
+ followUpGoals?: string[];
18
+ scorePoints?: string[];
16
19
  }
17
20
  export interface QuestionParams {
18
21
  name: string;
@@ -86,3 +89,7 @@ export interface RandomQuestionProps {
86
89
  onAddCustonQuestion?: () => void;
87
90
  onAddRandomQuestion?: (qs: string[]) => void;
88
91
  }
92
+ export interface QuestionKeyPointsProps {
93
+ index: number;
94
+ form: FormProps<QuestionFormValues>;
95
+ }
@@ -50,7 +50,7 @@ var Index = function () {
50
50
  var _a;
51
51
  var c = customInterviewDimRankMap === null || customInterviewDimRankMap === void 0 ? void 0 : customInterviewDimRankMap[v.evaluationToken];
52
52
  var rank = rankPercent((c === null || c === void 0 ? void 0 : c.rank) || (v === null || v === void 0 ? void 0 : v.rank), (c === null || c === void 0 ? void 0 : c.total) || (v === null || v === void 0 ? void 0 : v.total));
53
- return (_jsxs(Box, __assign({ component: Paper, elevation: 0, bgcolor: "#f9f9f9", mb: 2, pb: 2 }, { children: [_jsxs(Stack, __assign({ px: 2, pt: 2 }, { children: [_jsxs(Stack, __assign({ direction: "row", alignItems: "center", spacing: 2 }, { children: [_jsx(Typography, __assign({ variant: "h6", fontWeight: "medium", sx: { fontWeight: 500 } }, { children: v.evaluationDimensionName })), !isNaN(rank) && (_jsxs(Typography, __assign({ variant: "body2" }, { children: ["\u51FB\u8D25\u4E86", _jsxs(Typography, __assign({ variant: "body2", fontWeight: "medium", display: "inline", color: "#4caf50" }, { children: [rank.toFixed(2), "%"] })), "\u7684\u5019\u9009\u4EBA"] })))] })), _jsx(Typography, __assign({ mt: 1, mb: 2, variant: "body2", fontWeight: "medium", color: "#4caf50" }, { children: v.impressions.join('、') }))] })), _jsx(Divider, { sx: { borderColor: 'rgba(0,0,0,0.08)' } }), _jsxs(Stack, __assign({ px: 2 }, { children: [((_a = v.items) === null || _a === void 0 ? void 0 : _a.length) > 0 && (_jsx(Box, __assign({ mt: 2 }, { children: _jsx(Graph, { items: v.items }) }))), _jsxs(Stack, __assign({ spacing: 2, mt: 2 }, { children: [_jsx(Evaluate, { canEdit: canEditAiDimension, token: v.evaluationToken, evaluations: v.evaluations, title: "\u8BC4\u4EF7\u5185\u5BB9", field: "evaluations", mode: "show" }), _jsx(Evaluate, { canEdit: canEditAiDimension, token: v.evaluationToken, evaluations: v.suggestions, title: "\u63D0\u9AD8\u5EFA\u8BAE", field: "suggestions", mode: "show" })] }))] }))] }), v.evaluationToken));
53
+ return (_jsxs(Box, __assign({ component: Paper, elevation: 0, bgcolor: "#f9f9f9", mb: 2, pb: 2 }, { children: [_jsxs(Stack, __assign({ px: 2, pt: 2 }, { children: [_jsxs(Stack, __assign({ direction: "row", alignItems: "center", spacing: 2 }, { children: [_jsx(Typography, __assign({ variant: "h6", fontWeight: "medium", sx: { fontWeight: 500 } }, { children: v.evaluationDimensionName })), !isNaN(rank) && (_jsxs(Typography, __assign({ variant: "body2" }, { children: ["\u51FB\u8D25\u4E86", _jsxs(Typography, __assign({ variant: "body2", fontWeight: "medium", display: "inline", color: "#4caf50" }, { children: [rank.toFixed(2), "%"] })), "\u7684\u5019\u9009\u4EBA"] })))] })), _jsx(Typography, __assign({ mt: 1, mb: 2, variant: "body2", fontWeight: "medium", color: "#4caf50" }, { children: v.impressions.join('、') }))] })), _jsx(Divider, { sx: { borderColor: 'rgba(0,0,0,0.08)' } }), _jsxs(Stack, __assign({ px: 2 }, { children: [((_a = v.items) === null || _a === void 0 ? void 0 : _a.length) > 0 && (_jsx(Box, __assign({ mt: 2 }, { children: _jsx(Graph, { items: v.items }) }))), _jsx(Stack, __assign({ spacing: 2, mt: 2 }, { children: _jsx(Evaluate, { canEdit: canEditAiDimension, token: v.evaluationToken, evaluations: v.evaluations, title: "\u8BC4\u4EF7\u5185\u5BB9", field: "evaluations", mode: "show" }) }))] }))] }), v.evaluationToken));
54
54
  }), _jsxs(Stack, __assign({ spacing: 1, mt: 4, pb: 2 }, { children: [_jsx(Typography, __assign({ variant: "body2", fontWeight: "medium", color: "textSecondary" }, { children: "\u7ED3\u679C\u8BF4\u660E" })), _jsxs(Typography, __assign({ variant: "caption", color: "rgba(0,0,0,0.26)" }, { children: ["AI\u57FA\u7840\u80FD\u529B\u4ECE\u8BED\u901F\u3001\u666E\u901A\u8BDD\u3001\u8BED\u8A00\u6D41\u7545\u5EA6\u3001\u8981\u70B9\u5206\u6790\u5339\u914D\u5EA6\u3001\u8BED\u8A00\u4E30\u5BCC\u5EA6\u3001\u5F62\u8C61\u516D\u4E2A\u7EF4\u5EA6\u5BF9\u5019\u9009\u4EBA\u5728\u9762\u8BD5\u4E2D\u7684\u56DE\u7B54\u8868\u73B0\u8FDB\u884C\u8BC4\u4EF7\uFF0C\u6BCF\u4E2A\u7EF4\u5EA6\u5206\u4E3A\u4E09\u4E2A\u6863\uFF0C\u5206\u522B\u4E3A\uFF1A\u524D30%\u4EE3\u8868\u4F18\u79C0\u3001\u4E2D\u95F430%~70%\u4EE3\u8868\u9002\u4E2D\u3001\u540E30%\u4EE3\u8868\u6B20\u4F73\u3002", _jsx("br", {}), "\u6BCF\u4E2A\u80FD\u529B\u7684\u4E09\u6863\u7684\u5206\u6570\u503C\u4F9D\u636E\u5168\u56FD\u5927\u6570\u636E\u7EDF\u8BA1\u800C\u5B9A\u3002\u6839\u636E\u5019\u9009\u4EBA\u5F53\u524DAI\u89C6\u9891\u6B65\u9AA4\u4E0B\u7684\u6BCF\u4E2A\u80FD\u529B\u7684\u5E73\u5747\u5206\u6765\u786E\u5B9A\u6BCF\u4E2A\u80FD\u529B\u7684\u8BC4\u4EF7\u3002\u76F8\u540C\u7684\u5F97\u5206\uFF0C\u6210\u7EE9\u5148\u51FA\u7684\u6392\u540D\u9760\u524D\u3002"] }))] }))] }))] })));
55
55
  };
56
56
  export default Index;
@@ -17,7 +17,7 @@ var Workplaces = function (_a) {
17
17
  if (suggestionAnswer || referenceAnswer) {
18
18
  return (_jsxs(Stack, __assign({ sx: {
19
19
  backgroundColor: 'rgb(245, 245, 245)',
20
- }, p: 1, spacing: 1 }, { children: [suggestionAnswer && (_jsxs(_Fragment, { children: [_jsx(Typography, __assign({ variant: "body2", fontWeight: 700 }, { children: "\u5206\u6790\u5EFA\u8BAE" })), _jsx(Paper, __assign({ sx: { padding: '8px 26px 8px 8px ' }, variant: "outlined" }, { children: _jsx(Typography, __assign({ variant: "body2" }, { children: suggestionAnswer })) }))] })), referenceAnswer && (_jsxs(_Fragment, { children: [_jsx(Typography, __assign({ variant: "body2", fontWeight: 700 }, { children: "\u53C2\u8003\u6A21\u677F" })), _jsx(Paper, __assign({ sx: { padding: '8px 26px 8px 8px ' }, variant: "outlined" }, { children: _jsx(Typography, __assign({ variant: "body2" }, { children: referenceAnswer })) }))] }))] })));
20
+ }, p: 1, spacing: 1 }, { children: [suggestionAnswer && (_jsxs(_Fragment, { children: [_jsx(Typography, __assign({ variant: "body2", fontWeight: 700, sx: { color: '#4caf50' } }, { children: "\u5206\u6790\u5EFA\u8BAE" })), _jsx(Paper, __assign({ sx: { padding: '8px 26px 8px 8px ' }, variant: "outlined" }, { children: _jsx(Typography, __assign({ variant: "body2" }, { children: suggestionAnswer })) }))] })), referenceAnswer && (_jsxs(_Fragment, { children: [_jsx(Typography, __assign({ variant: "body2", fontWeight: 700, sx: { color: '#4caf50' } }, { children: "\u53C2\u8003\u6A21\u677F" })), _jsx(Paper, __assign({ sx: { padding: '8px 26px 8px 8px ' }, variant: "outlined" }, { children: _jsx(Typography, __assign({ variant: "body2", color: "textSecondary" }, { children: referenceAnswer })) }))] }))] })));
21
21
  }
22
22
  else {
23
23
  return null;
@@ -4,6 +4,7 @@ export declare const PostAiModels: <R>() => import("axios").AxiosPromise<R>;
4
4
  export declare const PostAiModelDetails: <R>(token: string) => import("axios").AxiosPromise<R>;
5
5
  export declare const PostAiAbilities: <R>() => import("axios").AxiosPromise<R>;
6
6
  export declare const PostAiModelUpsert: <R>(data: any) => import("axios").AxiosPromise<R>;
7
+ export declare const PostAiModelGenerateByAI: <R>(data: any) => import("axios").AxiosPromise<R>;
7
8
  export declare const GetAiInterviewerProfileList: <R>() => import("axios").AxiosPromise<R>;
8
9
  interface PostAiInterviewData {
9
10
  aiModelToken: string;
@@ -11,6 +11,7 @@ export var PostAiModelDetails = function (token) { return POST({ url: "/standard
11
11
  export var PostAiAbilities = function () { return POST({ url: "/standard/b/aiAbilities" }); };
12
12
  // 创建或修改AI模型
13
13
  export var PostAiModelUpsert = function (data) { return POST({ url: '/standard/b/aiModel/upsert', data: data }); };
14
+ export var PostAiModelGenerateByAI = function (data) { return POST({ url: '/standard/b/aiModel/generateByAI', data: data }); };
14
15
  // 获取虚拟人列表
15
16
  export var GetAiInterviewerProfileList = function () { return GET({ url: "/standard/b/examPapers/commonInfo" }); };
16
17
  // 创建面试
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { QuestionKeyPointsProps } from './interface';
3
+ declare const FllowupSetting: React.FC<QuestionKeyPointsProps>;
4
+ export default FllowupSetting;
@@ -0,0 +1,79 @@
1
+ "use strict";
2
+ var __assign = (this && this.__assign) || function () {
3
+ __assign = Object.assign || function(t) {
4
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
5
+ s = arguments[i];
6
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
+ t[p] = s[p];
8
+ }
9
+ return t;
10
+ };
11
+ return __assign.apply(this, arguments);
12
+ };
13
+ var __read = (this && this.__read) || function (o, n) {
14
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
15
+ if (!m) return o;
16
+ var i = m.call(o), r, ar = [], e;
17
+ try {
18
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
19
+ }
20
+ catch (error) { e = { error: error }; }
21
+ finally {
22
+ try {
23
+ if (r && !r.done && (m = i["return"])) m.call(i);
24
+ }
25
+ finally { if (e) throw e.error; }
26
+ }
27
+ return ar;
28
+ };
29
+ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
30
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
31
+ if (ar || !(i in from)) {
32
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
33
+ ar[i] = from[i];
34
+ }
35
+ }
36
+ return to.concat(ar || Array.prototype.slice.call(from));
37
+ };
38
+ var __importDefault = (this && this.__importDefault) || function (mod) {
39
+ return (mod && mod.__esModule) ? mod : { "default": mod };
40
+ };
41
+ Object.defineProperty(exports, "__esModule", { value: true });
42
+ var jsx_runtime_1 = require("react/jsx-runtime");
43
+ var FollowupKeyPoints_1 = __importDefault(require("./FollowupKeyPoints"));
44
+ var FollowupTarget_1 = __importDefault(require("./FollowupTarget"));
45
+ var fbm_ui_1 = require("fbm-ui");
46
+ var mui_1 = require("fbm-ui/lib/mui");
47
+ var react_1 = require("react");
48
+ var formater = function (content, title) {
49
+ if (title === void 0) { title = ''; }
50
+ return ((0, jsx_runtime_1.jsxs)(mui_1.Stack, __assign({ spacing: 1 }, { children: [(0, jsx_runtime_1.jsx)(fbm_ui_1.Typography, __assign({ variant: "caption", color: "white" }, { children: "".concat(title, "\uFF1A") })), content.map(function (item, index) { return ((0, jsx_runtime_1.jsx)(fbm_ui_1.Typography, __assign({ variant: "caption", color: "white" }, { children: "".concat(index + 1, "\u3001").concat(item) }), index)); })] })));
51
+ };
52
+ var FllowupSetting = function (_a) {
53
+ var index = _a.index, form = _a.form;
54
+ var _b = __read((0, react_1.useState)(false), 2), openTarget = _b[0], setOpenTarget = _b[1];
55
+ var _c = __read((0, react_1.useState)(false), 2), openKeyPoints = _c[0], setOpenKeyPoints = _c[1];
56
+ var _d = form.values.questions[index], _e = _d.followUpGoals, followUpGoals = _e === void 0 ? [] : _e, _f = _d.scorePoints, scorePoints = _f === void 0 ? [] : _f, content = _d.content;
57
+ var handleFollowupGoalsChange = function (followUpGoals) {
58
+ form.setValues(__assign(__assign({}, form.values), { questions: __spreadArray([], __read(form.values.questions.map(function (q, i) { return (i === index ? __assign(__assign({}, q), { followUpGoals: followUpGoals }) : q); })), false) }));
59
+ };
60
+ var handleScorePointsChange = function (scorePoints) {
61
+ form.setValues(__assign(__assign({}, form.values), { questions: __spreadArray([], __read(form.values.questions.map(function (q, i) { return (i === index ? __assign(__assign({}, q), { scorePoints: scorePoints }) : q); })), false) }));
62
+ };
63
+ return ((0, jsx_runtime_1.jsxs)(fbm_ui_1.Layout, { children: [(0, jsx_runtime_1.jsx)(mui_1.Stack, __assign({ spacing: 2, mb: 1, direction: "row", alignItems: "center", justifyContent: "space-between", mt: 0.375 }, { children: (0, jsx_runtime_1.jsxs)(mui_1.Stack, __assign({ spacing: 1, direction: "row", alignItems: "center" }, { children: [(0, jsx_runtime_1.jsx)(mui_1.Tooltip, __assign({ title: (scorePoints === null || scorePoints === void 0 ? void 0 : scorePoints.length) > 0 ? formater(scorePoints, '得分点') : '暂未设置得分点' }, { children: (0, jsx_runtime_1.jsx)(fbm_ui_1.Chip, { color: "primary", variant: "filled", label: (scorePoints === null || scorePoints === void 0 ? void 0 : scorePoints.length) > 0 ? "\u542B".concat(scorePoints.length, "\u6761\u9898\u76EE\u5F97\u5206\u70B9") : '添加题目得分点', onClick: function () {
64
+ if (content) {
65
+ setOpenKeyPoints(true);
66
+ }
67
+ else {
68
+ fbm_ui_1.Message.error('面试内容为空,不能设置得分点');
69
+ }
70
+ } }) })), (0, jsx_runtime_1.jsx)(mui_1.Tooltip, __assign({ title: (followUpGoals === null || followUpGoals === void 0 ? void 0 : followUpGoals.length) > 0 ? formater(followUpGoals, '目标') : '暂未设置追问目标' }, { children: (0, jsx_runtime_1.jsx)(fbm_ui_1.Chip, { color: "primary", variant: "filled", label: (followUpGoals === null || followUpGoals === void 0 ? void 0 : followUpGoals.length) > 0 ? "\u542B".concat(followUpGoals.length, "\u6761\u8FFD\u95EE\u76EE\u6807") : '添加追问目标', onClick: function () {
71
+ if (content) {
72
+ setOpenTarget(true);
73
+ }
74
+ else {
75
+ fbm_ui_1.Message.error('面试内容为空,不能设置追问目标');
76
+ }
77
+ } }) }))] })) })), openKeyPoints && ((0, jsx_runtime_1.jsx)(FollowupKeyPoints_1.default, { question: content, followUpGoals: scorePoints, open: openKeyPoints, onClose: function () { return setOpenKeyPoints(false); }, onOk: handleScorePointsChange })), openTarget && ((0, jsx_runtime_1.jsx)(FollowupTarget_1.default, { question: content, scorePoints: followUpGoals, open: openTarget, onClose: function () { return setOpenTarget(false); }, onOk: handleFollowupGoalsChange }))] }));
78
+ };
79
+ exports.default = FllowupSetting;
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ declare const FollowupKeyPoints: ({ followUpGoals, question, open, onClose, onOk }: {
3
+ followUpGoals: any;
4
+ question: any;
5
+ open: any;
6
+ onClose: any;
7
+ onOk: any;
8
+ }) => JSX.Element;
9
+ export default FollowupKeyPoints;
@@ -0,0 +1,91 @@
1
+ "use strict";
2
+ var __assign = (this && this.__assign) || function () {
3
+ __assign = Object.assign || function(t) {
4
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
5
+ s = arguments[i];
6
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
+ t[p] = s[p];
8
+ }
9
+ return t;
10
+ };
11
+ return __assign.apply(this, arguments);
12
+ };
13
+ var __read = (this && this.__read) || function (o, n) {
14
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
15
+ if (!m) return o;
16
+ var i = m.call(o), r, ar = [], e;
17
+ try {
18
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
19
+ }
20
+ catch (error) { e = { error: error }; }
21
+ finally {
22
+ try {
23
+ if (r && !r.done && (m = i["return"])) m.call(i);
24
+ }
25
+ finally { if (e) throw e.error; }
26
+ }
27
+ return ar;
28
+ };
29
+ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
30
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
31
+ if (ar || !(i in from)) {
32
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
33
+ ar[i] = from[i];
34
+ }
35
+ }
36
+ return to.concat(ar || Array.prototype.slice.call(from));
37
+ };
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ var jsx_runtime_1 = require("react/jsx-runtime");
40
+ var ai_question_1 = require("../../../../services/ai-question");
41
+ var fbm_icons_1 = require("fbm-icons");
42
+ var fbm_ui_1 = require("fbm-ui");
43
+ var mui_1 = require("fbm-ui/lib/mui");
44
+ var react_1 = require("react");
45
+ var FollowupKeyPoints = function (_a) {
46
+ var followUpGoals = _a.followUpGoals, question = _a.question, open = _a.open, onClose = _a.onClose, onOk = _a.onOk;
47
+ var _b = __read((0, react_1.useState)(followUpGoals || ['']), 2), values = _b[0], setValues = _b[1];
48
+ var _c = __read((0, react_1.useState)(false), 2), loading = _c[0], setLoading = _c[1];
49
+ var handleMakeFromAi = (0, react_1.useCallback)(function () {
50
+ setLoading(true);
51
+ (0, ai_question_1.PostAiModelGenerateByAI)({ q: question })
52
+ .then(function (res) {
53
+ var _a = res, code = _a.code, _b = _a.data.text, text = _b === void 0 ? '' : _b, message = _a.message;
54
+ if (code === 0) {
55
+ setValues(__spreadArray(__spreadArray([], __read(values), false), [text], false));
56
+ }
57
+ else {
58
+ return Promise.reject(message);
59
+ }
60
+ })
61
+ .catch(function (err) {
62
+ fbm_ui_1.Message.error(err.toString());
63
+ })
64
+ .finally(function () {
65
+ setLoading(false);
66
+ });
67
+ }, [question, values]);
68
+ var handleChange = (0, react_1.useCallback)(function (index, value) {
69
+ setValues(values.map(function (item, i) { return (i === index ? value : item); }));
70
+ }, [values]);
71
+ var handleAdd = (0, react_1.useCallback)(function () {
72
+ setValues(__spreadArray(__spreadArray([], __read(values), false), [''], false));
73
+ }, [values]);
74
+ var handleRemove = (0, react_1.useCallback)(function (index) {
75
+ setValues(values.filter(function (_, i) { return i !== index; }));
76
+ }, [values]);
77
+ return ((0, jsx_runtime_1.jsx)(fbm_ui_1.Dialog, __assign({ open: open,
78
+ // @ts-ignore
79
+ title: (0, jsx_runtime_1.jsxs)(mui_1.Stack, __assign({ direction: "row", spacing: 1 }, { children: [(0, jsx_runtime_1.jsx)(fbm_ui_1.Typography, __assign({ variant: "body1", fontWeight: 700 }, { children: "\u8BBE\u7F6E\u9898\u76EE\u5F97\u5206\u70B9" })), (0, jsx_runtime_1.jsx)(fbm_ui_1.Typography, __assign({ variant: "body2", color: "textSecondary" }, { children: "\uFF08\u6700\u591A\u6DFB\u52A03\u6761\uFF09" }))] })), size: "sm", onClose: onClose, okText: "\u786E\u8BA4", onOk: function () {
80
+ if (values.length > 3) {
81
+ return fbm_ui_1.Message.error('最多添加3条得分点,请移除多余的得分点。');
82
+ }
83
+ onOk(values);
84
+ onClose();
85
+ } }, { children: (0, jsx_runtime_1.jsxs)(mui_1.Stack, { children: [(0, jsx_runtime_1.jsx)(fbm_ui_1.Typography, __assign({ variant: "body2", color: "textSecondary", mb: 4 }, { children: question })), values === null || values === void 0 ? void 0 : values.map(function (item, index) {
86
+ return ((0, jsx_runtime_1.jsxs)(mui_1.Stack, __assign({ direction: "row", spacing: 1 }, { children: [(0, jsx_runtime_1.jsx)(fbm_ui_1.TextField, { max: 100, sx: { flexGrow: 1, height: 'auto' }, value: item, onChange: function (e) {
87
+ handleChange(index, e.target.value);
88
+ } }), (0, jsx_runtime_1.jsx)(fbm_ui_1.Box, __assign({ height: 84, pt: 1 }, { children: (0, jsx_runtime_1.jsx)(fbm_ui_1.IconButton, __assign({ size: "small", onClick: function () { return handleRemove(index); } }, { children: (0, jsx_runtime_1.jsx)(fbm_icons_1.CloseIcon, {}) })) }))] }), index));
89
+ }), (0, jsx_runtime_1.jsxs)(mui_1.Stack, __assign({ spacing: 1, direction: "row", alignItems: "center" }, { children: [(0, jsx_runtime_1.jsx)(fbm_ui_1.Button, __assign({ variant: "outlined", color: "inherit", startIcon: (0, jsx_runtime_1.jsx)(fbm_icons_1.AddIcon, {}), onClick: handleAdd }, { children: "\u6DFB\u52A0" })), (0, jsx_runtime_1.jsx)(fbm_ui_1.Button, __assign({ variant: "outlined", loading: loading, color: "inherit", startIcon: (0, jsx_runtime_1.jsx)(fbm_icons_1.AiIcon, {}), onClick: handleMakeFromAi }, { children: "AI\u751F\u6210" }))] }))] }) })));
90
+ };
91
+ exports.default = FollowupKeyPoints;
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ declare const FollowupTarget: ({ scorePoints, question, open, onClose, onOk }: {
3
+ scorePoints: any;
4
+ question: any;
5
+ open: any;
6
+ onClose: any;
7
+ onOk: any;
8
+ }) => JSX.Element;
9
+ export default FollowupTarget;
@@ -0,0 +1,70 @@
1
+ "use strict";
2
+ var __assign = (this && this.__assign) || function () {
3
+ __assign = Object.assign || function(t) {
4
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
5
+ s = arguments[i];
6
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
+ t[p] = s[p];
8
+ }
9
+ return t;
10
+ };
11
+ return __assign.apply(this, arguments);
12
+ };
13
+ var __read = (this && this.__read) || function (o, n) {
14
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
15
+ if (!m) return o;
16
+ var i = m.call(o), r, ar = [], e;
17
+ try {
18
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
19
+ }
20
+ catch (error) { e = { error: error }; }
21
+ finally {
22
+ try {
23
+ if (r && !r.done && (m = i["return"])) m.call(i);
24
+ }
25
+ finally { if (e) throw e.error; }
26
+ }
27
+ return ar;
28
+ };
29
+ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
30
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
31
+ if (ar || !(i in from)) {
32
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
33
+ ar[i] = from[i];
34
+ }
35
+ }
36
+ return to.concat(ar || Array.prototype.slice.call(from));
37
+ };
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ var jsx_runtime_1 = require("react/jsx-runtime");
40
+ var fbm_icons_1 = require("fbm-icons");
41
+ var fbm_ui_1 = require("fbm-ui");
42
+ var mui_1 = require("fbm-ui/lib/mui");
43
+ var react_1 = require("react");
44
+ var FollowupTarget = function (_a) {
45
+ var scorePoints = _a.scorePoints, question = _a.question, open = _a.open, onClose = _a.onClose, onOk = _a.onOk;
46
+ var _b = __read((0, react_1.useState)(scorePoints || ['']), 2), values = _b[0], setValues = _b[1];
47
+ var handleChange = (0, react_1.useCallback)(function (index, value) {
48
+ setValues(values.map(function (item, i) { return (i === index ? value : item); }));
49
+ }, [values]);
50
+ var handleAdd = (0, react_1.useCallback)(function () {
51
+ setValues(__spreadArray(__spreadArray([], __read(values), false), [''], false));
52
+ }, [values]);
53
+ var handleRemove = (0, react_1.useCallback)(function (index) {
54
+ setValues(values.filter(function (_, i) { return i !== index; }));
55
+ }, [values]);
56
+ return ((0, jsx_runtime_1.jsx)(fbm_ui_1.Dialog, __assign({ open: open,
57
+ // @ts-ignore
58
+ title: (0, jsx_runtime_1.jsxs)(mui_1.Stack, __assign({ direction: "row", spacing: 1 }, { children: [(0, jsx_runtime_1.jsx)(fbm_ui_1.Typography, __assign({ variant: "body1", fontWeight: 700 }, { children: "\u8BBE\u7F6E\u8FFD\u95EE\u76EE\u6807" })), (0, jsx_runtime_1.jsx)(fbm_ui_1.Typography, __assign({ variant: "body2", color: "textSecondary" }, { children: "\uFF08\u6700\u591A\u6DFB\u52A03\u6761\uFF09" }))] })), size: "sm", onClose: onClose, okText: "\u786E\u8BA4", onOk: function () {
59
+ if (values.length > 3) {
60
+ return fbm_ui_1.Message.error('最多添加3条追问目标,请移除多余的目标。');
61
+ }
62
+ onOk(values);
63
+ onClose();
64
+ } }, { children: (0, jsx_runtime_1.jsxs)(mui_1.Stack, { children: [(0, jsx_runtime_1.jsx)(fbm_ui_1.Typography, __assign({ variant: "body2", color: "textSecondary", mb: 4 }, { children: question })), values === null || values === void 0 ? void 0 : values.map(function (item, index) {
65
+ return ((0, jsx_runtime_1.jsxs)(mui_1.Stack, __assign({ direction: "row", spacing: 1 }, { children: [(0, jsx_runtime_1.jsx)(fbm_ui_1.TextField, { max: 100, sx: { flexGrow: 1, height: 'auto' }, value: item, onChange: function (e) {
66
+ handleChange(index, e.target.value);
67
+ } }), (0, jsx_runtime_1.jsx)(fbm_ui_1.Box, __assign({ height: 84, pt: 1 }, { children: (0, jsx_runtime_1.jsx)(fbm_ui_1.IconButton, __assign({ size: "small", onClick: function () { return handleRemove(index); } }, { children: (0, jsx_runtime_1.jsx)(fbm_icons_1.CloseIcon, {}) })) }))] }), index));
68
+ }), (0, jsx_runtime_1.jsx)(mui_1.Stack, __assign({ spacing: 1, direction: "row", alignItems: "center" }, { children: (0, jsx_runtime_1.jsx)(fbm_ui_1.Button, __assign({ variant: "outlined", color: "inherit", startIcon: (0, jsx_runtime_1.jsx)(fbm_icons_1.AddIcon, {}), onClick: handleAdd }, { children: "\u6DFB\u52A0" })) }))] }) })));
69
+ };
70
+ exports.default = FollowupTarget;
@@ -79,6 +79,7 @@ var jsx_runtime_1 = require("react/jsx-runtime");
79
79
  var AiAnalysis_1 = __importDefault(require("../AiAnalysis"));
80
80
  var Chioce_1 = __importDefault(require("./Chioce"));
81
81
  var const_1 = require("./const");
82
+ var FllowupSetting_1 = __importDefault(require("./FllowupSetting"));
82
83
  var RandomQuestion_1 = __importDefault(require("./RandomQuestion"));
83
84
  var VideoVoice_1 = __importDefault(require("./VideoVoice"));
84
85
  var question_ability_store_1 = require("../../../../store/ai-ability-select/question-ability-store");
@@ -166,13 +167,13 @@ var QuestionForm = (0, react_1.forwardRef)(function (props, ref) {
166
167
  }), onChange: handleCategoryChange }) })))] })), aiShowType !== ai_question_1.ADD_QUESTION_TYPE.SINGLECHIOCE &&
167
168
  ((form === null || form === void 0 ? void 0 : form.values.broadcastType) === 1 || preview ? ((0, jsx_runtime_1.jsx)(formik_1.FieldArray, { name: "questions", render: function () {
168
169
  var _a;
169
- return (_a = form.values.questions) === null || _a === void 0 ? void 0 : _a.map(function (_, index) { return ((0, jsx_runtime_1.jsxs)(mui_1.Stack, __assign({ direction: "row", justifyContent: "space-between", spacing: 1 }, { children: [(0, jsx_runtime_1.jsx)(fbm_ui_1.FormItem, { required: true, name: "questions.".concat(index, ".content"), label: "\u9762\u8BD5\u5185\u5BB9", max: 300, placeholder: "\u9762\u8BD5\u5185\u5BB9\uFF08\u7CFB\u7EDF\u5C06\u6839\u636E\u6B64\u5185\u5BB9\u5411\u5019\u9009\u4EBA\u8FDB\u884C\u8BED\u97F3\u64AD\u62A5\uFF09", InputProps: {
170
- rows: 3,
171
- multiline: true,
172
- sx: { padding: 0 },
173
- }, sx: { flexGrow: 1, height: 120 } }), form.values.questions.length > 1 && ((0, jsx_runtime_1.jsx)(fbm_ui_1.Box, __assign({ height: 84, pt: 1 }, { children: (0, jsx_runtime_1.jsx)(fbm_ui_1.IconButton, __assign({ size: "small", onClick: function () {
174
- form.setValues(__assign(__assign({}, form.values), { questions: __spreadArray([], __read(form.values.questions.filter(function (_, i) { return i !== index; })), false) }));
175
- } }, { children: (0, jsx_runtime_1.jsx)(fbm_ui_1.CloseIcon, {}) })) })))] }), index)); });
170
+ return (_a = form.values.questions) === null || _a === void 0 ? void 0 : _a.map(function (_, index) { return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsxs)(mui_1.Stack, __assign({ direction: "row", justifyContent: "space-between", spacing: 1 }, { children: [(0, jsx_runtime_1.jsx)(fbm_ui_1.FormItem, { required: true, name: "questions.".concat(index, ".content"), label: "\u9762\u8BD5\u5185\u5BB9", max: 300, placeholder: "\u9762\u8BD5\u5185\u5BB9\uFF08\u7CFB\u7EDF\u5C06\u6839\u636E\u6B64\u5185\u5BB9\u5411\u5019\u9009\u4EBA\u8FDB\u884C\u8BED\u97F3\u64AD\u62A5\uFF09", InputProps: {
171
+ rows: 3,
172
+ multiline: true,
173
+ sx: { padding: 0 },
174
+ }, sx: { flexGrow: 1, height: 120 } }), form.values.questions.length > 1 && ((0, jsx_runtime_1.jsx)(fbm_ui_1.Box, __assign({ height: 84, pt: 1 }, { children: (0, jsx_runtime_1.jsx)(fbm_ui_1.IconButton, __assign({ size: "small", onClick: function () {
175
+ form.setValues(__assign(__assign({}, form.values), { questions: __spreadArray([], __read(form.values.questions.filter(function (_, i) { return i !== index; })), false) }));
176
+ } }, { children: (0, jsx_runtime_1.jsx)(fbm_ui_1.CloseIcon, {}) })) })))] }), index), (0, jsx_runtime_1.jsx)(FllowupSetting_1.default, { index: index, form: form })] })); });
176
177
  } })) : ((0, jsx_runtime_1.jsx)(VideoVoice_1.default, {}))), !preview && aiShowType === ai_question_1.ADD_QUESTION_TYPE.SINGLECHIOCE && (
177
178
  // @ts-ignore
178
179
  (0, jsx_runtime_1.jsx)(fbm_ui_1.Box, { children: (0, jsx_runtime_1.jsx)(formik_1.FieldArray, { name: "questions", render: function () {
@@ -1,4 +1,5 @@
1
1
  import { BaseAiAbilityParams, BaseExtraParams } from '@/modules/ai-question/interface';
2
+ import { FormProps } from 'fbm-ui';
2
3
  import type { FormikErrors } from 'formik';
3
4
  export interface VideoBroadcastParams {
4
5
  videoRetry?: number;
@@ -13,6 +14,8 @@ export interface Question {
13
14
  content: string;
14
15
  videoUrl: string;
15
16
  options?: Option[];
17
+ followUpGoals?: string[];
18
+ scorePoints?: string[];
16
19
  }
17
20
  export interface QuestionParams {
18
21
  name: string;
@@ -86,3 +89,7 @@ export interface RandomQuestionProps {
86
89
  onAddCustonQuestion?: () => void;
87
90
  onAddRandomQuestion?: (qs: string[]) => void;
88
91
  }
92
+ export interface QuestionKeyPointsProps {
93
+ index: number;
94
+ form: FormProps<QuestionFormValues>;
95
+ }
@@ -55,7 +55,7 @@ var Index = function () {
55
55
  var _a;
56
56
  var c = customInterviewDimRankMap === null || customInterviewDimRankMap === void 0 ? void 0 : customInterviewDimRankMap[v.evaluationToken];
57
57
  var rank = (0, utils_1.rankPercent)((c === null || c === void 0 ? void 0 : c.rank) || (v === null || v === void 0 ? void 0 : v.rank), (c === null || c === void 0 ? void 0 : c.total) || (v === null || v === void 0 ? void 0 : v.total));
58
- return ((0, jsx_runtime_1.jsxs)(mui_1.Box, __assign({ component: mui_1.Paper, elevation: 0, bgcolor: "#f9f9f9", mb: 2, pb: 2 }, { children: [(0, jsx_runtime_1.jsxs)(mui_1.Stack, __assign({ px: 2, pt: 2 }, { children: [(0, jsx_runtime_1.jsxs)(mui_1.Stack, __assign({ direction: "row", alignItems: "center", spacing: 2 }, { children: [(0, jsx_runtime_1.jsx)(fbm_ui_1.Typography, __assign({ variant: "h6", fontWeight: "medium", sx: { fontWeight: 500 } }, { children: v.evaluationDimensionName })), !isNaN(rank) && ((0, jsx_runtime_1.jsxs)(fbm_ui_1.Typography, __assign({ variant: "body2" }, { children: ["\u51FB\u8D25\u4E86", (0, jsx_runtime_1.jsxs)(fbm_ui_1.Typography, __assign({ variant: "body2", fontWeight: "medium", display: "inline", color: "#4caf50" }, { children: [rank.toFixed(2), "%"] })), "\u7684\u5019\u9009\u4EBA"] })))] })), (0, jsx_runtime_1.jsx)(fbm_ui_1.Typography, __assign({ mt: 1, mb: 2, variant: "body2", fontWeight: "medium", color: "#4caf50" }, { children: v.impressions.join('、') }))] })), (0, jsx_runtime_1.jsx)(mui_1.Divider, { sx: { borderColor: 'rgba(0,0,0,0.08)' } }), (0, jsx_runtime_1.jsxs)(mui_1.Stack, __assign({ px: 2 }, { children: [((_a = v.items) === null || _a === void 0 ? void 0 : _a.length) > 0 && ((0, jsx_runtime_1.jsx)(mui_1.Box, __assign({ mt: 2 }, { children: (0, jsx_runtime_1.jsx)(Graph_1.default, { items: v.items }) }))), (0, jsx_runtime_1.jsxs)(mui_1.Stack, __assign({ spacing: 2, mt: 2 }, { children: [(0, jsx_runtime_1.jsx)(Evaluate_1.default, { canEdit: canEditAiDimension, token: v.evaluationToken, evaluations: v.evaluations, title: "\u8BC4\u4EF7\u5185\u5BB9", field: "evaluations", mode: "show" }), (0, jsx_runtime_1.jsx)(Evaluate_1.default, { canEdit: canEditAiDimension, token: v.evaluationToken, evaluations: v.suggestions, title: "\u63D0\u9AD8\u5EFA\u8BAE", field: "suggestions", mode: "show" })] }))] }))] }), v.evaluationToken));
58
+ return ((0, jsx_runtime_1.jsxs)(mui_1.Box, __assign({ component: mui_1.Paper, elevation: 0, bgcolor: "#f9f9f9", mb: 2, pb: 2 }, { children: [(0, jsx_runtime_1.jsxs)(mui_1.Stack, __assign({ px: 2, pt: 2 }, { children: [(0, jsx_runtime_1.jsxs)(mui_1.Stack, __assign({ direction: "row", alignItems: "center", spacing: 2 }, { children: [(0, jsx_runtime_1.jsx)(fbm_ui_1.Typography, __assign({ variant: "h6", fontWeight: "medium", sx: { fontWeight: 500 } }, { children: v.evaluationDimensionName })), !isNaN(rank) && ((0, jsx_runtime_1.jsxs)(fbm_ui_1.Typography, __assign({ variant: "body2" }, { children: ["\u51FB\u8D25\u4E86", (0, jsx_runtime_1.jsxs)(fbm_ui_1.Typography, __assign({ variant: "body2", fontWeight: "medium", display: "inline", color: "#4caf50" }, { children: [rank.toFixed(2), "%"] })), "\u7684\u5019\u9009\u4EBA"] })))] })), (0, jsx_runtime_1.jsx)(fbm_ui_1.Typography, __assign({ mt: 1, mb: 2, variant: "body2", fontWeight: "medium", color: "#4caf50" }, { children: v.impressions.join('、') }))] })), (0, jsx_runtime_1.jsx)(mui_1.Divider, { sx: { borderColor: 'rgba(0,0,0,0.08)' } }), (0, jsx_runtime_1.jsxs)(mui_1.Stack, __assign({ px: 2 }, { children: [((_a = v.items) === null || _a === void 0 ? void 0 : _a.length) > 0 && ((0, jsx_runtime_1.jsx)(mui_1.Box, __assign({ mt: 2 }, { children: (0, jsx_runtime_1.jsx)(Graph_1.default, { items: v.items }) }))), (0, jsx_runtime_1.jsx)(mui_1.Stack, __assign({ spacing: 2, mt: 2 }, { children: (0, jsx_runtime_1.jsx)(Evaluate_1.default, { canEdit: canEditAiDimension, token: v.evaluationToken, evaluations: v.evaluations, title: "\u8BC4\u4EF7\u5185\u5BB9", field: "evaluations", mode: "show" }) }))] }))] }), v.evaluationToken));
59
59
  }), (0, jsx_runtime_1.jsxs)(mui_1.Stack, __assign({ spacing: 1, mt: 4, pb: 2 }, { children: [(0, jsx_runtime_1.jsx)(fbm_ui_1.Typography, __assign({ variant: "body2", fontWeight: "medium", color: "textSecondary" }, { children: "\u7ED3\u679C\u8BF4\u660E" })), (0, jsx_runtime_1.jsxs)(fbm_ui_1.Typography, __assign({ variant: "caption", color: "rgba(0,0,0,0.26)" }, { children: ["AI\u57FA\u7840\u80FD\u529B\u4ECE\u8BED\u901F\u3001\u666E\u901A\u8BDD\u3001\u8BED\u8A00\u6D41\u7545\u5EA6\u3001\u8981\u70B9\u5206\u6790\u5339\u914D\u5EA6\u3001\u8BED\u8A00\u4E30\u5BCC\u5EA6\u3001\u5F62\u8C61\u516D\u4E2A\u7EF4\u5EA6\u5BF9\u5019\u9009\u4EBA\u5728\u9762\u8BD5\u4E2D\u7684\u56DE\u7B54\u8868\u73B0\u8FDB\u884C\u8BC4\u4EF7\uFF0C\u6BCF\u4E2A\u7EF4\u5EA6\u5206\u4E3A\u4E09\u4E2A\u6863\uFF0C\u5206\u522B\u4E3A\uFF1A\u524D30%\u4EE3\u8868\u4F18\u79C0\u3001\u4E2D\u95F430%~70%\u4EE3\u8868\u9002\u4E2D\u3001\u540E30%\u4EE3\u8868\u6B20\u4F73\u3002", (0, jsx_runtime_1.jsx)("br", {}), "\u6BCF\u4E2A\u80FD\u529B\u7684\u4E09\u6863\u7684\u5206\u6570\u503C\u4F9D\u636E\u5168\u56FD\u5927\u6570\u636E\u7EDF\u8BA1\u800C\u5B9A\u3002\u6839\u636E\u5019\u9009\u4EBA\u5F53\u524DAI\u89C6\u9891\u6B65\u9AA4\u4E0B\u7684\u6BCF\u4E2A\u80FD\u529B\u7684\u5E73\u5747\u5206\u6765\u786E\u5B9A\u6BCF\u4E2A\u80FD\u529B\u7684\u8BC4\u4EF7\u3002\u76F8\u540C\u7684\u5F97\u5206\uFF0C\u6210\u7EE9\u5148\u51FA\u7684\u6392\u540D\u9760\u524D\u3002"] }))] }))] }))] })));
60
60
  };
61
61
  exports.default = Index;
@@ -19,7 +19,7 @@ var Workplaces = function (_a) {
19
19
  if (suggestionAnswer || referenceAnswer) {
20
20
  return ((0, jsx_runtime_1.jsxs)(mui_1.Stack, __assign({ sx: {
21
21
  backgroundColor: 'rgb(245, 245, 245)',
22
- }, p: 1, spacing: 1 }, { children: [suggestionAnswer && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(fbm_ui_1.Typography, __assign({ variant: "body2", fontWeight: 700 }, { children: "\u5206\u6790\u5EFA\u8BAE" })), (0, jsx_runtime_1.jsx)(mui_1.Paper, __assign({ sx: { padding: '8px 26px 8px 8px ' }, variant: "outlined" }, { children: (0, jsx_runtime_1.jsx)(fbm_ui_1.Typography, __assign({ variant: "body2" }, { children: suggestionAnswer })) }))] })), referenceAnswer && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(fbm_ui_1.Typography, __assign({ variant: "body2", fontWeight: 700 }, { children: "\u53C2\u8003\u6A21\u677F" })), (0, jsx_runtime_1.jsx)(mui_1.Paper, __assign({ sx: { padding: '8px 26px 8px 8px ' }, variant: "outlined" }, { children: (0, jsx_runtime_1.jsx)(fbm_ui_1.Typography, __assign({ variant: "body2" }, { children: referenceAnswer })) }))] }))] })));
22
+ }, p: 1, spacing: 1 }, { children: [suggestionAnswer && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(fbm_ui_1.Typography, __assign({ variant: "body2", fontWeight: 700, sx: { color: '#4caf50' } }, { children: "\u5206\u6790\u5EFA\u8BAE" })), (0, jsx_runtime_1.jsx)(mui_1.Paper, __assign({ sx: { padding: '8px 26px 8px 8px ' }, variant: "outlined" }, { children: (0, jsx_runtime_1.jsx)(fbm_ui_1.Typography, __assign({ variant: "body2" }, { children: suggestionAnswer })) }))] })), referenceAnswer && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(fbm_ui_1.Typography, __assign({ variant: "body2", fontWeight: 700, sx: { color: '#4caf50' } }, { children: "\u53C2\u8003\u6A21\u677F" })), (0, jsx_runtime_1.jsx)(mui_1.Paper, __assign({ sx: { padding: '8px 26px 8px 8px ' }, variant: "outlined" }, { children: (0, jsx_runtime_1.jsx)(fbm_ui_1.Typography, __assign({ variant: "body2", color: "textSecondary" }, { children: referenceAnswer })) }))] }))] })));
23
23
  }
24
24
  else {
25
25
  return null;
@@ -4,6 +4,7 @@ export declare const PostAiModels: <R>() => import("axios").AxiosPromise<R>;
4
4
  export declare const PostAiModelDetails: <R>(token: string) => import("axios").AxiosPromise<R>;
5
5
  export declare const PostAiAbilities: <R>() => import("axios").AxiosPromise<R>;
6
6
  export declare const PostAiModelUpsert: <R>(data: any) => import("axios").AxiosPromise<R>;
7
+ export declare const PostAiModelGenerateByAI: <R>(data: any) => import("axios").AxiosPromise<R>;
7
8
  export declare const GetAiInterviewerProfileList: <R>() => import("axios").AxiosPromise<R>;
8
9
  interface PostAiInterviewData {
9
10
  aiModelToken: string;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PostAiInterview = exports.GetAiInterviewerProfileList = exports.PostAiModelUpsert = exports.PostAiAbilities = exports.PostAiModelDetails = exports.PostAiModels = exports.PostAiModelQuestions = exports.PostCommonUpload = void 0;
3
+ exports.PostAiInterview = exports.GetAiInterviewerProfileList = exports.PostAiModelGenerateByAI = exports.PostAiModelUpsert = exports.PostAiAbilities = exports.PostAiModelDetails = exports.PostAiModels = exports.PostAiModelQuestions = exports.PostCommonUpload = void 0;
4
4
  var request_1 = require("../utils/request");
5
5
  // 公共上传
6
6
  var PostCommonUpload = function (data) { return (0, request_1.POST)({ url: '/common/upload', data: data }); };
@@ -20,6 +20,8 @@ exports.PostAiAbilities = PostAiAbilities;
20
20
  // 创建或修改AI模型
21
21
  var PostAiModelUpsert = function (data) { return (0, request_1.POST)({ url: '/standard/b/aiModel/upsert', data: data }); };
22
22
  exports.PostAiModelUpsert = PostAiModelUpsert;
23
+ var PostAiModelGenerateByAI = function (data) { return (0, request_1.POST)({ url: '/standard/b/aiModel/generateByAI', data: data }); };
24
+ exports.PostAiModelGenerateByAI = PostAiModelGenerateByAI;
23
25
  // 获取虚拟人列表
24
26
  var GetAiInterviewerProfileList = function () { return (0, request_1.GET)({ url: "/standard/b/examPapers/commonInfo" }); };
25
27
  exports.GetAiInterviewerProfileList = GetAiInterviewerProfileList;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eli-video-interview",
3
- "version": "1.2.41-alpha.23",
3
+ "version": "1.2.41-alpha.25",
4
4
  "description": "鳄梨科技 AI视频面试 React SDK",
5
5
  "author": "鳄梨科技",
6
6
  "license": "MIT",