askbot-dragon 1.7.22-beta → 1.7.23-beta
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/package.json +2 -1
- package/public/index.html +8 -10
- package/src/assets/js/AliyunlssUtil.js +50 -26
- package/src/assets/js/hammer.js +13 -2
- package/src/assets/less/converSationContainer/common.less +7 -0
- package/src/components/ActionAlertIframe.vue +24 -1
- package/src/components/AiGuide.vue +121 -154
- package/src/components/AnswerDocknowledge.vue +108 -100
- package/src/components/ConversationContainer.vue +13 -220
- package/src/components/MyEditor.vue +2 -1
- package/src/components/actionSatisfaction.vue +3 -3
- package/src/components/answerRadio.vue +3 -3
- package/src/components/askVideo.vue +23 -0
- package/src/components/associationIntention.vue +11 -7
- package/src/components/formTemplate.vue +54 -50
- package/src/components/intelligentSummary.vue +8 -4
- package/src/components/message/TextMessage.vue +15 -11
- package/src/components/message/swiper/ticketSwiper.vue +1 -1
- package/src/components/newPdfPosition.vue +878 -0
- package/src/components/pdfPosition.vue +217 -37
- package/src/components/popup.vue +2 -2
- package/src/components/previewDoc.vue +6 -2
- package/src/components/previewPdf.vue +159 -134
- package/src/components/senderMessagePlatform.vue +4 -4
- package/src/components/utils/ckeditor.js +1 -1
- package/src/components/welcomeKnowledgeFile.vue +6 -2
- package/src/components/welcomeLlmCard.vue +5 -1
- package/src/components/welcomeSuggest.vue +1 -1
- package/src/locales/cn.json +72 -0
- package/src/locales/en.json +73 -0
- package/src/locales/jp.json +73 -0
- package/src/main.js +18 -0
- package/src/components/QwFeedback.vue +0 -302
|
@@ -12,14 +12,14 @@
|
|
|
12
12
|
</div>
|
|
13
13
|
<div v-if="isCompany">
|
|
14
14
|
<div v-if="single === true" class="editMessage">
|
|
15
|
-
<el-input v-model="input" placeholder="
|
|
15
|
+
<el-input v-model="input" :placeholder="$t('common.inputPlaceholder')" class="inputClass" @input="testClick" @blur="inputBlur"></el-input>
|
|
16
16
|
<!-- <span @click="quedingClick" style="display: flex;align-items: center"><i class="el-icon-success" style="color: #4C61E1;font-size: 32px;cursor: pointer"></i></span>
|
|
17
17
|
--> </div>
|
|
18
18
|
<div v-if="date" class="editMessage">
|
|
19
19
|
<el-date-picker
|
|
20
20
|
v-model="dateValue"
|
|
21
21
|
type="date"
|
|
22
|
-
placeholder="
|
|
22
|
+
:placeholder="$t('common.selectDate')"
|
|
23
23
|
style="width: 100%;margin: 10px 0 10px 0"
|
|
24
24
|
:clearable=false
|
|
25
25
|
@change="dataclick"
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
<div v-if="time" class="editMessage">
|
|
32
32
|
<el-time-picker
|
|
33
33
|
v-model="timeValue"
|
|
34
|
-
placeholder="
|
|
34
|
+
:placeholder="$t('common.selectTime')"
|
|
35
35
|
style="margin: 10px 0 10px 0;width: 100%"
|
|
36
36
|
:clearable=false
|
|
37
37
|
@change="dataclick"
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
<el-date-picker
|
|
44
44
|
v-model="dateTimeValue"
|
|
45
45
|
type="datetime"
|
|
46
|
-
placeholder="
|
|
46
|
+
:placeholder="$t('common.selectDateTime')"
|
|
47
47
|
style="width: 100%;margin: 10px 0 10px 0"
|
|
48
48
|
@change="dataclick"
|
|
49
49
|
>
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
</div>
|
|
93
93
|
<div v-if="isPhone">
|
|
94
94
|
<div v-if="single" class="editMessage">
|
|
95
|
-
<el-input v-model="input" placeholder="
|
|
95
|
+
<el-input v-model="input" :placeholder="$t('common.inputPlaceholder')" class="inputClass" @input="testClick" @blur="inputBlur"></el-input>
|
|
96
96
|
<!-- <span @click="quedingClick" style="display: flex;align-items: center"><i class="el-icon-success" style="color: #4C61E1;font-size: 32px;cursor: pointer"></i></span>
|
|
97
97
|
--> </div>
|
|
98
98
|
<div v-if="date">
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
<van-datetime-picker
|
|
114
114
|
v-model="timeValue"
|
|
115
115
|
type="datetime"
|
|
116
|
-
title="
|
|
116
|
+
:title="$t('common.selectTime')"
|
|
117
117
|
:min-date="minDate"
|
|
118
118
|
:formatter="formatter"
|
|
119
119
|
@cancel="showTimePicker = false"
|
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
<van-datetime-picker
|
|
135
135
|
v-model="dateTimeValue"
|
|
136
136
|
type="datetime"
|
|
137
|
-
title="
|
|
137
|
+
:title="$t('common.selectDateTime')"
|
|
138
138
|
:min-date="minDate"
|
|
139
139
|
:formatter="formatter"
|
|
140
140
|
@cancel="showDateTimePicker = false"
|
|
@@ -301,7 +301,11 @@ export default {
|
|
|
301
301
|
},
|
|
302
302
|
type:String,
|
|
303
303
|
disable:Boolean,
|
|
304
|
-
submit:Boolean
|
|
304
|
+
submit:Boolean,
|
|
305
|
+
language:{
|
|
306
|
+
type:String,
|
|
307
|
+
default:"cn"
|
|
308
|
+
}
|
|
305
309
|
},
|
|
306
310
|
mounted() {
|
|
307
311
|
this.isMobile()
|
|
@@ -367,11 +371,11 @@ export default {
|
|
|
367
371
|
}
|
|
368
372
|
if(this.submit===true)
|
|
369
373
|
{
|
|
370
|
-
this.submitValue='
|
|
374
|
+
this.submitValue=this.$t('common.confirmed')
|
|
371
375
|
}
|
|
372
376
|
else
|
|
373
377
|
{
|
|
374
|
-
this.submitValue='
|
|
378
|
+
this.submitValue=this.$t('common.confirm')
|
|
375
379
|
}
|
|
376
380
|
},
|
|
377
381
|
methods:{
|
|
@@ -612,7 +616,7 @@ export default {
|
|
|
612
616
|
infomation['template']=innerhtml.querySelector('#html').innerHTML
|
|
613
617
|
infomation['apiKey']=this.text.apiKey
|
|
614
618
|
this.$emit('submitClick',infomation,this.text.apiKey)
|
|
615
|
-
this.submitValue='
|
|
619
|
+
this.submitValue=this.$t('common.confirmed')
|
|
616
620
|
this.disableds=true
|
|
617
621
|
},
|
|
618
622
|
addZero(i){
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
>
|
|
10
10
|
<slot></slot>
|
|
11
11
|
</div>
|
|
12
|
-
<div v-if="device==='PC'&&content.multiple===true" class="clickBtn">
|
|
12
|
+
<div v-if="device==='PC'&&content.multiple===true && content.cards && content.cards.length > 1" class="clickBtn">
|
|
13
13
|
<div class="preBtn" @click="preClick" style="display: flex">
|
|
14
14
|
<i class="el-icon-arrow-left" style="font-size: 18px;font-weight:800;align-self: center;margin: auto"></i>
|
|
15
15
|
</div>
|