ai-question-pro 0.0.22 → 0.0.24

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.
@@ -1477,7 +1477,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".tree-select__option.el-select-dropdow
1477
1477
 
1478
1478
  /***/ }),
1479
1479
 
1480
- /***/ 2105:
1480
+ /***/ 659:
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-58718089]{display:inline-block;font-family:Microsoft YaHei,微软雅黑,sans-serif}.ai_contain[data-v-58718089] .el-drawer.rtl{border-radius:20px;width:720px!important}.ai_contain[data-v-58718089] .el-icon-close:before{color:#0e0e0e;font-weight:700;font-size:24px}.ai_contain[data-v-58718089] .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-58718089] .el-drawer__body{padding:0 30px;display:flex;flex-direction:column;justify-content:space-between}.ai_contain[data-v-58718089] .el-checkbox__inner{width:20px;height:20px;border-radius:4px}.ai_contain[data-v-58718089] .el-checkbox__input.is-checked .el-checkbox__inner{background-color:#7c4dff;border-color:#7c4dff}.ai_contain[data-v-58718089] .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-58718089] .el-slider__runway{height:6px;background-color:#e5e5e5;border-radius:3px}.ai_contain[data-v-58718089] .el-slider__button{width:20px;height:20px;border:1px solid #7c4dff;background-color:#7c4dff}.ai_contain[data-v-58718089] .el-slider__bar{background-color:#7c4dff}.ai_contain[data-v-58718089] .el-input__inner{border-radius:12px;height:48px!important;border:1px solid #e0e0e0}.ai_contain[data-v-58718089] .el-textarea__inner{border-radius:16px;border:1px solid #e0e0e0;font-family:Microsoft YaHei,微软雅黑,sans-serif}.ai_contain[data-v-58718089] .el-loading-mask{border-radius:8px}.ai_contain .ai_button[data-v-58718089]{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-58718089]{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-58718089]{margin-bottom:20px}.ai_contain .add_question_body .question-type-header .required-mark[data-v-58718089]{color:#f45;margin-right:4px}.ai_contain .add_question_body .question-type-header .section-title[data-v-58718089]{font-size:14px;color:#303040}.ai_contain .add_question_body .question-type-header .tip-text[data-v-58718089]{font-size:12px;color:#999;margin-left:20px}.ai_contain .add_question_body .question-type-list[data-v-58718089]{margin-bottom:30px}.ai_contain .add_question_body .question-type-list .question-type-item[data-v-58718089]{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-58718089]{display:flex;align-items:center}.ai_contain .add_question_body .question-type-list .question-type-item .type-left .type-checkbox[data-v-58718089]{margin-right:12px}.ai_contain .add_question_body .question-type-list .question-type-item .type-left .type-name[data-v-58718089]{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-58718089]{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-58718089]{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-58718089]{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-58718089]{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-58718089]{background:rgba(224,96,192,.161);color:#e060c0}.ai_contain .add_question_body .question-type-list .question-type-item .type-right[data-v-58718089]{display:flex;align-items:center;gap:20px}.ai_contain .add_question_body .question-type-list .question-type-item .type-right .count-input[data-v-58718089]{width:160px;margin-left:20px}.ai_contain .add_question_body .question-type-list .question-type-item .type-right .count-input[data-v-58718089] .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-58718089]{width:240px;margin-left:10px}.ai_contain .add_question_body .question-type-list .question-type-item .type-right .slider-container.disabled[data-v-58718089] .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-58718089]{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-58718089]{color:#ccc}.ai_contain .add_question_body .question-type-list .question-type-item .type-right .placeholder-text[data-v-58718089]{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-58718089],.ai_contain .add_question_body .prompt-section[data-v-58718089]{margin-bottom:24px}.ai_contain .add_question_body .knowledge-section .section-header[data-v-58718089],.ai_contain .add_question_body .prompt-section .section-header[data-v-58718089]{margin-bottom:12px}.ai_contain .add_question_body .knowledge-section .section-header .required-mark[data-v-58718089],.ai_contain .add_question_body .prompt-section .section-header .required-mark[data-v-58718089]{color:#f45;margin-right:4px}.ai_contain .add_question_body .knowledge-section .section-header .section-title[data-v-58718089],.ai_contain .add_question_body .prompt-section .section-header .section-title[data-v-58718089]{font-size:14px;color:#303040}.ai_contain .add_question_body .knowledge-section .section-header .tip-text[data-v-58718089],.ai_contain .add_question_body .prompt-section .section-header .tip-text[data-v-58718089]{font-size:12px;color:#999;margin-left:20px}.ai_contain .add_question_body .knowledge-section .knowledge-input[data-v-58718089],.ai_contain .add_question_body .prompt-section .knowledge-input[data-v-58718089]{position:relative}.ai_contain .add_question_body .knowledge-section .knowledge-input .knowledge-icon[data-v-58718089],.ai_contain .add_question_body .prompt-section .knowledge-input .knowledge-icon[data-v-58718089]{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-58718089]{min-height:120px!important;font-family:Microsoft YaHei,微软雅黑,sans-serif}.ai_contain .add_question_footer[data-v-58718089]{padding-bottom:30px;display:flex;justify-content:center;align-items:center;gap:30px}.ai_contain .add_question_footer .button-handle[data-v-58718089]{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-58718089]:hover{transform:translateY(-1px);box-shadow:0 4px 12px rgba(0,0,0,.15)}.ai_contain .add_question_footer .button-generate-question[data-v-58718089]{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-58718089]{border:1px solid #7050d0;background:transparent;color:#3030c0}.ai_contain .ai-bot-switch[data-v-58718089]{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-58718089]{font-weight:500;margin-right:2px;margin-left:5px;width:72px}.ai_contain .ai-bot-dropdown[data-v-58718089]{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-58718089]{padding:8px 20px;cursor:pointer;font-size:14px;color:#333;transition:background .2s}.ai_contain .ai-bot-dropdown-item.active[data-v-58718089],.ai_contain .ai-bot-dropdown-item[data-v-58718089]:hover{background:#f0f2f8;color:#3830e0}.ai_contain .question-result-drawer[data-v-58718089] .el-drawer__body{padding:0;height:100%;display:flex;flex-direction:column}.ai_contain .question-result-drawer .generating-loading[data-v-58718089]{display:flex;justify-content:center;align-items:center;height:200px}.ai_contain .question-result-drawer .generating-loading .loading-content[data-v-58718089]{display:flex;flex-direction:column;align-items:center;gap:16px}.ai_contain .question-result-drawer .generating-loading .loading-content .loading-spinner[data-v-58718089]{width:40px;height:40px;border:4px solid #f3f3f3;border-top:4px solid #7c4dff;border-radius:50%;animation:spin-58718089 1s linear infinite}.ai_contain .question-result-drawer .generating-loading .loading-content .loading-text[data-v-58718089]{font-size:14px;color:#7c4dff;font-weight:500}@keyframes spin-58718089{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.ai_contain .question-result-drawer .drawer_content_wrapper[data-v-58718089]{display:flex;flex-direction:column;height:100%;padding:0 20px}.ai_contain .question-result-drawer .question_summary_warp[data-v-58718089]{display:flex;justify-content:space-between;margin-bottom:20px}.ai_contain .question-result-drawer .question_summary_warp .question_summary .summary_text[data-v-58718089]{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-58718089]{font-size:12px;color:rgba(24,32,40,.639)}.ai_contain .question-result-drawer .question_summary_warp .question_summary_button[data-v-58718089]{display:flex;gap:15px;margin-right:15px}.ai_contain .question-result-drawer .question_summary_warp .question_summary_button .button-handle[data-v-58718089]{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-58718089]{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-58718089]{border:1px solid #7050d0;background:transparent;color:#3030c0}.ai_contain .question-result-drawer .question_body[data-v-58718089]{flex:1;overflow-y:auto;padding-right:10px}.ai_contain .question-result-drawer .question_body[data-v-58718089]::-webkit-scrollbar{width:6px}.ai_contain .question-result-drawer .question_body[data-v-58718089]::-webkit-scrollbar-track{background:hsla(0,0%,100%,.3);border-radius:3px}.ai_contain .question-result-drawer .question_body[data-v-58718089]::-webkit-scrollbar-thumb{background:rgba(124,77,255,.3);border-radius:3px}.ai_contain .question-result-drawer .question_body[data-v-58718089]::-webkit-scrollbar-thumb:hover{background:rgba(124,77,255,.5)}.ai_contain .question-result-drawer .question_footer_fixed[data-v-58718089]{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-58718089]{display:flex;align-items:center;gap:8px}.ai_contain .question-result-drawer .question_footer_fixed .footer_warning .el-icon-info[data-v-58718089]{width:24px;height:24px;flex-shrink:0}.ai_contain .question-result-drawer .question_footer_fixed .footer_warning .question_remind[data-v-58718089]{font-size:12px;color:#797979;line-height:1.4}", ""]);
1494
+ ___CSS_LOADER_EXPORT___.push([module.id, ".ai_contain[data-v-62ccef65]{display:inline-block;font-family:Microsoft YaHei,微软雅黑,sans-serif}.ai_contain[data-v-62ccef65] .el-drawer.rtl{border-radius:20px;width:720px!important}.ai_contain[data-v-62ccef65] .el-icon-close:before{color:#0e0e0e;font-weight:700;font-size:24px}.ai_contain[data-v-62ccef65] .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-62ccef65] .el-drawer__body{padding:0 30px;display:flex;flex-direction:column;justify-content:space-between}.ai_contain[data-v-62ccef65] .el-checkbox__inner{width:20px;height:20px;border-radius:4px}.ai_contain[data-v-62ccef65] .el-checkbox__input.is-checked .el-checkbox__inner{background-color:#7c4dff;border-color:#7c4dff}.ai_contain[data-v-62ccef65] .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-62ccef65] .el-slider__runway{height:6px;background-color:#e5e5e5;border-radius:3px}.ai_contain[data-v-62ccef65] .el-slider__button{width:20px;height:20px;border:1px solid #7c4dff;background-color:#7c4dff}.ai_contain[data-v-62ccef65] .el-slider__bar{background-color:#7c4dff}.ai_contain[data-v-62ccef65] .el-input__inner{border-radius:12px;height:48px!important;border:1px solid #e0e0e0}.ai_contain[data-v-62ccef65] .el-textarea__inner{border-radius:16px;border:1px solid #e0e0e0;font-family:Microsoft YaHei,微软雅黑,sans-serif}.ai_contain[data-v-62ccef65] .el-loading-mask{border-radius:8px}.ai_contain .ai_button[data-v-62ccef65]{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-62ccef65]{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-62ccef65]{margin-bottom:20px}.ai_contain .add_question_body .question-type-header .required-mark[data-v-62ccef65]{color:#f45;margin-right:4px}.ai_contain .add_question_body .question-type-header .section-title[data-v-62ccef65]{font-size:14px;color:#303040}.ai_contain .add_question_body .question-type-header .tip-text[data-v-62ccef65]{font-size:12px;color:#999;margin-left:20px}.ai_contain .add_question_body .question-type-list[data-v-62ccef65]{margin-bottom:30px}.ai_contain .add_question_body .question-type-list .question-type-item[data-v-62ccef65]{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-62ccef65]{display:flex;align-items:center}.ai_contain .add_question_body .question-type-list .question-type-item .type-left .type-checkbox[data-v-62ccef65]{margin-right:12px}.ai_contain .add_question_body .question-type-list .question-type-item .type-left .type-name[data-v-62ccef65]{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-62ccef65]{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-62ccef65]{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-62ccef65]{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-62ccef65]{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-62ccef65]{background:rgba(224,96,192,.161);color:#e060c0}.ai_contain .add_question_body .question-type-list .question-type-item .type-right[data-v-62ccef65]{display:flex;align-items:center;gap:20px}.ai_contain .add_question_body .question-type-list .question-type-item .type-right .count-input[data-v-62ccef65]{width:160px;margin-left:20px}.ai_contain .add_question_body .question-type-list .question-type-item .type-right .count-input[data-v-62ccef65] .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-62ccef65]{width:240px;margin-left:10px}.ai_contain .add_question_body .question-type-list .question-type-item .type-right .slider-container.disabled[data-v-62ccef65] .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-62ccef65]{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-62ccef65]{color:#ccc}.ai_contain .add_question_body .question-type-list .question-type-item .type-right .placeholder-text[data-v-62ccef65]{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-62ccef65],.ai_contain .add_question_body .prompt-section[data-v-62ccef65]{margin-bottom:24px}.ai_contain .add_question_body .knowledge-section .section-header[data-v-62ccef65],.ai_contain .add_question_body .prompt-section .section-header[data-v-62ccef65]{margin-bottom:12px}.ai_contain .add_question_body .knowledge-section .section-header .required-mark[data-v-62ccef65],.ai_contain .add_question_body .prompt-section .section-header .required-mark[data-v-62ccef65]{color:#f45;margin-right:4px}.ai_contain .add_question_body .knowledge-section .section-header .section-title[data-v-62ccef65],.ai_contain .add_question_body .prompt-section .section-header .section-title[data-v-62ccef65]{font-size:14px;color:#303040}.ai_contain .add_question_body .knowledge-section .section-header .tip-text[data-v-62ccef65],.ai_contain .add_question_body .prompt-section .section-header .tip-text[data-v-62ccef65]{font-size:12px;color:#999;margin-left:20px}.ai_contain .add_question_body .knowledge-section .knowledge-input[data-v-62ccef65],.ai_contain .add_question_body .prompt-section .knowledge-input[data-v-62ccef65]{position:relative}.ai_contain .add_question_body .knowledge-section .knowledge-input .knowledge-icon[data-v-62ccef65],.ai_contain .add_question_body .prompt-section .knowledge-input .knowledge-icon[data-v-62ccef65]{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-62ccef65]{min-height:120px!important;font-family:Microsoft YaHei,微软雅黑,sans-serif}.ai_contain .add_question_footer[data-v-62ccef65]{padding-bottom:30px;display:flex;justify-content:center;align-items:center;gap:30px}.ai_contain .add_question_footer .button-handle[data-v-62ccef65]{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-62ccef65]:hover{transform:translateY(-1px);box-shadow:0 4px 12px rgba(0,0,0,.15)}.ai_contain .add_question_footer .button-generate-question[data-v-62ccef65]{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-62ccef65]{border:1px solid #7050d0;background:transparent;color:#3030c0}.ai_contain .ai-bot-switch[data-v-62ccef65]{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-62ccef65]{font-weight:500;margin-right:2px;margin-left:5px;width:72px}.ai_contain .ai-bot-dropdown[data-v-62ccef65]{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-62ccef65]{padding:8px 20px;cursor:pointer;font-size:14px;color:#333;transition:background .2s}.ai_contain .ai-bot-dropdown-item.active[data-v-62ccef65],.ai_contain .ai-bot-dropdown-item[data-v-62ccef65]:hover{background:#f0f2f8;color:#3830e0}.ai_contain .question-result-drawer[data-v-62ccef65] .el-drawer__body{padding:0;height:100%;display:flex;flex-direction:column}.ai_contain .question-result-drawer .generating-loading[data-v-62ccef65]{display:flex;justify-content:center;align-items:center;height:200px}.ai_contain .question-result-drawer .generating-loading .loading-content[data-v-62ccef65]{display:flex;flex-direction:column;align-items:center;gap:16px}.ai_contain .question-result-drawer .generating-loading .loading-content .loading-spinner[data-v-62ccef65]{width:40px;height:40px;border:4px solid #f3f3f3;border-top:4px solid #7c4dff;border-radius:50%;animation:spin-62ccef65 1s linear infinite}.ai_contain .question-result-drawer .generating-loading .loading-content .loading-text[data-v-62ccef65]{font-size:14px;color:#7c4dff;font-weight:500}@keyframes spin-62ccef65{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.ai_contain .question-result-drawer .drawer_content_wrapper[data-v-62ccef65]{display:flex;flex-direction:column;height:100%;padding:0 20px}.ai_contain .question-result-drawer .question_summary_warp[data-v-62ccef65]{display:flex;justify-content:space-between;margin-bottom:20px}.ai_contain .question-result-drawer .question_summary_warp .question_summary .summary_text[data-v-62ccef65]{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-62ccef65]{font-size:12px;color:rgba(24,32,40,.639)}.ai_contain .question-result-drawer .question_summary_warp .question_summary_button[data-v-62ccef65]{display:flex;gap:15px;margin-right:15px}.ai_contain .question-result-drawer .question_summary_warp .question_summary_button .button-handle[data-v-62ccef65]{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-62ccef65]{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-62ccef65]{border:1px solid #7050d0;background:transparent;color:#3030c0}.ai_contain .question-result-drawer .question_body[data-v-62ccef65]{flex:1;overflow-y:auto;padding-right:10px}.ai_contain .question-result-drawer .question_body[data-v-62ccef65]::-webkit-scrollbar{width:6px}.ai_contain .question-result-drawer .question_body[data-v-62ccef65]::-webkit-scrollbar-track{background:hsla(0,0%,100%,.3);border-radius:3px}.ai_contain .question-result-drawer .question_body[data-v-62ccef65]::-webkit-scrollbar-thumb{background:rgba(124,77,255,.3);border-radius:3px}.ai_contain .question-result-drawer .question_body[data-v-62ccef65]::-webkit-scrollbar-thumb:hover{background:rgba(124,77,255,.5)}.ai_contain .question-result-drawer .question_footer_fixed[data-v-62ccef65]{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-62ccef65]{display:flex;align-items:center;gap:8px}.ai_contain .question-result-drawer .question_footer_fixed .footer_warning .el-icon-info[data-v-62ccef65]{width:24px;height:24px;flex-shrink:0}.ai_contain .question-result-drawer .question_footer_fixed .footer_warning .question_remind[data-v-62ccef65]{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
- /***/ 5997:
1501
+ /***/ 1147:
1502
1502
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1503
1503
 
1504
1504
  "use strict";
@@ -32967,35 +32967,35 @@ var update = add("f22f6454", content, true, {"sourceMap":false,"shadowMode":fals
32967
32967
 
32968
32968
  /***/ }),
32969
32969
 
32970
- /***/ 9555:
32970
+ /***/ 9969:
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__(2105);
32976
+ var content = __webpack_require__(659);
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("938c7c16", content, true, {"sourceMap":false,"shadowMode":false});
32982
+ var update = add("5ba0767b", content, true, {"sourceMap":false,"shadowMode":false});
32983
32983
 
32984
32984
  /***/ }),
32985
32985
 
32986
- /***/ 9323:
32986
+ /***/ 4541:
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__(5997);
32992
+ var content = __webpack_require__(1147);
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("55a064ab", content, true, {"sourceMap":false,"shadowMode":false});
32998
+ var update = add("403d3231", content, true, {"sourceMap":false,"shadowMode":false});
32999
32999
 
33000
33000
  /***/ }),
