askbot-dragon 1.1.28 → 1.2.0

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 (82) 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 +56 -56
  5. package/public/index.html +43 -43
  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/js/AliyunlssUtil.js +92 -92
  11. package/src/assets/js/Base64Util.js +22 -22
  12. package/src/assets/js/common.js +12 -0
  13. package/src/assets/js/script.js +36 -36
  14. package/src/assets/less/common.css +6773 -6773
  15. package/src/assets/less/converSationContainer/common.less +191 -191
  16. package/src/assets/less/converSationContainer/converSatonContainer.less +493 -493
  17. package/src/assets/less/iconfont.css +37 -37
  18. package/src/assets/less/ticketMessage.less +211 -211
  19. package/src/components/ActionAlertIframe.vue +112 -112
  20. package/src/components/AiGuide.vue +467 -467
  21. package/src/components/AnswerDocknowledge.vue +362 -351
  22. package/src/components/AskIFrame.vue +15 -15
  23. package/src/components/ConversationContainer.vue +4011 -4011
  24. package/src/components/FileType.vue +86 -86
  25. package/src/components/Message.vue +27 -27
  26. package/src/components/actionSatisfaction.vue +107 -107
  27. package/src/components/actionSendToBot.vue +62 -62
  28. package/src/components/answerDissatisfaction.vue +62 -62
  29. package/src/components/answerRadio.vue +76 -76
  30. package/src/components/ask-components/DissatisfactionOptions.vue +57 -57
  31. package/src/components/ask-components/Msgloading.vue +37 -37
  32. package/src/components/ask-components/SatisfactionV2.vue +15 -15
  33. package/src/components/askVideo.vue +138 -138
  34. package/src/components/assetDetails.vue +370 -370
  35. package/src/components/assetMessage.vue +228 -228
  36. package/src/components/associationIntention.vue +300 -300
  37. package/src/components/attachmentPreview.vue +90 -90
  38. package/src/components/botActionSatisfactor.vue +68 -68
  39. package/src/components/chatContent.vue +513 -513
  40. package/src/components/feedBack.vue +136 -136
  41. package/src/components/fielListView.vue +326 -326
  42. package/src/components/file/AliyunOssComponents.vue +108 -108
  43. package/src/components/formTemplate.vue +3359 -3361
  44. package/src/components/loadingProcess.vue +164 -164
  45. package/src/components/message/ActionAlertIframe.vue +112 -112
  46. package/src/components/message/ShopMessage.vue +164 -164
  47. package/src/components/message/TextMessage.vue +924 -924
  48. package/src/components/message/TicketMessage.vue +177 -177
  49. package/src/components/message/swiper/index.js +4 -4
  50. package/src/components/message/swiper/ticketSwiper.vue +503 -503
  51. package/src/components/message/swiper/ticketSwiperItem.vue +61 -61
  52. package/src/components/msgLoading.vue +231 -231
  53. package/src/components/myPopup.vue +70 -70
  54. package/src/components/popup.vue +227 -227
  55. package/src/components/previewDoc.vue +108 -108
  56. package/src/components/previewPdf.vue +195 -127
  57. package/src/components/receiverMessagePlatform.vue +65 -65
  58. package/src/components/recommend.vue +89 -89
  59. package/src/components/selector/hOption.vue +20 -20
  60. package/src/components/selector/hSelector.vue +199 -199
  61. package/src/components/selector/hWrapper.vue +216 -216
  62. package/src/components/senderMessagePlatform.vue +50 -50
  63. package/src/components/source/BotMessage.vue +24 -24
  64. package/src/components/source/CustomMessage.vue +24 -24
  65. package/src/components/test.vue +260 -260
  66. package/src/components/tree.vue +294 -294
  67. package/src/components/utils/AliyunIssUtil.js +72 -72
  68. package/src/components/utils/ckeditor.js +155 -155
  69. package/src/components/utils/ckeditorImageUpload/command.js +109 -109
  70. package/src/components/utils/ckeditorImageUpload/editing.js +11 -11
  71. package/src/components/utils/ckeditorImageUpload/plugin-image.js +11 -11
  72. package/src/components/utils/ckeditorImageUpload/toolbar-ui.js +40 -40
  73. package/src/components/utils/ckeditorfileUpload/common.js +111 -111
  74. package/src/components/utils/ckeditorfileUpload/editing.js +11 -11
  75. package/src/components/utils/ckeditorfileUpload/plugin_file.js +11 -11
  76. package/src/components/utils/ckeditorfileUpload/toolbar_ui.js +34 -34
  77. package/src/components/utils/format_date.js +25 -25
  78. package/src/components/utils/index.js +6 -6
  79. package/src/components/utils/math_utils.js +29 -29
  80. package/src/components/voiceComponent.vue +119 -119
  81. package/src/main.js +60 -60
  82. package/vue.config.js +55 -55
@@ -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>