From fb570eb5225ec5dc44e485f206d052984e434f60 Mon Sep 17 00:00:00 2001 From: fan <18706759286@163.com> Date: Thu, 11 Jun 2020 17:06:37 +0800 Subject: [PATCH] =?UTF-8?q?sics=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../iscs/iscsSystem/config/bas/schedules.vue | 34 +++- .../bas/schedulesChild/broadOverview.vue | 112 +++++++++++ .../bas/schedulesChild/saveScheduleView.vue | 120 ++++++++++++ .../bas/schedulesChild/schedulesManage.vue | 15 +- .../schedulesChild/stationRunningSchedule.vue | 178 ++++++++++-------- .../bas/schedulesChild/weeklyStatus.vue | 16 +- 6 files changed, 385 insertions(+), 90 deletions(-) create mode 100644 src/views/iscs/iscsSystem/config/bas/schedulesChild/broadOverview.vue create mode 100644 src/views/iscs/iscsSystem/config/bas/schedulesChild/saveScheduleView.vue diff --git a/src/views/iscs/iscsSystem/config/bas/schedules.vue b/src/views/iscs/iscsSystem/config/bas/schedules.vue index daf75bab6..4b3f4c305 100644 --- a/src/views/iscs/iscsSystem/config/bas/schedules.vue +++ b/src/views/iscs/iscsSystem/config/bas/schedules.vue @@ -1,9 +1,11 @@ @@ -11,23 +13,47 @@ import StationRunningSchedule from './schedulesChild/stationRunningSchedule'; import WeeklyStatus from './schedulesChild/weeklyStatus'; import SchedulesManage from './schedulesChild/schedulesManage'; +import BroadOverview from './schedulesChild/broadOverview'; +import SaveScheduleView from './schedulesChild/saveScheduleView'; export default { name: 'Schedules', components: { StationRunningSchedule, WeeklyStatus, - SchedulesManage + SchedulesManage, + BroadOverview, + SaveScheduleView }, data() { return { station: '', stations: [], - showMode: 'stationRunningSchedule' + showMode: 'stationRunningSchedule', + modeName: '车站运行时间表' }; }, + computed: { + }, methods: { changeShowMode(mode) { this.showMode = mode; + switch (this.showMode) { + case 'stationRunningSchedule': + this.modeName = '车站运行时间表'; + break; + case 'weeklyStatus': + this.modeName = '一周车站时间表定期下载'; + break; + case 'broadOverview': + this.modeName = ''; + break; + case 'schedulesManage': + this.modeName = '控制时间表管理'; + break; + case 'saveScheduleView': + this.modeName = '车站保存时间表查看'; + break; + } } } }; @@ -41,7 +67,7 @@ export default { .title-name{ width: 100%; text-align: center; - font-size: 26px; + font-size: 20px; margin-top: 30px; color: #56E5DE; } diff --git a/src/views/iscs/iscsSystem/config/bas/schedulesChild/broadOverview.vue b/src/views/iscs/iscsSystem/config/bas/schedulesChild/broadOverview.vue new file mode 100644 index 000000000..c39de8f80 --- /dev/null +++ b/src/views/iscs/iscsSystem/config/bas/schedulesChild/broadOverview.vue @@ -0,0 +1,112 @@ + + + + + diff --git a/src/views/iscs/iscsSystem/config/bas/schedulesChild/saveScheduleView.vue b/src/views/iscs/iscsSystem/config/bas/schedulesChild/saveScheduleView.vue new file mode 100644 index 000000000..f4691b889 --- /dev/null +++ b/src/views/iscs/iscsSystem/config/bas/schedulesChild/saveScheduleView.vue @@ -0,0 +1,120 @@ + + + + + diff --git a/src/views/iscs/iscsSystem/config/bas/schedulesChild/schedulesManage.vue b/src/views/iscs/iscsSystem/config/bas/schedulesChild/schedulesManage.vue index 9386a5cbc..03e26692d 100644 --- a/src/views/iscs/iscsSystem/config/bas/schedulesChild/schedulesManage.vue +++ b/src/views/iscs/iscsSystem/config/bas/schedulesChild/schedulesManage.vue @@ -1,5 +1,5 @@ @@ -148,6 +154,9 @@ export default { } else { this.allStationDate.splice(index, 1); } + }, + changeShowMode(mode) { + this.$emit('changeShowMode', mode); } } }; @@ -200,8 +209,8 @@ export default { background: #EBB570; border-top: 2px solid #795B31; border-left: 2px solid #795B31; - border-right: 1px solid #fff; - border-bottom: 1px solid #fff; + border-right: 2px solid #fff; + border-bottom: 2px solid #fff; } /deep/ .el-input__inner{ diff --git a/src/views/iscs/iscsSystem/config/bas/schedulesChild/stationRunningSchedule.vue b/src/views/iscs/iscsSystem/config/bas/schedulesChild/stationRunningSchedule.vue index 5f759471e..a8b706c6f 100644 --- a/src/views/iscs/iscsSystem/config/bas/schedulesChild/stationRunningSchedule.vue +++ b/src/views/iscs/iscsSystem/config/bas/schedulesChild/stationRunningSchedule.vue @@ -1,78 +1,91 @@ @@ -82,12 +95,21 @@ export default { data() { return { station: '', - stations: [] + stations: [], + systemStatus: { + largeAirConditioning: true, + tunnelVentilation: true, + smallAirConditioning: true, + lighting:true + } }; }, methods: { changeShowMode(mode) { this.$emit('changeShowMode', mode); + }, + changeSystemMode(system) { + this.systemStatus[system] = !this.systemStatus[system]; } } }; @@ -118,7 +140,13 @@ export default { background: #EBB570; border-top: 2px solid #795B31; border-left: 2px solid #795B31; - border-right: 1px solid #fff; - border-bottom: 1px solid #fff; + border-right: 2px solid #fff; + border-bottom: 2px solid #fff; + } + .table-system{ + text-align: center; + background: #FFF; + border: 1px solid #D2D2D2; + border-top: 0; } diff --git a/src/views/iscs/iscsSystem/config/bas/schedulesChild/weeklyStatus.vue b/src/views/iscs/iscsSystem/config/bas/schedulesChild/weeklyStatus.vue index 76ec56819..50c6c8f40 100644 --- a/src/views/iscs/iscsSystem/config/bas/schedulesChild/weeklyStatus.vue +++ b/src/views/iscs/iscsSystem/config/bas/schedulesChild/weeklyStatus.vue @@ -1,5 +1,5 @@