From 6e39dd48ff01c92c5d5162f1020ab3bb128bfe2e Mon Sep 17 00:00:00 2001 From: juzi <819872918@qq.com> Date: Mon, 21 Aug 2023 11:12:23 +0800 Subject: [PATCH 1/4] =?UTF-8?q?=E8=83=BD=E6=BA=90=E9=85=8D=E7=BD=AE&?= =?UTF-8?q?=E8=83=BD=E6=BA=90=E6=8A=84=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/base/energyPlc.js | 70 +++++ src/api/base/energyPlcConnect.js | 54 ++++ src/api/base/energyPlcParam.js | 54 ++++ src/api/base/energyQuantityRealtime.js | 54 ++++ src/api/base/energyType.js | 8 + src/api/monitoring/energyLimit.js | 63 ++++ src/styles/index.scss | 22 +- .../energyPlc/components/energyPlcAdd.vue | 116 +++++++ src/views/energy/base/energyPlc/index.vue | 218 +++++++++++++ .../components/energyPlcConnectAdd.vue | 96 ++++++ .../components/energyPlcParam.vue | 227 ++++++++++++++ .../components/energyPlcParamAdd.vue | 134 ++++++++ .../components/energyPlcParamView.vue | 127 ++++++++ .../energy/base/energyPlcConnect/index.vue | 245 +++++++++++++++ .../base/energyQuantityRealtime/index.vue | 151 +++++++++ src/views/energy/base/energyType/index.vue | 9 +- .../energyLimit/components/InputArea.vue | 37 +++ .../energyLimit/components/TimePickerArea.vue | 43 +++ .../energyLimit/components/energyLimitAdd.vue | 173 ++++++++++ .../energy/monitoring/energyLimit/index.vue | 222 +++++++++++++ .../energy/monitoring/energyLimit/index1.vue | 296 ++++++++++++++++++ src/views/group/base/groupClasses/index.vue | 3 +- 22 files changed, 2416 insertions(+), 6 deletions(-) create mode 100644 src/api/base/energyPlc.js create mode 100644 src/api/base/energyPlcConnect.js create mode 100644 src/api/base/energyPlcParam.js create mode 100644 src/api/base/energyQuantityRealtime.js create mode 100644 src/api/monitoring/energyLimit.js create mode 100644 src/views/energy/base/energyPlc/components/energyPlcAdd.vue create mode 100644 src/views/energy/base/energyPlc/index.vue create mode 100644 src/views/energy/base/energyPlcConnect/components/energyPlcConnectAdd.vue create mode 100644 src/views/energy/base/energyPlcConnect/components/energyPlcParam.vue create mode 100644 src/views/energy/base/energyPlcConnect/components/energyPlcParamAdd.vue create mode 100644 src/views/energy/base/energyPlcConnect/components/energyPlcParamView.vue create mode 100644 src/views/energy/base/energyPlcConnect/index.vue create mode 100644 src/views/energy/base/energyQuantityRealtime/index.vue create mode 100644 src/views/energy/monitoring/energyLimit/components/InputArea.vue create mode 100644 src/views/energy/monitoring/energyLimit/components/TimePickerArea.vue create mode 100644 src/views/energy/monitoring/energyLimit/components/energyLimitAdd.vue create mode 100644 src/views/energy/monitoring/energyLimit/index.vue create mode 100644 src/views/energy/monitoring/energyLimit/index1.vue diff --git a/src/api/base/energyPlc.js b/src/api/base/energyPlc.js new file mode 100644 index 00000000..3af7390f --- /dev/null +++ b/src/api/base/energyPlc.js @@ -0,0 +1,70 @@ +import request from '@/utils/request' + +// 创建能源实时数据库plc相关 +export function createEnergyPlc(data) { + return request({ + url: '/base/energy-plc/create', + method: 'post', + data: data + }) +} + +// 更新能源实时数据库plc相关 +export function updateEnergyPlc(data) { + return request({ + url: '/base/energy-plc/update', + method: 'put', + data: data + }) +} + +// 删除能源实时数据库plc相关 +export function deleteEnergyPlc(id) { + return request({ + url: '/base/energy-plc/delete?id=' + id, + method: 'delete' + }) +} + +// 获得能源实时数据库plc相关 +export function getEnergyPlc(id) { + return request({ + url: '/base/energy-plc/get?id=' + id, + method: 'get' + }) +} + +// 获得实时数据表列表(所有) +export function getEnergyPlcAll() { + return request({ + url: '/base/energy-plc/listAll', + method: 'get' + }) +} + +// 获取关联表编码 +export function getCode() { + return request({ + url: '/base/energy-plc/getCode', + method: 'get' + }) +} + +// 获得能源实时数据库plc相关分页 +export function getEnergyPlcPage(data) { + return request({ + url: '/base/energy-plc/page', + method: 'post', + data: data + }) +} + +// 导出能源实时数据库plc相关 Excel +export function exportEnergyPlcExcel(query) { + return request({ + url: '/base/energy-plc/export-excel', + method: 'get', + params: query, + responseType: 'blob' + }) +} diff --git a/src/api/base/energyPlcConnect.js b/src/api/base/energyPlcConnect.js new file mode 100644 index 00000000..3cac61eb --- /dev/null +++ b/src/api/base/energyPlcConnect.js @@ -0,0 +1,54 @@ +import request from '@/utils/request' + +// 创建能源与对象的关联关系(一对多) +export function createEnergyPlcConnect(data) { + return request({ + url: '/base/energy-plc-connect/create', + method: 'post', + data: data + }) +} + +// 更新能源与对象的关联关系(一对多) +export function updateEnergyPlcConnect(data) { + return request({ + url: '/base/energy-plc-connect/update', + method: 'put', + data: data + }) +} + +// 删除能源与对象的关联关系(一对多) +export function deleteEnergyPlcConnect(id) { + return request({ + url: '/base/energy-plc-connect/delete?id=' + id, + method: 'delete' + }) +} + +// 获得能源与对象的关联关系(一对多) +export function getEnergyPlcConnect(id) { + return request({ + url: '/base/energy-plc-connect/get?id=' + id, + method: 'get' + }) +} + +// 获得能源与对象的关联关系(一对多)分页 +export function getEnergyPlcConnectPage(data) { + return request({ + url: '/base/energy-plc-connect/page', + method: 'post', + data: data + }) +} + +// 导出能源与对象的关联关系(一对多) Excel +export function exportEnergyPlcConnectExcel(query) { + return request({ + url: '/base/energy-plc-connect/export-excel', + method: 'get', + params: query, + responseType: 'blob' + }) +} diff --git a/src/api/base/energyPlcParam.js b/src/api/base/energyPlcParam.js new file mode 100644 index 00000000..4ec7cca9 --- /dev/null +++ b/src/api/base/energyPlcParam.js @@ -0,0 +1,54 @@ +import request from '@/utils/request' + +// 创建能源plc详细点 +export function createEnergyPlcParam(data) { + return request({ + url: '/base/energy-plc-param/create', + method: 'post', + data: data + }) +} + +// 更新能源plc详细点 +export function updateEnergyPlcParam(data) { + return request({ + url: '/base/energy-plc-param/update', + method: 'put', + data: data + }) +} + +// 删除能源plc详细点 +export function deleteEnergyPlcParam(id) { + return request({ + url: '/base/energy-plc-param/delete?id=' + id, + method: 'delete' + }) +} + +// 获得能源plc详细点 +export function getEnergyPlcParam(id) { + return request({ + url: '/base/energy-plc-param/get?id=' + id, + method: 'get' + }) +} + +// 获得能源plc详细点分页 +export function getEnergyPlcParamPage(data) { + return request({ + url: '/base/energy-plc-param/page', + method: 'post', + data: data + }) +} + +// 导出能源plc详细点 Excel +export function exportEnergyPlcParamExcel(query) { + return request({ + url: '/base/energy-plc-param/export-excel', + method: 'get', + params: query, + responseType: 'blob' + }) +} diff --git a/src/api/base/energyQuantityRealtime.js b/src/api/base/energyQuantityRealtime.js new file mode 100644 index 00000000..9ff21be5 --- /dev/null +++ b/src/api/base/energyQuantityRealtime.js @@ -0,0 +1,54 @@ +import request from '@/utils/request' + +// 创建后端统计 能源抄表 实时 +export function createEnergyQuantityRealtime(data) { + return request({ + url: '/base/energy-quantity-realtime/create', + method: 'post', + data: data + }) +} + +// 更新后端统计 能源抄表 实时 +export function updateEnergyQuantityRealtime(data) { + return request({ + url: '/base/energy-quantity-realtime/update', + method: 'put', + data: data + }) +} + +// 删除后端统计 能源抄表 实时 +export function deleteEnergyQuantityRealtime(id) { + return request({ + url: '/base/energy-quantity-realtime/delete?id=' + id, + method: 'delete' + }) +} + +// 获得后端统计 能源抄表 实时 +export function getEnergyQuantityRealtime(id) { + return request({ + url: '/base/energy-quantity-realtime/get?id=' + id, + method: 'get' + }) +} + +// 获得后端统计 能源抄表 实时分页 +export function getEnergyQuantityRealtimePage(data) { + return request({ + url: '/base/energy-quantity-realtime/page', + method: 'post', + data: data + }) +} + +// 导出后端统计 能源抄表 实时 Excel +export function exportEnergyQuantityRealtimeExcel(query) { + return request({ + url: '/base/energy-quantity-realtime/export-excel', + method: 'get', + params: query, + responseType: 'blob' + }) +} diff --git a/src/api/base/energyType.js b/src/api/base/energyType.js index b6dbe552..b8498ccb 100644 --- a/src/api/base/energyType.js +++ b/src/api/base/energyType.js @@ -43,6 +43,14 @@ export function getEnergyTypePage(data) { }) } +// 获得能源类型列表(获取所有) +export function getEnergyTypeListAll() { + return request({ + url: '/base/energy-type/listAll', + method: 'get' + }) +} + // 获得能源类型编码 export function getEnergyTypeCode() { return request({ diff --git a/src/api/monitoring/energyLimit.js b/src/api/monitoring/energyLimit.js new file mode 100644 index 00000000..0e9d2b7f --- /dev/null +++ b/src/api/monitoring/energyLimit.js @@ -0,0 +1,63 @@ +import request from '@/utils/request' + +// 创建能源监控配置 +export function createEnergyLimit(data) { + return request({ + url: '/monitoring/energy-limit/create', + method: 'post', + data: data + }) +} + +// 更新能源监控配置 +export function updateEnergyLimit(data) { + return request({ + url: '/monitoring/energy-limit/update', + method: 'put', + data: data + }) +} + +// 删除能源监控配置 +export function deleteEnergyLimit(id) { + return request({ + url: '/monitoring/energy-limit/delete?id=' + id, + method: 'delete' + }) +} + +// 获得能源监控配置 +export function getEnergyLimit(id) { + return request({ + url: '/monitoring/energy-limit/get?id=' + id, + method: 'get' + }) +} + +// 获得能源监控配置分页 +export function getEnergyLimitPage(data) { + return request({ + url: '/monitoring/energy-limit/page', + method: 'post', + data: data + }) +} + +// 导出能源监控配置 Excel +export function exportEnergyLimitExcel(query) { + return request({ + url: '/monitoring/energy-limit/export-excel', + method: 'get', + params: query, + responseType: 'blob' + }) +} + +// 获取详细参数列表 +export function getEnergyParamList(data) { + return request({ + url: '/monitoring/energy-limit/listParam', + method: 'post', + data: data + }) +} diff --git a/src/styles/index.scss b/src/styles/index.scss index 4fcd5acf..f77398f4 100644 --- a/src/styles/index.scss +++ b/src/styles/index.scss @@ -175,4 +175,24 @@ input, textarea{ ::-webkit-scrollbar-thumb:hover { background-color: rgba(144,147,153,.3); -} \ No newline at end of file +} + +// 抽屉head区域---start +.el-drawer__header { + padding-bottom: 20px; + margin-bottom: 23px; + font-size: 20px; + font-weight: 500; + color: rgba(0,0,0,0.85); + border-bottom: 1px solid rgba(233, 233, 233, 1); +} +.el-drawer__header > :first-child::before { + content: ''; + display: inline-block; + width: 4px; + height: 24px; + background-color: #0b58ff; + margin-right: 8px; + vertical-align: middle; +} +// 抽屉head区域---end \ No newline at end of file diff --git a/src/views/energy/base/energyPlc/components/energyPlcAdd.vue b/src/views/energy/base/energyPlc/components/energyPlcAdd.vue new file mode 100644 index 00000000..043a881d --- /dev/null +++ b/src/views/energy/base/energyPlc/components/energyPlcAdd.vue @@ -0,0 +1,116 @@ + + diff --git a/src/views/energy/base/energyPlc/index.vue b/src/views/energy/base/energyPlc/index.vue new file mode 100644 index 00000000..84629de4 --- /dev/null +++ b/src/views/energy/base/energyPlc/index.vue @@ -0,0 +1,218 @@ + + + diff --git a/src/views/energy/base/energyPlcConnect/components/energyPlcConnectAdd.vue b/src/views/energy/base/energyPlcConnect/components/energyPlcConnectAdd.vue new file mode 100644 index 00000000..a16804c6 --- /dev/null +++ b/src/views/energy/base/energyPlcConnect/components/energyPlcConnectAdd.vue @@ -0,0 +1,96 @@ + + diff --git a/src/views/energy/base/energyPlcConnect/components/energyPlcParam.vue b/src/views/energy/base/energyPlcConnect/components/energyPlcParam.vue new file mode 100644 index 00000000..2e362853 --- /dev/null +++ b/src/views/energy/base/energyPlcConnect/components/energyPlcParam.vue @@ -0,0 +1,227 @@ + + + diff --git a/src/views/energy/base/energyPlcConnect/components/energyPlcParamAdd.vue b/src/views/energy/base/energyPlcConnect/components/energyPlcParamAdd.vue new file mode 100644 index 00000000..428b165e --- /dev/null +++ b/src/views/energy/base/energyPlcConnect/components/energyPlcParamAdd.vue @@ -0,0 +1,134 @@ + + diff --git a/src/views/energy/base/energyPlcConnect/components/energyPlcParamView.vue b/src/views/energy/base/energyPlcConnect/components/energyPlcParamView.vue new file mode 100644 index 00000000..2838751a --- /dev/null +++ b/src/views/energy/base/energyPlcConnect/components/energyPlcParamView.vue @@ -0,0 +1,127 @@ + + + diff --git a/src/views/energy/base/energyPlcConnect/index.vue b/src/views/energy/base/energyPlcConnect/index.vue new file mode 100644 index 00000000..83dec1c6 --- /dev/null +++ b/src/views/energy/base/energyPlcConnect/index.vue @@ -0,0 +1,245 @@ + + + diff --git a/src/views/energy/base/energyQuantityRealtime/index.vue b/src/views/energy/base/energyQuantityRealtime/index.vue new file mode 100644 index 00000000..991b2da1 --- /dev/null +++ b/src/views/energy/base/energyQuantityRealtime/index.vue @@ -0,0 +1,151 @@ + + + diff --git a/src/views/energy/base/energyType/index.vue b/src/views/energy/base/energyType/index.vue index c3c10dd4..428fb11d 100644 --- a/src/views/energy/base/energyType/index.vue +++ b/src/views/energy/base/energyType/index.vue @@ -44,14 +44,15 @@ + diff --git a/src/views/energy/monitoring/energyLimit/components/TimePickerArea.vue b/src/views/energy/monitoring/energyLimit/components/TimePickerArea.vue new file mode 100644 index 00000000..d3b6810b --- /dev/null +++ b/src/views/energy/monitoring/energyLimit/components/TimePickerArea.vue @@ -0,0 +1,43 @@ + + + diff --git a/src/views/energy/monitoring/energyLimit/components/energyLimitAdd.vue b/src/views/energy/monitoring/energyLimit/components/energyLimitAdd.vue new file mode 100644 index 00000000..ac5caa91 --- /dev/null +++ b/src/views/energy/monitoring/energyLimit/components/energyLimitAdd.vue @@ -0,0 +1,173 @@ + + diff --git a/src/views/energy/monitoring/energyLimit/index.vue b/src/views/energy/monitoring/energyLimit/index.vue new file mode 100644 index 00000000..2073a279 --- /dev/null +++ b/src/views/energy/monitoring/energyLimit/index.vue @@ -0,0 +1,222 @@ + + + diff --git a/src/views/energy/monitoring/energyLimit/index1.vue b/src/views/energy/monitoring/energyLimit/index1.vue new file mode 100644 index 00000000..1b5a9032 --- /dev/null +++ b/src/views/energy/monitoring/energyLimit/index1.vue @@ -0,0 +1,296 @@ + + + diff --git a/src/views/group/base/groupClasses/index.vue b/src/views/group/base/groupClasses/index.vue index 7e832602..cf629042 100644 --- a/src/views/group/base/groupClasses/index.vue +++ b/src/views/group/base/groupClasses/index.vue @@ -60,7 +60,8 @@ const tableProps = [ }, { prop: 'timeStr', - label: '班次时间' + label: '班次时间', + minWidth: 100 }, { prop: 'code', From 01fe2da52377e26ac7d98bf6957e63583053e595 Mon Sep 17 00:00:00 2001 From: juzi <819872918@qq.com> Date: Fri, 25 Aug 2023 16:27:46 +0800 Subject: [PATCH 2/4] =?UTF-8?q?=E8=83=BD=E6=BA=90=E7=9B=91=E6=8E=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/base/energyQuantityRealtime.js | 6 +- src/api/base/factory.js | 8 + src/api/monitoring/energyOverlimitLog.js | 54 ++++ src/api/monitoring/energyReport.js | 37 +++ src/api/monitoring/energyStatistics.js | 62 ++++ src/api/monitoring/energyStatisticsDet.js | 72 +++++ src/utils/dict.js | 5 +- .../components/energyPlcConnectAdd.vue | 100 ++++-- .../components/energyPlcParam.vue | 30 +- .../components/energyPlcParamView.vue | 127 -------- .../energy/base/energyPlcConnect/index.vue | 25 +- .../base/energyQuantityRealtime/index.vue | 32 +- .../energyLimit/components/energyLimitAdd.vue | 155 ++++----- .../energy/monitoring/energyLimit/index.vue | 51 ++- .../energy/monitoring/energyLimit/index1.vue | 296 ------------------ .../monitoring/energyOverlimitLog/index.vue | 152 +++++++++ .../energy/monitoring/energyReport/index.vue | 193 ++++++++++++ .../monitoring/energyReportSearch/index.vue | 168 ++++++++++ .../components/energyStatisticsAdd.vue | 128 ++++++++ .../components/energyStatisticsDet.vue | 223 +++++++++++++ .../components/energyStatisticsDetAdd.vue | 174 ++++++++++ .../monitoring/energyStatistics/index.vue | 245 +++++++++++++++ 22 files changed, 1767 insertions(+), 576 deletions(-) create mode 100644 src/api/base/factory.js create mode 100644 src/api/monitoring/energyOverlimitLog.js create mode 100644 src/api/monitoring/energyReport.js create mode 100644 src/api/monitoring/energyStatistics.js create mode 100644 src/api/monitoring/energyStatisticsDet.js delete mode 100644 src/views/energy/base/energyPlcConnect/components/energyPlcParamView.vue delete mode 100644 src/views/energy/monitoring/energyLimit/index1.vue create mode 100644 src/views/energy/monitoring/energyOverlimitLog/index.vue create mode 100644 src/views/energy/monitoring/energyReport/index.vue create mode 100644 src/views/energy/monitoring/energyReportSearch/index.vue create mode 100644 src/views/energy/monitoring/energyStatistics/components/energyStatisticsAdd.vue create mode 100644 src/views/energy/monitoring/energyStatistics/components/energyStatisticsDet.vue create mode 100644 src/views/energy/monitoring/energyStatistics/components/energyStatisticsDetAdd.vue create mode 100644 src/views/energy/monitoring/energyStatistics/index.vue diff --git a/src/api/base/energyQuantityRealtime.js b/src/api/base/energyQuantityRealtime.js index 9ff21be5..03f10fdc 100644 --- a/src/api/base/energyQuantityRealtime.js +++ b/src/api/base/energyQuantityRealtime.js @@ -44,11 +44,11 @@ export function getEnergyQuantityRealtimePage(data) { } // 导出后端统计 能源抄表 实时 Excel -export function exportEnergyQuantityRealtimeExcel(query) { +export function exportEnergyQuantityRealtimeExcel(data) { return request({ url: '/base/energy-quantity-realtime/export-excel', - method: 'get', - params: query, + method: 'post', + data: data, responseType: 'blob' }) } diff --git a/src/api/base/factory.js b/src/api/base/factory.js new file mode 100644 index 00000000..76829191 --- /dev/null +++ b/src/api/base/factory.js @@ -0,0 +1,8 @@ +import request from '@/utils/request' +// 获得工厂产线工段设备树形结构 +export function getTree() { + return request({ + url: '/base/factory/getTree', + method: 'get' + }) +} \ No newline at end of file diff --git a/src/api/monitoring/energyOverlimitLog.js b/src/api/monitoring/energyOverlimitLog.js new file mode 100644 index 00000000..4605a675 --- /dev/null +++ b/src/api/monitoring/energyOverlimitLog.js @@ -0,0 +1,54 @@ +import request from '@/utils/request' + +// 创建能源超限记录 +export function createEnergyOverlimitLog(data) { + return request({ + url: '/monitoring/energy-overlimit-log/create', + method: 'post', + data: data + }) +} + +// 更新能源超限记录 +export function updateEnergyOverlimitLog(data) { + return request({ + url: '/monitoring/energy-overlimit-log/update', + method: 'put', + data: data + }) +} + +// 删除能源超限记录 +export function deleteEnergyOverlimitLog(id) { + return request({ + url: '/monitoring/energy-overlimit-log/delete?id=' + id, + method: 'delete' + }) +} + +// 获得能源超限记录 +export function getEnergyOverlimitLog(id) { + return request({ + url: '/monitoring/energy-overlimit-log/get?id=' + id, + method: 'get' + }) +} + +// 获得能源超限记录分页 +export function getEnergyOverlimitLogPage(data) { + return request({ + url: '/monitoring/energy-overlimit-log/page', + method: 'post', + data: data + }) +} + +// 导出能源超限记录 Excel +export function exportEnergyOverlimitLogExcel(query) { + return request({ + url: '/monitoring/energy-overlimit-log/export-excel', + method: 'get', + params: query, + responseType: 'blob' + }) +} diff --git a/src/api/monitoring/energyReport.js b/src/api/monitoring/energyReport.js new file mode 100644 index 00000000..89dde91f --- /dev/null +++ b/src/api/monitoring/energyReport.js @@ -0,0 +1,37 @@ +import request from '@/utils/request' + +// 获得能耗统计查询分页 +export function energyReportPage(data) { + return request({ + url: '/monitoring/energy-report/page', + method: 'post', + data: data + }) +} + +// 获得能耗统计报表分页 +export function energyReportPageAuto(data) { + return request({ + url: '/monitoring/energy-report/pageAuto', + method: 'post', + data: data + }) +} + +// 导出能耗统计查询 +export function energyReportPageExport(data) { + return request({ + url: '/monitoring/energy-report/export', + method: 'post', + data: data + }) +} + +// 导出能耗统计报表 +export function energyReportPageExportAuto(data) { + return request({ + url: '/monitoring/energy-report/exportAuto', + method: 'post', + data: data + }) +} \ No newline at end of file diff --git a/src/api/monitoring/energyStatistics.js b/src/api/monitoring/energyStatistics.js new file mode 100644 index 00000000..578fdebd --- /dev/null +++ b/src/api/monitoring/energyStatistics.js @@ -0,0 +1,62 @@ +import request from '@/utils/request' + +// 创建能源统计主 +export function createEnergyStatistics(data) { + return request({ + url: '/monitoring/energy-statistics/create', + method: 'post', + data: data + }) +} + +// 更新能源统计主 +export function updateEnergyStatistics(data) { + return request({ + url: '/monitoring/energy-statistics/update', + method: 'put', + data: data + }) +} + +// 删除能源统计主 +export function deleteEnergyStatistics(id) { + return request({ + url: '/monitoring/energy-statistics/delete?id=' + id, + method: 'delete' + }) +} + +// 获得能源统计主 +export function getEnergyStatistics(id) { + return request({ + url: '/monitoring/energy-statistics/get?id=' + id, + method: 'get' + }) +} + +// 获得能源统计主分页 +export function getEnergyStatisticsPage(data) { + return request({ + url: '/monitoring/energy-statistics/page', + method: 'post', + data: data + }) +} + +// 导出能源统计主 Excel +export function exportEnergyStatisticsExcel(query) { + return request({ + url: '/monitoring/energy-statistics/export-excel', + method: 'get', + params: query, + responseType: 'blob' + }) +} + +// 获取编码 +export function getCode() { + return request({ + url: '/monitoring/energy-statistics/getCode', + method: 'get' + }) +} diff --git a/src/api/monitoring/energyStatisticsDet.js b/src/api/monitoring/energyStatisticsDet.js new file mode 100644 index 00000000..524f838f --- /dev/null +++ b/src/api/monitoring/energyStatisticsDet.js @@ -0,0 +1,72 @@ +import request from '@/utils/request' + +// 创建能源统计详细表 +export function createEnergyStatisticsDet(data) { + return request({ + url: '/monitoring/energy-statistics-det/create', + method: 'post', + data: data + }) +} + +// 更新能源统计详细表 +export function updateEnergyStatisticsDet(data) { + return request({ + url: '/monitoring/energy-statistics-det/update', + method: 'put', + data: data + }) +} + +// 删除能源统计详细表 +export function deleteEnergyStatisticsDet(id) { + return request({ + url: '/monitoring/energy-statistics-det/delete?id=' + id, + method: 'delete' + }) +} + +// 获得能源统计详细表 +export function getEnergyStatisticsDet(id) { + return request({ + url: '/monitoring/energy-statistics-det/get?id=' + id, + method: 'get' + }) +} + +// 获得能源统计详细表分页 +export function getEnergyStatisticsDetPage(data) { + return request({ + url: '/monitoring/energy-statistics-det/page', + method: 'post', + data: data + }) +} + +// 导出能源统计详细表 Excel +export function exportEnergyStatisticsDetExcel(query) { + return request({ + url: '/monitoring/energy-statistics-det/export-excel', + method: 'get', + params: query, + responseType: 'blob' + }) +} + +// 获得 新增参数关联 分页 +export function addParamPage(data) { + return request({ + url: '/monitoring/energy-statistics-det/addParamPage', + method: 'post', + data: data + }) +} + +// 删除(批量) +export function deleteMany(data) { + return request({ + url: '/monitoring/energy-statistics-det/deleteMany', + method: 'post', + data: data + }) +} \ No newline at end of file diff --git a/src/utils/dict.js b/src/utils/dict.js index aa6c9f58..cd20bbbd 100644 --- a/src/utils/dict.js +++ b/src/utils/dict.js @@ -88,7 +88,10 @@ export const DICT_TYPE = { PRODUCT_TYPE: 'product_type', // ============== ENERGY - 能源模块 ============= - ENERGY_UNIT: 'energy_unit' + ENERGY_UNIT: 'energy_unit', + MONITOR_INDEX_TYPE: 'monitor_index_type', + OBJECT_TYPE: 'object_type', + STATISTIC_TYPE: 'statistic_type' } /** diff --git a/src/views/energy/base/energyPlcConnect/components/energyPlcConnectAdd.vue b/src/views/energy/base/energyPlcConnect/components/energyPlcConnectAdd.vue index a16804c6..d94c6478 100644 --- a/src/views/energy/base/energyPlcConnect/components/energyPlcConnectAdd.vue +++ b/src/views/energy/base/energyPlcConnect/components/energyPlcConnectAdd.vue @@ -1,24 +1,28 @@ + \ No newline at end of file diff --git a/src/views/energy/base/energyPlcConnect/components/energyPlcParam.vue b/src/views/energy/base/energyPlcConnect/components/energyPlcParam.vue index 2e362853..41b9cd36 100644 --- a/src/views/energy/base/energyPlcConnect/components/energyPlcParam.vue +++ b/src/views/energy/base/energyPlcConnect/components/energyPlcParam.vue @@ -7,9 +7,9 @@ - + - + 新增 @@ -105,7 +105,7 @@ export default { connectId: null }, plcTableName: '', - bindObjectType: '', + objName: '', // 弹出层标题 addOrEditTitle: "", // 是否显示弹出层 @@ -128,7 +128,7 @@ export default { this.visible = true this.queryParams.connectId = data.id this.plcTableName = data.plcTableName - this.bindObjectType = data.bindObjectType + this.objName = data.objName this.getList() if (title === 'view') { this.showBtn = false @@ -136,19 +136,15 @@ export default { } else { this.showBtn = true this.tableBtn = [ - this.$auth.hasPermi('base:energy-plc-param:update') - ? { - type: 'edit', - btnName: '编辑' - } - : undefined, - this.$auth.hasPermi('base:energy-plc-param:delete') - ? { - type: 'delete', - btnName: '删除' - } - : undefined - ].filter((v) => v) + { + type: 'edit', + btnName: '编辑' + }, + { + type: 'delete', + btnName: '删除' + } + ] } }, getList() { diff --git a/src/views/energy/base/energyPlcConnect/components/energyPlcParamView.vue b/src/views/energy/base/energyPlcConnect/components/energyPlcParamView.vue deleted file mode 100644 index 2838751a..00000000 --- a/src/views/energy/base/energyPlcConnect/components/energyPlcParamView.vue +++ /dev/null @@ -1,127 +0,0 @@ - - - diff --git a/src/views/energy/base/energyPlcConnect/index.vue b/src/views/energy/base/energyPlcConnect/index.vue index 83dec1c6..10d90aec 100644 --- a/src/views/energy/base/energyPlcConnect/index.vue +++ b/src/views/energy/base/energyPlcConnect/index.vue @@ -38,7 +38,7 @@ @confirm="handleConfirm" :before-close="handleCancel" > - + @@ -48,16 +48,17 @@ + diff --git a/src/views/energy/monitoring/energyLimit/index.vue b/src/views/energy/monitoring/energyLimit/index.vue index 2073a279..04e8f497 100644 --- a/src/views/energy/monitoring/energyLimit/index.vue +++ b/src/views/energy/monitoring/energyLimit/index.vue @@ -38,7 +38,7 @@ @confirm="handleConfirm" :before-close="handleCancel" > - + @@ -46,13 +46,19 @@ diff --git a/src/views/energy/monitoring/energyOverlimitLog/index.vue b/src/views/energy/monitoring/energyOverlimitLog/index.vue new file mode 100644 index 00000000..9ed41515 --- /dev/null +++ b/src/views/energy/monitoring/energyOverlimitLog/index.vue @@ -0,0 +1,152 @@ + + + diff --git a/src/views/energy/monitoring/energyReport/index.vue b/src/views/energy/monitoring/energyReport/index.vue new file mode 100644 index 00000000..6065a67e --- /dev/null +++ b/src/views/energy/monitoring/energyReport/index.vue @@ -0,0 +1,193 @@ + + + diff --git a/src/views/energy/monitoring/energyReportSearch/index.vue b/src/views/energy/monitoring/energyReportSearch/index.vue new file mode 100644 index 00000000..08e6256e --- /dev/null +++ b/src/views/energy/monitoring/energyReportSearch/index.vue @@ -0,0 +1,168 @@ + + + diff --git a/src/views/energy/monitoring/energyStatistics/components/energyStatisticsAdd.vue b/src/views/energy/monitoring/energyStatistics/components/energyStatisticsAdd.vue new file mode 100644 index 00000000..0326ec95 --- /dev/null +++ b/src/views/energy/monitoring/energyStatistics/components/energyStatisticsAdd.vue @@ -0,0 +1,128 @@ + + diff --git a/src/views/energy/monitoring/energyStatistics/components/energyStatisticsDet.vue b/src/views/energy/monitoring/energyStatistics/components/energyStatisticsDet.vue new file mode 100644 index 00000000..c5e6249d --- /dev/null +++ b/src/views/energy/monitoring/energyStatistics/components/energyStatisticsDet.vue @@ -0,0 +1,223 @@ + + + diff --git a/src/views/energy/monitoring/energyStatistics/components/energyStatisticsDetAdd.vue b/src/views/energy/monitoring/energyStatistics/components/energyStatisticsDetAdd.vue new file mode 100644 index 00000000..1e3ce28e --- /dev/null +++ b/src/views/energy/monitoring/energyStatistics/components/energyStatisticsDetAdd.vue @@ -0,0 +1,174 @@ + + + diff --git a/src/views/energy/monitoring/energyStatistics/index.vue b/src/views/energy/monitoring/energyStatistics/index.vue new file mode 100644 index 00000000..b4abedbe --- /dev/null +++ b/src/views/energy/monitoring/energyStatistics/index.vue @@ -0,0 +1,245 @@ + + + From 9c59a7e7156245ec28f5800a5743ec5c599ec194 Mon Sep 17 00:00:00 2001 From: juzi <819872918@qq.com> Date: Tue, 5 Sep 2023 15:45:59 +0800 Subject: [PATCH 3/4] =?UTF-8?q?=E8=83=BD=E6=BA=90=E5=88=86=E6=9E=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 + src/api/analysis/energyAnalysis.js | 37 ++ src/api/monitoring/energyReport.js | 6 +- src/utils/chartMixins/resize.js | 64 +++ src/utils/debounce.js | 40 ++ src/utils/dict.js | 3 +- .../contrastAnalysis/components/barChart.vue | 77 ++++ .../contrastAnalysis/components/lineChart.vue | 78 ++++ .../components/searchArea.vue | 363 +++++++++++++++++ .../analysis/contrastAnalysis/index.vue | 64 +++ .../qoqAnalysis/components/lineChart.vue | 109 ++++++ .../qoqAnalysis/components/searchArea.vue | 181 +++++++++ .../energy/analysis/qoqAnalysis/index.vue | 109 ++++++ .../trendAnalysis/components/barChart.vue | 77 ++++ .../trendAnalysis/components/lineChart.vue | 78 ++++ .../trendAnalysis/components/searchArea.vue | 364 ++++++++++++++++++ .../energy/analysis/trendAnalysis/index.vue | 64 +++ .../yoyAnalysis/components/lineChart.vue | 104 +++++ .../yoyAnalysis/components/searchArea.vue | 156 ++++++++ .../energy/analysis/yoyAnalysis/index.vue | 116 ++++++ .../energy/base/energyPlcConnect/index.vue | 10 +- .../base/energyQuantityRealtime/index.vue | 1 + .../energyLimit/components/energyLimitAdd.vue | 51 ++- .../energy/monitoring/energyLimit/index.vue | 2 +- .../energy/monitoring/energyReport/index.vue | 56 +-- .../monitoring/energyReportSearch/index.vue | 76 ++-- .../components/energyStatisticsDet.vue | 4 + .../components/energyStatisticsDetAdd.vue | 4 + src/views/group/base/groupTeam/index.vue | 8 +- 29 files changed, 2203 insertions(+), 100 deletions(-) create mode 100644 src/api/analysis/energyAnalysis.js create mode 100644 src/utils/chartMixins/resize.js create mode 100644 src/utils/debounce.js create mode 100644 src/views/energy/analysis/contrastAnalysis/components/barChart.vue create mode 100644 src/views/energy/analysis/contrastAnalysis/components/lineChart.vue create mode 100644 src/views/energy/analysis/contrastAnalysis/components/searchArea.vue create mode 100644 src/views/energy/analysis/contrastAnalysis/index.vue create mode 100644 src/views/energy/analysis/qoqAnalysis/components/lineChart.vue create mode 100644 src/views/energy/analysis/qoqAnalysis/components/searchArea.vue create mode 100644 src/views/energy/analysis/qoqAnalysis/index.vue create mode 100644 src/views/energy/analysis/trendAnalysis/components/barChart.vue create mode 100644 src/views/energy/analysis/trendAnalysis/components/lineChart.vue create mode 100644 src/views/energy/analysis/trendAnalysis/components/searchArea.vue create mode 100644 src/views/energy/analysis/trendAnalysis/index.vue create mode 100644 src/views/energy/analysis/yoyAnalysis/components/lineChart.vue create mode 100644 src/views/energy/analysis/yoyAnalysis/components/searchArea.vue create mode 100644 src/views/energy/analysis/yoyAnalysis/index.vue diff --git a/package.json b/package.json index b7ef11cc..5bb88d64 100644 --- a/package.json +++ b/package.json @@ -74,6 +74,7 @@ "vue-video-player": "^5.0.2", "vuedraggable": "2.24.3", "vuex": "3.6.2", + "xlsx": "^0.18.5", "xml-js": "1.6.11" }, "devDependencies": { diff --git a/src/api/analysis/energyAnalysis.js b/src/api/analysis/energyAnalysis.js new file mode 100644 index 00000000..16e466bd --- /dev/null +++ b/src/api/analysis/energyAnalysis.js @@ -0,0 +1,37 @@ +import request from '@/utils/request' + +// 获取走势分析数据 +export function getEnergyTrend(data) { + return request({ + url: '/analysis/energy-analysis/getTrend', + method: 'post', + data: data + }) +} + +// 获取对比分析数据 +export function getCompare(data) { + return request({ + url: '/analysis/energy-analysis/getCompare', + method: 'post', + data: data + }) +} + +// 获取同比分析数据(1:季度,2:月;3:日) +export function getYoy(data) { + return request({ + url: '/analysis/energy-analysis/getYoy', + method: 'post', + data: data + }) +} + +// 获取环比分析数据(1:月,2:周,3:日) +export function getQoq(data) { + return request({ + url: '/analysis/energy-analysis/getChain', + method: 'post', + data: data + }) +} \ No newline at end of file diff --git a/src/api/monitoring/energyReport.js b/src/api/monitoring/energyReport.js index 89dde91f..1e585b22 100644 --- a/src/api/monitoring/energyReport.js +++ b/src/api/monitoring/energyReport.js @@ -23,7 +23,8 @@ export function energyReportPageExport(data) { return request({ url: '/monitoring/energy-report/export', method: 'post', - data: data + data: data, + responseType: 'blob' }) } @@ -32,6 +33,7 @@ export function energyReportPageExportAuto(data) { return request({ url: '/monitoring/energy-report/exportAuto', method: 'post', - data: data + data: data, + responseType: 'blob' }) } \ No newline at end of file diff --git a/src/utils/chartMixins/resize.js b/src/utils/chartMixins/resize.js new file mode 100644 index 00000000..e77f0a4f --- /dev/null +++ b/src/utils/chartMixins/resize.js @@ -0,0 +1,64 @@ +import { debounce } from '@/utils/debounce' + +export default { + data() { + return { + $_sidebarElm: null, + $_resizeHandler: null + } + }, + mounted() { + this.$_resizeHandler = debounce(() => { + if (this.chart) { + this.chart.resize() + } + }, 100) + this.$_initResizeEvent() + this.$_initSidebarResizeEvent() + }, + beforeDestroy() { + this.$_destroyResizeEvent() + this.$_destroySidebarResizeEvent() + }, + // to fixed bug when cached by keep-alive + // https://github.com/PanJiaChen/vue-element-admin/issues/2116 + activated() { + this.$_initResizeEvent() + this.$_initSidebarResizeEvent() + }, + deactivated() { + this.$_destroyResizeEvent() + this.$_destroySidebarResizeEvent() + }, + methods: { + // use $_ for mixins properties + // https://vuejs.org/v2/style-guide/index.html#Private-property-names-essential + $_initResizeEvent() { + window.addEventListener('resize', this.$_resizeHandler) + }, + $_destroyResizeEvent() { + window.removeEventListener('resize', this.$_resizeHandler) + }, + $_sidebarResizeHandler(e) { + if (e.propertyName === 'width') { + this.$_resizeHandler() + } + }, + $_initSidebarResizeEvent() { + this.$_sidebarElm = + document.getElementsByClassName('sidebar-container')[0] + this.$_sidebarElm && + this.$_sidebarElm.addEventListener( + 'transitionend', + this.$_sidebarResizeHandler + ) + }, + $_destroySidebarResizeEvent() { + this.$_sidebarElm && + this.$_sidebarElm.removeEventListener( + 'transitionend', + this.$_sidebarResizeHandler + ) + } + } +} diff --git a/src/utils/debounce.js b/src/utils/debounce.js new file mode 100644 index 00000000..7d325fc1 --- /dev/null +++ b/src/utils/debounce.js @@ -0,0 +1,40 @@ +/** + * @param {Function} func + * @param {number} wait + * @param {boolean} immediate + * @return {*} + */ +export function debounce(func, wait, immediate) { + let timeout, args, context, timestamp, result + + const later = function () { + // 据上一次触发时间间隔 + const last = +new Date() - timestamp + + // 上次被包装函数被调用时间间隔 last 小于设定时间间隔 wait + if (last < wait && last > 0) { + timeout = setTimeout(later, wait - last) + } else { + timeout = null + // 如果设定为immediate===true,因为开始边界已经调用过了此处无需调用 + if (!immediate) { + result = func.apply(context, args) + if (!timeout) context = args = null + } + } + } + + return function (...args) { + context = this + timestamp = +new Date() + const callNow = immediate && !timeout + // 如果延时不存在,重新设定延时 + if (!timeout) timeout = setTimeout(later, wait) + if (callNow) { + result = func.apply(context, args) + context = args = null + } + + return result + } +} diff --git a/src/utils/dict.js b/src/utils/dict.js index cd20bbbd..efd89ef3 100644 --- a/src/utils/dict.js +++ b/src/utils/dict.js @@ -91,7 +91,8 @@ export const DICT_TYPE = { ENERGY_UNIT: 'energy_unit', MONITOR_INDEX_TYPE: 'monitor_index_type', OBJECT_TYPE: 'object_type', - STATISTIC_TYPE: 'statistic_type' + STATISTIC_TYPE: 'statistic_type', + TIME_DIM: 'time_dim' } /** diff --git a/src/views/energy/analysis/contrastAnalysis/components/barChart.vue b/src/views/energy/analysis/contrastAnalysis/components/barChart.vue new file mode 100644 index 00000000..ecb26ae1 --- /dev/null +++ b/src/views/energy/analysis/contrastAnalysis/components/barChart.vue @@ -0,0 +1,77 @@ + + \ No newline at end of file diff --git a/src/views/energy/analysis/contrastAnalysis/components/lineChart.vue b/src/views/energy/analysis/contrastAnalysis/components/lineChart.vue new file mode 100644 index 00000000..593017aa --- /dev/null +++ b/src/views/energy/analysis/contrastAnalysis/components/lineChart.vue @@ -0,0 +1,78 @@ + + \ No newline at end of file diff --git a/src/views/energy/analysis/contrastAnalysis/components/searchArea.vue b/src/views/energy/analysis/contrastAnalysis/components/searchArea.vue new file mode 100644 index 00000000..bfe7af22 --- /dev/null +++ b/src/views/energy/analysis/contrastAnalysis/components/searchArea.vue @@ -0,0 +1,363 @@ + + + \ No newline at end of file diff --git a/src/views/energy/analysis/contrastAnalysis/index.vue b/src/views/energy/analysis/contrastAnalysis/index.vue new file mode 100644 index 00000000..69bf6c49 --- /dev/null +++ b/src/views/energy/analysis/contrastAnalysis/index.vue @@ -0,0 +1,64 @@ + + \ No newline at end of file diff --git a/src/views/energy/analysis/qoqAnalysis/components/lineChart.vue b/src/views/energy/analysis/qoqAnalysis/components/lineChart.vue new file mode 100644 index 00000000..64968301 --- /dev/null +++ b/src/views/energy/analysis/qoqAnalysis/components/lineChart.vue @@ -0,0 +1,109 @@ + + \ No newline at end of file diff --git a/src/views/energy/analysis/qoqAnalysis/components/searchArea.vue b/src/views/energy/analysis/qoqAnalysis/components/searchArea.vue new file mode 100644 index 00000000..9eea64d3 --- /dev/null +++ b/src/views/energy/analysis/qoqAnalysis/components/searchArea.vue @@ -0,0 +1,181 @@ + + + + \ No newline at end of file diff --git a/src/views/energy/analysis/qoqAnalysis/index.vue b/src/views/energy/analysis/qoqAnalysis/index.vue new file mode 100644 index 00000000..0a76dd41 --- /dev/null +++ b/src/views/energy/analysis/qoqAnalysis/index.vue @@ -0,0 +1,109 @@ + + \ No newline at end of file diff --git a/src/views/energy/analysis/trendAnalysis/components/barChart.vue b/src/views/energy/analysis/trendAnalysis/components/barChart.vue new file mode 100644 index 00000000..ecb26ae1 --- /dev/null +++ b/src/views/energy/analysis/trendAnalysis/components/barChart.vue @@ -0,0 +1,77 @@ + + \ No newline at end of file diff --git a/src/views/energy/analysis/trendAnalysis/components/lineChart.vue b/src/views/energy/analysis/trendAnalysis/components/lineChart.vue new file mode 100644 index 00000000..593017aa --- /dev/null +++ b/src/views/energy/analysis/trendAnalysis/components/lineChart.vue @@ -0,0 +1,78 @@ + + \ No newline at end of file diff --git a/src/views/energy/analysis/trendAnalysis/components/searchArea.vue b/src/views/energy/analysis/trendAnalysis/components/searchArea.vue new file mode 100644 index 00000000..fa75aea6 --- /dev/null +++ b/src/views/energy/analysis/trendAnalysis/components/searchArea.vue @@ -0,0 +1,364 @@ + + + \ No newline at end of file diff --git a/src/views/energy/analysis/trendAnalysis/index.vue b/src/views/energy/analysis/trendAnalysis/index.vue new file mode 100644 index 00000000..059ecfed --- /dev/null +++ b/src/views/energy/analysis/trendAnalysis/index.vue @@ -0,0 +1,64 @@ + + \ No newline at end of file diff --git a/src/views/energy/analysis/yoyAnalysis/components/lineChart.vue b/src/views/energy/analysis/yoyAnalysis/components/lineChart.vue new file mode 100644 index 00000000..6d80bd0e --- /dev/null +++ b/src/views/energy/analysis/yoyAnalysis/components/lineChart.vue @@ -0,0 +1,104 @@ + + \ No newline at end of file diff --git a/src/views/energy/analysis/yoyAnalysis/components/searchArea.vue b/src/views/energy/analysis/yoyAnalysis/components/searchArea.vue new file mode 100644 index 00000000..2b2a74be --- /dev/null +++ b/src/views/energy/analysis/yoyAnalysis/components/searchArea.vue @@ -0,0 +1,156 @@ + + + + \ No newline at end of file diff --git a/src/views/energy/analysis/yoyAnalysis/index.vue b/src/views/energy/analysis/yoyAnalysis/index.vue new file mode 100644 index 00000000..2a697c6a --- /dev/null +++ b/src/views/energy/analysis/yoyAnalysis/index.vue @@ -0,0 +1,116 @@ + + \ No newline at end of file diff --git a/src/views/energy/base/energyPlcConnect/index.vue b/src/views/energy/base/energyPlcConnect/index.vue index 10d90aec..539e7436 100644 --- a/src/views/energy/base/energyPlcConnect/index.vue +++ b/src/views/energy/base/energyPlcConnect/index.vue @@ -50,7 +50,7 @@ import { getEnergyPlcConnectPage, deleteEnergyPlcConnect } from "@/api/base/ener // import { publicFormatter } from '@/utils/dict' import { getTree } from '@/api/base/factory' import { getEnergyTypeListAll } from '@/api/base/energyType' -import EnergyPlcConnectAdd from './components/energyPlcConnectAdd.vue' +import EnergyPlcConnectAdd from './components/energyPlcConnectAdd' import EnergyPlcParam from './components/energyPlcParam' const tableProps = [ { @@ -61,6 +61,10 @@ const tableProps = [ prop: 'objCode', label: '对象编码' }, + { + prop: 'remark', + label: '对象备注' + }, { prop: 'plcTableName', label: '关联表名' @@ -76,10 +80,6 @@ const tableProps = [ { prop: 'varNum', label: '绑定参数数量' - }, - { - prop: 'remark', - label: '备注' } ] export default { diff --git a/src/views/energy/base/energyQuantityRealtime/index.vue b/src/views/energy/base/energyQuantityRealtime/index.vue index 835fc656..d642fa61 100644 --- a/src/views/energy/base/energyQuantityRealtime/index.vue +++ b/src/views/energy/base/energyQuantityRealtime/index.vue @@ -137,6 +137,7 @@ export default { this.$modal.confirm('是否确认导出').then(() => { return exportEnergyQuantityRealtimeExcel({...this.queryParams}); }).then(response => { + console.log(response) this.$download.excel(response, '能源抄表.xls'); }).catch(() => {}) } diff --git a/src/views/energy/monitoring/energyLimit/components/energyLimitAdd.vue b/src/views/energy/monitoring/energyLimit/components/energyLimitAdd.vue index aff1a102..0ee81797 100644 --- a/src/views/energy/monitoring/energyLimit/components/energyLimitAdd.vue +++ b/src/views/energy/monitoring/energyLimit/components/energyLimitAdd.vue @@ -27,12 +27,12 @@ - + + v-for="item in detailList" + :key="item.id" + :label="item.name" + :value="item.id"> @@ -52,7 +52,7 @@ + \ No newline at end of file diff --git a/src/views/group/base/groupTeamScheduling/index copy.vue b/src/views/group/base/groupTeamScheduling/index copy.vue deleted file mode 100644 index 6346df1f..00000000 --- a/src/views/group/base/groupTeamScheduling/index copy.vue +++ /dev/null @@ -1,233 +0,0 @@ - - - diff --git a/src/views/group/base/groupTeamScheduling/index.vue b/src/views/group/base/groupTeamScheduling/index.vue index 6346df1f..74e36336 100644 --- a/src/views/group/base/groupTeamScheduling/index.vue +++ b/src/views/group/base/groupTeamScheduling/index.vue @@ -1,232 +1,66 @@