ai-component-bwx 0.0.12 → 0.0.14

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.
@@ -365,6 +365,17 @@ module.exports.f = function getOwnPropertyNames(it) {
365
365
  };
366
366
 
367
367
 
368
+ /***/ }),
369
+
370
+ /***/ "062f":
371
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
372
+
373
+ "use strict";
374
+ /* 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_7d856dfe_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("8004");
375
+ /* 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_7d856dfe_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_7d856dfe_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
376
+ /* unused harmony reexport * */
377
+
378
+
368
379
  /***/ }),
369
380
 
370
381
  /***/ "07e3":
@@ -595,6 +606,17 @@ module.exports = function ( delay, atBegin, callback ) {
595
606
  };
596
607
 
597
608
 
609
+ /***/ }),
610
+
611
+ /***/ "0f9b":
612
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
613
+
614
+ "use strict";
615
+ /* 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_jiaoAnContent_vue_vue_type_style_index_0_id_3e548358_prod_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("5701");
616
+ /* 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_jiaoAnContent_vue_vue_type_style_index_0_id_3e548358_prod_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_jiaoAnContent_vue_vue_type_style_index_0_id_3e548358_prod_lang_css__WEBPACK_IMPORTED_MODULE_0__);
617
+ /* unused harmony reexport * */
618
+
619
+
598
620
  /***/ }),
599
621
 
600
622
  /***/ "0fc9":
@@ -1123,13 +1145,6 @@ module.exports = (
1123
1145
  ).split(',');
1124
1146
 
1125
1147
 
1126
- /***/ }),
1127
-
1128
- /***/ "16f0":
1129
- /***/ (function(module, exports, __webpack_require__) {
1130
-
1131
- // extracted by mini-css-extract-plugin
1132
-
1133
1148
  /***/ }),
1134
1149
 
1135
1150
  /***/ "17ed":
@@ -1139,13 +1154,6 @@ module.exports = { "default": __webpack_require__("d8d6"), __esModule: true };
1139
1154
 
1140
1155
  /***/ }),
1141
1156
 
1142
- /***/ "1974":
1143
- /***/ (function(module, exports, __webpack_require__) {
1144
-
1145
- // extracted by mini-css-extract-plugin
1146
-
1147
- /***/ }),
1148
-
1149
1157
  /***/ "1bc3":
1150
1158
  /***/ (function(module, exports, __webpack_require__) {
1151
1159
 
@@ -1207,6 +1215,13 @@ module.exports = function (it) {
1207
1215
  /* unused harmony reexport * */
1208
1216
 
1209
1217
 
1218
+ /***/ }),
1219
+
1220
+ /***/ "1f7c":
1221
+ /***/ (function(module, exports, __webpack_require__) {
1222
+
1223
+ // extracted by mini-css-extract-plugin
1224
+
1210
1225
  /***/ }),
1211
1226
 
1212
1227
  /***/ "21a6":
@@ -1405,6 +1420,17 @@ module.exports = function (it) {
1405
1420
 
1406
1421
  // extracted by mini-css-extract-plugin
1407
1422
 
1423
+ /***/ }),
1424
+
1425
+ /***/ "276c":
1426
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
1427
+
1428
+ "use strict";
1429
+ /* 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_7d856dfe_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("4ed3");
1430
+ /* 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_7d856dfe_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_7d856dfe_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__);
1431
+ /* unused harmony reexport * */
1432
+
1433
+
1408
1434
  /***/ }),
1409
1435
 
1410
1436
  /***/ "294c":
@@ -2229,13 +2255,6 @@ module.exports = function (it) {
2229
2255
  };
2230
2256
 
2231
2257
 
2232
- /***/ }),
2233
-
2234
- /***/ "36fb":
2235
- /***/ (function(module, exports, __webpack_require__) {
2236
-
2237
- // extracted by mini-css-extract-plugin
2238
-
2239
2258
  /***/ }),
2240
2259
 
2241
2260
  /***/ "387f":
@@ -7201,6 +7220,13 @@ src_select.install = function (Vue) {
7201
7220
 
7202
7221
  /***/ }),
7203
7222
 
7223
+ /***/ "4ed3":
7224
+ /***/ (function(module, exports, __webpack_require__) {
7225
+
7226
+ // extracted by mini-css-extract-plugin
7227
+
7228
+ /***/ }),
7229
+
7204
7230
  /***/ "4f15":
7205
7231
  /***/ (function(module, exports, __webpack_require__) {
7206
7232
 
@@ -20930,6 +20956,24 @@ module.exports = function (key) {
20930
20956
  };
20931
20957
 
20932
20958
 
20959
+ /***/ }),
20960
+
20961
+ /***/ "569a":
20962
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
20963
+
20964
+ "use strict";
20965
+ /* 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_banwoxueAgentComponent_vue_vue_type_style_index_0_id_0902c76a_prod_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("99df");
20966
+ /* 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_banwoxueAgentComponent_vue_vue_type_style_index_0_id_0902c76a_prod_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_banwoxueAgentComponent_vue_vue_type_style_index_0_id_0902c76a_prod_lang_css__WEBPACK_IMPORTED_MODULE_0__);
20967
+ /* unused harmony reexport * */
20968
+
20969
+
20970
+ /***/ }),
20971
+
20972
+ /***/ "5701":
20973
+ /***/ (function(module, exports, __webpack_require__) {
20974
+
20975
+ // extracted by mini-css-extract-plugin
20976
+
20933
20977
  /***/ }),
20934
20978
 
20935
20979
  /***/ "584a":
@@ -66207,17 +66251,6 @@ $export.R = 128; // real proto method for `library`
66207
66251
  module.exports = $export;
66208
66252
 
66209
66253
 
66210
- /***/ }),
66211
-
66212
- /***/ "65d4":
66213
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
66214
-
66215
- "use strict";
66216
- /* 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_b588c6c6_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("9637");
66217
- /* 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_b588c6c6_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_b588c6c6_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
66218
- /* unused harmony reexport * */
66219
-
66220
-
66221
66254
  /***/ }),
66222
66255
 
66223
66256
  /***/ "6718":
@@ -67880,13 +67913,6 @@ var index = (function () {
67880
67913
 
67881
67914
  /***/ }),
67882
67915
 
67883
- /***/ "6e84":
67884
- /***/ (function(module, exports, __webpack_require__) {
67885
-
67886
- // extracted by mini-css-extract-plugin
67887
-
67888
- /***/ }),
67889
-
67890
67916
  /***/ "71c1":
67891
67917
  /***/ (function(module, exports, __webpack_require__) {
67892
67918
 
@@ -68022,18 +68048,22 @@ exports.default = aria.Dialog;
68022
68048
 
68023
68049
  /***/ }),
68024
68050
 
68025
- /***/ "765d":
68026
- /***/ (function(module, exports, __webpack_require__) {
68051
+ /***/ "764f":
68052
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
68027
68053
 
68028
- __webpack_require__("6718")('observable');
68054
+ "use strict";
68055
+ /* 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_lessonPlanTemplateDialog_vue_vue_type_style_index_0_id_194cf09f_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("1f7c");
68056
+ /* 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_lessonPlanTemplateDialog_vue_vue_type_style_index_0_id_194cf09f_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_lessonPlanTemplateDialog_vue_vue_type_style_index_0_id_194cf09f_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
68057
+ /* unused harmony reexport * */
68029
68058
 
68030
68059
 
68031
68060
  /***/ }),
68032
68061
 
68033
- /***/ "790e":
68062
+ /***/ "765d":
68034
68063
  /***/ (function(module, exports, __webpack_require__) {
68035
68064
 
68036
- // extracted by mini-css-extract-plugin
68065
+ __webpack_require__("6718")('observable');
68066
+
68037
68067
 
68038
68068
  /***/ }),
68039
68069
 
@@ -68583,6 +68613,13 @@ checkbox_group.install = function (Vue) {
68583
68613
 
68584
68614
  /***/ }),
68585
68615
 
68616
+ /***/ "8004":
68617
+ /***/ (function(module, exports, __webpack_require__) {
68618
+
68619
+ // extracted by mini-css-extract-plugin
68620
+
68621
+ /***/ }),
68622
+
68586
68623
  /***/ "8122":
68587
68624
  /***/ (function(module, exports, __webpack_require__) {
68588
68625
 
@@ -70189,17 +70226,6 @@ module.exports = Array.isArray || function isArray(arg) {
70189
70226
  module.exports = __webpack_require__("35e8");
70190
70227
 
70191
70228
 
70192
- /***/ }),
70193
-
70194
- /***/ "92e1":
70195
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
70196
-
70197
- "use strict";
70198
- /* 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_banwoxueAgentComponent_vue_vue_type_style_index_0_id_12f82a14_prod_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("36fb");
70199
- /* 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_banwoxueAgentComponent_vue_vue_type_style_index_0_id_12f82a14_prod_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_banwoxueAgentComponent_vue_vue_type_style_index_0_id_12f82a14_prod_lang_css__WEBPACK_IMPORTED_MODULE_0__);
70200
- /* unused harmony reexport * */
70201
-
70202
-
70203
70229
  /***/ }),
70204
70230
 
70205
70231
  /***/ "92fa":
@@ -70319,7 +70345,7 @@ module.exports = {
70319
70345
 
70320
70346
  /***/ }),
70321
70347
 
70322
- /***/ "9637":
70348
+ /***/ "99df":
70323
70349
  /***/ (function(module, exports, __webpack_require__) {
70324
70350
 
70325
70351
  // extracted by mini-css-extract-plugin
@@ -71910,6 +71936,17 @@ var ExecutionEnvironment = {
71910
71936
  module.exports = ExecutionEnvironment;
71911
71937
 
71912
71938
 
71939
+ /***/ }),
71940
+
71941
+ /***/ "a60f":
71942
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
71943
+
71944
+ "use strict";
71945
+ /* 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_banwoxueAgentComponent_vue_vue_type_style_index_1_id_0902c76a_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("acbc");
71946
+ /* 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_banwoxueAgentComponent_vue_vue_type_style_index_1_id_0902c76a_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_banwoxueAgentComponent_vue_vue_type_style_index_1_id_0902c76a_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
71947
+ /* unused harmony reexport * */
71948
+
71949
+
71913
71950
  /***/ }),
71914
71951
 
71915
71952
  /***/ "a742":
@@ -71971,25 +72008,10 @@ var isDefined = exports.isDefined = function isDefined(val) {
71971
72008
 
71972
72009
  /***/ }),
71973
72010
 
