ai-component-bwx 0.0.17 → 0.0.19

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.
@@ -1141,17 +1141,6 @@ module.exports = (
1141
1141
 
1142
1142
  module.exports = { "default": __webpack_require__("d8d6"), __esModule: true };
1143
1143
 
1144
- /***/ }),
1145
-
1146
- /***/ "1a01":
1147
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
1148
-
1149
- "use strict";
1150
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_chat_vue_vue_type_style_index_0_id_02cfa83a_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("34b5");
1151
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_chat_vue_vue_type_style_index_0_id_02cfa83a_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_chat_vue_vue_type_style_index_0_id_02cfa83a_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
1152
- /* unused harmony reexport * */
1153
-
1154
-
1155
1144
  /***/ }),
1156
1145
 
1157
1146
  /***/ "1bc3":
@@ -1190,17 +1179,6 @@ module.exports = function bind(fn, thisArg) {
1190
1179
  };
1191
1180
 
1192
1181
 
1193
- /***/ }),
1194
-
1195
- /***/ "1d62":
1196
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
1197
-
1198
- "use strict";
1199
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_chat_vue_vue_type_style_index_1_id_02cfa83a_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("dc5d");
1200
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_chat_vue_vue_type_style_index_1_id_02cfa83a_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_chat_vue_vue_type_style_index_1_id_02cfa83a_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__);
1201
- /* unused harmony reexport * */
1202
-
1203
-
1204
1182
  /***/ }),
1205
1183
 
1206
1184
  /***/ "1ec9":
@@ -1246,17 +1224,6 @@ module.exports = function (it) {
1246
1224
  //# sourceMappingURL=FileSaver.min.js.map
1247
1225
  /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("c8ba")))
1248
1226
 
1249
- /***/ }),
1250
-
1251
- /***/ "21d4":
1252
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
1253
-
1254
- "use strict";
1255
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_popularAndCommand_vue_vue_type_style_index_0_id_3bace17e_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("2a61");
1256
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_popularAndCommand_vue_vue_type_style_index_0_id_3bace17e_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_popularAndCommand_vue_vue_type_style_index_0_id_3bace17e_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
1257
- /* unused harmony reexport * */
1258
-
1259
-
1260
1227
  /***/ }),
1261
1228
 
1262
1229
  /***/ "241e":
@@ -1922,10 +1889,14 @@ function scrollIntoView(container, selected) {
1922
1889
 
1923
1890
  /***/ }),
1924
1891
 
1925
- /***/ "2a61":
1926
- /***/ (function(module, exports, __webpack_require__) {
1892
+ /***/ "2b3d":
1893
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
1894
+
1895
+ "use strict";
1896
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_chat_vue_vue_type_style_index_0_id_1cec6968_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("8cc5");
1897
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_chat_vue_vue_type_style_index_0_id_1cec6968_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_chat_vue_vue_type_style_index_0_id_1cec6968_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
1898
+ /* unused harmony reexport * */
1927
1899
 
1928
- // extracted by mini-css-extract-plugin
1929
1900
 
1930
1901
  /***/ }),
1931
1902
 
@@ -2219,13 +2190,6 @@ module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
2219
2190
  };
2220
2191
 
2221
2192
 
2222
- /***/ }),
2223
-
2224
- /***/ "34b5":
2225
- /***/ (function(module, exports, __webpack_require__) {
2226
-
2227
- // extracted by mini-css-extract-plugin
2228
-
2229
2193
  /***/ }),
2230
2194
 
2231
2195
  /***/ "355d":
@@ -67925,6 +67889,13 @@ var index = (function () {
67925
67889
  /* unused harmony reexport * */
67926
67890
 
67927
67891
 
67892
+ /***/ }),
67893
+
67894
+ /***/ "719d":
67895
+ /***/ (function(module, exports, __webpack_require__) {
67896
+
67897
+ // extracted by mini-css-extract-plugin
67898
+
67928
67899
  /***/ }),
67929
67900
 
67930
67901
  /***/ "71c1":
@@ -69767,6 +69738,13 @@ module.exports = require("vue");
69767
69738
 
69768
69739
  /***/ }),
69769
69740
 
69741
+ /***/ "8cc5":
69742
+ /***/ (function(module, exports, __webpack_require__) {
69743
+
69744
+ // extracted by mini-css-extract-plugin
69745
+
69746
+ /***/ }),
69747
+
69770
69748
  /***/ "8df4":
69771
69749
  /***/ (function(module, exports, __webpack_require__) {
69772
69750
 
@@ -70233,6 +70211,13 @@ module.exports = Array.isArray || function isArray(arg) {
70233
70211
  module.exports = __webpack_require__("35e8");
70234
70212
 
70235
70213
 
70214
+ /***/ }),
70215
+
70216
+ /***/ "9282":
70217
+ /***/ (function(module, exports, __webpack_require__) {
70218
+
70219
+ // extracted by mini-css-extract-plugin
70220
+
70236
70221
  /***/ }),
70237
70222
 
70238
70223
  /***/ "92fa":
@@ -70615,6 +70600,17 @@ module.exports = function (str, opts) {
70615
70600
  };
70616
70601
 
70617
70602
 
70603
+ /***/ }),
70604
+
70605
+ /***/ "a03d":
70606
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
70607
+
70608
+ "use strict";
70609
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_popularAndCommand_vue_vue_type_style_index_0_id_3b026cf6_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("719d");
70610
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_popularAndCommand_vue_vue_type_style_index_0_id_3b026cf6_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_popularAndCommand_vue_vue_type_style_index_0_id_3b026cf6_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
70611
+ /* unused harmony reexport * */
70612
+
70613
+
70618
70614
  /***/ }),
70619
70615
 
70620
70616
  /***/ "a159":
@@ -72337,6 +72333,17 @@ exports.f = __webpack_require__("8e60") ? gOPD : function getOwnPropertyDescript
72337
72333
  module.exports = __webpack_require__("d4af");
72338
72334
 
72339
72335
 
72336
+ /***/ }),
72337
+
72338
+ /***/ "c0d3":
72339
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
72340
+
72341
+ "use strict";
72342
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_chat_vue_vue_type_style_index_1_id_1cec6968_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("9282");
72343
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_chat_vue_vue_type_style_index_1_id_1cec6968_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_chat_vue_vue_type_style_index_1_id_1cec6968_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__);
72344
+ /* unused harmony reexport * */
72345
+
72346
+
72340
72347
  /***/ }),
72341
72348
 
72342
72349
  /***/ "c207":
@@ -74865,13 +74872,6 @@ var store = global[SHARED] || (global[SHARED] = {});
74865
74872
  });
74866
74873
 
74867
74874
 
74868
- /***/ }),
74869
-
74870
- /***/ "dc5d":
74871
- /***/ (function(module, exports, __webpack_require__) {
74872
-
74873
- // extracted by mini-css-extract-plugin
74874
-
74875
74875
  /***/ }),
74876
74876
 
74877
74877
  /***/ "dcdc":
@@ -79697,15 +79697,15 @@ var staticRenderFns = []
79697
79697
 
79698
79698
  // CONCATENATED MODULE: ./src/components/banwoxueAgentComponent.vue?vue&type=template&id=1ac384ce&scoped=true
79699
79699
 
