askbot-dragon 1.6.52-beta → 1.6.54-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
CHANGED
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
<template>
|
|
3
3
|
<div id="conversation">
|
|
4
4
|
<!-- <answer-radio :msg="answerRadiosPri"></answer-radio> -->
|
|
5
|
-
|
|
5
|
+
<asser-deatils :data="{
|
|
6
|
+
assets:assetDetail
|
|
7
|
+
}"></asser-deatils>
|
|
6
8
|
<!-- <msg-loading v-if="inLoading"></msg-loading>
|
|
7
9
|
<div style="position: relative" class="img_div">
|
|
8
10
|
<img
|
|
@@ -101,7 +103,7 @@ import AssociationIntention from './associationIntention'
|
|
|
101
103
|
// import AnswerDissatisfaction from './answerDissatisfaction'
|
|
102
104
|
// import ActionSendToBot from './actionSendToBot'
|
|
103
105
|
// import VoiceCompontent from './voiceComponent'
|
|
104
|
-
|
|
106
|
+
import AsserDeatils from './assetDetails.vue'
|
|
105
107
|
/* import TicketMessage from "@/components/message/TicketMessage";
|
|
106
108
|
import TextMessage from "@/components/message/TextMessage";
|
|
107
109
|
import FeedBack from "@/components/feedBack";*/
|
|
@@ -134,7 +136,7 @@ export default {
|
|
|
134
136
|
AssociationIntention,
|
|
135
137
|
/* VoiceComponent,*/
|
|
136
138
|
TicketMessage,
|
|
137
|
-
|
|
139
|
+
AsserDeatils,
|
|
138
140
|
AnswerRadio,
|
|
139
141
|
// FormTemplate,
|
|
140
142
|
TextMessage,
|
|
@@ -5054,7 +5056,191 @@ export default {
|
|
|
5054
5056
|
"sessionId": 1709707284287,
|
|
5055
5057
|
"keyId": "a2da2307-3de3-41ef-b0f0-fd5f9d40adba_________"
|
|
5056
5058
|
}
|
|
5057
|
-
]
|
|
5059
|
+
],
|
|
5060
|
+
assetDetail:{
|
|
5061
|
+
"id": "642ab03615ecdd7566b6221c",
|
|
5062
|
+
"mainId": null,
|
|
5063
|
+
"name": "电脑名称",
|
|
5064
|
+
"description": '',
|
|
5065
|
+
"productId": "642aafec15ecdd7566b6221b",
|
|
5066
|
+
"snNo": "GR0001",
|
|
5067
|
+
"attachmentPath": "https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/front-oss/ab0f90737c8b4f2d85ba2157e4473110/2023/04/03/18/53/4272832c8c55c3450a131728b6e9f335/%E6%9C%BA%E5%99%A8%E4%BA%BA%26%E5%B7%A5%E5%8D%95%E7%B3%BB%E7%BB%9F%E9%85%8D%E7%BD%AE%E5%9C%BA%E6%99%AF.txt",
|
|
5068
|
+
"attachmentName": "front-oss/ab0f90737c8b4f2d85ba2157e4473110/2023/04/03/18/53/4272832c8c55c3450a131728b6e9f335/机器人&工单系统配置场景.txt",
|
|
5069
|
+
"product": {
|
|
5070
|
+
"id": "642aafec15ecdd7566b6221b",
|
|
5071
|
+
"name": "电脑产品名称",
|
|
5072
|
+
"type": {
|
|
5073
|
+
"id": "61f0b2aee698d414a7857d8f",
|
|
5074
|
+
"name": "电脑"
|
|
5075
|
+
},
|
|
5076
|
+
"productImgPathes": [
|
|
5077
|
+
"https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/front-oss/ab0f90737c8b4f2d85ba2157e4473110/2023/04/03/18/52/04272832c8c55c3450a131728b6e9f33/%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20210617100443.jpg"
|
|
5078
|
+
],
|
|
5079
|
+
"supplier": "电脑产品供应商名称"
|
|
5080
|
+
},
|
|
5081
|
+
"productName": "电脑产品名称",
|
|
5082
|
+
"typeName": "电脑",
|
|
5083
|
+
"users": [
|
|
5084
|
+
{
|
|
5085
|
+
"corpId": "dingd63bac705bb13c74bc961a6cb783455b",
|
|
5086
|
+
"type": 3,
|
|
5087
|
+
"bindType": 0,
|
|
5088
|
+
"memberId": 147804,
|
|
5089
|
+
"name": "刁瑶杭",
|
|
5090
|
+
"userid": null,
|
|
5091
|
+
"source": null,
|
|
5092
|
+
"internalUserId": null,
|
|
5093
|
+
"departments": null,
|
|
5094
|
+
"defaultExpandedKeys": [
|
|
5095
|
+
"2027",
|
|
5096
|
+
"2028",
|
|
5097
|
+
"147804"
|
|
5098
|
+
]
|
|
5099
|
+
}
|
|
5100
|
+
],
|
|
5101
|
+
"userDepts": [],
|
|
5102
|
+
"hasUser": true,
|
|
5103
|
+
"userNames": [
|
|
5104
|
+
"刁瑶杭"
|
|
5105
|
+
],
|
|
5106
|
+
"managers": [
|
|
5107
|
+
{
|
|
5108
|
+
"corpId": "dingd63bac705bb13c74bc961a6cb783455b",
|
|
5109
|
+
"type": 3,
|
|
5110
|
+
"bindType": 0,
|
|
5111
|
+
"memberId": 71303,
|
|
5112
|
+
"name": "张强",
|
|
5113
|
+
"userid": null,
|
|
5114
|
+
"source": null,
|
|
5115
|
+
"internalUserId": null,
|
|
5116
|
+
"departments": null,
|
|
5117
|
+
"defaultExpandedKeys": [
|
|
5118
|
+
"2027",
|
|
5119
|
+
"2029",
|
|
5120
|
+
"71303"
|
|
5121
|
+
]
|
|
5122
|
+
}
|
|
5123
|
+
],
|
|
5124
|
+
"managerNames": [
|
|
5125
|
+
"张强"
|
|
5126
|
+
],
|
|
5127
|
+
"depts": [
|
|
5128
|
+
{
|
|
5129
|
+
"id": 2028,
|
|
5130
|
+
"mainId": "ab0f90737c8b4f2d85ba2157e4473110",
|
|
5131
|
+
"corpId": "dingd63bac705bb13c74bc961a6cb783455b",
|
|
5132
|
+
"name": "研发组",
|
|
5133
|
+
"nameEn": null,
|
|
5134
|
+
"parentId": 2027,
|
|
5135
|
+
"orderNum": 609267418,
|
|
5136
|
+
"apiKey": "bdd1148dae574fc0aecc5addd2ea18dc",
|
|
5137
|
+
"refInfo": {
|
|
5138
|
+
"id": 609267418,
|
|
5139
|
+
"name": "研发组",
|
|
5140
|
+
"name_en": null,
|
|
5141
|
+
"order": 609267418,
|
|
5142
|
+
"parentid": 1,
|
|
5143
|
+
"storeCode": null,
|
|
5144
|
+
"shopNo": null,
|
|
5145
|
+
"businessType": null,
|
|
5146
|
+
"unitNo": null,
|
|
5147
|
+
"zoneNo": null,
|
|
5148
|
+
"zoneName": null,
|
|
5149
|
+
"open_department_id": null,
|
|
5150
|
+
"parent_department_id": null,
|
|
5151
|
+
"parentName": null,
|
|
5152
|
+
"sortCode": null,
|
|
5153
|
+
"fcreateTime": null,
|
|
5154
|
+
"status": null,
|
|
5155
|
+
"fullName": null,
|
|
5156
|
+
"businessUnit": null,
|
|
5157
|
+
"feffectDate": null,
|
|
5158
|
+
"flastUpdateTime": null
|
|
5159
|
+
},
|
|
5160
|
+
"creator": -1,
|
|
5161
|
+
"source": 2,
|
|
5162
|
+
"deleted": false,
|
|
5163
|
+
"createTime": "2023-03-03T06:56:33.000+00:00",
|
|
5164
|
+
"updateTime": "2023-03-22T07:13:35.000+00:00",
|
|
5165
|
+
"refInfoId": 609267418,
|
|
5166
|
+
"refInfoParentId": 1,
|
|
5167
|
+
"wechatBotDTO": {
|
|
5168
|
+
"id": 453,
|
|
5169
|
+
"bindCode": "5bdc04b276b74eeea48321563b835231",
|
|
5170
|
+
"botId": 1431,
|
|
5171
|
+
"apiKey": "fb5a8ab59b344a1180f562a15315fa92",
|
|
5172
|
+
"appInfoId": 79,
|
|
5173
|
+
"corpName": "深藏blue",
|
|
5174
|
+
"corpId": "dingd63bac705bb13c74bc961a6cb783455b",
|
|
5175
|
+
"agentId": "1451608359",
|
|
5176
|
+
"agentName": "AskBot助手",
|
|
5177
|
+
"agentLogoUrl": "https://static-legacy.dingtalk.com/media/lALPDe7s16uKNlfNASzNASw_300_300.png",
|
|
5178
|
+
"appKey": null,
|
|
5179
|
+
"secret": "",
|
|
5180
|
+
"wechatType": 3,
|
|
5181
|
+
"enable": true,
|
|
5182
|
+
"allowPushMsg": false,
|
|
5183
|
+
"authUrl": "https://test.auth.wx.guoranbot.com/?corpId=$CORPID$&type=3",
|
|
5184
|
+
"scanUrl": null,
|
|
5185
|
+
"bindType": 0,
|
|
5186
|
+
"thirdId": "suitedpsq6c9bqzcdwfcj",
|
|
5187
|
+
"sceneId": null,
|
|
5188
|
+
"mainId": "ab0f90737c8b4f2d85ba2157e4473110"
|
|
5189
|
+
},
|
|
5190
|
+
"defaultExpandedKeys": [
|
|
5191
|
+
"2027",
|
|
5192
|
+
"2028"
|
|
5193
|
+
]
|
|
5194
|
+
}
|
|
5195
|
+
],
|
|
5196
|
+
"deptNames": [
|
|
5197
|
+
"研发组"
|
|
5198
|
+
],
|
|
5199
|
+
"relationScope": {
|
|
5200
|
+
"appType": null,
|
|
5201
|
+
"type": "BOT",
|
|
5202
|
+
"scope": "45df125ce3924286baec4541a9e65452",
|
|
5203
|
+
"weChatBotApiKey": "45df125ce3924286baec4541a9e65452",
|
|
5204
|
+
"intentsGuide": "",
|
|
5205
|
+
"relationIntents": [
|
|
5206
|
+
{
|
|
5207
|
+
"intentId": "152722",
|
|
5208
|
+
"intentName": "提交工单",
|
|
5209
|
+
"bid": null,
|
|
5210
|
+
"recommendedText": "提交工单",
|
|
5211
|
+
"extInfo": null
|
|
5212
|
+
},
|
|
5213
|
+
{
|
|
5214
|
+
"intentId": "152716",
|
|
5215
|
+
"intentName": "咨询者问题机器人不识别",
|
|
5216
|
+
"bid": null,
|
|
5217
|
+
"recommendedText": "不识别",
|
|
5218
|
+
"extInfo": null
|
|
5219
|
+
}
|
|
5220
|
+
],
|
|
5221
|
+
"extInfo": null
|
|
5222
|
+
},
|
|
5223
|
+
"officeAreaId": "624ffb2b5cf1b3280f35bb6c",
|
|
5224
|
+
"officeArea": {
|
|
5225
|
+
"id": "624ffb2b5cf1b3280f35bb6c",
|
|
5226
|
+
"name": "果然智汇办公区"
|
|
5227
|
+
},
|
|
5228
|
+
"officeAreaName": "果然智汇办公区",
|
|
5229
|
+
"qrUrl": "https://test.auth.wx.askbot.cn/api/assets-qr/transit/642ab03615ecdd7566b6221c?askbotStr=0b3b0b8d1d8154e41b15bd70851b1b72",
|
|
5230
|
+
"createTime": "2023-04-03 18:53:42",
|
|
5231
|
+
"updateTime": "2023-04-03 18:53:42",
|
|
5232
|
+
"switches": {
|
|
5233
|
+
"enabledAssociateRobot": true,
|
|
5234
|
+
"enabledAssociateIntent": true
|
|
5235
|
+
},
|
|
5236
|
+
"deleted": false,
|
|
5237
|
+
"extInfo": {},
|
|
5238
|
+
"thirdAssetsCode": null,
|
|
5239
|
+
"assetsInfoEntity": null,
|
|
5240
|
+
"isScrap": null,
|
|
5241
|
+
"isReceive": null,
|
|
5242
|
+
"receivesDesc": null
|
|
5243
|
+
}
|
|
5058
5244
|
}
|
|
5059
5245
|
},
|
|
5060
5246
|
methods: {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<div class="asset-details">
|
|
4
4
|
<section class="details-title">
|
|
5
5
|
<p>您正在咨询</p>
|
|
6
|
-
<span
|
|
6
|
+
<span @click="rotateClick" class="rotate">
|
|
7
7
|
<i class="arsenal_icon arsenalangle-up-solid"></i>
|
|
8
8
|
</span>
|
|
9
9
|
</section>
|
|
@@ -68,12 +68,12 @@
|
|
|
68
68
|
</p>
|
|
69
69
|
<p class="text-SN">
|
|
70
70
|
<i class="iconfont guoran-tongyichicun-mingcheng"></i>
|
|
71
|
-
<span>{{ dataDetails.thirdAssetsCode ? dataDetails.thirdAssetsCode : "--" }}</span>
|
|
71
|
+
<span>{{ dataDetails.thirdAssetsCode ? dataDetails.thirdAssetsCode : "--12312" }}</span>
|
|
72
72
|
</p>
|
|
73
73
|
</section>
|
|
74
74
|
</div>
|
|
75
75
|
</div>
|
|
76
|
-
<div class="details-content-hide" v-if="
|
|
76
|
+
<div class="details-content-hide" v-if="false && !isThirdParty">
|
|
77
77
|
<p>
|
|
78
78
|
<i class="iconfont guoran-miaoshu"></i>
|
|
79
79
|
<section class="description">
|
|
@@ -155,6 +155,7 @@
|
|
|
155
155
|
</template>
|
|
156
156
|
|
|
157
157
|
<script>
|
|
158
|
+
/*eslint-disable*/
|
|
158
159
|
export default {
|
|
159
160
|
props: {
|
|
160
161
|
data: {
|
|
@@ -213,7 +214,8 @@ export default {
|
|
|
213
214
|
},
|
|
214
215
|
methods: {
|
|
215
216
|
rotateClick() {
|
|
216
|
-
this.rotateFlag = !this.rotateFlag;
|
|
217
|
+
// this.rotateFlag = !this.rotateFlag;
|
|
218
|
+
this.$emit('assetClick', this.data.assets)
|
|
217
219
|
},
|
|
218
220
|
},
|
|
219
221
|
};
|
|
@@ -258,7 +260,7 @@ export default {
|
|
|
258
260
|
}
|
|
259
261
|
}
|
|
260
262
|
.rotate {
|
|
261
|
-
transform: rotate(
|
|
263
|
+
transform: rotate(90deg);
|
|
262
264
|
}
|
|
263
265
|
}
|
|
264
266
|
.details-content {
|
|
@@ -296,6 +298,7 @@ export default {
|
|
|
296
298
|
color: #000000;
|
|
297
299
|
font-size: 15px;
|
|
298
300
|
text-overflow: hidden;
|
|
301
|
+
margin-bottom: 5px;
|
|
299
302
|
// overflow-wrap: each();
|
|
300
303
|
}
|
|
301
304
|
.text-label {
|
|
@@ -314,6 +317,8 @@ export default {
|
|
|
314
317
|
background: #e1faf9;
|
|
315
318
|
box-sizing: border-box;
|
|
316
319
|
padding: 3px 5px;
|
|
320
|
+
margin-bottom: 5px;
|
|
321
|
+
border-radius: 5px;
|
|
317
322
|
i {
|
|
318
323
|
color: #00c2bb;
|
|
319
324
|
}
|
|
@@ -325,11 +330,14 @@ export default {
|
|
|
325
330
|
background: #edf2ff;
|
|
326
331
|
box-sizing: border-box;
|
|
327
332
|
padding: 3px 5px;
|
|
333
|
+
margin-bottom: 5px;
|
|
334
|
+
border-radius: 5px;
|
|
328
335
|
i {
|
|
329
336
|
color: #366aff;
|
|
330
337
|
}
|
|
331
338
|
span {
|
|
332
339
|
color: #366aff;
|
|
340
|
+
margin-bottom: 0 !important;
|
|
333
341
|
}
|
|
334
342
|
}
|
|
335
343
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<div class="welcome_suggest">
|
|
3
3
|
<div class="title">
|
|
4
4
|
<div class="title_desc">{{ msg.content.problemRecommendationDesc }}</div>
|
|
5
|
-
<div class="title_change_batch" v-if="msg.content.problemRecommendationValue.length > msg.content.pageCount" @click="changeBatch">
|
|
5
|
+
<div class="title_change_batch" v-if="msg.content.page && msg.content.problemRecommendationValue.length > msg.content.pageCount" @click="changeBatch">
|
|
6
6
|
<i class="iconfont guoran-tongyichicun-huanyipi"></i>
|
|
7
7
|
<span>换一批</span>
|
|
8
8
|
</div>
|
|
@@ -28,11 +28,14 @@ export default {
|
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
30
|
mounted () {
|
|
31
|
-
this.
|
|
31
|
+
if(this.msg.content.page) {
|
|
32
|
+
this.changeBatch()
|
|
33
|
+
} else {
|
|
34
|
+
this.suggestList = this.msg.content.problemRecommendationValue
|
|
35
|
+
}
|
|
32
36
|
},
|
|
33
37
|
methods: {
|
|
34
38
|
changeBatch () {
|
|
35
|
-
console.log(this.pageCount, 'pageCount');
|
|
36
39
|
let msgSuggestList = JSON.parse(JSON.stringify(this.msg.content.problemRecommendationValue))
|
|
37
40
|
this.suggestList = msgSuggestList.splice((this.pageCount - 1) * this.msg.content.pageCount, this.msg.content.pageCount)
|
|
38
41
|
if (this.pageCount == Math.ceil(this.msg.content.problemRecommendationValue.length / this.msg.content.pageCount)) {
|