71974
- /***/ "ab58":
71975
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
71976
-
71977
- "use strict";
71978
- /* 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_jiaoAnContent_vue_vue_type_style_index_0_id_01ff93a8_prod_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("1974");
71979
- /* 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_jiaoAnContent_vue_vue_type_style_index_0_id_01ff93a8_prod_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_jiaoAnContent_vue_vue_type_style_index_0_id_01ff93a8_prod_lang_css__WEBPACK_IMPORTED_MODULE_0__);
71980
- /* unused harmony reexport * */
71981
-
71982
-
71983
- /***/ }),
71984
-
71985
- /***/ "ad10":
71986
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
71987
-
71988
- "use strict";
71989
- /* 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_b588c6c6_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("6e84");
71990
- /* 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_b588c6c6_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_b588c6c6_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__);
71991
- /* unused harmony reexport * */
72011
+ /***/ "acbc":
72012
+ /***/ (function(module, exports, __webpack_require__) {
71992
72013
 
72014
+ // extracted by mini-css-extract-plugin
71993
72015
 
71994
72016
  /***/ }),
71995
72017
 
@@ -72291,17 +72313,6 @@ module.exports = true;
72291
72313
 
72292
72314
  module.exports = __webpack_require__("cee4");
72293
72315
 
72294
- /***/ }),
72295
-
72296
- /***/ "bd8d":
72297
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
72298
-
72299
- "use strict";
72300
- /* 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_lessonPlanTemplateDialog_vue_vue_type_style_index_0_id_db488cf2_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("790e");
72301
- /* 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_lessonPlanTemplateDialog_vue_vue_type_style_index_0_id_db488cf2_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_lessonPlanTemplateDialog_vue_vue_type_style_index_0_id_db488cf2_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
72302
- /* unused harmony reexport * */
72303
-
72304
-
72305
72316
  /***/ }),
72306
72317
 
72307
72318
  /***/ "bf0b":
@@ -75803,17 +75814,6 @@ var substr = 'ab'.substr(-1) === 'b'
75803
75814
 
75804
75815
  /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("4362")))
75805
75816
 
75806
- /***/ }),
75807
-
75808
- /***/ "e0f4":
75809
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
75810
-
75811
- "use strict";
75812
- /* 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_banwoxueAgentComponent_vue_vue_type_style_index_1_id_12f82a14_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("16f0");
75813
- /* 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_banwoxueAgentComponent_vue_vue_type_style_index_1_id_12f82a14_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_banwoxueAgentComponent_vue_vue_type_style_index_1_id_12f82a14_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
75814
- /* unused harmony reexport * */
75815
-
75816
-
75817
75817
  /***/ }),
75818
75818
 
75819
75819
  /***/ "e450":
