From bbc4a07ce2e238f059bd7a62e72615d90b491e17 Mon Sep 17 00:00:00 2001 From: jiminglei <836545853@qq.com> Date: Thu, 21 Mar 2024 15:26:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=A8=A1=E5=9E=8B=E6=B5=8B?= =?UTF-8?q?=E8=AF=953=E4=B8=AA=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- psdc-ui/src/api/emonitor/api.js | 7 +- psdc-ui/src/views/system/boiler/index.vue | 704 ++++++++++++++++++++ psdc-ui/src/views/system/building/index.vue | 698 +++++++++++++++++++ psdc-ui/src/views/system/kitchen/index.vue | 688 +++++++++++++++++++ psdc-ui/src/views/system/model/index.vue | 108 +-- 5 files changed, 2097 insertions(+), 108 deletions(-) create mode 100644 psdc-ui/src/views/system/boiler/index.vue create mode 100644 psdc-ui/src/views/system/building/index.vue create mode 100644 psdc-ui/src/views/system/kitchen/index.vue diff --git a/psdc-ui/src/api/emonitor/api.js b/psdc-ui/src/api/emonitor/api.js index 687bfaa..dfb3461 100644 --- a/psdc-ui/src/api/emonitor/api.js +++ b/psdc-ui/src/api/emonitor/api.js @@ -134,12 +134,13 @@ export function setKey2(data) { } -//模型测试 +//模型测试-建筑供暖 export function modelTest(data) { return request.post('system/model/getReport',data) } //建筑供暖设备列表 -export function getDevList() { - return request.get('system/model/selAllDevices') +export function getDevList(data) { + return request.post('system/model/selByCoed?typeCoed='+data) } + diff --git a/psdc-ui/src/views/system/boiler/index.vue b/psdc-ui/src/views/system/boiler/index.vue new file mode 100644 index 0000000..632b662 --- /dev/null +++ b/psdc-ui/src/views/system/boiler/index.vue @@ -0,0 +1,704 @@ + + + + 占比 + + + + + + + + + + + + + + + 需求信息 + + + + + + + + + + + + + + + 原设备信息 + + + + + + + + + + + + + + + 配电信息 + + + + + + + + + + + + + + + + + + + + + + + 计 算 + 重 置 + + + + 方案评分 + + + + + + + + + + + + + + + 最佳方案:{{result.planName}} + + + + 一、整体情况 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 二、方案优势 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 三、需配置设备情况 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 四、Json + + + + + + + + + + 产品库 + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/psdc-ui/src/views/system/building/index.vue b/psdc-ui/src/views/system/building/index.vue new file mode 100644 index 0000000..03d993d --- /dev/null +++ b/psdc-ui/src/views/system/building/index.vue @@ -0,0 +1,698 @@ + + + + 占比 + + + + + + + + + + + + + + + 需求信息 + + + + + + + + + + + + + + + 原设备信息 + + + + + + + + + + 配电信息 + + + + + + + + + + + + + + + + + + + + + + + 计 算 + 重 置 + + + + 方案评分 + + + + + + + + + + + + + + + 最佳方案:{{result.planName}} + + + + 一、整体情况 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 二、方案优势 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 三、需配置设备情况 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 四、Json + + + + + + + + + + 产品库 + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/psdc-ui/src/views/system/kitchen/index.vue b/psdc-ui/src/views/system/kitchen/index.vue new file mode 100644 index 0000000..8e768b8 --- /dev/null +++ b/psdc-ui/src/views/system/kitchen/index.vue @@ -0,0 +1,688 @@ + + + + 占比 + + + + + + + + + + + + + + + 需求信息 + + + + + + + + + + 原设备信息 + + + + + + + + + + 配电信息 + + + + + + + + + + + + + + + + + + + + + + + 计 算 + 重 置 + + + + 方案评分 + + + + + + + + + + + + + + + 最佳方案:{{result.planName}} + + + + 一、整体情况 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 二、方案优势 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 三、需配置设备情况 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 四、Json + + + + + + + + + + 产品库 + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/psdc-ui/src/views/system/model/index.vue b/psdc-ui/src/views/system/model/index.vue index 4a312dc..922acda 100644 --- a/psdc-ui/src/views/system/model/index.vue +++ b/psdc-ui/src/views/system/model/index.vue @@ -74,113 +74,11 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -364,7 +262,7 @@ const role2 = ref(false) const role3 = ref(false) onMounted(()=>{ - getDevList().then((res)=>{ + getDevList('0101').then((res)=>{ options.value=res.data }) }) @@ -545,7 +443,7 @@ const rules = reactive({ }) const addForm = reactive({ id: null, - key:"0lE4R+SpaJ/eoTXTZWDmSxYF22DKuKHLrIQKLwSQgRZ4C5TomOMsyk2/EBxYFqCSOZU6UlfZDBkVtWn1xUqevfE/X4Md4+7oUx7snfSAi58qNb86KAllSUsAM78+JHLM", + key:"BEjYotMIsJnTb29NZPfk973npvgw8AXPGAoe1c4RQSL2MAlo0SVUiAL5SE5tEeWLVpzWpaQTY4iqakUY4CsKuVdVc/jeJNjHCoSCtXikiR8jdTDgwMP0AUIZBhFjfg3+80XK48inw2WYvDkH4NCsU2DbeEWGCrHFHl+usA6c/MTl2xbm9tt/4vETVcaUy4r5LuDIJ777lu6AIv9Lq7I392Dkx8+oEuzODBHYq2BNIN70+e/lgeYIm4lpEzzyRU47", devType: null,//电锅炉or热泵 devSubType: null, devTechType: null, @@ -562,7 +460,7 @@ const addForm = reactive({ heatingArea: null, days: null, hotMedium: null, - type: null, + type: "0101", lastYearNeed: null, runCapacity: null, })