ai-question-pro 0.0.22 → 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.
@@ -1487,7 +1487,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".tree-select__option.el-select-dropdow
1487
1487
 
1488
1488
  /***/ }),
1489
1489
 
1490
- /***/ 1465:
1490
+ /***/ 2960:
1491
1491
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1492
1492
 
1493
1493
  "use strict";
@@ -1501,14 +1501,14 @@ __webpack_require__.r(__webpack_exports__);
1501
1501
 
1502
1502
  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()));
1503
1503
  // Module
1504
- ___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}", ""]);
1504
+ ___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}", ""]);
1505
1505
  // Exports
1506
1506
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
1507
1507
 
1508
1508
 
1509
1509
  /***/ }),
1510
1510
 
1511
- /***/ 477:
1511
+ /***/ 7928:
1512
1512
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1513
1513
 
1514
1514
  "use strict";
@@ -32977,35 +32977,35 @@ var update = add("bf17ce54", content, true, {"sourceMap":false,"shadowMode":fals
32977
32977
 
32978
32978
  /***/ }),
32979
32979
 
32980
- /***/ 565:
32980
+ /***/ 3956:
32981
32981
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
32982
32982
 
32983
32983
  // style-loader: Adds some css to the DOM by adding a <style> tag
32984
32984
 
32985
32985
  // load the styles
32986
- var content = __webpack_require__(1465);
32986
+ var content = __webpack_require__(2960);
32987
32987
  if(content.__esModule) content = content.default;
32988
32988
  if(typeof content === 'string') content = [[module.id, content, '']];
32989
32989
  if(content.locals) module.exports = content.locals;
32990
32990
  // add the styles to the DOM
32991
32991
  var add = (__webpack_require__(258)/* ["default"] */ .A)
32992
- var update = add("6b630cf5", content, true, {"sourceMap":false,"shadowMode":false});
32992
+ var update = add("6df26b78", content, true, {"sourceMap":false,"shadowMode":false});
32993
32993
 
32994
32994
  /***/ }),
32995
32995
 
32996
- /***/ 1593:
32996
+ /***/ 7836:
32997
32997
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
32998
32998
 
32999
32999
  // style-loader: Adds some css to the DOM by adding a <style> tag
33000
33000
 
33001
33001
  // load the styles
33002
- var content = __webpack_require__(477);
33002
+ var content = __webpack_require__(7928);
33003
33003
  if(content.__esModule) content = content.default;
33004
33004
  if(typeof content === 'string') content = [[module.id, content, '']];
33005
33005
  if(content.locals) module.exports = content.locals;
33006
33006
  // add the styles to the DOM
33007
33007
  var add = (__webpack_require__(258)/* ["default"] */ .A)
33008
- var update = add("43bba0aa", content, true, {"sourceMap":false,"shadowMode":false});
33008
+ var update = add("0c00faae", content, true, {"sourceMap":false,"shadowMode":false});
33009
33009
 
33010
33010
  /***/ }),
33011
33011
 
@@ -33291,22 +33291,6 @@ function applyToTag (styleElement, obj) {
33291
33291
  }
33292
33292
 
33293
33293
 
33294
- /***/ }),
33295
-
33296
- /***/ 4314:
33297
- /***/ (function(module) {
33298
-
33299
- "use strict";
33300
- 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/n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3fNay34cl63bAqHzFKfABFlb8Lb1i9geQM2j3bbrLr2LqDpUdbFEyj+gWXoDFWcSvgTzhyAswX6ujfZnNSxMmIHqNQp7lyDrTObwAy7O8ICnmtJCjYV3WTSgej8fj8Xg8Ho/H4/F4PB6Px+PxeDwej8fj8Xg8Ho/H43EDAP8H/wclRgol3MoAAAAASUVORK5CYII=";
33301
-
33302
- /***/ }),
33303
-
33304
- /***/ 9281:
33305
- /***/ (function(module) {
33306
-
33307
- "use strict";
33308
- module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAKRJREFUOE+lkr0RwjAMRr9soQ7RaQzYJEwCTEI2gTFUqtQYoLvAkTiOlYtLW+/px+qw83Q1nlh6Nx1a/kUBsTwAsJueNwtG+OSmxxYc75MKtsITwQj3n8tbJrOb3ueCa/SdgQFYIUiCRVj1G7PCn4BY9rUQiwPg0MgcM4q4wU0vxTeuwcQScCwY/hcsNYManK6AWJ7zzN9qsxXEar+WWkwJ1mbzBjfENBFJwidNAAAAAElFTkSuQmCC";
33309
-
33310
33294
  /***/ }),