79700
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"404717ef-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/agentComponent/chat.vue?vue&type=template&id=02cfa83a&scoped=true
79701
- var chatvue_type_template_id_02cfa83a_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"contents"},[_c('div',{staticClass:"addDia"},[_c('div',{staticClass:"chat_window"},[_c('div',{staticClass:"conWindow"},[_c('div',{ref:"recordListRef",staticClass:"messageBox"},[_c('ul',{staticClass:"messages"},[_c('el-checkbox-group',{staticClass:"label-none",model:{value:(_vm.shareList),callback:function ($$v) {_vm.shareList=$$v},expression:"shareList"}},_vm._l((_vm.messageListData),function(item,index){return _c('div',{key:index},[_c('li',{staticClass:"list",class:item.role == 'user' ? 'user_message' : 'replay_message'},[(_vm.shareStatus && item.contentId && item.role != 'user')?_c('el-checkbox',{key:index,attrs:{"label":item.contentId + ',' + item.parentMsgId}}):_vm._e(),_c('div',{staticClass:"chatFrame"},[_c('div',{staticClass:"img"},[(item.role == 'user')?_c('img',{attrs:{"id":"user","src":"https://file.banwoxue.com/aiAgent/d8295edcd4494319951597ff954e3a63/user.png","alt":""}}):_c('img',{attrs:{"id":"gif","src":_vm.gifPath,"alt":""}})]),_c('div',{staticClass:"text-content"},[(item.typeId == 1 || _vm.getJaShow(item))?_c('div',{staticClass:"ai-content-card"},[_c('div',{staticClass:"card-prompt"},[_vm._v(_vm._s(_vm.getPromptText(item)))]),_c('div',{staticClass:"main-card"},[_c('div',{staticClass:"card-left"},[_c('div',{staticClass:"card-icon"},[_c('span',{staticClass:"icon-text"},[_vm._v("T")])]),_c('div',{staticClass:"card-info"},[_c('div',{staticClass:"card-title"},[_vm._v(_vm._s(_vm.getCardTitle(item)))]),_c('div',{staticClass:"card-status"},[_vm._v(_vm._s(item.status == 1 ? '无法预览中途停止的文档' : _vm.getItemLoadingStatus(item) ? '生成中...' : '已完成'))])])]),(!_vm.getItemLoadingStatus(item))?_c('div',{staticClass:"card-actions"},[_c('button',{staticClass:"action-btn view-btn",attrs:{"title":"预览"},on:{"click":function($event){return _vm.previewContent(item)}}},[_c('i',{staticClass:"el-icon-view"})]),_c('button',{staticClass:"action-btn download-btn",attrs:{"title":"下载"},on:{"click":function($event){return _vm.openLessonSidebar(item)}}},[_c('i',{staticClass:"el-icon-download"})])]):_vm._e()]),_c('div',{staticClass:"card-prompt"},[_vm._v(_vm._s(_vm.getPromptLastText(item)))])]):(item.typeId == 2 || _vm.getPptShow(item))?_c('div',{staticClass:"ai-content-card"},[(_vm.tempAnswerStatus == 0)?_c('div',{staticClass:"card-prompt"},[_vm._v("为您生成PPT中,生成过程大约需要1分钟,请耐心等待~")]):_c('div',{staticClass:"card-prompt"},[_vm._v("PPT 已生成完成!点击下方按钮即可查看、下载或编辑。")]),_c('div',{staticClass:"main-card"},[_c('div',{staticClass:"card-left"},[_c('div',{staticClass:"card-icon"},[_c('span',{staticClass:"icon-text"},[_vm._v("P")])]),_c('div',{staticClass:"card-info"},[_c('div',{staticClass:"card-status"},[_vm._v(_vm._s(item.status == 1 ? '无法预览中途停止的文档' : item.status == 2 ? '已完成' : '生成中...'))])])]),(item.status == 2)?_c('div',{staticClass:"card-actions"},[_c('button',{staticClass:"action-btn view-btn",attrs:{"title":"预览"},on:{"click":function($event){return _vm.pptPreviewContent(item)}}},[_c('i',{staticClass:"el-icon-view"})]),_c('button',{staticClass:"action-btn download-btn",attrs:{"title":"下载"},on:{"click":function($event){return _vm.pptDownload(item)}}},[_c('i',{staticClass:"el-icon-download"})])]):_vm._e()]),_c('div',{staticClass:"card-prompt"},[_vm._v(_vm._s(_vm.getPromptLastText(item)))])]):_c('div',[_c('div',{staticClass:"text",domProps:{"innerHTML":_vm._s(item.content || '暂无内容')}}),( false)?undefined:_vm._e()]),(item.role == 'assistant' && item.status == 1)?_c('div',{staticClass:"stopped"},[_vm._v("已停止生成")]):_vm._e()]),_c('div',{staticClass:"reloadAnswer"},[(_vm.tempAnswerStatus != 0 && !item.panelId && item.role == 'assistant')?_c('img',{attrs:{"src":"https://file.banwoxue.com/aiAgent/d8295edcd4494319951597ff954e3a63/fuzhi1.png","title":"复制","alt":"复制"},on:{"click":function($event){return _vm.clickCopy(item.content)}}}):_vm._e(),(item.role == 'assistant' && item.contentId)?_c('img',{attrs:{"src":"https://file.banwoxue.com/aiAgent/d8295edcd4494319951597ff954e3a63/zhongxintijiao1.png","title":"重新生成"},on:{"click":function($event){return _vm.ReloadAnswer(index, true, item)}}}):_vm._e(),((index != _vm.messageListData.length - 1 || _vm.tempAnswerStatus != 0) && item.role == 'assistant' && item.feedbackType != 1)?_c('img',{attrs:{"src":"https://file.banwoxue.com/aiAgent/d8295edcd4494319951597ff954e3a63/dianzan1.png","title":"好评"},on:{"click":function($event){return _vm.showLikeOptions(index, $event)}}}):_vm._e(),((index != _vm.messageListData.length - 1 || _vm.tempAnswerStatus != 0) && item.role == 'assistant' && item.feedbackType == 1)?_c('img',{attrs:{"src":"https://file.banwoxue.com/aiAgent/d8295edcd4494319951597ff954e3a63/dianzan2.png","title":"好评"},on:{"click":function($event){return _vm.showLikeOptions(index)}}}):_vm._e(),((index != _vm.messageListData.length - 1 || _vm.tempAnswerStatus != 0) && item.role == 'assistant' && item.feedbackType != 2)?_c('img',{attrs:{"src":"https://file.banwoxue.com/aiAgent/d8295edcd4494319951597ff954e3a63/chaping1.png","title":"差评"},on:{"click":function($event){return _vm.showDislikeModal(index)}}}):_vm._e(),((index != _vm.messageListData.length - 1 || _vm.tempAnswerStatus != 0) && item.role == 'assistant' && item.feedbackType == 2)?_c('img',{attrs:{"src":"https://file.banwoxue.com/aiAgent/d8295edcd4494319951597ff954e3a63/chaping2.png","title":"差评"},on:{"click":function($event){return _vm.showDislikeModal(index)}}}):_vm._e(),(index == _vm.messageListData.length - 1 && _vm.tempAnswerStatus == 0)?_c('img',{attrs:{"src":"https://file.banwoxue.com/aiAgent/d8295edcd4494319951597ff954e3a63/zanting1.png","title":"停止输出"},on:{"click":function($event){return _vm.stopMessage(item)}}}):_vm._e()])])],1)])}),0),(_vm.chatSending)?_c('div',{staticClass:"loading-message"},[_c('div',{staticClass:"list replay_message"},[_c('div',{staticClass:"chatFrame"},[_c('div',{staticClass:"img"},[_c('img',{attrs:{"id":"gif","src":_vm.gifPath,"alt":""}})]),_vm._m(0)])])]):_vm._e()],1)]),(_vm.shareStatus)?_c('div',{staticClass:"button-option"},[_c('el-button',{on:{"click":_vm.cancleShare}},[_vm._v("取消")]),_c('el-button',{attrs:{"disabled":!_vm.shareList.length || _vm.apiLoading,"loading":_vm.apiLoading},on:{"click":_vm.showDialog}},[_vm._v("确定")])],1):_vm._e(),(_vm.likeOptionsVisible)?_c('div',{staticClass:"like-options-popup",style:(_vm.likePopupStyle)},[_c('div',{staticClass:"like-options-header"},[_c('span',{staticClass:"like-title"},[_vm._v("请选择好评类别")]),_c('i',{staticClass:"el-icon-close",on:{"click":_vm.confirmLikeOptions}})]),_c('div',{staticClass:"like-options-content"},[_c('div',{staticClass:"like-options-row"},_vm._l((_vm.LikeOption),function(i,j){return _c('div',{key:i.id,staticClass:"like-option",class:{ selected: _vm.selectedLikeOptions.includes(i.id) },on:{"click":function($event){return _vm.toggleLikeOption(i.id)}}},[_vm._v(" "+_vm._s(i.name)+" ")])}),0)])]):_vm._e(),(_vm.dislikeModalVisible)?_c('div',{staticClass:"dislike-modal-overlay",on:{"click":_vm.closeDislikeModal}},[_c('div',{staticClass:"dislike-modal",on:{"click":function($event){$event.stopPropagation();}}},[_vm._m(1),_c('div',{staticClass:"dislike-content"},[_c('div',{staticClass:"dislike-options"},_vm._l((_vm.dislikeOption),function(i){return _c('div',{key:i.id,staticClass:"dislike-option",class:{ selected: _vm.selectedDislikeOptions.includes(i.id) },on:{"click":function($event){return _vm.toggleDislikeOption(i.id)}}},[_vm._v(" "+_vm._s(i.name)+" ")])}),0),_c('div',{staticClass:"dislike-textarea"},[_c('textarea',{directives:[{name:"model",rawName:"v-model",value:(_vm.dislikeFeedback),expression:"dislikeFeedback"}],attrs:{"placeholder":"我们想知道您对此回答不满意的原因,您认为更好的回答是什么?","rows":"4"},domProps:{"value":(_vm.dislikeFeedback)},on:{"input":function($event){if($event.target.composing)return;_vm.dislikeFeedback=$event.target.value}}})]),_c('div',{staticClass:"dislike-actions"},[_c('button',{staticClass:"cancel-btn",on:{"click":_vm.closeDislikeModal}},[_vm._v("取消")]),_c('button',{staticClass:"submit-btn",on:{"click":_vm.submitDislikeFeedback}},[_vm._v("提交")])])])])]):_vm._e()])])])])
79700
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"404717ef-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/agentComponent/chat.vue?vue&type=template&id=1cec6968&scoped=true
79701
+ var chatvue_type_template_id_1cec6968_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"contents"},[_c('div',{staticClass:"addDia"},[_c('div',{staticClass:"chat_window"},[_c('div',{staticClass:"conWindow"},[_c('div',{ref:"recordListRef",staticClass:"messageBox"},[_c('ul',{staticClass:"messages"},[_c('el-checkbox-group',{staticClass:"label-none",model:{value:(_vm.shareList),callback:function ($$v) {_vm.shareList=$$v},expression:"shareList"}},_vm._l((_vm.messageListData),function(item,index){return _c('div',{key:index},[_c('li',{staticClass:"list",class:item.role == 'user' ? 'user_message' : 'replay_message'},[(_vm.shareStatus && item.contentId && item.role != 'user')?_c('el-checkbox',{key:index,attrs:{"label":item.contentId + ',' + item.parentMsgId}}):_vm._e(),_c('div',{staticClass:"chatFrame"},[_c('div',{staticClass:"img"},[(item.role == 'user')?_c('img',{attrs:{"id":"user","src":"https://file.banwoxue.com/aiAgent/d8295edcd4494319951597ff954e3a63/user.png","alt":""}}):_c('img',{attrs:{"id":"gif","src":_vm.gifPath,"alt":""}})]),_c('div',{staticClass:"text-content"},[(item.typeId == 1 || _vm.getJaShow(item))?_c('div',{staticClass:"ai-content-card"},[_c('div',{staticClass:"card-prompt"},[_vm._v(_vm._s(_vm.getPromptText(item)))]),_c('div',{staticClass:"main-card"},[_c('div',{staticClass:"card-left"},[_c('div',{staticClass:"card-icon"},[_c('span',{staticClass:"icon-text"},[_vm._v("T")])]),_c('div',{staticClass:"card-info"},[_c('div',{staticClass:"card-title"},[_vm._v(_vm._s(_vm.getCardTitle(item)))]),_c('div',{staticClass:"card-status"},[_vm._v(_vm._s(item.status == 1 ? '无法预览中途停止的文档' : _vm.getItemLoadingStatus(item) ? '生成中...' : '已完成'))])])]),(!_vm.getItemLoadingStatus(item))?_c('div',{staticClass:"card-actions"},[_c('button',{staticClass:"action-btn view-btn",attrs:{"title":"预览"},on:{"click":function($event){return _vm.previewContent(item)}}},[_c('i',{staticClass:"el-icon-view"})]),_c('button',{staticClass:"action-btn download-btn",attrs:{"title":"下载"},on:{"click":function($event){return _vm.openLessonSidebar(item)}}},[_c('i',{staticClass:"el-icon-download"})])]):_vm._e()]),_c('div',{staticClass:"card-prompt"},[_vm._v(_vm._s(_vm.getPromptLastText(item)))])]):(item.typeId == 2 || _vm.getPptShow(item))?_c('div',{staticClass:"ai-content-card"},[(_vm.tempAnswerStatus == 0)?_c('div',{staticClass:"card-prompt"},[_vm._v("为您生成PPT中,生成过程大约需要1分钟,请耐心等待~")]):_c('div',{staticClass:"card-prompt"},[_vm._v("PPT 已生成完成!点击下方按钮即可查看、下载或编辑。")]),_c('div',{staticClass:"main-card"},[_c('div',{staticClass:"card-left"},[_c('div',{staticClass:"card-icon"},[_c('span',{staticClass:"icon-text"},[_vm._v("P")])]),_c('div',{staticClass:"card-info"},[_c('div',{staticClass:"card-status"},[_vm._v(_vm._s(item.status == 1 ? '无法预览中途停止的文档' : item.status == 2 ? '已完成' : '生成中...'))])])]),(item.status == 2)?_c('div',{staticClass:"card-actions"},[_c('button',{staticClass:"action-btn view-btn",attrs:{"title":"预览"},on:{"click":function($event){return _vm.pptPreviewContent(item)}}},[_c('i',{staticClass:"el-icon-view"})]),_c('button',{staticClass:"action-btn download-btn",attrs:{"title":"下载"},on:{"click":function($event){return _vm.pptDownload(item)}}},[_c('i',{staticClass:"el-icon-download"})])]):_vm._e()]),_c('div',{staticClass:"card-prompt"},[_vm._v(_vm._s(_vm.getPromptLastText(item)))])]):_c('div',[_c('div',{staticClass:"text",domProps:{"innerHTML":_vm._s(item.content || '暂无内容')}}),( false)?undefined:_vm._e()]),(item.role == 'assistant' && item.status == 1)?_c('div',{staticClass:"stopped"},[_vm._v("已停止生成")]):_vm._e()]),_c('div',{staticClass:"reloadAnswer"},[(_vm.tempAnswerStatus != 0 && !item.panelId && item.role == 'assistant')?_c('img',{attrs:{"src":"https://file.banwoxue.com/aiAgent/d8295edcd4494319951597ff954e3a63/fuzhi1.png","title":"复制","alt":"复制"},on:{"click":function($event){return _vm.clickCopy(item.content)}}}):_vm._e(),(item.role == 'assistant' && item.contentId)?_c('img',{attrs:{"src":"https://file.banwoxue.com/aiAgent/d8295edcd4494319951597ff954e3a63/zhongxintijiao1.png","title":"重新生成"},on:{"click":function($event){return _vm.ReloadAnswer(index, true, item)}}}):_vm._e(),((index != _vm.messageListData.length - 1 || _vm.tempAnswerStatus != 0) && item.role == 'assistant' && item.feedbackType != 1)?_c('img',{attrs:{"src":"https://file.banwoxue.com/aiAgent/d8295edcd4494319951597ff954e3a63/dianzan1.png","title":"好评"},on:{"click":function($event){return _vm.showLikeOptions(index, $event)}}}):_vm._e(),((index != _vm.messageListData.length - 1 || _vm.tempAnswerStatus != 0) && item.role == 'assistant' && item.feedbackType == 1)?_c('img',{attrs:{"src":"https://file.banwoxue.com/aiAgent/d8295edcd4494319951597ff954e3a63/dianzan2.png","title":"好评"},on:{"click":function($event){return _vm.showLikeOptions(index)}}}):_vm._e(),((index != _vm.messageListData.length - 1 || _vm.tempAnswerStatus != 0) && item.role == 'assistant' && item.feedbackType != 2)?_c('img',{attrs:{"src":"https://file.banwoxue.com/aiAgent/d8295edcd4494319951597ff954e3a63/chaping1.png","title":"差评"},on:{"click":function($event){return _vm.showDislikeModal(index)}}}):_vm._e(),((index != _vm.messageListData.length - 1 || _vm.tempAnswerStatus != 0) && item.role == 'assistant' && item.feedbackType == 2)?_c('img',{attrs:{"src":"https://file.banwoxue.com/aiAgent/d8295edcd4494319951597ff954e3a63/chaping2.png","title":"差评"},on:{"click":function($event){return _vm.showDislikeModal(index)}}}):_vm._e(),(index == _vm.messageListData.length - 1 && _vm.tempAnswerStatus == 0)?_c('img',{attrs:{"src":"https://file.banwoxue.com/aiAgent/d8295edcd4494319951597ff954e3a63/zanting1.png","title":"停止输出"},on:{"click":function($event){return _vm.stopMessage(item)}}}):_vm._e()])])],1)])}),0),(_vm.chatSending)?_c('div',{staticClass:"loading-message"},[_c('div',{staticClass:"list replay_message"},[_c('div',{staticClass:"chatFrame"},[_c('div',{staticClass:"img"},[_c('img',{attrs:{"id":"gif","src":_vm.gifPath,"alt":""}})]),_vm._m(0)])])]):_vm._e()],1)]),(_vm.shareStatus)?_c('div',{staticClass:"button-option"},[_c('el-button',{on:{"click":_vm.cancleShare}},[_vm._v("取消")]),_c('el-button',{attrs:{"disabled":!_vm.shareList.length || _vm.apiLoading,"loading":_vm.apiLoading},on:{"click":_vm.showDialog}},[_vm._v("确定")])],1):_vm._e(),(_vm.likeOptionsVisible)?_c('div',{staticClass:"like-options-popup",style:(_vm.likePopupStyle)},[_c('div',{staticClass:"like-options-header"},[_c('span',{staticClass:"like-title"},[_vm._v("请选择好评类别")]),_c('i',{staticClass:"el-icon-close",on:{"click":_vm.confirmLikeOptions}})]),_c('div',{staticClass:"like-options-content"},[_c('div',{staticClass:"like-options-row"},_vm._l((_vm.LikeOption),function(i,j){return _c('div',{key:i.id,staticClass:"like-option",class:{ selected: _vm.selectedLikeOptions.includes(i.id) },on:{"click":function($event){return _vm.toggleLikeOption(i.id)}}},[_vm._v(" "+_vm._s(i.name)+" ")])}),0)])]):_vm._e(),(_vm.dislikeModalVisible)?_c('div',{staticClass:"dislike-modal-overlay",on:{"click":_vm.closeDislikeModal}},[_c('div',{staticClass:"dislike-modal",on:{"click":function($event){$event.stopPropagation();}}},[_vm._m(1),_c('div',{staticClass:"dislike-content"},[_c('div',{staticClass:"dislike-options"},_vm._l((_vm.dislikeOption),function(i){return _c('div',{key:i.id,staticClass:"dislike-option",class:{ selected: _vm.selectedDislikeOptions.includes(i.id) },on:{"click":function($event){return _vm.toggleDislikeOption(i.id)}}},[_vm._v(" "+_vm._s(i.name)+" ")])}),0),_c('div',{staticClass:"dislike-textarea"},[_c('textarea',{directives:[{name:"model",rawName:"v-model",value:(_vm.dislikeFeedback),expression:"dislikeFeedback"}],attrs:{"placeholder":"我们想知道您对此回答不满意的原因,您认为更好的回答是什么?","rows":"4"},domProps:{"value":(_vm.dislikeFeedback)},on:{"input":function($event){if($event.target.composing)return;_vm.dislikeFeedback=$event.target.value}}})]),_c('div',{staticClass:"dislike-actions"},[_c('button',{staticClass:"cancel-btn",on:{"click":_vm.closeDislikeModal}},[_vm._v("取消")]),_c('button',{staticClass:"submit-btn",on:{"click":_vm.submitDislikeFeedback}},[_vm._v("提交")])])])])]):_vm._e()])])])])
79702
79702
  }
