askbot-dragon 88.0.35 → 88.0.36
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 +1 -1
- package/public/index.html +3 -0
- package/src/assets/js/AliyunlssUtil.js +3 -1
- package/src/components/AiGuide.vue +7 -4
- package/src/components/ConversationContainer.vue +1 -1
- package/src/components/MyEditor.vue +4 -4
- package/src/components/answerRadio.vue +3 -2
- package/src/components/file/AliyunOssComponents.vue +1 -1
- package/src/components/formTemplate.vue +7 -1
- package/src/components/utils/AliyunIssUtil.js +2 -1
package/package.json
CHANGED
package/public/index.html
CHANGED
|
@@ -29,6 +29,9 @@
|
|
|
29
29
|
<!-- iconfont图标 -->
|
|
30
30
|
<link rel="stylesheet" href="//at.alicdn.com/t/c/font_2913049_mfmhkqumc7i.css"/>
|
|
31
31
|
<script src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
|
|
32
|
+
|
|
33
|
+
<!-- aliyun-oss -->
|
|
34
|
+
<script src="https://static.guoranbot.com/cdn-common/alyun-oss/aliyun-oss-sdk-6.17.1.min.js"></script>
|
|
32
35
|
|
|
33
36
|
<!-- vue -->
|
|
34
37
|
<!-- <script src="https://static.guoranbot.com/vue/2.6.11/dist/vue.min.js"></script>
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
class="ig-types-list-cell"
|
|
95
95
|
>
|
|
96
96
|
<span>{{ intentCell.questionName }}</span>
|
|
97
|
-
<span><
|
|
97
|
+
<span><svg t="1720148108415" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="96725" width="12" height="12"><path d="M246.728409 927.106061l414.195993-414.195993-409.542106-417.779487A57.615128 57.615128 0 0 1 256.036184 16.247187a49.377747 49.377747 0 0 1 37.2311-16.335145 48.02812 48.02812 0 0 1 37.231101 16.893611l446.773206 457.616765a57.568589 57.568589 0 0 1-4.653887 78.883394c0 1.489244 0 2.792333-4.653888 4.095421L325.844497 1006.408305a56.218962 56.218962 0 0 1-79.116088-0.605005 62.687865 62.687865 0 0 1 0-78.697239z" p-id="96726" fill="#366aff"></path></svg></span
|
|
98
98
|
></span>
|
|
99
99
|
</div>
|
|
100
100
|
<!-- 横向排版 -->
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
class="ig-types-list-cell"
|
|
139
139
|
>
|
|
140
140
|
<span>{{ intentCell.exampleQuestion }}</span>
|
|
141
|
-
<span><
|
|
141
|
+
<span><svg t="1720148108415" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="96725" width="12" height="12"><path d="M246.728409 927.106061l414.195993-414.195993-409.542106-417.779487A57.615128 57.615128 0 0 1 256.036184 16.247187a49.377747 49.377747 0 0 1 37.2311-16.335145 48.02812 48.02812 0 0 1 37.231101 16.893611l446.773206 457.616765a57.568589 57.568589 0 0 1-4.653887 78.883394c0 1.489244 0 2.792333-4.653888 4.095421L325.844497 1006.408305a56.218962 56.218962 0 0 1-79.116088-0.605005 62.687865 62.687865 0 0 1 0-78.697239z" p-id="96726" fill="#366aff"></path></svg></span
|
|
142
142
|
></span>
|
|
143
143
|
</div>
|
|
144
144
|
<!-- 横向排版 -->
|
|
@@ -182,7 +182,7 @@
|
|
|
182
182
|
class="ig-types-list-cell"
|
|
183
183
|
>
|
|
184
184
|
<span>{{ intentCell.exampleQuestion }}</span>
|
|
185
|
-
<span><
|
|
185
|
+
<span><svg t="1720148108415" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="96725" width="12" height="12"><path d="M246.728409 927.106061l414.195993-414.195993-409.542106-417.779487A57.615128 57.615128 0 0 1 256.036184 16.247187a49.377747 49.377747 0 0 1 37.2311-16.335145 48.02812 48.02812 0 0 1 37.231101 16.893611l446.773206 457.616765a57.568589 57.568589 0 0 1-4.653887 78.883394c0 1.489244 0 2.792333-4.653888 4.095421L325.844497 1006.408305a56.218962 56.218962 0 0 1-79.116088-0.605005 62.687865 62.687865 0 0 1 0-78.697239z" p-id="96726" fill="#366aff"></path></svg></span
|
|
186
186
|
></span>
|
|
187
187
|
</div>
|
|
188
188
|
<div
|
|
@@ -190,7 +190,8 @@
|
|
|
190
190
|
class="ig-change-list"
|
|
191
191
|
>
|
|
192
192
|
<span @click="changeIntellectGuide" class="ig-change-list-btn">
|
|
193
|
-
<
|
|
193
|
+
<svg t="1720148246364" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="136175" width="16" height="16"><path d="M225.6 540.8C240 686.4 363.2 800 512 800c76.8 0 150.4-30.4 203.2-84.8 12.8-12.8 32-12.8 44.8 0s12.8 32 0 44.8c-64 65.6-153.6 104-248 104-184 0-336-142.4-350.4-323.2l-43.2 41.6c-12.8 12.8-33.6 11.2-44.8 0s-11.2-33.6 0-44.8l99.2-96c12.8-12.8 33.6-11.2 44.8 0l92.8 96c12.8 12.8 11.2 33.6-1.6 44.8-12.8 12.8-33.6 11.2-44.8-1.6l-38.4-40zM800 497.6C792 345.6 665.6 224 512 224c-76.8 0-148.8 30.4-203.2 83.2-12.8 12.8-33.6 12.8-44.8 0-12.8-12.8-12.8-33.6 0-44.8 65.6-64 153.6-102.4 248-102.4 192 0 347.2 153.6 352 342.4l41.6-40c12.8-12.8 33.6-11.2 44.8 1.6 12.8 12.8 11.2 33.6-1.6 44.8l-94.4 89.6c-12.8 11.2-32 11.2-44.8 0l-97.6-96c-12.8-12.8-12.8-32 0-44.8 12.8-12.8 32-12.8 44.8 0l43.2 40z" p-id="136176" fill="#366aff"></path></svg>
|
|
194
|
+
换一批</span
|
|
194
195
|
>
|
|
195
196
|
</div>
|
|
196
197
|
</div>
|
|
@@ -463,6 +464,8 @@ export default {
|
|
|
463
464
|
font-weight: 600;
|
|
464
465
|
color: #366aff;
|
|
465
466
|
cursor: pointer;
|
|
467
|
+
display: flex;
|
|
468
|
+
align-items: center;
|
|
466
469
|
}
|
|
467
470
|
}
|
|
468
471
|
}
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
<answer-dissatisfaction :msg="answerDiss"></answer-dissatisfaction>
|
|
46
46
|
<feed-back :feedBack="feedBack"></feed-back>
|
|
47
47
|
<voice-compontent></voice-compontent> -->
|
|
48
|
-
|
|
48
|
+
<ai-guide :aiGuide="ActionAiGuideObj"></ai-guide>
|
|
49
49
|
<!-- <answer-voice :msg="answerVoiceObj"></answer-voice> -->
|
|
50
50
|
<!-- <answer-voice :msg="answerVoiceObj"></answer-voice> -->
|
|
51
51
|
<!-- <div v-for="(item,index) in processAction" :key="index">
|
|
@@ -292,10 +292,10 @@ export default {
|
|
|
292
292
|
-webkit-animation: rotate 1.5s linear infinite;
|
|
293
293
|
animation: rotate 1.5s linear infinite;
|
|
294
294
|
}
|
|
295
|
-
.wrap {
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
}
|
|
295
|
+
// .wrap {
|
|
296
|
+
// height: 1px;
|
|
297
|
+
// width: 100%;
|
|
298
|
+
// }
|
|
299
299
|
}
|
|
300
300
|
.editor_content:focus {
|
|
301
301
|
box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.1) inset, 0, 0;
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
</div>
|
|
14
14
|
</div>
|
|
15
15
|
<div v-if="showPage" class="switch-page">
|
|
16
|
-
|
|
17
|
-
<span @click="showMore" class="switch-page-btn">查看更多</span>
|
|
16
|
+
<span @click="changeActivePage" class="switch-page-btn">换一批</span>
|
|
17
|
+
<!-- <span @click="showMore" class="switch-page-btn">查看更多</span> -->
|
|
18
18
|
</div>
|
|
19
19
|
</div>
|
|
20
20
|
</template>
|
|
@@ -71,6 +71,7 @@ export default {
|
|
|
71
71
|
} else {
|
|
72
72
|
this.activeIndex++;
|
|
73
73
|
}
|
|
74
|
+
this.showOptions = this.formatOptions[this.activeIndex]
|
|
74
75
|
},
|
|
75
76
|
chunkArray(array, size) {
|
|
76
77
|
let chunks = [];
|
|
@@ -2244,7 +2244,7 @@ export default {
|
|
|
2244
2244
|
bool[this.formShow.form.formFieldRelation[i].fieldId] = this.formShow.form.formFieldRelation[i].value && this.formShow.form.formFieldRelation[i].value.includes('\n') && !strVal
|
|
2245
2245
|
}
|
|
2246
2246
|
if (this.formShow.form.formFieldRelation[i].relationDisplay && this.formShow.form.formFieldRelation[i].display && this.formShow.form.formFieldRelation[i].fieldId !== 'workorder_description') {
|
|
2247
|
-
if(!this.formShow.form.formFieldRelation[i].value || bool[this.formShow.form.formFieldRelation[i].fieldId] || (Array.isArray(this.formShow.form.formFieldRelation[i].value) && !this.formShow.form.formFieldRelation[i].value.length)) {
|
|
2247
|
+
if(!this.formShow.form.formFieldRelation[i].value || this.strIsNull(this.formShow.form.formFieldRelation[i].value) || bool[this.formShow.form.formFieldRelation[i].fieldId] || (Array.isArray(this.formShow.form.formFieldRelation[i].value) && !this.formShow.form.formFieldRelation[i].value.length)) {
|
|
2248
2248
|
this.$message.error('请完善'+ this.formShow.form.formFieldRelation[i].formField.name)
|
|
2249
2249
|
return
|
|
2250
2250
|
}
|
|
@@ -2278,6 +2278,12 @@ export default {
|
|
|
2278
2278
|
this.disableds = true
|
|
2279
2279
|
this.submitValue = '已提交'
|
|
2280
2280
|
},
|
|
2281
|
+
strIsNull (str) {
|
|
2282
|
+
if (str == "") return true;
|
|
2283
|
+
let regu = "^[ ]+$";
|
|
2284
|
+
let re = new RegExp(regu);
|
|
2285
|
+
return re.test(str);
|
|
2286
|
+
},
|
|
2281
2287
|
//日期的点击事件
|
|
2282
2288
|
dateClick(id) {
|
|
2283
2289
|
if(this.disableds === false)
|