Showing
1 changed file
with
0 additions
and
22 deletions
| @@ -301,17 +301,6 @@ export const trigger_condition_schema: FormSchema[] = [ | @@ -301,17 +301,6 @@ export const trigger_condition_schema: FormSchema[] = [ | ||
| 301 | placeholder: '请选择设备', | 301 | placeholder: '请选择设备', |
| 302 | getPopupContainer: () => document.body, | 302 | getPopupContainer: () => document.body, |
| 303 | }; | 303 | }; |
| 304 | - // return { | ||
| 305 | - // placeholder: '请选择设备', | ||
| 306 | - // mode: 'multiple', | ||
| 307 | - // api: byOrganizationIdGetMasterDevice, | ||
| 308 | - // params: { | ||
| 309 | - // organizationId: unref(organizationId), | ||
| 310 | - // deviceProfileId, | ||
| 311 | - // }, | ||
| 312 | - // labelField: 'name', | ||
| 313 | - // valueField: 'tbDeviceId', | ||
| 314 | - // }; | ||
| 315 | }, | 304 | }, |
| 316 | ifShow: ({ values }) => isPart(values.device), | 305 | ifShow: ({ values }) => isPart(values.device), |
| 317 | colProps: { span: 6 }, | 306 | colProps: { span: 6 }, |
| @@ -515,17 +504,6 @@ export const actionSchema: FormSchema[] = [ | @@ -515,17 +504,6 @@ export const actionSchema: FormSchema[] = [ | ||
| 515 | placeholder: '请选择设备', | 504 | placeholder: '请选择设备', |
| 516 | getPopupContainer: () => document.body, | 505 | getPopupContainer: () => document.body, |
| 517 | }; | 506 | }; |
| 518 | - // return { | ||
| 519 | - // placeholder: '请选择设备', | ||
| 520 | - // mode: 'multiple', | ||
| 521 | - // api: byOrganizationIdGetMasterDevice, | ||
| 522 | - // params: { | ||
| 523 | - // organizationId: unref(organizationId), | ||
| 524 | - // deviceProfileId, | ||
| 525 | - // }, | ||
| 526 | - // labelField: 'name', | ||
| 527 | - // valueField: 'tbDeviceId', | ||
| 528 | - // }; | ||
| 529 | }, | 507 | }, |
| 530 | ifShow: ({ values }) => isPart(values.device) && isDeviceOut(values.outTarget), | 508 | ifShow: ({ values }) => isPart(values.device) && isDeviceOut(values.outTarget), |
| 531 | colProps: { span: 6 }, | 509 | colProps: { span: 6 }, |