79703
- var chatvue_type_template_id_02cfa83a_scoped_true_staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"text-content"},[_c('div',{staticClass:"loading-container"},[_c('div',{staticClass:"typing-indicator"},[_c('div',{staticClass:"typing-dot"}),_c('div',{staticClass:"typing-dot"}),_c('div',{staticClass:"typing-dot"})]),_c('span',{staticClass:"loading-text"},[_vm._v("AI正在思考中...")])])])
79703
+ var chatvue_type_template_id_1cec6968_scoped_true_staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"text-content"},[_c('div',{staticClass:"loading-container"},[_c('div',{staticClass:"typing-indicator"},[_c('div',{staticClass:"typing-dot"}),_c('div',{staticClass:"typing-dot"}),_c('div',{staticClass:"typing-dot"})]),_c('span',{staticClass:"loading-text"},[_vm._v("AI正在思考中...")])])])
79704
79704
  },function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"dislike-header"},[_c('h3',{staticClass:"dislike-title"},[_vm._v("反馈")])])
79705
79705
  }]
79706
79706
 
79707
79707
 
79708
- // CONCATENATED MODULE: ./src/components/agentComponent/chat.vue?vue&type=template&id=02cfa83a&scoped=true
79708
+ // CONCATENATED MODULE: ./src/components/agentComponent/chat.vue?vue&type=template&id=1cec6968&scoped=true
79709
79709
 
