askbot-dragon 1.6.80-beta → 1.6.82-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.
Files changed (101) hide show
  1. package/README.md +27 -27
  2. package/babel.config.js +6 -6
  3. package/dragon.iml +7 -7
  4. package/package.json +55 -55
  5. package/public/index.html +72 -72
  6. package/src/App.vue +31 -31
  7. package/src/api/index.js +1 -1
  8. package/src/api/mock.http +2 -2
  9. package/src/api/requestUrl.js +185 -185
  10. package/src/assets/image/default_avt_ui.png +0 -0
  11. package/src/assets/image/filtType/audio.png +0 -0
  12. package/src/assets/image/filtType/excel1.png +0 -0
  13. package/src/assets/image/filtType/general.png +0 -0
  14. package/src/assets/image/filtType/image1.png +0 -0
  15. package/src/assets/image/filtType/link.png +0 -0
  16. package/src/assets/image/filtType/md2.png +0 -0
  17. package/src/assets/image/filtType/mode.png +0 -0
  18. package/src/assets/image/filtType/news.png +0 -0
  19. package/src/assets/image/filtType/pdf1.png +0 -0
  20. package/src/assets/image/filtType/ppt1.png +0 -0
  21. package/src/assets/image/filtType/selfadd1.png +0 -0
  22. package/src/assets/image/filtType/txt1.png +0 -0
  23. package/src/assets/image/filtType/video.png +0 -0
  24. package/src/assets/image/filtType/wechat.png +0 -0
  25. package/src/assets/image/filtType/word1.png +0 -0
  26. package/src/assets/image/loading.gif +0 -0
  27. package/src/assets/js/AliyunlssUtil.js +92 -92
  28. package/src/assets/js/Base64Util.js +22 -22
  29. package/src/assets/js/common.js +252 -252
  30. package/src/assets/js/hammer.js +89 -100
  31. package/src/assets/js/script.js +36 -36
  32. package/src/assets/less/common.css +6773 -6773
  33. package/src/assets/less/converSationContainer/common.less +192 -199
  34. package/src/assets/less/converSationContainer/converSatonContainer.less +493 -493
  35. package/src/assets/less/iconfont.css +37 -37
  36. package/src/assets/less/ticketMessage.less +294 -294
  37. package/src/components/ActionAlertIframe.vue +154 -177
  38. package/src/components/AiGuide.vue +468 -466
  39. package/src/components/AnswerDocknowledge.vue +1068 -1061
  40. package/src/components/AnswerVoice.vue +285 -285
  41. package/src/components/AskIFrame.vue +15 -15
  42. package/src/components/ConversationContainer.vue +5140 -4934
  43. package/src/components/FileType.vue +86 -86
  44. package/src/components/Message.vue +27 -27
  45. package/src/components/MyEditor.vue +350 -351
  46. package/src/components/actionSatisfaction.vue +107 -107
  47. package/src/components/actionSendToBot.vue +62 -62
  48. package/src/components/answerDissatisfaction.vue +62 -62
  49. package/src/components/answerRadio.vue +186 -186
  50. package/src/components/ask-components/DissatisfactionOptions.vue +57 -57
  51. package/src/components/ask-components/Msgloading.vue +37 -37
  52. package/src/components/ask-components/SatisfactionV2.vue +15 -15
  53. package/src/components/askVideo.vue +139 -162
  54. package/src/components/assetDetails.vue +378 -378
  55. package/src/components/assetMessage.vue +228 -228
  56. package/src/components/associationIntention.vue +374 -355
  57. package/src/components/attachmentPreview.vue +90 -90
  58. package/src/components/botActionSatisfactor.vue +68 -68
  59. package/src/components/chatContent.vue +513 -513
  60. package/src/components/feedBack.vue +136 -136
  61. package/src/components/fielListView.vue +351 -351
  62. package/src/components/file/AliyunOssComponents.vue +108 -108
  63. package/src/components/formTemplate.vue +3572 -3572
  64. package/src/components/intelligentSummary.vue +227 -231
  65. package/src/components/kkview.vue +1138 -1138
  66. package/src/components/loadingProcess.vue +164 -164
  67. package/src/components/message/ActionAlertIframe.vue +112 -112
  68. package/src/components/message/ShopMessage.vue +164 -164
  69. package/src/components/message/TextMessage.vue +924 -924
  70. package/src/components/message/TicketMessage.vue +201 -201
  71. package/src/components/message/swiper/index.js +4 -4
  72. package/src/components/message/swiper/ticketSwiper.vue +503 -503
  73. package/src/components/message/swiper/ticketSwiperItem.vue +61 -61
  74. package/src/components/msgLoading.vue +231 -231
  75. package/src/components/myPopup.vue +70 -70
  76. package/src/components/pdfPosition.vue +1334 -1508
  77. package/src/components/popup.vue +227 -227
  78. package/src/components/previewDoc.vue +247 -247
  79. package/src/components/previewPdf.vue +779 -799
  80. package/src/components/receiverMessagePlatform.vue +65 -65
  81. package/src/components/recommend.vue +80 -80
  82. package/src/components/selector/hOption.vue +20 -20
  83. package/src/components/selector/hSelector.vue +199 -199
  84. package/src/components/selector/hWrapper.vue +216 -216
  85. package/src/components/senderMessagePlatform.vue +50 -50
  86. package/src/components/source/BotMessage.vue +24 -24
  87. package/src/components/source/CustomMessage.vue +24 -24
  88. package/src/components/test.vue +260 -260
  89. package/src/components/tree.vue +294 -294
  90. package/src/components/utils/AliyunIssUtil.js +81 -81
  91. package/src/components/utils/ckeditor.js +174 -174
  92. package/src/components/utils/format_date.js +25 -25
  93. package/src/components/utils/index.js +6 -6
  94. package/src/components/utils/math_utils.js +29 -29
  95. package/src/components/voiceComponent.vue +119 -119
  96. package/src/components/welcomeKnowledgeFile.vue +340 -340
  97. package/src/components/welcomeLlmCard.vue +140 -140
  98. package/src/components/welcomeSuggest.vue +97 -97
  99. package/src/main.js +57 -57
  100. package/vue.config.js +54 -54
  101. package/src/components/newPdfPosition.vue +0 -878
