diff --git a/package.json b/package.json index 33285ef4..447d0973 100644 --- a/package.json +++ b/package.json @@ -75,6 +75,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/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..03f10fdc --- /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(data) { + return request({ + url: '/base/energy-quantity-realtime/export-excel', + method: 'post', + data: data, + 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/base/equipment.js b/src/api/base/equipment.js index a5be5d9e..8c1b4246 100644 --- a/src/api/base/equipment.js +++ b/src/api/base/equipment.js @@ -52,3 +52,10 @@ export function exportEquipmentExcel(query) { responseType: 'blob' }) } +// 获得所有设备列表 +export function getEquipmentAll() { + return request({ + url: '/base/equipment/listAll', + method: 'get' + }) +} 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/base/productionLine.js b/src/api/base/productionLine.js new file mode 100644 index 00000000..7fade9c9 --- /dev/null +++ b/src/api/base/productionLine.js @@ -0,0 +1,8 @@ +import request from '@/utils/request' +// 获得所有工厂产线列表 +export function getLineAll() { + return request({ + url: '/base/production-line/listAll', + method: 'get' + }) +} \ No newline at end of file diff --git a/src/api/base/workshopSection.js b/src/api/base/workshopSection.js new file mode 100644 index 00000000..bf5e65d5 --- /dev/null +++ b/src/api/base/workshopSection.js @@ -0,0 +1,8 @@ +import request from '@/utils/request' +// 获得所有产线工段列表 +export function getWorkShopAll() { + return request({ + url: '/base/workshop-section/listAll', + method: 'get' + }) +} \ No newline at end of file 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/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..1e585b22 --- /dev/null +++ b/src/api/monitoring/energyReport.js @@ -0,0 +1,39 @@ +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, + responseType: 'blob' + }) +} + +// 导出能耗统计报表 +export function energyReportPageExportAuto(data) { + return request({ + url: '/monitoring/energy-report/exportAuto', + method: 'post', + data: data, + responseType: 'blob' + }) +} \ 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/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/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 8c299355..77b6b2b6 100644 --- a/src/utils/dict.js +++ b/src/utils/dict.js @@ -91,7 +91,11 @@ export const DICT_TYPE = { ENERGY_UNIT: 'energy_unit', // ============== ENERGY - 能源模块 ============= - EQU_ALARM_LEVEL: 'equ_alarm_level' + EQU_ALARM_LEVEL: 'equ_alarm_level', + MONITOR_INDEX_TYPE: 'monitor_index_type', + OBJECT_TYPE: 'object_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..846a6d2f --- /dev/null +++ b/src/views/energy/analysis/contrastAnalysis/components/barChart.vue @@ -0,0 +1,98 @@ + + + + \ 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..35b1b108 --- /dev/null +++ b/src/views/energy/analysis/contrastAnalysis/components/lineChart.vue @@ -0,0 +1,100 @@ + + + + \ 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..af75b2df --- /dev/null +++ b/src/views/energy/analysis/contrastAnalysis/components/searchArea.vue @@ -0,0 +1,403 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + - + + + + + + + + + + + + + + {{ item.name }} + {{ item.code }} + + + + + 查询 + + + + + \ 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..d49766ef --- /dev/null +++ b/src/views/energy/analysis/contrastAnalysis/index.vue @@ -0,0 +1,55 @@ + + + + + + + + + + + + + + + \ 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/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..d94c6478 --- /dev/null +++ b/src/views/energy/base/energyPlcConnect/components/energyPlcConnectAdd.vue @@ -0,0 +1,144 @@ + + + + + + + + + + + + + + + + + + \ 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 new file mode 100644 index 00000000..41b9cd36 --- /dev/null +++ b/src/views/energy/base/energyPlcConnect/components/energyPlcParam.vue @@ -0,0 +1,223 @@ + + + + + + + + + + + + + 新增 + + + + + + + + + + + + + + + + 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/index.vue b/src/views/energy/base/energyPlcConnect/index.vue new file mode 100644 index 00000000..539e7436 --- /dev/null +++ b/src/views/energy/base/energyPlcConnect/index.vue @@ -0,0 +1,258 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/energy/base/energyQuantityRealtime/index.vue b/src/views/energy/base/energyQuantityRealtime/index.vue new file mode 100644 index 00000000..d642fa61 --- /dev/null +++ b/src/views/energy/base/energyQuantityRealtime/index.vue @@ -0,0 +1,160 @@ + + + + + + + + + + + + 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..0ee81797 --- /dev/null +++ b/src/views/energy/monitoring/energyLimit/components/energyLimitAdd.vue @@ -0,0 +1,207 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/energy/monitoring/energyLimit/index.vue b/src/views/energy/monitoring/energyLimit/index.vue new file mode 100644 index 00000000..65d0fe6a --- /dev/null +++ b/src/views/energy/monitoring/energyLimit/index.vue @@ -0,0 +1,249 @@ + + + + + + + + + + + + + + + + + + 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..a08d5d3e --- /dev/null +++ b/src/views/energy/monitoring/energyReport/index.vue @@ -0,0 +1,179 @@ + + + + + + + + + + + + diff --git a/src/views/energy/monitoring/energyReportSearch/index.vue b/src/views/energy/monitoring/energyReportSearch/index.vue new file mode 100644 index 00000000..f0b72800 --- /dev/null +++ b/src/views/energy/monitoring/energyReportSearch/index.vue @@ -0,0 +1,160 @@ + + + + + + + + + + + + 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..cd7fbcd8 --- /dev/null +++ b/src/views/energy/monitoring/energyStatistics/components/energyStatisticsDet.vue @@ -0,0 +1,227 @@ + + + + + + + + + + + + + 新增 + 批量删除 + + + + + + + + + + + + + + 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..fd021693 --- /dev/null +++ b/src/views/energy/monitoring/energyStatistics/components/energyStatisticsDetAdd.vue @@ -0,0 +1,178 @@ + + + + + + + + + + + + + + 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 @@ + + + + + + + + + + + + + + + + + + + + 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', diff --git a/src/views/group/base/groupTeam/index.vue b/src/views/group/base/groupTeam/index.vue index b692c247..0f761324 100644 --- a/src/views/group/base/groupTeam/index.vue +++ b/src/views/group/base/groupTeam/index.vue @@ -87,14 +87,14 @@ export default { formConfig: [ { type: 'input', - label: '班次名称', - placeholder: '班次名称', + label: '班组名称', + placeholder: '班组名称', param: 'name' }, { type: 'input', - label: '班次编码', - placeholder: '班次编码', + label: '班组编码', + placeholder: '班组编码', param: 'code' }, { diff --git a/src/views/group/base/groupTeamScheduling/components/groupUpperLower.vue b/src/views/group/base/groupTeamScheduling/components/groupUpperLower.vue new file mode 100644 index 00000000..b7598d74 --- /dev/null +++ b/src/views/group/base/groupTeamScheduling/components/groupUpperLower.vue @@ -0,0 +1,147 @@ + + + + + + + + + + + + + + + \ 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 @@ - - - - - - - - - - 搜索 - 重置 - - - - - - - 新增 - - - 导出 - - - - - - - - - - - - - {{ parseTime(scope.row.startTime) }} - - - - - {{ parseTime(scope.row.endTime) }} - - - - - {{ parseTime(scope.row.createTime) }} - - - - - 修改 - 删除 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 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 @@ - - - - - - - - 搜索 - 重置 - - - - - - - 新增 - - - 导出 - - - - - - - - - - - - - {{ parseTime(scope.row.startTime) }} - - - - - {{ parseTime(scope.row.endTime) }} - - - - - {{ parseTime(scope.row.createTime) }} - - - - - 修改 - 删除 - - - - - - - - - - - + + + + + - - + + 自动排班 - - + + 编辑 - - + + 班组上下片查询 - - + + 班组能源查询 + + + 班组检测查询 - - + + +