79710
79710
  // CONCATENATED MODULE: ./src/utils/errorCode.js
79711
79711
  /* harmony default export */ var errorCode = ({
@@ -79818,308 +79818,320 @@ var lib = __webpack_require__("4328");
79818
79818
  // CONCATENATED MODULE: ./src/api/index.js
79819
79819
 
79820
79820
 
79821
+ //获取统计信息
79822
+ const getStatistics = params => {
79823
+ return utils_request({
79824
+ url: '/intelligentBody/getZykCourseInfo',
79825
+ method: 'get',
79826
+ params: params,
79827
+ });
79828
+ };
79821
79829
  //下载word接口
79822
79830
  const exportWord = params => {
79823
- return utils_request({
79824
- url: '/xhModelContent/exportWord',
79825
- method: 'get',
79826
- params: params,
79827
- responseType: 'blob', // 设置响应类型为二进制流
79828
- });
79831
+ return utils_request({
79832
+ url: '/xhModelContent/exportWord',
79833
+ method: 'get',
79834
+ params: params,
79835
+ responseType: 'blob', // 设置响应类型为二进制流
79836
+ });
79829
79837
  };
79830
79838
  //获取智能体logo
79831
79839
  const getLogo = params => {
79832
- return utils_request({
79833
- url: '/intelligentBody/getBodyInfo',
79834
- method: 'get',
79835
- params: params,
79836
- });
79840
+ return utils_request({
79841
+ url: '/intelligentBody/getBodyInfo',
79842
+ method: 'get',
79843
+ params: params,
79844
+ });
79837
79845
  };
79838
79846
  //获取ppt模版
79839
79847
  const pptCover = data => {
79840
- return utils_request({
79841
- url: `/chatppt/ppt/cover`,
79842
- method: 'post',
79843
- data,
79844
- });
79848
+ return utils_request({
79849
+ url: `/chatppt/ppt/cover`,
79850
+ method: 'post',
79851
+ data,
79852
+ });
79845
79853
  };
79846
79854
  //下载ppt
79847
79855
  const downloadChatPpt = contentId => {
79848
- return utils_request({
79849
- url: `/xhModelContent/downloadChatPpt?contentId=` + contentId,
79850
- method: 'get',
79851
- });
79856
+ return utils_request({
79857
+ url: `/xhModelContent/downloadChatPpt?contentId=` + contentId,
79858
+ method: 'get',
79859
+ });
79852
79860
  };
79853
79861
  //点赞
79854
79862
  const feedbackSubmit = data => {
79855
- return utils_request({
79856
- url: `/xhModelContent/feedback/submit`,
79857
- method: 'post',
79858
- data: data,
79859
- });
79863
+ return utils_request({
79864
+ url: `/xhModelContent/feedback/submit`,
79865
+ method: 'post',
79866
+ data: data,
79867
+ });
79860
79868
  };
79861
79869
  //获取热门问题
79862
79870
  const xhQuestionRank = params => {
79863
- return utils_request({
79864
- url: `/xhQuestionRank/list`,
79865
- method: 'get',
79866
- params: params,
79867
- });
79871
+ return utils_request({
79872
+ url: `/xhQuestionRank/list`,
79873
+ method: 'get',
79874
+ params: params,
79875
+ });
79868
79876
  };
79869
79877
  // 删除对话列表
79870
79878
  const chatDel = (chatId, chatType) => {
79871
- return utils_request({
79872
- url: `/xhchat/chatDel/${chatId}/${chatType}`,
79873
- method: 'delete',
79874
- });
79879
+ return utils_request({
79880
+ url: `/xhchat/chatDel/${chatId}/${chatType}`,
79881
+ method: 'delete',
79882
+ });
79875
79883
  };
79876
79884
  // 查询历史对话列表
79877
79885
  const modelContents = content => {
79878
- return utils_request({
79879
- url: '/xhchat/userChatList?content=' + content || false,
79880
- method: 'get',
79881
- });
79886
+ return utils_request({
79887
+ url: '/xhchat/userChatList?content=' + content || false,
79888
+ method: 'get',
79889
+ });
79882
79890
  };
79883
79891
  // 查询内容详情
79884
79892
  const modelDetail = contentId => {
79885
- return utils_request({
79886
- url: '/xhModelContent/modelDetail/' + contentId,
79887
- method: 'get',
79888
- });
79893
+ return utils_request({
79894
+ url: '/xhModelContent/modelDetail/' + contentId,
79895
+ method: 'get',
79896
+ });
79889
79897
  };
79890
79898
  // 保存ai教案修改的内容
79891
79899
  const updateModelContent = data => {
79892
- return utils_request({
79893
- url: '/xhModelContent/updateModelContent',
79894
- method: 'put',
79895
- data,
79896
- });
79900
+ return utils_request({
79901
+ url: '/xhModelContent/updateModelContent',
79902
+ method: 'put',
79903
+ data,
79904
+ });
79897
79905
  };
79898
79906
  //token转换
79899
79907
  const userCenterLogin = userCenterToken => {
79900
- return utils_request({
79901
- url: '/userCenterLogin?userCenterToken=' + userCenterToken,
79902
- method: 'get',
79903
- });
79908
+ return utils_request({
79909
+ url: '/userCenterLogin?userCenterToken=' + userCenterToken,
79910
+ method: 'get',
79911
+ });
79904
79912
  };
79905
79913
  //获取功能列表
79906
79914
  const getAiPlan = () => {
79907
- return utils_request({
79908
- url: '/aiPanel/list',
79909
- method: 'get',
79910
- });
79915
+ return utils_request({
79916
+ url: '/aiPanel/list',
79917
+ method: 'get',
79918
+ });
79911
79919
  };
79912
79920
  // const baseURL = process.env.VUE_APP_ApiURL;
79913
79921
  // const baseURL = "https://zjyw-test.icve.com.cn/ai-api";
79914
79922
  // 问答返回数据
79915
79923
  const getChatData = params => {
79916
- return utils_request({
79917
- url: '/xh/modelQuestion',
79918
- // url: '/ai-api/xh/modelQuestion',
79919
- method: 'post',
79920
- data: params,
79921
- });
79924
+ return utils_request({
79925
+ url: '/xh/modelQuestion',
79926
+ // url: '/ai-api/xh/modelQuestion',
79927
+ method: 'post',
79928
+ data: params,
79929
+ });
79922
79930
  };
79923
79931
 
79924
79932
  // 左侧栏数据
79925
79933
  const getSideDataArr = params => {
79926
- return utils_request({
79927
- url: '/xhchat/chats/' + params.chatType + '?title=' + params.title || false,
79928
- // url: '/ai-api/xh/chats/' + params.userId + '/' + params.chatType,
79929
- method: 'get',
79930
- });
79934
+ return utils_request({
79935
+ url: '/xhchat/chats/' + params.chatType + '?title=' + params.title || false,
79936
+ // url: '/ai-api/xh/chats/' + params.userId + '/' + params.chatType,
79937
+ method: 'get',
79938
+ });
79931
79939
  };
79932
79940
 
79933
79941
  // 每个节点对应的数据
79934
79942
  const getSideToData = params => {
79935
- return utils_request({
79936
- url: '/xhModelContent/modelDetail/' + params.chatId,
79937
- // url: '/ai-api/xh/modelDetail/' + params.chatId,
79938
- method: 'get',
79939
- });
79943
+ return utils_request({
79944
+ url: '/xhModelContent/modelDetail/' + params.chatId,
79945
+ // url: '/ai-api/xh/modelDetail/' + params.chatId,
79946
+ method: 'get',
79947
+ });
79940
79948
  };
79941
79949
 
79942
79950
  // 新增会话
79943
79951
  const addConversation = params => {
79944
- return utils_request({
79945
- url: '/xhchat/addChat',
79946
- // url: '/ai-api/xh/addChat',
79947
- method: 'post',
79948
- data: params,
79949
- });
79952
+ return utils_request({
79953
+ url: '/xhchat/addChat',
79954
+ // url: '/ai-api/xh/addChat',
79955
+ method: 'post',
79956
+ data: params,
79957
+ });
79950
79958
  };
79951
79959
 
79952
79960
  // 删除当前会话
79953
79961
  const deleteConversation = params => {
79954
- return utils_request({
79955
- url: '/xhchat/chatDel/' + params.chatId + '/' + params.chatType,
79956
- // url: '/ai-api/xh/chatDel/' + params.chatId + '/' + params.chatType,
79957
- method: 'delete',
79958
- });
79962
+ return utils_request({
79963
+ url: '/xhchat/chatDel/' + params.chatId + '/' + params.chatType,
79964
+ // url: '/ai-api/xh/chatDel/' + params.chatId + '/' + params.chatType,
79965
+ method: 'delete',
79966
+ });
79959
79967
  };
79960
79968
 
79961
79969
  // 删除所有会话
79962
79970
  const deleteAllConver = params => {
79963
- return utils_request({
79964
- url: '/xhchat/allChatDel/' + params.chatType,
79965
- // url: '/ai-api/xh/chatDel/' + params.userId + '/' + params.chatType,
79966
- method: 'delete',
79967
- });
79971
+ return utils_request({
79972
+ url: '/xhchat/allChatDel/' + params.chatType,
79973
+ // url: '/ai-api/xh/chatDel/' + params.userId + '/' + params.chatType,
79974
+ method: 'delete',
79975
+ });
79968
79976
  };
79977
+
79969
79978
  // 查询开场白
79970
79979
  function Kaichangbai(id) {
79971
- return utils_request({
79972
- url: '/intelligentBody/' + id,
79973
- method: 'get',
79974
- });
79980
+ return utils_request({
79981
+ url: '/intelligentBody/' + id,
79982
+ method: 'get',
79983
+ });
79975
79984
  }
79985
+
79976
79986
  // 修改会话名称
79977
79987
  const editHuiHuaName = params => {
79978
- return utils_request({
79979
- url: '/xhchat/updateChat',
79980
- // url: '/ai-api/xh/updateChat',
79981
- method: 'post',
79982
- data: params,
79983
- });
79988
+ return utils_request({
79989
+ url: '/xhchat/updateChat',
79990
+ // url: '/ai-api/xh/updateChat',
79991
+ method: 'post',
79992
+ data: params,
79993
+ });
79984
79994
  };
79985
79995
  // 获取专业教师
79986
79996
  const getAllMajor = params => {
79987
- return utils_request({
79988
- url: '/intelligentBody/getIntelligentBodyList',
79989
- // url: '/ai-api/xh/updateChat',
79990
- method: 'post',
79991
- data: params,
79992
- });
79997
+ return utils_request({
79998
+ url: '/intelligentBody/getIntelligentBodyList',
79999
+ // url: '/ai-api/xh/updateChat',
80000
+ method: 'post',
80001
+ data: params,
80002
+ });
79993
80003
  };
79994
80004
  // http://192.168.31.65:8899/passLogin?token=7346082b-f18b-40a7-b4f7-7a07a6641a6c
79995
80005
 
79996
80006
  const passLogin = params => {
79997
- return utils_request({
79998
- url: '/passLogin?' + 'token=' + params,
79999
- headers: {
80000
- isToken: false,
80001
- },
80002
- method: 'GET',
80003
- });
80007
+ return utils_request({
80008
+ url: '/passLogin?' + 'token=' + params,
80009
+ headers: {
80010
+ isToken: false,
80011
+ },
80012
+ method: 'GET',
80013
+ });
80004
80014
  };
80005
80015
  // 新增对话消息评价
80006
80016
  const chatEvaluateAdd = data => {
80007
- return utils_request({
80008
- url: '/xh/chatEvaluateAdd',
80009
- // url: '/ai-api/xh/updateChat',
80010
- data,
80011
- method: 'post',
80012
- });
80017
+ return utils_request({
80018
+ url: '/xh/chatEvaluateAdd',
80019
+ // url: '/ai-api/xh/updateChat',
80020
+ data,
80021
+ method: 'post',
80022
+ });
80013
80023
  };
80014
80024
  // 取消对话消息评价
80015
80025
  const chatEvaluateCancel = data => {
80016
- return utils_request({
80017
- url: '/xh/chatEvaluateCancel',
80018
- // url: '/ai-api/xh/updateChat',
80019
- data,
80020
- method: 'post',
80021
- });
80026
+ return utils_request({
80027
+ url: '/xh/chatEvaluateCancel',
80028
+ // url: '/ai-api/xh/updateChat',
80029
+ data,
80030
+ method: 'post',
80031
+ });
80022
80032
  };
80023
80033
  // 新增对话消息分享
80024
80034
  const shareChatMsg = data => {
80025
- return utils_request({
80026
- url: '/xh/shareChatMsg',
80027
- // url: '/ai-api/xh/updateChat',
80028
- data,
80029
- method: 'post',
80030
- });
80035
+ return utils_request({
80036
+ url: '/xh/shareChatMsg',
80037
+ // url: '/ai-api/xh/updateChat',
80038
+ data,
80039
+ method: 'post',
80040
+ });
80031
80041
  };
80032
80042
  // 获取聊天消息标签列表
80033
80043
  const listChatMsgTag = data => {
80034
- return utils_request({
80035
- url: '/xh/listChatMsgTag',
80036
- // url: '/ai-api/xh/updateChat',
80037
- data,
80038
- method: 'post',
80039
- });
80044
+ return utils_request({
80045
+ url: '/xh/listChatMsgTag',
80046
+ // url: '/ai-api/xh/updateChat',
80047
+ data,
80048
+ method: 'post',
80049
+ });
80040
80050
  };
80041
80051
  // 消息评价
80042
80052
  const chatEvaluate = data => {
80043
- return utils_request({
80044
- url: '/xh/chatEvaluateAdd',
80045
- // url: '/ai-api/xh/updateChat',
80046
- data,
80047
- method: 'post',
80048
- });
80053
+ return utils_request({
80054
+ url: '/xh/chatEvaluateAdd',
80055
+ // url: '/ai-api/xh/updateChat',
80056
+ data,
80057
+ method: 'post',
80058
+ });
80049
80059
  };
80050
80060
 
80051
80061
  // 取消消息评价
80052
80062
  const chatCancel = data => {
80053
- return utils_request({
80054
- url: '/xh/chatEvaluateCancel',
80055
- data,
80056
- method: 'post',
80057
- });
80063
+ return utils_request({
80064
+ url: '/xh/chatEvaluateCancel',
80065
+ data,
80066
+ method: 'post',
80067
+ });
80058
80068
  };
80059
80069
 
80060
80070
  // 获取聊天消息标签列表
80061
80071
  const getlistChatMsgTag = data => {
80062
- return utils_request({
80063
- url: '/xh/listChatMsgTag',
80064
- method: 'post',
80065
- });
80072
+ return utils_request({
80073
+ url: '/xh/listChatMsgTag',
80074
+ method: 'post',
80075
+ });
80066
80076
  };
80067
80077
  // 停止对话
80068
80078
  const stopChat = params => {
80069
- return utils_request({
80070
- url: '/intelligentBody/stop/' + params.msgId,
80071
- // url: '/ai-api/xh/docDetail/' + params.chatId,
80072
- method: 'get',
80073
- });
80079
+ return utils_request({
80080
+ url: '/intelligentBody/stop/' + params.msgId,
80081
+ // url: '/ai-api/xh/docDetail/' + params.chatId,
80082
+ method: 'get',
80083
+ });
80074
80084
  };
80075
80085
  // /xh/getShareInfo/{shareId}
80076
80086
  // 获取聊天消息标签列表
80077
80087
  const getShareInfo = params => {
80078
- return utils_request({
80079
- url: '/xh/getShareInfo/' + params.shareId,
80080
- // url: '/ai-api/xh/chats/' + params.userId + '/' + params.chatType,
80081
- method: 'get',
80082
- });
80088
+ return utils_request({
80089
+ url: '/xh/getShareInfo/' + params.shareId,
80090
+ // url: '/ai-api/xh/chats/' + params.userId + '/' + params.chatType,
80091
+ method: 'get',
80092
+ });
80083
80093
  };
80084
80094
 
80085
80095
  // 获取任务状态api
80086
80096
  const getTaskStatus = data => {
80087
- return utils_request({
80088
- url: '/video/getTaskStatus',
80089
- data,
80090
- method: 'post',
80091
- });
80097
+ return utils_request({
80098
+ url: '/video/getTaskStatus',
80099
+ data,
80100
+ method: 'post',
80101
+ });
80092
80102
  };
80093
80103
 
80094
80104
  // 章节速览api
80095
80105
  const autoChapters = data => {
80096
- return utils_request({
80097
- url: '/video/autoChapters',
80098
- data,
80099
- method: 'post',
80100
- });
80106
+ return utils_request({
80107
+ url: '/video/autoChapters',
80108
+ data,
80109
+ method: 'post',
80110
+ });
80101
80111
  };
80112
+
80102
80113
  // 预设
80103
80114
  function presetQuestion(params) {
80104
- return utils_request({
80105
- url: '/preset/question/list',
80106
- method: 'get',
80107
- params,
80108
- });
80115
+ return utils_request({
80116
+ url: '/preset/question/list',
80117
+ method: 'get',
80118
+ params,
80119
+ });
80109
80120
  }
80121
+
80110
80122
  const getInfo = id => {
80111
- return utils_request({
80112
- url: `/intelligentBody/${id}`,
80113
- method: 'get',
80114
- });
80123
+ return utils_request({
80124
+ url: `/intelligentBody/${id}`,
80125
+ method: 'get',
80126
+ });
80115
80127
  };
80116
80128
  // 是否重新生成
80117
80129
  const needRetry = params => {
80118
- return utils_request({
80119
- url: `/intelligentBody/needRetry`,
80120
- method: 'get',
80121
- params,
80122
- });
80130
+ return utils_request({
80131
+ url: `/intelligentBody/needRetry`,
80132
+ method: 'get',
80133
+ params,
80134
+ });
80123
80135
  };
80124
80136
 
80125
80137
  // CONCATENATED MODULE: ./node_modules/@microsoft/fetch-event-source/lib/esm/parse.js
@@ -80933,6 +80945,7 @@ const chatvue_type_script_lang_js_signal = chatvue_type_script_lang_js_controlle
80933
80945
  }).then((res) => {
80934
80946
  if (res.data.code == 200) {
80935
80947
  this.messageListData[index].feedbackType = this.messageListData[index].feedbackType == 1 ? null : 1;
80948
+ this.$forceUpdate()
80936
80949
  }
80937
80950
  });
