ai-error-assistant-pro 0.0.9 → 0.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/demo/api/index.js +6 -1
- package/components/demo/src/chat.vue +48 -6
- package/components/demo/src/error-chat.vue +6 -4
- package/components/demo/src/main.vue +5 -1
- package/components/demo/utils/config.js +2 -2
- package/dist/ai-error-assistant-pro.common.js +68 -37
- package/dist/ai-error-assistant-pro.common.js.map +1 -1
- package/dist/ai-error-assistant-pro.css +1 -1
- package/dist/ai-error-assistant-pro.umd.js +68 -37
- package/dist/ai-error-assistant-pro.umd.js.map +1 -1
- package/dist/ai-error-assistant-pro.umd.min.js +2 -2
- package/dist/ai-error-assistant-pro.umd.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -7,12 +7,17 @@ let prefix = sessionStorage.getItem('AI-INTELLIGENT-TOOLS_PRE_FIX') || constants
|
|
|
7
7
|
|
|
8
8
|
// 0.0.7 版本接口升级
|
|
9
9
|
prefix += '/plugin/v2';
|
|
10
|
-
|
|
10
|
+
|
|
11
|
+
export const pdfUrlBase = 'https://testagent.icve.com.cn';
|
|
12
|
+
// export const pdfUrlBase = 'http://agent.icve.com.cn';
|
|
13
|
+
export const pdfUrl = pdfUrlBase + '/ossurl';
|
|
14
|
+
export const ssoAuth = (token, businessSource) => {
|
|
11
15
|
return request({
|
|
12
16
|
url: prefix + '/sso/assistant',
|
|
13
17
|
method: 'get',
|
|
14
18
|
params: {
|
|
15
19
|
token: token,
|
|
20
|
+
businessSource
|
|
16
21
|
},
|
|
17
22
|
});
|
|
18
23
|
}
|
|
@@ -17,9 +17,27 @@
|
|
|
17
17
|
<div class="link-content">
|
|
18
18
|
<template v-for="item in list.links">
|
|
19
19
|
<div class="links" v-if="!item.title.startsWith(chatMajorId)">
|
|
20
|
-
<
|
|
21
|
-
<span
|
|
22
|
-
|
|
20
|
+
<span>{{ `《${item.title}》` }} 共
|
|
21
|
+
<span style="font-weight: bold">
|
|
22
|
+
{{ item.fileDTOS.length }}
|
|
23
|
+
</span>
|
|
24
|
+
处引用
|
|
25
|
+
</span>
|
|
26
|
+
</div>
|
|
27
|
+
<div
|
|
28
|
+
v-for="(pdf, index) in item.fileDTOS"
|
|
29
|
+
class="link-part-container"
|
|
30
|
+
:key="index"
|
|
31
|
+
>
|
|
32
|
+
<span class="link-list-part">
|
|
33
|
+
{{ pdf.matchContent }}
|
|
34
|
+
</span>
|
|
35
|
+
<span
|
|
36
|
+
class="link-list-button"
|
|
37
|
+
@click="seeDetail(pdf, item.documentUrl)"
|
|
38
|
+
>
|
|
39
|
+
点击查看
|
|
40
|
+
</span>
|
|
23
41
|
</div>
|
|
24
42
|
</template>
|
|
25
43
|
</div>
|
|
@@ -65,7 +83,7 @@ import { errorList } from '../utils/config';
|
|
|
65
83
|
import ChatTools from './chat-tools.vue';
|
|
66
84
|
import ErrorChat from './error-chat.vue';
|
|
67
85
|
import { marked } from 'marked';
|
|
68
|
-
import { chartClear, sendMessageEventSource, getAutoQuestioning } from "../api";
|
|
86
|
+
import { chartClear, sendMessageEventSource, getAutoQuestioning, pdfUrl, pdfUrlBase } from "../api";
|
|
69
87
|
const controller = new AbortController();
|
|
70
88
|
const signal = controller.signal;
|
|
71
89
|
|
|
@@ -316,7 +334,13 @@ export default {
|
|
|
316
334
|
}else {
|
|
317
335
|
this.messageData = [];
|
|
318
336
|
}
|
|
319
|
-
}
|
|
337
|
+
},
|
|
338
|
+
seeDetail(pdfInfo, url){
|
|
339
|
+
console.log(1234);
|
|
340
|
+
const { pageIndex } = pdfInfo;
|
|
341
|
+
const baseUrl = `${pdfUrlBase}/#/pdf-view?documentUrl=${pdfUrl}${encodeURIComponent(url)}&pageIndex=${pageIndex}`;
|
|
342
|
+
window.open(baseUrl, '_blank');
|
|
343
|
+
},
|
|
320
344
|
},
|
|
321
345
|
}
|
|
322
346
|
</script>
|
|
@@ -386,7 +410,8 @@ export default {
|
|
|
386
410
|
}
|
|
387
411
|
|
|
388
412
|
.robot-message {
|
|
389
|
-
width: 100%;
|
|
413
|
+
//width: 100%;
|
|
414
|
+
width: calc(100% - 120px);
|
|
390
415
|
background-color: rgba(255, 255, 255, 1);
|
|
391
416
|
border-radius: 12px;
|
|
392
417
|
border-top-left-radius: 0;
|
|
@@ -458,4 +483,21 @@ export default {
|
|
|
458
483
|
background-color: rgba(96, 96, 224, 0.24);
|
|
459
484
|
}
|
|
460
485
|
}
|
|
486
|
+
.link-part-container {
|
|
487
|
+
display: flex;
|
|
488
|
+
padding: 5px;
|
|
489
|
+
.link-list-part {
|
|
490
|
+
width: calc(100% - 64px);
|
|
491
|
+
font-size: 13px;
|
|
492
|
+
overflow: hidden; /* 隐藏超出的内容 */
|
|
493
|
+
white-space: nowrap; /* 不换行 */
|
|
494
|
+
text-overflow: ellipsis; /* 超出部分用省略号表示 */
|
|
495
|
+
}
|
|
496
|
+
.link-list-button {
|
|
497
|
+
font-size: 13px;
|
|
498
|
+
width: 64px;
|
|
499
|
+
color: #1677ff;
|
|
500
|
+
cursor: pointer;
|
|
501
|
+
}
|
|
502
|
+
}
|
|
461
503
|
</style>
|
|
@@ -139,13 +139,15 @@ export default {
|
|
|
139
139
|
cai: type === 2
|
|
140
140
|
}
|
|
141
141
|
this.$emit('on-init', xhModelDetailVoList, chatId);
|
|
142
|
+
|
|
142
143
|
try {
|
|
143
144
|
this.analysisData = JSON.parse(content);
|
|
144
145
|
this.detailData.errId = errId;
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
146
|
+
if (this.analysisData.recommend && this.analysisData.recommend.length > 0) {
|
|
147
|
+
for (let item of this.analysisData.recommend) {
|
|
148
|
+
if (!item.title.startsWith(this.chatMajorId)) {
|
|
149
|
+
this.allIdWithStart = false;
|
|
150
|
+
}
|
|
149
151
|
}
|
|
150
152
|
}
|
|
151
153
|
} catch (e) {
|
|
@@ -55,6 +55,10 @@ export default {
|
|
|
55
55
|
props: {
|
|
56
56
|
visible: true,
|
|
57
57
|
analyExercise: {},
|
|
58
|
+
businessSource: {
|
|
59
|
+
type: String,
|
|
60
|
+
default: ''
|
|
61
|
+
}
|
|
58
62
|
},
|
|
59
63
|
computed: {
|
|
60
64
|
resId() {
|
|
@@ -92,7 +96,7 @@ export default {
|
|
|
92
96
|
if (!Cookies.get("token")) {
|
|
93
97
|
return this.$message.warning('未获取到登录信息,请重新登录');
|
|
94
98
|
}
|
|
95
|
-
getUserInfo(Cookies.get("token"));
|
|
99
|
+
getUserInfo(Cookies.get("token"), this.businessSource);
|
|
96
100
|
const wordRes = await queryCallWord(this.resId);
|
|
97
101
|
if (!wordRes) return;
|
|
98
102
|
const { showMoreQA } = wordRes;
|
|
@@ -86,7 +86,7 @@ export const cacheMessageList = [
|
|
|
86
86
|
// });
|
|
87
87
|
// cache.session.setJSON('SRKJ_TOKEN_CACHE', userRes);
|
|
88
88
|
// }
|
|
89
|
-
export const getUserInfo = async (token) => {
|
|
90
|
-
await ssoAuth(token);
|
|
89
|
+
export const getUserInfo = async (token, businessSource) => {
|
|
90
|
+
await ssoAuth(token, businessSource);
|
|
91
91
|
cache.session.setJSON('SRKJ_TOKEN_CACHE', token);
|
|
92
92
|
}
|
|
@@ -6546,7 +6546,7 @@ if (typeof window !== 'undefined') {
|
|
|
6546
6546
|
// Indicate to webpack that this file can be concatenated
|
|
6547
6547
|
/* harmony default export */ var setPublicPath = (null);
|
|
6548
6548
|
|
|
6549
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/demo/src/main.vue?vue&type=template&id=
|
|
6549
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/demo/src/main.vue?vue&type=template&id=30b5baca&scoped=true
|
|
6550
6550
|
var render = function render() {
|
|
6551
6551
|
var _vm = this,
|
|
6552
6552
|
_c = _vm._self._c;
|
|
@@ -6644,10 +6644,10 @@ var staticRenderFns = [function () {
|
|
|
6644
6644
|
}, [_vm._v("智能解析")])]);
|
|
6645
6645
|
}];
|
|
6646
6646
|
|
|
6647
|
-
;// CONCATENATED MODULE: ./components/demo/src/main.vue?vue&type=template&id=
|
|
6647
|
+
;// CONCATENATED MODULE: ./components/demo/src/main.vue?vue&type=template&id=30b5baca&scoped=true
|
|
6648
6648
|
|
|
6649
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/demo/src/chat.vue?vue&type=template&id=
|
|
6650
|
-
var
|
|
6649
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/demo/src/chat.vue?vue&type=template&id=422cbfc3&scoped=true
|
|
6650
|
+
var chatvue_type_template_id_422cbfc3_scoped_true_render = function render() {
|
|
6651
6651
|
var _vm = this,
|
|
6652
6652
|
_c = _vm._self._c;
|
|
6653
6653
|
return _c('div', {
|
|
@@ -6691,12 +6691,25 @@ var chatvue_type_template_id_87eb3e4e_scoped_true_render = function render() {
|
|
|
6691
6691
|
}, [_vm._l(list.links, function (item) {
|
|
6692
6692
|
return [!item.title.startsWith(_vm.chatMajorId) ? _c('div', {
|
|
6693
6693
|
staticClass: "links"
|
|
6694
|
-
}, [_c('
|
|
6695
|
-
|
|
6696
|
-
"
|
|
6697
|
-
|
|
6698
|
-
|
|
6699
|
-
|
|
6694
|
+
}, [_c('span', [_vm._v(_vm._s(`《${item.title}》`) + " 共 "), _c('span', {
|
|
6695
|
+
staticStyle: {
|
|
6696
|
+
"font-weight": "bold"
|
|
6697
|
+
}
|
|
6698
|
+
}, [_vm._v(" " + _vm._s(item.fileDTOS.length) + " ")]), _vm._v(" 处引用 ")])]) : _vm._e(), _vm._l(item.fileDTOS, function (pdf, index) {
|
|
6699
|
+
return _c('div', {
|
|
6700
|
+
key: index,
|
|
6701
|
+
staticClass: "link-part-container"
|
|
6702
|
+
}, [_c('span', {
|
|
6703
|
+
staticClass: "link-list-part"
|
|
6704
|
+
}, [_vm._v(" " + _vm._s(pdf.matchContent) + " ")]), _c('span', {
|
|
6705
|
+
staticClass: "link-list-button",
|
|
6706
|
+
on: {
|
|
6707
|
+
"click": function ($event) {
|
|
6708
|
+
return _vm.seeDetail(pdf, item.documentUrl);
|
|
6709
|
+
}
|
|
6710
|
+
}
|
|
6711
|
+
}, [_vm._v(" 点击查看 ")])]);
|
|
6712
|
+
})];
|
|
6700
6713
|
})], 2)]) : _vm._e()]) : _vm._e(), list.type === 'robot' && list.connectUrl.length > 0 ? _c('div', {
|
|
6701
6714
|
staticClass: "link"
|
|
6702
6715
|
}, [_c('div', {
|
|
@@ -6742,7 +6755,7 @@ var chatvue_type_template_id_87eb3e4e_scoped_true_render = function render() {
|
|
|
6742
6755
|
}) : _vm._e()], 1)]);
|
|
6743
6756
|
})], 2);
|
|
6744
6757
|
};
|
|
6745
|
-
var
|
|
6758
|
+
var chatvue_type_template_id_422cbfc3_scoped_true_staticRenderFns = [];
|
|
6746
6759
|
|
|
6747
6760
|
;// CONCATENATED MODULE: ./node_modules/axios/lib/helpers/bind.js
|
|
6748
6761
|
|
|
@@ -10884,12 +10897,16 @@ let prefix = sessionStorage.getItem('AI-INTELLIGENT-TOOLS_PRE_FIX') || constants
|
|
|
10884
10897
|
|
|
10885
10898
|
// 0.0.7 版本接口升级
|
|
10886
10899
|
prefix += '/plugin/v2';
|
|
10887
|
-
const
|
|
10900
|
+
const pdfUrlBase = 'https://testagent.icve.com.cn';
|
|
10901
|
+
// export const pdfUrlBase = 'http://agent.icve.com.cn';
|
|
10902
|
+
const pdfUrl = pdfUrlBase + '/ossurl';
|
|
10903
|
+
const ssoAuth = (token, businessSource) => {
|
|
10888
10904
|
return utils_request({
|
|
10889
10905
|
url: prefix + '/sso/assistant',
|
|
10890
10906
|
method: 'get',
|
|
10891
10907
|
params: {
|
|
10892
|
-
token: token
|
|
10908
|
+
token: token,
|
|
10909
|
+
businessSource
|
|
10893
10910
|
}
|
|
10894
10911
|
});
|
|
10895
10912
|
};
|
|
@@ -11058,8 +11075,8 @@ const cacheMessageList = [{
|
|
|
11058
11075
|
// });
|
|
11059
11076
|
// cache.session.setJSON('SRKJ_TOKEN_CACHE', userRes);
|
|
11060
11077
|
// }
|
|
11061
|
-
const getUserInfo = async token => {
|
|
11062
|
-
await ssoAuth(token);
|
|
11078
|
+
const getUserInfo = async (token, businessSource) => {
|
|
11079
|
+
await ssoAuth(token, businessSource);
|
|
11063
11080
|
cache.session.setJSON('SRKJ_TOKEN_CACHE', token);
|
|
11064
11081
|
};
|
|
11065
11082
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/demo/src/chat-tools.vue?vue&type=template&id=a40a67cc&scoped=true
|
|
@@ -11452,8 +11469,8 @@ var component = normalizeComponent(
|
|
|
11452
11469
|
)
|
|
11453
11470
|
|
|
11454
11471
|
/* harmony default export */ var chat_tools = (component.exports);
|
|
11455
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/demo/src/error-chat.vue?vue&type=template&id=
|
|
11456
|
-
var
|
|
11472
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/demo/src/error-chat.vue?vue&type=template&id=98b221ca&scoped=true
|
|
11473
|
+
var error_chatvue_type_template_id_98b221ca_scoped_true_render = function render() {
|
|
11457
11474
|
var _vm = this,
|
|
11458
11475
|
_c = _vm._self._c;
|
|
11459
11476
|
return _c('div', {
|
|
@@ -11596,7 +11613,7 @@ var error_chatvue_type_template_id_72bccb65_scoped_true_render = function render
|
|
|
11596
11613
|
}
|
|
11597
11614
|
})], 1)]);
|
|
11598
11615
|
};
|
|
11599
|
-
var
|
|
11616
|
+
var error_chatvue_type_template_id_98b221ca_scoped_true_staticRenderFns = [function () {
|
|
11600
11617
|
var _vm = this,
|
|
11601
11618
|
_c = _vm._self._c;
|
|
11602
11619
|
return _c('div', {
|
|
@@ -11615,7 +11632,7 @@ var error_chatvue_type_template_id_72bccb65_scoped_true_staticRenderFns = [funct
|
|
|
11615
11632
|
})]);
|
|
11616
11633
|
}];
|
|
11617
11634
|
|
|
11618
|
-
;// CONCATENATED MODULE: ./components/demo/src/error-chat.vue?vue&type=template&id=
|
|
11635
|
+
;// CONCATENATED MODULE: ./components/demo/src/error-chat.vue?vue&type=template&id=98b221ca&scoped=true
|
|
11619
11636
|
|
|
11620
11637
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/demo/src/error-chat.vue?vue&type=script&lang=js
|
|
11621
11638
|
|
|
@@ -11684,9 +11701,11 @@ var error_chatvue_type_template_id_72bccb65_scoped_true_staticRenderFns = [funct
|
|
|
11684
11701
|
try {
|
|
11685
11702
|
this.analysisData = JSON.parse(content);
|
|
11686
11703
|
this.detailData.errId = errId;
|
|
11687
|
-
|
|
11688
|
-
|
|
11689
|
-
this.
|
|
11704
|
+
if (this.analysisData.recommend && this.analysisData.recommend.length > 0) {
|
|
11705
|
+
for (let item of this.analysisData.recommend) {
|
|
11706
|
+
if (!item.title.startsWith(this.chatMajorId)) {
|
|
11707
|
+
this.allIdWithStart = false;
|
|
11708
|
+
}
|
|
11690
11709
|
}
|
|
11691
11710
|
}
|
|
11692
11711
|
} catch (e) {
|
|
@@ -11740,10 +11759,10 @@ var error_chatvue_type_template_id_72bccb65_scoped_true_staticRenderFns = [funct
|
|
|
11740
11759
|
});
|
|
11741
11760
|
;// CONCATENATED MODULE: ./components/demo/src/error-chat.vue?vue&type=script&lang=js
|
|
11742
11761
|
/* harmony default export */ var src_error_chatvue_type_script_lang_js = (error_chatvue_type_script_lang_js);
|
|
11743
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/demo/src/error-chat.vue?vue&type=style&index=0&id=
|
|
11762
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/demo/src/error-chat.vue?vue&type=style&index=0&id=98b221ca&prod&lang=scss&scoped=true
|
|
11744
11763
|
// extracted by mini-css-extract-plugin
|
|
11745
11764
|
|
|
11746
|
-
;// CONCATENATED MODULE: ./components/demo/src/error-chat.vue?vue&type=style&index=0&id=
|
|
11765
|
+
;// CONCATENATED MODULE: ./components/demo/src/error-chat.vue?vue&type=style&index=0&id=98b221ca&prod&lang=scss&scoped=true
|
|
11747
11766
|
|
|
11748
11767
|
;// CONCATENATED MODULE: ./components/demo/src/error-chat.vue
|
|
11749
11768
|
|
|
@@ -11756,11 +11775,11 @@ var error_chatvue_type_template_id_72bccb65_scoped_true_staticRenderFns = [funct
|
|
|
11756
11775
|
|
|
11757
11776
|
var error_chat_component = normalizeComponent(
|
|
11758
11777
|
src_error_chatvue_type_script_lang_js,
|
|
11759
|
-
|
|
11760
|
-
|
|
11778
|
+
error_chatvue_type_template_id_98b221ca_scoped_true_render,
|
|
11779
|
+
error_chatvue_type_template_id_98b221ca_scoped_true_staticRenderFns,
|
|
11761
11780
|
false,
|
|
11762
11781
|
null,
|
|
11763
|
-
"
|
|
11782
|
+
"98b221ca",
|
|
11764
11783
|
null
|
|
11765
11784
|
|
|
11766
11785
|
)
|
|
@@ -14521,15 +14540,23 @@ const signal = controller.signal;
|
|
|
14521
14540
|
} else {
|
|
14522
14541
|
this.messageData = [];
|
|
14523
14542
|
}
|
|
14543
|
+
},
|
|
14544
|
+
seeDetail(pdfInfo, url) {
|
|
14545
|
+
console.log(1234);
|
|
14546
|
+
const {
|
|
14547
|
+
pageIndex
|
|
14548
|
+
} = pdfInfo;
|
|
14549
|
+
const baseUrl = `${pdfUrlBase}/#/pdf-view?documentUrl=${pdfUrl}${encodeURIComponent(url)}&pageIndex=${pageIndex}`;
|
|
14550
|
+
window.open(baseUrl, '_blank');
|
|
14524
14551
|
}
|
|
14525
14552
|
}
|
|
14526
14553
|
});
|
|
14527
14554
|
;// CONCATENATED MODULE: ./components/demo/src/chat.vue?vue&type=script&lang=js
|
|
14528
14555
|
/* harmony default export */ var src_chatvue_type_script_lang_js = (chatvue_type_script_lang_js);
|
|
14529
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/demo/src/chat.vue?vue&type=style&index=0&id=
|
|
14556
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/demo/src/chat.vue?vue&type=style&index=0&id=422cbfc3&prod&lang=scss&scoped=true
|
|
14530
14557
|
// extracted by mini-css-extract-plugin
|
|
14531
14558
|
|
|
14532
|
-
;// CONCATENATED MODULE: ./components/demo/src/chat.vue?vue&type=style&index=0&id=
|
|
14559
|
+
;// CONCATENATED MODULE: ./components/demo/src/chat.vue?vue&type=style&index=0&id=422cbfc3&prod&lang=scss&scoped=true
|
|
14533
14560
|
|
|
14534
14561
|
;// CONCATENATED MODULE: ./components/demo/src/chat.vue
|
|
14535
14562
|
|
|
@@ -14542,11 +14569,11 @@ const signal = controller.signal;
|
|
|
14542
14569
|
|
|
14543
14570
|
var chat_component = normalizeComponent(
|
|
14544
14571
|
src_chatvue_type_script_lang_js,
|
|
14545
|
-
|
|
14546
|
-
|
|
14572
|
+
chatvue_type_template_id_422cbfc3_scoped_true_render,
|
|
14573
|
+
chatvue_type_template_id_422cbfc3_scoped_true_staticRenderFns,
|
|
14547
14574
|
false,
|
|
14548
14575
|
null,
|
|
14549
|
-
"
|
|
14576
|
+
"422cbfc3",
|
|
14550
14577
|
null
|
|
14551
14578
|
|
|
14552
14579
|
)
|
|
@@ -14700,7 +14727,11 @@ var api = init(defaultConverter, { path: '/' });
|
|
|
14700
14727
|
},
|
|
14701
14728
|
props: {
|
|
14702
14729
|
visible: true,
|
|
14703
|
-
analyExercise: {}
|
|
14730
|
+
analyExercise: {},
|
|
14731
|
+
businessSource: {
|
|
14732
|
+
type: String,
|
|
14733
|
+
default: ''
|
|
14734
|
+
}
|
|
14704
14735
|
},
|
|
14705
14736
|
computed: {
|
|
14706
14737
|
resId() {
|
|
@@ -14740,7 +14771,7 @@ var api = init(defaultConverter, { path: '/' });
|
|
|
14740
14771
|
if (!api.get("token")) {
|
|
14741
14772
|
return this.$message.warning('未获取到登录信息,请重新登录');
|
|
14742
14773
|
}
|
|
14743
|
-
getUserInfo(api.get("token"));
|
|
14774
|
+
getUserInfo(api.get("token"), this.businessSource);
|
|
14744
14775
|
const wordRes = await queryCallWord(this.resId);
|
|
14745
14776
|
if (!wordRes) return;
|
|
14746
14777
|
const {
|
|
@@ -14799,10 +14830,10 @@ var api = init(defaultConverter, { path: '/' });
|
|
|
14799
14830
|
});
|
|
14800
14831
|
;// CONCATENATED MODULE: ./components/demo/src/main.vue?vue&type=script&lang=js
|
|
14801
14832
|
/* harmony default export */ var src_mainvue_type_script_lang_js = (mainvue_type_script_lang_js);
|
|
14802
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/demo/src/main.vue?vue&type=style&index=0&id=
|
|
14833
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/demo/src/main.vue?vue&type=style&index=0&id=30b5baca&prod&lang=scss&scoped=true
|
|
14803
14834
|
// extracted by mini-css-extract-plugin
|
|
14804
14835
|
|
|
14805
|
-
;// CONCATENATED MODULE: ./components/demo/src/main.vue?vue&type=style&index=0&id=
|
|
14836
|
+
;// CONCATENATED MODULE: ./components/demo/src/main.vue?vue&type=style&index=0&id=30b5baca&prod&lang=scss&scoped=true
|
|
14806
14837
|
|
|
14807
14838
|
;// CONCATENATED MODULE: ./components/demo/src/main.vue
|
|
14808
14839
|
|
|
@@ -14819,7 +14850,7 @@ var main_component = normalizeComponent(
|
|
|
14819
14850
|
staticRenderFns,
|
|
14820
14851
|
false,
|
|
14821
14852
|
null,
|
|
14822
|
-
"
|
|
14853
|
+
"30b5baca",
|
|
14823
14854
|
null
|
|
14824
14855
|
|
|
14825
14856
|
)
|