diff --git a/src/views/admin/orgInfo/components/OrgApplyHldyForm.vue b/src/views/admin/orgInfo/components/OrgApplyHldyForm.vue index 2a78ade..78a545f 100644 --- a/src/views/admin/orgInfo/components/OrgApplyHldyForm.vue +++ b/src/views/admin/orgInfo/components/OrgApplyHldyForm.vue @@ -37,11 +37,15 @@ 暂无基础功能 -
物联设备:
+
+ + +
+
@@ -131,6 +135,28 @@ const formData = reactive>({ buttonCheck:'', }); +const columnsWlsb = [ + { + title: '序号', + dataIndex: 'key', + key: 'key', + align:'center', + }, + { + title: '设备类型', + dataIndex: 'type', + key: 'type', + align:'center', + }, + { + title: '设备数量', + dataIndex: 'num', + key: 'num', + align:'center', + }, +]; +const data = [ +] const { createMessage } = useMessage(); const labelCol = ref({ xs: { span: 24 }, sm: { span: 8 } }); const wrapperCol = ref({ xs: { span: 24 }, sm: { span: 16 } }); @@ -152,6 +178,14 @@ const disabled = computed(() => { return props.formDisabled; }); +function getData(item){ + const data = []; + data.push({key: '1',type: '摄像头', num: item.sxtList?item.sxtList:'0'}); + data.push({key: '2',type: '电表', num: item.dbList?item.sxtList:'0'}); + data.push({key: '3',type: '水表', num: item.sbList?item.sxtList:'0'}); + data.push({key: '4',type: '温湿度计', num: item.wsdjList?item.sxtList:'0'}); + return data; +} /** * 新增 */