80938
80951
  },
@@ -80947,6 +80960,7 @@ const chatvue_type_script_lang_js_signal = chatvue_type_script_lang_js_controlle
80947
80960
  }).then((res) => {
80948
80961
  if (res.data.code == 200) {
80949
80962
  this.messageListData[index].feedbackType = this.messageListData[index].feedbackType == 2 ? null : 2;
80963
+ this.$forceUpdate()
80950
80964
  }
80951
80965
  });
80952
80966
  },
@@ -81464,11 +81478,11 @@ const chatvue_type_script_lang_js_signal = chatvue_type_script_lang_js_controlle
81464
81478
 
81465
81479
  // CONCATENATED MODULE: ./src/components/agentComponent/chat.vue?vue&type=script&lang=js
81466
81480
  /* harmony default export */ var agentComponent_chatvue_type_script_lang_js = (chatvue_type_script_lang_js);
81467
- // EXTERNAL MODULE: ./src/components/agentComponent/chat.vue?vue&type=style&index=0&id=02cfa83a&prod&lang=scss&scoped=true
81468
- var chatvue_type_style_index_0_id_02cfa83a_prod_lang_scss_scoped_true = __webpack_require__("1a01");
81481
+ // EXTERNAL MODULE: ./src/components/agentComponent/chat.vue?vue&type=style&index=0&id=1cec6968&prod&lang=scss&scoped=true
81482
+ var chatvue_type_style_index_0_id_1cec6968_prod_lang_scss_scoped_true = __webpack_require__("2b3d");
81469
81483
 
