feat: 查询补充
This commit is contained in:
@@ -26,4 +26,6 @@ export enum group {
|
|||||||
computeGroupNum = `${BASE_URL}/deviceGroup/computeGroupNum`, // 分组删除
|
computeGroupNum = `${BASE_URL}/deviceGroup/computeGroupNum`, // 分组删除
|
||||||
formula = `${BASE_URL}/deviceGroup/formula`, // 编辑公式
|
formula = `${BASE_URL}/deviceGroup/formula`, // 编辑公式
|
||||||
queryFormula = `${BASE_URL}/deviceGroup/queryFormula`, // 公式查询
|
queryFormula = `${BASE_URL}/deviceGroup/queryFormula`, // 公式查询
|
||||||
|
dropGroupFilter = `${BASE_URL}/deviceGroup/dropGroupFilter`, // 分组列表查询
|
||||||
|
dropGroupInfoFilter = `${BASE_URL}/deviceGroup/dropGroupInfoFilter`, // 计算列表查询
|
||||||
}
|
}
|
||||||
|
@@ -27,6 +27,7 @@ export const appConfig = {
|
|||||||
themeConfig: {
|
themeConfig: {
|
||||||
bgImageUrl: `${import.meta.env.VITE_PUBLIC_PATH}/asset/image/login/background.png`,
|
bgImageUrl: `${import.meta.env.VITE_PUBLIC_PATH}/asset/image/login/background.png`,
|
||||||
logoLessUrl: `${import.meta.env.VITE_PUBLIC_PATH}/asset/image/headerIcon.png`,
|
logoLessUrl: `${import.meta.env.VITE_PUBLIC_PATH}/asset/image/headerIcon.png`,
|
||||||
|
logoUrl: `${import.meta.env.VITE_PUBLIC_PATH}/asset/image/headerIcon.png`,
|
||||||
},
|
},
|
||||||
// userCustomRouterGuard: (to, from, next, whiteNameList, authorizationStore, appConfig) => {
|
// userCustomRouterGuard: (to, from, next, whiteNameList, authorizationStore, appConfig) => {
|
||||||
// console.log({ to, from, next, whiteNameList, authorizationStore, appConfig }, 'routeConfig');
|
// console.log({ to, from, next, whiteNameList, authorizationStore, appConfig }, 'routeConfig');
|
||||||
@@ -102,7 +103,7 @@ export const appConfig = {
|
|||||||
updatePassWordInfo: {
|
updatePassWordInfo: {
|
||||||
title: '修改密码',
|
title: '修改密码',
|
||||||
subtitle: 'huaxing平台',
|
subtitle: 'huaxing平台',
|
||||||
api: '/api/web/objs/User/changePassword',
|
api: '/carbon-smart/api/user/password',
|
||||||
},
|
},
|
||||||
// headerBellInfo: {
|
// headerBellInfo: {
|
||||||
// isShow: true,
|
// isShow: true,
|
||||||
|
4
hx-ai-intelligent/src/icon/common.svg
Normal file
4
hx-ai-intelligent/src/icon/common.svg
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="14.3564453125" height="15.0081787109375" viewBox="0 0 14.3564453125 15.0081787109375" fill="none">
|
||||||
|
<path d="M14.1739 3.70025C14.1361 3.65398 14.0991 3.60771 14.0571 3.56927C13.9468 3.46744 13.8241 3.37991 13.6919 3.30873C11.7357 2.26657 9.78168 1.22155 7.82619 0.17939C7.65994 0.0891889 7.4793 0.0284937 7.2923 1.16683e-07L7.11007 0C6.6559 0.0904063 6.26508 0.352371 5.86004 0.565929C4.08665 1.49755 2.31626 2.43531 0.54908 3.37911C0.273361 3.52656 0.0597992 3.76005 0.0099678 4.11741C0.00854492 4.13022 0.00356293 4.14161 0 4.153L0 4.30463C0.0284805 4.46764 0.0761719 4.62212 0.177967 4.75167C0.213558 4.79581 0.247017 4.84208 0.287598 4.87839C0.395794 4.97306 0.505424 5.06418 0.63142 5.13181C2.60185 6.1818 4.56944 7.23606 6.54201 8.2825C6.70858 8.3722 6.88014 8.45904 7.07235 8.47755C7.2674 8.49749 7.45034 8.46118 7.62261 8.37006L13.6037 5.19445C13.6706 5.15815 13.7403 5.12754 13.803 5.08554C13.9902 4.96381 14.1653 4.82357 14.2636 4.60432C14.3063 4.51107 14.3248 4.405 14.3561 4.30463L14.3561 4.153C14.3248 3.98785 14.2764 3.82982 14.1732 3.70026L14.1739 3.70025ZM13.5004 6.55054C13.2896 6.50635 13.0699 6.53759 12.8797 6.63881C12.501 6.8424 12.1251 7.05525 11.7429 7.25386C10.2444 8.03264 8.74237 8.80714 7.24318 9.5845C7.20047 9.60585 7.16488 9.60941 7.12074 9.58663L1.61023 6.69862C1.3144 6.53849 0.971592 6.48783 0.642097 6.55553C0.300404 6.62601 0.0633507 6.9314 0.0156593 7.31936C0.0128059 7.34072 0.00497818 7.36207 0.000705719 7.38343L0.000705719 7.5799C0.0291786 7.73936 0.0768776 7.89027 0.173687 8.01983C0.266228 8.14156 0.373005 8.24264 0.501858 8.31098C2.51998 9.39372 4.53954 10.4779 6.5605 11.5549C6.72209 11.6404 6.89009 11.7258 7.07874 11.7422C7.2681 11.7592 7.44748 11.7251 7.61619 11.6375C9.69198 10.5626 11.7678 9.48912 13.8407 8.40922C14.1183 8.264 14.2771 8.00702 14.3397 7.68312C14.3461 7.65963 14.3504 7.63472 14.3561 7.61051L14.3561 7.42828C14.3369 7.36207 14.3248 7.2916 14.2998 7.22896C14.1532 6.83814 13.877 6.62387 13.5004 6.55126L13.5004 6.55054ZM13.5019 9.80944C13.2908 9.7652 13.0708 9.79644 12.8804 9.89771C12.496 10.1042 12.1159 10.3177 11.73 10.5199C10.238 11.2944 8.74591 12.0646 7.25386 12.8391C7.20773 12.8661 7.15042 12.8653 7.10508 12.837C5.27916 11.8774 3.45181 10.9207 1.62446 9.96106C1.35194 9.82084 1.04443 9.7632 0.739628 9.7952C0.383698 9.82367 0.108913 10.1049 0.0313225 10.495C0.0206451 10.5441 0.0099678 10.5918 0.000720978 10.6402L0.000720978 10.8366C0.0291862 10.9933 0.0754585 11.1427 0.168713 11.2709C0.26268 11.3983 0.373734 11.5008 0.507553 11.572C2.52355 12.654 4.54025 13.7361 6.55837 14.811C6.73064 14.9035 6.91217 14.9889 7.10935 15.0082L7.24888 15.0082C7.41069 14.9797 7.56661 14.9243 7.71016 14.8444C7.89952 14.7412 8.09955 14.6586 8.29104 14.559C10.1333 13.6008 11.9749 12.6412 13.8151 11.6823C14.107 11.53 14.2757 11.273 14.3412 10.9335L14.3561 10.868L14.3561 10.6857C14.3369 10.6195 14.3248 10.5491 14.2999 10.4864C14.1554 10.0949 13.8777 9.88134 13.5019 9.81015L13.5019 9.80944Z" fill="#4388FB" >
|
||||||
|
</path>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 3.0 KiB |
@@ -1,8 +1,9 @@
|
|||||||
|
import { NsSelect } from './../../../../../lib/component/form/select/index';
|
||||||
import { dateUtil } from '/nerv-lib/util/date-util';
|
import { dateUtil } from '/nerv-lib/util/date-util';
|
||||||
import data from './mock.json';
|
import data from './mock.json';
|
||||||
import { http } from '/nerv-lib/util';
|
import { http } from '/nerv-lib/util';
|
||||||
import { ref } from 'vue';
|
import { ref } from 'vue';
|
||||||
import { group } from '/@/api/deviceManage';
|
import { device, group } from '/@/api/deviceManage';
|
||||||
import { dict } from '/@/api';
|
import { dict } from '/@/api';
|
||||||
import { origanizemanage } from '/@/api/origanizemanage';
|
import { origanizemanage } from '/@/api/origanizemanage';
|
||||||
const tableCalKeyMap = [
|
const tableCalKeyMap = [
|
||||||
@@ -122,7 +123,7 @@ export const formSchema = [
|
|||||||
immediate: true,
|
immediate: true,
|
||||||
// resultField: 'data.COUNT_POINT',
|
// resultField: 'data.COUNT_POINT',
|
||||||
labelField: 'cnValue',
|
labelField: 'cnValue',
|
||||||
valueField: 'cnValue',
|
valueField: 'dicKey',
|
||||||
},
|
},
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
@@ -198,7 +199,7 @@ export const treeConfig = (orgId) => {
|
|||||||
immediate: true,
|
immediate: true,
|
||||||
// resultField: 'data.ENERGY_TYPE',
|
// resultField: 'data.ENERGY_TYPE',
|
||||||
labelField: 'cnValue',
|
labelField: 'cnValue',
|
||||||
valueField: 'cnValue',
|
valueField: 'dicKey',
|
||||||
placeholder: '请选择能耗种类',
|
placeholder: '请选择能耗种类',
|
||||||
autoSelectFirst: true,
|
autoSelectFirst: true,
|
||||||
},
|
},
|
||||||
@@ -303,9 +304,22 @@ export const tableConfig = (el, elGroup, elFormula, defaultParams) => {
|
|||||||
schemas: [
|
schemas: [
|
||||||
{
|
{
|
||||||
field: 'orgName',
|
field: 'orgName',
|
||||||
component: 'NsInput',
|
component: 'NsSelectApi',
|
||||||
|
defaultParams: defaultParams.value,
|
||||||
componentProps: {
|
componentProps: {
|
||||||
placeholder: '请选择公司',
|
placeholder: '请选择公司',
|
||||||
|
mode: 'multiple',
|
||||||
|
api: group.dropGroupFilter,
|
||||||
|
resultField: 'data',
|
||||||
|
params: { filterField: 'ORG' },
|
||||||
|
labelField: 'orgName',
|
||||||
|
valueField: 'orgId',
|
||||||
|
filterOption: (input: string, option: any) => {
|
||||||
|
return option.deviceName.toLowerCase().indexOf(input.toLowerCase()) >= 0;
|
||||||
|
},
|
||||||
|
showSearch: true,
|
||||||
|
dropdownReload: true,
|
||||||
|
allowClear: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -433,11 +447,23 @@ export const tableConfigCal = (el, elGroup, elFormula, defaultParams) => {
|
|||||||
formConfig: {
|
formConfig: {
|
||||||
schemas: [
|
schemas: [
|
||||||
{
|
{
|
||||||
field: 'name',
|
field: 'orgIds',
|
||||||
label: '公司',
|
component: 'NsSelectApi',
|
||||||
component: 'NsInput',
|
defaultParams: defaultParams.value,
|
||||||
componentProps: {
|
componentProps: {
|
||||||
placeholder: '请选择公司',
|
placeholder: '请选择公司',
|
||||||
|
mode: 'multiple',
|
||||||
|
api: group.dropGroupInfoFilter,
|
||||||
|
resultField: 'data',
|
||||||
|
params: { filterField: 'ORG' },
|
||||||
|
labelField: 'orgName',
|
||||||
|
valueField: 'orgId',
|
||||||
|
filterOption: (input: string, option: any) => {
|
||||||
|
return option.deviceName.toLowerCase().indexOf(input.toLowerCase()) >= 0;
|
||||||
|
},
|
||||||
|
showSearch: true,
|
||||||
|
dropdownReload: true,
|
||||||
|
allowClear: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -455,17 +481,40 @@ export const tableConfigCal = (el, elGroup, elFormula, defaultParams) => {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'provider',
|
field: 'deviceStatus',
|
||||||
component: 'NsInput',
|
component: 'NsSelectApi',
|
||||||
componentProps: {
|
componentProps: {
|
||||||
placeholder: '请输入设备状态',
|
placeholder: '请选择设备状态',
|
||||||
|
api: () => dict({ params: { dicKey: 'DEVICE_STATUS' } }),
|
||||||
|
immediate: true,
|
||||||
|
labelField: 'cnValue',
|
||||||
|
valueField: 'dicKey',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'deviceNameType',
|
field: 'deviceNameType',
|
||||||
component: 'NsInput',
|
component: 'NsSelectApi',
|
||||||
|
defaultParams: defaultParams.value,
|
||||||
componentProps: {
|
componentProps: {
|
||||||
placeholder: '请输入设备型号',
|
placeholder: '请选择设备型号',
|
||||||
|
mode: 'multiple',
|
||||||
|
api: (params: any) => {
|
||||||
|
return http.post(group.dropGroupInfoFilter, params).then((res: any) => {
|
||||||
|
const result = [...new Set(res.data)];
|
||||||
|
return { data: result };
|
||||||
|
});
|
||||||
|
},
|
||||||
|
resultField: 'data',
|
||||||
|
|
||||||
|
params: { filterField: 'DEVICE_TYPE' },
|
||||||
|
// labelField: 'orgName',
|
||||||
|
// valueField: 'orgId',
|
||||||
|
filterOption: (input: string, option: any) => {
|
||||||
|
return option.deviceName.toLowerCase().indexOf(input.toLowerCase()) >= 0;
|
||||||
|
},
|
||||||
|
showSearch: true,
|
||||||
|
dropdownReload: true,
|
||||||
|
allowClear: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@@ -104,7 +104,7 @@
|
|||||||
item['key'] = item.id.toString();
|
item['key'] = item.id.toString();
|
||||||
return item;
|
return item;
|
||||||
});
|
});
|
||||||
targetKeys.value = res.data.linkGroups?.map((item) => {
|
targetKeys.value = res.data.linkDeviceInfos?.map((item) => {
|
||||||
return item.id.toString();
|
return item.id.toString();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@@ -7,6 +7,7 @@
|
|||||||
:cancel="() => (visible = false)"
|
:cancel="() => (visible = false)"
|
||||||
placement="right">
|
placement="right">
|
||||||
<ns-form
|
<ns-form
|
||||||
|
ref="editGroupRef"
|
||||||
:schemas="schemas(inputDisabled)"
|
:schemas="schemas(inputDisabled)"
|
||||||
:model="model"
|
:model="model"
|
||||||
formLayout="vertical"
|
formLayout="vertical"
|
||||||
@@ -15,7 +16,7 @@
|
|||||||
<template #addonAfter="data">
|
<template #addonAfter="data">
|
||||||
<template v-if="data.field === 'groupName'">
|
<template v-if="data.field === 'groupName'">
|
||||||
<div class="iconOP">
|
<div class="iconOP">
|
||||||
<EditOutlined v-if="inputDisabled" @click="() => (inputDisabled = false)" />
|
<EditOutlined v-if="inputDisabled" @click="editGroup" />
|
||||||
<CheckOutlined v-else @click="op" />
|
<CheckOutlined v-else @click="op" />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@@ -53,6 +54,7 @@
|
|||||||
const emit = defineEmits(['sure']);
|
const emit = defineEmits(['sure']);
|
||||||
const props = defineProps({ params: Object });
|
const props = defineProps({ params: Object });
|
||||||
const visible = ref(false);
|
const visible = ref(false);
|
||||||
|
const editGroupRef = ref();
|
||||||
const model = ref({});
|
const model = ref({});
|
||||||
const inputDisabled = ref(true);
|
const inputDisabled = ref(true);
|
||||||
const selectedRowKeys = ref([]);
|
const selectedRowKeys = ref([]);
|
||||||
@@ -63,6 +65,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
const startCararcter = 65;
|
const startCararcter = 65;
|
||||||
|
// 点击新增按钮新增分组
|
||||||
const addGroup = () => {
|
const addGroup = () => {
|
||||||
opType = true;
|
opType = true;
|
||||||
getCode();
|
getCode();
|
||||||
@@ -71,19 +74,30 @@
|
|||||||
model.value = { groupName: '' };
|
model.value = { groupName: '' };
|
||||||
// if(mockDataSource.value.length)
|
// if(mockDataSource.value.length)
|
||||||
};
|
};
|
||||||
|
|
||||||
const op = () => {
|
const op = () => {
|
||||||
inputDisabled.value = !inputDisabled.value;
|
inputDisabled.value = !inputDisabled.value;
|
||||||
add();
|
add();
|
||||||
};
|
};
|
||||||
//新增
|
|
||||||
|
const editGroup = () => {
|
||||||
|
if (!selectedRowKeys.value?.length) {
|
||||||
|
NsMessage.warn('请先选择需要编辑的分组');
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
inputDisabled.value = false;
|
||||||
|
};
|
||||||
|
//点击对钩按钮处理保存逻辑
|
||||||
const add = () => {
|
const add = () => {
|
||||||
const finalParams = { ...props.params, ...model.value };
|
const finalParams = { ...props.params, ...model.value };
|
||||||
if (opType) {
|
if (opType) {
|
||||||
delete finalParams.id;
|
delete finalParams.id;
|
||||||
}
|
}
|
||||||
http.post(group.saveComputeGroup, finalParams).then(() => {
|
editGroupRef.value.triggerSubmit().then(() => {
|
||||||
getTableData();
|
http.post(group.saveComputeGroup, finalParams).then(() => {
|
||||||
NsMessage.success('操作成功');
|
getTableData();
|
||||||
|
NsMessage.success('操作成功');
|
||||||
|
});
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -16,7 +16,14 @@
|
|||||||
<template #title="data">
|
<template #title="data">
|
||||||
<div class="treeRow">
|
<div class="treeRow">
|
||||||
<div>
|
<div>
|
||||||
<ns-icon :name="data.pointType !== '计算节点' ? 'fenzujiedian' : 'jisuanjiedian'" />
|
<ns-icon
|
||||||
|
:name="
|
||||||
|
data?.id === 'all'
|
||||||
|
? 'common'
|
||||||
|
: data.pointType === 'GROUPING_NODE'
|
||||||
|
? 'fenzujiedian'
|
||||||
|
: 'jisuanjiedian'
|
||||||
|
" />
|
||||||
<span style="padding-left: 8px">{{ data.pointName }}</span>
|
<span style="padding-left: 8px">{{ data.pointName }}</span>
|
||||||
</div>
|
</div>
|
||||||
<a-dropdown>
|
<a-dropdown>
|
||||||
@@ -64,7 +71,12 @@
|
|||||||
const treeRef = ref();
|
const treeRef = ref();
|
||||||
const defaultType = ref(true);
|
const defaultType = ref(true);
|
||||||
const result = JSON.parse(sessionStorage.getItem('ORGID')!);
|
const result = JSON.parse(sessionStorage.getItem('ORGID')!);
|
||||||
const defaultParams = ref({ orgId: result, energyType: '用电量', id: '', hxDeviceGroupId: '' });
|
const defaultParams = ref({
|
||||||
|
orgId: result,
|
||||||
|
energyType: 'ELECTRICITY_USAGE',
|
||||||
|
id: '',
|
||||||
|
hxDeviceGroupId: '',
|
||||||
|
});
|
||||||
|
|
||||||
const config = tableConfig(editDrawerRef, editGroupRef, editFormulaRef, defaultParams);
|
const config = tableConfig(editDrawerRef, editGroupRef, editFormulaRef, defaultParams);
|
||||||
const configCal = tableConfigCal(editDrawerCalRef, editGroupRef, editFormulaRef, defaultParams);
|
const configCal = tableConfigCal(editDrawerCalRef, editGroupRef, editFormulaRef, defaultParams);
|
||||||
@@ -165,7 +177,7 @@
|
|||||||
defaultParams.value.energyType = energyType;
|
defaultParams.value.energyType = energyType;
|
||||||
defaultParams.value.id = id;
|
defaultParams.value.id = id;
|
||||||
defaultParams.value.hxDeviceGroupId = id;
|
defaultParams.value.hxDeviceGroupId = id;
|
||||||
defaultType.value = pointType === '分组节点';
|
defaultType.value = pointType === 'GROUPING_NODE';
|
||||||
defaultType.value
|
defaultType.value
|
||||||
? tableRef.value?.nsTableRef.reload()
|
? tableRef.value?.nsTableRef.reload()
|
||||||
: tableCalRef.value?.nsTableRef.reload();
|
: tableCalRef.value?.nsTableRef.reload();
|
||||||
@@ -215,9 +227,16 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.treeRow {
|
.common-style {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.treeRow {
|
||||||
|
.common-style;
|
||||||
|
> div:first-child {
|
||||||
|
.common-style;
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
@@ -1,506 +0,0 @@
|
|||||||
{
|
|
||||||
"data":[
|
|
||||||
{
|
|
||||||
"title": "家居照明",
|
|
||||||
"key": "1",
|
|
||||||
"children": [
|
|
||||||
{
|
|
||||||
"title": "灯泡",
|
|
||||||
"key": "1-1",
|
|
||||||
"children": [
|
|
||||||
{
|
|
||||||
"title": "LED灯泡",
|
|
||||||
"key": "1-1-1",
|
|
||||||
"children": [
|
|
||||||
{
|
|
||||||
"title": "E27 LED灯泡",
|
|
||||||
"key": "1-1-1-1",
|
|
||||||
"attr": {
|
|
||||||
"瓦特": "7W",
|
|
||||||
"光通量": "500lm",
|
|
||||||
"色温": "2700K"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"title": "E14 小灯泡",
|
|
||||||
"key": "1-1-1-2",
|
|
||||||
"attr": {
|
|
||||||
"瓦特": "4W",
|
|
||||||
"光通量": "250lm",
|
|
||||||
"色温": "6500K"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"title": "节能灯",
|
|
||||||
"key": "1-1-2",
|
|
||||||
"children": [
|
|
||||||
{
|
|
||||||
"title": "E27 节能灯泡",
|
|
||||||
"key": "1-1-2-1",
|
|
||||||
"attr": {
|
|
||||||
"瓦特": "11W",
|
|
||||||
"光通量": "800lm",
|
|
||||||
"色温": "6500K"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"title": "灯具",
|
|
||||||
"key": "1-2",
|
|
||||||
"children": [
|
|
||||||
{
|
|
||||||
"title": "吊灯",
|
|
||||||
"key": "1-2-1",
|
|
||||||
"children": [
|
|
||||||
{
|
|
||||||
"title": "水晶吊灯",
|
|
||||||
"key": "1-2-1-1",
|
|
||||||
"attr": {
|
|
||||||
"尺寸": "Φ60cm",
|
|
||||||
"适用面积": "15-20㎡"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"title": "现代简约吊灯",
|
|
||||||
"key": "1-2-1-2",
|
|
||||||
"attr": {
|
|
||||||
"尺寸": "Φ52cm",
|
|
||||||
"适用面积": "10-15㎡"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"title": "台灯",
|
|
||||||
"key": "1-2-2",
|
|
||||||
"children": [
|
|
||||||
{
|
|
||||||
"title": "护眼台灯",
|
|
||||||
"key": "1-2-2-1",
|
|
||||||
"attr": {
|
|
||||||
"瓦特": "18W",
|
|
||||||
"调光调色": "是"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"title": "折叠臂台灯",
|
|
||||||
"key": "1-2-2-2",
|
|
||||||
"attr": {
|
|
||||||
"瓦特": "14W",
|
|
||||||
"调光调色": "否"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"title": "开关插座",
|
|
||||||
"key": "1-3",
|
|
||||||
"children": [
|
|
||||||
{
|
|
||||||
"title": "智能开关",
|
|
||||||
"key": "1-3-1",
|
|
||||||
"children": [
|
|
||||||
{
|
|
||||||
"title": "触控式智能开关",
|
|
||||||
"key": "1-3-1-1",
|
|
||||||
"attr": {
|
|
||||||
"控制方式": "触控/远程",
|
|
||||||
"兼容性": "ZigBee/WiFi"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"title": "插座",
|
|
||||||
"key": "1-3-2",
|
|
||||||
"children": [
|
|
||||||
{
|
|
||||||
"title": "多功能插座",
|
|
||||||
"key": "1-3-2-1",
|
|
||||||
"attr": {
|
|
||||||
"插孔类型": "2/3插",
|
|
||||||
"USB接口": "有"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"title": "电梯",
|
|
||||||
"key": "3",
|
|
||||||
"children": [
|
|
||||||
{
|
|
||||||
"title": "扶梯",
|
|
||||||
"key": "301"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"title": "直梯",
|
|
||||||
"key": "302"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"title": "冷源源",
|
|
||||||
"key": "4",
|
|
||||||
"children": [
|
|
||||||
{
|
|
||||||
"title": "通风及空调设备",
|
|
||||||
"key": "5",
|
|
||||||
"children": [
|
|
||||||
{
|
|
||||||
"title": "组合式空调机组",
|
|
||||||
"key": "501"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"title": "新风机组",
|
|
||||||
"key": "502"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"title": "精密空调",
|
|
||||||
"key": "503"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"title": "风机盘管",
|
|
||||||
"key": "504"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"title": "VAV",
|
|
||||||
"key": "505"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"title": "室外多联机",
|
|
||||||
"key": "506"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"title": "风幕机",
|
|
||||||
"key": "507"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"title": "球喷",
|
|
||||||
"key": "508"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"title": "送风机",
|
|
||||||
"key": "509"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"title": "排风机",
|
|
||||||
"key": "510"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"title": "排风兼排烟机",
|
|
||||||
"key": "511"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"title": "通风机",
|
|
||||||
"key": "512"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"title": "风阀",
|
|
||||||
"key": "513"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"title": "风柱式空调",
|
|
||||||
"key": "514"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"title": "照明",
|
|
||||||
"key": "6",
|
|
||||||
"children": [
|
|
||||||
{
|
|
||||||
"title": "多功能传感器",
|
|
||||||
"key": "701"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"title": "照度传感器",
|
|
||||||
"key": "702"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"title": "噪声传感器",
|
|
||||||
"key": "703"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"dataSource":[
|
|
||||||
{
|
|
||||||
"id": "d4",
|
|
||||||
"isDel": "0",
|
|
||||||
"officesId": "84",
|
|
||||||
"deviceCode": "37430200143",
|
|
||||||
"deviceName": "地听测试电表",
|
|
||||||
"category": "1",
|
|
||||||
"type": "1001",
|
|
||||||
"energyCount": "1",
|
|
||||||
"serialNumber": "69",
|
|
||||||
"pidCode": null,
|
|
||||||
"brand": "",
|
|
||||||
"types": "",
|
|
||||||
"manufacturer": "elit non in",
|
|
||||||
"contacts": "ad reprehenderit",
|
|
||||||
"phonenumber": "34",
|
|
||||||
"position": "in esse commodo",
|
|
||||||
"activeState": "1",
|
|
||||||
"measurementDirection": "1",
|
|
||||||
"deviceMagnification": 62,
|
|
||||||
"deviceAccuracy": "89",
|
|
||||||
"frequency": "anim consequat irure",
|
|
||||||
"standardFrequency": "ut elit",
|
|
||||||
"deviceHead": "pariatur ex velit",
|
|
||||||
"constructor": "84566",
|
|
||||||
"voltageType": "cillum aliquip reprehenderit",
|
|
||||||
"pt": 61,
|
|
||||||
"ct": 64,
|
|
||||||
"communicationProtocol": "cupidatat nisi ea ad",
|
|
||||||
"ip": "",
|
|
||||||
"port": "",
|
|
||||||
"com": "",
|
|
||||||
"slaveAddress": "",
|
|
||||||
"dlt": "",
|
|
||||||
"conversionIdentifier": "48",
|
|
||||||
"multiplicationAdjustment": "1",
|
|
||||||
"accessMethod": "1",
|
|
||||||
"replacementFrequency": "0",
|
|
||||||
"dataDetail": "sit",
|
|
||||||
"insertTime": null,
|
|
||||||
"children": null,
|
|
||||||
"devicePointList": null,
|
|
||||||
"insertUser": null
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "d1",
|
|
||||||
"isDel": "0",
|
|
||||||
"officesId": "84",
|
|
||||||
"deviceCode": "37430200144",
|
|
||||||
"deviceName": "地听测试2",
|
|
||||||
"category": "1",
|
|
||||||
"type": "1001",
|
|
||||||
"energyCount": "1",
|
|
||||||
"serialNumber": "69",
|
|
||||||
"pidCode": null,
|
|
||||||
"brand": "",
|
|
||||||
"types": "",
|
|
||||||
"manufacturer": "elit non in",
|
|
||||||
"contacts": "ad reprehenderit",
|
|
||||||
"phonenumber": "34",
|
|
||||||
"position": "in esse commodo",
|
|
||||||
"activeState": "1",
|
|
||||||
"measurementDirection": "1",
|
|
||||||
"deviceMagnification": 62,
|
|
||||||
"deviceAccuracy": "89",
|
|
||||||
"frequency": "anim consequat irure",
|
|
||||||
"standardFrequency": "ut elit",
|
|
||||||
"deviceHead": "pariatur ex velit",
|
|
||||||
"constructor": "84566",
|
|
||||||
"voltageType": "cillum aliquip reprehenderit",
|
|
||||||
"pt": 61,
|
|
||||||
"ct": 64,
|
|
||||||
"communicationProtocol": "802",
|
|
||||||
"ip": "10.5.36.0",
|
|
||||||
"port": "6000",
|
|
||||||
"com": "",
|
|
||||||
"slaveAddress": "123测试",
|
|
||||||
"dlt": "",
|
|
||||||
"conversionIdentifier": "48",
|
|
||||||
"multiplicationAdjustment": "1",
|
|
||||||
"accessMethod": "1",
|
|
||||||
"replacementFrequency": "0",
|
|
||||||
"dataDetail": "sit",
|
|
||||||
"insertTime": "2024-02-28 11:26:58",
|
|
||||||
"children": null,
|
|
||||||
"devicePointList": null,
|
|
||||||
"insertUser": null
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "d2",
|
|
||||||
"isDel": "0",
|
|
||||||
"officesId": "84",
|
|
||||||
"deviceCode": "1235623",
|
|
||||||
"deviceName": "测试设备2",
|
|
||||||
"category": "1",
|
|
||||||
"type": "1001",
|
|
||||||
"energyCount": "是",
|
|
||||||
"serialNumber": "69",
|
|
||||||
"pidCode": null,
|
|
||||||
"brand": "",
|
|
||||||
"types": "",
|
|
||||||
"manufacturer": "elit non in",
|
|
||||||
"contacts": "ad reprehenderit",
|
|
||||||
"phonenumber": "34",
|
|
||||||
"position": "in esse commodo",
|
|
||||||
"activeState": "1",
|
|
||||||
"measurementDirection": "1",
|
|
||||||
"deviceMagnification": 62,
|
|
||||||
"deviceAccuracy": "89",
|
|
||||||
"frequency": "anim consequat irure",
|
|
||||||
"standardFrequency": "ut elit",
|
|
||||||
"deviceHead": "pariatur ex velit",
|
|
||||||
"constructor": null,
|
|
||||||
"voltageType": "cillum aliquip reprehenderit",
|
|
||||||
"pt": 61,
|
|
||||||
"ct": 64,
|
|
||||||
"communicationProtocol": "cupidatat nisi ea ad",
|
|
||||||
"ip": "",
|
|
||||||
"port": "",
|
|
||||||
"com": "",
|
|
||||||
"slaveAddress": "",
|
|
||||||
"dlt": "",
|
|
||||||
"conversionIdentifier": "48",
|
|
||||||
"multiplicationAdjustment": "1",
|
|
||||||
"accessMethod": "1",
|
|
||||||
"replacementFrequency": "0",
|
|
||||||
"dataDetail": "sit",
|
|
||||||
"insertTime": "2024-02-28 11:31:57",
|
|
||||||
"children": null,
|
|
||||||
"devicePointList": null,
|
|
||||||
"insertUser": null
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "d7",
|
|
||||||
"isDel": "0",
|
|
||||||
"officesId": "",
|
|
||||||
"deviceCode": "0213",
|
|
||||||
"deviceName": "测试",
|
|
||||||
"category": "1",
|
|
||||||
"type": "1001",
|
|
||||||
"energyCount": "1",
|
|
||||||
"serialNumber": "",
|
|
||||||
"pidCode": null,
|
|
||||||
"brand": "6da085e5-956d-4000-bd3c-ebb01a9c99a1",
|
|
||||||
"types": "d7a8aede-b821-4ff2-953d-601a20e5a948",
|
|
||||||
"manufacturer": "",
|
|
||||||
"contacts": "",
|
|
||||||
"phonenumber": null,
|
|
||||||
"position": "",
|
|
||||||
"activeState": "",
|
|
||||||
"measurementDirection": "",
|
|
||||||
"deviceMagnification": null,
|
|
||||||
"deviceAccuracy": null,
|
|
||||||
"frequency": "",
|
|
||||||
"standardFrequency": "",
|
|
||||||
"deviceHead": "",
|
|
||||||
"constructor": "",
|
|
||||||
"voltageType": "",
|
|
||||||
"pt": null,
|
|
||||||
"ct": null,
|
|
||||||
"communicationProtocol": "",
|
|
||||||
"ip": "",
|
|
||||||
"port": "",
|
|
||||||
"com": "",
|
|
||||||
"slaveAddress": "",
|
|
||||||
"dlt": "",
|
|
||||||
"conversionIdentifier": "1",
|
|
||||||
"multiplicationAdjustment": "1",
|
|
||||||
"accessMethod": "",
|
|
||||||
"replacementFrequency": "0",
|
|
||||||
"dataDetail": "",
|
|
||||||
"insertTime": "2024-03-14 20:01:53",
|
|
||||||
"children": null,
|
|
||||||
"devicePointList": null,
|
|
||||||
"insertUser": ""
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "d3",
|
|
||||||
"isDel": "0",
|
|
||||||
"officesId": "84",
|
|
||||||
"deviceCode": "81",
|
|
||||||
"deviceName": "设备名称1111",
|
|
||||||
"category": "1",
|
|
||||||
"type": "1001",
|
|
||||||
"energyCount": "1",
|
|
||||||
"serialNumber": "69",
|
|
||||||
"pidCode": null,
|
|
||||||
"brand": "6da085e5-956d-4000-bd3c-ebb01a9c99a1",
|
|
||||||
"types": "d7a8aede-b821-4ff2-953d-601a20e5a948",
|
|
||||||
"manufacturer": "elit non in",
|
|
||||||
"contacts": "ad reprehenderit",
|
|
||||||
"phonenumber": "34",
|
|
||||||
"position": "in esse commodo",
|
|
||||||
"activeState": "1",
|
|
||||||
"measurementDirection": "1",
|
|
||||||
"deviceMagnification": 62,
|
|
||||||
"deviceAccuracy": "89",
|
|
||||||
"frequency": "anim consequat irure",
|
|
||||||
"standardFrequency": "ut elit",
|
|
||||||
"deviceHead": "pariatur ex velit",
|
|
||||||
"constructor": "84566",
|
|
||||||
"voltageType": "cillum aliquip reprehenderit",
|
|
||||||
"pt": 61,
|
|
||||||
"ct": 64,
|
|
||||||
"communicationProtocol": "cupidatat nisi ea ad",
|
|
||||||
"ip": "",
|
|
||||||
"port": "",
|
|
||||||
"com": "",
|
|
||||||
"slaveAddress": "",
|
|
||||||
"dlt": "",
|
|
||||||
"conversionIdentifier": "48",
|
|
||||||
"multiplicationAdjustment": "1",
|
|
||||||
"accessMethod": "1",
|
|
||||||
"replacementFrequency": "0",
|
|
||||||
"dataDetail": "sit",
|
|
||||||
"insertTime": "2024-03-15 17:34:24",
|
|
||||||
"children": null,
|
|
||||||
"devicePointList": null,
|
|
||||||
"insertUser": null
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "d43fdfff_02_0001",
|
|
||||||
"isDel": "0",
|
|
||||||
"officesId": "843fdffff213d2d3",
|
|
||||||
"deviceCode": "00037430200143",
|
|
||||||
"deviceName": "应感者酸严",
|
|
||||||
"category": "1",
|
|
||||||
"type": "1001",
|
|
||||||
"energyCount": "esse consequat",
|
|
||||||
"serialNumber": "69",
|
|
||||||
"pidCode": null,
|
|
||||||
"brand": "",
|
|
||||||
"types": "",
|
|
||||||
"manufacturer": "elit non in",
|
|
||||||
"contacts": "ad reprehenderit",
|
|
||||||
"phonenumber": "34",
|
|
||||||
"position": "in esse commodo",
|
|
||||||
"activeState": "1",
|
|
||||||
"measurementDirection": "1",
|
|
||||||
"deviceMagnification": 62,
|
|
||||||
"deviceAccuracy": "89",
|
|
||||||
"frequency": "anim consequat irure",
|
|
||||||
"standardFrequency": "ut elit",
|
|
||||||
"deviceHead": "pariatur ex velit",
|
|
||||||
"constructor": "84566",
|
|
||||||
"voltageType": "cillum aliquip reprehenderit",
|
|
||||||
"pt": 61,
|
|
||||||
"ct": 64,
|
|
||||||
"communicationProtocol": "cupidatat nisi ea ad",
|
|
||||||
"ip": "",
|
|
||||||
"port": "",
|
|
||||||
"com": "",
|
|
||||||
"slaveAddress": "",
|
|
||||||
"dlt": "",
|
|
||||||
"conversionIdentifier": "48",
|
|
||||||
"multiplicationAdjustment": "1",
|
|
||||||
"accessMethod": "1",
|
|
||||||
"replacementFrequency": "0",
|
|
||||||
"dataDetail": "sit",
|
|
||||||
"insertTime": "2024-04-29 11:12:43",
|
|
||||||
"children": null,
|
|
||||||
"devicePointList": null,
|
|
||||||
"insertUser": null
|
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
||||||
}
|
|
Reference in New Issue
Block a user