33001
33001
 
@@ -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/pxFFnPICamPoVRE2zUwGcB6CJx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AASUVORK5CYII=";
33291
-
33292
- /***/ }),
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:
@@ -33480,7 +33464,7 @@ if (typeof window !== 'undefined') {
33480
33464
  // Indicate to webpack that this file can be concatenated
33481
33465
  /* harmony default export */ var setPublicPath = (null);
33482
33466
 
33483
- ;// 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=58718089&scoped=true
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=62ccef65&scoped=true
33484
33468
  var render = function render() {
33485
33469
  var _vm = this,
33486
33470
  _c = _vm._self._c;
@@ -33518,62 +33502,7 @@ var render = function render() {
33518
33502
  "src": __webpack_require__(5014),
33519
33503
  "alt": ""
33520
33504
  }
33521
- }), _c('span', [_vm._v("出题")])]), _c('div', {
33522
- staticClass: "ai-bot-switch-wrap",
33523
- staticStyle: {
33524
- "position": "absolute",
33525
- "left": "120px"
33526
- }
33527
- }, [_c('div', {
33528
- staticClass: "ai-bot-switch",
33529
- on: {
33530
- "click": function ($event) {
33531
- _vm.dropdownVisible = !_vm.dropdownVisible;
33532
- }
33533
- }
33534
- }, [_c('img', {
33535
- staticStyle: {
33536
- "width": "24px",
33537
- "height": "24px"
33538
- },
33539
- attrs: {
33540
- "src": __webpack_require__(4314),
33541
- "alt": ""
33542
- }
33543
- }), _c('span', {
33544
- staticClass: "ai-bot-label"
33545
- }, [_vm._v(" " + _vm._s(_vm.currentBot === 'course' ? '课程智能体' : '通义千问') + " ")]), _c('img', {
33546
- staticStyle: {
33547
- "width": "12px",
33548
- "height": "12px"
33549
- },
33550
- attrs: {
33551
- "src": __webpack_require__(9281),
33552
- "alt": ""
33553
- }
33554
- })]), _vm.dropdownVisible ? _c('div', {
33555
- staticClass: "ai-bot-dropdown",
33556
- staticStyle: {
33557
- "position": "absolute",
33558
- "z-index": "1000",
33559
- "min-width": "20%"
33560
- },
33561
- on: {
33562
- "mousedown": function ($event) {
33563
- $event.preventDefault();
33564
- }
33565
- }
33566
- }, [_c('div', {
33567
- staticClass: "ai-bot-dropdown-item",
33568
- class: {
33569
- active: _vm.currentBot === 'tongyi'
33570
- },
33571
- on: {
33572
- "click": function ($event) {
33573
- return _vm.selectBot('tongyi');
33574
- }
33575
- }
33576
- }, [_vm._v("通义千问 ")])]) : _vm._e()])]), _c('div', {
33505
+ }), _c('span', [_vm._v("出题")])])]), _c('div', {
33577
33506
  staticClass: "add_question_body"
33578
33507
  }, [_c('div', {
33579
33508
  staticClass: "question-type-header"
@@ -33583,7 +33512,7 @@ var render = function render() {
33583
33512
  staticClass: "section-title"
33584
33513
  }, [_vm._v("题目类型:")]), _c('span', {
33585
33514
  staticClass: "tip-text"
33586
- }, [_vm._v("(为避免您等待时间过长,一次性最多生成10道题)")])]), _c('div', {
33515
+ }, [_vm._v("(为避免您等待时间过长,所选择题型数量总和最好不超过10")])]), _c('div', {
33587
33516
  staticClass: "question-type-list"
33588
33517
  }, _vm._l(_vm.quesTypeList, function (item, index) {
33589
33518
  return _c('div', {
@@ -33839,7 +33768,7 @@ var render = function render() {
33839
33768
  };
33840
33769
  var staticRenderFns = [];
33841
33770
 
33842
- ;// CONCATENATED MODULE: ./components/demo/src/main.vue?vue&type=template&id=58718089&scoped=true
33771
+ ;// CONCATENATED MODULE: ./components/demo/src/main.vue?vue&type=template&id=62ccef65&scoped=true
33843
33772
 
33844
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
33845
33774
  var questionItemvue_type_template_id_cc89a654_scoped_true_render = function render() {
@@ -38122,7 +38051,7 @@ const createBurial = data => {
38122
38051
  id: 'shortanswer'
38123
38052
  }],
38124
38053
  difficultyList: [{
38125
- name: '超级简单',
38054
+ name: '非常简单',
38126
38055
  id: 0
38127
38056
  }, {
38128
38057
  name: '简单',
@@ -38148,7 +38077,11 @@ const createBurial = data => {
38148
38077
  // 存储已加入题库的题目索引
38149
38078
  retryCountMap: {},
38150
38079
  // 存储每个题目的重试次数
38151
- isGenerating: false // 内部loading状态
38080
+ isGenerating: false,
38081
+ // 内部loading状态
38082
+ typeGeneratedCounts: {},
38083
+ // 跟踪每个题型已生成的数量
38084
+ pendingGenerations: [] // 待生成的题目队列
38152
38085
  };
38153
38086
  },
38154
38087
  watch: {
@@ -38281,6 +38214,16 @@ const createBurial = data => {
38281
38214
  return this.$message.warning('请至少选择一种题目类型');
38282
38215
  }
38283
38216
 
38217
+ // 验证选中的题目类型是否都输入了数量
38218
+ for (let type of selectedTypes) {
38219
+ const count = this.form.typeCounts[type];
38220
+ if (!count || count <= 0) {
38221
+ const found = this.quesTypeList.find(item => item.id === type);
38222
+ const typeName = found && found.name || type;
38223
+ return this.$message.warning(`请为${typeName}输入生成数量`);
38224
+ }
38225
+ }
38226
+
38284
38227
  // 验证是否选择了知识点
38285
38228
  if (!this.form.knowledgeIds) {
38286
38229
  return this.$message.warning('请选择关联知识点');
@@ -38329,19 +38272,89 @@ const createBurial = data => {
38329
38272
  generateDiv.scrollTop = generateDiv.scrollHeight;
38330
38273
  });
38331
38274
  },
38332
- reSend() {
38275
+ // 重新生成失败的题目 - 需要指定具体的题型和难度
38276
+ reSend(failedQuestionType = null, failedDifficulty = null) {
38277
+ this.isGenerating = true;
38278
+
38279
+ // 如果没有指定失败的题型,则需要分析哪个题型还缺少题目
38280
+ let targetType = failedQuestionType;
38281
+ let targetDifficulty = failedDifficulty;
38282
+ if (!targetType) {
38283
+ // 分析哪个题型的数量不足
38284
+ const selectedTypes = Object.keys(this.form.selectedTypes).filter(key => this.form.selectedTypes[key]);
38285
+ for (let type of selectedTypes) {
38286
+ const expectedCount = this.form.typeCounts[type];
38287
+ const actualCount = this.typeGeneratedCounts[type] || 0;
38288
+ if (actualCount < expectedCount) {
38289
+ targetType = type;
38290
+ targetDifficulty = this.form.typeDifficulties[type];
38291
+ break;
38292
+ }
38293
+ }
38294
+ }
38295
+
38296
+ // 如果找不到需要补充的题型,说明数量已经足够
38297
+ if (!targetType) {
38298
+ this.isGenerating = false;
38299
+ return;
38300
+ }
38301
+
38302
+ // 使用 generateSingleQuestion 方法来生成指定题型
38303
+ this.generateSingleQuestion(targetType, targetDifficulty);
38304
+ },
38305
+ //发送请求
38306
+ sendPost() {
38307
+ checkVersion(this.businessSource).then(res => {
38308
+ console.log(res);
38309
+ if (res.errCode === '403') {
38310
+ this.$message.warning(res.errMessage);
38311
+ } else {
38312
+ this.postQuestion();
38313
+ }
38314
+ });
38315
+ },
38316
+ postQuestion() {
38317
+ this.rebuildFlag = true;
38318
+ this.generateCount = 0;
38319
+ this.aiResponse = {};
38333
38320
  this.isGenerating = true;
38321
+
38322
+ // 初始化题型生成计数器
38323
+ this.typeGeneratedCounts = {};
38324
+ this.pendingGenerations = [];
38334
38325
  const selectedTypes = Object.keys(this.form.selectedTypes).filter(key => this.form.selectedTypes[key]);
38335
- const questionTypes = selectedTypes;
38336
- const difficultys = selectedTypes.map(type => this.form.typeDifficulties[type]);
38326
+
38327
+ // 初始化每个题型的计数器和待生成队列
38328
+ selectedTypes.forEach(type => {
38329
+ this.typeGeneratedCounts[type] = 0;
38330
+ const count = this.form.typeCounts[type] || 1;
38331
+
38332
+ // 将每个需要生成的题目加入队列
38333
+ for (let i = 0; i < count; i++) {
38334
+ this.pendingGenerations.push({
38335
+ type: type,
38336
+ difficulty: this.form.typeDifficulties[type],
38337
+ index: i
38338
+ });
38339
+ }
38340
+ });
38341
+
38342
+ // 开始生成题目
38343
+ this.pendingGenerations.forEach(item => {
38344
+ this.generateSingleQuestion(item.type, item.difficulty);
38345
+ });
38346
+ },
38347
+ // 生成单个题目的方法
38348
+ generateSingleQuestion(questionType, difficulty) {
38337
38349
  let obj = {
38338
38350
  modelType: 'aliyun',
38339
38351
  questionAddCmd: {
38340
- questionTypes: questionTypes,
38352
+ questionTypes: [questionType],
38353
+ // 指定单个题型
38341
38354
  count: 1,
38342
38355
  knowledge: this.form.knowledge.join(' '),
38343
38356
  knowledgeId: this.form.knowledgeId[this.form.knowledgeId.length - 1],
38344
- difficultys: difficultys,
38357
+ difficultys: [difficulty],
38345
38358
  prompt: this.form.prompt
38346
38359
  },
38347
38360
  sessionId: this.aiResponse.sessionId ? this.aiResponse.sessionId : '',
@@ -38350,15 +38363,22 @@ const createBurial = data => {
38350
38363
  };
38351
38364
  getAiQuestion(obj).then(res => {
38352
38365
  if (res.success) {
38353
- this.loading && this.loading.close();
38354
38366
  if (res.data && res.data.questions && res.data.questions.length > 0) {
38355
38367
  const newQuestion = res.data.questions[0];
38356
- const questionType = newQuestion.type;
38368
+
38357
38369
  // 检查是否有重复的题目标题和题型
38358
38370
  const isDuplicate = this.checkDuplicateQuestion(newQuestion, questionType);
38359
38371
  if (isDuplicate) {
38372
+ // 重复题目,重新生成
38360
38373
  const repetitionQuestions = this.getGeneratedQuestionsByType(questionType);
38361
- this.regenerateWithRepetitionForReSend(obj, repetitionQuestions, questionType);
38374
+ this.regenerateWithRepetition(obj, repetitionQuestions, questionType);
38375
+ return;
38376
+ }
38377
+
38378
+ // 验证返回的题目类型是否正确
38379
+ if (newQuestion.type && newQuestion.type !== questionType) {
38380
+ console.log(`期望题型: ${questionType}, 实际题型: ${newQuestion.type}, 重新生成`);
38381
+ this.generateSingleQuestion(questionType, difficulty);
38362
38382
  return;
38363
38383
  }
38364
38384
  if (this.aiResponse.questions && this.aiResponse.questions.length > 0) {
@@ -38369,10 +38389,14 @@ const createBurial = data => {
38369
38389
  this.$set(newQuestion, 'evaluate', 0);
38370
38390
  // 设置题目类型,便于后续统计
38371
38391
  this.$set(newQuestion, 'type', questionType);
38392
+
38393
+ // 更新该题型的生成计数
38394
+ this.typeGeneratedCounts[questionType]++;
38372
38395
  this.showGenerateResult();
38373
38396
  } else {
38374
38397
  this.$message.warning('题目获取失败,重新生成中...');
38375
- return this.reSend();
38398
+ // 重新生成指定题型
38399
+ this.generateSingleQuestion(questionType, difficulty);
38376
38400
  }
38377
38401
  } else {
38378
38402
  this.isGenerating = false;
@@ -38386,87 +38410,6 @@ const createBurial = data => {
38386
38410
  this.rebuildFlag = false;
38387
38411
  });
38388
38412
  },
38389
- //发送请求
38390
- sendPost() {
38391
- checkVersion(this.businessSource).then(res => {
38392
- console.log(res);
38393
- if (res.errCode === '403') {
38394
- this.$message.warning(res.errMessage);
38395
- } else {
38396
- this.postQuestion();
38397
- }
38398
- });
38399
- },
38400
- postQuestion() {
38401
- this.rebuildFlag = true;
38402
- this.generateCount = 0;
38403
- this.aiResponse = {};
38404
- this.isGenerating = true;
38405
- const selectedTypes = Object.keys(this.form.selectedTypes).filter(key => this.form.selectedTypes[key]);
38406
-
38407
- // 按题型分别生成题目
38408
- selectedTypes.forEach(type => {
38409
- const count = this.form.typeCounts[type] || 1;
38410
- const difficulty = this.form.typeDifficulties[type];
38411
-
38412
- // 为每种题型生成指定数量的题目
38413
- for (let i = 0; i < count; i++) {
38414
- let obj = {
38415
- modelType: 'aliyun',
38416
- questionAddCmd: {
38417
- questionTypes: [type],
38418
- // 单个题型
38419
- count: 1,
38420
- knowledge: this.form.knowledge.join(' '),
38421
- knowledgeId: this.form.knowledgeId[this.form.knowledgeId.length - 1],
38422
- difficultys: [difficulty],
38423
- // 对应的难度
38424
- prompt: this.form.prompt
38425
- },
38426
- sessionId: this.aiResponse.sessionId ? this.aiResponse.sessionId : '',
38427
- businessSource: this.businessSource,
38428
- courseId: this.courseId
38429
- };
38430
- getAiQuestion(obj).then(res => {
38431
- if (res.success) {
38432
- if (res.data && res.data.questions && res.data.questions.length > 0) {
38433
- const newQuestion = res.data.questions[0];
38434
-
38435
- // 检查是否有重复的题目标题和题型
38436
- const isDuplicate = this.checkDuplicateQuestion(newQuestion, type);
38437
- if (isDuplicate) {
38438
- // 只传递当前题型
38439
- const repetitionQuestions = this.getGeneratedQuestionsByType(type);
38440
- this.regenerateWithRepetition(obj, repetitionQuestions, type);
38441
- return;
38442
- }
38443
- if (this.aiResponse.questions && this.aiResponse.questions.length > 0) {
38444
- this.aiResponse.questions.push(newQuestion);
38445
- } else {
38446
- this.aiResponse = res.data;
38447
- }
38448
- this.$set(newQuestion, 'evaluate', 0);
38449
- // 设置题目类型,便于后续统计
38450
- this.$set(newQuestion, 'type', type);
38451
- this.showGenerateResult();
38452
- } else {
38453
- this.$message.warning('题目获取失败,重新生成中...');
38454
- return this.reSend();
38455
- }
38456
- } else {
38457
- this.isGenerating = false;
38458
- this.$message.warning('题目获取失败');
38459
- this.rebuildFlag = false;
38460
- }
38461
- }).catch(error => {
38462
- console.log("error:" + error);
38463
- this.isGenerating = false;
38464
- this.$message.warning('题目获取失败');
38465
- this.rebuildFlag = false;
38466
- });
38467
- }
38468
- });
38469
- },
38470
38413
  //获取知识点名称
38471
38414
  getKnowledgeName(e, array) {
38472
38415
  array.forEach(item => {
@@ -38653,6 +38596,12 @@ const createBurial = data => {
38653
38596
  this.$set(newQuestion, 'evaluate', 0);
38654
38597
  // 设置题目类型,便于后续统计
38655
38598
  this.$set(newQuestion, 'type', questionType);
38599
+
38600
+ // 更新该题型的生成计数
38601
+ if (!this.typeGeneratedCounts[questionType]) {
38602
+ this.typeGeneratedCounts[questionType] = 0;
38603
+ }
38604
+ this.typeGeneratedCounts[questionType]++;
38656
38605
  this.showGenerateResult();
38657
38606
  } else {
38658
38607
  this.$message.warning('重新生成题目失败');
@@ -38723,13 +38672,13 @@ const createBurial = data => {
38723
38672
  });
38724
38673
  ;// CONCATENATED MODULE: ./components/demo/src/main.vue?vue&type=script&lang=js
38725
38674
  /* harmony default export */ var src_mainvue_type_script_lang_js = (mainvue_type_script_lang_js);
38726
- // 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=58718089&prod&lang=scss&scoped=true
38727
- var mainvue_type_style_index_0_id_58718089_prod_lang_scss_scoped_true = __webpack_require__(9555);
38728
- ;// CONCATENATED MODULE: ./components/demo/src/main.vue?vue&type=style&index=0&id=58718089&prod&lang=scss&scoped=true
38675
+ // 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=62ccef65&prod&lang=scss&scoped=true
38676
+ var mainvue_type_style_index_0_id_62ccef65_prod_lang_scss_scoped_true = __webpack_require__(9969);
38677
+ ;// CONCATENATED MODULE: ./components/demo/src/main.vue?vue&type=style&index=0&id=62ccef65&prod&lang=scss&scoped=true
38729
38678
 
38730
- // 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=58718089&prod&lang=scss
38731
- var mainvue_type_style_index_1_id_58718089_prod_lang_scss = __webpack_require__(9323);
38732
- ;// CONCATENATED MODULE: ./components/demo/src/main.vue?vue&type=style&index=1&id=58718089&prod&lang=scss
38679
+ // 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=62ccef65&prod&lang=scss
38680
+ var mainvue_type_style_index_1_id_62ccef65_prod_lang_scss = __webpack_require__(4541);
38681
+ ;// CONCATENATED MODULE: ./components/demo/src/main.vue?vue&type=style&index=1&id=62ccef65&prod&lang=scss
38733
38682
 
38734
38683
  ;// CONCATENATED MODULE: ./components/demo/src/main.vue
38735
38684
 
@@ -38747,7 +38696,7 @@ var main_component = normalizeComponent(
38747
38696
  staticRenderFns,
38748
38697
  false,
38749
38698
  null,
38750
- "58718089",
38699
+ "62ccef65",
38751
38700
  null
38752
38701
 
38753
38702
  )