ai-question-pro 0.0.21 → 0.0.23
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.
- package/components/demo/src/main.vue +340 -125
- package/components/demo/src/questionItem.vue +8 -8
- package/dist/ai-question-pro.common.js +296 -263
- package/dist/ai-question-pro.common.js.map +1 -1
- package/dist/ai-question-pro.umd.js +296 -263
- package/dist/ai-question-pro.umd.js.map +1 -1
- package/dist/ai-question-pro.umd.min.js +4 -4
- package/dist/ai-question-pro.umd.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -1477,7 +1477,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".tree-select__option.el-select-dropdow
|
|
|
1477
1477
|
|
|
1478
1478
|
/***/ }),
|
|
1479
1479
|
|
|
1480
|
-
/***/
|
|
1480
|
+
/***/ 9952:
|
|
1481
1481
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1482
1482
|
|
|
1483
1483
|
"use strict";
|
|
@@ -1491,14 +1491,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1491
1491
|
|
|
1492
1492
|
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
1493
1493
|
// Module
|
|
1494
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".ai_contain[data-v-598246f8]{display:inline-block;font-family:Microsoft YaHei,微软雅黑,sans-serif}.ai_contain[data-v-598246f8] .el-drawer.rtl{border-radius:15px 0 0 15px;width:720px!important}.ai_contain[data-v-598246f8] .el-icon-close:before{color:#0e0e0e;font-weight:700;font-size:24px}.ai_contain[data-v-598246f8] .el-drawer__header{padding-top:0;height:64px;background:linear-gradient(180deg,hsla(0,0%,100%,0),#fff),linear-gradient(90deg,#bcb9f4,#d5c6f8,#e6c6f9);margin-bottom:0}.ai_contain[data-v-598246f8] .el-drawer__body{padding:0 30px;display:flex;flex-direction:column;justify-content:space-between}.ai_contain[data-v-598246f8] .el-checkbox__inner{width:20px;height:20px;border-radius:4px}.ai_contain[data-v-598246f8] .el-checkbox__input.is-checked .el-checkbox__inner{background-color:#7c4dff;border-color:#7c4dff}.ai_contain[data-v-598246f8] .el-checkbox__inner:after{width:4px;height:9px;border:3px solid #fff;border-left:0;border-top:0;left:6px;top:2px}.ai_contain[data-v-598246f8] .el-slider__runway{height:6px;background-color:#e5e5e5;border-radius:3px}.ai_contain[data-v-598246f8] .el-slider__button{width:20px;height:20px;border:1px solid #7c4dff;background-color:#7c4dff}.ai_contain[data-v-598246f8] .el-slider__bar{background-color:#7c4dff}.ai_contain[data-v-598246f8] .el-input__inner{border-radius:12px;height:48px;border:1px solid #e0e0e0}.ai_contain[data-v-598246f8] .el-textarea__inner{border-radius:16px;border:1px solid #e0e0e0;font-family:Microsoft YaHei,微软雅黑,sans-serif}.ai_contain[data-v-598246f8] .el-loading-mask{border-radius:8px}.ai_contain .ai_button[data-v-598246f8]{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;padding:9px 6px;position:relative;color:#fff;background-color:#456bea;border-radius:4px;border:1px solid #456bea}.ai_contain .add_question_title[data-v-598246f8]{display:flex;align-items:center;font-size:18px;color:#333;font-weight:700;gap:7px}.ai_contain .add_question_body .question-type-header[data-v-598246f8]{margin-bottom:20px}.ai_contain .add_question_body .question-type-header .required-mark[data-v-598246f8]{color:#f45;margin-right:4px}.ai_contain .add_question_body .question-type-header .section-title[data-v-598246f8]{font-size:14px;color:#303040}.ai_contain .add_question_body .question-type-header .tip-text[data-v-598246f8]{font-size:12px;color:#999;margin-left:20px}.ai_contain .add_question_body .question-type-list[data-v-598246f8]{margin-bottom:30px}.ai_contain .add_question_body .question-type-list .question-type-item[data-v-598246f8]{display:flex;align-items:center;padding:5px 10px;margin-bottom:12px;transition:all .3s ease}.ai_contain .add_question_body .question-type-list .question-type-item .type-left[data-v-598246f8]{display:flex;align-items:center}.ai_contain .add_question_body .question-type-list .question-type-item .type-left .type-checkbox[data-v-598246f8]{margin-right:12px}.ai_contain .add_question_body .question-type-list .question-type-item .type-left .type-name[data-v-598246f8]{font-size:14px;font-weight:700;border-radius:54px;color:#fff;height:40px;width:80px;display:flex;align-items:center;justify-content:center}.ai_contain .add_question_body .question-type-list .question-type-item .type-left .type-name.type-single[data-v-598246f8]{background:rgba(128,96,240,.161);color:#6040f0}.ai_contain .add_question_body .question-type-list .question-type-item .type-left .type-name.type-multiple[data-v-598246f8]{background:rgba(0,144,240,.161);color:#0090ff}.ai_contain .add_question_body .question-type-list .question-type-item .type-left .type-name.type-gapfilling[data-v-598246f8]{background:rgba(96,192,144,.161);color:#60c090}.ai_contain .add_question_body .question-type-list .question-type-item .type-left .type-name.type-judge[data-v-598246f8]{background:rgba(240,160,0,.161);color:#f0a000}.ai_contain .add_question_body .question-type-list .question-type-item .type-left .type-name.type-shortanswer[data-v-598246f8]{background:rgba(224,96,192,.161);color:#e060c0}.ai_contain .add_question_body .question-type-list .question-type-item .type-right[data-v-598246f8]{display:flex;align-items:center;gap:20px}.ai_contain .add_question_body .question-type-list .question-type-item .type-right .count-input[data-v-598246f8]{width:160px;margin-left:20px}.ai_contain .add_question_body .question-type-list .question-type-item .type-right .count-input[data-v-598246f8] .el-input__inner{height:42px;border-radius:56px;text-align:center;font-size:12px}.ai_contain .add_question_body .question-type-list .question-type-item .type-right .slider-container[data-v-598246f8]{width:240px;margin-left:10px}.ai_contain .add_question_body .question-type-list .question-type-item .type-right .slider-container.disabled[data-v-598246f8] .el-slider__button{background-color:#fff;border:1px solid #797979}.ai_contain .add_question_body .question-type-list .question-type-item .type-right .difficulty-label[data-v-598246f8]{font-size:14px;color:#6040e0;min-width:80px;font-weight:700}.ai_contain .add_question_body .question-type-list .question-type-item .type-right .difficulty-label.disabled[data-v-598246f8]{color:#ccc}.ai_contain .add_question_body .question-type-list .question-type-item .type-right .placeholder-text[data-v-598246f8]{font-size:12px;color:#dddde0;width:160px;border:1px solid #dddde0;border-radius:56px;height:40px;text-align:center;margin-left:20px;display:flex;align-items:center;justify-content:center}.ai_contain .add_question_body .knowledge-section[data-v-598246f8],.ai_contain .add_question_body .prompt-section[data-v-598246f8]{margin-bottom:24px}.ai_contain .add_question_body .knowledge-section .section-header[data-v-598246f8],.ai_contain .add_question_body .prompt-section .section-header[data-v-598246f8]{margin-bottom:12px}.ai_contain .add_question_body .knowledge-section .section-header .required-mark[data-v-598246f8],.ai_contain .add_question_body .prompt-section .section-header .required-mark[data-v-598246f8]{color:#f45;margin-right:4px}.ai_contain .add_question_body .knowledge-section .section-header .section-title[data-v-598246f8],.ai_contain .add_question_body .prompt-section .section-header .section-title[data-v-598246f8]{font-size:14px;color:#303040}.ai_contain .add_question_body .knowledge-section .section-header .tip-text[data-v-598246f8],.ai_contain .add_question_body .prompt-section .section-header .tip-text[data-v-598246f8]{font-size:12px;color:#999;margin-left:20px}.ai_contain .add_question_body .knowledge-section .knowledge-input[data-v-598246f8],.ai_contain .add_question_body .prompt-section .knowledge-input[data-v-598246f8]{position:relative}.ai_contain .add_question_body .knowledge-section .knowledge-input .knowledge-icon[data-v-598246f8],.ai_contain .add_question_body .prompt-section .knowledge-input .knowledge-icon[data-v-598246f8]{position:absolute;right:12px;top:50%;transform:translateY(-50%);color:#999;font-size:16px;width:24px;height:24px}.ai_contain .add_question_body .prompt-textarea .el-textarea__inner[data-v-598246f8]{min-height:120px!important;font-family:Microsoft YaHei,微软雅黑,sans-serif}.ai_contain .add_question_footer[data-v-598246f8]{padding-bottom:30px;display:flex;justify-content:center;align-items:center;gap:30px}.ai_contain .add_question_footer .button-handle[data-v-598246f8]{width:168px;height:48px;font-size:14px;border-radius:25px;border:none;color:#fff;cursor:pointer;transition:all .3s ease}.ai_contain .add_question_footer .button-handle[data-v-598246f8]:hover{transform:translateY(-1px);box-shadow:0 4px 12px rgba(0,0,0,.15)}.ai_contain .add_question_footer .button-generate-question[data-v-598246f8]{background:linear-gradient(180deg,#7050d0 0,#2828e0);width:280px;display:flex;justify-content:center;align-items:center;gap:10px}.ai_contain .add_question_footer .button-cancel[data-v-598246f8]{border:1px solid #7050d0;background:transparent;color:#3030c0}.ai_contain .ai-bot-switch[data-v-598246f8]{display:flex;align-items:center;background:transparent;justify-content:center;border-radius:49px;-webkit-user-select:none;-moz-user-select:none;user-select:none;height:40px;width:144px;cursor:pointer;z-index:2;border:1px solid rgba(96,64,224,.639);font-size:12px;color:#182028}.ai_contain .ai-bot-label[data-v-598246f8]{font-weight:500;margin-right:2px;margin-left:5px;width:72px}.ai_contain .ai-bot-dropdown[data-v-598246f8]{background:#fff;border-radius:8px;box-shadow:0 2px 8px rgba(0,0,0,.08);border:1px solid #e0e0ff;padding:4px 0}.ai_contain .ai-bot-dropdown-item[data-v-598246f8]{padding:8px 20px;cursor:pointer;font-size:14px;color:#333;transition:background .2s}.ai_contain .ai-bot-dropdown-item.active[data-v-598246f8],.ai_contain .ai-bot-dropdown-item[data-v-598246f8]:hover{background:#f0f2f8;color:#3830e0}.ai_contain .question-result-drawer[data-v-598246f8] .el-drawer__body{padding:0;height:100%;display:flex;flex-direction:column}.ai_contain .question-result-drawer .drawer_content_wrapper[data-v-598246f8]{display:flex;flex-direction:column;height:100%;padding:0 20px}.ai_contain .question-result-drawer .question_summary_warp[data-v-598246f8]{display:flex;justify-content:space-between;margin-bottom:20px}.ai_contain .question-result-drawer .question_summary_warp .question_summary .summary_text[data-v-598246f8]{color:#6040e0;font-size:14px;font-weight:700}.ai_contain .question-result-drawer .question_summary_warp .question_summary .question_types_summary .type_item[data-v-598246f8]{font-size:12px;color:rgba(24,32,40,.639)}.ai_contain .question-result-drawer .question_summary_warp .question_summary_button[data-v-598246f8]{display:flex;gap:15px;margin-right:15px}.ai_contain .question-result-drawer .question_summary_warp .question_summary_button .button-handle[data-v-598246f8]{width:96px;height:40px;font-size:14px;border-radius:25px;border:none;color:#fff;cursor:pointer;transition:all .3s ease}.ai_contain .question-result-drawer .question_summary_warp .question_summary_button .button-generate-question[data-v-598246f8]{background:linear-gradient(180deg,#7050d0 0,#2828e0);display:flex;justify-content:center;align-items:center;gap:10px}.ai_contain .question-result-drawer .question_summary_warp .question_summary_button .button-cancel[data-v-598246f8]{border:1px solid #7050d0;background:transparent;color:#3030c0}.ai_contain .question-result-drawer .question_body[data-v-598246f8]{flex:1;overflow-y:auto;padding-right:10px}.ai_contain .question-result-drawer .question_body[data-v-598246f8]::-webkit-scrollbar{width:6px}.ai_contain .question-result-drawer .question_body[data-v-598246f8]::-webkit-scrollbar-track{background:hsla(0,0%,100%,.3);border-radius:3px}.ai_contain .question-result-drawer .question_body[data-v-598246f8]::-webkit-scrollbar-thumb{background:rgba(124,77,255,.3);border-radius:3px}.ai_contain .question-result-drawer .question_body[data-v-598246f8]::-webkit-scrollbar-thumb:hover{background:rgba(124,77,255,.5)}.ai_contain .question-result-drawer .question_footer_fixed[data-v-598246f8]{flex-shrink:0;padding:0 0 10px 0;background:hsla(0,0%,100%,.9);border-top:1px solid hsla(0,0%,100%,.3);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.ai_contain .question-result-drawer .question_footer_fixed .footer_warning[data-v-598246f8]{display:flex;align-items:center;gap:8px}.ai_contain .question-result-drawer .question_footer_fixed .footer_warning .el-icon-info[data-v-598246f8]{width:24px;height:24px;flex-shrink:0}.ai_contain .question-result-drawer .question_footer_fixed .footer_warning .question_remind[data-v-598246f8]{font-size:12px;color:#797979;line-height:1.4}", ""]);
|
|
1494
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".ai_contain[data-v-c5ff5afa]{display:inline-block;font-family:Microsoft YaHei,微软雅黑,sans-serif}.ai_contain[data-v-c5ff5afa] .el-drawer.rtl{border-radius:20px;width:720px!important}.ai_contain[data-v-c5ff5afa] .el-icon-close:before{color:#0e0e0e;font-weight:700;font-size:24px}.ai_contain[data-v-c5ff5afa] .el-drawer__header{padding-top:0;height:64px;background:linear-gradient(180deg,hsla(0,0%,100%,0),#fff),linear-gradient(90deg,#bcb9f4,#d5c6f8,#e6c6f9);margin-bottom:0;border-radius:20px}.ai_contain[data-v-c5ff5afa] .el-drawer__body{padding:0 30px;display:flex;flex-direction:column;justify-content:space-between}.ai_contain[data-v-c5ff5afa] .el-checkbox__inner{width:20px;height:20px;border-radius:4px}.ai_contain[data-v-c5ff5afa] .el-checkbox__input.is-checked .el-checkbox__inner{background-color:#7c4dff;border-color:#7c4dff}.ai_contain[data-v-c5ff5afa] .el-checkbox__inner:after{width:4px;height:9px;border:3px solid #fff;border-left:0;border-top:0;left:6px;top:2px}.ai_contain[data-v-c5ff5afa] .el-slider__runway{height:6px;background-color:#e5e5e5;border-radius:3px}.ai_contain[data-v-c5ff5afa] .el-slider__button{width:20px;height:20px;border:1px solid #7c4dff;background-color:#7c4dff}.ai_contain[data-v-c5ff5afa] .el-slider__bar{background-color:#7c4dff}.ai_contain[data-v-c5ff5afa] .el-input__inner{border-radius:12px;height:48px!important;border:1px solid #e0e0e0}.ai_contain[data-v-c5ff5afa] .el-textarea__inner{border-radius:16px;border:1px solid #e0e0e0;font-family:Microsoft YaHei,微软雅黑,sans-serif}.ai_contain[data-v-c5ff5afa] .el-loading-mask{border-radius:8px}.ai_contain .ai_button[data-v-c5ff5afa]{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;padding:9px 6px;position:relative;color:#fff;background-color:#456bea;border-radius:4px;border:1px solid #456bea}.ai_contain .add_question_title[data-v-c5ff5afa]{display:flex;align-items:center;font-size:18px;color:#333;font-weight:700;gap:7px}.ai_contain .add_question_body .question-type-header[data-v-c5ff5afa]{margin-bottom:20px}.ai_contain .add_question_body .question-type-header .required-mark[data-v-c5ff5afa]{color:#f45;margin-right:4px}.ai_contain .add_question_body .question-type-header .section-title[data-v-c5ff5afa]{font-size:14px;color:#303040}.ai_contain .add_question_body .question-type-header .tip-text[data-v-c5ff5afa]{font-size:12px;color:#999;margin-left:20px}.ai_contain .add_question_body .question-type-list[data-v-c5ff5afa]{margin-bottom:30px}.ai_contain .add_question_body .question-type-list .question-type-item[data-v-c5ff5afa]{display:flex;align-items:center;padding:5px 10px;margin-bottom:12px;transition:all .3s ease}.ai_contain .add_question_body .question-type-list .question-type-item .type-left[data-v-c5ff5afa]{display:flex;align-items:center}.ai_contain .add_question_body .question-type-list .question-type-item .type-left .type-checkbox[data-v-c5ff5afa]{margin-right:12px}.ai_contain .add_question_body .question-type-list .question-type-item .type-left .type-name[data-v-c5ff5afa]{font-size:14px;font-weight:700;border-radius:54px;color:#fff;height:40px;width:80px;display:flex;align-items:center;justify-content:center}.ai_contain .add_question_body .question-type-list .question-type-item .type-left .type-name.type-single[data-v-c5ff5afa]{background:rgba(128,96,240,.161);color:#6040f0}.ai_contain .add_question_body .question-type-list .question-type-item .type-left .type-name.type-multiple[data-v-c5ff5afa]{background:rgba(0,144,240,.161);color:#0090ff}.ai_contain .add_question_body .question-type-list .question-type-item .type-left .type-name.type-gapfilling[data-v-c5ff5afa]{background:rgba(96,192,144,.161);color:#60c090}.ai_contain .add_question_body .question-type-list .question-type-item .type-left .type-name.type-judge[data-v-c5ff5afa]{background:rgba(240,160,0,.161);color:#f0a000}.ai_contain .add_question_body .question-type-list .question-type-item .type-left .type-name.type-shortanswer[data-v-c5ff5afa]{background:rgba(224,96,192,.161);color:#e060c0}.ai_contain .add_question_body .question-type-list .question-type-item .type-right[data-v-c5ff5afa]{display:flex;align-items:center;gap:20px}.ai_contain .add_question_body .question-type-list .question-type-item .type-right .count-input[data-v-c5ff5afa]{width:160px;margin-left:20px}.ai_contain .add_question_body .question-type-list .question-type-item .type-right .count-input[data-v-c5ff5afa] .el-input__inner{height:42px!important;border-radius:56px;text-align:center;font-size:12px;padding:0!important}.ai_contain .add_question_body .question-type-list .question-type-item .type-right .slider-container[data-v-c5ff5afa]{width:240px;margin-left:10px}.ai_contain .add_question_body .question-type-list .question-type-item .type-right .slider-container.disabled[data-v-c5ff5afa] .el-slider__button{background-color:#fff;border:1px solid #797979}.ai_contain .add_question_body .question-type-list .question-type-item .type-right .difficulty-label[data-v-c5ff5afa]{font-size:14px;color:#6040e0;min-width:80px;font-weight:700}.ai_contain .add_question_body .question-type-list .question-type-item .type-right .difficulty-label.disabled[data-v-c5ff5afa]{color:#ccc}.ai_contain .add_question_body .question-type-list .question-type-item .type-right .placeholder-text[data-v-c5ff5afa]{font-size:12px;color:#dddde0;width:160px;border:1px solid #dddde0;border-radius:56px;height:40px;text-align:center;margin-left:20px;display:flex;align-items:center;justify-content:center}.ai_contain .add_question_body .knowledge-section[data-v-c5ff5afa],.ai_contain .add_question_body .prompt-section[data-v-c5ff5afa]{margin-bottom:24px}.ai_contain .add_question_body .knowledge-section .section-header[data-v-c5ff5afa],.ai_contain .add_question_body .prompt-section .section-header[data-v-c5ff5afa]{margin-bottom:12px}.ai_contain .add_question_body .knowledge-section .section-header .required-mark[data-v-c5ff5afa],.ai_contain .add_question_body .prompt-section .section-header .required-mark[data-v-c5ff5afa]{color:#f45;margin-right:4px}.ai_contain .add_question_body .knowledge-section .section-header .section-title[data-v-c5ff5afa],.ai_contain .add_question_body .prompt-section .section-header .section-title[data-v-c5ff5afa]{font-size:14px;color:#303040}.ai_contain .add_question_body .knowledge-section .section-header .tip-text[data-v-c5ff5afa],.ai_contain .add_question_body .prompt-section .section-header .tip-text[data-v-c5ff5afa]{font-size:12px;color:#999;margin-left:20px}.ai_contain .add_question_body .knowledge-section .knowledge-input[data-v-c5ff5afa],.ai_contain .add_question_body .prompt-section .knowledge-input[data-v-c5ff5afa]{position:relative}.ai_contain .add_question_body .knowledge-section .knowledge-input .knowledge-icon[data-v-c5ff5afa],.ai_contain .add_question_body .prompt-section .knowledge-input .knowledge-icon[data-v-c5ff5afa]{position:absolute;right:12px;top:50%;transform:translateY(-50%);color:#999;font-size:16px;width:24px;height:24px}.ai_contain .add_question_body .prompt-textarea .el-textarea__inner[data-v-c5ff5afa]{min-height:120px!important;font-family:Microsoft YaHei,微软雅黑,sans-serif}.ai_contain .add_question_footer[data-v-c5ff5afa]{padding-bottom:30px;display:flex;justify-content:center;align-items:center;gap:30px}.ai_contain .add_question_footer .button-handle[data-v-c5ff5afa]{width:168px;height:48px;font-size:14px;border-radius:25px;border:none;color:#fff;cursor:pointer;transition:all .3s ease}.ai_contain .add_question_footer .button-handle[data-v-c5ff5afa]:hover{transform:translateY(-1px);box-shadow:0 4px 12px rgba(0,0,0,.15)}.ai_contain .add_question_footer .button-generate-question[data-v-c5ff5afa]{background:linear-gradient(180deg,#7050d0 0,#2828e0);width:280px;display:flex;justify-content:center;align-items:center;gap:10px}.ai_contain .add_question_footer .button-cancel[data-v-c5ff5afa]{border:1px solid #7050d0;background:transparent;color:#3030c0}.ai_contain .ai-bot-switch[data-v-c5ff5afa]{display:flex;align-items:center;background:transparent;justify-content:center;border-radius:49px;-webkit-user-select:none;-moz-user-select:none;user-select:none;height:40px;width:144px;cursor:pointer;z-index:2;border:1px solid rgba(96,64,224,.639);font-size:12px;color:#182028}.ai_contain .ai-bot-label[data-v-c5ff5afa]{font-weight:500;margin-right:2px;margin-left:5px;width:72px}.ai_contain .ai-bot-dropdown[data-v-c5ff5afa]{background:#fff;border-radius:8px;box-shadow:0 2px 8px rgba(0,0,0,.08);border:1px solid #e0e0ff;padding:4px 0}.ai_contain .ai-bot-dropdown-item[data-v-c5ff5afa]{padding:8px 20px;cursor:pointer;font-size:14px;color:#333;transition:background .2s}.ai_contain .ai-bot-dropdown-item.active[data-v-c5ff5afa],.ai_contain .ai-bot-dropdown-item[data-v-c5ff5afa]:hover{background:#f0f2f8;color:#3830e0}.ai_contain .question-result-drawer[data-v-c5ff5afa] .el-drawer__body{padding:0;height:100%;display:flex;flex-direction:column}.ai_contain .question-result-drawer .generating-loading[data-v-c5ff5afa]{display:flex;justify-content:center;align-items:center;height:200px}.ai_contain .question-result-drawer .generating-loading .loading-content[data-v-c5ff5afa]{display:flex;flex-direction:column;align-items:center;gap:16px}.ai_contain .question-result-drawer .generating-loading .loading-content .loading-spinner[data-v-c5ff5afa]{width:40px;height:40px;border:4px solid #f3f3f3;border-top:4px solid #7c4dff;border-radius:50%;animation:spin-c5ff5afa 1s linear infinite}.ai_contain .question-result-drawer .generating-loading .loading-content .loading-text[data-v-c5ff5afa]{font-size:14px;color:#7c4dff;font-weight:500}@keyframes spin-c5ff5afa{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.ai_contain .question-result-drawer .drawer_content_wrapper[data-v-c5ff5afa]{display:flex;flex-direction:column;height:100%;padding:0 20px}.ai_contain .question-result-drawer .question_summary_warp[data-v-c5ff5afa]{display:flex;justify-content:space-between;margin-bottom:20px}.ai_contain .question-result-drawer .question_summary_warp .question_summary .summary_text[data-v-c5ff5afa]{color:#6040e0;font-size:14px;font-weight:700}.ai_contain .question-result-drawer .question_summary_warp .question_summary .question_types_summary .type_item[data-v-c5ff5afa]{font-size:12px;color:rgba(24,32,40,.639)}.ai_contain .question-result-drawer .question_summary_warp .question_summary_button[data-v-c5ff5afa]{display:flex;gap:15px;margin-right:15px}.ai_contain .question-result-drawer .question_summary_warp .question_summary_button .button-handle[data-v-c5ff5afa]{width:96px;height:40px;font-size:14px;border-radius:25px;border:none;color:#fff;cursor:pointer;transition:all .3s ease}.ai_contain .question-result-drawer .question_summary_warp .question_summary_button .button-generate-question[data-v-c5ff5afa]{background:linear-gradient(180deg,#7050d0 0,#2828e0);display:flex;justify-content:center;align-items:center;gap:10px}.ai_contain .question-result-drawer .question_summary_warp .question_summary_button .button-cancel[data-v-c5ff5afa]{border:1px solid #7050d0;background:transparent;color:#3030c0}.ai_contain .question-result-drawer .question_body[data-v-c5ff5afa]{flex:1;overflow-y:auto;padding-right:10px}.ai_contain .question-result-drawer .question_body[data-v-c5ff5afa]::-webkit-scrollbar{width:6px}.ai_contain .question-result-drawer .question_body[data-v-c5ff5afa]::-webkit-scrollbar-track{background:hsla(0,0%,100%,.3);border-radius:3px}.ai_contain .question-result-drawer .question_body[data-v-c5ff5afa]::-webkit-scrollbar-thumb{background:rgba(124,77,255,.3);border-radius:3px}.ai_contain .question-result-drawer .question_body[data-v-c5ff5afa]::-webkit-scrollbar-thumb:hover{background:rgba(124,77,255,.5)}.ai_contain .question-result-drawer .question_footer_fixed[data-v-c5ff5afa]{flex-shrink:0;padding:0 0 10px 0;background:hsla(0,0%,100%,.9);border-top:1px solid hsla(0,0%,100%,.3);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.ai_contain .question-result-drawer .question_footer_fixed .footer_warning[data-v-c5ff5afa]{display:flex;align-items:center;gap:8px}.ai_contain .question-result-drawer .question_footer_fixed .footer_warning .el-icon-info[data-v-c5ff5afa]{width:24px;height:24px;flex-shrink:0}.ai_contain .question-result-drawer .question_footer_fixed .footer_warning .question_remind[data-v-c5ff5afa]{font-size:12px;color:#797979;line-height:1.4}", ""]);
|
|
1495
1495
|
// Exports
|
|
1496
1496
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
1497
1497
|
|
|
1498
1498
|
|
|
1499
1499
|
/***/ }),
|
|
1500
1500
|
|
|
1501
|
-
/***/
|
|
1501
|
+
/***/ 3448:
|
|
1502
1502
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1503
1503
|
|
|
1504
1504
|
"use strict";
|
|
@@ -1519,7 +1519,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".ai-custom-dialog.el-dialog{background
|
|
|
1519
1519
|
|
|
1520
1520
|
/***/ }),
|
|
1521
1521
|
|
|
1522
|
-
/***/
|
|
1522
|
+
/***/ 3262:
|
|
1523
1523
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1524
1524
|
|
|
1525
1525
|
"use strict";
|
|
@@ -1533,7 +1533,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1533
1533
|
|
|
1534
1534
|
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
1535
1535
|
// Module
|
|
1536
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".ai_question_contain[data-v-
|
|
1536
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".ai_question_contain[data-v-cc89a654]{margin-bottom:20px;padding:20px;background:hsla(0,0%,100%,.6);border:1px solid #dadce0;border-radius:24px;font-family:Microsoft YaHei,微软雅黑,sans-serif}.ai_question_contain .question_header[data-v-cc89a654]{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.ai_question_contain .question_header .question_header_left[data-v-cc89a654]{display:flex;align-items:center;gap:12px}.ai_question_contain .question_contain_title[data-v-cc89a654]{margin-bottom:15px;display:flex;justify-content:space-between}.ai_question_contain .question_contain_title .question_contain_title_left[data-v-cc89a654]{color:#333;font-weight:700;font-size:16px;width:100%;line-height:28px}.ai_question_contain .question_contain_title .question_contain_title_left .difficult[data-v-cc89a654]{margin:0 6px;font-weight:700;padding:5px 7px;color:#333;font-size:12px;border-radius:24px;border:1px solid rgba(40,40,224,.478);background:transparent}.ai_question_contain .question_contain_title .question_contain_title_reght[data-v-cc89a654]{display:flex;align-items:center}.ai_question_contain .question_contain_title .question_contain_title_reght img[data-v-cc89a654]{margin:0 5px;cursor:pointer}.ai_question_contain .question_contain_question[data-v-cc89a654]{margin-bottom:16px;font-size:14px;padding-left:5px}.ai_question_contain .question_contain_question div[data-v-cc89a654]{margin:5px 0}.ai_question_contain .question_answer_info[data-v-cc89a654]{border-radius:15px;padding:20px;background-color:rgba(64,48,240,.08)}.ai_question_contain .question_contain_answer[data-v-cc89a654]{margin-bottom:16px;font-size:13px;color:#6040e0;font-weight:700}.ai_question_contain .question_contain_parse[data-v-cc89a654]{margin-bottom:16px;display:flex;justify-content:space-between}.ai_question_contain .question_contain_parse .question_contain_parse_analysis[data-v-cc89a654]{width:100%;font-size:13px;color:#262626}.ai_question_contain .type-name[data-v-cc89a654]{font-size:14px;font-weight:700;border-radius:54px;color:#fff;height:40px;width:72px;display:flex;align-items:center;justify-content:center}.ai_question_contain .type-name.type-single[data-v-cc89a654]{background:rgba(128,96,240,.161);color:#6040f0}.ai_question_contain .type-name.type-multiple[data-v-cc89a654]{background:rgba(0,144,240,.161);color:#0090ff}.ai_question_contain .type-name.type-gapfilling[data-v-cc89a654]{background:rgba(96,192,144,.161);color:#60c090}.ai_question_contain .type-name.type-judge[data-v-cc89a654]{background:rgba(240,160,0,.161);color:#f0a000}.ai_question_contain .type-name.type-shortanswer[data-v-cc89a654]{background:rgba(224,96,192,.161);color:#e060c0}.ai_question_contain .join[data-v-cc89a654]{align-self:self-end;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;font-weight:700;color:#6040e0;font-size:14px;line-height:32px}.ai_question_contain .ai_warning_tip[data-v-cc89a654]{margin-top:16px;padding:12px 16px;background:rgba(124,77,255,.05);border:1px solid rgba(124,77,255,.15);border-radius:12px;display:flex;align-items:center;gap:8px}.ai_question_contain .ai_warning_tip .el-icon-info[data-v-cc89a654]{color:#7c4dff;font-size:14px;flex-shrink:0}.ai_question_contain .ai_warning_tip span[data-v-cc89a654]{font-size:12px;color:#666;line-height:1.4}", ""]);
|
|
1537
1537
|
// Exports
|
|
1538
1538
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
1539
1539
|
|
|
@@ -32967,51 +32967,51 @@ var update = add("f22f6454", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
32967
32967
|
|
|
32968
32968
|
/***/ }),
|
|
32969
32969
|
|
|
32970
|
-
/***/
|
|
32970
|
+
/***/ 9398:
|
|
32971
32971
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
32972
32972
|
|
|
32973
32973
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
32974
32974
|
|
|
32975
32975
|
// load the styles
|
|
32976
|
-
var content = __webpack_require__(
|
|
32976
|
+
var content = __webpack_require__(9952);
|
|
32977
32977
|
if(content.__esModule) content = content.default;
|
|
32978
32978
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
32979
32979
|
if(content.locals) module.exports = content.locals;
|
|
32980
32980
|
// add the styles to the DOM
|
|
32981
32981
|
var add = (__webpack_require__(8459)/* ["default"] */ .A)
|
|
32982
|
-
var update = add("
|
|
32982
|
+
var update = add("8e6dbf10", content, true, {"sourceMap":false,"shadowMode":false});
|
|
32983
32983
|
|
|
32984
32984
|
/***/ }),
|
|
32985
32985
|
|
|
32986
|
-
/***/
|
|
32986
|
+
/***/ 3002:
|
|
32987
32987
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
32988
32988
|
|
|
32989
32989
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
32990
32990
|
|
|
32991
32991
|
// load the styles
|
|
32992
|
-
var content = __webpack_require__(
|
|
32992
|
+
var content = __webpack_require__(3448);
|
|
32993
32993
|
if(content.__esModule) content = content.default;
|
|
32994
32994
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
32995
32995
|
if(content.locals) module.exports = content.locals;
|
|
32996
32996
|
// add the styles to the DOM
|
|
32997
32997
|
var add = (__webpack_require__(8459)/* ["default"] */ .A)
|
|
32998
|
-
var update = add("
|
|
32998
|
+
var update = add("f901a0a4", content, true, {"sourceMap":false,"shadowMode":false});
|
|
32999
32999
|
|
|
33000
33000
|
/***/ }),
|
|
33001
33001
|
|
|
33002
|
-
/***/
|
|
33002
|
+
/***/ 8536:
|
|
33003
33003
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
33004
33004
|
|
|
33005
33005
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
33006
33006
|
|
|
33007
33007
|
// load the styles
|
|
33008
|
-
var content = __webpack_require__(
|
|
33008
|
+
var content = __webpack_require__(3262);
|
|
33009
33009
|
if(content.__esModule) content = content.default;
|
|
33010
33010
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
33011
33011
|
if(content.locals) module.exports = content.locals;
|
|
33012
33012
|
// add the styles to the DOM
|
|
33013
33013
|
var add = (__webpack_require__(8459)/* ["default"] */ .A)
|
|
33014
|
-
var update = add("
|
|
33014
|
+
var update = add("6a24e6b4", content, true, {"sourceMap":false,"shadowMode":false});
|
|
33015
33015
|
|
|
33016
33016
|
/***/ }),
|
|
33017
33017
|
|
|
@@ -33281,22 +33281,6 @@ function applyToTag (styleElement, obj) {
|
|
|
33281
33281
|
}
|
|
33282
33282
|
|
|
33283
33283
|
|
|
33284
|
-
/***/ }),
|
|
33285
|
-
|
|
33286
|
-
/***/ 4314:
|
|
33287
|
-
/***/ (function(module) {
|
|
33288
|
-
|
|
33289
|
-
"use strict";
|
|
33290
|
-
module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAACgCAYAAACLz2ctAAARh0lEQVR4nO2dCZQUxRnH/7MLyyWXRvACFSWg8QRPnlHQKB54oCiKqHigoiKKghqfGkVjSES8MYrBY00MGkwAFY0oajyIxgMPPBMPDhNQEUGuXcgr/Q8248xOd9VX3dU99Xtv37LLdHX1zH/r+Oo74PF4PB6Px+PxeDwej8fj8Xg8Ho/H4/F4PB6Px+PxeDwejyf15Bp6gK5dF333Pf+iHP+x9ueC3/3o59y61+YKXpf/N3JFfl/sdwCqvv9381wOLXLAgmLXVJVor6rYa8u8pqr4/cu/9oef188BNVU5XJsD2uWA6lwOo6uAN3I5LM4BdSWvDdH/wj6Veu+Kviclrin6eUT4fFH4fwX66XV3m7Uaa5Syv6BOAHoD6AlgXwBXALgfwNcO9K2QFgCOB3AxgC34f/nPYj8A1QDGALgXwJtudDl+qlLU180ATAJwG4BjAPwEwK0AZgIYAmBDB/qY50QArwD4PYAtse7gAP7hq58vBPAEgLv4ujR9HiKk5YE3BvAYgB2L/F8XivIljpBJokQ0FsAdagUTsh8bATgFwEcAjku4/7GTFgEeBGC7Mq/pxFFnPICamPoVRE2zUwGcB6CJxvVqRLwbwMn2uugeaRDgYRzhwtAWwKmcmhsVTHs26QDgUQD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|
33293
|
-
|
|
33294
|
-
/***/ 9281:
|
|
33295
|
-
/***/ (function(module) {
|
|
33296
|
-
|
|
33297
|
-
"use strict";
|
|
33298
|
-
module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAKRJREFUOE+lkr0RwjAMRr9soQ7RaQzYJEwCTEI2gTFUqtQYoLvAkTiOlYtLW+/px+qw83Q1nlh6Nx1a/kUBsTwAsJueNwtG+OSmxxYc75MKtsITwQj3n8tbJrOb3ueCa/SdgQFYIUiCRVj1G7PCn4BY9rUQiwPg0MgcM4q4wU0vxTeuwcQScCwY/hcsNYManK6AWJ7zzN9qsxXEar+WWkwJ1mbzBjfENBFJwidNAAAAAElFTkSuQmCC";
|
|
33299
|
-
|
|
33300
33284
|
/***/ }),
|
|
33301
33285
|
|
|
33302
33286
|
/***/ 8831:
|
|
@@ -33323,22 +33307,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAAAoCAYAAABd
|
|
|
33323
33307
|
|
|
33324
33308
|
/***/ }),
|
|
33325
33309
|
|
|
33326
|
-
/***/ 1017:
|
|
33327
|
-
/***/ (function(module) {
|
|
33328
|
-
|
|
33329
|
-
"use strict";
|
|
33330
|
-
module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAASdJREFUOE+lkr1KA0EUhc+d3QxiY6WgTbTZV7CIm9JCEHwHwdZCm+xapMgsWPgEithpZyl2cRZFxCfQLpAujbBgYta9sjtmEfFnmdximIFzPuZyDmHKodzvB6NHglgsWMRL/zAHTAjijjwu5PnRDN9YK1neK3wqEf3+fPdsZWgLAAOrsZIP1gAwtnUkT6cBHOlI7tsDQFda1TbsAYyejmTdGsAMjiMpTA/C8QuBLz7j26kQYy6500o2CsBaa+jBcT3TIzigbIEYAYDlEsZ4yoTYM29OXNe977bJ9OCnabRefUc4N5OyAZTomjuHNmVf9b8CTENH1wCtTwzvaVq/PZztVQb4B+kWcXZZGijzdGfmuTIAYGqG43MGNgk40Urufl/3zxWqpPEBUMWCERMCTlcAAAAASUVORK5CYII=";
|
|
33331
|
-
|
|
33332
|
-
/***/ }),
|
|
33333
|
-
|
|
33334
|
-
/***/ 342:
|
|
33335
|
-
/***/ (function(module) {
|
|
33336
|
-
|
|
33337
|
-
"use strict";
|
|
33338
|
-
module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAXhJREFUOE+lk79Lw0AUx9+71NK5/qAVREToXyAu4qBuUsFZTEoXcycFBRXX+wccBJsmLRTaVCo4OrnpZosOukoXB83iIDiINHmStF20lRq/w/GF4z733r3vIfxT6J8vFKq3jGHS90QwiQjPg7ie5++gFGKzFDh/MU2bOFd/+H6QfL48pSiRB8dxk1JmP/4M6F54R+QJITLNsIAKkXctRKYcCmAY9iEijQuh7YcCFAqVNGNsW9fV1VCAUqk647p4xbk6HQogpWSJxOwn52qkB3gDgLPu2LaI8Igx71zXtUbn1atrAJjujZUIRgEgKYS6EACKxUrKdZVUEAxEhYgmEOmg3SY1l9MapllbASCDCPc6EHqPxdo32Ww3B/0CYxj2ImNw7DituXh8fiQafX1xnNaYlDLIYk9BBYNkmvYlAJ1wrl1Yln0PQGu6rj0NDbAse93zaFcIdck0a02A9gbn2cehAUSElnVaJ/KWAaAuhLbzvdpfWxjmp38BKRvIESbEF9cAAAAASUVORK5CYII=";
|
|
33339
|
-
|
|
33340
|
-
/***/ }),
|
|
33341
|
-
|
|
33342
33310
|
/***/ 1421:
|
|
33343
33311
|
/***/ (function(module) {
|
|
33344
33312
|
|
|
@@ -33347,22 +33315,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABX
|
|
|
33347
33315
|
|
|
33348
33316
|
/***/ }),
|
|
33349
33317
|
|
|
33350
|
-
/***/ 2356:
|
|
33351
|
-
/***/ (function(module) {
|
|
33352
|
-
|
|
33353
|
-
"use strict";
|
|
33354
|
-
module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAASFJREFUOE+l0r1KxEAUBeBzJ+MoNlYK2qw2eQWLNSktBMFnsLC10GaTLbZIAhY+gYJ22lmK3TpREfEJtFvYzkYIuD9xrhhjEIUYslPNMOd+U5whTLiofJ7J9cdnDGwScKxDtfs7Xwo47XSL2FwUQ2RsHcw8/0RKAdcfXgG0/j3wnqaN24PZXiWg2XpzLGFdA8gfoURPyTl0yPwB1loDG5a0Py+IYYHMAjE8AMtFmPFkhNj7OnMipbzvdmiQ6Y4/fiXweR7eqVjMnQ5VMwNcf8Q6VMW+CsAMjiMlJgF6caQatQGAL3U4vVEfYBzqSO3XBgyJ7ZtAntQGGFiNQ/VQF0hEvz/fPV3J/4E3fCSIxaw+4qV/anxhghcH6iiLV+m8LPMBU6CEEQ0lMS4AAAAASUVORK5CYII=";
|
|
33355
|
-
|
|
33356
|
-
/***/ }),
|
|
33357
|
-
|
|
33358
|
-
/***/ 5089:
|
|
33359
|
-
/***/ (function(module) {
|
|
33360
|
-
|
|
33361
|
-
"use strict";
|
|
33362
|
-
module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAWtJREFUOE+l0zFLw0AUAOD3Lm3pXFTagggK/QXiIg7qJi04i4lkMXdSUFBxvT/gILTJBaHSptDB0clJR1t00FW6OGgWF3EQqXlqLCiWFk1vevDufcfjvUMY8uCgeiJC1/UaRLAAAA0hjM3f9wcCrustBwFtCaHPK1VvAXRWODdvfyIDAaW8UwAqcW6cuK53DUAFyzLu/gTYtjfHGBz4fns6lZqJJxKPD77fHpFSBj1AqVTNaZqW+0wgokZEY4i02+mQXiwaTaXqiwBkE+H2VzE9J5OdC9M0X8IWlKo9AWCjK68T4T5jwbFlGc1uvgCA+e+XMUVEWSH02S7gEed6T9xvQlJKlk5PvXKuxyIBtl2ZZCx+xrk+EQlwnHoegDaE0JciAbbt7SHSqBDGTiRAKa8KAOcfLRxFBa6IAiHEWuvfQLlcGde02I3vv2Wk7O6B49QuGcNMuCIEWUS47zfCINxDlEKsHobRkL8Z3gGP/MIR9xXEfwAAAABJRU5ErkJggg==";
|
|
33363
|
-
|
|
33364
|
-
/***/ }),
|
|
33365
|
-
|
|
33366
33318
|
/***/ 4100:
|
|
33367
33319
|
/***/ (function(module) {
|
|
33368
33320
|
|
|
@@ -33512,7 +33464,7 @@ if (typeof window !== 'undefined') {
|
|
|
33512
33464
|
// Indicate to webpack that this file can be concatenated
|
|
33513
33465
|
/* harmony default export */ var setPublicPath = (null);
|
|
33514
33466
|
|
|
33515
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/demo/src/main.vue?vue&type=template&id=
|
|
33467
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/demo/src/main.vue?vue&type=template&id=c5ff5afa&scoped=true
|
|
33516
33468
|
var render = function render() {
|
|
33517
33469
|
var _vm = this,
|
|
33518
33470
|
_c = _vm._self._c;
|
|
@@ -33550,62 +33502,7 @@ var render = function render() {
|
|
|
33550
33502
|
"src": __webpack_require__(5014),
|
|
33551
33503
|
"alt": ""
|
|
33552
33504
|
}
|
|
33553
|
-
}), _c('span', [_vm._v("出题")])]), _c('div', {
|
|
33554
|
-
staticClass: "ai-bot-switch-wrap",
|
|
33555
|
-
staticStyle: {
|
|
33556
|
-
"position": "absolute",
|
|
33557
|
-
"left": "120px"
|
|
33558
|
-
}
|
|
33559
|
-
}, [_c('div', {
|
|
33560
|
-
staticClass: "ai-bot-switch",
|
|
33561
|
-
on: {
|
|
33562
|
-
"click": function ($event) {
|
|
33563
|
-
_vm.dropdownVisible = !_vm.dropdownVisible;
|
|
33564
|
-
}
|
|
33565
|
-
}
|
|
33566
|
-
}, [_c('img', {
|
|
33567
|
-
staticStyle: {
|
|
33568
|
-
"width": "24px",
|
|
33569
|
-
"height": "24px"
|
|
33570
|
-
},
|
|
33571
|
-
attrs: {
|
|
33572
|
-
"src": __webpack_require__(4314),
|
|
33573
|
-
"alt": ""
|
|
33574
|
-
}
|
|
33575
|
-
}), _c('span', {
|
|
33576
|
-
staticClass: "ai-bot-label"
|
|
33577
|
-
}, [_vm._v(" " + _vm._s(_vm.currentBot === 'course' ? '课程智能体' : '通义千问') + " ")]), _c('img', {
|
|
33578
|
-
staticStyle: {
|
|
33579
|
-
"width": "12px",
|
|
33580
|
-
"height": "12px"
|
|
33581
|
-
},
|
|
33582
|
-
attrs: {
|
|
33583
|
-
"src": __webpack_require__(9281),
|
|
33584
|
-
"alt": ""
|
|
33585
|
-
}
|
|
33586
|
-
})]), _vm.dropdownVisible ? _c('div', {
|
|
33587
|
-
staticClass: "ai-bot-dropdown",
|
|
33588
|
-
staticStyle: {
|
|
33589
|
-
"position": "absolute",
|
|
33590
|
-
"z-index": "1000",
|
|
33591
|
-
"min-width": "20%"
|
|
33592
|
-
},
|
|
33593
|
-
on: {
|
|
33594
|
-
"mousedown": function ($event) {
|
|
33595
|
-
$event.preventDefault();
|
|
33596
|
-
}
|
|
33597
|
-
}
|
|
33598
|
-
}, [_c('div', {
|
|
33599
|
-
staticClass: "ai-bot-dropdown-item",
|
|
33600
|
-
class: {
|
|
33601
|
-
active: _vm.currentBot === 'tongyi'
|
|
33602
|
-
},
|
|
33603
|
-
on: {
|
|
33604
|
-
"click": function ($event) {
|
|
33605
|
-
return _vm.selectBot('tongyi');
|
|
33606
|
-
}
|
|
33607
|
-
}
|
|
33608
|
-
}, [_vm._v("通义千问 ")])]) : _vm._e()])]), _c('div', {
|
|
33505
|
+
}), _c('span', [_vm._v("出题")])])]), _c('div', {
|
|
33609
33506
|
staticClass: "add_question_body"
|
|
33610
33507
|
}, [_c('div', {
|
|
33611
33508
|
staticClass: "question-type-header"
|
|
@@ -33615,7 +33512,7 @@ var render = function render() {
|
|
|
33615
33512
|
staticClass: "section-title"
|
|
33616
33513
|
}, [_vm._v("题目类型:")]), _c('span', {
|
|
33617
33514
|
staticClass: "tip-text"
|
|
33618
|
-
}, [_vm._v("(
|
|
33515
|
+
}, [_vm._v("(为避免您等待时间过长,所选择题型数量总和最好不超过10道")])]), _c('div', {
|
|
33619
33516
|
staticClass: "question-type-list"
|
|
33620
33517
|
}, _vm._l(_vm.quesTypeList, function (item, index) {
|
|
33621
33518
|
return _c('div', {
|
|
@@ -33831,7 +33728,15 @@ var render = function render() {
|
|
|
33831
33728
|
}, [_vm._v(" 加入题库 ")])])]), _c('div', {
|
|
33832
33729
|
ref: "generateDiv",
|
|
33833
33730
|
staticClass: "question_body"
|
|
33834
|
-
}, _vm.
|
|
33731
|
+
}, [_vm.isGenerating ? _c('div', {
|
|
33732
|
+
staticClass: "generating-loading"
|
|
33733
|
+
}, [_c('div', {
|
|
33734
|
+
staticClass: "loading-content"
|
|
33735
|
+
}, [_c('div', {
|
|
33736
|
+
staticClass: "loading-spinner"
|
|
33737
|
+
}), _c('div', {
|
|
33738
|
+
staticClass: "loading-text"
|
|
33739
|
+
}, [_vm._v("AI生成中...")])])]) : _vm._e(), _vm._l(_vm.aiResponse.questions, function (item, idx) {
|
|
33835
33740
|
return _vm.aiResponse.questions && _vm.aiResponse.questions.length > 0 ? _c('questionItem', {
|
|
33836
33741
|
key: idx,
|
|
33837
33742
|
ref: `questionItem_${idx}`,
|
|
@@ -33847,7 +33752,7 @@ var render = function render() {
|
|
|
33847
33752
|
"selectionChange": _vm.handleQuestionSelection
|
|
33848
33753
|
}
|
|
33849
33754
|
}) : _vm._e();
|
|
33850
|
-
}),
|
|
33755
|
+
})], 2), _c('div', {
|
|
33851
33756
|
staticClass: "question_footer_fixed"
|
|
33852
33757
|
}, [_c('div', {
|
|
33853
33758
|
staticClass: "footer_warning"
|
|
@@ -33863,10 +33768,10 @@ var render = function render() {
|
|
|
33863
33768
|
};
|
|
33864
33769
|
var staticRenderFns = [];
|
|
33865
33770
|
|
|
33866
|
-
;// CONCATENATED MODULE: ./components/demo/src/main.vue?vue&type=template&id=
|
|
33771
|
+
;// CONCATENATED MODULE: ./components/demo/src/main.vue?vue&type=template&id=c5ff5afa&scoped=true
|
|
33867
33772
|
|
|
33868
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/demo/src/questionItem.vue?vue&type=template&id=
|
|
33869
|
-
var
|
|
33773
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/demo/src/questionItem.vue?vue&type=template&id=cc89a654&scoped=true
|
|
33774
|
+
var questionItemvue_type_template_id_cc89a654_scoped_true_render = function render() {
|
|
33870
33775
|
var _vm = this,
|
|
33871
33776
|
_c = _vm._self._c;
|
|
33872
33777
|
return _c('div', {
|
|
@@ -33903,35 +33808,7 @@ var questionItemvue_type_template_id_088e6bea_scoped_true_render = function rend
|
|
|
33903
33808
|
staticClass: "question_contain_title_left"
|
|
33904
33809
|
}, [_c('span', [_vm._v(_vm._s(_vm.index + 1) + ".")]), _c('span', {
|
|
33905
33810
|
staticClass: "difficult"
|
|
33906
|
-
}, [_vm._v(_vm._s(_vm.difficultyList.find(item => item.id == _vm.detail.difficulty).name))]), _c('span', [_vm._v(_vm._s(_vm.detail.title))])]), _c('
|
|
33907
|
-
staticClass: "question_contain_title_reght"
|
|
33908
|
-
}, [_vm.detail.evaluate == 0 || _vm.detail.evaluate == 2 ? _c('img', {
|
|
33909
|
-
attrs: {
|
|
33910
|
-
"src": __webpack_require__(5089)
|
|
33911
|
-
},
|
|
33912
|
-
on: {
|
|
33913
|
-
"click": function ($event) {
|
|
33914
|
-
return _vm.agree(1);
|
|
33915
|
-
}
|
|
33916
|
-
}
|
|
33917
|
-
}) : _vm._e(), _vm.detail.evaluate == 1 ? _c('img', {
|
|
33918
|
-
attrs: {
|
|
33919
|
-
"src": __webpack_require__(2356)
|
|
33920
|
-
}
|
|
33921
|
-
}) : _vm._e(), _vm.detail.evaluate == 0 || _vm.detail.evaluate == 1 ? _c('img', {
|
|
33922
|
-
attrs: {
|
|
33923
|
-
"src": __webpack_require__(342)
|
|
33924
|
-
},
|
|
33925
|
-
on: {
|
|
33926
|
-
"click": function ($event) {
|
|
33927
|
-
return _vm.agree(2);
|
|
33928
|
-
}
|
|
33929
|
-
}
|
|
33930
|
-
}) : _vm._e(), _vm.detail.evaluate == 2 ? _c('img', {
|
|
33931
|
-
attrs: {
|
|
33932
|
-
"src": __webpack_require__(1017)
|
|
33933
|
-
}
|
|
33934
|
-
}) : _vm._e()])]), _vm.detail.type == 'single' || _vm.detail.type == 'multiple' ? _c('div', {
|
|
33811
|
+
}, [_vm._v(_vm._s(_vm.difficultyList.find(item => item.id == _vm.detail.difficulty).name))]), _c('span', [_vm._v(_vm._s(_vm.detail.title))])])]), _vm.detail.type == 'single' || _vm.detail.type == 'multiple' ? _c('div', {
|
|
33935
33812
|
staticClass: "question_contain_question"
|
|
33936
33813
|
}, _vm._l(_vm.detail.options, function (item, idx) {
|
|
33937
33814
|
return _c('div', {
|
|
@@ -33955,9 +33832,7 @@ var questionItemvue_type_template_id_088e6bea_scoped_true_render = function rend
|
|
|
33955
33832
|
}
|
|
33956
33833
|
}, [_vm._v("题目解析:")]), _vm._v(" " + _vm._s(_vm.detail.analysis))])])])]);
|
|
33957
33834
|
};
|
|
33958
|
-
var
|
|
33959
|
-
|
|
33960
|
-
;// CONCATENATED MODULE: ./components/demo/src/questionItem.vue?vue&type=template&id=088e6bea&scoped=true
|
|
33835
|
+
var questionItemvue_type_template_id_cc89a654_scoped_true_staticRenderFns = [];
|
|
33961
33836
|
|
|
33962
33837
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/demo/src/questionItem.vue?vue&type=script&lang=js
|
|
33963
33838
|
/* harmony default export */ var questionItemvue_type_script_lang_js = ({
|
|
@@ -34076,9 +33951,9 @@ var questionItemvue_type_template_id_088e6bea_scoped_true_staticRenderFns = [];
|
|
|
34076
33951
|
});
|
|
34077
33952
|
;// CONCATENATED MODULE: ./components/demo/src/questionItem.vue?vue&type=script&lang=js
|
|
34078
33953
|
/* harmony default export */ var src_questionItemvue_type_script_lang_js = (questionItemvue_type_script_lang_js);
|
|
34079
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/demo/src/questionItem.vue?vue&type=style&index=0&id=
|
|
34080
|
-
var
|
|
34081
|
-
;// CONCATENATED MODULE: ./components/demo/src/questionItem.vue?vue&type=style&index=0&id=
|
|
33954
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/demo/src/questionItem.vue?vue&type=style&index=0&id=cc89a654&prod&lang=scss&scoped=true
|
|
33955
|
+
var questionItemvue_type_style_index_0_id_cc89a654_prod_lang_scss_scoped_true = __webpack_require__(8536);
|
|
33956
|
+
;// CONCATENATED MODULE: ./components/demo/src/questionItem.vue?vue&type=style&index=0&id=cc89a654&prod&lang=scss&scoped=true
|
|
34082
33957
|
|
|
34083
33958
|
;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
34084
33959
|
/* globals __VUE_SSR_CONTEXT__ */
|
|
@@ -34189,11 +34064,11 @@ function normalizeComponent(
|
|
|
34189
34064
|
|
|
34190
34065
|
var component = normalizeComponent(
|
|
34191
34066
|
src_questionItemvue_type_script_lang_js,
|
|
34192
|
-
|
|
34193
|
-
|
|
34067
|
+
questionItemvue_type_template_id_cc89a654_scoped_true_render,
|
|
34068
|
+
questionItemvue_type_template_id_cc89a654_scoped_true_staticRenderFns,
|
|
34194
34069
|
false,
|
|
34195
34070
|
null,
|
|
34196
|
-
"
|
|
34071
|
+
"cc89a654",
|
|
34197
34072
|
null
|
|
34198
34073
|
|
|
34199
34074
|
)
|
|
@@ -38176,7 +38051,7 @@ const createBurial = data => {
|
|
|
38176
38051
|
id: 'shortanswer'
|
|
38177
38052
|
}],
|
|
38178
38053
|
difficultyList: [{
|
|
38179
|
-
name: '
|
|
38054
|
+
name: '非常简单',
|
|
38180
38055
|
id: 0
|
|
38181
38056
|
}, {
|
|
38182
38057
|
name: '简单',
|
|
@@ -38198,7 +38073,15 @@ const createBurial = data => {
|
|
|
38198
38073
|
currentBot: 'tongyi',
|
|
38199
38074
|
selectedQuestions: [],
|
|
38200
38075
|
// 存储选中的题目
|
|
38201
|
-
joinedQuestions: []
|
|
38076
|
+
joinedQuestions: [],
|
|
38077
|
+
// 存储已加入题库的题目索引
|
|
38078
|
+
retryCountMap: {},
|
|
38079
|
+
// 存储每个题目的重试次数
|
|
38080
|
+
isGenerating: false,
|
|
38081
|
+
// 内部loading状态
|
|
38082
|
+
typeGeneratedCounts: {},
|
|
38083
|
+
// 跟踪每个题型已生成的数量
|
|
38084
|
+
pendingGenerations: [] // 待生成的题目队列
|
|
38202
38085
|
};
|
|
38203
38086
|
},
|
|
38204
38087
|
watch: {
|
|
@@ -38331,6 +38214,15 @@ const createBurial = data => {
|
|
|
38331
38214
|
return this.$message.warning('请至少选择一种题目类型');
|
|
38332
38215
|
}
|
|
38333
38216
|
|
|
38217
|
+
// 验证选中的题目类型是否都输入了数量
|
|
38218
|
+
for (let type of selectedTypes) {
|
|
38219
|
+
const count = this.form.typeCounts[type];
|
|
38220
|
+
if (!count || count <= 0) {
|
|
38221
|
+
const typeName = this.quesTypeList.find(item => item.id === type)?.name || type;
|
|
38222
|
+
return this.$message.warning(`请为${typeName}输入生成数量`);
|
|
38223
|
+
}
|
|
38224
|
+
}
|
|
38225
|
+
|
|
38334
38226
|
// 验证是否选择了知识点
|
|
38335
38227
|
if (!this.form.knowledgeIds) {
|
|
38336
38228
|
return this.$message.warning('请选择关联知识点');
|
|
@@ -38370,6 +38262,7 @@ const createBurial = data => {
|
|
|
38370
38262
|
if (this.generateCount == totalCount) {
|
|
38371
38263
|
this.$message.success('题目(' + totalCount + '道)全部生成完毕!');
|
|
38372
38264
|
this.rebuildFlag = false;
|
|
38265
|
+
this.isGenerating = false;
|
|
38373
38266
|
} else {
|
|
38374
38267
|
this.$message.success('生成' + this.generateCount + '道题目成功');
|
|
38375
38268
|
}
|
|
@@ -38378,23 +38271,89 @@ const createBurial = data => {
|
|
|
38378
38271
|
generateDiv.scrollTop = generateDiv.scrollHeight;
|
|
38379
38272
|
});
|
|
38380
38273
|
},
|
|
38381
|
-
|
|
38382
|
-
|
|
38383
|
-
this.
|
|
38384
|
-
|
|
38385
|
-
|
|
38274
|
+
// 重新生成失败的题目 - 需要指定具体的题型和难度
|
|
38275
|
+
reSend(failedQuestionType = null, failedDifficulty = null) {
|
|
38276
|
+
this.isGenerating = true;
|
|
38277
|
+
|
|
38278
|
+
// 如果没有指定失败的题型,则需要分析哪个题型还缺少题目
|
|
38279
|
+
let targetType = failedQuestionType;
|
|
38280
|
+
let targetDifficulty = failedDifficulty;
|
|
38281
|
+
if (!targetType) {
|
|
38282
|
+
// 分析哪个题型的数量不足
|
|
38283
|
+
const selectedTypes = Object.keys(this.form.selectedTypes).filter(key => this.form.selectedTypes[key]);
|
|
38284
|
+
for (let type of selectedTypes) {
|
|
38285
|
+
const expectedCount = this.form.typeCounts[type];
|
|
38286
|
+
const actualCount = this.typeGeneratedCounts[type] || 0;
|
|
38287
|
+
if (actualCount < expectedCount) {
|
|
38288
|
+
targetType = type;
|
|
38289
|
+
targetDifficulty = this.form.typeDifficulties[type];
|
|
38290
|
+
break;
|
|
38291
|
+
}
|
|
38292
|
+
}
|
|
38293
|
+
}
|
|
38294
|
+
|
|
38295
|
+
// 如果找不到需要补充的题型,说明数量已经足够
|
|
38296
|
+
if (!targetType) {
|
|
38297
|
+
this.isGenerating = false;
|
|
38298
|
+
return;
|
|
38299
|
+
}
|
|
38300
|
+
|
|
38301
|
+
// 使用 generateSingleQuestion 方法来生成指定题型
|
|
38302
|
+
this.generateSingleQuestion(targetType, targetDifficulty);
|
|
38303
|
+
},
|
|
38304
|
+
//发送请求
|
|
38305
|
+
sendPost() {
|
|
38306
|
+
checkVersion(this.businessSource).then(res => {
|
|
38307
|
+
console.log(res);
|
|
38308
|
+
if (res.errCode === '403') {
|
|
38309
|
+
this.$message.warning(res.errMessage);
|
|
38310
|
+
} else {
|
|
38311
|
+
this.postQuestion();
|
|
38312
|
+
}
|
|
38386
38313
|
});
|
|
38314
|
+
},
|
|
38315
|
+
postQuestion() {
|
|
38316
|
+
this.rebuildFlag = true;
|
|
38317
|
+
this.generateCount = 0;
|
|
38318
|
+
this.aiResponse = {};
|
|
38319
|
+
this.isGenerating = true;
|
|
38320
|
+
|
|
38321
|
+
// 初始化题型生成计数器
|
|
38322
|
+
this.typeGeneratedCounts = {};
|
|
38323
|
+
this.pendingGenerations = [];
|
|
38387
38324
|
const selectedTypes = Object.keys(this.form.selectedTypes).filter(key => this.form.selectedTypes[key]);
|
|
38388
|
-
|
|
38389
|
-
|
|
38325
|
+
|
|
38326
|
+
// 初始化每个题型的计数器和待生成队列
|
|
38327
|
+
selectedTypes.forEach(type => {
|
|
38328
|
+
this.typeGeneratedCounts[type] = 0;
|
|
38329
|
+
const count = this.form.typeCounts[type] || 1;
|
|
38330
|
+
|
|
38331
|
+
// 将每个需要生成的题目加入队列
|
|
38332
|
+
for (let i = 0; i < count; i++) {
|
|
38333
|
+
this.pendingGenerations.push({
|
|
38334
|
+
type: type,
|
|
38335
|
+
difficulty: this.form.typeDifficulties[type],
|
|
38336
|
+
index: i
|
|
38337
|
+
});
|
|
38338
|
+
}
|
|
38339
|
+
});
|
|
38340
|
+
|
|
38341
|
+
// 开始生成题目
|
|
38342
|
+
this.pendingGenerations.forEach(item => {
|
|
38343
|
+
this.generateSingleQuestion(item.type, item.difficulty);
|
|
38344
|
+
});
|
|
38345
|
+
},
|
|
38346
|
+
// 生成单个题目的方法
|
|
38347
|
+
generateSingleQuestion(questionType, difficulty) {
|
|
38390
38348
|
let obj = {
|
|
38391
38349
|
modelType: 'aliyun',
|
|
38392
38350
|
questionAddCmd: {
|
|
38393
|
-
questionTypes:
|
|
38351
|
+
questionTypes: [questionType],
|
|
38352
|
+
// 指定单个题型
|
|
38394
38353
|
count: 1,
|
|
38395
38354
|
knowledge: this.form.knowledge.join(' '),
|
|
38396
38355
|
knowledgeId: this.form.knowledgeId[this.form.knowledgeId.length - 1],
|
|
38397
|
-
difficultys:
|
|
38356
|
+
difficultys: [difficulty],
|
|
38398
38357
|
prompt: this.form.prompt
|
|
38399
38358
|
},
|
|
38400
38359
|
sessionId: this.aiResponse.sessionId ? this.aiResponse.sessionId : '',
|
|
@@ -38403,107 +38362,53 @@ const createBurial = data => {
|
|
|
38403
38362
|
};
|
|
38404
38363
|
getAiQuestion(obj).then(res => {
|
|
38405
38364
|
if (res.success) {
|
|
38406
|
-
this.loading && this.loading.close();
|
|
38407
38365
|
if (res.data && res.data.questions && res.data.questions.length > 0) {
|
|
38366
|
+
const newQuestion = res.data.questions[0];
|
|
38367
|
+
|
|
38368
|
+
// 检查是否有重复的题目标题和题型
|
|
38369
|
+
const isDuplicate = this.checkDuplicateQuestion(newQuestion, questionType);
|
|
38370
|
+
if (isDuplicate) {
|
|
38371
|
+
// 重复题目,重新生成
|
|
38372
|
+
const repetitionQuestions = this.getGeneratedQuestionsByType(questionType);
|
|
38373
|
+
this.regenerateWithRepetition(obj, repetitionQuestions, questionType);
|
|
38374
|
+
return;
|
|
38375
|
+
}
|
|
38376
|
+
|
|
38377
|
+
// 验证返回的题目类型是否正确
|
|
38378
|
+
if (newQuestion.type && newQuestion.type !== questionType) {
|
|
38379
|
+
console.log(`期望题型: ${questionType}, 实际题型: ${newQuestion.type}, 重新生成`);
|
|
38380
|
+
this.generateSingleQuestion(questionType, difficulty);
|
|
38381
|
+
return;
|
|
38382
|
+
}
|
|
38408
38383
|
if (this.aiResponse.questions && this.aiResponse.questions.length > 0) {
|
|
38409
|
-
this.aiResponse.questions.push(
|
|
38384
|
+
this.aiResponse.questions.push(newQuestion);
|
|
38410
38385
|
} else {
|
|
38411
38386
|
this.aiResponse = res.data;
|
|
38412
38387
|
}
|
|
38413
|
-
this.$set(
|
|
38388
|
+
this.$set(newQuestion, 'evaluate', 0);
|
|
38389
|
+
// 设置题目类型,便于后续统计
|
|
38390
|
+
this.$set(newQuestion, 'type', questionType);
|
|
38391
|
+
|
|
38392
|
+
// 更新该题型的生成计数
|
|
38393
|
+
this.typeGeneratedCounts[questionType]++;
|
|
38414
38394
|
this.showGenerateResult();
|
|
38415
38395
|
} else {
|
|
38416
38396
|
this.$message.warning('题目获取失败,重新生成中...');
|
|
38417
|
-
|
|
38397
|
+
// 重新生成指定题型
|
|
38398
|
+
this.generateSingleQuestion(questionType, difficulty);
|
|
38418
38399
|
}
|
|
38419
38400
|
} else {
|
|
38420
|
-
this.
|
|
38401
|
+
this.isGenerating = false;
|
|
38421
38402
|
this.$message.warning('题目获取失败');
|
|
38422
38403
|
this.rebuildFlag = false;
|
|
38423
38404
|
}
|
|
38424
38405
|
}).catch(error => {
|
|
38425
38406
|
console.log("error:" + error);
|
|
38426
|
-
this.
|
|
38407
|
+
this.isGenerating = false;
|
|
38427
38408
|
this.$message.warning('题目获取失败');
|
|
38428
38409
|
this.rebuildFlag = false;
|
|
38429
38410
|
});
|
|
38430
38411
|
},
|
|
38431
|
-
//发送请求
|
|
38432
|
-
sendPost() {
|
|
38433
|
-
checkVersion(this.businessSource).then(res => {
|
|
38434
|
-
console.log(res);
|
|
38435
|
-
if (res.errCode === '403') {
|
|
38436
|
-
this.$message.warning(res.errMessage);
|
|
38437
|
-
} else {
|
|
38438
|
-
this.postQuestion();
|
|
38439
|
-
}
|
|
38440
|
-
});
|
|
38441
|
-
},
|
|
38442
|
-
postQuestion() {
|
|
38443
|
-
this.rebuildFlag = true;
|
|
38444
|
-
this.generateCount = 0;
|
|
38445
|
-
this.aiResponse = {};
|
|
38446
|
-
this.loading && this.loading.close();
|
|
38447
|
-
this.loading = this.$loading({
|
|
38448
|
-
target: '.el-dialog',
|
|
38449
|
-
text: 'AI生成中...'
|
|
38450
|
-
});
|
|
38451
|
-
const selectedTypes = Object.keys(this.form.selectedTypes).filter(key => this.form.selectedTypes[key]);
|
|
38452
|
-
|
|
38453
|
-
// 按题型分别生成题目
|
|
38454
|
-
selectedTypes.forEach(type => {
|
|
38455
|
-
const count = this.form.typeCounts[type] || 1;
|
|
38456
|
-
const difficulty = this.form.typeDifficulties[type];
|
|
38457
|
-
|
|
38458
|
-
// 为每种题型生成指定数量的题目
|
|
38459
|
-
for (let i = 0; i < count; i++) {
|
|
38460
|
-
let obj = {
|
|
38461
|
-
modelType: 'aliyun',
|
|
38462
|
-
questionAddCmd: {
|
|
38463
|
-
questionTypes: [type],
|
|
38464
|
-
// 单个题型
|
|
38465
|
-
count: 1,
|
|
38466
|
-
knowledge: this.form.knowledge.join(' '),
|
|
38467
|
-
knowledgeId: this.form.knowledgeId[this.form.knowledgeId.length - 1],
|
|
38468
|
-
difficultys: [difficulty],
|
|
38469
|
-
// 对应的难度
|
|
38470
|
-
prompt: this.form.prompt
|
|
38471
|
-
},
|
|
38472
|
-
sessionId: this.aiResponse.sessionId ? this.aiResponse.sessionId : '',
|
|
38473
|
-
businessSource: this.businessSource,
|
|
38474
|
-
courseId: this.courseId
|
|
38475
|
-
};
|
|
38476
|
-
getAiQuestion(obj).then(res => {
|
|
38477
|
-
if (res.success) {
|
|
38478
|
-
this.loading && this.loading.close();
|
|
38479
|
-
if (res.data && res.data.questions && res.data.questions.length > 0) {
|
|
38480
|
-
if (this.aiResponse.questions && this.aiResponse.questions.length > 0) {
|
|
38481
|
-
this.aiResponse.questions.push(res.data.questions[0]);
|
|
38482
|
-
} else {
|
|
38483
|
-
this.aiResponse = res.data;
|
|
38484
|
-
}
|
|
38485
|
-
this.$set(res.data.questions[0], 'evaluate', 0);
|
|
38486
|
-
// 设置题目类型,便于后续统计
|
|
38487
|
-
this.$set(res.data.questions[0], 'type', type);
|
|
38488
|
-
this.showGenerateResult();
|
|
38489
|
-
} else {
|
|
38490
|
-
this.$message.warning('题目获取失败,重新生成中...');
|
|
38491
|
-
return this.reSend();
|
|
38492
|
-
}
|
|
38493
|
-
} else {
|
|
38494
|
-
this.loading && this.loading.close();
|
|
38495
|
-
this.$message.warning('题目获取失败');
|
|
38496
|
-
this.rebuildFlag = false;
|
|
38497
|
-
}
|
|
38498
|
-
}).catch(error => {
|
|
38499
|
-
console.log("error:" + error);
|
|
38500
|
-
this.loading && this.loading.close();
|
|
38501
|
-
this.$message.warning('题目获取失败');
|
|
38502
|
-
this.rebuildFlag = false;
|
|
38503
|
-
});
|
|
38504
|
-
}
|
|
38505
|
-
});
|
|
38506
|
-
},
|
|
38507
38412
|
//获取知识点名称
|
|
38508
38413
|
getKnowledgeName(e, array) {
|
|
38509
38414
|
array.forEach(item => {
|
|
@@ -38633,18 +38538,146 @@ const createBurial = data => {
|
|
|
38633
38538
|
|
|
38634
38539
|
// 清空选中状态
|
|
38635
38540
|
this.selectedQuestions = [];
|
|
38541
|
+
},
|
|
38542
|
+
// 检查题目是否重复
|
|
38543
|
+
checkDuplicateQuestion(newQuestion, questionType) {
|
|
38544
|
+
if (!this.aiResponse.questions || this.aiResponse.questions.length === 0) {
|
|
38545
|
+
return false;
|
|
38546
|
+
}
|
|
38547
|
+
return this.aiResponse.questions.some(existingQuestion => {
|
|
38548
|
+
return existingQuestion.title === newQuestion.title && existingQuestion.type === questionType;
|
|
38549
|
+
});
|
|
38550
|
+
},
|
|
38551
|
+
// 获取指定题型的已生成题目信息
|
|
38552
|
+
getGeneratedQuestionsByType(questionType) {
|
|
38553
|
+
if (!this.aiResponse.questions || this.aiResponse.questions.length === 0) {
|
|
38554
|
+
return [];
|
|
38555
|
+
}
|
|
38556
|
+
return this.aiResponse.questions.filter(question => question.type === questionType).map(question => ({
|
|
38557
|
+
title: question.title,
|
|
38558
|
+
type: question.type
|
|
38559
|
+
}));
|
|
38560
|
+
},
|
|
38561
|
+
// 重复题目信息重新生成
|
|
38562
|
+
regenerateWithRepetition(originalObj, repetitionQuestions, questionType, retryCount = 0) {
|
|
38563
|
+
console.log('检测到重复题目,重新生成,已生成题目:', repetitionQuestions, '重试次数:', retryCount);
|
|
38564
|
+
|
|
38565
|
+
// 如果重试次数超过3次,跳过此题目
|
|
38566
|
+
if (retryCount >= 3) {
|
|
38567
|
+
console.log('重试次数超过3次,跳过此题目');
|
|
38568
|
+
this.isGenerating = false;
|
|
38569
|
+
this.$message.warning('AI生成重复题目超过3次,已跳过该题目');
|
|
38570
|
+
return;
|
|
38571
|
+
}
|
|
38572
|
+
const newObj = {
|
|
38573
|
+
...originalObj,
|
|
38574
|
+
repetitionQuestions: repetitionQuestions // 传递所有已生成的题目信息
|
|
38575
|
+
};
|
|
38576
|
+
getAiQuestion(newObj).then(res => {
|
|
38577
|
+
if (res.success) {
|
|
38578
|
+
this.loading && this.loading.close();
|
|
38579
|
+
if (res.data && res.data.questions && res.data.questions.length > 0) {
|
|
38580
|
+
const newQuestion = res.data.questions[0];
|
|
38581
|
+
// 再次检查是否还有重复
|
|
38582
|
+
const isStillDuplicate = this.checkDuplicateQuestion(newQuestion, questionType);
|
|
38583
|
+
if (isStillDuplicate) {
|
|
38584
|
+
console.log('重新生成后仍有重复,继续重试,当前重试次数:', retryCount + 1);
|
|
38585
|
+
// 递归调用,增加重试次数,重新获取最新的当前题型已生成题目列表
|
|
38586
|
+
const updatedRepetitionQuestions = this.getGeneratedQuestionsByType(questionType);
|
|
38587
|
+
this.regenerateWithRepetition(originalObj, updatedRepetitionQuestions, questionType, retryCount + 1);
|
|
38588
|
+
return;
|
|
38589
|
+
}
|
|
38590
|
+
if (this.aiResponse.questions && this.aiResponse.questions.length > 0) {
|
|
38591
|
+
this.aiResponse.questions.push(newQuestion);
|
|
38592
|
+
} else {
|
|
38593
|
+
this.aiResponse = res.data;
|
|
38594
|
+
}
|
|
38595
|
+
this.$set(newQuestion, 'evaluate', 0);
|
|
38596
|
+
// 设置题目类型,便于后续统计
|
|
38597
|
+
this.$set(newQuestion, 'type', questionType);
|
|
38598
|
+
|
|
38599
|
+
// 更新该题型的生成计数
|
|
38600
|
+
if (!this.typeGeneratedCounts[questionType]) {
|
|
38601
|
+
this.typeGeneratedCounts[questionType] = 0;
|
|
38602
|
+
}
|
|
38603
|
+
this.typeGeneratedCounts[questionType]++;
|
|
38604
|
+
this.showGenerateResult();
|
|
38605
|
+
} else {
|
|
38606
|
+
this.$message.warning('重新生成题目失败');
|
|
38607
|
+
}
|
|
38608
|
+
} else {
|
|
38609
|
+
this.$message.warning('重新生成题目失败');
|
|
38610
|
+
}
|
|
38611
|
+
}).catch(error => {
|
|
38612
|
+
console.log("重新生成题目错误:" + error);
|
|
38613
|
+
this.$message.warning('重新生成题目失败');
|
|
38614
|
+
});
|
|
38615
|
+
},
|
|
38616
|
+
// 重新生成的重复检测重新生成
|
|
38617
|
+
regenerateWithRepetitionForReSend(originalObj, repetitionQuestions, questionType, retryCount = 0) {
|
|
38618
|
+
console.log('reSend检测到重复题目,重新生成,已生成题目:', repetitionQuestions, '重试次数:', retryCount);
|
|
38619
|
+
// 如果重试次数超过3次,跳过此题目
|
|
38620
|
+
if (retryCount >= 3) {
|
|
38621
|
+
console.log('reSend重试次数超过3次,跳过此题目');
|
|
38622
|
+
this.isGenerating = false;
|
|
38623
|
+
this.$message.warning('AI生成重复题目超过3次,已跳过该题目');
|
|
38624
|
+
return;
|
|
38625
|
+
}
|
|
38626
|
+
const newObj = {
|
|
38627
|
+
...originalObj,
|
|
38628
|
+
repetitionQuestions: repetitionQuestions
|
|
38629
|
+
};
|
|
38630
|
+
getAiQuestion(newObj).then(res => {
|
|
38631
|
+
if (res.success) {
|
|
38632
|
+
this.loading && this.loading.close();
|
|
38633
|
+
if (res.data && res.data.questions && res.data.questions.length > 0) {
|
|
38634
|
+
const newQuestion = res.data.questions[0];
|
|
38635
|
+
|
|
38636
|
+
// 再次检查是否还有重复
|
|
38637
|
+
const isStillDuplicate = this.checkDuplicateQuestion(newQuestion, questionType);
|
|
38638
|
+
if (isStillDuplicate) {
|
|
38639
|
+
console.log('reSend重新生成后仍有重复,继续重试,当前重试次数:', retryCount + 1);
|
|
38640
|
+
// 递归调用,增加重试次数,重新获取最新的当前题型已生成题目列表
|
|
38641
|
+
const updatedRepetitionQuestions = this.getGeneratedQuestionsByType(questionType);
|
|
38642
|
+
this.regenerateWithRepetitionForReSend(originalObj, updatedRepetitionQuestions, questionType, retryCount + 1);
|
|
38643
|
+
return;
|
|
38644
|
+
}
|
|
38645
|
+
if (this.aiResponse.questions && this.aiResponse.questions.length > 0) {
|
|
38646
|
+
this.aiResponse.questions.push(newQuestion);
|
|
38647
|
+
} else {
|
|
38648
|
+
this.aiResponse = res.data;
|
|
38649
|
+
}
|
|
38650
|
+
this.$set(newQuestion, 'evaluate', 0);
|
|
38651
|
+
// 设置题目类型,便于后续统计
|
|
38652
|
+
this.$set(newQuestion, 'type', questionType);
|
|
38653
|
+
this.showGenerateResult();
|
|
38654
|
+
} else {
|
|
38655
|
+
this.$message.warning('重新生成题目失败,重新生成中...');
|
|
38656
|
+
return this.reSend();
|
|
38657
|
+
}
|
|
38658
|
+
} else {
|
|
38659
|
+
this.loading && this.loading.close();
|
|
38660
|
+
this.$message.warning('重新生成题目失败');
|
|
38661
|
+
this.rebuildFlag = false;
|
|
38662
|
+
}
|
|
38663
|
+
}).catch(error => {
|
|
38664
|
+
console.log("reSend重新生成题目错误:" + error);
|
|
38665
|
+
this.loading && this.loading.close();
|
|
38666
|
+
this.$message.warning('重新生成题目失败');
|
|
38667
|
+
this.rebuildFlag = false;
|
|
38668
|
+
});
|
|
38636
38669
|
}
|
|
38637
38670
|
}
|
|
38638
38671
|
});
|
|
38639
38672
|
;// CONCATENATED MODULE: ./components/demo/src/main.vue?vue&type=script&lang=js
|
|
38640
38673
|
/* harmony default export */ var src_mainvue_type_script_lang_js = (mainvue_type_script_lang_js);
|
|
38641
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/demo/src/main.vue?vue&type=style&index=0&id=
|
|
38642
|
-
var
|
|
38643
|
-
;// CONCATENATED MODULE: ./components/demo/src/main.vue?vue&type=style&index=0&id=
|
|
38674
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/demo/src/main.vue?vue&type=style&index=0&id=c5ff5afa&prod&lang=scss&scoped=true
|
|
38675
|
+
var mainvue_type_style_index_0_id_c5ff5afa_prod_lang_scss_scoped_true = __webpack_require__(9398);
|
|
38676
|
+
;// CONCATENATED MODULE: ./components/demo/src/main.vue?vue&type=style&index=0&id=c5ff5afa&prod&lang=scss&scoped=true
|
|
38644
38677
|
|
|
38645
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/demo/src/main.vue?vue&type=style&index=1&id=
|
|
38646
|
-
var
|
|
38647
|
-
;// CONCATENATED MODULE: ./components/demo/src/main.vue?vue&type=style&index=1&id=
|
|
38678
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/demo/src/main.vue?vue&type=style&index=1&id=c5ff5afa&prod&lang=scss
|
|
38679
|
+
var mainvue_type_style_index_1_id_c5ff5afa_prod_lang_scss = __webpack_require__(3002);
|
|
38680
|
+
;// CONCATENATED MODULE: ./components/demo/src/main.vue?vue&type=style&index=1&id=c5ff5afa&prod&lang=scss
|
|
38648
38681
|
|
|
38649
38682
|
;// CONCATENATED MODULE: ./components/demo/src/main.vue
|
|
38650
38683
|
|
|
@@ -38662,7 +38695,7 @@ var main_component = normalizeComponent(
|
|
|
38662
38695
|
staticRenderFns,
|
|
38663
38696
|
false,
|
|
38664
38697
|
null,
|
|
38665
|
-
"
|
|
38698
|
+
"c5ff5afa",
|
|
38666
38699
|
null
|
|
38667
38700
|
|
|
38668
38701
|
)
|