@@ -79689,23 +79689,23 @@ if (typeof window !== 'undefined') {
79689
79689
  // Indicate to webpack that this file can be concatenated
79690
79690
  /* harmony default export */ var setPublicPath = (null);
79691
79691
 
79692
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"21a80d7a-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/banwoxueAgentComponent.vue?vue&type=template&id=12f82a14&scoped=true
79692
+ // 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/banwoxueAgentComponent.vue?vue&type=template&id=0902c76a&scoped=true
79693
79693
  var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticStyle:{"height":"400vh"}},[(_vm.AiShow)?_c('div',{ref:"banwoxueAgentComponent",staticClass:"banwoxueAgentComponent"},[_c('div',{staticClass:"close",on:{"click":function($event){_vm.AiShow = !_vm.AiShow}}},[_vm._v("✕")]),_c('div',{staticClass:"left_dialogueList",class:{ collapsed: _vm.isSidebarCollapsed }},[_c('div',{staticClass:"sidebar-toggle",on:{"click":_vm.toggleSidebar}},[_c('i',{class:_vm.isSidebarCollapsed ? 'el-icon-arrow-right' : 'el-icon-arrow-left'})]),_c('transition',{attrs:{"name":"slide-fade","mode":"out-in"}},[_c('dialogueList',{directives:[{name:"show",rawName:"v-show",value:(!_vm.isSidebarCollapsed),expression:"!isSidebarCollapsed"}],attrs:{"modelList":_vm.modelList}})],1)],1),_c('div',{staticClass:"draw-content"},[(!_vm.chatShow)?_c('div',{staticClass:"moxing"},[_c('popularAndCommand')],1):_vm._e(),_c('transition',{attrs:{"name":"el-zoom-in-top"}},[(_vm.chatShow)?_c('div',{staticClass:"chat"},[_c('chat',{ref:"chat",attrs:{"sideCurrentId":_vm.sideCurrentId,"sideCurrentName":_vm.sideCurrentName,"messageListData":_vm.messageListData,"chatType":1},on:{"openLessonSidebar":_vm.handleOpenLessonSidebar,"openPptSidebar":_vm.handleOpenPptSidebar}})],1):_vm._e()]),_c('div',{staticClass:"foot"},[_c('div',{staticClass:"inputField"},[_c('div',{staticClass:"function-buttons"},_vm._l((_vm.planList),function(i){return _c('div',{key:i.id,staticClass:"ai-btnja",class:{ active: _vm.selectedButton === i.id },on:{"click":function($event){return _vm.handleChange(i)}}},[_vm._v(" "+_vm._s(i.title)+" ")])}),0),(_vm.selectedButton == 1)?_c('div',{staticClass:"lesson-plan-template",on:{"keydown":function($event){return _vm.handleKeydown($event, 1)}}},[_c('span',{staticStyle:{"color":"#5b58e3"}},[_vm._v("AI教案   ")]),_c('span',[_vm._v("帮我写一份关于")]),_c('span',{ref:"subject",staticClass:"editable-part",attrs:{"contenteditable":"true","data-placeholder":"[课程名称]"}}),_c('span',[_vm._v("的教案,教材名称为")]),_c('span',{ref:"grade",staticClass:"editable-part",attrs:{"contenteditable":"true","data-placeholder":"[如:新闻采访与写作]"}}),_c('span',[_vm._v(",专业学科为")]),_c('span',{ref:"course",staticClass:"editable-part",attrs:{"contenteditable":"true","data-placeholder":"[如:数学]"}}),_c('span',[_vm._v("。")]),_c('button',{staticClass:"generate-btn",on:{"click":_vm.generateLessonPlan}},[_c('img',{attrs:{"src":"https://file.banwoxue.com/aiAgent/66223df144904d83a5aa97edfcbbb256/send.png","alt":"生成"}})])]):(_vm.selectedButton == 2)?_c('div',{staticClass:"lesson-plan-template",on:{"keydown":function($event){return _vm.handleKeydown($event, 2)}}},[_c('span',{staticStyle:{"color":"#5b58e3"}},[_vm._v("AI PPT   ")]),_c('span',[_vm._v("帮我生成PPT,主题为")]),_c('span',{ref:"PPTTitle",staticClass:"editable-part",attrs:{"contenteditable":"true","data-placeholder":"[PPT主题]"}}),_c('span',[_vm._v("。")]),_c('button',{staticClass:"generate-btn",on:{"click":_vm.generateLessonPlanPPT}},[_c('img',{attrs:{"src":"https://file.banwoxue.com/aiAgent/66223df144904d83a5aa97edfcbbb256/send.png","alt":"生成"}})])]):_c('div',{staticClass:"input-container",staticStyle:{"position":"relative","display":"inline-block"}},[_c('el-input',{ref:"input",style:({ resize: 'none' }),attrs:{"type":"textarea","rows":2,"placeholder":_vm.placeholder,"disabled":_vm.voice},nativeOn:{"keydown":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter"))return null;return _vm.handleEnterKey.apply(null, arguments)}},model:{value:(_vm.userInput),callback:function ($$v) {_vm.userInput=$$v},expression:"userInput"}}),_c('div',{staticClass:"send",staticStyle:{"position":"absolute","right":"10px","bottom":"10px"},on:{"click":_vm.handleEnterKey}},[_c('img',{attrs:{"src":"https://file.banwoxue.com/aiAgent/66223df144904d83a5aa97edfcbbb256/send.png","alt":"发送"}})])],1)]),_c('foot')],1)],1),(_vm.aiJaDrawer)?_c('div',{staticClass:"right-sidebar",attrs:{"id":"rightSidebar"}},[_c('JiaoAnContent',{attrs:{"tableHtml":_vm.tableHtml,"content":_vm.content}})],1):_vm._e(),(_vm.aiPptDrawer)?_c('div',{staticClass:"right-sidebar",attrs:{"id":"pptSidebar"}},[_c('PptContent',{attrs:{"pptSections":_vm.pptSections,"images_url":_vm.images_url},on:{"regenerate":_vm.handleRegeneratePpt}})],1):_vm._e(),_c('LessonPlanTemplateDialog',{attrs:{"visible":_vm.showTemplateDialog},on:{"update:visible":function($event){_vm.showTemplateDialog=$event},"template-selected":_vm.handleTemplateSelected}}),(_vm.showPptTemplateDialog)?_c('PptTemplateDialog',{on:{"template-selected":_vm.handlePptTemplateSelected}}):_vm._e()],1):_c('div',{staticClass:"logoShow",on:{"click":_vm.showAenget}},[_c('img',{attrs:{"src":_vm.agentArr,"alt":""}})])])
79694
79694
  }
79695
79695
  var staticRenderFns = []
79696
79696
 
79697
79697
 
79698
- // CONCATENATED MODULE: ./src/components/banwoxueAgentComponent.vue?vue&type=template&id=12f82a14&scoped=true
79698
+ // CONCATENATED MODULE: ./src/components/banwoxueAgentComponent.vue?vue&type=template&id=0902c76a&scoped=true
79699
79699
 
79700
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"21a80d7a-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=b588c6c6&scoped=true
79701
- var chatvue_type_template_id_b588c6c6_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(_vm._s(_vm.getIconText(item)))])]),_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=7d856dfe&scoped=true
79701
+ var chatvue_type_template_id_7d856dfe_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_b588c6c6_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_7d856dfe_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=b588c6c6&scoped=true
79708
+ // CONCATENATED MODULE: ./src/components/agentComponent/chat.vue?vue&type=template&id=7d856dfe&scoped=true
79709
79709
 
79710
79710
  // CONCATENATED MODULE: ./src/utils/errorCode.js
79711
79711
  /* harmony default export */ var errorCode = ({
@@ -79772,7 +79772,11 @@ request.interceptors.response.use(
79772
79772
  cancelButtonText: '取消',
79773
79773
  type: 'warning',
79774
79774
  }).then(() => {
79775
- let url = 'https://sso.icve.com.cn/sso/auth?mode=simple&redirect=';
79775
+ const environment = sessionStorage.getItem('environment');
79776
+ let url =
79777
+ environment == 'test'
79778
+ ? 'https://testsso.icve.com.cn/sso/auth?mode=simple&redirect='
79779
+ : 'https://sso.icve.com.cn/sso/auth?mode=simple&redirect=';
79776
79780
  let redirect = window.location.href;
79777
79781
  window.location.href = url + redirect;
79778
79782
  });
@@ -79814,8 +79818,17 @@ var lib = __webpack_require__("4328");
79814
79818
  // CONCATENATED MODULE: ./src/api/index.js
79815
79819
 
79816
79820
 
79821
+ //下载word接口
79822
+ const exportWord = params => {
79823
+ return utils_request({
79824
+ url: '/xhModelContent/exportWord',
79825
+ method: 'get',
79826
+ params: params,
79827
+ responseType: 'blob', // 设置响应类型为二进制流
79828
+ });
79829
+ };
79817
79830
  //获取智能体logo
79818
- const getLogo = (params) => {
79831
+ const getLogo = params => {
79819
79832
  return utils_request({
79820
79833
  url: '/intelligentBody/getBodyInfo',
79821
79834
  method: 'get',
@@ -79823,7 +79836,7 @@ const getLogo = (params) => {
79823
79836
  });
79824
79837
  };
79825
79838
  //获取ppt模版
79826
- const pptCover = (data) => {
79839
+ const pptCover = data => {
79827
79840
  return utils_request({
79828
79841
  url: `/chatppt/ppt/cover`,
79829
79842
  method: 'post',
@@ -79831,14 +79844,14 @@ const pptCover = (data) => {
79831
79844
  });
79832
79845
  };
79833
79846
  //下载ppt
79834
- const downloadChatPpt = (contentId) => {
79847
+ const downloadChatPpt = contentId => {
79835
79848
  return utils_request({
79836
79849
  url: `/xhModelContent/downloadChatPpt?contentId=` + contentId,
79837
79850
  method: 'get',
79838
79851
  });
79839
79852
  };
79840
79853
  //点赞
79841
- const feedbackSubmit = (data) => {
79854
+ const feedbackSubmit = data => {
79842
79855
  return utils_request({
79843
79856
  url: `/xhModelContent/feedback/submit`,
79844
79857
  method: 'post',
@@ -79846,7 +79859,7 @@ const feedbackSubmit = (data) => {
79846
79859
  });
79847
79860
  };
79848
79861
  //获取热门问题
79849
- const xhQuestionRank = (params) => {
79862
+ const xhQuestionRank = params => {
79850
79863
  return utils_request({
79851
79864
  url: `/xhQuestionRank/list`,
79852
79865
  method: 'get',
@@ -79861,21 +79874,21 @@ const chatDel = (chatId, chatType) => {
79861
79874
  });
79862
79875
  };
79863
79876
  // 查询历史对话列表
79864
- const modelContents = (content) => {
79877
+ const modelContents = content => {
79865
79878
  return utils_request({
79866
79879
  url: '/xhchat/userChatList?content=' + content || false,
79867
79880
  method: 'get',
79868
79881
  });
79869
79882
  };
79870
79883
  // 查询内容详情
79871
- const modelDetail = (contentId) => {
79884
+ const modelDetail = contentId => {
79872
79885
  return utils_request({
79873
79886
  url: '/xhModelContent/modelDetail/' + contentId,
79874
79887
  method: 'get',
79875
79888
  });
79876
79889
  };
79877
79890
  // 保存ai教案修改的内容
79878
- const updateModelContent = (data) => {
79891
+ const updateModelContent = data => {
79879
79892
  return utils_request({
79880
79893
  url: '/xhModelContent/updateModelContent',
79881
79894
  method: 'put',
@@ -79883,7 +79896,7 @@ const updateModelContent = (data) => {
79883
79896
  });
79884
79897
  };
79885
79898
  //token转换
79886
- const userCenterLogin = (userCenterToken) => {
79899
+ const userCenterLogin = userCenterToken => {
79887
79900
  return utils_request({
79888
79901
  url: '/userCenterLogin?userCenterToken=' + userCenterToken,
79889
79902
  method: 'get',
@@ -79899,7 +79912,7 @@ const getAiPlan = () => {
79899
79912
  // const baseURL = process.env.VUE_APP_ApiURL;
79900
79913
  // const baseURL = "https://zjyw-test.icve.com.cn/ai-api";
79901
79914
  // 问答返回数据
79902
- const getChatData = (params) => {
79915
+ const getChatData = params => {
79903
79916
  return utils_request({
79904
79917
  url: '/xh/modelQuestion',
79905
79918
  // url: '/ai-api/xh/modelQuestion',
@@ -79909,7 +79922,7 @@ const getChatData = (params) => {
79909
79922
  };
79910
79923
 
79911
79924
  // 左侧栏数据
79912
- const getSideDataArr = (params) => {
79925
+ const getSideDataArr = params => {
79913
79926
  return utils_request({
79914
79927
  url: '/xhchat/chats/' + params.chatType + '?title=' + params.title || false,
79915
79928
  // url: '/ai-api/xh/chats/' + params.userId + '/' + params.chatType,
@@ -79918,7 +79931,7 @@ const getSideDataArr = (params) => {
79918
79931
  };
79919
79932
 
79920
79933
  // 每个节点对应的数据
79921
- const getSideToData = (params) => {
79934
+ const getSideToData = params => {
79922
79935
  return utils_request({
79923
79936
  url: '/xhModelContent/modelDetail/' + params.chatId,
79924
79937
  // url: '/ai-api/xh/modelDetail/' + params.chatId,
@@ -79927,7 +79940,7 @@ const getSideToData = (params) => {
79927
79940
  };
79928
79941
 
79929
79942
  // 新增会话
79930
- const addConversation = (params) => {
79943
+ const addConversation = params => {
79931
79944
  return utils_request({
79932
79945
  url: '/xhchat/addChat',
79933
79946
  // url: '/ai-api/xh/addChat',
@@ -79937,7 +79950,7 @@ const addConversation = (params) => {
79937
79950
  };
79938
79951
 
79939
79952
  // 删除当前会话
79940
- const deleteConversation = (params) => {
79953
+ const deleteConversation = params => {
79941
79954
  return utils_request({
79942
79955
  url: '/xhchat/chatDel/' + params.chatId + '/' + params.chatType,
79943
79956
  // url: '/ai-api/xh/chatDel/' + params.chatId + '/' + params.chatType,
@@ -79946,7 +79959,7 @@ const deleteConversation = (params) => {
79946
79959
  };
79947
79960
 
79948
79961
  // 删除所有会话
79949
- const deleteAllConver = (params) => {
79962
+ const deleteAllConver = params => {
79950
79963
  return utils_request({
79951
79964
  url: '/xhchat/allChatDel/' + params.chatType,
79952
79965
  // url: '/ai-api/xh/chatDel/' + params.userId + '/' + params.chatType,
@@ -79961,7 +79974,7 @@ function Kaichangbai(id) {
79961
79974
  });
79962
79975
  }
79963
79976
  // 修改会话名称
79964
- const editHuiHuaName = (params) => {
79977
+ const editHuiHuaName = params => {
79965
79978
  return utils_request({
79966
79979
  url: '/xhchat/updateChat',
79967
79980
  // url: '/ai-api/xh/updateChat',
@@ -79970,7 +79983,7 @@ const editHuiHuaName = (params) => {
79970
79983
  });
79971
79984
  };
79972
79985
  // 获取专业教师
79973
- const getAllMajor = (params) => {
79986
+ const getAllMajor = params => {
79974
79987
  return utils_request({
79975
79988
  url: '/intelligentBody/getIntelligentBodyList',
79976
79989
  // url: '/ai-api/xh/updateChat',
@@ -79980,7 +79993,7 @@ const getAllMajor = (params) => {
79980
79993
  };
79981
79994
  // http://192.168.31.65:8899/passLogin?token=7346082b-f18b-40a7-b4f7-7a07a6641a6c
79982
79995
 
79983
- const passLogin = (params) => {
79996
+ const passLogin = params => {
79984
79997
  return utils_request({
79985
79998
  url: '/passLogin?' + 'token=' + params,
79986
79999
  headers: {
@@ -79990,7 +80003,7 @@ const passLogin = (params) => {
79990
80003
  });
79991
80004
  };
79992
80005
  // 新增对话消息评价
79993
- const chatEvaluateAdd = (data) => {
80006
+ const chatEvaluateAdd = data => {
79994
80007
  return utils_request({
79995
80008
  url: '/xh/chatEvaluateAdd',
79996
80009
  // url: '/ai-api/xh/updateChat',
@@ -79999,7 +80012,7 @@ const chatEvaluateAdd = (data) => {
79999
80012
  });
80000
80013
  };
80001
80014
  // 取消对话消息评价
80002
- const chatEvaluateCancel = (data) => {
80015
+ const chatEvaluateCancel = data => {
80003
80016
  return utils_request({
80004
80017
  url: '/xh/chatEvaluateCancel',
80005
80018
  // url: '/ai-api/xh/updateChat',
@@ -80008,7 +80021,7 @@ const chatEvaluateCancel = (data) => {
80008
80021
  });
80009
80022
  };
80010
80023
  // 新增对话消息分享
80011
- const shareChatMsg = (data) => {
80024
+ const shareChatMsg = data => {
80012
80025
  return utils_request({
80013
80026
  url: '/xh/shareChatMsg',
80014
80027
  // url: '/ai-api/xh/updateChat',
@@ -80017,7 +80030,7 @@ const shareChatMsg = (data) => {
80017
80030
  });
80018
80031
  };
80019
80032
  // 获取聊天消息标签列表
80020
- const listChatMsgTag = (data) => {
80033
+ const listChatMsgTag = data => {
80021
80034
  return utils_request({
80022
80035
  url: '/xh/listChatMsgTag',
80023
80036
  // url: '/ai-api/xh/updateChat',
@@ -80026,7 +80039,7 @@ const listChatMsgTag = (data) => {
80026
80039
  });
80027
80040
  };
80028
80041
  // 消息评价
80029
- const chatEvaluate = (data) => {
80042
+ const chatEvaluate = data => {
80030
80043
  return utils_request({
80031
80044
  url: '/xh/chatEvaluateAdd',
80032
80045
  // url: '/ai-api/xh/updateChat',
@@ -80036,7 +80049,7 @@ const chatEvaluate = (data) => {
80036
80049
  };
80037
80050
 
80038
80051
  // 取消消息评价
80039
- const chatCancel = (data) => {
80052
+ const chatCancel = data => {
80040
80053
  return utils_request({
80041
80054
  url: '/xh/chatEvaluateCancel',
80042
80055
  data,
@@ -80045,14 +80058,14 @@ const chatCancel = (data) => {
80045
80058
  };
80046
80059
 
80047
80060
  // 获取聊天消息标签列表
80048
- const getlistChatMsgTag = (data) => {
80061
+ const getlistChatMsgTag = data => {
80049
80062
  return utils_request({
80050
80063
  url: '/xh/listChatMsgTag',
80051
80064
  method: 'post',
80052
80065
  });
80053
80066
  };
80054
80067
  // 停止对话
80055
- const stopChat = (params) => {
80068
+ const stopChat = params => {
80056
80069
  return utils_request({
80057
80070
  url: '/intelligentBody/stop/' + params.msgId,
80058
80071
  // url: '/ai-api/xh/docDetail/' + params.chatId,
@@ -80061,7 +80074,7 @@ const stopChat = (params) => {
80061
80074
  };
80062
80075
  // /xh/getShareInfo/{shareId}
80063
80076
  // 获取聊天消息标签列表
80064
- const getShareInfo = (params) => {
80077
+ const getShareInfo = params => {
80065
80078
  return utils_request({
80066
80079
  url: '/xh/getShareInfo/' + params.shareId,
80067
80080
  // url: '/ai-api/xh/chats/' + params.userId + '/' + params.chatType,
@@ -80070,7 +80083,7 @@ const getShareInfo = (params) => {
80070
80083
  };
80071
80084
 
80072
80085
  // 获取任务状态api
80073
- const getTaskStatus = (data) => {
80086
+ const getTaskStatus = data => {
80074
80087
  return utils_request({
80075
80088
  url: '/video/getTaskStatus',
80076
80089
  data,
@@ -80079,7 +80092,7 @@ const getTaskStatus = (data) => {
80079
80092
  };
80080
80093
 
80081
80094
  // 章节速览api
80082
- const autoChapters = (data) => {
80095
+ const autoChapters = data => {
80083
80096
  return utils_request({
80084
80097
  url: '/video/autoChapters',
80085
80098
  data,
@@ -80094,14 +80107,14 @@ function presetQuestion(params) {
80094
80107
  params,
80095
80108
  });
80096
80109
  }
80097
- const getInfo = (id) => {
80110
+ const getInfo = id => {
80098
80111
  return utils_request({
80099
80112
  url: `/intelligentBody/${id}`,
80100
80113
  method: 'get',
80101
80114
  });
80102
80115
  };
80103
80116
  // 是否重新生成
80104
- const needRetry = (params) => {
80117
+ const needRetry = params => {
80105
80118
  return utils_request({
80106
80119
  url: `/intelligentBody/needRetry`,
80107
80120
  method: 'get',
@@ -80630,48 +80643,63 @@ const chatvue_type_script_lang_js_signal = chatvue_type_script_lang_js_controlle
80630
80643
 
80631
80644
  // 打开教案侧边栏
80632
80645
  openLessonSidebar(item) {
80633
- try {
80634
- const target = '<!--AI_HTML-->';
80635
- const index = item.content.indexOf(target);
80636
- // 截取目标字符串之后的内容(若目标不存在则返回原字符串)
80637
- let str = index !== -1 ? item.content.slice(index + target.length) : item.content;
80638
- // 以'<!--/AI_HTML-->'为分隔符分割,最多分割1次
80639
- const parts = str.split('<!--/AI_HTML-->', 2);
80640
- // 返回分割后的第一部分(若不存在分隔符则返回原字符串)
80641
- const htmlContent = parts[0] || str;
80642
- if (!htmlContent) {
80643
- throw new Error('找不到教案内容');
80644
- }
80645
-
80646
- // 创建临时DOM元素来处理HTML内容
80647
- const tempDiv = document.createElement('div');
80648
- tempDiv.innerHTML = htmlContent;
80649
-
80650
- // 先同步所有多选框的状态到HTML属性
80651
- this.syncCheckboxStates(tempDiv);
80652
-
80653
- // 获取处理后的HTML内容
80654
- const currentHtml = tempDiv.innerHTML;
80655
-
80656
- // 处理多选框,将其转换为可视化符号
80657
- const processedHtml = this.processCheckboxes(currentHtml);
80658
-
80659
- // 生成包含样式的完整HTML文档
80660
- const completeHtml = this.generateCompleteHtml(processedHtml);
80661
-
80662
- // 使用html-docx-js转换为Word文档
80663
- const converted = html_docx["asBlob"](completeHtml);
80664
-
80665
- // 保存文件
80666
- Object(FileSaver_min["saveAs"])(converted, '教案内容.docx');
80667
- } catch (error) {
80668
- console.error('Word文档生成失败:', error);
80669
- if (this.$message) {
80670
- this.$message.error('文档下载失败,请重试');
80671
- } else {
80672
- alert('文档下载失败,请重试');
80673
- }
80674
- }
80646
+ exportWord({
80647
+ contentId: item.contentId
80648
+ }).then(response => {
80649
+ // 调用导出接口
80650
+ // 创建下载链接
80651
+ const blob = new Blob([response.data], {
80652
+ type: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document'
80653
+ });
80654
+ const url = window.URL.createObjectURL(blob);
80655
+ const link = document.createElement('a');
80656
+ link.href = url;
80657
+ link.download = '教学设计方案.docx'; // 设置下载的文件名
80658
+ link.click();
80659
+ window.URL.revokeObjectURL(url); // 释放内存
80660
+ })
80661
+ // try {
80662
+ // const target = '<!--AI_HTML-->';
80663
+ // const index = item.content.indexOf(target);
80664
+ // // 截取目标字符串之后的内容(若目标不存在则返回原字符串)
80665
+ // let str = index !== -1 ? item.content.slice(index + target.length) : item.content;
80666
+ // // 以'<!--/AI_HTML-->'为分隔符分割,最多分割1次
80667
+ // const parts = str.split('<!--/AI_HTML-->', 2);
80668
+ // // 返回分割后的第一部分(若不存在分隔符则返回原字符串)
80669
+ // const htmlContent = parts[0] || str;
80670
+ // if (!htmlContent) {
80671
+ // throw new Error('找不到教案内容');
80672
+ // }
80673
+
80674
+ // // 创建临时DOM元素来处理HTML内容
80675
+ // const tempDiv = document.createElement('div');
80676
+ // tempDiv.innerHTML = htmlContent;
80677
+
80678
+ // // 先同步所有多选框的状态到HTML属性
80679
+ // this.syncCheckboxStates(tempDiv);
80680
+
80681
+ // // 获取处理后的HTML内容
80682
+ // const currentHtml = tempDiv.innerHTML;
80683
+
80684
+ // // 处理多选框,将其转换为可视化符号
80685
+ // const processedHtml = this.processCheckboxes(currentHtml);
80686
+
80687
+ // // 生成包含样式的完整HTML文档
80688
+ // const completeHtml = this.generateCompleteHtml(processedHtml);
80689
+
80690
+ // // 使用html-docx-js转换为Word文档
80691
+ // const converted = htmlDocx.asBlob(completeHtml);
80692
+
80693
+ // // 保存文件
80694
+ // saveAs(converted, '教案内容.docx');
80695
+ // } catch (error) {
80696
+ // console.error('Word文档生成失败:', error);
80697
+ // if (this.$message) {
80698
+ // this.$message.error('文档下载失败,请重试');
80699
+ // } else {
80700
+ // alert('文档下载失败,请重试');
80701
+ // }
80702
+ // }
80675
80703
  },
80676
80704
  syncCheckboxStates(parentElement) {
80677
80705
  // 同步所有多选框的实际状态到HTML属性
@@ -81201,8 +81229,8 @@ const chatvue_type_script_lang_js_signal = chatvue_type_script_lang_js_controlle
81201
81229
  if (self.panelId == 2) {
81202
81230
  self.$parent.messageListData[self.$parent.messageListData.length - 1].status = self.tempAnswerStatus;
81203
81231
  self.$parent.messageListData[self.$parent.messageListData.length - 1].contentId = result.msgId;
81204
- self.$parent.pptContentId = result.msgId;
81205
81232
  }
81233
+ self.$parent.pptContentId = result.msgId;
81206
81234
  if (result.content) {
81207
81235
  try {
81208
81236
  self.$parent.messageListData[self.$parent.messageListData.length - 1].reference = JSON.parse(result.content);
@@ -81440,11 +81468,11 @@ const chatvue_type_script_lang_js_signal = chatvue_type_script_lang_js_controlle
81440
81468
 
81441
81469
  // CONCATENATED MODULE: ./src/components/agentComponent/chat.vue?vue&type=script&lang=js
81442
81470
  /* harmony default export */ var agentComponent_chatvue_type_script_lang_js = (chatvue_type_script_lang_js);
81443
- // EXTERNAL MODULE: ./src/components/agentComponent/chat.vue?vue&type=style&index=0&id=b588c6c6&prod&lang=scss&scoped=true
81444
- var chatvue_type_style_index_0_id_b588c6c6_prod_lang_scss_scoped_true = __webpack_require__("65d4");
81471
+ // EXTERNAL MODULE: ./src/components/agentComponent/chat.vue?vue&type=style&index=0&id=7d856dfe&prod&lang=scss&scoped=true
81472
+ var chatvue_type_style_index_0_id_7d856dfe_prod_lang_scss_scoped_true = __webpack_require__("062f");
81445
81473
 
81446
- // EXTERNAL MODULE: ./src/components/agentComponent/chat.vue?vue&type=style&index=1&id=b588c6c6&prod&scoped=true&lang=css
81447
- var chatvue_type_style_index_1_id_b588c6c6_prod_scoped_true_lang_css = __webpack_require__("ad10");
81474
+ // EXTERNAL MODULE: ./src/components/agentComponent/chat.vue?vue&type=style&index=1&id=7d856dfe&prod&scoped=true&lang=css
81475
+ var chatvue_type_style_index_1_id_7d856dfe_prod_scoped_true_lang_css = __webpack_require__("276c");
81448
81476
 
81449
81477
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
81450
81478
  /* globals __VUE_SSR_CONTEXT__ */
@@ -81556,17 +81584,17 @@ function normalizeComponent(
81556
81584
 
81557
81585
  var component = normalizeComponent(
81558
81586
  agentComponent_chatvue_type_script_lang_js,
81559
- chatvue_type_template_id_b588c6c6_scoped_true_render,
81560
- chatvue_type_template_id_b588c6c6_scoped_true_staticRenderFns,
81587
+ chatvue_type_template_id_7d856dfe_scoped_true_render,
81588
+ chatvue_type_template_id_7d856dfe_scoped_true_staticRenderFns,
81561
81589
  false,
81562
81590
  null,
81563
- "b588c6c6",
81591
+ "7d856dfe",
81564
81592
  null
81565
81593
 
81566
81594
  )
81567
81595
 
81568
81596
  /* harmony default export */ var chat = (component.exports);
81569
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"21a80d7a-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/foot.vue?vue&type=template&id=b3279b66&scoped=true
81597
+ // 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/foot.vue?vue&type=template&id=b3279b66&scoped=true
81570
81598
  var footvue_type_template_id_b3279b66_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _vm._m(0)
81571
81599
  }
81572
81600
  var footvue_type_template_id_b3279b66_scoped_true_staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"foot-compontent"},[_c('div',{staticClass:"foot-content"},[_vm._v(" 所有内容均由人工智能大模型输出,其内容的准确性和完整性无法保证,不代表我们的态度或观点 ")])])
@@ -81624,7 +81652,7 @@ var foot_component = normalizeComponent(
81624
81652
  )
81625
81653
 
81626
81654
  /* harmony default export */ var foot = (foot_component.exports);
81627
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"21a80d7a-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/dialogueList.vue?vue&type=template&id=42331105&scoped=true
81655
+ // 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/dialogueList.vue?vue&type=template&id=42331105&scoped=true
81628
81656
  var dialogueListvue_type_template_id_42331105_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"dialogueList"},[_vm._m(0),_c('div',{staticClass:"sessionBtn",on:{"click":_vm.addnewConversation}},[_c('div',{staticClass:"title"},[_vm._v("新的对话")]),_vm._m(1)]),_c('div',{staticClass:"search-wrapper"},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.historyInput),expression:"historyInput"}],attrs:{"type":"text","placeholder":"搜索历史记录"},domProps:{"value":(_vm.historyInput)},on:{"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter"))return null;return _vm.searchHistory.apply(null, arguments)},"input":function($event){if($event.target.composing)return;_vm.historyInput=$event.target.value}}}),_c('div',{staticClass:"search-icon",on:{"click":_vm.searchHistory}})]),_c('div',{staticClass:"xian"}),_c('div',{staticClass:"box"},_vm._l((_vm.modelList),function(i,idx){return _c('div',{directives:[{name:"show",rawName:"v-show",value:(i.list.length > 0),expression:"i.list.length > 0"}],key:idx,staticClass:"box_item"},[_c('div',{staticClass:"box_item_time"},[_vm._v(_vm._s(i.time))]),_vm._l((i.list),function(item,index){return _c('div',{key:index,staticClass:"box_item_list",class:{ active: index == _vm.activeIdx && _vm.firstIdx == idx }},[_c('span',{attrs:{"title":item.chatName},on:{"click":function($event){return _vm.chooseChat(item, idx, index)}}},[_vm._v(_vm._s(item.chatName))]),_c('img',{attrs:{"src":"https://file.banwoxue.com/aiAgent/d8295edcd4494319951597ff954e3a63/delete.png","alt":""},on:{"click":function($event){return _vm.deleteContent(item)}}})])})],2)}),0),(_vm.modelList[0].list.length == 0 && _vm.modelList[1].list.length == 0 && _vm.modelList[2].list.length == 0)?_c('div',{staticClass:"emtpy"},[_vm._v("暂无对话")]):_vm._e()])
81629
81657
  }
81630
81658
  var dialogueListvue_type_template_id_42331105_scoped_true_staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"logo"},[_c('img',{attrs:{"src":"https://file.banwoxue.com/aiAgent/d8295edcd4494319951597ff954e3a63/logo.png","alt":""}}),_vm._v(" AI助手 ")])
@@ -81757,7 +81785,7 @@ var dialogueList_component = normalizeComponent(
81757
81785
  )
81758
81786
 
81759
81787
  /* harmony default export */ var dialogueList = (dialogueList_component.exports);
81760
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"21a80d7a-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
81788
+ // 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
81761
81789
  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)])])])
81762
81790
  }
81763
81791
  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("助手")])])
@@ -81953,7 +81981,7 @@ var popularAndCommand_component = normalizeComponent(
81953
81981
  )
81954
81982
 
81955
81983
  /* harmony default export */ var popularAndCommand = (popularAndCommand_component.exports);
81956
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"21a80d7a-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/PptTemplateDialog.vue?vue&type=template&id=88eb96e6&scoped=true
81984
+ // 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/PptTemplateDialog.vue?vue&type=template&id=88eb96e6&scoped=true
81957
81985
  var PptTemplateDialogvue_type_template_id_88eb96e6_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('el-dialog',{attrs:{"modal":false,"title":"选择PPT模版","visible":_vm.dialogVisible,"before-close":_vm.handleClose,"custom-class":"ppt-template-dialog"},on:{"update:visible":function($event){_vm.dialogVisible=$event}}},[_c('div',{staticClass:"template-container"},[(_vm.loading)?_c('div',{staticClass:"loading-container"},[_c('div',{staticClass:"loading-spinner"},[_c('i',{staticClass:"el-icon-loading"}),_c('p',[_vm._v("正在加载PPT模板...")])])]):_c('div',{staticClass:"template-grid"},_vm._l((_vm.templateData),function(item){return _c('div',{key:item.cover_id,staticClass:"template-card",class:{ active: _vm.selectedTemplate === item.cover_id },on:{"click":function($event){return _vm.selectTemplate(item)}}},[_c('div',{staticClass:"template-image-container"},[_c('el-image',{staticClass:"template-image",attrs:{"src":item.cover_image,"fit":"cover"}},[_c('div',{staticClass:"image-slot",attrs:{"slot":"error"},slot:"error"},[_c('i',{staticClass:"el-icon-picture-outline"})])]),_c('div',{staticClass:"template-actions"},[_c('el-button',{staticClass:"preview-btn",attrs:{"type":"primary","size":"mini","icon":"el-icon-view"},on:{"click":function($event){$event.stopPropagation();return _vm.previewImage(item)}}},[_vm._v(" 预览 ")])],1)],1)])}),0)]),_c('span',{staticClass:"dialog-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{on:{"click":_vm.handleClose}},[_vm._v("取消")]),_c('el-button',{attrs:{"type":"primary","disabled":!_vm.selectedTemplate},on:{"click":_vm.confirmSelection}},[_vm._v(" 确认选择 ")])],1),(_vm.previewVisible)?_c('el-image-viewer',{ref:"ElImageViewer",attrs:{"url-list":_vm.previewImageUrl,"on-close":_vm.closePriview,"z-index":9999}}):_vm._e()],1)
81958
81986
  }
81959
81987
  var PptTemplateDialogvue_type_template_id_88eb96e6_scoped_true_staticRenderFns = []
@@ -81961,7 +81989,7 @@ var PptTemplateDialogvue_type_template_id_88eb96e6_scoped_true_staticRenderFns =
81961
81989
 
81962
81990
  // CONCATENATED MODULE: ./src/components/agentComponent/PptTemplateDialog.vue?vue&type=template&id=88eb96e6&scoped=true
81963
81991
 
81964
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"21a80d7a-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!./node_modules/element-ui/packages/image/src/image-viewer.vue?vue&type=template&id=44a7b0fb
81992
+ // 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!./node_modules/element-ui/packages/image/src/image-viewer.vue?vue&type=template&id=44a7b0fb
81965
81993
  var image_viewervue_type_template_id_44a7b0fb_render = function render(){var _vm=this,_c=_vm._self._c;return _c('transition',{attrs:{"name":"viewer-fade"}},[_c('div',{ref:"el-image-viewer__wrapper",staticClass:"el-image-viewer__wrapper",style:({ 'z-index': _vm.viewerZIndex }),attrs:{"tabindex":"-1"}},[_c('div',{staticClass:"el-image-viewer__mask",on:{"click":function($event){if($event.target !== $event.currentTarget)return null;return _vm.handleMaskClick.apply(null, arguments)}}}),_c('span',{staticClass:"el-image-viewer__btn el-image-viewer__close",on:{"click":_vm.hide}},[_c('i',{staticClass:"el-icon-close"})]),(!_vm.isSingle)?[_c('span',{staticClass:"el-image-viewer__btn el-image-viewer__prev",class:{ 'is-disabled': !_vm.infinite && _vm.isFirst },on:{"click":_vm.prev}},[_c('i',{staticClass:"el-icon-arrow-left"})]),_c('span',{staticClass:"el-image-viewer__btn el-image-viewer__next",class:{ 'is-disabled': !_vm.infinite && _vm.isLast },on:{"click":_vm.next}},[_c('i',{staticClass:"el-icon-arrow-right"})])]:_vm._e(),_c('div',{staticClass:"el-image-viewer__btn el-image-viewer__actions"},[_c('div',{staticClass:"el-image-viewer__actions__inner"},[_c('i',{staticClass:"el-icon-zoom-out",on:{"click":function($event){return _vm.handleActions('zoomOut')}}}),_c('i',{staticClass:"el-icon-zoom-in",on:{"click":function($event){return _vm.handleActions('zoomIn')}}}),_c('i',{staticClass:"el-image-viewer__actions__divider"}),_c('i',{class:_vm.mode.icon,on:{"click":_vm.toggleMode}}),_c('i',{staticClass:"el-image-viewer__actions__divider"}),_c('i',{staticClass:"el-icon-refresh-left",on:{"click":function($event){return _vm.handleActions('anticlocelise')}}}),_c('i',{staticClass:"el-icon-refresh-right",on:{"click":function($event){return _vm.handleActions('clocelise')}}})])]),_c('div',{staticClass:"el-image-viewer__canvas"},_vm._l((_vm.urlList),function(url,i){return (i === _vm.index)?_c('img',{key:url,ref:"img",refInFor:true,staticClass:"el-image-viewer__img",style:(_vm.imgStyle),attrs:{"src":_vm.currentImg},on:{"load":_vm.handleImgLoad,"error":_vm.handleImgError,"mousedown":_vm.handleMouseDown}}):_vm._e()}),0)],2)])
81966
81994
  }
81967
81995
  var image_viewervue_type_template_id_44a7b0fb_staticRenderFns = []
@@ -83338,13 +83366,13 @@ var PptTemplateDialog_component = normalizeComponent(
83338
83366
  )
83339
83367
 
83340
83368
  /* harmony default export */ var PptTemplateDialog = (PptTemplateDialog_component.exports);
83341
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"21a80d7a-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/jiaoAnContent.vue?vue&type=template&id=01ff93a8
83342
- var jiaoAnContentvue_type_template_id_01ff93a8_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"jiaoan-container"},[_c('div',{staticClass:"fixed-header"},[_c('button',{staticClass:"download-btn",on:{"click":_vm.downloadWord}},[_vm._v("下载Word文档")]),_c('button',{staticClass:"close-btn",on:{"click":_vm.closeContent}},[_vm._v("✕")])]),_c('div',{staticClass:"content-wrapper"},[_c('div',{staticClass:"editable-table",attrs:{"id":"tableAI","contenteditable":_vm.$parent.stop},domProps:{"innerHTML":_vm._s(_vm.tableHtml)},on:{"input":_vm.changeContent}})])])
83369
+ // 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/jiaoAnContent.vue?vue&type=template&id=3e548358
83370
+ var jiaoAnContentvue_type_template_id_3e548358_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"jiaoan-container"},[_c('div',{staticClass:"fixed-header"},[(_vm.$parent.stop)?_c('button',{staticClass:"download-btn",on:{"click":_vm.downloadWord}},[_vm._v("下载Word文档")]):_vm._e(),_c('button',{staticClass:"close-btn",on:{"click":_vm.closeContent}},[_vm._v("✕")])]),_c('div',{staticClass:"content-wrapper"},[_c('div',{staticClass:"editable-table",attrs:{"id":"tableAI","contenteditable":_vm.$parent.stop},domProps:{"innerHTML":_vm._s(_vm.tableHtml)},on:{"input":_vm.changeContent}})])])
83343
83371
  }
83344
- var jiaoAnContentvue_type_template_id_01ff93a8_staticRenderFns = []
83372
+ var jiaoAnContentvue_type_template_id_3e548358_staticRenderFns = []
83345
83373
 
83346
83374
 
83347
- // CONCATENATED MODULE: ./src/components/agentComponent/jiaoAnContent.vue?vue&type=template&id=01ff93a8
83375
+ // CONCATENATED MODULE: ./src/components/agentComponent/jiaoAnContent.vue?vue&type=template&id=3e548358
83348
83376
 
83349
83377
  // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/agentComponent/jiaoAnContent.vue?vue&type=script&lang=js
83350
83378
 
@@ -83422,14 +83450,15 @@ var jiaoAnContentvue_type_template_id_01ff93a8_staticRenderFns = []
83422
83450
  }
83423
83451
  // 重新设置定时器,延迟执行目标函数
83424
83452
  this.timer = setTimeout(() => {
83453
+ // 先同步所有多选框的状态到HTML属性
83425
83454
  this.saveContent(this.content);
83426
83455
  this.timer = null; // 执行后清空定时器
83427
83456
  }, 1000);
83428
83457
  },
83429
83458
  //数据处理保存数据库
83430
- saveContent({ content, contentId }) {
83459
+ async saveContent({ content, contentId }) {
83431
83460
  const parentElement = document.getElementById('tableAI');
83432
-
83461
+ await this.syncCheckboxStates(parentElement);
83433
83462
  if (!parentElement || !content) {
83434
83463
  console.warn('未找到tableAI元素或content为空');
83435
83464
  return;
@@ -83462,39 +83491,54 @@ var jiaoAnContentvue_type_template_id_01ff93a8_staticRenderFns = []
83462
83491
  }
83463
83492
  },
83464
83493
  downloadWord() {
83465
- try {
83466
- // 获取包含最新编辑内容的元素
83467
- const parentElement = document.getElementById('tableAI');
83494
+ exportWord({
83495
+ contentId: this.$parent.pptContentId
83496
+ }).then(response => {
83497
+ // 调用导出接口
83498
+ // 创建下载链接
83499
+ const blob = new Blob([response.data], {
83500
+ type: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document'
83501
+ });
83502
+ const url = window.URL.createObjectURL(blob);
83503
+ const link = document.createElement('a');
83504
+ link.href = url;
83505
+ link.download = '教学设计方案.docx'; // 设置下载的文件名
83506
+ link.click();
83507
+ window.URL.revokeObjectURL(url); // 释放内存
83508
+ })
83509
+ // try {
83510
+ // // 获取包含最新编辑内容的元素
83511
+ // const parentElement = document.getElementById('tableAI');
83468
83512
 
83469
- if (!parentElement) {
83470
- throw new Error('找不到教案内容元素');
83471
- }
83513
+ // if (!parentElement) {
83514
+ // throw new Error('找不到教案内容元素');
83515
+ // }
83472
83516
 
83473
- // 先同步所有多选框的状态到HTML属性
83474
- this.syncCheckboxStates(parentElement);
83517
+ // // 先同步所有多选框的状态到HTML属性
83518
+ // this.syncCheckboxStates(parentElement);
83475
83519
 
83476
- // 获取当前的HTML内容(包括用户编辑后的内容)
83477
- const currentHtml = parentElement.innerHTML;
83520
+ // // 获取当前的HTML内容(包括用户编辑后的内容)
83521
+ // const currentHtml = parentElement.innerHTML;
83478
83522
 
83479
- // 处理多选框,将其转换为可视化符号
83480
- const processedHtml = this.processCheckboxes(currentHtml);
83523
+ // // 处理多选框,将其转换为可视化符号
83524
+ // const processedHtml = this.processCheckboxes(currentHtml);
83481
83525
 
83482
- // 生成包含样式的完整HTML文档
83483
- const htmlContent = this.generateCompleteHtml(processedHtml);
83526
+ // // 生成包含样式的完整HTML文档
83527
+ // const htmlContent = this.generateCompleteHtml(processedHtml);
83484
83528
 
83485
- // 使用html-docx-js转换为Word文档
83486
- const converted = html_docx["asBlob"](htmlContent);
83529
+ // // 使用html-docx-js转换为Word文档
83530
+ // const converted = htmlDocx.asBlob(htmlContent);
83487
83531
 
83488
- // 保存文件
83489
- Object(FileSaver_min["saveAs"])(converted, '教案内容.docx');
83490
- } catch (error) {
83491
- console.error('Word文档生成失败:', error);
83492
- if (this.$message) {
83493
- this.$message.error('文档下载失败,请重试');
83494
- } else {
83495
- alert('文档下载失败,请重试');
83496
- }
83497
- }
83532
+ // // 保存文件
83533
+ // saveAs(converted, '教案内容.docx');
83534
+ // } catch (error) {
83535
+ // console.error('Word文档生成失败:', error);
83536
+ // if (this.$message) {
83537
+ // this.$message.error('文档下载失败,请重试');
83538
+ // } else {
83539
+ // alert('文档下载失败,请重试');
83540
+ // }
83541
+ // }
83498
83542
  },
83499
83543
  syncCheckboxStates(parentElement) {
83500
83544
  // 同步所有多选框的实际状态到HTML属性
@@ -83529,6 +83573,29 @@ var jiaoAnContentvue_type_template_id_01ff93a8_staticRenderFns = []
83529
83573
  // 移除可能残留的textarea编辑框
83530
83574
  cleanedHtml = cleanedHtml.replace(/<textarea[^>]*>.*?<\/textarea>/gi, '');
83531
83575
 
83576
+ // 只移除tr标签中的height样式,保留其他样式
83577
+ cleanedHtml = cleanedHtml.replace(/(<tr[^>]*style="[^"]*)height:[^;"]*;?([^"]*")/gi, '$1$2');
83578
+
83579
+ // 只移除td/th标签中的height和width样式,保留颜色等其他样式
83580
+ cleanedHtml = cleanedHtml.replace(/(<t[dh][^>]*style="[^"]*)height:[^;"]*;?([^"]*")/gi, '$1$2');
83581
+ cleanedHtml = cleanedHtml.replace(/(<t[dh][^>]*style="[^"]*)width:[^;"]*;?([^"]*")/gi, '$1$2');
83582
+
83583
+ // 只移除table标签中的width样式,保留其他样式
83584
+ cleanedHtml = cleanedHtml.replace(/(<table[^>]*style="[^"]*)width:[^;"]*;?([^"]*")/gi, '$1$2');
83585
+
83586
+ // 移除table标签的cellspacing和cellpadding属性,改用CSS控制
83587
+ cleanedHtml = cleanedHtml.replace(/(<table[^>]*)cellspacing="[^"]*"([^>]*)/gi, '$1$2');
83588
+ cleanedHtml = cleanedHtml.replace(/(<table[^>]*)cellpadding="[^"]*"([^>]*)/gi, '$1$2');
83589
+
83590
+ // 清理空的style属性和多余的分号
83591
+ cleanedHtml = cleanedHtml.replace(/style=";\s*"/gi, '');
83592
+ cleanedHtml = cleanedHtml.replace(/style="\s*"/gi, '');
83593
+ cleanedHtml = cleanedHtml.replace(/style="([^"]*);;+([^"]*)"/gi, 'style="$1;$2"');
83594
+
83595
+ // 清理多余的空格
83596
+ cleanedHtml = cleanedHtml.replace(/\s+>/g, '>');
83597
+ cleanedHtml = cleanedHtml.replace(/\s{2,}/g, ' ');
83598
+
83532
83599
  // 确保换行符正确转换
83533
83600
  cleanedHtml = cleanedHtml.replace(/\n/g, '<br>');
83534
83601
 
@@ -83540,37 +83607,60 @@ var jiaoAnContentvue_type_template_id_01ff93a8_staticRenderFns = []
83540
83607
  <meta charset="UTF-8">
83541
83608
  <title>教案内容</title>
83542
83609
  <style>
83610
+ @page {
83611
+ size: A4;
83612
+ margin: 1.5cm;
83613
+ }
83614
+ * {
83615
+ margin: 0;
83616
+ padding: 0;
83617
+ line-height: 1.0;
83618
+ }
83543
83619
  body {
83544
83620
  font-family: "宋体", SimSun, serif;
83545
- font-size: 10.5pt;
83546
- line-height: 1.5;
83547
- margin: 20px;
83621
+ font-size: 9pt;
83622
+ line-height: 1.0;
83548
83623
  }
83549
83624
  table {
83550
83625
  width: 100%;
83626
+ max-width: 18cm;
83551
83627
  border-collapse: collapse;
83628
+ border-spacing: 0;
83552
83629
  margin: 0 auto;
83630
+ table-layout: fixed;
83631
+ }
83632
+ tr {
83633
+ height: 0;
83634
+ line-height: 1.0;
83553
83635
  }
83554
83636
  td, th {
83555
- border: 1px solid #000;
83556
- padding: 4pt 6pt;
83637
+ border: 0.5pt solid #000;
83638
+ padding: 0.5pt 2pt;
83557
83639
  vertical-align: middle;
83558
83640
  text-align: center;
83559
- font-size: 10.5pt;
83560
- line-height: 1.4;
83641
+ font-size: 9pt;
83642
+ line-height: 1.0;
83643
+ word-wrap: break-word;
83644
+ overflow-wrap: break-word;
83645
+ height: auto;
83646
+ }
83647
+ td[colspan] {
83648
+ padding: 1pt 3pt;
83561
83649
  }
83562
83650
  .header-cell {
83563
83651
  background-color: #a8d08d;
83564
83652
  font-weight: bold;
83653
+ padding: 1pt 2pt;
83565
83654
  }
83566
83655
  .left-header {
83567
83656
  background-color: #f0f0f0;
83568
83657
  font-weight: bold;
83569
83658
  text-align: center;
83659
+ padding: 1pt 2pt;
83570
83660
  }
83571
83661
  .content-cell {
83572
83662
  text-align: left;
83573
- padding: 6pt 8pt;
83663
+ padding: 1pt 2pt;
83574
83664
  }
83575
83665
  .center-text {
83576
83666
  text-align: center;
@@ -83582,20 +83672,25 @@ var jiaoAnContentvue_type_template_id_01ff93a8_staticRenderFns = []
83582
83672
  color: #ff0000;
83583
83673
  }
83584
83674
  p {
83585
- margin: 2pt 0;
83675
+ margin: 0;
83676
+ padding: 0;
83586
83677
  text-align: justify;
83678
+ line-height: 1.0;
83679
+ }
83680
+ br {
83681
+ line-height: 0.8;
83682
+ height: 0;
83587
83683
  }
83588
83684
  .indent {
83589
83685
  text-indent: 21pt;
83590
83686
  }
83591
- /* 多选框符号样式 */
83592
83687
  .checkbox-symbol {
83593
83688
  font-family: Arial, sans-serif;
83594
- font-size: 12pt;
83689
+ font-size: 9pt;
83595
83690
  font-weight: bold;
83596
83691
  color: #000;
83597
83692
  display: inline-block;
83598
- margin-right: 4pt;
83693
+ margin-right: 1pt;
83599
83694
  }
83600
83695
  </style>
83601
83696
  </head>
@@ -83696,8 +83791,8 @@ var jiaoAnContentvue_type_template_id_01ff93a8_staticRenderFns = []
83696
83791
 
83697
83792
  // CONCATENATED MODULE: ./src/components/agentComponent/jiaoAnContent.vue?vue&type=script&lang=js
83698
83793
  /* harmony default export */ var agentComponent_jiaoAnContentvue_type_script_lang_js = (jiaoAnContentvue_type_script_lang_js);
83699
- // EXTERNAL MODULE: ./src/components/agentComponent/jiaoAnContent.vue?vue&type=style&index=0&id=01ff93a8&prod&lang=css
83700
- var jiaoAnContentvue_type_style_index_0_id_01ff93a8_prod_lang_css = __webpack_require__("ab58");
83794
+ // EXTERNAL MODULE: ./src/components/agentComponent/jiaoAnContent.vue?vue&type=style&index=0&id=3e548358&prod&lang=css
83795
+ var jiaoAnContentvue_type_style_index_0_id_3e548358_prod_lang_css = __webpack_require__("0f9b");
83701
83796
 
83702
83797
  // CONCATENATED MODULE: ./src/components/agentComponent/jiaoAnContent.vue
83703
83798
 
@@ -83710,8 +83805,8 @@ var jiaoAnContentvue_type_style_index_0_id_01ff93a8_prod_lang_css = __webpack_re
83710
83805
 
83711
83806
  var jiaoAnContent_component = normalizeComponent(
83712
83807
  agentComponent_jiaoAnContentvue_type_script_lang_js,
83713
- jiaoAnContentvue_type_template_id_01ff93a8_render,
83714
- jiaoAnContentvue_type_template_id_01ff93a8_staticRenderFns,
83808
+ jiaoAnContentvue_type_template_id_3e548358_render,
83809
+ jiaoAnContentvue_type_template_id_3e548358_staticRenderFns,
83715
83810
  false,
83716
83811
  null,
83717
83812
  null,
@@ -83720,7 +83815,7 @@ var jiaoAnContent_component = normalizeComponent(
83720
83815
  )
83721
83816
 
83722
83817
  /* harmony default export */ var jiaoAnContent = (jiaoAnContent_component.exports);
83723
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"21a80d7a-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/pptContent.vue?vue&type=template&id=15e0a26b&scoped=true
83818
+ // 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/pptContent.vue?vue&type=template&id=15e0a26b&scoped=true
83724
83819
  var pptContentvue_type_template_id_15e0a26b_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"ppt-content-sidebar"},[_c('div',{staticClass:"sidebar-header"},[_c('h3',[_vm._v("AI PPT")]),_c('div',{staticClass:"header-actions"},[(_vm.$parent.stop)?_c('button',{staticClass:"btn-primary",on:{"click":_vm.handleRegenerate}},[_vm._v("重新生成")]):_vm._e(),(_vm.$parent.stop)?_c('button',{staticClass:"btn-primary",on:{"click":_vm.handleSelectRegenerate}},[_vm._v("选择PPT模版")]):_vm._e(),(_vm.$parent.stop)?_c('button',{staticClass:"btn-primary",on:{"click":_vm.handleDownload}},[_vm._v("下载PPT")]):_vm._e(),_c('button',{staticClass:"close-btn",on:{"click":_vm.closeContent}},[_vm._v("✕")])])]),_c('div',{staticClass:"ppt-content-area"},[_c('div',{staticClass:"ppt-outline"},[_c('div',{staticClass:"outline-list"},_vm._l((_vm.pptSections),function(section,sectionIdx){return _c('div',{key:sectionIdx,staticClass:"outline-section"},[_c('div',{staticClass:"section-title"},[_c('span',{staticClass:"title-text",attrs:{"data-section-idx":sectionIdx}},[_vm._v(" 第"+_vm._s(_vm.getChineseNumber(sectionIdx + 1))+"章: "),_c('span',{attrs:{"contenteditable":_vm.$parent.stop},on:{"input":function($event){return _vm.editZj($event, sectionIdx)},"blur":function($event){return _vm.saveChapterEdit($event, sectionIdx)}}},[_vm._v(_vm._s(section.catalog))])]),(_vm.$parent.stop)?_c('div',{staticClass:"section-actions"},[_c('button',{staticClass:"text-btn demote-btn",on:{"click":function($event){return _vm.demoteSection(sectionIdx)}}},[_vm._v("降为字节")]),_c('button',{staticClass:"text-btn add-btn",on:{"click":function($event){return _vm.addSubSection(sectionIdx)}}},[_vm._v("新增子节")]),_c('button',{staticClass:"text-btn delete-btn",on:{"click":function($event){return _vm.deleteSection(sectionIdx)}}},[_vm._v("删除")])]):_vm._e()]),_c('div',{staticClass:"section-items"},_vm._l((section.sub_catalog),function(item,index){return _c('div',{key:index,staticClass:"outline-item"},[_c('span',{staticClass:"item-text"},[_vm._v(_vm._s(sectionIdx + 1)+"."+_vm._s(index + 1)+" "),_c('span',{attrs:{"contenteditable":_vm.$parent.stop,"data-section-idx":sectionIdx,"data-item-idx":index},on:{"input":function($event){return _vm.editCatalog($event, sectionIdx, index)},"blur":function($event){return _vm.saveCatalogEdit($event, sectionIdx, index)}}},[_vm._v(_vm._s(item))])]),(_vm.$parent.stop)?_c('div',{staticClass:"item-actions"},[_c('button',{staticClass:"text-btn promote-btn",on:{"click":function($event){return _vm.promoteItem(sectionIdx, index)}}},[_vm._v("升为章节")]),_c('button',{staticClass:"text-btn add-btn",on:{"click":function($event){return _vm.addSubItem(sectionIdx, index)}}},[_vm._v("新增子节")]),_c('button',{staticClass:"text-btn delete-btn",on:{"click":function($event){return _vm.deleteItem(sectionIdx, index)}}},[_vm._v("删除")])]):_vm._e()])}),0)])}),0)]),_c('div',{staticClass:"ppt-preview"},[_c('div',{staticClass:"ppt-slide cover-slide"},[_vm._l((_vm.list),function(i,j){return (_vm.images_url.length == 0)?_c('div',{key:j,staticClass:"img"},[_c('img',{attrs:{"src":i.url,"alt":""}})]):_vm._e()}),_vm._l((_vm.images_url),function(i,j){return _c('div',{key:`image-${j}`,staticClass:"img"},[_c('img',{attrs:{"src":i.url,"alt":""}})])})],2)])])])
83725
83820
  }
83726
83821
  var pptContentvue_type_template_id_15e0a26b_scoped_true_staticRenderFns = []
@@ -84105,13 +84200,13 @@ var pptContent_component = normalizeComponent(
84105
84200
  )
84106
84201
 
84107
84202
  /* harmony default export */ var pptContent = (pptContent_component.exports);
84108
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"21a80d7a-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/lessonPlanTemplateDialog.vue?vue&type=template&id=db488cf2&scoped=true
84109
- var lessonPlanTemplateDialogvue_type_template_id_db488cf2_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('el-dialog',{attrs:{"modal":false,"title":"选择教案模版","visible":_vm.dialogVisible,"before-close":_vm.handleClose,"custom-class":"lesson-template-dialog"},on:{"update:visible":function($event){_vm.dialogVisible=$event}}},[_c('div',{staticClass:"template-container"},[_c('div',{staticClass:"template-grid"},_vm._l((_vm.templateData),function(item){return _c('div',{key:item.id,staticClass:"template-card",class:{ active: _vm.selectedTemplate === item.id },on:{"click":function($event){return _vm.selectTemplate(item)}}},[_c('div',{staticClass:"template-image-container"},[_c('el-image',{staticClass:"template-image",attrs:{"src":item.img,"fit":"cover"}},[_c('div',{staticClass:"image-slot",attrs:{"slot":"error"},slot:"error"},[_c('i',{staticClass:"el-icon-picture-outline"})])]),_c('div',{staticClass:"template-actions"},[_c('el-button',{staticClass:"preview-btn",attrs:{"type":"primary","size":"mini","icon":"el-icon-view"},on:{"click":function($event){$event.stopPropagation();return _vm.previewImage(item)}}},[_vm._v(" 预览 ")])],1)],1)])}),0)]),_c('span',{staticClass:"dialog-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{on:{"click":_vm.handleClose}},[_vm._v("取消")]),_c('el-button',{attrs:{"type":"primary","disabled":!_vm.selectedTemplate},on:{"click":_vm.confirmSelection}},[_vm._v(" 确认选择 ")])],1),(_vm.previewVisible)?_c('el-image-viewer',{ref:"ElImageViewer",attrs:{"url-list":_vm.previewImageUrl,"on-close":_vm.closePriview,"z-index":9999}}):_vm._e()],1)
84203
+ // 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/lessonPlanTemplateDialog.vue?vue&type=template&id=194cf09f&scoped=true
84204
+ var lessonPlanTemplateDialogvue_type_template_id_194cf09f_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('el-dialog',{attrs:{"modal":false,"title":"选择教案模版","visible":_vm.dialogVisible,"before-close":_vm.handleClose,"custom-class":"lesson-template-dialog"},on:{"update:visible":function($event){_vm.dialogVisible=$event}}},[_c('div',{staticClass:"template-container"},[_c('div',{staticClass:"template-grid"},_vm._l((_vm.templateData),function(item){return _c('div',{key:item.id,staticClass:"template-card",class:{ active: _vm.selectedTemplate === item.id },on:{"click":function($event){return _vm.selectTemplate(item)}}},[_c('div',{staticClass:"template-image-container"},[_c('el-image',{staticClass:"template-image",attrs:{"src":item.img,"fit":"cover"}},[_c('div',{staticClass:"image-slot",attrs:{"slot":"error"},slot:"error"},[_c('i',{staticClass:"el-icon-picture-outline"})])]),_c('div',{staticClass:"template-actions"},[_c('el-button',{staticClass:"preview-btn",attrs:{"type":"primary","size":"mini","icon":"el-icon-view"},on:{"click":function($event){$event.stopPropagation();return _vm.previewImage(item)}}},[_vm._v(" 预览 ")])],1)],1)])}),0)]),_c('span',{staticClass:"dialog-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{on:{"click":_vm.handleClose}},[_vm._v("取消")]),_c('el-button',{attrs:{"type":"primary","disabled":!_vm.selectedTemplate},on:{"click":_vm.confirmSelection}},[_vm._v(" 确认选择 ")])],1),(_vm.previewVisible)?_c('el-image-viewer',{ref:"ElImageViewer",attrs:{"url-list":_vm.previewImageUrl,"on-close":_vm.closePriview,"z-index":9999}}):_vm._e()],1)
84110
84205
  }
84111
- var lessonPlanTemplateDialogvue_type_template_id_db488cf2_scoped_true_staticRenderFns = []
84206
+ var lessonPlanTemplateDialogvue_type_template_id_194cf09f_scoped_true_staticRenderFns = []
84112
84207
 
84113
84208
 
84114
- // CONCATENATED MODULE: ./src/components/agentComponent/lessonPlanTemplateDialog.vue?vue&type=template&id=db488cf2&scoped=true
84209
+ // CONCATENATED MODULE: ./src/components/agentComponent/lessonPlanTemplateDialog.vue?vue&type=template&id=194cf09f&scoped=true
84115
84210
 
84116
84211
  // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/agentComponent/lessonPlanTemplateDialog.vue?vue&type=script&lang=js
84117
84212
 
@@ -84128,25 +84223,25 @@ var lessonPlanTemplateDialogvue_type_template_id_db488cf2_scoped_true_staticRend
84128
84223
  data() {
84129
84224
  return {
84130
84225
  dialogVisible: this.visible,
84131
- selectedTemplate: 1,
84226
+ selectedTemplate: 4,
84132
84227
  previewVisible: false, // 控制预览对话框显示
84133
84228
  previewImageUrl: [], // 预览图片的URL
84134
84229
  templateData: [
84135
84230
  {
84136
84231
  img: 'https://file.banwoxue.com/aiAgent/0c71847272364e8aa9e896d0c57165ab/ebfc82d2b1ca9d669f38ee9f9267a57a.png',
84137
- id: 1
84232
+ id: 4
84138
84233
  },
84139
84234
  {
84140
84235
  img: 'https://file.banwoxue.com/aiAgent/d8295edcd4494319951597ff954e3a63/aiJa1.jpg',
84141
- id: 2,
84236
+ id: 1,
84142
84237
  },
84143
84238
  {
84144
84239
  img: 'https://file.banwoxue.com/aiAgent/d8295edcd4494319951597ff954e3a63/aiJa2.jpg',
84145
- id: 3,
84240
+ id: 2,
84146
84241
  },
84147
84242
  {
84148
84243
  img: 'https://file.banwoxue.com/aiAgent/d8295edcd4494319951597ff954e3a63/aiJa3.jpg',
84149
- id: 4,
84244
+ id: 3,
84150
84245
  },
84151
84246
  ],
84152
84247
  };
@@ -84184,7 +84279,7 @@ var lessonPlanTemplateDialogvue_type_template_id_db488cf2_scoped_true_staticRend
84184
84279
 
84185
84280
  // 关闭弹框
84186
84281
  handleClose() {
84187
- this.selectedTemplate = 1;
84282
+ this.selectedTemplate = 4;
84188
84283
  this.dialogVisible = false;
84189
84284
  },
84190
84285
  },
@@ -84192,8 +84287,8 @@ var lessonPlanTemplateDialogvue_type_template_id_db488cf2_scoped_true_staticRend
84192
84287
 
84193
84288
  // CONCATENATED MODULE: ./src/components/agentComponent/lessonPlanTemplateDialog.vue?vue&type=script&lang=js
84194
84289
  /* harmony default export */ var agentComponent_lessonPlanTemplateDialogvue_type_script_lang_js = (lessonPlanTemplateDialogvue_type_script_lang_js);
84195
- // EXTERNAL MODULE: ./src/components/agentComponent/lessonPlanTemplateDialog.vue?vue&type=style&index=0&id=db488cf2&prod&lang=scss&scoped=true
84196
- var lessonPlanTemplateDialogvue_type_style_index_0_id_db488cf2_prod_lang_scss_scoped_true = __webpack_require__("bd8d");
84290
+ // EXTERNAL MODULE: ./src/components/agentComponent/lessonPlanTemplateDialog.vue?vue&type=style&index=0&id=194cf09f&prod&lang=scss&scoped=true
84291
+ var lessonPlanTemplateDialogvue_type_style_index_0_id_194cf09f_prod_lang_scss_scoped_true = __webpack_require__("764f");
84197
84292
 
84198
84293
  // CONCATENATED MODULE: ./src/components/agentComponent/lessonPlanTemplateDialog.vue
84199
84294
 
@@ -84206,11 +84301,11 @@ var lessonPlanTemplateDialogvue_type_style_index_0_id_db488cf2_prod_lang_scss_sc
84206
84301
 
84207
84302
  var lessonPlanTemplateDialog_component = normalizeComponent(
84208
84303
  agentComponent_lessonPlanTemplateDialogvue_type_script_lang_js,
84209
- lessonPlanTemplateDialogvue_type_template_id_db488cf2_scoped_true_render,
84210
- lessonPlanTemplateDialogvue_type_template_id_db488cf2_scoped_true_staticRenderFns,
84304
+ lessonPlanTemplateDialogvue_type_template_id_194cf09f_scoped_true_render,
84305
+ lessonPlanTemplateDialogvue_type_template_id_194cf09f_scoped_true_staticRenderFns,
84211
84306
  false,
84212
84307
  null,
84213
- "db488cf2",
84308
+ "194cf09f",
84214
84309
  null
84215
84310
 
84216
84311
  )
@@ -84474,13 +84569,25 @@ function formatTimeDisplay(createTime) {
84474
84569
 
84475
84570
  xhr.send();
84476
84571
  },
84572
+ // 获取外部某个字符串
84573
+ getUrlCode(name) {
84574
+ return (
84575
+ decodeURIComponent(
84576
+ (new RegExp("[?|&]" + name + "=" + "([^&;]+?)(&|#|;|$)").exec(
84577
+ location.href
84578
+ ) || [, ""])[1].replace(/\+/g, "%20")
84579
+ ) || null
84580
+ );
84581
+ },
84477
84582
  showAenget() {
84478
84583
  //判断当前用户是否有登录状态,有用户中心的登录状态则根据用户中心的token转换本平台的token,
84479
- const token = js_cookie_default.a.get('token') || this.token;
84584
+ const token = this.getUrlCode('token') || js_cookie_default.a.get('token') || this.token;
84480
84585
  if (token) {
84586
+ js_cookie_default.a.set('token', token)
84481
84587
  userCenterLogin(token).then((res) => {
84482
84588
  if (res.data.code == 200) {
84483
84589
  js_cookie_default.a.set('agentToken', res.data.token);
84590
+ this.removeSpecificUrlParam('token')
84484
84591
  this.getmodelContents();
84485
84592
  this.getAiPlan();
84486
84593
  //获取当前视口距离顶部的距离
@@ -84503,11 +84610,32 @@ function formatTimeDisplay(createTime) {
84503
84610
  cancelButtonText: '取消',
84504
84611
  type: 'warning',
84505
84612
  }).then(() => {
84506
- let url = 'https://sso.icve.com.cn/sso/auth?mode=simple&redirect=';
84613
+ const environment = sessionStorage.getItem('environment');
84614
+ let url =
84615
+ environment == 'test'
84616
+ ? 'https://testsso.icve.com.cn/sso/auth?mode=simple&redirect='
84617
+ : 'https://sso.icve.com.cn/sso/auth?mode=simple&redirect=';
84507
84618
  let redirect = window.location.href;
84508
84619
  window.location.href = url + redirect;
84509
84620
  });
84510
84621
  },
84622
+ // 删除指定URL参数
84623
+ removeSpecificUrlParam(paramName) {
84624
+ // 1. 解析当前URL的参数和锚点
84625
+ const url = new URL(window.location.href);
84626
+ const searchParams = url.searchParams; // 获取所有参数
84627
+ const hash = url.hash; // 保留锚点(如 #section1)
84628
+
84629
+ // 2. 删除指定参数(若存在)
84630
+ searchParams.delete(paramName);
84631
+
84632
+ // 3. 重组URL(协议+域名+路径+过滤后的参数+锚点)
84633
+ const newUrl = `${url.origin}${url.pathname}${searchParams.toString() ? '?' + searchParams.toString() : ''
84634
+ }${hash}`;
84635
+
84636
+ // 4. 无刷新更新URL
84637
+ window.history.replaceState({}, document.title, newUrl);
84638
+ },
84511
84639
  //获取功能列表
84512
84640
  getAiPlan() {
84513
84641
  getAiPlan().then((res) => {
@@ -84620,7 +84748,7 @@ function formatTimeDisplay(createTime) {
84620
84748
 
84621
84749
  // 处理打开教案侧边栏
84622
84750
  handleOpenLessonSidebar(item) {
84623
- console.log('打开教案侧边栏:', item);
84751
+ this.pptContentId = item.contentId
84624
84752
  this.aiJaDrawer = true;
84625
84753
  this.aiPptDrawer = false; // 关闭PPT侧边栏
84626
84754
  // 可以在这里处理传递给侧边栏的数据
@@ -84677,11 +84805,11 @@ function formatTimeDisplay(createTime) {
84677
84805
 
84678
84806
  // CONCATENATED MODULE: ./src/components/banwoxueAgentComponent.vue?vue&type=script&lang=js
84679
84807
  /* harmony default export */ var components_banwoxueAgentComponentvue_type_script_lang_js = (banwoxueAgentComponentvue_type_script_lang_js);
84680
- // EXTERNAL MODULE: ./src/components/banwoxueAgentComponent.vue?vue&type=style&index=0&id=12f82a14&prod&lang=css
84681
- var banwoxueAgentComponentvue_type_style_index_0_id_12f82a14_prod_lang_css = __webpack_require__("92e1");
84808
+ // EXTERNAL MODULE: ./src/components/banwoxueAgentComponent.vue?vue&type=style&index=0&id=0902c76a&prod&lang=css
84809
+ var banwoxueAgentComponentvue_type_style_index_0_id_0902c76a_prod_lang_css = __webpack_require__("569a");
84682
84810
 
84683
- // EXTERNAL MODULE: ./src/components/banwoxueAgentComponent.vue?vue&type=style&index=1&id=12f82a14&prod&lang=scss&scoped=true
84684
- var banwoxueAgentComponentvue_type_style_index_1_id_12f82a14_prod_lang_scss_scoped_true = __webpack_require__("e0f4");
84811
+ // EXTERNAL MODULE: ./src/components/banwoxueAgentComponent.vue?vue&type=style&index=1&id=0902c76a&prod&lang=scss&scoped=true
84812
+ var banwoxueAgentComponentvue_type_style_index_1_id_0902c76a_prod_lang_scss_scoped_true = __webpack_require__("a60f");
84685
84813
 
84686
84814
  // CONCATENATED MODULE: ./src/components/banwoxueAgentComponent.vue
84687
84815
 
@@ -84699,7 +84827,7 @@ var banwoxueAgentComponent_component = normalizeComponent(
84699
84827
  staticRenderFns,
84700
84828
  false,
84701
84829
  null,
84702
- "12f82a14",
84830
+ "0902c76a",
84703
84831
  null
84704
84832
 
84705
84833
  )