matrix_components 2.0.408 → 2.0.409

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.
@@ -167,24 +167,88 @@ const state = reactive({
167
167
  },
168
168
  },
169
169
  {
170
- key: 'stuck_threshold',
171
- label: '视频帧卡顿(秒)',
172
- value: '',
173
- component: 'ElInput',
170
+ key: "stuck_threshold",
171
+ label: "所属工程",
172
+ value: "",
173
+ component: "el-cascader",
174
174
  params: {
175
- 'v-length.range': {
176
- min: 0,
177
- max: 1000,
178
- int: true,
179
- },
180
- rules: [
181
- {
182
- required: true,
183
- message: '请输入',
175
+ props: {
176
+ showPrefix: false,
177
+ checkStrictly: true,
178
+ checkOnClickNode: true,
184
179
  },
185
- ],
180
+ options: [
181
+ {
182
+ value: "guide",
183
+ label: "Guide",
184
+ children: [
185
+ {
186
+ value: "disciplines",
187
+ label: "Disciplines",
188
+ children: [
189
+ {
190
+ value: "consistency",
191
+ label: "Consistency",
192
+ },
193
+ ],
194
+ },
195
+ {
196
+ value: "navigation",
197
+ label: "Navigation",
198
+ children: [
199
+ {
200
+ value: "side nav",
201
+ label: "Side Navigation",
202
+ },
203
+ ],
204
+ },
205
+ ],
206
+ },
207
+ {
208
+ value: "component",
209
+ label: "测试",
210
+ children: [
211
+ {
212
+ value: "basic",
213
+ label: "Basic",
214
+ children: [
215
+ {
216
+ value: "layout",
217
+ label: "Layout",
218
+ },
219
+ ],
220
+ },
221
+ {
222
+ value: "form",
223
+ label: "中文",
224
+ children: [
225
+ {
226
+ value: "radio",
227
+ label: "Radio",
228
+ },
229
+ ],
230
+ },
231
+ ],
232
+ },
233
+ {
234
+ value: "resource",
235
+ label: "Resource",
236
+ children: [
237
+ {
238
+ value: "axure",
239
+ label: "Axure Components",
240
+ },
241
+ ],
242
+ },
243
+ ],
244
+ rules: [
245
+ {
246
+ required: true,
247
+ message: "请选择",
248
+ },
249
+ ],
186
250
  },
187
- },
251
+ }
188
252
  ],
189
253
  [
190
254
  {
@@ -492,7 +556,7 @@ async function getDetail() {
492
556
  confidence: 'aaa1',
493
557
  iou: '1',
494
558
  timeInterval: '2',
495
- stuck_threshold: '3',
559
+ stuck_threshold: ['component','form'],
496
560
  max_retries: '4',
497
561
  save_video: true,
498
562
  pre_buffer_second: '5',
@@ -503,9 +567,16 @@ async function getDetail() {
503
567
  single_level_cascader: 'shanghai',
504
568
  }
505
569
  row1Ref.value?.resetForm()
570
+ row2Ref.value?.resetForm()
571
+ row3Ref.value?.resetForm()
572
+ row4Ref.value?.resetForm()
506
573
  setTimeout(() => {
507
574
  row1Ref.value?.setFormData?.(res)
575
+ row2Ref.value?.setFormData?.(res)
576
+ row3Ref.value?.setFormData?.(res)
577
+ row4Ref.value?.setFormData?.(res)
508
578
  }, 10)
579
+ return
509
580
  // 特殊处理
510
581
  // if (res.det_area_mode === 'abnormal') {
511
582
  // detAreaModeChange('abnormal')
@@ -517,7 +588,7 @@ async function getDetail() {
517
588
  confidence: 'aaa1',
518
589
  iou: '1',
519
590
  timeInterval: '2',
520
- stuck_threshold: '3',
591
+ stuck_threshold: 'component,form',
521
592
  max_retries: '4',
522
593
  save_video: true,
523
594
  pre_buffer_second: '5',