Commit 9757f5544f52e1e34be244e8fb613d2a7d3f5bbb

Authored by fengtao
1 parent fb5a9e8f

pref:优化设备别名

@@ -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 },