ai-question-pro 0.0.20 → 0.0.21
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/CyTreeSelect.vue +4 -0
- package/components/demo/src/main.vue +1119 -465
- package/components/demo/src/questionItem.vue +172 -28
- package/components/demo/static/aiBot-icon.png +0 -0
- package/components/demo/static/check-icon.png +0 -0
- package/components/demo/static/generate-question-icon.png +0 -0
- package/components/demo/static/link-icon.png +0 -0
- package/components/demo/static/warning-icon.png +0 -0
- package/dist/ai-question-pro.common.js +691 -311
- package/dist/ai-question-pro.common.js.map +1 -1
- package/dist/ai-question-pro.umd.js +691 -311
- 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
|
@@ -1466,7 +1466,7 @@ for (var i = 0; i < DOMIterables.length; i++) {
|
|
|
1466
1466
|
|
|
1467
1467
|
/***/ }),
|
|
1468
1468
|
|
|
1469
|
-
/***/
|
|
1469
|
+
/***/ 3621:
|
|
1470
1470
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1471
1471
|
|
|
1472
1472
|
"use strict";
|
|
@@ -1480,14 +1480,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1480
1480
|
|
|
1481
1481
|
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()));
|
|
1482
1482
|
// Module
|
|
1483
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".tree-select__option.el-select-dropdown__item{height:auto;line-height:1;padding:0;background-color:#fff}.tree-select__tree{padding:4px 20px;font-weight:400}.tree-select__tree.tree-select__tree--radio .el-tree-node.is-current>.el-tree-node__content{color:#000;font-weight:700}", ""]);
|
|
1483
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".tree-select__option.el-select-dropdown__item{height:auto;line-height:1;padding:0;background-color:#fff}.tree-select__tree{padding:4px 20px;font-weight:400}.tree-select__tree.tree-select__tree--radio .el-tree-node.is-current>.el-tree-node__content{color:#000;font-weight:700}.el-select .el-input__suffix{display:none!important}", ""]);
|
|
1484
1484
|
// Exports
|
|
1485
1485
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
1486
1486
|
|
|
1487
1487
|
|
|
1488
1488
|
/***/ }),
|
|
1489
1489
|
|
|
1490
|
-
/***/
|
|
1490
|
+
/***/ 7207:
|
|
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-489221b9]{display:inline-block}.ai_contain[data-v-489221b9] .el-drawer.rtl{border-radius:15px 0 0 15px}.ai_contain[data-v-489221b9] .el-icon-close:before{color:#0e0e0e;font-weight:700;font-size:16px}.ai_contain[data-v-489221b9] .el-drawer__header{padding-top:0;height:64px;background:linear-gradient(180deg,hsla(0,0%,100%,0),#fff),linear-gradient(90deg,#bcb9f4,#d5c6f8,#e6c6f9)}.ai_contain[data-v-489221b9] .el-drawer__body{padding:0 20px;display:flex;flex-direction:column;justify-content:space-between}.ai_contain[data-v-489221b9] .el-form-item__label{font-weight:700}.ai_contain[data-v-489221b9] .el-input__inner{padding-right:0;border-radius:25px}.ai_contain[data-v-489221b9] .el-cascader{width:100%}.ai_contain[data-v-489221b9] .el-radio__inner{width:24px;height:24px}.ai_contain[data-v-489221b9] .el-radio__input.is-checked+.el-radio__label{color:#606266}.ai_contain[data-v-489221b9] .el-radio__input.is-checked .el-radio__inner{border-color:#7050d0;background:#7050d0}.ai_contain[data-v-489221b9] .el-radio__input.is-checked .el-radio__inner:after{display:none}.ai_contain[data-v-489221b9] .el-radio__input.is-checked .el-radio__inner:before{font-family:element-icons,serif;content:\"\";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:12px;color:#fff}.ai_contain[data-v-489221b9] .el-select .el-input__inner{border-radius:25px}.ai_contain[data-v-489221b9] .el-textarea__inner{border-radius:16px}.ai_contain[data-v-489221b9] .el-loading-mask{border-radius:8px}.ai_contain .button-handle[data-v-489221b9]{width:168px;height:48px;font-size:14px;border-radius:25px;border:none;color:#fff;cursor:pointer}.ai_contain .button-generate-question[data-v-489221b9]{background:linear-gradient(180deg,#7050d0,#2828e0)}.ai_contain .button-cancel[data-v-489221b9]{border:1px solid #2828e0;background:transparent;color:#3030c0}.ai_contain .ai_button[data-v-489221b9]{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-489221b9]{display:flex;align-items:center;font-size:18px;color:#333;font-weight:700;gap:5px}.ai_contain .add_question_body .remind[data-v-489221b9]{font-size:14px;color:#9ba1ae}.ai_contain .add_question_footer[data-v-489221b9]{padding:20px 0;border-top:1px solid #e6e6e6;display:flex;justify-content:center;align-items:center;gap:30px}", ""]);
|
|
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}", ""]);
|
|
1505
1505
|
// Exports
|
|
1506
1506
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
1507
1507
|
|
|
1508
1508
|
|
|
1509
1509
|
/***/ }),
|
|
1510
1510
|
|
|
1511
|
-
/***/
|
|
1511
|
+
/***/ 9427:
|
|
1512
1512
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1513
1513
|
|
|
1514
1514
|
"use strict";
|
|
@@ -1522,14 +1522,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1522
1522
|
|
|
1523
1523
|
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()));
|
|
1524
1524
|
// Module
|
|
1525
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".ai-custom-dialog.el-dialog{background:linear-gradient(327deg,#dbecfe,#f9fcff);border-radius:8px}.ai-custom-dialog.el-dialog .question_title{display:flex;align-items:center;font-weight:700;font-size:23px;color:#
|
|
1525
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".ai-custom-dialog.el-dialog{background:linear-gradient(327deg,#dbecfe,#f9fcff);border-radius:8px}.ai-custom-dialog.el-dialog .question_title{display:flex;align-items:center;font-weight:700;font-size:23px;color:#181820}.ai-custom-dialog.el-dialog .question_title img{margin-right:10px;width:35px;height:40px}.ai-custom-dialog.el-dialog .question_body{padding:10px;min-height:500px;max-height:500px;overflow:auto}.ai-custom-dialog.el-dialog .question_body::-webkit-scrollbar{width:4px}.ai-custom-dialog.el-dialog .question_body::-webkit-scrollbar-button{display:none}.ai-custom-dialog.el-dialog .question_body::-webkit-scrollbar-track-piece{background-color:transparent}.ai-custom-dialog.el-dialog .question_body::-webkit-scrollbar-thumb{border-radius:3px;background:rgba(0,0,0,.5)}.ai-custom-dialog.el-dialog .question_footer{display:flex;justify-content:space-between;align-items:center}.ai-custom-dialog.el-dialog .question_footer .footer_warning{display:flex;align-items:center;gap:8px;flex:1}.ai-custom-dialog.el-dialog .question_footer .footer_warning .el-icon-info{color:#7c4dff;font-size:16px;flex-shrink:0}.ai-custom-dialog.el-dialog .question_footer .footer_warning .question_remind{font-size:14px;color:#9ba1ae;line-height:1.4}", ""]);
|
|
1526
1526
|
// Exports
|
|
1527
1527
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
1528
1528
|
|
|
1529
1529
|
|
|
1530
1530
|
/***/ }),
|
|
1531
1531
|
|
|
1532
|
-
/***/
|
|
1532
|
+
/***/ 7384:
|
|
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-088e6bea]{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-088e6bea]{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.ai_question_contain .question_header .question_header_left[data-v-088e6bea]{display:flex;align-items:center;gap:12px}.ai_question_contain .question_contain_title[data-v-088e6bea]{margin-bottom:15px;display:flex;justify-content:space-between}.ai_question_contain .question_contain_title .question_contain_title_left[data-v-088e6bea]{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-088e6bea]{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-088e6bea]{display:flex;align-items:center}.ai_question_contain .question_contain_title .question_contain_title_reght img[data-v-088e6bea]{margin:0 5px;cursor:pointer}.ai_question_contain .question_contain_question[data-v-088e6bea]{margin-bottom:16px;font-size:14px;padding-left:5px}.ai_question_contain .question_contain_question div[data-v-088e6bea]{margin:5px 0}.ai_question_contain .question_answer_info[data-v-088e6bea]{border-radius:15px;padding:20px;background-color:rgba(64,48,240,.08)}.ai_question_contain .question_contain_answer[data-v-088e6bea]{margin-bottom:16px;font-size:13px;color:#6040e0;font-weight:700}.ai_question_contain .question_contain_parse[data-v-088e6bea]{margin-bottom:16px;display:flex;justify-content:space-between}.ai_question_contain .question_contain_parse .question_contain_parse_analysis[data-v-088e6bea]{width:100%;font-size:13px;color:#262626}.ai_question_contain .type-name[data-v-088e6bea]{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-088e6bea]{background:rgba(128,96,240,.161);color:#6040f0}.ai_question_contain .type-name.type-multiple[data-v-088e6bea]{background:rgba(0,144,240,.161);color:#0090ff}.ai_question_contain .type-name.type-gapfilling[data-v-088e6bea]{background:rgba(96,192,144,.161);color:#60c090}.ai_question_contain .type-name.type-judge[data-v-088e6bea]{background:rgba(240,160,0,.161);color:#f0a000}.ai_question_contain .type-name.type-shortanswer[data-v-088e6bea]{background:rgba(224,96,192,.161);color:#e060c0}.ai_question_contain .join[data-v-088e6bea]{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-088e6bea]{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-088e6bea]{color:#7c4dff;font-size:14px;flex-shrink:0}.ai_question_contain .ai_warning_tip span[data-v-088e6bea]{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
|
|
|
@@ -32961,67 +32961,67 @@ module.exports = function (delay, noTrailing, callback, debounceMode) {
|
|
|
32961
32961
|
|
|
32962
32962
|
/***/ }),
|
|
32963
32963
|
|
|
32964
|
-
/***/
|
|
32964
|
+
/***/ 5025:
|
|
32965
32965
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
32966
32966
|
|
|
32967
32967
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
32968
32968
|
|
|
32969
32969
|
// load the styles
|
|
32970
|
-
var content = __webpack_require__(
|
|
32970
|
+
var content = __webpack_require__(3621);
|
|
32971
32971
|
if(content.__esModule) content = content.default;
|
|
32972
32972
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
32973
32973
|
if(content.locals) module.exports = content.locals;
|
|
32974
32974
|
// add the styles to the DOM
|
|
32975
32975
|
var add = (__webpack_require__(258)/* ["default"] */ .A)
|
|
32976
|
-
var update = add("
|
|
32976
|
+
var update = add("bf17ce54", content, true, {"sourceMap":false,"shadowMode":false});
|
|
32977
32977
|
|
|
32978
32978
|
/***/ }),
|
|
32979
32979
|
|
|
32980
|
-
/***/
|
|
32980
|
+
/***/ 3555:
|
|
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__(7207);
|
|
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("7efc1c1e", content, true, {"sourceMap":false,"shadowMode":false});
|
|
32993
32993
|
|
|
32994
32994
|
/***/ }),
|
|
32995
32995
|
|
|
32996
|
-
/***/
|
|
32996
|
+
/***/ 5311:
|
|
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__(9427);
|
|
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("0e93aea7", content, true, {"sourceMap":false,"shadowMode":false});
|
|
33009
33009
|
|
|
33010
33010
|
/***/ }),
|
|
33011
33011
|
|
|
33012
|
-
/***/
|
|
33012
|
+
/***/ 4764:
|
|
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__(7384);
|
|
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("571750bc", content, true, {"sourceMap":false,"shadowMode":false});
|
|
33025
33025
|
|
|
33026
33026
|
/***/ }),
|
|
33027
33027
|
|
|
@@ -33293,19 +33293,43 @@ function applyToTag (styleElement, obj) {
|
|
|
33293
33293
|
|
|
33294
33294
|
/***/ }),
|
|
33295
33295
|
|
|
33296
|
-
/***/
|
|
33296
|
+
/***/ 4314:
|
|
33297
33297
|
/***/ (function(module) {
|
|
33298
33298
|
|
|
33299
33299
|
"use strict";
|
|
33300
|
-
module.exports = "data:image/png;base64,
|
|
33300
|
+
module.exports = "data:image/png;base64,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";
|
|
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
|
+
/***/ }),
|
|
33311
|
+
|
|
33312
|
+
/***/ 8831:
|
|
33313
|
+
/***/ (function(module) {
|
|
33314
|
+
|
|
33315
|
+
"use strict";
|
|
33316
|
+
module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAArhJREFUaEPtmdt12zAMhoFNkk2aSZJM0mSSJpPEnaTeBNWvQ/pQNEASJGXVp+GjzQs+3AhCTHc++M7lp/8bQER+EdEPIvogok9mPt/aokMWEBFJBP5g5td/CkBEoN2zplkReSEiWCCOJ2Y+tQKEvavTa3uaFggHfAGAiCDcxj2C+wBiHczcbM1k7yqAdf7lXG0H5YArCBH5s/j+Q1jvch8nAI6AFzxqsqpaExEIFgM0rttABAtgHtzslZkRyE2jAwD7qi5aciEN4krTgPVmn6CgFlhYuRhjRb/NLHFi5ifD5VZX8oKUCMLZYwA4IGz0vATpuyH8z+X3t/Af3AxWUue2qDzOmQZQ0RKyFGIgH2+jELsDiIglfIQZghgCiG4TJPmdXyaK8HAdXGKXeyGs7YboAlhKA/gzhIj5HXJsMo8hPNLoSbmdsb4Lwg2gLLjk/3iJ5LdvuCVX4ZPgy0uMLgg3QMg4uV+vWSVWmlnxhv82ws+E6AWA9p6DP2/KY2XDYvlgBHmzO4XzLq5sFXXNBZhhIVWgSoZqhmi5N7wAyPlws3RsBDKCPE0KXTFhwbgAghXMINWERwKYmZ1yEDdAAQJBnWp6UwLvBdEFUIC4Sr2pxvaA6AYoQZReZ7MhhgBqMWEF3kyIYYCjIaYAHAkxDeAoiFpbZXXjWm9mNNOMxITVlchv3EfPe7dHoJ41q3K1TKG0PVwAt3Sn3QAmQ5h9p10BJkKYLZ3dAQYg0seVu7U4FMRGXDU/NZWnq/l4uokFPE9NRXgsN1v3NwWouZNXeE8aRU+0+Plowj2Bzkbe5at+NCm119PGqlVYpr9XD2u4sd37lUqJWuswh3IBVB5FzXt5vw+ULNF8aGYJPEPREVy/xy3Vwbun9qpWo3l/xiLwHNrij61zqgCtGx017xvgKM3Hc78tcLQF/gK0fQ1P5CQzMAAAAABJRU5ErkJggg==";
|
|
33301
33317
|
|
|
33302
33318
|
/***/ }),
|
|
33303
33319
|
|
|
33304
|
-
/***/
|
|
33320
|
+
/***/ 7353:
|
|
33305
33321
|
/***/ (function(module) {
|
|
33306
33322
|
|
|
33307
33323
|
"use strict";
|
|
33308
|
-
module.exports = "data:image/png;base64,
|
|
33324
|
+
module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAqdJREFUaEPtWdFxgzAMFVmkMEndSepO0naSupPUm4QsEnoCkyiOZcvGkMsd3OUnAfOenp4kOw08+dU8OX7YCTxawV2BXYGFEXhICml1bAEO7wCDAgD84NVPn+HX2M5IeW1OQKvTJ8DwlQDYAzTG2JfvFJHNCExRb35IxFPYRCQ2IRABbwEaC3A+ARxeXUq1hBmm1IexneXYrk6AAR8ERrxBU6w3tu0eQoADHwOEQO99MqoQNPZqCpSCnwjc+cUa276FVFiFwBLwM0hPBTaNqhOoAd6poF3VGjkZ2waxrkCg//NKZdSEnDm1Ov0ADHr+fRMCWtUB74xMCayfQlodbyTHsSBVbfjoHxVAg0q6a+zKH6uaWKt+uH3B0Bnb4XyTdTkPIXjS0Pi1qnjgPvp83b6mx/nbJxguAHz0ca1KBPwBjY8Y8clNijHVi63/l+TK0pe5WVox/PsAhjecc0rBFyng5pVPgGsK+K2fK3kO6JHEYYxwIO+TkS9SwIsUDmQYwV4rv2pMkQ0J5pXaSxoREvhdcGxYVIViMgciy5bQmFq4Tm7lEps41aQ8YGwK+BWLSzepN0UEUuDJBIn1O5oCUsNXI5DTYVMpcO+VeI2XkEgqoFWPVYN2RdagsReGPcSbXQI+WUZzO2xktgls6JdHv4RA9nyzpElJVIimkLRB5UUexE2qNoGs8XjtyIs6cU6HpdHaCrzEA2g+Mrukjbcl+CSBqUH528Tmizuz3Bq8kMB4RkMnSHzOAgy4IRkHNuZEbbwvZzCTmNa/J9nIHEB/vzuvg1tGepZJ118dvEiBGZHwWHy+fRPwWQRIquD5/uW8xpNUdCRekircM6IU8h+ecn7+Z+XwMv1+xn9Wsk8hlpIpIrD0pTWf3wnUjGbJWrsCJVGr+czTK/APigCeQFm1pzUAAAAASUVORK5CYII=";
|
|
33325
|
+
|
|
33326
|
+
/***/ }),
|
|
33327
|
+
|
|
33328
|
+
/***/ 5014:
|
|
33329
|
+
/***/ (function(module) {
|
|
33330
|
+
|
|
33331
|
+
"use strict";
|
|
33332
|
+
module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAAAoCAYAAABdGbwdAAAEWUlEQVR4XsWaS6iNURTHPfJMHoVCKDGQYuaRkRkyEDEw2uXVHWBAKaaUoVeJiJSBYuiRYigUISYY0L0pRLd0kXCs/z3fd1vnv9f37e+xv3MGv9tp7/X/r7VX57tn733OqFarNSoLt3kwFlOFbcIl4aXwIwGvMYY5xLCuUZI19gl/hRaBsT6vKQ00aKNwX/jn/CJSMIcYxLK+MZI19ju/npR+rykRGzRZOCR8c37iLBALDbTsF51kjUPOryNlyGtKpAaNF44KP52fNAQ00MKDfaPSywbtEr46P2FRoIUH+0alVw1aKbx2frKywANe7B+NXjRognAuMY8BvODJeaLQiwadUOaxgCfniUK3G7RK+KXMYwFPeHO+2nSzQWOFW2Qek9uunYPz1qKbDdppmFucFRYpHV5jjOMson+qdatB84V3hrkGj8lBQ5uCudDjiRzIxdrKdKtBZwxj5qIw0dCmYA4xrGOQi7WV6UaD1gl/DGPNXUOXBWJZr0Eu5GRdJZpu0CThiWHakUBYamizQGxewQA5kZu1pWm6QUcMQ+a4oQtxTOmzwFmNdaVpskErhI+Goea5MMfQgukJPA6ggZb9NMiNGlhbiqYaNFq4ZphpcL+zw9CmrE3g8RRorUssDWoYY2gL01SDthhGzE1DpzmQwOMaeLAvg1pYV5gmGjRDeGsYaXDptdjQaq4m8LgGHqHLNtSCmlhbiCYadNIwYULvDDwWzxJCj8h+5/szpwxdIWI3CPuPQcNE80CYRjpmk2vvZwBe87wGXvDkPBrUVGlvFLNBuCO+Yxh0mAnrlcYCB84rSnM5GeM4DTzzFgFQW+l77JgN2mOImfMqPovVrrMgvMYYxzHw5nwMamRdLrEatED4ZIg1H4TZSXwWeFyeGlqMhR5LeCMHazWoEbWyNpNYDQrteUDengfME+4ZuhTMIYZ1GuRgHYNaWZdJjAZtFX4bQs0NYZwzCkjAbeALQ8cgJu/mEDmQi3Ua1IqaWWtSq0EyOVN4ZIg0X5y9qLnCXtf+BCrz3RhioYEWHuyLbzk+GzrNY2GWofWo2yAcCFnA4GDpJXbNNQhEO8xWbpBMLBe+GwINHokpzkhMxHrEUpAz5IfasQbWdlCnQbgk52BmgzOSZhDjn7QGeyP2YLA3Yl0HlRokg7uNQOaCMxIGqPMxb4Ea2IvBWlg3QukGufY+4o0RqMF+ZIkzEhag6kbRAofZ986vT4PD7EJDO0yVBp02gph9zkhWkCpHjTxQC9fHYE2sG6ZUg1z7wBfa8+ATJm/PU4Qyh9UQqCV0mMWazMNs4Qa59iX4QyNAg5/MrXFGopKUue4oAmrKWyTA2rzDbJkGHTYmmZg/IihyYVaGIj+awBo7dIUaJH+WufBh9JULH0bLUOTKtQyoDTVy3RqsEWsd0RVt0HVjgtnu/KLqELq0rwJq5LoZrHVEkzRowIhLGUBA6O0Z89FKyfvapw6l1pI0CD8Dtr4dxljff0coE06HenMRAAAAAElFTkSuQmCC";
|
|
33309
33333
|
|
|
33310
33334
|
/***/ }),
|
|
33311
33335
|
|
|
@@ -33325,6 +33349,14 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf
|
|
|
33325
33349
|
|
|
33326
33350
|
/***/ }),
|
|
33327
33351
|
|
|
33352
|
+
/***/ 1421:
|
|
33353
|
+
/***/ (function(module) {
|
|
33354
|
+
|
|
33355
|
+
"use strict";
|
|
33356
|
+
module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAlBJREFUaEPtWetxwjAMVrpIk03KJDWTAJOgTtJ0koRFSE+OfYTEbwnS9PCf9jjb0Sd9sl4VbHxVG5cfXgDWtqC4BZTqagOK/tr/e/oNsWmlAYsAGIV++wQY1ERon6w9QNUCXL8kALEAKHU5AAxHhlYJDCK+n0rvKAKgVPcBUJ0TtJ0qVw8wnBAbTD1g92UDUOpyNlTJ/VbC/uqYa41kACPPtdY/EiThbCFr7BAb7fixlQGg/36C8FbeZBBJAJR6qvAWRItY79gWeCzno+LRC7UP7QpawLw2RJ0Vl/YHbwCMAGBRZ+6ENirnKqNHrBvfIS8ApTplXp3cD5r9N83xLTnsfTEiAKDveIFKEgB4reAEwNc+GUEUwN19U0p4AIhE26njTTPTQkq6o7QHAJc+hTKGjzlp5AMwCIjQAlSTl0in2sw1NPMUYwHA5DzkwMwl7QP3fmWFcwFgPp/26hcABwOW8WBrFlgENBcAqrYE8p/1KESFy1914s2/QnEA5DkyBYw8hRDrBeV9qQS3XfKAXEi3XxbFjS+ZE3BkaQu4C5utpNPgog/R/T8XNNw+kBiFykrK8TXSLcTSoCZUDzCK+hEEu4HLyGrdL0+0IptueGJLcQ5UprFlqETpBVGptDWSa4Ug77MsYDebIQYFOIHKKognSfPegiZ09WQSwxlqBD4R5/z8cFJzd37ItF0OgpSibjTl+tkztCIAN79Inov5tL7OiMlhETvko+FHbACihQa4/pRoXIRCcT/RO7YzZs19IyX3F/uApBCcu14AONqTOPsLjMpVQDtqSucAAAAASUVORK5CYII=";
|
|
33357
|
+
|
|
33358
|
+
/***/ }),
|
|
33359
|
+
|
|
33328
33360
|
/***/ 2356:
|
|
33329
33361
|
/***/ (function(module) {
|
|
33330
33362
|
|
|
@@ -33490,7 +33522,7 @@ if (typeof window !== 'undefined') {
|
|
|
33490
33522
|
// Indicate to webpack that this file can be concatenated
|
|
33491
33523
|
/* harmony default export */ var setPublicPath = (null);
|
|
33492
33524
|
|
|
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=
|
|
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=598246f8&scoped=true
|
|
33494
33526
|
var render = function render() {
|
|
33495
33527
|
var _vm = this,
|
|
33496
33528
|
_c = _vm._self._c;
|
|
@@ -33528,76 +33560,164 @@ var render = function render() {
|
|
|
33528
33560
|
"src": __webpack_require__(5014),
|
|
33529
33561
|
"alt": ""
|
|
33530
33562
|
}
|
|
33531
|
-
}), _c('span', [_vm._v("出题")])])
|
|
33532
|
-
staticClass: "
|
|
33533
|
-
|
|
33534
|
-
|
|
33535
|
-
|
|
33536
|
-
"model": _vm.form,
|
|
33537
|
-
"rules": _vm.rules,
|
|
33538
|
-
"label-width": "100px",
|
|
33539
|
-
"label-position": "left"
|
|
33563
|
+
}), _c('span', [_vm._v("出题")])]), _c('div', {
|
|
33564
|
+
staticClass: "ai-bot-switch-wrap",
|
|
33565
|
+
staticStyle: {
|
|
33566
|
+
"position": "absolute",
|
|
33567
|
+
"left": "120px"
|
|
33540
33568
|
}
|
|
33541
|
-
}, [_c('
|
|
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
|
+
},
|
|
33542
33581
|
attrs: {
|
|
33543
|
-
"
|
|
33544
|
-
"
|
|
33582
|
+
"src": __webpack_require__(4314),
|
|
33583
|
+
"alt": ""
|
|
33545
33584
|
}
|
|
33546
|
-
},
|
|
33547
|
-
|
|
33548
|
-
|
|
33549
|
-
|
|
33550
|
-
|
|
33551
|
-
|
|
33552
|
-
|
|
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": ""
|
|
33553
33595
|
}
|
|
33554
|
-
}, _vm.
|
|
33555
|
-
|
|
33556
|
-
|
|
33557
|
-
|
|
33558
|
-
|
|
33559
|
-
|
|
33560
|
-
|
|
33561
|
-
|
|
33562
|
-
|
|
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();
|
|
33563
33606
|
}
|
|
33564
|
-
}, [_vm._v(_vm._s(item.name))]);
|
|
33565
|
-
}), 1)], 1), _c('el-form-item', {
|
|
33566
|
-
attrs: {
|
|
33567
|
-
"label": "题目难度",
|
|
33568
|
-
"prop": "difficulty"
|
|
33569
33607
|
}
|
|
33570
|
-
}, [_c('
|
|
33571
|
-
|
|
33572
|
-
|
|
33608
|
+
}, [_c('div', {
|
|
33609
|
+
staticClass: "ai-bot-dropdown-item",
|
|
33610
|
+
class: {
|
|
33611
|
+
active: _vm.currentBot === 'tongyi'
|
|
33573
33612
|
},
|
|
33574
|
-
|
|
33575
|
-
|
|
33576
|
-
|
|
33577
|
-
|
|
33578
|
-
},
|
|
33579
|
-
expression: "form.difficulty"
|
|
33613
|
+
on: {
|
|
33614
|
+
"click": function ($event) {
|
|
33615
|
+
return _vm.selectBot('tongyi');
|
|
33616
|
+
}
|
|
33580
33617
|
}
|
|
33581
|
-
}, _vm.
|
|
33582
|
-
|
|
33618
|
+
}, [_vm._v("通义千问 ")])]) : _vm._e()])]), _c('div', {
|
|
33619
|
+
staticClass: "add_question_body"
|
|
33620
|
+
}, [_c('div', {
|
|
33621
|
+
staticClass: "question-type-header"
|
|
33622
|
+
}, [_c('span', {
|
|
33623
|
+
staticClass: "required-mark"
|
|
33624
|
+
}, [_vm._v("*")]), _c('span', {
|
|
33625
|
+
staticClass: "section-title"
|
|
33626
|
+
}, [_vm._v("题目类型:")]), _c('span', {
|
|
33627
|
+
staticClass: "tip-text"
|
|
33628
|
+
}, [_vm._v("(为避免您等待时间过长,一次性最多生成10道题)")])]), _c('div', {
|
|
33629
|
+
staticClass: "question-type-list"
|
|
33630
|
+
}, _vm._l(_vm.quesTypeList, function (item, index) {
|
|
33631
|
+
return _c('div', {
|
|
33583
33632
|
key: item.id,
|
|
33584
|
-
|
|
33585
|
-
|
|
33586
|
-
|
|
33633
|
+
staticClass: "question-type-item",
|
|
33634
|
+
class: {
|
|
33635
|
+
'disabled': !_vm.form.selectedTypes[item.id]
|
|
33636
|
+
}
|
|
33637
|
+
}, [_c('div', {
|
|
33638
|
+
staticClass: "type-left"
|
|
33639
|
+
}, [_c('el-checkbox', {
|
|
33640
|
+
staticClass: "type-checkbox",
|
|
33641
|
+
on: {
|
|
33642
|
+
"change": function ($event) {
|
|
33643
|
+
return _vm.handleTypeChange(item.id);
|
|
33644
|
+
}
|
|
33587
33645
|
},
|
|
33646
|
+
model: {
|
|
33647
|
+
value: _vm.form.selectedTypes[item.id],
|
|
33648
|
+
callback: function ($$v) {
|
|
33649
|
+
_vm.$set(_vm.form.selectedTypes, item.id, $$v);
|
|
33650
|
+
},
|
|
33651
|
+
expression: "form.selectedTypes[item.id]"
|
|
33652
|
+
}
|
|
33653
|
+
}), _c('span', {
|
|
33654
|
+
staticClass: "type-name",
|
|
33655
|
+
class: _vm.getTypeClass(item.id)
|
|
33656
|
+
}, [_vm._v(_vm._s(item.name))])], 1), _c('div', {
|
|
33657
|
+
staticClass: "type-right"
|
|
33658
|
+
}, [_c('el-input', {
|
|
33659
|
+
staticClass: "count-input",
|
|
33588
33660
|
attrs: {
|
|
33589
|
-
"
|
|
33661
|
+
"size": "small",
|
|
33662
|
+
"placeholder": "请输入生成数量",
|
|
33663
|
+
"min": "1",
|
|
33664
|
+
"max": "10"
|
|
33665
|
+
},
|
|
33666
|
+
on: {
|
|
33667
|
+
"input": function ($event) {
|
|
33668
|
+
return _vm.handleCountInput(item.id);
|
|
33669
|
+
}
|
|
33670
|
+
},
|
|
33671
|
+
model: {
|
|
33672
|
+
value: _vm.form.typeCounts[item.id],
|
|
33673
|
+
callback: function ($$v) {
|
|
33674
|
+
_vm.$set(_vm.form.typeCounts, item.id, $$v);
|
|
33675
|
+
},
|
|
33676
|
+
expression: "form.typeCounts[item.id]"
|
|
33590
33677
|
}
|
|
33591
|
-
},
|
|
33592
|
-
|
|
33593
|
-
|
|
33594
|
-
|
|
33595
|
-
|
|
33596
|
-
}
|
|
33678
|
+
}), _c('div', {
|
|
33679
|
+
staticClass: "slider-container",
|
|
33680
|
+
class: {
|
|
33681
|
+
'disabled': !_vm.form.selectedTypes[item.id]
|
|
33682
|
+
}
|
|
33683
|
+
}, [_c('el-slider', {
|
|
33684
|
+
staticClass: "difficulty-slider",
|
|
33685
|
+
attrs: {
|
|
33686
|
+
"min": 0,
|
|
33687
|
+
"max": 4,
|
|
33688
|
+
"disabled": !_vm.form.selectedTypes[item.id],
|
|
33689
|
+
"show-tooltip": false
|
|
33690
|
+
},
|
|
33691
|
+
model: {
|
|
33692
|
+
value: _vm.form.typeDifficulties[item.id],
|
|
33693
|
+
callback: function ($$v) {
|
|
33694
|
+
_vm.$set(_vm.form.typeDifficulties, item.id, $$v);
|
|
33695
|
+
},
|
|
33696
|
+
expression: "form.typeDifficulties[item.id]"
|
|
33697
|
+
}
|
|
33698
|
+
})], 1), _c('span', {
|
|
33699
|
+
staticClass: "difficulty-label",
|
|
33700
|
+
class: {
|
|
33701
|
+
'disabled': !_vm.form.selectedTypes[item.id]
|
|
33702
|
+
}
|
|
33703
|
+
}, [_vm._v(" " + _vm._s(_vm.form.selectedTypes[item.id] ? _vm.getDifficultyLabel(_vm.form.typeDifficulties[item.id]) : '题目难度') + " ")])], 1)]);
|
|
33704
|
+
}), 0), _c('div', {
|
|
33705
|
+
staticClass: "knowledge-section"
|
|
33706
|
+
}, [_c('div', {
|
|
33707
|
+
staticClass: "section-header"
|
|
33708
|
+
}, [_c('span', {
|
|
33709
|
+
staticClass: "required-mark"
|
|
33710
|
+
}, [_vm._v("*")]), _c('span', {
|
|
33711
|
+
staticClass: "section-title"
|
|
33712
|
+
}, [_vm._v("关联知识点:")]), _c('span', {
|
|
33713
|
+
staticClass: "tip-text"
|
|
33714
|
+
}, [_vm._v("(最多可以关联1个知识点)")])]), _c('div', {
|
|
33715
|
+
staticClass: "knowledge-input"
|
|
33597
33716
|
}, [_c('cy-tree-select', {
|
|
33598
33717
|
attrs: {
|
|
33599
33718
|
"filterable": "",
|
|
33600
|
-
"data": _vm.knowledgeList
|
|
33719
|
+
"data": _vm.knowledgeList,
|
|
33720
|
+
"placeholder": "请选择"
|
|
33601
33721
|
},
|
|
33602
33722
|
model: {
|
|
33603
33723
|
value: _vm.form.knowledgeIds,
|
|
@@ -33606,45 +33726,33 @@ var render = function render() {
|
|
|
33606
33726
|
},
|
|
33607
33727
|
expression: "form.knowledgeIds"
|
|
33608
33728
|
}
|
|
33609
|
-
})
|
|
33610
|
-
|
|
33611
|
-
"label": "题目数量",
|
|
33612
|
-
"prop": "count"
|
|
33613
|
-
}
|
|
33614
|
-
}, [_c('el-input', {
|
|
33615
|
-
staticClass: "number_input",
|
|
33729
|
+
}), _c('img', {
|
|
33730
|
+
staticClass: "el-icon-link knowledge-icon",
|
|
33616
33731
|
attrs: {
|
|
33617
|
-
"
|
|
33618
|
-
"
|
|
33619
|
-
"type": "number",
|
|
33620
|
-
"placeholder": "请输入"
|
|
33621
|
-
},
|
|
33622
|
-
on: {
|
|
33623
|
-
"input": _vm.handleInput
|
|
33624
|
-
},
|
|
33625
|
-
model: {
|
|
33626
|
-
value: _vm.form.count,
|
|
33627
|
-
callback: function ($$v) {
|
|
33628
|
-
_vm.$set(_vm.form, "count", $$v);
|
|
33629
|
-
},
|
|
33630
|
-
expression: "form.count"
|
|
33732
|
+
"src": __webpack_require__(7353),
|
|
33733
|
+
"alt": ""
|
|
33631
33734
|
}
|
|
33632
|
-
}), _c('div', {
|
|
33633
|
-
staticClass: "
|
|
33634
|
-
}, [
|
|
33635
|
-
|
|
33636
|
-
|
|
33735
|
+
})], 1)]), _c('div', {
|
|
33736
|
+
staticClass: "prompt-section"
|
|
33737
|
+
}, [_c('div', {
|
|
33738
|
+
staticClass: "section-header"
|
|
33739
|
+
}, [_c('span', {
|
|
33740
|
+
staticClass: "section-title",
|
|
33741
|
+
staticStyle: {
|
|
33742
|
+
"margin-left": "15px"
|
|
33637
33743
|
}
|
|
33638
|
-
}, [_c('el-input', {
|
|
33744
|
+
}, [_vm._v("自定义提示语:")])]), _c('el-input', {
|
|
33745
|
+
staticClass: "prompt-textarea",
|
|
33639
33746
|
attrs: {
|
|
33640
|
-
"placeholder": "这里可以写对于题目的要求和补充,比如:“出题内容请围绕一下知识内容:智能水利物联网是指利用物联网技术和智能化手段,对水利工程设施进行实时监测、数据采集、远程控制和智能分析,以实现对水资源的高效利用、水利设施的智能运营和管理。通过传感器、无线通信技术、云计算平台和大数据分析等技术手段,实现对水利系统各个环节的智能监测和管理,提高水资源利用效率,降低水利工程运行成本,保障水利工程安全稳定运行。”",
|
|
33641
33747
|
"type": "textarea",
|
|
33642
33748
|
"autosize": {
|
|
33643
|
-
minRows:
|
|
33749
|
+
minRows: 8,
|
|
33644
33750
|
maxRows: 10
|
|
33645
33751
|
},
|
|
33646
33752
|
"maxlength": "200",
|
|
33647
|
-
"show-word-limit": ""
|
|
33753
|
+
"show-word-limit": "",
|
|
33754
|
+
"placeholder": "这里可以写对于题目的要求和补充,比如:出题内容请围绕以下知识内容:智能水利物联网是指利用物联网技术和智能化手段,对水利工程设施进行实时监测、数据采集、远程控制和智能分析,以实现对水资源的高效利用、水利设施的智能运营和管理。通过传感器、无线通信技术、云计算平台和大数据分析等技术手段,实现对水利系统各个环节的智能监测和管理,提高水资源利用效率,降低水利工程运行成本,保障水利工程安全稳定运行。",
|
|
33755
|
+
"resize": "none"
|
|
33648
33756
|
},
|
|
33649
33757
|
model: {
|
|
33650
33758
|
value: _vm.form.prompt,
|
|
@@ -33653,7 +33761,7 @@ var render = function render() {
|
|
|
33653
33761
|
},
|
|
33654
33762
|
expression: "form.prompt"
|
|
33655
33763
|
}
|
|
33656
|
-
})], 1)]
|
|
33764
|
+
})], 1)]), _c('div', {
|
|
33657
33765
|
staticClass: "add_question_footer"
|
|
33658
33766
|
}, [_c('button', {
|
|
33659
33767
|
staticClass: "button-handle button-cancel",
|
|
@@ -33667,10 +33775,21 @@ var render = function render() {
|
|
|
33667
33775
|
on: {
|
|
33668
33776
|
"click": _vm.generate
|
|
33669
33777
|
}
|
|
33670
|
-
}, [
|
|
33778
|
+
}, [_c('img', {
|
|
33779
|
+
staticStyle: {
|
|
33780
|
+
"width": "24px",
|
|
33781
|
+
"height": "24px"
|
|
33782
|
+
},
|
|
33783
|
+
attrs: {
|
|
33784
|
+
"src": __webpack_require__(8831),
|
|
33785
|
+
"alt": ""
|
|
33786
|
+
}
|
|
33787
|
+
}), _vm._v(" 生成题目 ")])])], 2), _c('el-drawer', {
|
|
33788
|
+
staticClass: "question-result-drawer",
|
|
33671
33789
|
attrs: {
|
|
33672
33790
|
"visible": _vm.showQues,
|
|
33673
|
-
"
|
|
33791
|
+
"wrapperClosable": false,
|
|
33792
|
+
"destroy-on-close": ""
|
|
33674
33793
|
},
|
|
33675
33794
|
on: {
|
|
33676
33795
|
"update:visible": function ($event) {
|
|
@@ -33680,55 +33799,115 @@ var render = function render() {
|
|
|
33680
33799
|
}, [_c('template', {
|
|
33681
33800
|
slot: "title"
|
|
33682
33801
|
}, [_c('div', {
|
|
33683
|
-
staticClass: "
|
|
33802
|
+
staticClass: "add_question_title"
|
|
33684
33803
|
}, [_c('img', {
|
|
33804
|
+
staticStyle: {
|
|
33805
|
+
"width": "32px",
|
|
33806
|
+
"height": "18px"
|
|
33807
|
+
},
|
|
33685
33808
|
attrs: {
|
|
33686
|
-
"src": __webpack_require__(
|
|
33809
|
+
"src": __webpack_require__(5014),
|
|
33810
|
+
"alt": ""
|
|
33811
|
+
}
|
|
33812
|
+
}), _c('span', [_vm._v("出题")])])]), _c('div', {
|
|
33813
|
+
staticClass: "drawer_content_wrapper"
|
|
33814
|
+
}, [_c('div', {
|
|
33815
|
+
staticClass: "question_summary_warp"
|
|
33816
|
+
}, [_c('div', {
|
|
33817
|
+
staticClass: "question_summary"
|
|
33818
|
+
}, [_c('span', {
|
|
33819
|
+
staticClass: "summary_text"
|
|
33820
|
+
}, [_vm._v("共为您生成了 " + _vm._s(_vm.aiResponse.questions ? _vm.aiResponse.questions.length : 0) + " 道题目")]), _c('div', {
|
|
33821
|
+
staticClass: "question_types_summary"
|
|
33822
|
+
}, _vm._l(_vm.getQuestionTypeSummary(), function (typeInfo) {
|
|
33823
|
+
return _c('span', {
|
|
33824
|
+
key: typeInfo.id,
|
|
33825
|
+
staticClass: "type_item"
|
|
33826
|
+
}, [_vm._v(" " + _vm._s(typeInfo.name) + " "), _c('span', {
|
|
33827
|
+
staticClass: "summary_text"
|
|
33828
|
+
}, [_vm._v(_vm._s(typeInfo.count))]), _vm._v(" 道 ")]);
|
|
33829
|
+
}), 0)]), _c('div', {
|
|
33830
|
+
staticClass: "question_summary_button"
|
|
33831
|
+
}, [_c('button', {
|
|
33832
|
+
staticClass: "button-handle button-cancel",
|
|
33833
|
+
on: {
|
|
33834
|
+
"click": _vm.rebuild
|
|
33687
33835
|
}
|
|
33688
|
-
}
|
|
33836
|
+
}, [_vm._v("重新生成")]), _c('button', {
|
|
33837
|
+
staticClass: "button-handle button-generate-question",
|
|
33838
|
+
on: {
|
|
33839
|
+
"click": _vm.addAllToBank
|
|
33840
|
+
}
|
|
33841
|
+
}, [_vm._v(" 加入题库 ")])])]), _c('div', {
|
|
33689
33842
|
ref: "generateDiv",
|
|
33690
33843
|
staticClass: "question_body"
|
|
33691
33844
|
}, _vm._l(_vm.aiResponse.questions, function (item, idx) {
|
|
33692
33845
|
return _vm.aiResponse.questions && _vm.aiResponse.questions.length > 0 ? _c('questionItem', {
|
|
33693
33846
|
key: idx,
|
|
33847
|
+
ref: `questionItem_${idx}`,
|
|
33848
|
+
refInFor: true,
|
|
33694
33849
|
attrs: {
|
|
33850
|
+
"isJoined": _vm.joinedQuestions.includes(idx),
|
|
33695
33851
|
"detail": item,
|
|
33696
33852
|
"index": idx
|
|
33697
33853
|
},
|
|
33698
33854
|
on: {
|
|
33699
33855
|
"agree": _vm.agree,
|
|
33700
|
-
"join": _vm.join
|
|
33856
|
+
"join": _vm.join,
|
|
33857
|
+
"selectionChange": _vm.handleQuestionSelection
|
|
33701
33858
|
}
|
|
33702
33859
|
}) : _vm._e();
|
|
33703
33860
|
}), 1), _c('div', {
|
|
33704
|
-
staticClass: "
|
|
33705
|
-
|
|
33706
|
-
|
|
33707
|
-
|
|
33708
|
-
|
|
33709
|
-
}, [_c('span', {
|
|
33710
|
-
staticClass: "question_remind"
|
|
33711
|
-
}, [_vm._v("题目内容由人工智能大模型生成,请您审慎核查,确认内容准确,无不妥后再使用")]), _c('el-button', {
|
|
33861
|
+
staticClass: "question_footer_fixed"
|
|
33862
|
+
}, [_c('div', {
|
|
33863
|
+
staticClass: "footer_warning"
|
|
33864
|
+
}, [_c('img', {
|
|
33865
|
+
staticClass: "el-icon-info",
|
|
33712
33866
|
attrs: {
|
|
33713
|
-
"
|
|
33714
|
-
"
|
|
33715
|
-
},
|
|
33716
|
-
on: {
|
|
33717
|
-
"click": _vm.rebuild
|
|
33867
|
+
"src": __webpack_require__(1421),
|
|
33868
|
+
"alt": ""
|
|
33718
33869
|
}
|
|
33719
|
-
},
|
|
33870
|
+
}), _c('span', {
|
|
33871
|
+
staticClass: "question_remind"
|
|
33872
|
+
}, [_vm._v("题目内容由人工智能大模型生成,请您审慎核查,确认内容准确,无不妥后再使用")])])])])], 2)], 2);
|
|
33720
33873
|
};
|
|
33721
33874
|
var staticRenderFns = [];
|
|
33722
33875
|
|
|
33723
|
-
;// CONCATENATED MODULE: ./components/demo/src/main.vue?vue&type=template&id=
|
|
33876
|
+
;// CONCATENATED MODULE: ./components/demo/src/main.vue?vue&type=template&id=598246f8&scoped=true
|
|
33724
33877
|
|
|
33725
|
-
;// 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=
|
|
33726
|
-
var
|
|
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=088e6bea&scoped=true
|
|
33879
|
+
var questionItemvue_type_template_id_088e6bea_scoped_true_render = function render() {
|
|
33727
33880
|
var _vm = this,
|
|
33728
33881
|
_c = _vm._self._c;
|
|
33729
33882
|
return _c('div', {
|
|
33730
33883
|
staticClass: "ai_question_contain"
|
|
33731
33884
|
}, [_c('div', {
|
|
33885
|
+
staticClass: "question_header"
|
|
33886
|
+
}, [_c('div', {
|
|
33887
|
+
staticClass: "question_header_left"
|
|
33888
|
+
}, [_c('el-checkbox', {
|
|
33889
|
+
attrs: {
|
|
33890
|
+
"disabled": _vm.isJoined || _vm.joined
|
|
33891
|
+
},
|
|
33892
|
+
on: {
|
|
33893
|
+
"change": _vm.handleSelectionChange
|
|
33894
|
+
},
|
|
33895
|
+
model: {
|
|
33896
|
+
value: _vm.isSelected,
|
|
33897
|
+
callback: function ($$v) {
|
|
33898
|
+
_vm.isSelected = $$v;
|
|
33899
|
+
},
|
|
33900
|
+
expression: "isSelected"
|
|
33901
|
+
}
|
|
33902
|
+
}), _c('span', {
|
|
33903
|
+
staticClass: "type-name",
|
|
33904
|
+
class: _vm.getTypeClass(_vm.detail.type)
|
|
33905
|
+
}, [_vm._v(_vm._s(_vm.getQuestionTypeName(_vm.detail.type)))])], 1), !_vm.joined && !_vm.isJoined ? _c('span', {
|
|
33906
|
+
staticClass: "join",
|
|
33907
|
+
on: {
|
|
33908
|
+
"click": _vm.join
|
|
33909
|
+
}
|
|
33910
|
+
}, [_vm._v("+ 加入题库")]) : _vm._e()]), _c('div', {
|
|
33732
33911
|
staticClass: "question_contain_title"
|
|
33733
33912
|
}, [_c('span', {
|
|
33734
33913
|
staticClass: "question_contain_title_left"
|
|
@@ -33769,6 +33948,8 @@ var questionItemvue_type_template_id_22783872_scoped_true_render = function rend
|
|
|
33769
33948
|
key: idx
|
|
33770
33949
|
}, [_c('span', [_vm._v(_vm._s(item))])]);
|
|
33771
33950
|
}), 0) : _vm._e(), _c('div', {
|
|
33951
|
+
staticClass: "question_answer_info"
|
|
33952
|
+
}, [_c('div', {
|
|
33772
33953
|
staticClass: "question_contain_answer"
|
|
33773
33954
|
}, [_vm._v("参考答案: "), _c('span', {
|
|
33774
33955
|
domProps: {
|
|
@@ -33778,16 +33959,15 @@ var questionItemvue_type_template_id_22783872_scoped_true_render = function rend
|
|
|
33778
33959
|
staticClass: "question_contain_parse"
|
|
33779
33960
|
}, [_c('span', {
|
|
33780
33961
|
staticClass: "question_contain_parse_analysis"
|
|
33781
|
-
}, [
|
|
33782
|
-
|
|
33783
|
-
|
|
33784
|
-
"click": _vm.join
|
|
33962
|
+
}, [_c('span', {
|
|
33963
|
+
staticStyle: {
|
|
33964
|
+
"font-weight": "bold"
|
|
33785
33965
|
}
|
|
33786
|
-
}, [_vm._v("
|
|
33966
|
+
}, [_vm._v("题目解析:")]), _vm._v(" " + _vm._s(_vm.detail.analysis))])])])]);
|
|
33787
33967
|
};
|
|
33788
|
-
var
|
|
33968
|
+
var questionItemvue_type_template_id_088e6bea_scoped_true_staticRenderFns = [];
|
|
33789
33969
|
|
|
33790
|
-
;// CONCATENATED MODULE: ./components/demo/src/questionItem.vue?vue&type=template&id=
|
|
33970
|
+
;// CONCATENATED MODULE: ./components/demo/src/questionItem.vue?vue&type=template&id=088e6bea&scoped=true
|
|
33791
33971
|
|
|
33792
33972
|
;// 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
|
|
33793
33973
|
/* harmony default export */ var questionItemvue_type_script_lang_js = ({
|
|
@@ -33799,6 +33979,10 @@ var questionItemvue_type_template_id_22783872_scoped_true_staticRenderFns = [];
|
|
|
33799
33979
|
},
|
|
33800
33980
|
index: {
|
|
33801
33981
|
type: Number
|
|
33982
|
+
},
|
|
33983
|
+
isJoined: {
|
|
33984
|
+
type: Boolean,
|
|
33985
|
+
default: false
|
|
33802
33986
|
}
|
|
33803
33987
|
},
|
|
33804
33988
|
data() {
|
|
@@ -33847,24 +34031,64 @@ var questionItemvue_type_template_id_22783872_scoped_true_staticRenderFns = [];
|
|
|
33847
34031
|
name: 'I',
|
|
33848
34032
|
id: 8
|
|
33849
34033
|
}],
|
|
33850
|
-
joined: false
|
|
34034
|
+
joined: false,
|
|
34035
|
+
isSelected: false
|
|
33851
34036
|
};
|
|
33852
34037
|
},
|
|
33853
34038
|
methods: {
|
|
33854
34039
|
agree(e) {
|
|
33855
34040
|
this.$emit('agree', this.index, e);
|
|
33856
34041
|
},
|
|
33857
|
-
join(
|
|
34042
|
+
join() {
|
|
33858
34043
|
this.$emit('join', this.detail);
|
|
33859
34044
|
this.joined = true;
|
|
34045
|
+
// 当加入题库后,自动取消选中状态
|
|
34046
|
+
if (this.isSelected) {
|
|
34047
|
+
this.isSelected = false;
|
|
34048
|
+
this.handleSelectionChange(false);
|
|
34049
|
+
}
|
|
34050
|
+
},
|
|
34051
|
+
// 获取题目类型中文名称
|
|
34052
|
+
getQuestionTypeName(type) {
|
|
34053
|
+
const typeMap = {
|
|
34054
|
+
single: '单选题',
|
|
34055
|
+
multiple: '多选题',
|
|
34056
|
+
gapfilling: '填空题',
|
|
34057
|
+
judge: '判断题',
|
|
34058
|
+
shortanswer: '简答题'
|
|
34059
|
+
};
|
|
34060
|
+
return typeMap[type] || type;
|
|
34061
|
+
},
|
|
34062
|
+
// 获取题目类型样式类
|
|
34063
|
+
getTypeClass(type) {
|
|
34064
|
+
const classMap = {
|
|
34065
|
+
single: 'type-single',
|
|
34066
|
+
multiple: 'type-multiple',
|
|
34067
|
+
gapfilling: 'type-gapfilling',
|
|
34068
|
+
judge: 'type-judge',
|
|
34069
|
+
shortanswer: 'type-shortanswer'
|
|
34070
|
+
};
|
|
34071
|
+
return classMap[type] || '';
|
|
34072
|
+
},
|
|
34073
|
+
// 处理选择变化
|
|
34074
|
+
handleSelectionChange(value) {
|
|
34075
|
+
this.$emit('selectionChange', {
|
|
34076
|
+
index: this.index,
|
|
34077
|
+
selected: value,
|
|
34078
|
+
detail: this.detail
|
|
34079
|
+
});
|
|
34080
|
+
},
|
|
34081
|
+
// 清空选中状态 - 供父组件调用
|
|
34082
|
+
clearSelection() {
|
|
34083
|
+
this.isSelected = false;
|
|
33860
34084
|
}
|
|
33861
34085
|
}
|
|
33862
34086
|
});
|
|
33863
34087
|
;// CONCATENATED MODULE: ./components/demo/src/questionItem.vue?vue&type=script&lang=js
|
|
33864
34088
|
/* harmony default export */ var src_questionItemvue_type_script_lang_js = (questionItemvue_type_script_lang_js);
|
|
33865
|
-
// 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=
|
|
33866
|
-
var
|
|
33867
|
-
;// CONCATENATED MODULE: ./components/demo/src/questionItem.vue?vue&type=style&index=0&id=
|
|
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=088e6bea&prod&lang=scss&scoped=true
|
|
34090
|
+
var questionItemvue_type_style_index_0_id_088e6bea_prod_lang_scss_scoped_true = __webpack_require__(4764);
|
|
34091
|
+
;// CONCATENATED MODULE: ./components/demo/src/questionItem.vue?vue&type=style&index=0&id=088e6bea&prod&lang=scss&scoped=true
|
|
33868
34092
|
|
|
33869
34093
|
;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
33870
34094
|
/* globals __VUE_SSR_CONTEXT__ */
|
|
@@ -33975,18 +34199,18 @@ function normalizeComponent(
|
|
|
33975
34199
|
|
|
33976
34200
|
var component = normalizeComponent(
|
|
33977
34201
|
src_questionItemvue_type_script_lang_js,
|
|
33978
|
-
|
|
33979
|
-
|
|
34202
|
+
questionItemvue_type_template_id_088e6bea_scoped_true_render,
|
|
34203
|
+
questionItemvue_type_template_id_088e6bea_scoped_true_staticRenderFns,
|
|
33980
34204
|
false,
|
|
33981
34205
|
null,
|
|
33982
|
-
"
|
|
34206
|
+
"088e6bea",
|
|
33983
34207
|
null
|
|
33984
34208
|
|
|
33985
34209
|
)
|
|
33986
34210
|
|
|
33987
34211
|
/* harmony default export */ var questionItem = (component.exports);
|
|
33988
|
-
;// 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/CyTreeSelect.vue?vue&type=template&id=
|
|
33989
|
-
var
|
|
34212
|
+
;// 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/CyTreeSelect.vue?vue&type=template&id=2970df77
|
|
34213
|
+
var CyTreeSelectvue_type_template_id_2970df77_render = function render() {
|
|
33990
34214
|
var _vm = this,
|
|
33991
34215
|
_c = _vm._self._c;
|
|
33992
34216
|
return _c('el-select', {
|
|
@@ -34035,7 +34259,7 @@ var CyTreeSelectvue_type_template_id_401ae6ac_render = function render() {
|
|
|
34035
34259
|
}
|
|
34036
34260
|
})], 1)], 1);
|
|
34037
34261
|
};
|
|
34038
|
-
var
|
|
34262
|
+
var CyTreeSelectvue_type_template_id_2970df77_staticRenderFns = [];
|
|
34039
34263
|
|
|
34040
34264
|
;// 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/CyTreeSelect.vue?vue&type=script&lang=js
|
|
34041
34265
|
/* harmony default export */ var CyTreeSelectvue_type_script_lang_js = ({
|
|
@@ -34186,9 +34410,9 @@ var CyTreeSelectvue_type_template_id_401ae6ac_staticRenderFns = [];
|
|
|
34186
34410
|
});
|
|
34187
34411
|
;// CONCATENATED MODULE: ./components/demo/src/CyTreeSelect.vue?vue&type=script&lang=js
|
|
34188
34412
|
/* harmony default export */ var src_CyTreeSelectvue_type_script_lang_js = (CyTreeSelectvue_type_script_lang_js);
|
|
34189
|
-
// 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/CyTreeSelect.vue?vue&type=style&index=0&id=
|
|
34190
|
-
var
|
|
34191
|
-
;// CONCATENATED MODULE: ./components/demo/src/CyTreeSelect.vue?vue&type=style&index=0&id=
|
|
34413
|
+
// 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/CyTreeSelect.vue?vue&type=style&index=0&id=2970df77&prod&lang=scss
|
|
34414
|
+
var CyTreeSelectvue_type_style_index_0_id_2970df77_prod_lang_scss = __webpack_require__(5025);
|
|
34415
|
+
;// CONCATENATED MODULE: ./components/demo/src/CyTreeSelect.vue?vue&type=style&index=0&id=2970df77&prod&lang=scss
|
|
34192
34416
|
|
|
34193
34417
|
;// CONCATENATED MODULE: ./components/demo/src/CyTreeSelect.vue
|
|
34194
34418
|
|
|
@@ -34201,8 +34425,8 @@ var CyTreeSelectvue_type_style_index_0_id_401ae6ac_prod_lang_scss = __webpack_re
|
|
|
34201
34425
|
|
|
34202
34426
|
var CyTreeSelect_component = normalizeComponent(
|
|
34203
34427
|
src_CyTreeSelectvue_type_script_lang_js,
|
|
34204
|
-
|
|
34205
|
-
|
|
34428
|
+
CyTreeSelectvue_type_template_id_2970df77_render,
|
|
34429
|
+
CyTreeSelectvue_type_template_id_2970df77_staticRenderFns,
|
|
34206
34430
|
false,
|
|
34207
34431
|
null,
|
|
34208
34432
|
null,
|
|
@@ -37852,23 +38076,12 @@ const createBurial = data => {
|
|
|
37852
38076
|
;// 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/main.vue?vue&type=script&lang=js
|
|
37853
38077
|
|
|
37854
38078
|
|
|
37855
|
-
|
|
37856
|
-
// Button, Drawer, Form, FormItem, Checkbox, CheckboxGroup, Input, Cascader, Dialog, Loading, this.$message
|
|
37857
|
-
// } from "element-ui"
|
|
38079
|
+
|
|
37858
38080
|
|
|
37859
38081
|
|
|
37860
38082
|
/* harmony default export */ var mainvue_type_script_lang_js = ({
|
|
37861
38083
|
name: 'aiQuestion',
|
|
37862
38084
|
components: {
|
|
37863
|
-
// 'el-button': Button,
|
|
37864
|
-
// 'el-drawer': Drawer,
|
|
37865
|
-
// 'el-form': Form,
|
|
37866
|
-
// 'el-form-item': FormItem,
|
|
37867
|
-
// 'el-checkbox': Checkbox,
|
|
37868
|
-
// 'el-checkbox-group': CheckboxGroup,
|
|
37869
|
-
// 'el-input': Input,
|
|
37870
|
-
// 'el-cascader': Cascader,
|
|
37871
|
-
// 'el-dialog': Dialog,
|
|
37872
38085
|
questionItem: questionItem,
|
|
37873
38086
|
CyTreeSelect: CyTreeSelect
|
|
37874
38087
|
},
|
|
@@ -37915,7 +38128,7 @@ const createBurial = data => {
|
|
|
37915
38128
|
},
|
|
37916
38129
|
businessSource: {
|
|
37917
38130
|
type: String,
|
|
37918
|
-
default: "0"
|
|
38131
|
+
default: "0"
|
|
37919
38132
|
},
|
|
37920
38133
|
courseId: {
|
|
37921
38134
|
type: String,
|
|
@@ -37930,14 +38143,31 @@ const createBurial = data => {
|
|
|
37930
38143
|
direction: 'rtl',
|
|
37931
38144
|
rebuildFlag: true,
|
|
37932
38145
|
form: {
|
|
37933
|
-
|
|
37934
|
-
|
|
37935
|
-
|
|
37936
|
-
|
|
38146
|
+
selectedTypes: {
|
|
38147
|
+
single: false,
|
|
38148
|
+
multiple: false,
|
|
38149
|
+
judge: false,
|
|
38150
|
+
gapfilling: false,
|
|
38151
|
+
shortanswer: false
|
|
38152
|
+
},
|
|
38153
|
+
typeCounts: {
|
|
38154
|
+
single: null,
|
|
38155
|
+
multiple: null,
|
|
38156
|
+
judge: null,
|
|
38157
|
+
gapfilling: null,
|
|
38158
|
+
shortanswer: null
|
|
38159
|
+
},
|
|
38160
|
+
typeDifficulties: {
|
|
38161
|
+
single: 0,
|
|
38162
|
+
multiple: 0,
|
|
38163
|
+
judge: 0,
|
|
38164
|
+
gapfilling: 0,
|
|
38165
|
+
shortanswer: 0
|
|
38166
|
+
},
|
|
37937
38167
|
knowledgeIds: '',
|
|
37938
|
-
|
|
37939
|
-
|
|
37940
|
-
|
|
38168
|
+
knowledgeId: [],
|
|
38169
|
+
knowledge: [],
|
|
38170
|
+
prompt: ''
|
|
37941
38171
|
},
|
|
37942
38172
|
quesTypeList: [{
|
|
37943
38173
|
name: '单选题',
|
|
@@ -37945,18 +38175,18 @@ const createBurial = data => {
|
|
|
37945
38175
|
}, {
|
|
37946
38176
|
name: '多选题',
|
|
37947
38177
|
id: 'multiple'
|
|
37948
|
-
}, {
|
|
37949
|
-
name: '判断题',
|
|
37950
|
-
id: 'judge'
|
|
37951
38178
|
}, {
|
|
37952
38179
|
name: '填空题',
|
|
37953
38180
|
id: 'gapfilling'
|
|
38181
|
+
}, {
|
|
38182
|
+
name: '判断题',
|
|
38183
|
+
id: 'judge'
|
|
37954
38184
|
}, {
|
|
37955
38185
|
name: '简答题',
|
|
37956
38186
|
id: 'shortanswer'
|
|
37957
38187
|
}],
|
|
37958
38188
|
difficultyList: [{
|
|
37959
|
-
name: '
|
|
38189
|
+
name: '超级简单',
|
|
37960
38190
|
id: 0
|
|
37961
38191
|
}, {
|
|
37962
38192
|
name: '简单',
|
|
@@ -37971,41 +38201,14 @@ const createBurial = data => {
|
|
|
37971
38201
|
name: '非常困难',
|
|
37972
38202
|
id: 4
|
|
37973
38203
|
}],
|
|
37974
|
-
rules: {
|
|
37975
|
-
questionTypes: [{
|
|
37976
|
-
required: true,
|
|
37977
|
-
message: '此项必填',
|
|
37978
|
-
trigger: 'change'
|
|
37979
|
-
}],
|
|
37980
|
-
questionType: [{
|
|
37981
|
-
required: true,
|
|
37982
|
-
message: '此项必填',
|
|
37983
|
-
trigger: 'change'
|
|
37984
|
-
}],
|
|
37985
|
-
count: [{
|
|
37986
|
-
required: true,
|
|
37987
|
-
message: '此项必填',
|
|
37988
|
-
trigger: 'blur'
|
|
37989
|
-
}],
|
|
37990
|
-
knowledgeIds: [{
|
|
37991
|
-
required: true,
|
|
37992
|
-
message: '此项必填',
|
|
37993
|
-
trigger: 'change'
|
|
37994
|
-
}],
|
|
37995
|
-
difficultys: [{
|
|
37996
|
-
required: true,
|
|
37997
|
-
message: '此项必填',
|
|
37998
|
-
trigger: 'change'
|
|
37999
|
-
}],
|
|
38000
|
-
difficulty: [{
|
|
38001
|
-
required: true,
|
|
38002
|
-
message: '此项必填',
|
|
38003
|
-
trigger: 'change'
|
|
38004
|
-
}]
|
|
38005
|
-
},
|
|
38006
38204
|
loading: null,
|
|
38007
38205
|
aiResponse: {},
|
|
38008
|
-
title: '单选题'
|
|
38206
|
+
title: '单选题',
|
|
38207
|
+
dropdownVisible: false,
|
|
38208
|
+
currentBot: 'tongyi',
|
|
38209
|
+
selectedQuestions: [],
|
|
38210
|
+
// 存储选中的题目
|
|
38211
|
+
joinedQuestions: [] // 存储已加入题库的题目索引
|
|
38009
38212
|
};
|
|
38010
38213
|
},
|
|
38011
38214
|
watch: {
|
|
@@ -38039,38 +38242,59 @@ const createBurial = data => {
|
|
|
38039
38242
|
}
|
|
38040
38243
|
},
|
|
38041
38244
|
methods: {
|
|
38042
|
-
|
|
38043
|
-
|
|
38044
|
-
|
|
38045
|
-
|
|
38046
|
-
|
|
38245
|
+
// 处理题目类型选择变化
|
|
38246
|
+
handleTypeChange(typeId) {
|
|
38247
|
+
// 可以在这里添加额外的逻辑
|
|
38248
|
+
},
|
|
38249
|
+
// 处理数量变化,自动选中题目类型
|
|
38250
|
+
handleCountChange(typeId) {
|
|
38251
|
+
if (this.form.typeCounts[typeId] && this.form.typeCounts[typeId] > 0) {
|
|
38252
|
+
this.form.selectedTypes[typeId] = true;
|
|
38253
|
+
}
|
|
38254
|
+
},
|
|
38255
|
+
// 处理难度变化,自动选中题目类型
|
|
38256
|
+
handleDifficultyChange(typeId) {
|
|
38257
|
+
this.form.selectedTypes[typeId] = true;
|
|
38258
|
+
},
|
|
38259
|
+
// 处理数量输入验证
|
|
38260
|
+
handleCountInput(typeId) {
|
|
38261
|
+
let inputValue = this.form.typeCounts[typeId];
|
|
38262
|
+
|
|
38263
|
+
// 如果输入为空,允许为空
|
|
38264
|
+
if (inputValue === '' || inputValue === null || inputValue === undefined) {
|
|
38265
|
+
return;
|
|
38266
|
+
}
|
|
38267
|
+
let value = parseInt(inputValue);
|
|
38268
|
+
if (isNaN(value) || value < 1) {
|
|
38269
|
+
this.form.typeCounts[typeId] = 1;
|
|
38047
38270
|
} else if (value > 10) {
|
|
38048
|
-
this.form.
|
|
38271
|
+
this.form.typeCounts[typeId] = 10;
|
|
38049
38272
|
} else {
|
|
38050
|
-
this.form.
|
|
38273
|
+
this.form.typeCounts[typeId] = value;
|
|
38051
38274
|
}
|
|
38052
38275
|
},
|
|
38053
|
-
|
|
38054
|
-
|
|
38055
|
-
|
|
38056
|
-
|
|
38057
|
-
|
|
38276
|
+
// 获取题目类型的样式类
|
|
38277
|
+
getTypeClass(typeId) {
|
|
38278
|
+
const classMap = {
|
|
38279
|
+
single: 'type-single',
|
|
38280
|
+
multiple: 'type-multiple',
|
|
38281
|
+
gapfilling: 'type-gapfilling',
|
|
38282
|
+
judge: 'type-judge',
|
|
38283
|
+
shortanswer: 'type-shortanswer'
|
|
38284
|
+
};
|
|
38285
|
+
return classMap[typeId] || '';
|
|
38286
|
+
},
|
|
38287
|
+
// 获取难度标签
|
|
38288
|
+
getDifficultyLabel(difficultyId) {
|
|
38289
|
+
const difficulty = this.difficultyList.find(item => item.id === difficultyId);
|
|
38290
|
+
return difficulty ? difficulty.name : '一般';
|
|
38058
38291
|
},
|
|
38059
38292
|
//展示右边弹框
|
|
38060
38293
|
showAddQuestion() {
|
|
38061
38294
|
if (!api.get("AiToken")) {
|
|
38062
38295
|
return this.$message.warning('未获取到登录信息,请重新登录');
|
|
38063
38296
|
}
|
|
38064
|
-
this.
|
|
38065
|
-
questionTypes: [],
|
|
38066
|
-
questionType: null,
|
|
38067
|
-
count: 1,
|
|
38068
|
-
knowledgeId: [],
|
|
38069
|
-
knowledgeIds: '',
|
|
38070
|
-
difficultys: [],
|
|
38071
|
-
difficulty: null,
|
|
38072
|
-
knowledge: []
|
|
38073
|
-
};
|
|
38297
|
+
this.resetForm();
|
|
38074
38298
|
this.addShow = !this.addShow;
|
|
38075
38299
|
createBurial({
|
|
38076
38300
|
businessType: 3,
|
|
@@ -38079,36 +38303,82 @@ const createBurial = data => {
|
|
|
38079
38303
|
courseId: this.courseId
|
|
38080
38304
|
});
|
|
38081
38305
|
},
|
|
38306
|
+
// 重置表单
|
|
38307
|
+
resetForm() {
|
|
38308
|
+
this.form = {
|
|
38309
|
+
selectedTypes: {
|
|
38310
|
+
single: false,
|
|
38311
|
+
multiple: false,
|
|
38312
|
+
judge: false,
|
|
38313
|
+
gapfilling: false,
|
|
38314
|
+
shortanswer: false
|
|
38315
|
+
},
|
|
38316
|
+
typeCounts: {
|
|
38317
|
+
single: null,
|
|
38318
|
+
multiple: null,
|
|
38319
|
+
judge: null,
|
|
38320
|
+
gapfilling: null,
|
|
38321
|
+
shortanswer: null
|
|
38322
|
+
},
|
|
38323
|
+
typeDifficulties: {
|
|
38324
|
+
single: 0,
|
|
38325
|
+
multiple: 0,
|
|
38326
|
+
judge: 0,
|
|
38327
|
+
gapfilling: 0,
|
|
38328
|
+
shortanswer: 0
|
|
38329
|
+
},
|
|
38330
|
+
knowledgeIds: '',
|
|
38331
|
+
knowledgeId: [],
|
|
38332
|
+
knowledge: [],
|
|
38333
|
+
prompt: ''
|
|
38334
|
+
};
|
|
38335
|
+
},
|
|
38082
38336
|
//生成题目
|
|
38083
38337
|
generate() {
|
|
38084
|
-
|
|
38085
|
-
|
|
38086
|
-
|
|
38087
|
-
|
|
38088
|
-
|
|
38089
|
-
|
|
38090
|
-
|
|
38091
|
-
|
|
38092
|
-
|
|
38093
|
-
|
|
38094
|
-
|
|
38095
|
-
|
|
38096
|
-
|
|
38097
|
-
|
|
38098
|
-
|
|
38099
|
-
this.sendPost();
|
|
38100
|
-
this.$emit("questionCount", this.form.count);
|
|
38101
|
-
}
|
|
38338
|
+
// 验证是否选择了题目类型
|
|
38339
|
+
const selectedTypes = Object.keys(this.form.selectedTypes).filter(key => this.form.selectedTypes[key]);
|
|
38340
|
+
if (selectedTypes.length === 0) {
|
|
38341
|
+
return this.$message.warning('请至少选择一种题目类型');
|
|
38342
|
+
}
|
|
38343
|
+
|
|
38344
|
+
// 验证是否选择了知识点
|
|
38345
|
+
if (!this.form.knowledgeIds) {
|
|
38346
|
+
return this.$message.warning('请选择关联知识点');
|
|
38347
|
+
}
|
|
38348
|
+
|
|
38349
|
+
// 处理知识点数据
|
|
38350
|
+
this.form.knowledgeId = this.form.knowledgeIds.split(',');
|
|
38351
|
+
this.form.knowledgeId.forEach(item => {
|
|
38352
|
+
this.getKnowledgeName(item, this.knowledgeList);
|
|
38102
38353
|
});
|
|
38354
|
+
|
|
38355
|
+
// 设置标题
|
|
38356
|
+
if (selectedTypes.length > 1) {
|
|
38357
|
+
this.title = '多类题';
|
|
38358
|
+
} else {
|
|
38359
|
+
this.title = this.quesTypeList.find(item => item.id === selectedTypes[0]).name;
|
|
38360
|
+
}
|
|
38361
|
+
this.showQues = true;
|
|
38362
|
+
this.addShow = !this.addShow;
|
|
38363
|
+
this.sendPost();
|
|
38364
|
+
|
|
38365
|
+
// 计算总题目数量
|
|
38366
|
+
const totalCount = selectedTypes.reduce((sum, type) => sum + this.form.typeCounts[type], 0);
|
|
38367
|
+
this.$emit("questionCount", totalCount);
|
|
38103
38368
|
},
|
|
38104
38369
|
//重新生成
|
|
38105
38370
|
rebuild() {
|
|
38371
|
+
// 重新生成时清空已加入题库的状态
|
|
38372
|
+
this.joinedQuestions = [];
|
|
38373
|
+
this.selectedQuestions = [];
|
|
38106
38374
|
this.sendPost();
|
|
38107
38375
|
},
|
|
38108
38376
|
showGenerateResult() {
|
|
38109
38377
|
this.generateCount++;
|
|
38110
|
-
|
|
38111
|
-
|
|
38378
|
+
const selectedTypes = Object.keys(this.form.selectedTypes).filter(key => this.form.selectedTypes[key]);
|
|
38379
|
+
const totalCount = selectedTypes.reduce((sum, type) => sum + this.form.typeCounts[type], 0);
|
|
38380
|
+
if (this.generateCount == totalCount) {
|
|
38381
|
+
this.$message.success('题目(' + totalCount + '道)全部生成完毕!');
|
|
38112
38382
|
this.rebuildFlag = false;
|
|
38113
38383
|
} else {
|
|
38114
38384
|
this.$message.success('生成' + this.generateCount + '道题目成功');
|
|
@@ -38124,19 +38394,22 @@ const createBurial = data => {
|
|
|
38124
38394
|
target: '.el-dialog',
|
|
38125
38395
|
text: 'AI生成中...'
|
|
38126
38396
|
});
|
|
38397
|
+
const selectedTypes = Object.keys(this.form.selectedTypes).filter(key => this.form.selectedTypes[key]);
|
|
38398
|
+
const questionTypes = selectedTypes;
|
|
38399
|
+
const difficultys = selectedTypes.map(type => this.form.typeDifficulties[type]);
|
|
38127
38400
|
let obj = {
|
|
38128
38401
|
modelType: 'aliyun',
|
|
38129
38402
|
questionAddCmd: {
|
|
38130
|
-
questionTypes:
|
|
38131
|
-
// count: this.form.count,
|
|
38403
|
+
questionTypes: questionTypes,
|
|
38132
38404
|
count: 1,
|
|
38133
38405
|
knowledge: this.form.knowledge.join(' '),
|
|
38134
38406
|
knowledgeId: this.form.knowledgeId[this.form.knowledgeId.length - 1],
|
|
38135
|
-
difficultys:
|
|
38407
|
+
difficultys: difficultys,
|
|
38136
38408
|
prompt: this.form.prompt
|
|
38137
38409
|
},
|
|
38138
38410
|
sessionId: this.aiResponse.sessionId ? this.aiResponse.sessionId : '',
|
|
38139
|
-
businessSource: this.businessSource
|
|
38411
|
+
businessSource: this.businessSource,
|
|
38412
|
+
courseId: this.courseId
|
|
38140
38413
|
};
|
|
38141
38414
|
getAiQuestion(obj).then(res => {
|
|
38142
38415
|
if (res.success) {
|
|
@@ -38175,7 +38448,6 @@ const createBurial = data => {
|
|
|
38175
38448
|
this.postQuestion();
|
|
38176
38449
|
}
|
|
38177
38450
|
});
|
|
38178
|
-
// this.postQuestion();
|
|
38179
38451
|
},
|
|
38180
38452
|
postQuestion() {
|
|
38181
38453
|
this.rebuildFlag = true;
|
|
@@ -38186,55 +38458,61 @@ const createBurial = data => {
|
|
|
38186
38458
|
target: '.el-dialog',
|
|
38187
38459
|
text: 'AI生成中...'
|
|
38188
38460
|
});
|
|
38189
|
-
|
|
38190
|
-
|
|
38191
|
-
|
|
38192
|
-
|
|
38193
|
-
|
|
38194
|
-
|
|
38195
|
-
|
|
38196
|
-
|
|
38197
|
-
|
|
38198
|
-
|
|
38199
|
-
|
|
38200
|
-
|
|
38201
|
-
|
|
38202
|
-
|
|
38203
|
-
|
|
38204
|
-
|
|
38205
|
-
|
|
38206
|
-
|
|
38207
|
-
|
|
38208
|
-
|
|
38209
|
-
|
|
38210
|
-
|
|
38211
|
-
|
|
38212
|
-
|
|
38213
|
-
|
|
38214
|
-
|
|
38215
|
-
|
|
38216
|
-
|
|
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();
|
|
38217
38499
|
} else {
|
|
38218
|
-
this.
|
|
38500
|
+
this.$message.warning('题目获取失败,重新生成中...');
|
|
38501
|
+
return this.reSend();
|
|
38219
38502
|
}
|
|
38220
|
-
this.$set(res.data.questions[0], 'evaluate', 0);
|
|
38221
|
-
this.showGenerateResult();
|
|
38222
38503
|
} else {
|
|
38223
|
-
this
|
|
38224
|
-
|
|
38504
|
+
this.loading && this.loading.close();
|
|
38505
|
+
this.$message.warning('题目获取失败');
|
|
38506
|
+
this.rebuildFlag = false;
|
|
38225
38507
|
}
|
|
38226
|
-
}
|
|
38508
|
+
}).catch(error => {
|
|
38509
|
+
console.log("error:" + error);
|
|
38227
38510
|
this.loading && this.loading.close();
|
|
38228
38511
|
this.$message.warning('题目获取失败');
|
|
38229
38512
|
this.rebuildFlag = false;
|
|
38230
|
-
}
|
|
38231
|
-
}
|
|
38232
|
-
|
|
38233
|
-
this.loading && this.loading.close();
|
|
38234
|
-
this.$message.warning('题目获取失败');
|
|
38235
|
-
this.rebuildFlag = false;
|
|
38236
|
-
});
|
|
38237
|
-
}
|
|
38513
|
+
});
|
|
38514
|
+
}
|
|
38515
|
+
});
|
|
38238
38516
|
},
|
|
38239
38517
|
//获取知识点名称
|
|
38240
38518
|
getKnowledgeName(e, array) {
|
|
@@ -38253,7 +38531,9 @@ const createBurial = data => {
|
|
|
38253
38531
|
modelType: 'aliyun',
|
|
38254
38532
|
...this.aiResponse
|
|
38255
38533
|
};
|
|
38256
|
-
agreeQuestion(obj).then(res => {
|
|
38534
|
+
agreeQuestion(obj).then(res => {
|
|
38535
|
+
// 处理响应
|
|
38536
|
+
}).catch(error => {
|
|
38257
38537
|
console.log(error);
|
|
38258
38538
|
});
|
|
38259
38539
|
},
|
|
@@ -38263,18 +38543,118 @@ const createBurial = data => {
|
|
|
38263
38543
|
...e,
|
|
38264
38544
|
knowledgePointsId: this.form.knowledgeId[this.form.knowledgeId.length - 1]
|
|
38265
38545
|
});
|
|
38546
|
+
|
|
38547
|
+
// 当单个题目加入题库后,从选中列表中移除该题目
|
|
38548
|
+
const questionIndex = this.aiResponse.questions.findIndex(q => q === e);
|
|
38549
|
+
if (questionIndex !== -1) {
|
|
38550
|
+
this.selectedQuestions = this.selectedQuestions.filter(q => q.index !== questionIndex);
|
|
38551
|
+
|
|
38552
|
+
// 将题目索引添加到已加入题库列表
|
|
38553
|
+
if (!this.joinedQuestions.includes(questionIndex)) {
|
|
38554
|
+
this.joinedQuestions.push(questionIndex);
|
|
38555
|
+
}
|
|
38556
|
+
}
|
|
38557
|
+
},
|
|
38558
|
+
selectBot(bot) {
|
|
38559
|
+
this.currentBot = bot;
|
|
38560
|
+
this.dropdownVisible = false;
|
|
38561
|
+
},
|
|
38562
|
+
// 处理题目选择变化
|
|
38563
|
+
handleQuestionSelection(data) {
|
|
38564
|
+
const {
|
|
38565
|
+
index,
|
|
38566
|
+
selected,
|
|
38567
|
+
detail
|
|
38568
|
+
} = data;
|
|
38569
|
+
if (selected) {
|
|
38570
|
+
// 添加到选中列表
|
|
38571
|
+
if (!this.selectedQuestions.find(q => q.index === index)) {
|
|
38572
|
+
this.selectedQuestions.push({
|
|
38573
|
+
index,
|
|
38574
|
+
detail
|
|
38575
|
+
});
|
|
38576
|
+
}
|
|
38577
|
+
} else {
|
|
38578
|
+
// 从选中列表移除
|
|
38579
|
+
this.selectedQuestions = this.selectedQuestions.filter(q => q.index !== index);
|
|
38580
|
+
}
|
|
38581
|
+
},
|
|
38582
|
+
// 获取题目类型统计
|
|
38583
|
+
getQuestionTypeSummary() {
|
|
38584
|
+
if (!this.aiResponse.questions || this.aiResponse.questions.length === 0) {
|
|
38585
|
+
return [];
|
|
38586
|
+
}
|
|
38587
|
+
const typeCounts = {};
|
|
38588
|
+
const typeNameMap = {
|
|
38589
|
+
single: '单选题',
|
|
38590
|
+
multiple: '多选题',
|
|
38591
|
+
gapfilling: '填空题',
|
|
38592
|
+
judge: '判断题',
|
|
38593
|
+
shortanswer: '简答题'
|
|
38594
|
+
};
|
|
38595
|
+
|
|
38596
|
+
// 统计各类型题目数量
|
|
38597
|
+
this.aiResponse.questions.forEach(question => {
|
|
38598
|
+
const type = question.type || 'single'; // 默认为单选题
|
|
38599
|
+
typeCounts[type] = (typeCounts[type] || 0) + 1;
|
|
38600
|
+
});
|
|
38601
|
+
|
|
38602
|
+
// 转换为显示格式
|
|
38603
|
+
return Object.keys(typeCounts).map(typeId => ({
|
|
38604
|
+
id: typeId,
|
|
38605
|
+
name: typeNameMap[typeId] || typeId,
|
|
38606
|
+
count: typeCounts[typeId]
|
|
38607
|
+
}));
|
|
38608
|
+
},
|
|
38609
|
+
// 批量加入题库
|
|
38610
|
+
addAllToBank() {
|
|
38611
|
+
if (this.selectedQuestions.length === 0) {
|
|
38612
|
+
return this.$message.warning('请先选择要加入题库的题目');
|
|
38613
|
+
}
|
|
38614
|
+
|
|
38615
|
+
// 批量加入选中的题目到题库
|
|
38616
|
+
this.selectedQuestions.forEach(({
|
|
38617
|
+
index,
|
|
38618
|
+
detail
|
|
38619
|
+
}) => {
|
|
38620
|
+
// 调用单个题目的加入题库方法
|
|
38621
|
+
this.$emit('joinQuestionBank', {
|
|
38622
|
+
...detail,
|
|
38623
|
+
knowledgePointsId: this.form.knowledgeId[this.form.knowledgeId.length - 1]
|
|
38624
|
+
});
|
|
38625
|
+
|
|
38626
|
+
// 将题目索引添加到已加入题库列表
|
|
38627
|
+
if (!this.joinedQuestions.includes(index)) {
|
|
38628
|
+
this.joinedQuestions.push(index);
|
|
38629
|
+
}
|
|
38630
|
+
|
|
38631
|
+
// 直接调用子组件方法清空选中状态
|
|
38632
|
+
this.$nextTick(() => {
|
|
38633
|
+
const questionItemRef = this.$refs[`questionItem_${index}`];
|
|
38634
|
+
if (questionItemRef) {
|
|
38635
|
+
// 如果是数组,取第一个元素;如果不是数组,直接使用
|
|
38636
|
+
const componentInstance = Array.isArray(questionItemRef) ? questionItemRef[0] : questionItemRef;
|
|
38637
|
+
if (componentInstance && componentInstance.clearSelection) {
|
|
38638
|
+
componentInstance.clearSelection();
|
|
38639
|
+
}
|
|
38640
|
+
}
|
|
38641
|
+
});
|
|
38642
|
+
});
|
|
38643
|
+
|
|
38644
|
+
// 清空选中状态
|
|
38645
|
+
this.selectedQuestions = [];
|
|
38266
38646
|
}
|
|
38267
38647
|
}
|
|
38268
38648
|
});
|
|
38269
38649
|
;// CONCATENATED MODULE: ./components/demo/src/main.vue?vue&type=script&lang=js
|
|
38270
38650
|
/* harmony default export */ var src_mainvue_type_script_lang_js = (mainvue_type_script_lang_js);
|
|
38271
|
-
// 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=
|
|
38272
|
-
var
|
|
38273
|
-
;// CONCATENATED MODULE: ./components/demo/src/main.vue?vue&type=style&index=0&id=
|
|
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=598246f8&prod&lang=scss&scoped=true
|
|
38652
|
+
var mainvue_type_style_index_0_id_598246f8_prod_lang_scss_scoped_true = __webpack_require__(3555);
|
|
38653
|
+
;// CONCATENATED MODULE: ./components/demo/src/main.vue?vue&type=style&index=0&id=598246f8&prod&lang=scss&scoped=true
|
|
38274
38654
|
|
|
38275
|
-
// 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=
|
|
38276
|
-
var
|
|
38277
|
-
;// CONCATENATED MODULE: ./components/demo/src/main.vue?vue&type=style&index=1&id=
|
|
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=598246f8&prod&lang=scss
|
|
38656
|
+
var mainvue_type_style_index_1_id_598246f8_prod_lang_scss = __webpack_require__(5311);
|
|
38657
|
+
;// CONCATENATED MODULE: ./components/demo/src/main.vue?vue&type=style&index=1&id=598246f8&prod&lang=scss
|
|
38278
38658
|
|
|
38279
38659
|
;// CONCATENATED MODULE: ./components/demo/src/main.vue
|
|
38280
38660
|
|
|
@@ -38292,7 +38672,7 @@ var main_component = normalizeComponent(
|
|
|
38292
38672
|
staticRenderFns,
|
|
38293
38673
|
false,
|
|
38294
38674
|
null,
|
|
38295
|
-
"
|
|
38675
|
+
"598246f8",
|
|
38296
38676
|
null
|
|
38297
38677
|
|
|
38298
38678
|
)
|