ai-error-assistant-pro 0.0.21 → 0.0.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/demo/src/error-chat.vue +6 -2
- package/dist/ai-error-assistant-pro.common.js +14 -10
- 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 +14 -10
- package/dist/ai-error-assistant-pro.umd.js.map +1 -1
- package/dist/ai-error-assistant-pro.umd.min.js +1 -1
- package/dist/ai-error-assistant-pro.umd.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
</div>
|
|
73
73
|
<div class="answer-content" v-if="businessSource !== '2' ">
|
|
74
74
|
<div v-for="(list,index) in analysisData.recommend" :key="index" style="margin-bottom: 8px">
|
|
75
|
-
<a :href="
|
|
75
|
+
<a :href="seeDetail(list.pageIndex, list.url)"
|
|
76
76
|
target="_blank"
|
|
77
77
|
v-if="!list.title.startsWith(chatMajorId)">{{ list.title }}
|
|
78
78
|
</a>
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
</template>
|
|
89
89
|
<script>
|
|
90
90
|
import ChatTools from './chat-tools.vue';
|
|
91
|
-
import {
|
|
91
|
+
import {erranalysis, pdfUrlBase, retryAnalysis} from '../api/index'
|
|
92
92
|
export default {
|
|
93
93
|
name: 'ErrorChart',
|
|
94
94
|
components: {
|
|
@@ -170,6 +170,10 @@ export default {
|
|
|
170
170
|
throw new Error(e);
|
|
171
171
|
}
|
|
172
172
|
},
|
|
173
|
+
seeDetail(pageIndex, url){
|
|
174
|
+
const baseUrl = `${pdfUrlBase}/#/pdf-view?documentUrl=${encodeURIComponent(url)}&pageIndex=${pageIndex}`;
|
|
175
|
+
return baseUrl
|
|
176
|
+
},
|
|
173
177
|
async reanswer(list) {
|
|
174
178
|
const cache = {...this.analysisData};
|
|
175
179
|
this.analysisData = {};
|
|
@@ -11500,8 +11500,8 @@ var component = normalizeComponent(
|
|
|
11500
11500
|
)
|
|
11501
11501
|
|
|
11502
11502
|
/* harmony default export */ var chat_tools = (component.exports);
|
|
11503
|
-
;// 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=
|
|
11504
|
-
var
|
|
11503
|
+
;// 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=f32a40f0&scoped=true
|
|
11504
|
+
var error_chatvue_type_template_id_f32a40f0_scoped_true_render = function render() {
|
|
11505
11505
|
var _vm = this,
|
|
11506
11506
|
_c = _vm._self._c;
|
|
11507
11507
|
return _c('div', {
|
|
@@ -11632,7 +11632,7 @@ var error_chatvue_type_template_id_9097633c_scoped_true_render = function render
|
|
|
11632
11632
|
}
|
|
11633
11633
|
}, [!list.title.startsWith(_vm.chatMajorId) ? _c('a', {
|
|
11634
11634
|
attrs: {
|
|
11635
|
-
"href":
|
|
11635
|
+
"href": _vm.seeDetail(list.pageIndex, list.url),
|
|
11636
11636
|
"target": "_blank"
|
|
11637
11637
|
}
|
|
11638
11638
|
}, [_vm._v(_vm._s(list.title) + " ")]) : _vm._e()]);
|
|
@@ -11648,7 +11648,7 @@ var error_chatvue_type_template_id_9097633c_scoped_true_render = function render
|
|
|
11648
11648
|
}
|
|
11649
11649
|
})], 1)]);
|
|
11650
11650
|
};
|
|
11651
|
-
var
|
|
11651
|
+
var error_chatvue_type_template_id_f32a40f0_scoped_true_staticRenderFns = [function () {
|
|
11652
11652
|
var _vm = this,
|
|
11653
11653
|
_c = _vm._self._c;
|
|
11654
11654
|
return _c('div', {
|
|
@@ -11667,7 +11667,7 @@ var error_chatvue_type_template_id_9097633c_scoped_true_staticRenderFns = [funct
|
|
|
11667
11667
|
})]);
|
|
11668
11668
|
}];
|
|
11669
11669
|
|
|
11670
|
-
;// CONCATENATED MODULE: ./components/demo/src/error-chat.vue?vue&type=template&id=
|
|
11670
|
+
;// CONCATENATED MODULE: ./components/demo/src/error-chat.vue?vue&type=template&id=f32a40f0&scoped=true
|
|
11671
11671
|
|
|
11672
11672
|
;// 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
|
|
11673
11673
|
|
|
@@ -11764,6 +11764,10 @@ var error_chatvue_type_template_id_9097633c_scoped_true_staticRenderFns = [funct
|
|
|
11764
11764
|
throw new Error(e);
|
|
11765
11765
|
}
|
|
11766
11766
|
},
|
|
11767
|
+
seeDetail(pageIndex, url) {
|
|
11768
|
+
const baseUrl = `${pdfUrlBase}/#/pdf-view?documentUrl=${encodeURIComponent(url)}&pageIndex=${pageIndex}`;
|
|
11769
|
+
return baseUrl;
|
|
11770
|
+
},
|
|
11767
11771
|
async reanswer(list) {
|
|
11768
11772
|
const cache = {
|
|
11769
11773
|
...this.analysisData
|
|
@@ -11804,10 +11808,10 @@ var error_chatvue_type_template_id_9097633c_scoped_true_staticRenderFns = [funct
|
|
|
11804
11808
|
});
|
|
11805
11809
|
;// CONCATENATED MODULE: ./components/demo/src/error-chat.vue?vue&type=script&lang=js
|
|
11806
11810
|
/* harmony default export */ var src_error_chatvue_type_script_lang_js = (error_chatvue_type_script_lang_js);
|
|
11807
|
-
;// 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=
|
|
11811
|
+
;// 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=f32a40f0&prod&lang=scss&scoped=true
|
|
11808
11812
|
// extracted by mini-css-extract-plugin
|
|
11809
11813
|
|
|
11810
|
-
;// CONCATENATED MODULE: ./components/demo/src/error-chat.vue?vue&type=style&index=0&id=
|
|
11814
|
+
;// CONCATENATED MODULE: ./components/demo/src/error-chat.vue?vue&type=style&index=0&id=f32a40f0&prod&lang=scss&scoped=true
|
|
11811
11815
|
|
|
11812
11816
|
;// CONCATENATED MODULE: ./components/demo/src/error-chat.vue
|
|
11813
11817
|
|
|
@@ -11820,11 +11824,11 @@ var error_chatvue_type_template_id_9097633c_scoped_true_staticRenderFns = [funct
|
|
|
11820
11824
|
|
|
11821
11825
|
var error_chat_component = normalizeComponent(
|
|
11822
11826
|
src_error_chatvue_type_script_lang_js,
|
|
11823
|
-
|
|
11824
|
-
|
|
11827
|
+
error_chatvue_type_template_id_f32a40f0_scoped_true_render,
|
|
11828
|
+
error_chatvue_type_template_id_f32a40f0_scoped_true_staticRenderFns,
|
|
11825
11829
|
false,
|
|
11826
11830
|
null,
|
|
11827
|
-
"
|
|
11831
|
+
"f32a40f0",
|
|
11828
11832
|
null
|
|
11829
11833
|
|
|
11830
11834
|
)
|