@@ -1,261 +1,261 @@
1
- <template>
2
- <div>
3
- <div style="display: flex;height: auto;line-height: 2;" >
4
- <div>
5
- <div>aaa</div>
6
- <i class="ask-component-placeholder-icon arsenal_icon arsenalkebianji ck-widget" @click="_askEditValue"></i>
7
- </div>
8
- </div>
9
- <div style="text-align: right;padding: 10px 0 0 10px">
10
- <el-button type="primary" size="small" :disabled="disableds" id="submit">{{submitValue}}</el-button>
11
- </div>
12
- <!-- <div v-if="isCompany">
13
- <div v-if="single === true" style="border-top: 1px dashed #ebebeb;">
14
- <el-input v-model="input" placeholder="请输入内容" style="padding: 10px 10px 10px 0;width: 80%;"></el-input>
15
- <span><i class="el-icon-success" style="color: #409eff;font-size: 32px;text-align: center;vertical-align: middle;cursor: pointer"></i></span>
16
- </div>
17
- <div v-if="date" style="border-top: 1px dashed #ebebeb;">
18
- <el-date-picker
19
- v-model="dateValue"
20
- type="date"
21
- placeholder="选择日期"
22
- style="width: 80%;margin: 10px 10px 10px 0"
23
- >
24
- </el-date-picker>
25
- <span @click="quedingClick" ><i class="el-icon-success" style="color: #409eff;font-size: 32px;text-align: center;vertical-align: middle;cursor: pointer"></i></span>
26
- </div>
27
- <div v-if="time" style="border-top: 1px dashed #ebebeb;">
28
- <el-time-picker
29
- v-model="timeValue"
30
- placeholder="任意时间点"
31
- style="margin: 10px 10px 10px 0;width: 80%"
32
- >
33
- </el-time-picker>
34
- <span @click="quedingClick" ><i class="el-icon-success" style="color: #409eff;font-size: 32px;text-align: center;vertical-align: middle;cursor: pointer"></i></span>
35
- </div>
36
- &lt;!&ndash;<div v-if="dateRange" style="border-top: 1px dashed #ebebeb;">
37
- <el-date-picker
38
- v-model="dateRangeValue"
39
- type="daterange"
40
- range-separator="至"
41
- start-placeholder="开始日期"
42
- end-placeholder="结束日期"
43
- style="margin: 10px 16px;width: 80%"
44
- >
45
- </el-date-picker>
46
- <span @click="quedingClick(bianliangId)" ><i class="el-icon-success" style="color: #409eff;font-size: 32px;text-align: center;vertical-align: middle;cursor: pointer"></i></span>
47
- </div>
48
- <div v-if="timeRange" style="border-top: 1px dashed #ebebeb;">
49
- <el-time-picker
50
- is-range
51
- v-model="timeRangeValue"
52
- range-separator="至"
53
- start-placeholder="开始时间"
54
- end-placeholder="结束时间"
55
- placeholder="选择时间范围"
56
- style="margin: 10px 16px;width: 80%"
57
- >
58
- </el-time-picker>
59
- <span @click="quedingClick(bianliangId)" ><i class="el-icon-success" style="color: #409eff;font-size: 32px;text-align: center;vertical-align: middle;cursor: pointer"></i></span>
60
-
61
- </div>
62
- <div v-if="dateTimeRange" style="border-top: 1px dashed #ebebeb;">
63
- <el-date-picker
64
- v-model="dateTimeValue"
65
- type="datetimerange"
66
- range-separator="至"
67
- start-placeholder="开始日期"
68
- end-placeholder="结束日期"
69
- style="width: 80%;margin: 10px 16px"
70
-
71
- >
72
- </el-date-picker>
73
- <span @click="quedingClick(bianliangId)" ><i class="el-icon-success" style="color: #409eff;font-size: 32px;text-align: center;vertical-align: middle;cursor: pointer"></i></span>
74
- </div>&ndash;&gt;
75
- </div>
76
- <div v-if="isPhone">
77
- <div v-if="single" style="border-top: 1px dashed #ebebeb;">
78
- <el-input v-model="input" placeholder="请输入内容" style="padding: 10px 10px 10px 0;width: 80%;"></el-input>
79
- <span @click="quedingClick"><i class="el-icon-success" style="color: #409eff;font-size: 32px;text-align: center;vertical-align: middle;cursor: pointer"></i></span>
80
- </div>
81
- <div v-if="date" style="border-top: 1px dashed #ebebeb;">
82
- <el-date-picker
83
- v-model="dateValue"
84
- type="date"
85
- placeholder="选择日期"
86
- style="width: 80%;margin: 10px 10px 10px 0"
87
- :editable=false
88
- >
89
- </el-date-picker>
90
- <span @click="quedingClick" ><i class="el-icon-success" style="color: #409eff;font-size: 32px;text-align: center;vertical-align: middle;cursor: pointer"></i></span>
91
- </div>
92
-
93
- <div v-if="time" style="border-top: 1px dashed #ebebeb;">
94
- <el-time-picker
95
- v-model="timeValue"
96
- placeholder="任意时间点"
97
- style="margin: 10px 10px 10px 0;width: 80%"
98
-
99
- :editable=false
100
-
101
- >
102
- </el-time-picker>
103
- <span @click="quedingClick" ><i class="el-icon-success" style="color: #409eff;font-size: 32px;text-align: center;vertical-align: middle;cursor: pointer"></i></span>
104
- </div>
105
- &lt;!&ndash; <div v-if="dateRange" style="border-top: 1px dashed #ebebeb;display: flex">
106
- &lt;!&ndash;<el-date-picker
107
- v-model="dateRangeValue"
108
- type="daterange"
109
- range-separator="至"
110
- start-placeholder="开始日期"
111
- end-placeholder="结束日期"
112
- style="margin: 10px 16px;width: 80%"
113
- :editable=false
114
-
115
- >
116
- </el-date-picker>&ndash;&gt;
117
- <div style="width: 90%">
118
- <van-cell title="选择日期区间" :value="dateRangeValue" @click="show = true" />
119
- <van-calendar v-model="show" type="range" @confirm="onConfirm" />
120
- </div>
121
- <span @click="quedingClick(bianliangId)" ><i class="el-icon-success" style="color: #409eff;font-size: 32px;text-align: center;vertical-align: middle;cursor: pointer"></i></span>
122
-
123
-
124
-
125
- </div>
126
- <div v-if="timeRange" style="border-top: 1px dashed #ebebeb;">
127
- <el-time-picker
128
- is-range
129
- v-model="timeRangeValue"
130
- range-separator="至"
131
- start-placeholder="开始时间"
132
- end-placeholder="结束时间"
133
- placeholder="选择时间范围"
134
- style="margin: 10px 16px;width: 80%"
135
-
136
- :editable=false
137
- >
138
- </el-time-picker>
139
- <span @click="quedingClick(bianliangId)" ><i class="el-icon-success" style="color: #409eff;font-size: 32px;text-align: center;vertical-align: middle;cursor: pointer"></i></span>
140
-
141
- </div>
142
- <div v-if="dateTimeRange" style="border-top: 1px dashed #ebebeb;display: flex">
143
- &lt;!&ndash; <el-date-picker
144
- v-model="dateTimeValue"
145
- type="datetimerange"
146
- range-separator="至"
147
- start-placeholder="开始日期"
148
- end-placeholder="结束日期"
149
- style="width: 80%;margin: 10px 16px"
150
- :editable=false
151
-
152
-
153
- >
154
- </el-date-picker>&ndash;&gt;
155
- <div style="width: 90%">
156
- <van-field
157
- readonly
158
- clickable
159
- name="datetimePicker"
160
- :value=dateTimeValue[0]
161
- label='选择时间'
162
- placeholder="点击选择开始日期时间"
163
- @click="showDateTimePicker=true"
164
- />
165
- <van-popup v-model="showDateTimePicker" position="bottom">
166
- <van-datetime-picker
167
- v-model="currentDate"
168
- type="datetime"
169
- title="选择开始日期时间"
170
- @confirm="onConfirmDateTime($event)"
171
- @cancel="showDateTimePicker = false"
172
- :min-date="minDate"
173
- :formatter="formatter"
174
- />
175
- </van-popup>
176
- <van-field
177
- readonly
178
- clickable
179
- name="datetimePicker"
180
- :value=dateTimeValue1[0]
181
- label=" "
182
- placeholder="点击选择结束日期时间"
183
- @click="showDateTimePicker1=true"
184
- />
185
- <van-popup v-model="showDateTimePicker1" position="bottom">
186
- <van-datetime-picker
187
- v-model="currentDate"
188
- type="datetime"
189
- title="选择结束日期时间"
190
- @confirm="onConfirmDateTime1($event)"
191
- @cancel="showDateTimePicker1 = false"
192
- :min-date="minDate"
193
- :formatter="formatter"
194
- />
195
- </van-popup>
196
- </div>
197
-
198
- <span @click="quedingClick(bianliangId)" ><i class="el-icon-success" style="color: #409eff;font-size: 32px;text-align: center;vertical-align: middle;cursor: pointer"></i></span>
199
- </div>&ndash;&gt;
200
- </div>-->
201
- </div>
202
- </template>
203
-
204
- <script>
205
- export default {
206
- name: "test",
207
- data(){
208
- return{
209
- show:false,
210
- single:false,
211
- date:false,
212
- time:false,
213
- dateTimeRange:false,
214
- dateRange:false,
215
- timeRange:false,
216
- input:'',
217
- bianliangId:'',
218
- dateValue:'',
219
- message:[{content:'王亚欣',type:'SINGLE',value:'',id:1},{content:['2020-11-18T07:25:16.000+0000','2020-11-21T07:25:16.000+0000'],type:'DATE-RANGE',value:'',id:2},{content:'2020-11-18T07:25:16.000+0000',type:'TIME',value:'',id:3},{content:'2020-11-18T07:25:16.000+0000',type:'DATE',value:'',id:4},{content:['2020-11-18T07:25:16.000+0000','2020-11-21T07:25:16.000+0000'],type:'DATERANGE',value:'',id:5},{content:['2020-11-18T08:25:16.000+0000','2020-11-21T07:25:16.000+0000'],type:'TIMERANGE',value:'',id:6},],
220
- isPhone:false,
221
- isCompany:false,
222
- dateTimeValue:[],
223
- timeValue:'',
224
- dateRangeValue:'',
225
- dateRangeValues:'',
226
- timeRangeValue:[],
227
- dateTimeValue1:[],
228
- test:0,
229
- currentDate:new Date(),
230
- minDate: new Date(2020, 0, 1),
231
- showDateTimePicker1:false,
232
- showDateTimePicker:false,
233
- values:[],
234
- checkValue:'',
235
- disableds:false,
236
- submitValue:'确认'
237
- }
238
- },
239
- methods:{
240
- _askEditValue(){
241
- console.log('aaa')
242
- console.log(this.$el)
243
- },
244
- isMobile() {
245
- let flag = navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i);
246
- if (flag) {
247
- this.isPhone=true
248
- }
249
- else
250
- {
251
- this.isCompany=true
252
-
253
- }
254
- },
255
- }
256
- }
257
- </script>
258
-
259
- <style scoped>
260
-
1
+ <template>
2
+ <div>
3
+ <div style="display: flex;height: auto;line-height: 2;" >
4
+ <div>
5
+ <div>aaa</div>
6
+ <i class="ask-component-placeholder-icon arsenal_icon arsenalkebianji ck-widget" @click="_askEditValue"></i>
7
+ </div>
8
+ </div>
9
+ <div style="text-align: right;padding: 10px 0 0 10px">
10
+ <el-button type="primary" size="small" :disabled="disableds" id="submit">{{submitValue}}</el-button>
11
+ </div>
12
+ <!-- <div v-if="isCompany">
13
+ <div v-if="single === true" style="border-top: 1px dashed #ebebeb;">
14
+ <el-input v-model="input" placeholder="请输入内容" style="padding: 10px 10px 10px 0;width: 80%;"></el-input>
15
+ <span><i class="el-icon-success" style="color: #409eff;font-size: 32px;text-align: center;vertical-align: middle;cursor: pointer"></i></span>
16
+ </div>
17
+ <div v-if="date" style="border-top: 1px dashed #ebebeb;">
18
+ <el-date-picker
19
+ v-model="dateValue"
20
+ type="date"
21
+ placeholder="选择日期"
22
+ style="width: 80%;margin: 10px 10px 10px 0"
23
+ >
24
+ </el-date-picker>
25
+ <span @click="quedingClick" ><i class="el-icon-success" style="color: #409eff;font-size: 32px;text-align: center;vertical-align: middle;cursor: pointer"></i></span>
26
+ </div>
27
+ <div v-if="time" style="border-top: 1px dashed #ebebeb;">
28
+ <el-time-picker
29
+ v-model="timeValue"
30
+ placeholder="任意时间点"
31
+ style="margin: 10px 10px 10px 0;width: 80%"
32
+ >
33
+ </el-time-picker>
34
+ <span @click="quedingClick" ><i class="el-icon-success" style="color: #409eff;font-size: 32px;text-align: center;vertical-align: middle;cursor: pointer"></i></span>
35
+ </div>
36
+ &lt;!&ndash;<div v-if="dateRange" style="border-top: 1px dashed #ebebeb;">
37
+ <el-date-picker
38
+ v-model="dateRangeValue"
39
+ type="daterange"
40
+ range-separator="至"
41
+ start-placeholder="开始日期"
42
+ end-placeholder="结束日期"
43
+ style="margin: 10px 16px;width: 80%"
44
+ >
45
+ </el-date-picker>
46
+ <span @click="quedingClick(bianliangId)" ><i class="el-icon-success" style="color: #409eff;font-size: 32px;text-align: center;vertical-align: middle;cursor: pointer"></i></span>
47
+ </div>
48
+ <div v-if="timeRange" style="border-top: 1px dashed #ebebeb;">
49
+ <el-time-picker
50
+ is-range
51
+ v-model="timeRangeValue"
52
+ range-separator="至"
53
+ start-placeholder="开始时间"
54
+ end-placeholder="结束时间"
55
+ placeholder="选择时间范围"
56
+ style="margin: 10px 16px;width: 80%"
57
+ >
58
+ </el-time-picker>
59
+ <span @click="quedingClick(bianliangId)" ><i class="el-icon-success" style="color: #409eff;font-size: 32px;text-align: center;vertical-align: middle;cursor: pointer"></i></span>
60
+
61
+ </div>
62
+ <div v-if="dateTimeRange" style="border-top: 1px dashed #ebebeb;">
63
+ <el-date-picker
64
+ v-model="dateTimeValue"
65
+ type="datetimerange"
66
+ range-separator="至"
67
+ start-placeholder="开始日期"
68
+ end-placeholder="结束日期"
69
+ style="width: 80%;margin: 10px 16px"
70
+
71
+ >
72
+ </el-date-picker>
73
+ <span @click="quedingClick(bianliangId)" ><i class="el-icon-success" style="color: #409eff;font-size: 32px;text-align: center;vertical-align: middle;cursor: pointer"></i></span>
74
+ </div>&ndash;&gt;
75
+ </div>
76
+ <div v-if="isPhone">
77
+ <div v-if="single" style="border-top: 1px dashed #ebebeb;">
78
+ <el-input v-model="input" placeholder="请输入内容" style="padding: 10px 10px 10px 0;width: 80%;"></el-input>
79
+ <span @click="quedingClick"><i class="el-icon-success" style="color: #409eff;font-size: 32px;text-align: center;vertical-align: middle;cursor: pointer"></i></span>
80
+ </div>
81
+ <div v-if="date" style="border-top: 1px dashed #ebebeb;">
82
+ <el-date-picker
83
+ v-model="dateValue"
84
+ type="date"
85
+ placeholder="选择日期"
86
+ style="width: 80%;margin: 10px 10px 10px 0"
87
+ :editable=false
88
+ >
89
+ </el-date-picker>
90
+ <span @click="quedingClick" ><i class="el-icon-success" style="color: #409eff;font-size: 32px;text-align: center;vertical-align: middle;cursor: pointer"></i></span>
91
+ </div>
92
+
93
+ <div v-if="time" style="border-top: 1px dashed #ebebeb;">
94
+ <el-time-picker
95
+ v-model="timeValue"
96
+ placeholder="任意时间点"
97
+ style="margin: 10px 10px 10px 0;width: 80%"
98
+
99
+ :editable=false
100
+
101
+ >
102
+ </el-time-picker>
103
+ <span @click="quedingClick" ><i class="el-icon-success" style="color: #409eff;font-size: 32px;text-align: center;vertical-align: middle;cursor: pointer"></i></span>
104
+ </div>
105
+ &lt;!&ndash; <div v-if="dateRange" style="border-top: 1px dashed #ebebeb;display: flex">
106
+ &lt;!&ndash;<el-date-picker
107
+ v-model="dateRangeValue"
108
+ type="daterange"
109
+ range-separator="至"
110
+ start-placeholder="开始日期"
111
+ end-placeholder="结束日期"
112
+ style="margin: 10px 16px;width: 80%"
113
+ :editable=false
114
+
115
+ >
116
+ </el-date-picker>&ndash;&gt;
117
+ <div style="width: 90%">
118
+ <van-cell title="选择日期区间" :value="dateRangeValue" @click="show = true" />
119
+ <van-calendar v-model="show" type="range" @confirm="onConfirm" />
120
+ </div>
121
+ <span @click="quedingClick(bianliangId)" ><i class="el-icon-success" style="color: #409eff;font-size: 32px;text-align: center;vertical-align: middle;cursor: pointer"></i></span>
122
+
123
+
124
+
125
+ </div>
126
+ <div v-if="timeRange" style="border-top: 1px dashed #ebebeb;">
127
+ <el-time-picker
128
+ is-range
129
+ v-model="timeRangeValue"
130
+ range-separator="至"
131
+ start-placeholder="开始时间"
132
+ end-placeholder="结束时间"
133
+ placeholder="选择时间范围"
134
+ style="margin: 10px 16px;width: 80%"
135
+
136
+ :editable=false
137
+ >
138
+ </el-time-picker>
139
+ <span @click="quedingClick(bianliangId)" ><i class="el-icon-success" style="color: #409eff;font-size: 32px;text-align: center;vertical-align: middle;cursor: pointer"></i></span>
140
+
141
+ </div>
142
+ <div v-if="dateTimeRange" style="border-top: 1px dashed #ebebeb;display: flex">
143
+ &lt;!&ndash; <el-date-picker
144
+ v-model="dateTimeValue"
145
+ type="datetimerange"
146
+ range-separator="至"
147
+ start-placeholder="开始日期"
148
+ end-placeholder="结束日期"
149
+ style="width: 80%;margin: 10px 16px"
150
+ :editable=false
151
+
152
+
153
+ >
154
+ </el-date-picker>&ndash;&gt;
155
+ <div style="width: 90%">
156
+ <van-field
157
+ readonly
158
+ clickable
159
+ name="datetimePicker"
160
+ :value=dateTimeValue[0]
161
+ label='选择时间'
162
+ placeholder="点击选择开始日期时间"
163
+ @click="showDateTimePicker=true"
164
+ />
165
+ <van-popup v-model="showDateTimePicker" position="bottom">
166
+ <van-datetime-picker
167
+ v-model="currentDate"
168
+ type="datetime"
169
+ title="选择开始日期时间"
170
+ @confirm="onConfirmDateTime($event)"
171
+ @cancel="showDateTimePicker = false"
172
+ :min-date="minDate"
173
+ :formatter="formatter"
174
+ />
175
+ </van-popup>
176
+ <van-field
177
+ readonly
178
+ clickable
179
+ name="datetimePicker"
180
+ :value=dateTimeValue1[0]
181
+ label=" "
182
+ placeholder="点击选择结束日期时间"
183
+ @click="showDateTimePicker1=true"
184
+ />
185
+ <van-popup v-model="showDateTimePicker1" position="bottom">
186
+ <van-datetime-picker
187
+ v-model="currentDate"
188
+ type="datetime"
189
+ title="选择结束日期时间"
190
+ @confirm="onConfirmDateTime1($event)"
191
+ @cancel="showDateTimePicker1 = false"
192
+ :min-date="minDate"
193
+ :formatter="formatter"
194
+ />
195
+ </van-popup>
196
+ </div>
197
+
198
+ <span @click="quedingClick(bianliangId)" ><i class="el-icon-success" style="color: #409eff;font-size: 32px;text-align: center;vertical-align: middle;cursor: pointer"></i></span>
199
+ </div>&ndash;&gt;
200
+ </div>-->
201
+ </div>
202
+ </template>
203
+
204
+ <script>
205
+ export default {
206
+ name: "test",
207
+ data(){
208
+ return{
209
+ show:false,
210
+ single:false,
211
+ date:false,
212
+ time:false,
213
+ dateTimeRange:false,
214
+ dateRange:false,
215
+ timeRange:false,
216
+ input:'',
217
+ bianliangId:'',
218
+ dateValue:'',
219
+ message:[{content:'王亚欣',type:'SINGLE',value:'',id:1},{content:['2020-11-18T07:25:16.000+0000','2020-11-21T07:25:16.000+0000'],type:'DATE-RANGE',value:'',id:2},{content:'2020-11-18T07:25:16.000+0000',type:'TIME',value:'',id:3},{content:'2020-11-18T07:25:16.000+0000',type:'DATE',value:'',id:4},{content:['2020-11-18T07:25:16.000+0000','2020-11-21T07:25:16.000+0000'],type:'DATERANGE',value:'',id:5},{content:['2020-11-18T08:25:16.000+0000','2020-11-21T07:25:16.000+0000'],type:'TIMERANGE',value:'',id:6},],
220
+ isPhone:false,
221
+ isCompany:false,
222
+ dateTimeValue:[],
223
+ timeValue:'',
224
+ dateRangeValue:'',
225
+ dateRangeValues:'',
226
+ timeRangeValue:[],
227
+ dateTimeValue1:[],
228
+ test:0,
229
+ currentDate:new Date(),
230
+ minDate: new Date(2020, 0, 1),
231
+ showDateTimePicker1:false,
232
+ showDateTimePicker:false,
233
+ values:[],
234
+ checkValue:'',
235
+ disableds:false,
236
+ submitValue:'确认'
237
+ }
238
+ },
239
+ methods:{
240
+ _askEditValue(){
241
+ console.log('aaa')
242
+ console.log(this.$el)
243
+ },
244
+ isMobile() {
245
+ let flag = navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i);
246
+ if (flag) {
247
+ this.isPhone=true
248
+ }
249
+ else
250
+ {
251
+ this.isCompany=true
252
+
253
+ }
254
+ },
255
+ }
256
+ }
257
+ </script>
258
+
259
+ <style scoped>
260
+
261
261
  </style>