81470
- // EXTERNAL MODULE: ./src/components/agentComponent/chat.vue?vue&type=style&index=1&id=02cfa83a&prod&scoped=true&lang=css
81471
- var chatvue_type_style_index_1_id_02cfa83a_prod_scoped_true_lang_css = __webpack_require__("1d62");
81484
+ // EXTERNAL MODULE: ./src/components/agentComponent/chat.vue?vue&type=style&index=1&id=1cec6968&prod&scoped=true&lang=css
81485
+ var chatvue_type_style_index_1_id_1cec6968_prod_scoped_true_lang_css = __webpack_require__("c0d3");
81472
81486
 
81473
81487
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
81474
81488
  /* globals __VUE_SSR_CONTEXT__ */
@@ -81580,11 +81594,11 @@ function normalizeComponent(
81580
81594
 
81581
81595
  var component = normalizeComponent(
81582
81596
  agentComponent_chatvue_type_script_lang_js,
81583
- chatvue_type_template_id_02cfa83a_scoped_true_render,
81584
- chatvue_type_template_id_02cfa83a_scoped_true_staticRenderFns,
81597
+ chatvue_type_template_id_1cec6968_scoped_true_render,
81598
+ chatvue_type_template_id_1cec6968_scoped_true_staticRenderFns,
81585
81599
  false,
81586
81600
  null,
81587
- "02cfa83a",
81601
+ "1cec6968",
81588
81602
  null
81589
81603
 
81590
81604
  )
@@ -81781,18 +81795,19 @@ var dialogueList_component = normalizeComponent(
81781
81795
  )
81782
81796
 
81783
81797
  /* harmony default export */ var dialogueList = (dialogueList_component.exports);
81784
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"404717ef-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/agentComponent/popularAndCommand.vue?vue&type=template&id=3bace17e&scoped=true
81785
- var popularAndCommandvue_type_template_id_3bace17e_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"popularAndCommand"},[_vm._m(0),_c('div',{staticClass:"box"},[_c('div',{staticClass:"question"},[_c('img',{staticClass:"ti",attrs:{"src":"https://file.banwoxue.com/aiAgent/d8295edcd4494319951597ff954e3a63/questionTi.png","alt":""}}),_c('div',{staticClass:"text"},[_vm._v("热门问题")]),_c('span',[_vm._v("用户关心的问题,解决常见需求")]),_vm._l((_vm.questionList),function(item,index){return _c('div',{key:index,staticClass:"question_item"},[_c('div',{staticClass:"xh",class:'xh' + index},[_vm._v(" "+_vm._s(index + 1)+". ")]),_c('div',{staticClass:"cons"},[_c('div',{staticClass:"top"},[_vm._v(_vm._s(item.question))])])])}),(_vm.questionList.length == 0)?_c('div',{staticClass:"empty"},[_vm._v(" 暂无热门问题 ")]):_vm._e()],2),_c('div',{staticClass:"center"},[_c('img',{staticClass:"ti",attrs:{"src":"https://file.banwoxue.com/aiAgent/d8295edcd4494319951597ff954e3a63/centerTi.png","alt":""}}),_c('div',{staticClass:"text"},[_vm._v("指令中心")]),_c('div',{staticClass:"hyp"},[_c('span',[_vm._v("内容深度解读,系统掌握核心技能")]),_c('div',{staticClass:"hyh",on:{"click":function($event){return _vm.changeArr()}}},[_c('i',{staticClass:"el-icon-refresh"}),_vm._v(" 换一批 ")])]),_c('div',{staticClass:"list"},_vm._l((_vm.list),function(item,index){return _c('div',{key:index,staticClass:"item",on:{"click":function($event){return _vm.chooseChat(item)}}},[_c('div',{staticClass:"left"},[_c('img',{staticClass:"img",attrs:{"src":item.img,"alt":""}})]),_c('div',{staticClass:"right"},[_vm._v(" "+_vm._s(item.name)+" ")])])}),0)])])])
81798
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"404717ef-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/agentComponent/popularAndCommand.vue?vue&type=template&id=3b026cf6&scoped=true
81799
+ var popularAndCommandvue_type_template_id_3b026cf6_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"popularAndCommand"},[_vm._m(0),(_vm.courseInfo.userType == 2)?_c('div',{staticClass:"statiTeacher"},[_c('p',[_vm._v(" 已建设课程数量"),_c('span',[_vm._v(_vm._s(_vm.courseInfo.teacherCourse.courseNum || 0))]),_vm._v(",开设课期数量"),_c('span',[_vm._v(_vm._s(_vm.courseInfo.teacherCourse.courseInfoNum || 0))]),_vm._v(", 参与学生人数"),_c('span',[_vm._v(_vm._s(_vm.courseInfo.teacherCourse.stuNum || 0))]),_vm._v(",上传资源数量"),_c('span',[_vm._v(_vm._s(_vm.courseInfo.teacherCourse.resourceNum || 0))]),_vm._v(",被引用数量"),_c('span',[_vm._v(_vm._s(_vm.courseInfo.teacherCourse.resourceCellNum || 0))]),_vm._v("; ")]),_c('div',[_vm._v("其中未结课的: "),(_vm.courseInfo.teacherCourseInfoList.length == 0)?_c('span',[_vm._v("0")]):_vm._e(),_vm._l((_vm.courseInfo.teacherCourseInfoList),function(item,index){return _c('div',{key:index,staticClass:"course-item"},[_c('p',{staticStyle:{"font-weight":"bold"}},[_vm._v(_vm._s(item.courseName + '-' + item.courseInfoName))]),_c('p',[_vm._v(" 作业批改情况:已批"),_c('span',[_vm._v(_vm._s(item.assignmentMarkNum || 0))]),_vm._v(" ,待批"),_c('span',[_vm._v(_vm._s(item.assignmentNoMarkNum || 0))]),_vm._v(",作业参与人数"),_c('span',[_vm._v(_vm._s(item.assignmentSubmitUserNum || 0))]),_vm._v(",作业参与率"),_c('span',[_vm._v(_vm._s(item.assignmentSubmitUserRate + '%' || false))]),_vm._v("; ")]),_c('p',[_vm._v(" 考试批改情况: 已批"),_c('span',[_vm._v(_vm._s(item.examMarkNum || 0))]),_vm._v(" ,待批"),_c('span',[_vm._v(_vm._s(item.examNoMarkNum || 0))]),_vm._v(",考试参与人数"),_c('span',[_vm._v(_vm._s(item.examSubmitUserNum || 0))]),_vm._v(", 考试参与率"),_c('span',[_vm._v(_vm._s(item.examSubmitUserRate + '%' || false))]),_vm._v("; ")]),_c('p',[_vm._v(" 测验批改情况: 已批"),_c('span',[_vm._v(_vm._s(item.testMarkNum || 0))]),_vm._v(" ,待批"),_c('span',[_vm._v(_vm._s(item.testNoMarkNum || 0))]),_vm._v(",测验参与人数"),_c('span',[_vm._v(_vm._s(item.testSubmitUserNum || 0))]),_vm._v(",测验参与率"),_c('span',[_vm._v(_vm._s(item.testSubmitUserRate + '%' || false))])]),_c('p',[_vm._v(" 发帖数量"),_c('span',[_vm._v(_vm._s(item.tchrBbsNum + item.stuBbsNum || 0))]),_vm._v(":其中教师发帖"),_c('span',[_vm._v(_vm._s(item.tchrBbsNum || 0))]),_vm._v(",学生发帖"),_c('span',[_vm._v(_vm._s(item.stuBbsNum || 0))]),_vm._v(";参与互动人数"),_c('span',[_vm._v(_vm._s(item.bbsUserNum || 0))]),_vm._v(",人均参与互动数"),_c('span',[_vm._v(_vm._s(item.bbsAvgNum || 0))])]),_c('p',[_vm._v(" 当期选课人数"),_c('span',[_vm._v(_vm._s(item.stuNum || 0))]),_vm._v(",学员所属单位数"),_c('span',[_vm._v(_vm._s(item.schoolNum || 0))]),_vm._v(",完课数量"),_c('span',[_vm._v(_vm._s(item.completeCourseNum ||0))])])])})],2)]):_c('div',{staticClass:"staticOther"},[_c('p',[_vm._v("学习了"),_c('span',[_vm._v(_vm._s(_vm.courseInfo.studentCourse.stuCourseNum || 0))]),_vm._v("门课程,学习"),_c('span',[_vm._v(_vm._s(_vm.courseInfo.studentCourse.stuCourseInfoNum || 0))]),_vm._v("期课程,已结课"),_c('span',[_vm._v(_vm._s(_vm.courseInfo.studentCourse.stuCompletionNum || 0))]),_vm._v("期, 未结课"),_c('span',[_vm._v(_vm._s(_vm.courseInfo.studentCourse.progressCourseNum || 0))]),_vm._v("门,未结课"),_c('span',[_vm._v(_vm._s(_vm.courseInfo.studentCourse.progressCourseInfoNum || 0))]),_vm._v("期,")]),_c('div',[_vm._v(" 其中未结课的: "),(_vm.courseInfo.studentCourseInfoList.length == 0)?_c('span',[_vm._v("0")]):_vm._e(),_vm._l((_vm.courseInfo.studentCourseInfoList),function(item,index){return _c('div',{key:index,staticClass:"course-item"},[_c('p',{staticStyle:{"font-weight":"bold"}},[_vm._v(_vm._s(item.courseName + '-' + item.courseInfoName))]),_c('p',[_vm._v(" 学习整体进度"),_c('span',[_vm._v(_vm._s(item.studySpeed + "%" || false))]),_vm._v(",参与作业数量"),_c('span',[_vm._v(_vm._s(item.assignmentStudyNum || 0))]),_vm._v(",作业通过率"),_c('span',[_vm._v(_vm._s(item.assignmentPassRate + '%' || false))]),_vm._v(",参与测验数量"),_c('span',[_vm._v(_vm._s(item.testStudyNum || 0))]),_vm._v(", 测验通过率"),_c('span',[_vm._v(_vm._s(item.testPassRate + '%' || false))]),_vm._v(",参与考试数量"),_c('span',[_vm._v(_vm._s(item.examStudyNum || 0))]),_vm._v(",考试通过率"),_c('span',[_vm._v(_vm._s(item.examPassRate + '%' || false))])])])})],2)]),_c('div',{staticClass:"box"},[_c('div',{staticClass:"question"},[_c('img',{staticClass:"ti",attrs:{"alt":"","src":"https://file.banwoxue.com/aiAgent/d8295edcd4494319951597ff954e3a63/questionTi.png"}}),_c('div',{staticClass:"text"},[_vm._v("热门问题")]),_c('span',[_vm._v("用户关心的问题,解决常见需求")]),_vm._l((_vm.questionList),function(item,index){return _c('div',{key:index,staticClass:"question_item"},[_c('div',{staticClass:"xh",class:'xh' + index},[_vm._v(" "+_vm._s(index + 1)+". ")]),_c('div',{staticClass:"cons"},[_c('div',{staticClass:"top"},[_vm._v(_vm._s(item.question))])])])}),(_vm.questionList.length == 0)?_c('div',{staticClass:"empty"},[_vm._v(" 暂无热门问题 ")]):_vm._e()],2),_c('div',{staticClass:"center"},[_c('img',{staticClass:"ti",attrs:{"alt":"","src":"https://file.banwoxue.com/aiAgent/d8295edcd4494319951597ff954e3a63/centerTi.png"}}),_c('div',{staticClass:"text"},[_vm._v("指令中心")]),_c('div',{staticClass:"hyp"},[_c('span',[_vm._v("内容深度解读,系统掌握核心技能")]),_c('div',{staticClass:"hyh",on:{"click":function($event){return _vm.changeArr()}}},[_c('i',{staticClass:"el-icon-refresh"}),_vm._v(" 换一批 ")])]),_c('div',{staticClass:"list"},_vm._l((_vm.list),function(item,index){return _c('div',{key:index,staticClass:"item",on:{"click":function($event){return _vm.chooseChat(item)}}},[_c('div',{staticClass:"left"},[_c('img',{staticClass:"img",attrs:{"src":item.img,"alt":""}})]),_c('div',{staticClass:"right"},[_vm._v(" "+_vm._s(item.name)+" ")])])}),0)])])])
81786
81800
  }