33311
33295
 
33312
33296
  /***/ 8831:
@@ -33490,7 +33474,7 @@ if (typeof window !== 'undefined') {
33490
33474
  // Indicate to webpack that this file can be concatenated
33491
33475
  /* harmony default export */ var setPublicPath = (null);
33492
33476
 
33493
- ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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
33477
+ ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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
33494
33478
  var render = function render() {
33495
33479
  var _vm = this,
33496
33480
  _c = _vm._self._c;
@@ -33528,62 +33512,7 @@ var render = function render() {
33528
33512
  "src": __webpack_require__(5014),
33529
33513
  "alt": ""
33530
33514
  }
33531
- }), _c('span', [_vm._v("出题")])]), _c('div', {
33532
- staticClass: "ai-bot-switch-wrap",
33533
- staticStyle: {
33534
- "position": "absolute",
33535
- "left": "120px"
33536
- }
33537
- }, [_c('div', {
33538
- staticClass: "ai-bot-switch",
33539
- on: {
33540
- "click": function ($event) {
33541
- _vm.dropdownVisible = !_vm.dropdownVisible;
33542
- }
33543
- }
33544
- }, [_c('img', {
33545
- staticStyle: {
33546
- "width": "24px",
33547
- "height": "24px"
33548
- },
33549
- attrs: {
33550
- "src": __webpack_require__(4314),
33551
- "alt": ""
33552
- }
33553
- }), _c('span', {
33554
- staticClass: "ai-bot-label"
33555
- }, [_vm._v(" " + _vm._s(_vm.currentBot === 'course' ? '课程智能体' : '通义千问') + " ")]), _c('img', {
33556
- staticStyle: {
33557
- "width": "12px",
33558
- "height": "12px"
33559
- },
33560
- attrs: {
33561
- "src": __webpack_require__(9281),
33562
- "alt": ""
33563
- }
33564
- })]), _vm.dropdownVisible ? _c('div', {
33565
- staticClass: "ai-bot-dropdown",
33566
- staticStyle: {
33567
- "position": "absolute",
33568
- "z-index": "1000",
33569
- "min-width": "20%"
33570
- },
33571
- on: {
33572
- "mousedown": function ($event) {
33573
- $event.preventDefault();
33574
- }
33575
- }
33576
- }, [_c('div', {
33577
- staticClass: "ai-bot-dropdown-item",
33578
- class: {
33579
- active: _vm.currentBot === 'tongyi'
33580
- },
33581
- on: {
33582
- "click": function ($event) {
33583
- return _vm.selectBot('tongyi');
33584
- }
33585
- }
33586
- }, [_vm._v("通义千问 ")])]) : _vm._e()])]), _c('div', {
33515
+ }), _c('span', [_vm._v("出题")])])]), _c('div', {
33587
33516
  staticClass: "add_question_body"
33588
33517
  }, [_c('div', {
33589
33518
  staticClass: "question-type-header"
@@ -33593,7 +33522,7 @@ var render = function render() {
33593
33522
  staticClass: "section-title"
33594
33523
  }, [_vm._v("题目类型:")]), _c('span', {
33595
33524
  staticClass: "tip-text"
33596
- }, [_vm._v("(为避免您等待时间过长,一次性最多生成10道题)")])]), _c('div', {
33525
+ }, [_vm._v("(为避免您等待时间过长,所选择题型数量总和最好不超过10")])]), _c('div', {
33597
33526
  staticClass: "question-type-list"
33598
33527
  }, _vm._l(_vm.quesTypeList, function (item, index) {
33599
33528
  return _c('div', {
@@ -33849,7 +33778,7 @@ var render = function render() {
33849
33778
  };
33850
33779
  var staticRenderFns = [];
33851
33780
 
33852
- ;// CONCATENATED MODULE: ./components/demo/src/main.vue?vue&type=template&id=58718089&scoped=true
33781
+ ;// CONCATENATED MODULE: ./components/demo/src/main.vue?vue&type=template&id=c5ff5afa&scoped=true
33853
33782
 
33854
33783
  ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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
33855
33784
  var questionItemvue_type_template_id_cc89a654_scoped_true_render = function render() {
@@ -38132,7 +38061,7 @@ const createBurial = data => {
38132
38061
  id: 'shortanswer'
38133
38062
  }],
38134
38063
  difficultyList: [{
38135
- name: '超级简单',
38064
+ name: '非常简单',
38136
38065
  id: 0
38137
38066
  }, {
38138
38067
  name: '简单',
@@ -38158,7 +38087,11 @@ const createBurial = data => {
38158
38087
  // 存储已加入题库的题目索引
38159
38088
  retryCountMap: {},
38160
38089
  // 存储每个题目的重试次数
38161
- isGenerating: false // 内部loading状态
38090
+ isGenerating: false,
38091
+ // 内部loading状态
38092
+ typeGeneratedCounts: {},
38093
+ // 跟踪每个题型已生成的数量
38094
+ pendingGenerations: [] // 待生成的题目队列
38162
38095
  };
38163
38096
  },
38164
38097
  watch: {
@@ -38291,6 +38224,15 @@ const createBurial = data => {
38291
38224
  return this.$message.warning('请至少选择一种题目类型');
38292
38225
  }
38293
38226
 
38227
+ // 验证选中的题目类型是否都输入了数量
38228
+ for (let type of selectedTypes) {
38229
+ const count = this.form.typeCounts[type];
38230
+ if (!count || count <= 0) {
38231
+ const typeName = this.quesTypeList.find(item => item.id === type)?.name || type;
38232
+ return this.$message.warning(`请为${typeName}输入生成数量`);
38233
+ }
38234
+ }
38235
+
38294
38236
  // 验证是否选择了知识点
38295
38237
  if (!this.form.knowledgeIds) {
38296
38238
  return this.$message.warning('请选择关联知识点');
@@ -38339,19 +38281,89 @@ const createBurial = data => {
38339
38281
  generateDiv.scrollTop = generateDiv.scrollHeight;
38340
38282
  });
38341
38283
  },
38342
- reSend() {
38284
+ // 重新生成失败的题目 - 需要指定具体的题型和难度
38285
+ reSend(failedQuestionType = null, failedDifficulty = null) {
38286
+ this.isGenerating = true;
38287
+
38288
+ // 如果没有指定失败的题型,则需要分析哪个题型还缺少题目
38289
+ let targetType = failedQuestionType;
38290
+ let targetDifficulty = failedDifficulty;
38291
+ if (!targetType) {
38292
+ // 分析哪个题型的数量不足
38293
+ const selectedTypes = Object.keys(this.form.selectedTypes).filter(key => this.form.selectedTypes[key]);
38294
+ for (let type of selectedTypes) {
38295
+ const expectedCount = this.form.typeCounts[type];
38296
+ const actualCount = this.typeGeneratedCounts[type] || 0;
38297
+ if (actualCount < expectedCount) {
38298
+ targetType = type;
38299
+ targetDifficulty = this.form.typeDifficulties[type];
38300
+ break;
38301
+ }
38302
+ }
38303
+ }
38304
+
38305
+ // 如果找不到需要补充的题型,说明数量已经足够
38306
+ if (!targetType) {
38307
+ this.isGenerating = false;
38308
+ return;
38309
+ }
38310
+
38311
+ // 使用 generateSingleQuestion 方法来生成指定题型
38312
+ this.generateSingleQuestion(targetType, targetDifficulty);
38313
+ },
38314
+ //发送请求
38315
+ sendPost() {
38316
+ checkVersion(this.businessSource).then(res => {
38317
+ console.log(res);
38318
+ if (res.errCode === '403') {
38319
+ this.$message.warning(res.errMessage);
38320
+ } else {
38321
+ this.postQuestion();
38322
+ }
38323
+ });
38324
+ },
38325
+ postQuestion() {
38326
+ this.rebuildFlag = true;
38327
+ this.generateCount = 0;
38328
+ this.aiResponse = {};
38343
38329
  this.isGenerating = true;
38330
+
38331
+ // 初始化题型生成计数器
38332
+ this.typeGeneratedCounts = {};
38333
+ this.pendingGenerations = [];
38344
38334
  const selectedTypes = Object.keys(this.form.selectedTypes).filter(key => this.form.selectedTypes[key]);
38345
- const questionTypes = selectedTypes;
38346
- const difficultys = selectedTypes.map(type => this.form.typeDifficulties[type]);
38335
+
38336
+ // 初始化每个题型的计数器和待生成队列
38337
+ selectedTypes.forEach(type => {
38338
+ this.typeGeneratedCounts[type] = 0;
38339
+ const count = this.form.typeCounts[type] || 1;
38340
+
38341
+ // 将每个需要生成的题目加入队列
38342
+ for (let i = 0; i < count; i++) {
38343
+ this.pendingGenerations.push({
38344
+ type: type,
38345
+ difficulty: this.form.typeDifficulties[type],
38346
+ index: i
38347
+ });
38348
+ }
38349
+ });
38350
+
38351
+ // 开始生成题目
38352
+ this.pendingGenerations.forEach(item => {
38353
+ this.generateSingleQuestion(item.type, item.difficulty);
38354
+ });
38355
+ },
38356
+ // 生成单个题目的方法
38357
+ generateSingleQuestion(questionType, difficulty) {
38347
38358
  let obj = {
38348
38359
  modelType: 'aliyun',
38349
38360
  questionAddCmd: {
38350
- questionTypes: questionTypes,
38361
+ questionTypes: [questionType],
38362
+ // 指定单个题型
38351
38363
  count: 1,
38352
38364
  knowledge: this.form.knowledge.join(' '),
38353
38365
  knowledgeId: this.form.knowledgeId[this.form.knowledgeId.length - 1],
38354
- difficultys: difficultys,
38366
+ difficultys: [difficulty],
38355
38367
  prompt: this.form.prompt
38356
38368
  },
38357
38369
  sessionId: this.aiResponse.sessionId ? this.aiResponse.sessionId : '',
@@ -38360,15 +38372,22 @@ const createBurial = data => {
38360
38372
  };
38361
38373
  getAiQuestion(obj).then(res => {
38362
38374
  if (res.success) {
38363
- this.loading && this.loading.close();
38364
38375
  if (res.data && res.data.questions && res.data.questions.length > 0) {
38365
38376
  const newQuestion = res.data.questions[0];
38366
- const questionType = newQuestion.type;
38377
+
38367
38378
  // 检查是否有重复的题目标题和题型
38368
38379
  const isDuplicate = this.checkDuplicateQuestion(newQuestion, questionType);
38369
38380
  if (isDuplicate) {
38381
+ // 重复题目,重新生成
38370
38382
  const repetitionQuestions = this.getGeneratedQuestionsByType(questionType);
38371
- this.regenerateWithRepetitionForReSend(obj, repetitionQuestions, questionType);
38383
+ this.regenerateWithRepetition(obj, repetitionQuestions, questionType);
38384
+ return;
38385
+ }
38386
+
38387
+ // 验证返回的题目类型是否正确
38388
+ if (newQuestion.type && newQuestion.type !== questionType) {
38389
+ console.log(`期望题型: ${questionType}, 实际题型: ${newQuestion.type}, 重新生成`);
38390
+ this.generateSingleQuestion(questionType, difficulty);
38372
38391
  return;
38373
38392
  }
38374
38393
  if (this.aiResponse.questions && this.aiResponse.questions.length > 0) {
@@ -38379,10 +38398,14 @@ const createBurial = data => {
38379
38398
  this.$set(newQuestion, 'evaluate', 0);
38380
38399
  // 设置题目类型,便于后续统计
38381
38400
  this.$set(newQuestion, 'type', questionType);
38401
+
38402
+ // 更新该题型的生成计数
38403
+ this.typeGeneratedCounts[questionType]++;
38382
38404
  this.showGenerateResult();
38383
38405
  } else {
38384
38406
  this.$message.warning('题目获取失败,重新生成中...');
38385
- return this.reSend();
38407
+ // 重新生成指定题型
38408
+ this.generateSingleQuestion(questionType, difficulty);
38386
38409
  }
38387
38410
  } else {
38388
38411
  this.isGenerating = false;
@@ -38396,87 +38419,6 @@ const createBurial = data => {
38396
38419
  this.rebuildFlag = false;
38397
38420
  });
38398
38421
  },
38399
- //发送请求
38400
- sendPost() {
38401
- checkVersion(this.businessSource).then(res => {
38402
- console.log(res);
38403
- if (res.errCode === '403') {
38404
- this.$message.warning(res.errMessage);
38405
- } else {
38406
- this.postQuestion();
38407
- }
38408
- });
38409
- },
38410
- postQuestion() {
38411
- this.rebuildFlag = true;
38412
- this.generateCount = 0;
38413
- this.aiResponse = {};
38414
- this.isGenerating = true;
38415
- const selectedTypes = Object.keys(this.form.selectedTypes).filter(key => this.form.selectedTypes[key]);
38416
-
38417
- // 按题型分别生成题目
38418
- selectedTypes.forEach(type => {
38419
- const count = this.form.typeCounts[type] || 1;
38420
- const difficulty = this.form.typeDifficulties[type];
38421
-
38422
- // 为每种题型生成指定数量的题目
38423
- for (let i = 0; i < count; i++) {
38424
- let obj = {
38425
- modelType: 'aliyun',
38426
- questionAddCmd: {
38427
- questionTypes: [type],
38428
- // 单个题型
38429
- count: 1,
38430
- knowledge: this.form.knowledge.join(' '),
38431
- knowledgeId: this.form.knowledgeId[this.form.knowledgeId.length - 1],
38432
- difficultys: [difficulty],
38433
- // 对应的难度
38434
- prompt: this.form.prompt
38435
- },
38436
- sessionId: this.aiResponse.sessionId ? this.aiResponse.sessionId : '',
38437
- businessSource: this.businessSource,
38438
- courseId: this.courseId
38439
- };
38440
- getAiQuestion(obj).then(res => {
38441
- if (res.success) {
38442
- if (res.data && res.data.questions && res.data.questions.length > 0) {
38443
- const newQuestion = res.data.questions[0];
38444
-
38445
- // 检查是否有重复的题目标题和题型
38446
- const isDuplicate = this.checkDuplicateQuestion(newQuestion, type);
38447
- if (isDuplicate) {
38448
- // 只传递当前题型
38449
- const repetitionQuestions = this.getGeneratedQuestionsByType(type);
38450
- this.regenerateWithRepetition(obj, repetitionQuestions, type);
38451
- return;
38452
- }
38453
- if (this.aiResponse.questions && this.aiResponse.questions.length > 0) {
38454
- this.aiResponse.questions.push(newQuestion);
38455
- } else {
38456
- this.aiResponse = res.data;
38457
- }
38458
- this.$set(newQuestion, 'evaluate', 0);
38459
- // 设置题目类型,便于后续统计
38460
- this.$set(newQuestion, 'type', type);
38461
- this.showGenerateResult();
38462
- } else {
38463
- this.$message.warning('题目获取失败,重新生成中...');
38464
- return this.reSend();
38465
- }
38466
- } else {
38467
- this.isGenerating = false;
38468
- this.$message.warning('题目获取失败');
38469
- this.rebuildFlag = false;
38470
- }
38471
- }).catch(error => {
38472
- console.log("error:" + error);
38473
- this.isGenerating = false;
38474
- this.$message.warning('题目获取失败');
38475
- this.rebuildFlag = false;
38476
- });
38477
- }
38478
- });
38479
- },
38480
38422
  //获取知识点名称
38481
38423
  getKnowledgeName(e, array) {
38482
38424
  array.forEach(item => {
@@ -38663,6 +38605,12 @@ const createBurial = data => {
38663
38605
  this.$set(newQuestion, 'evaluate', 0);
38664
38606
  // 设置题目类型,便于后续统计
38665
38607
  this.$set(newQuestion, 'type', questionType);
38608
+
38609
+ // 更新该题型的生成计数
38610
+ if (!this.typeGeneratedCounts[questionType]) {
38611
+ this.typeGeneratedCounts[questionType] = 0;
38612
+ }
38613
+ this.typeGeneratedCounts[questionType]++;
38666
38614
  this.showGenerateResult();
38667
38615
  } else {
38668
38616
  this.$message.warning('重新生成题目失败');
@@ -38733,13 +38681,13 @@ const createBurial = data => {
38733
38681
  });
38734
38682
  ;// CONCATENATED MODULE: ./components/demo/src/main.vue?vue&type=script&lang=js
38735
38683
  /* harmony default export */ var src_mainvue_type_script_lang_js = (mainvue_type_script_lang_js);
38736
- // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.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
38737
- var mainvue_type_style_index_0_id_58718089_prod_lang_scss_scoped_true = __webpack_require__(565);
38738
- ;// CONCATENATED MODULE: ./components/demo/src/main.vue?vue&type=style&index=0&id=58718089&prod&lang=scss&scoped=true
38684
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.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
38685
+ var mainvue_type_style_index_0_id_c5ff5afa_prod_lang_scss_scoped_true = __webpack_require__(3956);
38686
+ ;// CONCATENATED MODULE: ./components/demo/src/main.vue?vue&type=style&index=0&id=c5ff5afa&prod&lang=scss&scoped=true
38739
38687
 
38740
- // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.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
38741
- var mainvue_type_style_index_1_id_58718089_prod_lang_scss = __webpack_require__(1593);
38742
- ;// CONCATENATED MODULE: ./components/demo/src/main.vue?vue&type=style&index=1&id=58718089&prod&lang=scss
38688
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.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
38689
+ var mainvue_type_style_index_1_id_c5ff5afa_prod_lang_scss = __webpack_require__(7836);
38690
+ ;// CONCATENATED MODULE: ./components/demo/src/main.vue?vue&type=style&index=1&id=c5ff5afa&prod&lang=scss
38743
38691
 
38744
38692
  ;// CONCATENATED MODULE: ./components/demo/src/main.vue
38745
38693
 
@@ -38757,7 +38705,7 @@ var main_component = normalizeComponent(
38757
38705
  staticRenderFns,
38758
38706
  false,
38759
38707
  null,
38760
- "58718089",
38708
+ "c5ff5afa",
38761
38709
  null
38762
38710
 
38763
38711
  )