ai-question-pro 0.0.21 → 0.0.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/demo/src/main.vue +340 -125
- package/components/demo/src/questionItem.vue +8 -8
- package/dist/ai-question-pro.common.js +296 -263
- package/dist/ai-question-pro.common.js.map +1 -1
- package/dist/ai-question-pro.umd.js +296 -263
- package/dist/ai-question-pro.umd.js.map +1 -1
- package/dist/ai-question-pro.umd.min.js +4 -4
- package/dist/ai-question-pro.umd.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -1487,7 +1487,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".tree-select__option.el-select-dropdow
|
|
|
1487
1487
|
|
|
1488
1488
|
/***/ }),
|
|
1489
1489
|
|
|
1490
|
-
/***/
|
|
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-598246f8]{display:inline-block;font-family:Microsoft YaHei,微软雅黑,sans-serif}.ai_contain[data-v-598246f8] .el-drawer.rtl{border-radius:15px 0 0 15px;width:720px!important}.ai_contain[data-v-598246f8] .el-icon-close:before{color:#0e0e0e;font-weight:700;font-size:24px}.ai_contain[data-v-598246f8] .el-drawer__header{padding-top:0;height:64px;background:linear-gradient(180deg,hsla(0,0%,100%,0),#fff),linear-gradient(90deg,#bcb9f4,#d5c6f8,#e6c6f9);margin-bottom:0}.ai_contain[data-v-598246f8] .el-drawer__body{padding:0 30px;display:flex;flex-direction:column;justify-content:space-between}.ai_contain[data-v-598246f8] .el-checkbox__inner{width:20px;height:20px;border-radius:4px}.ai_contain[data-v-598246f8] .el-checkbox__input.is-checked .el-checkbox__inner{background-color:#7c4dff;border-color:#7c4dff}.ai_contain[data-v-598246f8] .el-checkbox__inner:after{width:4px;height:9px;border:3px solid #fff;border-left:0;border-top:0;left:6px;top:2px}.ai_contain[data-v-598246f8] .el-slider__runway{height:6px;background-color:#e5e5e5;border-radius:3px}.ai_contain[data-v-598246f8] .el-slider__button{width:20px;height:20px;border:1px solid #7c4dff;background-color:#7c4dff}.ai_contain[data-v-598246f8] .el-slider__bar{background-color:#7c4dff}.ai_contain[data-v-598246f8] .el-input__inner{border-radius:12px;height:48px;border:1px solid #e0e0e0}.ai_contain[data-v-598246f8] .el-textarea__inner{border-radius:16px;border:1px solid #e0e0e0;font-family:Microsoft YaHei,微软雅黑,sans-serif}.ai_contain[data-v-598246f8] .el-loading-mask{border-radius:8px}.ai_contain .ai_button[data-v-598246f8]{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;padding:9px 6px;position:relative;color:#fff;background-color:#456bea;border-radius:4px;border:1px solid #456bea}.ai_contain .add_question_title[data-v-598246f8]{display:flex;align-items:center;font-size:18px;color:#333;font-weight:700;gap:7px}.ai_contain .add_question_body .question-type-header[data-v-598246f8]{margin-bottom:20px}.ai_contain .add_question_body .question-type-header .required-mark[data-v-598246f8]{color:#f45;margin-right:4px}.ai_contain .add_question_body .question-type-header .section-title[data-v-598246f8]{font-size:14px;color:#303040}.ai_contain .add_question_body .question-type-header .tip-text[data-v-598246f8]{font-size:12px;color:#999;margin-left:20px}.ai_contain .add_question_body .question-type-list[data-v-598246f8]{margin-bottom:30px}.ai_contain .add_question_body .question-type-list .question-type-item[data-v-598246f8]{display:flex;align-items:center;padding:5px 10px;margin-bottom:12px;transition:all .3s ease}.ai_contain .add_question_body .question-type-list .question-type-item .type-left[data-v-598246f8]{display:flex;align-items:center}.ai_contain .add_question_body .question-type-list .question-type-item .type-left .type-checkbox[data-v-598246f8]{margin-right:12px}.ai_contain .add_question_body .question-type-list .question-type-item .type-left .type-name[data-v-598246f8]{font-size:14px;font-weight:700;border-radius:54px;color:#fff;height:40px;width:80px;display:flex;align-items:center;justify-content:center}.ai_contain .add_question_body .question-type-list .question-type-item .type-left .type-name.type-single[data-v-598246f8]{background:rgba(128,96,240,.161);color:#6040f0}.ai_contain .add_question_body .question-type-list .question-type-item .type-left .type-name.type-multiple[data-v-598246f8]{background:rgba(0,144,240,.161);color:#0090ff}.ai_contain .add_question_body .question-type-list .question-type-item .type-left .type-name.type-gapfilling[data-v-598246f8]{background:rgba(96,192,144,.161);color:#60c090}.ai_contain .add_question_body .question-type-list .question-type-item .type-left .type-name.type-judge[data-v-598246f8]{background:rgba(240,160,0,.161);color:#f0a000}.ai_contain .add_question_body .question-type-list .question-type-item .type-left .type-name.type-shortanswer[data-v-598246f8]{background:rgba(224,96,192,.161);color:#e060c0}.ai_contain .add_question_body .question-type-list .question-type-item .type-right[data-v-598246f8]{display:flex;align-items:center;gap:20px}.ai_contain .add_question_body .question-type-list .question-type-item .type-right .count-input[data-v-598246f8]{width:160px;margin-left:20px}.ai_contain .add_question_body .question-type-list .question-type-item .type-right .count-input[data-v-598246f8] .el-input__inner{height:42px;border-radius:56px;text-align:center;font-size:12px}.ai_contain .add_question_body .question-type-list .question-type-item .type-right .slider-container[data-v-598246f8]{width:240px;margin-left:10px}.ai_contain .add_question_body .question-type-list .question-type-item .type-right .slider-container.disabled[data-v-598246f8] .el-slider__button{background-color:#fff;border:1px solid #797979}.ai_contain .add_question_body .question-type-list .question-type-item .type-right .difficulty-label[data-v-598246f8]{font-size:14px;color:#6040e0;min-width:80px;font-weight:700}.ai_contain .add_question_body .question-type-list .question-type-item .type-right .difficulty-label.disabled[data-v-598246f8]{color:#ccc}.ai_contain .add_question_body .question-type-list .question-type-item .type-right .placeholder-text[data-v-598246f8]{font-size:12px;color:#dddde0;width:160px;border:1px solid #dddde0;border-radius:56px;height:40px;text-align:center;margin-left:20px;display:flex;align-items:center;justify-content:center}.ai_contain .add_question_body .knowledge-section[data-v-598246f8],.ai_contain .add_question_body .prompt-section[data-v-598246f8]{margin-bottom:24px}.ai_contain .add_question_body .knowledge-section .section-header[data-v-598246f8],.ai_contain .add_question_body .prompt-section .section-header[data-v-598246f8]{margin-bottom:12px}.ai_contain .add_question_body .knowledge-section .section-header .required-mark[data-v-598246f8],.ai_contain .add_question_body .prompt-section .section-header .required-mark[data-v-598246f8]{color:#f45;margin-right:4px}.ai_contain .add_question_body .knowledge-section .section-header .section-title[data-v-598246f8],.ai_contain .add_question_body .prompt-section .section-header .section-title[data-v-598246f8]{font-size:14px;color:#303040}.ai_contain .add_question_body .knowledge-section .section-header .tip-text[data-v-598246f8],.ai_contain .add_question_body .prompt-section .section-header .tip-text[data-v-598246f8]{font-size:12px;color:#999;margin-left:20px}.ai_contain .add_question_body .knowledge-section .knowledge-input[data-v-598246f8],.ai_contain .add_question_body .prompt-section .knowledge-input[data-v-598246f8]{position:relative}.ai_contain .add_question_body .knowledge-section .knowledge-input .knowledge-icon[data-v-598246f8],.ai_contain .add_question_body .prompt-section .knowledge-input .knowledge-icon[data-v-598246f8]{position:absolute;right:12px;top:50%;transform:translateY(-50%);color:#999;font-size:16px;width:24px;height:24px}.ai_contain .add_question_body .prompt-textarea .el-textarea__inner[data-v-598246f8]{min-height:120px!important;font-family:Microsoft YaHei,微软雅黑,sans-serif}.ai_contain .add_question_footer[data-v-598246f8]{padding-bottom:30px;display:flex;justify-content:center;align-items:center;gap:30px}.ai_contain .add_question_footer .button-handle[data-v-598246f8]{width:168px;height:48px;font-size:14px;border-radius:25px;border:none;color:#fff;cursor:pointer;transition:all .3s ease}.ai_contain .add_question_footer .button-handle[data-v-598246f8]:hover{transform:translateY(-1px);box-shadow:0 4px 12px rgba(0,0,0,.15)}.ai_contain .add_question_footer .button-generate-question[data-v-598246f8]{background:linear-gradient(180deg,#7050d0 0,#2828e0);width:280px;display:flex;justify-content:center;align-items:center;gap:10px}.ai_contain .add_question_footer .button-cancel[data-v-598246f8]{border:1px solid #7050d0;background:transparent;color:#3030c0}.ai_contain .ai-bot-switch[data-v-598246f8]{display:flex;align-items:center;background:transparent;justify-content:center;border-radius:49px;-webkit-user-select:none;-moz-user-select:none;user-select:none;height:40px;width:144px;cursor:pointer;z-index:2;border:1px solid rgba(96,64,224,.639);font-size:12px;color:#182028}.ai_contain .ai-bot-label[data-v-598246f8]{font-weight:500;margin-right:2px;margin-left:5px;width:72px}.ai_contain .ai-bot-dropdown[data-v-598246f8]{background:#fff;border-radius:8px;box-shadow:0 2px 8px rgba(0,0,0,.08);border:1px solid #e0e0ff;padding:4px 0}.ai_contain .ai-bot-dropdown-item[data-v-598246f8]{padding:8px 20px;cursor:pointer;font-size:14px;color:#333;transition:background .2s}.ai_contain .ai-bot-dropdown-item.active[data-v-598246f8],.ai_contain .ai-bot-dropdown-item[data-v-598246f8]:hover{background:#f0f2f8;color:#3830e0}.ai_contain .question-result-drawer[data-v-598246f8] .el-drawer__body{padding:0;height:100%;display:flex;flex-direction:column}.ai_contain .question-result-drawer .drawer_content_wrapper[data-v-598246f8]{display:flex;flex-direction:column;height:100%;padding:0 20px}.ai_contain .question-result-drawer .question_summary_warp[data-v-598246f8]{display:flex;justify-content:space-between;margin-bottom:20px}.ai_contain .question-result-drawer .question_summary_warp .question_summary .summary_text[data-v-598246f8]{color:#6040e0;font-size:14px;font-weight:700}.ai_contain .question-result-drawer .question_summary_warp .question_summary .question_types_summary .type_item[data-v-598246f8]{font-size:12px;color:rgba(24,32,40,.639)}.ai_contain .question-result-drawer .question_summary_warp .question_summary_button[data-v-598246f8]{display:flex;gap:15px;margin-right:15px}.ai_contain .question-result-drawer .question_summary_warp .question_summary_button .button-handle[data-v-598246f8]{width:96px;height:40px;font-size:14px;border-radius:25px;border:none;color:#fff;cursor:pointer;transition:all .3s ease}.ai_contain .question-result-drawer .question_summary_warp .question_summary_button .button-generate-question[data-v-598246f8]{background:linear-gradient(180deg,#7050d0 0,#2828e0);display:flex;justify-content:center;align-items:center;gap:10px}.ai_contain .question-result-drawer .question_summary_warp .question_summary_button .button-cancel[data-v-598246f8]{border:1px solid #7050d0;background:transparent;color:#3030c0}.ai_contain .question-result-drawer .question_body[data-v-598246f8]{flex:1;overflow-y:auto;padding-right:10px}.ai_contain .question-result-drawer .question_body[data-v-598246f8]::-webkit-scrollbar{width:6px}.ai_contain .question-result-drawer .question_body[data-v-598246f8]::-webkit-scrollbar-track{background:hsla(0,0%,100%,.3);border-radius:3px}.ai_contain .question-result-drawer .question_body[data-v-598246f8]::-webkit-scrollbar-thumb{background:rgba(124,77,255,.3);border-radius:3px}.ai_contain .question-result-drawer .question_body[data-v-598246f8]::-webkit-scrollbar-thumb:hover{background:rgba(124,77,255,.5)}.ai_contain .question-result-drawer .question_footer_fixed[data-v-598246f8]{flex-shrink:0;padding:0 0 10px 0;background:hsla(0,0%,100%,.9);border-top:1px solid hsla(0,0%,100%,.3);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.ai_contain .question-result-drawer .question_footer_fixed .footer_warning[data-v-598246f8]{display:flex;align-items:center;gap:8px}.ai_contain .question-result-drawer .question_footer_fixed .footer_warning .el-icon-info[data-v-598246f8]{width:24px;height:24px;flex-shrink:0}.ai_contain .question-result-drawer .question_footer_fixed .footer_warning .question_remind[data-v-598246f8]{font-size:12px;color:#797979;line-height:1.4}", ""]);
|
|
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
|
-
/***/
|
|
1511
|
+
/***/ 7928:
|
|
1512
1512
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1513
1513
|
|
|
1514
1514
|
"use strict";
|
|
@@ -1529,7 +1529,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".ai-custom-dialog.el-dialog{background
|
|
|
1529
1529
|
|
|
1530
1530
|
/***/ }),
|
|
1531
1531
|
|
|
1532
|
-
/***/
|
|
1532
|
+
/***/ 1758:
|
|
1533
1533
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1534
1534
|
|
|
1535
1535
|
"use strict";
|
|
@@ -1543,7 +1543,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1543
1543
|
|
|
1544
1544
|
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()));
|
|
1545
1545
|
// Module
|
|
1546
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".ai_question_contain[data-v-
|
|
1546
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".ai_question_contain[data-v-cc89a654]{margin-bottom:20px;padding:20px;background:hsla(0,0%,100%,.6);border:1px solid #dadce0;border-radius:24px;font-family:Microsoft YaHei,微软雅黑,sans-serif}.ai_question_contain .question_header[data-v-cc89a654]{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.ai_question_contain .question_header .question_header_left[data-v-cc89a654]{display:flex;align-items:center;gap:12px}.ai_question_contain .question_contain_title[data-v-cc89a654]{margin-bottom:15px;display:flex;justify-content:space-between}.ai_question_contain .question_contain_title .question_contain_title_left[data-v-cc89a654]{color:#333;font-weight:700;font-size:16px;width:100%;line-height:28px}.ai_question_contain .question_contain_title .question_contain_title_left .difficult[data-v-cc89a654]{margin:0 6px;font-weight:700;padding:5px 7px;color:#333;font-size:12px;border-radius:24px;border:1px solid rgba(40,40,224,.478);background:transparent}.ai_question_contain .question_contain_title .question_contain_title_reght[data-v-cc89a654]{display:flex;align-items:center}.ai_question_contain .question_contain_title .question_contain_title_reght img[data-v-cc89a654]{margin:0 5px;cursor:pointer}.ai_question_contain .question_contain_question[data-v-cc89a654]{margin-bottom:16px;font-size:14px;padding-left:5px}.ai_question_contain .question_contain_question div[data-v-cc89a654]{margin:5px 0}.ai_question_contain .question_answer_info[data-v-cc89a654]{border-radius:15px;padding:20px;background-color:rgba(64,48,240,.08)}.ai_question_contain .question_contain_answer[data-v-cc89a654]{margin-bottom:16px;font-size:13px;color:#6040e0;font-weight:700}.ai_question_contain .question_contain_parse[data-v-cc89a654]{margin-bottom:16px;display:flex;justify-content:space-between}.ai_question_contain .question_contain_parse .question_contain_parse_analysis[data-v-cc89a654]{width:100%;font-size:13px;color:#262626}.ai_question_contain .type-name[data-v-cc89a654]{font-size:14px;font-weight:700;border-radius:54px;color:#fff;height:40px;width:72px;display:flex;align-items:center;justify-content:center}.ai_question_contain .type-name.type-single[data-v-cc89a654]{background:rgba(128,96,240,.161);color:#6040f0}.ai_question_contain .type-name.type-multiple[data-v-cc89a654]{background:rgba(0,144,240,.161);color:#0090ff}.ai_question_contain .type-name.type-gapfilling[data-v-cc89a654]{background:rgba(96,192,144,.161);color:#60c090}.ai_question_contain .type-name.type-judge[data-v-cc89a654]{background:rgba(240,160,0,.161);color:#f0a000}.ai_question_contain .type-name.type-shortanswer[data-v-cc89a654]{background:rgba(224,96,192,.161);color:#e060c0}.ai_question_contain .join[data-v-cc89a654]{align-self:self-end;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;font-weight:700;color:#6040e0;font-size:14px;line-height:32px}.ai_question_contain .ai_warning_tip[data-v-cc89a654]{margin-top:16px;padding:12px 16px;background:rgba(124,77,255,.05);border:1px solid rgba(124,77,255,.15);border-radius:12px;display:flex;align-items:center;gap:8px}.ai_question_contain .ai_warning_tip .el-icon-info[data-v-cc89a654]{color:#7c4dff;font-size:14px;flex-shrink:0}.ai_question_contain .ai_warning_tip span[data-v-cc89a654]{font-size:12px;color:#666;line-height:1.4}", ""]);
|
|
1547
1547
|
// Exports
|
|
1548
1548
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
1549
1549
|
|
|
@@ -32977,51 +32977,51 @@ var update = add("bf17ce54", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
32977
32977
|
|
|
32978
32978
|
/***/ }),
|
|
32979
32979
|
|
|
32980
|
-
/***/
|
|
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__(
|
|
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("
|
|
32992
|
+
var update = add("6df26b78", content, true, {"sourceMap":false,"shadowMode":false});
|
|
32993
32993
|
|
|
32994
32994
|
/***/ }),
|
|
32995
32995
|
|
|
32996
|
-
/***/
|
|
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__(
|
|
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("
|
|
33008
|
+
var update = add("0c00faae", content, true, {"sourceMap":false,"shadowMode":false});
|
|
33009
33009
|
|
|
33010
33010
|
/***/ }),
|
|
33011
33011
|
|
|
33012
|
-
/***/
|
|
33012
|
+
/***/ 8418:
|
|
33013
33013
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
33014
33014
|
|
|
33015
33015
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
33016
33016
|
|
|
33017
33017
|
// load the styles
|
|
33018
|
-
var content = __webpack_require__(
|
|
33018
|
+
var content = __webpack_require__(1758);
|
|
33019
33019
|
if(content.__esModule) content = content.default;
|
|
33020
33020
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
33021
33021
|
if(content.locals) module.exports = content.locals;
|
|
33022
33022
|
// add the styles to the DOM
|
|
33023
33023
|
var add = (__webpack_require__(258)/* ["default"] */ .A)
|
|
33024
|
-
var update = add("
|
|
33024
|
+
var update = add("715831b4", content, true, {"sourceMap":false,"shadowMode":false});
|
|
33025
33025
|
|
|
33026
33026
|
/***/ }),
|
|
33027
33027
|
|
|
@@ -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/nPYj8A1QDGALgXwJtudDl+qlLU180ATAJwG4BjAPwEwK0AZgIYAmBDB/qY50QArwD4PYAtse7gAP7hq58vBPAEgLv4ujR9HiKk5YE3BvAYgB2L/F8XivIljpBJokQ0FsAdagUTsh8bATgFwEcAjku4/7GTFgEeBGC7Mq/pxFFnPICamPoVRE2zUwGcB6CJxvVqRLwbwMn2uugeaRDgYRzhwtAWwKmcmhsVTHs26QDgUQDbGt5D9Xl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
|
|
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:
|
|
@@ -33333,22 +33317,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAAAoCAYAAABd
|
|
|
33333
33317
|
|
|
33334
33318
|
/***/ }),
|
|
33335
33319
|
|
|
33336
|
-
/***/ 1017:
|
|
33337
|
-
/***/ (function(module) {
|
|
33338
|
-
|
|
33339
|
-
"use strict";
|
|
33340
|
-
module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAASdJREFUOE+lkr1KA0EUhc+d3QxiY6WgTbTZV7CIm9JCEHwHwdZCm+xapMgsWPgEithpZyl2cRZFxCfQLpAujbBgYta9sjtmEfFnmdximIFzPuZyDmHKodzvB6NHglgsWMRL/zAHTAjijjwu5PnRDN9YK1neK3wqEf3+fPdsZWgLAAOrsZIP1gAwtnUkT6cBHOlI7tsDQFda1TbsAYyejmTdGsAMjiMpTA/C8QuBLz7j26kQYy6500o2CsBaa+jBcT3TIzigbIEYAYDlEsZ4yoTYM29OXNe977bJ9OCnabRefUc4N5OyAZTomjuHNmVf9b8CTENH1wCtTwzvaVq/PZztVQb4B+kWcXZZGijzdGfmuTIAYGqG43MGNgk40Urufl/3zxWqpPEBUMWCERMCTlcAAAAASUVORK5CYII=";
|
|
33341
|
-
|
|
33342
|
-
/***/ }),
|
|
33343
|
-
|
|
33344
|
-
/***/ 342:
|
|
33345
|
-
/***/ (function(module) {
|
|
33346
|
-
|
|
33347
|
-
"use strict";
|
|
33348
|
-
module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAXhJREFUOE+lk79Lw0AUx9+71NK5/qAVREToXyAu4qBuUsFZTEoXcycFBRXX+wccBJsmLRTaVCo4OrnpZosOukoXB83iIDiINHmStF20lRq/w/GF4z733r3vIfxT6J8vFKq3jGHS90QwiQjPg7ie5++gFGKzFDh/MU2bOFd/+H6QfL48pSiRB8dxk1JmP/4M6F54R+QJITLNsIAKkXctRKYcCmAY9iEijQuh7YcCFAqVNGNsW9fV1VCAUqk647p4xbk6HQogpWSJxOwn52qkB3gDgLPu2LaI8Igx71zXtUbn1atrAJjujZUIRgEgKYS6EACKxUrKdZVUEAxEhYgmEOmg3SY1l9MapllbASCDCPc6EHqPxdo32Ww3B/0CYxj2ImNw7DituXh8fiQafX1xnNaYlDLIYk9BBYNkmvYlAJ1wrl1Yln0PQGu6rj0NDbAse93zaFcIdck0a02A9gbn2cehAUSElnVaJ/KWAaAuhLbzvdpfWxjmp38BKRvIESbEF9cAAAAASUVORK5CYII=";
|
|
33349
|
-
|
|
33350
|
-
/***/ }),
|
|
33351
|
-
|
|
33352
33320
|
/***/ 1421:
|
|
33353
33321
|
/***/ (function(module) {
|
|
33354
33322
|
|
|
@@ -33357,22 +33325,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABX
|
|
|
33357
33325
|
|
|
33358
33326
|
/***/ }),
|
|
33359
33327
|
|
|
33360
|
-
/***/ 2356:
|
|
33361
|
-
/***/ (function(module) {
|
|
33362
|
-
|
|
33363
|
-
"use strict";
|
|
33364
|
-
module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAASFJREFUOE+l0r1KxEAUBeBzJ+MoNlYK2qw2eQWLNSktBMFnsLC10GaTLbZIAhY+gYJ22lmK3TpREfEJtFvYzkYIuD9xrhhjEIUYslPNMOd+U5whTLiofJ7J9cdnDGwScKxDtfs7Xwo47XSL2FwUQ2RsHcw8/0RKAdcfXgG0/j3wnqaN24PZXiWg2XpzLGFdA8gfoURPyTl0yPwB1loDG5a0Py+IYYHMAjE8AMtFmPFkhNj7OnMipbzvdmiQ6Y4/fiXweR7eqVjMnQ5VMwNcf8Q6VMW+CsAMjiMlJgF6caQatQGAL3U4vVEfYBzqSO3XBgyJ7ZtAntQGGFiNQ/VQF0hEvz/fPV3J/4E3fCSIxaw+4qV/anxhghcH6iiLV+m8LPMBU6CEEQ0lMS4AAAAASUVORK5CYII=";
|
|
33365
|
-
|
|
33366
|
-
/***/ }),
|
|
33367
|
-
|
|
33368
|
-
/***/ 5089:
|
|
33369
|
-
/***/ (function(module) {
|
|
33370
|
-
|
|
33371
|
-
"use strict";
|
|
33372
|
-
module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAWtJREFUOE+l0zFLw0AUAOD3Lm3pXFTagggK/QXiIg7qJi04i4lkMXdSUFBxvT/gILTJBaHSptDB0clJR1t00FW6OGgWF3EQqXlqLCiWFk1vevDufcfjvUMY8uCgeiJC1/UaRLAAAA0hjM3f9wcCrustBwFtCaHPK1VvAXRWODdvfyIDAaW8UwAqcW6cuK53DUAFyzLu/gTYtjfHGBz4fns6lZqJJxKPD77fHpFSBj1AqVTNaZqW+0wgokZEY4i02+mQXiwaTaXqiwBkE+H2VzE9J5OdC9M0X8IWlKo9AWCjK68T4T5jwbFlGc1uvgCA+e+XMUVEWSH02S7gEed6T9xvQlJKlk5PvXKuxyIBtl2ZZCx+xrk+EQlwnHoegDaE0JciAbbt7SHSqBDGTiRAKa8KAOcfLRxFBa6IAiHEWuvfQLlcGde02I3vv2Wk7O6B49QuGcNMuCIEWUS47zfCINxDlEKsHobRkL8Z3gGP/MIR9xXEfwAAAABJRU5ErkJggg==";
|
|
33373
|
-
|
|
33374
|
-
/***/ }),
|
|
33375
|
-
|
|
33376
33328
|
/***/ 9274:
|
|
33377
33329
|
/***/ (function(module) {
|
|
33378
33330
|
|
|
@@ -33522,7 +33474,7 @@ if (typeof window !== 'undefined') {
|
|
|
33522
33474
|
// Indicate to webpack that this file can be concatenated
|
|
33523
33475
|
/* harmony default export */ var setPublicPath = (null);
|
|
33524
33476
|
|
|
33525
|
-
;// 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=
|
|
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
|
|
33526
33478
|
var render = function render() {
|
|
33527
33479
|
var _vm = this,
|
|
33528
33480
|
_c = _vm._self._c;
|
|
@@ -33560,62 +33512,7 @@ var render = function render() {
|
|
|
33560
33512
|
"src": __webpack_require__(5014),
|
|
33561
33513
|
"alt": ""
|
|
33562
33514
|
}
|
|
33563
|
-
}), _c('span', [_vm._v("出题")])]), _c('div', {
|
|
33564
|
-
staticClass: "ai-bot-switch-wrap",
|
|
33565
|
-
staticStyle: {
|
|
33566
|
-
"position": "absolute",
|
|
33567
|
-
"left": "120px"
|
|
33568
|
-
}
|
|
33569
|
-
}, [_c('div', {
|
|
33570
|
-
staticClass: "ai-bot-switch",
|
|
33571
|
-
on: {
|
|
33572
|
-
"click": function ($event) {
|
|
33573
|
-
_vm.dropdownVisible = !_vm.dropdownVisible;
|
|
33574
|
-
}
|
|
33575
|
-
}
|
|
33576
|
-
}, [_c('img', {
|
|
33577
|
-
staticStyle: {
|
|
33578
|
-
"width": "24px",
|
|
33579
|
-
"height": "24px"
|
|
33580
|
-
},
|
|
33581
|
-
attrs: {
|
|
33582
|
-
"src": __webpack_require__(4314),
|
|
33583
|
-
"alt": ""
|
|
33584
|
-
}
|
|
33585
|
-
}), _c('span', {
|
|
33586
|
-
staticClass: "ai-bot-label"
|
|
33587
|
-
}, [_vm._v(" " + _vm._s(_vm.currentBot === 'course' ? '课程智能体' : '通义千问') + " ")]), _c('img', {
|
|
33588
|
-
staticStyle: {
|
|
33589
|
-
"width": "12px",
|
|
33590
|
-
"height": "12px"
|
|
33591
|
-
},
|
|
33592
|
-
attrs: {
|
|
33593
|
-
"src": __webpack_require__(9281),
|
|
33594
|
-
"alt": ""
|
|
33595
|
-
}
|
|
33596
|
-
})]), _vm.dropdownVisible ? _c('div', {
|
|
33597
|
-
staticClass: "ai-bot-dropdown",
|
|
33598
|
-
staticStyle: {
|
|
33599
|
-
"position": "absolute",
|
|
33600
|
-
"z-index": "1000",
|
|
33601
|
-
"min-width": "20%"
|
|
33602
|
-
},
|
|
33603
|
-
on: {
|
|
33604
|
-
"mousedown": function ($event) {
|
|
33605
|
-
$event.preventDefault();
|
|
33606
|
-
}
|
|
33607
|
-
}
|
|
33608
|
-
}, [_c('div', {
|
|
33609
|
-
staticClass: "ai-bot-dropdown-item",
|
|
33610
|
-
class: {
|
|
33611
|
-
active: _vm.currentBot === 'tongyi'
|
|
33612
|
-
},
|
|
33613
|
-
on: {
|
|
33614
|
-
"click": function ($event) {
|
|
33615
|
-
return _vm.selectBot('tongyi');
|
|
33616
|
-
}
|
|
33617
|
-
}
|
|
33618
|
-
}, [_vm._v("通义千问 ")])]) : _vm._e()])]), _c('div', {
|
|
33515
|
+
}), _c('span', [_vm._v("出题")])])]), _c('div', {
|
|
33619
33516
|
staticClass: "add_question_body"
|
|
33620
33517
|
}, [_c('div', {
|
|
33621
33518
|
staticClass: "question-type-header"
|
|
@@ -33625,7 +33522,7 @@ var render = function render() {
|
|
|
33625
33522
|
staticClass: "section-title"
|
|
33626
33523
|
}, [_vm._v("题目类型:")]), _c('span', {
|
|
33627
33524
|
staticClass: "tip-text"
|
|
33628
|
-
}, [_vm._v("(
|
|
33525
|
+
}, [_vm._v("(为避免您等待时间过长,所选择题型数量总和最好不超过10道")])]), _c('div', {
|
|
33629
33526
|
staticClass: "question-type-list"
|
|
33630
33527
|
}, _vm._l(_vm.quesTypeList, function (item, index) {
|
|
33631
33528
|
return _c('div', {
|
|
@@ -33841,7 +33738,15 @@ var render = function render() {
|
|
|
33841
33738
|
}, [_vm._v(" 加入题库 ")])])]), _c('div', {
|
|
33842
33739
|
ref: "generateDiv",
|
|
33843
33740
|
staticClass: "question_body"
|
|
33844
|
-
}, _vm.
|
|
33741
|
+
}, [_vm.isGenerating ? _c('div', {
|
|
33742
|
+
staticClass: "generating-loading"
|
|
33743
|
+
}, [_c('div', {
|
|
33744
|
+
staticClass: "loading-content"
|
|
33745
|
+
}, [_c('div', {
|
|
33746
|
+
staticClass: "loading-spinner"
|
|
33747
|
+
}), _c('div', {
|
|
33748
|
+
staticClass: "loading-text"
|
|
33749
|
+
}, [_vm._v("AI生成中...")])])]) : _vm._e(), _vm._l(_vm.aiResponse.questions, function (item, idx) {
|
|
33845
33750
|
return _vm.aiResponse.questions && _vm.aiResponse.questions.length > 0 ? _c('questionItem', {
|
|
33846
33751
|
key: idx,
|
|
33847
33752
|
ref: `questionItem_${idx}`,
|
|
@@ -33857,7 +33762,7 @@ var render = function render() {
|
|
|
33857
33762
|
"selectionChange": _vm.handleQuestionSelection
|
|
33858
33763
|
}
|
|
33859
33764
|
}) : _vm._e();
|
|
33860
|
-
}),
|
|
33765
|
+
})], 2), _c('div', {
|
|
33861
33766
|
staticClass: "question_footer_fixed"
|
|
33862
33767
|
}, [_c('div', {
|
|
33863
33768
|
staticClass: "footer_warning"
|
|
@@ -33873,10 +33778,10 @@ var render = function render() {
|
|
|
33873
33778
|
};
|
|
33874
33779
|
var staticRenderFns = [];
|
|
33875
33780
|
|
|
33876
|
-
;// CONCATENATED MODULE: ./components/demo/src/main.vue?vue&type=template&id=
|
|
33781
|
+
;// CONCATENATED MODULE: ./components/demo/src/main.vue?vue&type=template&id=c5ff5afa&scoped=true
|
|
33877
33782
|
|
|
33878
|
-
;// 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=
|
|
33879
|
-
var
|
|
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
|
|
33784
|
+
var questionItemvue_type_template_id_cc89a654_scoped_true_render = function render() {
|
|
33880
33785
|
var _vm = this,
|
|
33881
33786
|
_c = _vm._self._c;
|
|
33882
33787
|
return _c('div', {
|
|
@@ -33913,35 +33818,7 @@ var questionItemvue_type_template_id_088e6bea_scoped_true_render = function rend
|
|
|
33913
33818
|
staticClass: "question_contain_title_left"
|
|
33914
33819
|
}, [_c('span', [_vm._v(_vm._s(_vm.index + 1) + ".")]), _c('span', {
|
|
33915
33820
|
staticClass: "difficult"
|
|
33916
|
-
}, [_vm._v(_vm._s(_vm.difficultyList.find(item => item.id == _vm.detail.difficulty).name))]), _c('span', [_vm._v(_vm._s(_vm.detail.title))])]), _c('
|
|
33917
|
-
staticClass: "question_contain_title_reght"
|
|
33918
|
-
}, [_vm.detail.evaluate == 0 || _vm.detail.evaluate == 2 ? _c('img', {
|
|
33919
|
-
attrs: {
|
|
33920
|
-
"src": __webpack_require__(5089)
|
|
33921
|
-
},
|
|
33922
|
-
on: {
|
|
33923
|
-
"click": function ($event) {
|
|
33924
|
-
return _vm.agree(1);
|
|
33925
|
-
}
|
|
33926
|
-
}
|
|
33927
|
-
}) : _vm._e(), _vm.detail.evaluate == 1 ? _c('img', {
|
|
33928
|
-
attrs: {
|
|
33929
|
-
"src": __webpack_require__(2356)
|
|
33930
|
-
}
|
|
33931
|
-
}) : _vm._e(), _vm.detail.evaluate == 0 || _vm.detail.evaluate == 1 ? _c('img', {
|
|
33932
|
-
attrs: {
|
|
33933
|
-
"src": __webpack_require__(342)
|
|
33934
|
-
},
|
|
33935
|
-
on: {
|
|
33936
|
-
"click": function ($event) {
|
|
33937
|
-
return _vm.agree(2);
|
|
33938
|
-
}
|
|
33939
|
-
}
|
|
33940
|
-
}) : _vm._e(), _vm.detail.evaluate == 2 ? _c('img', {
|
|
33941
|
-
attrs: {
|
|
33942
|
-
"src": __webpack_require__(1017)
|
|
33943
|
-
}
|
|
33944
|
-
}) : _vm._e()])]), _vm.detail.type == 'single' || _vm.detail.type == 'multiple' ? _c('div', {
|
|
33821
|
+
}, [_vm._v(_vm._s(_vm.difficultyList.find(item => item.id == _vm.detail.difficulty).name))]), _c('span', [_vm._v(_vm._s(_vm.detail.title))])])]), _vm.detail.type == 'single' || _vm.detail.type == 'multiple' ? _c('div', {
|
|
33945
33822
|
staticClass: "question_contain_question"
|
|
33946
33823
|
}, _vm._l(_vm.detail.options, function (item, idx) {
|
|
33947
33824
|
return _c('div', {
|
|
@@ -33965,9 +33842,7 @@ var questionItemvue_type_template_id_088e6bea_scoped_true_render = function rend
|
|
|
33965
33842
|
}
|
|
33966
33843
|
}, [_vm._v("题目解析:")]), _vm._v(" " + _vm._s(_vm.detail.analysis))])])])]);
|
|
33967
33844
|
};
|
|
33968
|
-
var
|
|
33969
|
-
|
|
33970
|
-
;// CONCATENATED MODULE: ./components/demo/src/questionItem.vue?vue&type=template&id=088e6bea&scoped=true
|
|
33845
|
+
var questionItemvue_type_template_id_cc89a654_scoped_true_staticRenderFns = [];
|
|
33971
33846
|
|
|
33972
33847
|
;// 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/index.js??vue-loader-options!./components/demo/src/questionItem.vue?vue&type=script&lang=js
|
|
33973
33848
|
/* harmony default export */ var questionItemvue_type_script_lang_js = ({
|
|
@@ -34086,9 +33961,9 @@ var questionItemvue_type_template_id_088e6bea_scoped_true_staticRenderFns = [];
|
|
|
34086
33961
|
});
|
|
34087
33962
|
;// CONCATENATED MODULE: ./components/demo/src/questionItem.vue?vue&type=script&lang=js
|
|
34088
33963
|
/* harmony default export */ var src_questionItemvue_type_script_lang_js = (questionItemvue_type_script_lang_js);
|
|
34089
|
-
// 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/questionItem.vue?vue&type=style&index=0&id=
|
|
34090
|
-
var
|
|
34091
|
-
;// CONCATENATED MODULE: ./components/demo/src/questionItem.vue?vue&type=style&index=0&id=
|
|
33964
|
+
// 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/questionItem.vue?vue&type=style&index=0&id=cc89a654&prod&lang=scss&scoped=true
|
|
33965
|
+
var questionItemvue_type_style_index_0_id_cc89a654_prod_lang_scss_scoped_true = __webpack_require__(8418);
|
|
33966
|
+
;// CONCATENATED MODULE: ./components/demo/src/questionItem.vue?vue&type=style&index=0&id=cc89a654&prod&lang=scss&scoped=true
|
|
34092
33967
|
|
|
34093
33968
|
;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
34094
33969
|
/* globals __VUE_SSR_CONTEXT__ */
|
|
@@ -34199,11 +34074,11 @@ function normalizeComponent(
|
|
|
34199
34074
|
|
|
34200
34075
|
var component = normalizeComponent(
|
|
34201
34076
|
src_questionItemvue_type_script_lang_js,
|
|
34202
|
-
|
|
34203
|
-
|
|
34077
|
+
questionItemvue_type_template_id_cc89a654_scoped_true_render,
|
|
34078
|
+
questionItemvue_type_template_id_cc89a654_scoped_true_staticRenderFns,
|
|
34204
34079
|
false,
|
|
34205
34080
|
null,
|
|
34206
|
-
"
|
|
34081
|
+
"cc89a654",
|
|
34207
34082
|
null
|
|
34208
34083
|
|
|
34209
34084
|
)
|
|
@@ -38186,7 +38061,7 @@ const createBurial = data => {
|
|
|
38186
38061
|
id: 'shortanswer'
|
|
38187
38062
|
}],
|
|
38188
38063
|
difficultyList: [{
|
|
38189
|
-
name: '
|
|
38064
|
+
name: '非常简单',
|
|
38190
38065
|
id: 0
|
|
38191
38066
|
}, {
|
|
38192
38067
|
name: '简单',
|
|
@@ -38208,7 +38083,15 @@ const createBurial = data => {
|
|
|
38208
38083
|
currentBot: 'tongyi',
|
|
38209
38084
|
selectedQuestions: [],
|
|
38210
38085
|
// 存储选中的题目
|
|
38211
|
-
joinedQuestions: []
|
|
38086
|
+
joinedQuestions: [],
|
|
38087
|
+
// 存储已加入题库的题目索引
|
|
38088
|
+
retryCountMap: {},
|
|
38089
|
+
// 存储每个题目的重试次数
|
|
38090
|
+
isGenerating: false,
|
|
38091
|
+
// 内部loading状态
|
|
38092
|
+
typeGeneratedCounts: {},
|
|
38093
|
+
// 跟踪每个题型已生成的数量
|
|
38094
|
+
pendingGenerations: [] // 待生成的题目队列
|
|
38212
38095
|
};
|
|
38213
38096
|
},
|
|
38214
38097
|
watch: {
|
|
@@ -38341,6 +38224,15 @@ const createBurial = data => {
|
|
|
38341
38224
|
return this.$message.warning('请至少选择一种题目类型');
|
|
38342
38225
|
}
|
|
38343
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
|
+
|
|
38344
38236
|
// 验证是否选择了知识点
|
|
38345
38237
|
if (!this.form.knowledgeIds) {
|
|
38346
38238
|
return this.$message.warning('请选择关联知识点');
|
|
@@ -38380,6 +38272,7 @@ const createBurial = data => {
|
|
|
38380
38272
|
if (this.generateCount == totalCount) {
|
|
38381
38273
|
this.$message.success('题目(' + totalCount + '道)全部生成完毕!');
|
|
38382
38274
|
this.rebuildFlag = false;
|
|
38275
|
+
this.isGenerating = false;
|
|
38383
38276
|
} else {
|
|
38384
38277
|
this.$message.success('生成' + this.generateCount + '道题目成功');
|
|
38385
38278
|
}
|
|
@@ -38388,23 +38281,89 @@ const createBurial = data => {
|
|
|
38388
38281
|
generateDiv.scrollTop = generateDiv.scrollHeight;
|
|
38389
38282
|
});
|
|
38390
38283
|
},
|
|
38391
|
-
|
|
38392
|
-
|
|
38393
|
-
this.
|
|
38394
|
-
|
|
38395
|
-
|
|
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
|
+
}
|
|
38396
38323
|
});
|
|
38324
|
+
},
|
|
38325
|
+
postQuestion() {
|
|
38326
|
+
this.rebuildFlag = true;
|
|
38327
|
+
this.generateCount = 0;
|
|
38328
|
+
this.aiResponse = {};
|
|
38329
|
+
this.isGenerating = true;
|
|
38330
|
+
|
|
38331
|
+
// 初始化题型生成计数器
|
|
38332
|
+
this.typeGeneratedCounts = {};
|
|
38333
|
+
this.pendingGenerations = [];
|
|
38397
38334
|
const selectedTypes = Object.keys(this.form.selectedTypes).filter(key => this.form.selectedTypes[key]);
|
|
38398
|
-
|
|
38399
|
-
|
|
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) {
|
|
38400
38358
|
let obj = {
|
|
38401
38359
|
modelType: 'aliyun',
|
|
38402
38360
|
questionAddCmd: {
|
|
38403
|
-
questionTypes:
|
|
38361
|
+
questionTypes: [questionType],
|
|
38362
|
+
// 指定单个题型
|
|
38404
38363
|
count: 1,
|
|
38405
38364
|
knowledge: this.form.knowledge.join(' '),
|
|
38406
38365
|
knowledgeId: this.form.knowledgeId[this.form.knowledgeId.length - 1],
|
|
38407
|
-
difficultys:
|
|
38366
|
+
difficultys: [difficulty],
|
|
38408
38367
|
prompt: this.form.prompt
|
|
38409
38368
|
},
|
|
38410
38369
|
sessionId: this.aiResponse.sessionId ? this.aiResponse.sessionId : '',
|
|
@@ -38413,107 +38372,53 @@ const createBurial = data => {
|
|
|
38413
38372
|
};
|
|
38414
38373
|
getAiQuestion(obj).then(res => {
|
|
38415
38374
|
if (res.success) {
|
|
38416
|
-
this.loading && this.loading.close();
|
|
38417
38375
|
if (res.data && res.data.questions && res.data.questions.length > 0) {
|
|
38376
|
+
const newQuestion = res.data.questions[0];
|
|
38377
|
+
|
|
38378
|
+
// 检查是否有重复的题目标题和题型
|
|
38379
|
+
const isDuplicate = this.checkDuplicateQuestion(newQuestion, questionType);
|
|
38380
|
+
if (isDuplicate) {
|
|
38381
|
+
// 重复题目,重新生成
|
|
38382
|
+
const repetitionQuestions = this.getGeneratedQuestionsByType(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);
|
|
38391
|
+
return;
|
|
38392
|
+
}
|
|
38418
38393
|
if (this.aiResponse.questions && this.aiResponse.questions.length > 0) {
|
|
38419
|
-
this.aiResponse.questions.push(
|
|
38394
|
+
this.aiResponse.questions.push(newQuestion);
|
|
38420
38395
|
} else {
|
|
38421
38396
|
this.aiResponse = res.data;
|
|
38422
38397
|
}
|
|
38423
|
-
this.$set(
|
|
38398
|
+
this.$set(newQuestion, 'evaluate', 0);
|
|
38399
|
+
// 设置题目类型,便于后续统计
|
|
38400
|
+
this.$set(newQuestion, 'type', questionType);
|
|
38401
|
+
|
|
38402
|
+
// 更新该题型的生成计数
|
|
38403
|
+
this.typeGeneratedCounts[questionType]++;
|
|
38424
38404
|
this.showGenerateResult();
|
|
38425
38405
|
} else {
|
|
38426
38406
|
this.$message.warning('题目获取失败,重新生成中...');
|
|
38427
|
-
|
|
38407
|
+
// 重新生成指定题型
|
|
38408
|
+
this.generateSingleQuestion(questionType, difficulty);
|
|
38428
38409
|
}
|
|
38429
38410
|
} else {
|
|
38430
|
-
this.
|
|
38411
|
+
this.isGenerating = false;
|
|
38431
38412
|
this.$message.warning('题目获取失败');
|
|
38432
38413
|
this.rebuildFlag = false;
|
|
38433
38414
|
}
|
|
38434
38415
|
}).catch(error => {
|
|
38435
38416
|
console.log("error:" + error);
|
|
38436
|
-
this.
|
|
38417
|
+
this.isGenerating = false;
|
|
38437
38418
|
this.$message.warning('题目获取失败');
|
|
38438
38419
|
this.rebuildFlag = false;
|
|
38439
38420
|
});
|
|
38440
38421
|
},
|
|
38441
|
-
//发送请求
|
|
38442
|
-
sendPost() {
|
|
38443
|
-
checkVersion(this.businessSource).then(res => {
|
|
38444
|
-
console.log(res);
|
|
38445
|
-
if (res.errCode === '403') {
|
|
38446
|
-
this.$message.warning(res.errMessage);
|
|
38447
|
-
} else {
|
|
38448
|
-
this.postQuestion();
|
|
38449
|
-
}
|
|
38450
|
-
});
|
|
38451
|
-
},
|
|
38452
|
-
postQuestion() {
|
|
38453
|
-
this.rebuildFlag = true;
|
|
38454
|
-
this.generateCount = 0;
|
|
38455
|
-
this.aiResponse = {};
|
|
38456
|
-
this.loading && this.loading.close();
|
|
38457
|
-
this.loading = this.$loading({
|
|
38458
|
-
target: '.el-dialog',
|
|
38459
|
-
text: 'AI生成中...'
|
|
38460
|
-
});
|
|
38461
|
-
const selectedTypes = Object.keys(this.form.selectedTypes).filter(key => this.form.selectedTypes[key]);
|
|
38462
|
-
|
|
38463
|
-
// 按题型分别生成题目
|
|
38464
|
-
selectedTypes.forEach(type => {
|
|
38465
|
-
const count = this.form.typeCounts[type] || 1;
|
|
38466
|
-
const difficulty = this.form.typeDifficulties[type];
|
|
38467
|
-
|
|
38468
|
-
// 为每种题型生成指定数量的题目
|
|
38469
|
-
for (let i = 0; i < count; i++) {
|
|
38470
|
-
let obj = {
|
|
38471
|
-
modelType: 'aliyun',
|
|
38472
|
-
questionAddCmd: {
|
|
38473
|
-
questionTypes: [type],
|
|
38474
|
-
// 单个题型
|
|
38475
|
-
count: 1,
|
|
38476
|
-
knowledge: this.form.knowledge.join(' '),
|
|
38477
|
-
knowledgeId: this.form.knowledgeId[this.form.knowledgeId.length - 1],
|
|
38478
|
-
difficultys: [difficulty],
|
|
38479
|
-
// 对应的难度
|
|
38480
|
-
prompt: this.form.prompt
|
|
38481
|
-
},
|
|
38482
|
-
sessionId: this.aiResponse.sessionId ? this.aiResponse.sessionId : '',
|
|
38483
|
-
businessSource: this.businessSource,
|
|
38484
|
-
courseId: this.courseId
|
|
38485
|
-
};
|
|
38486
|
-
getAiQuestion(obj).then(res => {
|
|
38487
|
-
if (res.success) {
|
|
38488
|
-
this.loading && this.loading.close();
|
|
38489
|
-
if (res.data && res.data.questions && res.data.questions.length > 0) {
|
|
38490
|
-
if (this.aiResponse.questions && this.aiResponse.questions.length > 0) {
|
|
38491
|
-
this.aiResponse.questions.push(res.data.questions[0]);
|
|
38492
|
-
} else {
|
|
38493
|
-
this.aiResponse = res.data;
|
|
38494
|
-
}
|
|
38495
|
-
this.$set(res.data.questions[0], 'evaluate', 0);
|
|
38496
|
-
// 设置题目类型,便于后续统计
|
|
38497
|
-
this.$set(res.data.questions[0], 'type', type);
|
|
38498
|
-
this.showGenerateResult();
|
|
38499
|
-
} else {
|
|
38500
|
-
this.$message.warning('题目获取失败,重新生成中...');
|
|
38501
|
-
return this.reSend();
|
|
38502
|
-
}
|
|
38503
|
-
} else {
|
|
38504
|
-
this.loading && this.loading.close();
|
|
38505
|
-
this.$message.warning('题目获取失败');
|
|
38506
|
-
this.rebuildFlag = false;
|
|
38507
|
-
}
|
|
38508
|
-
}).catch(error => {
|
|
38509
|
-
console.log("error:" + error);
|
|
38510
|
-
this.loading && this.loading.close();
|
|
38511
|
-
this.$message.warning('题目获取失败');
|
|
38512
|
-
this.rebuildFlag = false;
|
|
38513
|
-
});
|
|
38514
|
-
}
|
|
38515
|
-
});
|
|
38516
|
-
},
|
|
38517
38422
|
//获取知识点名称
|
|
38518
38423
|
getKnowledgeName(e, array) {
|
|
38519
38424
|
array.forEach(item => {
|
|
@@ -38643,18 +38548,146 @@ const createBurial = data => {
|
|
|
38643
38548
|
|
|
38644
38549
|
// 清空选中状态
|
|
38645
38550
|
this.selectedQuestions = [];
|
|
38551
|
+
},
|
|
38552
|
+
// 检查题目是否重复
|
|
38553
|
+
checkDuplicateQuestion(newQuestion, questionType) {
|
|
38554
|
+
if (!this.aiResponse.questions || this.aiResponse.questions.length === 0) {
|
|
38555
|
+
return false;
|
|
38556
|
+
}
|
|
38557
|
+
return this.aiResponse.questions.some(existingQuestion => {
|
|
38558
|
+
return existingQuestion.title === newQuestion.title && existingQuestion.type === questionType;
|
|
38559
|
+
});
|
|
38560
|
+
},
|
|
38561
|
+
// 获取指定题型的已生成题目信息
|
|
38562
|
+
getGeneratedQuestionsByType(questionType) {
|
|
38563
|
+
if (!this.aiResponse.questions || this.aiResponse.questions.length === 0) {
|
|
38564
|
+
return [];
|
|
38565
|
+
}
|
|
38566
|
+
return this.aiResponse.questions.filter(question => question.type === questionType).map(question => ({
|
|
38567
|
+
title: question.title,
|
|
38568
|
+
type: question.type
|
|
38569
|
+
}));
|
|
38570
|
+
},
|
|
38571
|
+
// 重复题目信息重新生成
|
|
38572
|
+
regenerateWithRepetition(originalObj, repetitionQuestions, questionType, retryCount = 0) {
|
|
38573
|
+
console.log('检测到重复题目,重新生成,已生成题目:', repetitionQuestions, '重试次数:', retryCount);
|
|
38574
|
+
|
|
38575
|
+
// 如果重试次数超过3次,跳过此题目
|
|
38576
|
+
if (retryCount >= 3) {
|
|
38577
|
+
console.log('重试次数超过3次,跳过此题目');
|
|
38578
|
+
this.isGenerating = false;
|
|
38579
|
+
this.$message.warning('AI生成重复题目超过3次,已跳过该题目');
|
|
38580
|
+
return;
|
|
38581
|
+
}
|
|
38582
|
+
const newObj = {
|
|
38583
|
+
...originalObj,
|
|
38584
|
+
repetitionQuestions: repetitionQuestions // 传递所有已生成的题目信息
|
|
38585
|
+
};
|
|
38586
|
+
getAiQuestion(newObj).then(res => {
|
|
38587
|
+
if (res.success) {
|
|
38588
|
+
this.loading && this.loading.close();
|
|
38589
|
+
if (res.data && res.data.questions && res.data.questions.length > 0) {
|
|
38590
|
+
const newQuestion = res.data.questions[0];
|
|
38591
|
+
// 再次检查是否还有重复
|
|
38592
|
+
const isStillDuplicate = this.checkDuplicateQuestion(newQuestion, questionType);
|
|
38593
|
+
if (isStillDuplicate) {
|
|
38594
|
+
console.log('重新生成后仍有重复,继续重试,当前重试次数:', retryCount + 1);
|
|
38595
|
+
// 递归调用,增加重试次数,重新获取最新的当前题型已生成题目列表
|
|
38596
|
+
const updatedRepetitionQuestions = this.getGeneratedQuestionsByType(questionType);
|
|
38597
|
+
this.regenerateWithRepetition(originalObj, updatedRepetitionQuestions, questionType, retryCount + 1);
|
|
38598
|
+
return;
|
|
38599
|
+
}
|
|
38600
|
+
if (this.aiResponse.questions && this.aiResponse.questions.length > 0) {
|
|
38601
|
+
this.aiResponse.questions.push(newQuestion);
|
|
38602
|
+
} else {
|
|
38603
|
+
this.aiResponse = res.data;
|
|
38604
|
+
}
|
|
38605
|
+
this.$set(newQuestion, 'evaluate', 0);
|
|
38606
|
+
// 设置题目类型,便于后续统计
|
|
38607
|
+
this.$set(newQuestion, 'type', questionType);
|
|
38608
|
+
|
|
38609
|
+
// 更新该题型的生成计数
|
|
38610
|
+
if (!this.typeGeneratedCounts[questionType]) {
|
|
38611
|
+
this.typeGeneratedCounts[questionType] = 0;
|
|
38612
|
+
}
|
|
38613
|
+
this.typeGeneratedCounts[questionType]++;
|
|
38614
|
+
this.showGenerateResult();
|
|
38615
|
+
} else {
|
|
38616
|
+
this.$message.warning('重新生成题目失败');
|
|
38617
|
+
}
|
|
38618
|
+
} else {
|
|
38619
|
+
this.$message.warning('重新生成题目失败');
|
|
38620
|
+
}
|
|
38621
|
+
}).catch(error => {
|
|
38622
|
+
console.log("重新生成题目错误:" + error);
|
|
38623
|
+
this.$message.warning('重新生成题目失败');
|
|
38624
|
+
});
|
|
38625
|
+
},
|
|
38626
|
+
// 重新生成的重复检测重新生成
|
|
38627
|
+
regenerateWithRepetitionForReSend(originalObj, repetitionQuestions, questionType, retryCount = 0) {
|
|
38628
|
+
console.log('reSend检测到重复题目,重新生成,已生成题目:', repetitionQuestions, '重试次数:', retryCount);
|
|
38629
|
+
// 如果重试次数超过3次,跳过此题目
|
|
38630
|
+
if (retryCount >= 3) {
|
|
38631
|
+
console.log('reSend重试次数超过3次,跳过此题目');
|
|
38632
|
+
this.isGenerating = false;
|
|
38633
|
+
this.$message.warning('AI生成重复题目超过3次,已跳过该题目');
|
|
38634
|
+
return;
|
|
38635
|
+
}
|
|
38636
|
+
const newObj = {
|
|
38637
|
+
...originalObj,
|
|
38638
|
+
repetitionQuestions: repetitionQuestions
|
|
38639
|
+
};
|
|
38640
|
+
getAiQuestion(newObj).then(res => {
|
|
38641
|
+
if (res.success) {
|
|
38642
|
+
this.loading && this.loading.close();
|
|
38643
|
+
if (res.data && res.data.questions && res.data.questions.length > 0) {
|
|
38644
|
+
const newQuestion = res.data.questions[0];
|
|
38645
|
+
|
|
38646
|
+
// 再次检查是否还有重复
|
|
38647
|
+
const isStillDuplicate = this.checkDuplicateQuestion(newQuestion, questionType);
|
|
38648
|
+
if (isStillDuplicate) {
|
|
38649
|
+
console.log('reSend重新生成后仍有重复,继续重试,当前重试次数:', retryCount + 1);
|
|
38650
|
+
// 递归调用,增加重试次数,重新获取最新的当前题型已生成题目列表
|
|
38651
|
+
const updatedRepetitionQuestions = this.getGeneratedQuestionsByType(questionType);
|
|
38652
|
+
this.regenerateWithRepetitionForReSend(originalObj, updatedRepetitionQuestions, questionType, retryCount + 1);
|
|
38653
|
+
return;
|
|
38654
|
+
}
|
|
38655
|
+
if (this.aiResponse.questions && this.aiResponse.questions.length > 0) {
|
|
38656
|
+
this.aiResponse.questions.push(newQuestion);
|
|
38657
|
+
} else {
|
|
38658
|
+
this.aiResponse = res.data;
|
|
38659
|
+
}
|
|
38660
|
+
this.$set(newQuestion, 'evaluate', 0);
|
|
38661
|
+
// 设置题目类型,便于后续统计
|
|
38662
|
+
this.$set(newQuestion, 'type', questionType);
|
|
38663
|
+
this.showGenerateResult();
|
|
38664
|
+
} else {
|
|
38665
|
+
this.$message.warning('重新生成题目失败,重新生成中...');
|
|
38666
|
+
return this.reSend();
|
|
38667
|
+
}
|
|
38668
|
+
} else {
|
|
38669
|
+
this.loading && this.loading.close();
|
|
38670
|
+
this.$message.warning('重新生成题目失败');
|
|
38671
|
+
this.rebuildFlag = false;
|
|
38672
|
+
}
|
|
38673
|
+
}).catch(error => {
|
|
38674
|
+
console.log("reSend重新生成题目错误:" + error);
|
|
38675
|
+
this.loading && this.loading.close();
|
|
38676
|
+
this.$message.warning('重新生成题目失败');
|
|
38677
|
+
this.rebuildFlag = false;
|
|
38678
|
+
});
|
|
38646
38679
|
}
|
|
38647
38680
|
}
|
|
38648
38681
|
});
|
|
38649
38682
|
;// CONCATENATED MODULE: ./components/demo/src/main.vue?vue&type=script&lang=js
|
|
38650
38683
|
/* harmony default export */ var src_mainvue_type_script_lang_js = (mainvue_type_script_lang_js);
|
|
38651
|
-
// 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=
|
|
38652
|
-
var
|
|
38653
|
-
;// CONCATENATED MODULE: ./components/demo/src/main.vue?vue&type=style&index=0&id=
|
|
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
|
|
38654
38687
|
|
|
38655
|
-
// 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=
|
|
38656
|
-
var
|
|
38657
|
-
;// CONCATENATED MODULE: ./components/demo/src/main.vue?vue&type=style&index=1&id=
|
|
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
|
|
38658
38691
|
|
|
38659
38692
|
;// CONCATENATED MODULE: ./components/demo/src/main.vue
|
|
38660
38693
|
|
|
@@ -38672,7 +38705,7 @@ var main_component = normalizeComponent(
|
|
|
38672
38705
|
staticRenderFns,
|
|
38673
38706
|
false,
|
|
38674
38707
|
null,
|
|
38675
|
-
"
|
|
38708
|
+
"c5ff5afa",
|
|
38676
38709
|
null
|
|
38677
38710
|
|
|
38678
38711
|
)
|