81787
- var popularAndCommandvue_type_template_id_3bace17e_scoped_true_staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"wh"},[_vm._v("你好,我是AI"),_c('span',[_vm._v("助手")])])
81801
+ var popularAndCommandvue_type_template_id_3b026cf6_scoped_true_staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"wh"},[_vm._v("你好,我是AI"),_c('span',[_vm._v("助手")])])
81788
81802
  }]
81789
81803
 
81790
81804
 
81791
- // CONCATENATED MODULE: ./src/components/agentComponent/popularAndCommand.vue?vue&type=template&id=3bace17e&scoped=true
81805
+ // CONCATENATED MODULE: ./src/components/agentComponent/popularAndCommand.vue?vue&type=template&id=3b026cf6&scoped=true
81792
81806
 
81793
81807
  // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/agentComponent/popularAndCommand.vue?vue&type=script&lang=js
81794
81808
 
81795
81809
 
81810
+
81796
81811
  /* harmony default export */ var popularAndCommandvue_type_script_lang_js = ({
81797
81812
  name: 'popularAndCommand',
81798
81813
  data() {
@@ -81911,6 +81926,7 @@ var popularAndCommandvue_type_template_id_3bace17e_scoped_true_staticRenderFns =
81911
81926
  },
81912
81927
  ],
81913
81928
  list: [],
81929
+ courseInfo: {},
81914
81930
  num: 0,
81915
81931
  // 选中的应用
81916
81932
  activeIndex: 0,
@@ -81918,9 +81934,19 @@ var popularAndCommandvue_type_template_id_3bace17e_scoped_true_staticRenderFns =
81918
81934
  },
81919
81935
  created() {
81920
81936
  this.getxhQuestionRank();
81937
+ this.getxhStatic();
81921
81938
  this.list = this.indexArr.slice(0, 8);
81922
81939
  },
81923
81940
  methods: {
81941
+ //获取统计信息
81942
+ getxhStatic() {
81943
+ getStatistics().then(res => {
81944
+ console.log(res, 'lll');
81945
+ this.courseInfo = res.data.data;
81946
+ if (!this.courseInfo.teacherCourse) this.courseInfo.teacherCourse = {};
81947
+ if (!this.courseInfo.studentCourse) this.courseInfo.studentCourse = {};
81948
+ });
81949
+ },
81924
81950
  //获取热门列表
81925
81951
  getxhQuestionRank() {
81926
81952
  xhQuestionRank({
@@ -81953,8 +81979,8 @@ var popularAndCommandvue_type_template_id_3bace17e_scoped_true_staticRenderFns =
81953
81979
 
81954
81980
  // CONCATENATED MODULE: ./src/components/agentComponent/popularAndCommand.vue?vue&type=script&lang=js
81955
81981
  /* harmony default export */ var agentComponent_popularAndCommandvue_type_script_lang_js = (popularAndCommandvue_type_script_lang_js);
81956
- // EXTERNAL MODULE: ./src/components/agentComponent/popularAndCommand.vue?vue&type=style&index=0&id=3bace17e&prod&lang=scss&scoped=true
81957
- var popularAndCommandvue_type_style_index_0_id_3bace17e_prod_lang_scss_scoped_true = __webpack_require__("21d4");
81982
+ // EXTERNAL MODULE: ./src/components/agentComponent/popularAndCommand.vue?vue&type=style&index=0&id=3b026cf6&prod&lang=scss&scoped=true
81983
+ var popularAndCommandvue_type_style_index_0_id_3b026cf6_prod_lang_scss_scoped_true = __webpack_require__("a03d");
81958
81984
 
81959
81985
  // CONCATENATED MODULE: ./src/components/agentComponent/popularAndCommand.vue
81960
81986
 
@@ -81967,11 +81993,11 @@ var popularAndCommandvue_type_style_index_0_id_3bace17e_prod_lang_scss_scoped_tr
81967
81993
 
81968
81994
  var popularAndCommand_component = normalizeComponent(
81969
81995
  agentComponent_popularAndCommandvue_type_script_lang_js,
81970
- popularAndCommandvue_type_template_id_3bace17e_scoped_true_render,
81971
- popularAndCommandvue_type_template_id_3bace17e_scoped_true_staticRenderFns,
81996
+ popularAndCommandvue_type_template_id_3b026cf6_scoped_true_render,
81997
+ popularAndCommandvue_type_template_id_3b026cf6_scoped_true_staticRenderFns,
81972
81998
  false,
81973
81999
  null,
81974
- "3bace17e",
82000
+ "3b026cf6",
81975
82001
  null
81976
82002
 
81977
82003
  )