From 6d56bf4daf08c4c7c6d193d98ed0b547dc473451 Mon Sep 17 00:00:00 2001
From: renmingwang <renmingwang@hnkhzn.com>
Date: 星期三, 25 三月 2026 16:59:14 +0800
Subject: [PATCH] 添加历史任务删除,大屏布局修改

---
 项目代码/大屏/src/views/setting.vue |   40 ++++++++++++++++++++++++++++++++++++++++
 1 files changed, 40 insertions(+), 0 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/\345\244\247\345\261\217/src/views/setting.vue" "b/\351\241\271\347\233\256\344\273\243\347\240\201/\345\244\247\345\261\217/src/views/setting.vue"
index bd69b7b..bf40c14 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/\345\244\247\345\261\217/src/views/setting.vue"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/\345\244\247\345\261\217/src/views/setting.vue"
@@ -61,6 +61,32 @@
                             </el-radio-group>
                         </div>
                     </div>
+                    
+                    <!-- 宸烽亾浠诲姟淇℃伅榛樿鏄剧ず -->
+                    <div class="setting_item">
+                        <span class="setting_label">
+                            宸烽亾浠诲姟淇℃伅榛樿鏄剧ず:
+                        </span>
+                        <div class="setting_content">
+                            <el-radio-group v-model="currentTaskRadio" @change="(val) => updateCurrentTask(val)">
+                                <el-radio :label="'sc01'">SC01</el-radio>
+                                <el-radio :label="'sc02'">SC02</el-radio>
+                            </el-radio-group>
+                        </div>
+                    </div>
+                    
+                    <!-- 璐т綅鐘舵�侀粯璁ゆ樉绀� -->
+                    <div class="setting_item">
+                        <span class="setting_label">
+                            璐т綅鐘舵�侀粯璁ゆ樉绀�:
+                        </span>
+                        <div class="setting_content">
+                            <el-radio-group v-model="currentLocationRadio" @change="(val) => updateCurrentLocation(val)">
+                                <el-radio :label="'sc01'">SC01</el-radio>
+                                <el-radio :label="'sc02'">SC02</el-radio>
+                            </el-radio-group>
+                        </div>
+                    </div>
                     <div class="flex justify-center">
                         <!-- <el-button type="primary" round size="mini">纭畾</el-button> -->
                     </div>
@@ -82,6 +108,8 @@
             isScaleradio:true,
             fullscreenRadio: false, // 鍏ㄥ睆鐘舵��
             fullscreenElement: null, // 鍏ㄥ睆鍏冪礌
+            currentTaskRadio: 'sc02', // 榛樿浠诲姟鏄剧ず锛歴c01/sc02
+            currentLocationRadio: 'sc01' // 榛樿璐т綅鐘舵�佹樉绀猴細sc01/sc02
         };
     },
     computed: {},
@@ -196,6 +224,16 @@
                     this.bindFullscreenEvents();
                 }
             }
+        },
+        
+        // 鏇存柊褰撳墠浠诲姟
+        updateCurrentTask(val) {
+            this.$store.commit('setting/updateCurrentTask', val);
+        },
+        
+        // 鏇存柊褰撳墠璐т綅鐘舵��
+        updateCurrentLocation(val) {
+            this.$store.commit('setting/updateCurrentLocation', val);
         }
     },
     created() {
@@ -204,6 +242,8 @@
         this.ssyjradio = this.$store.state.setting.ssyjSwiper,
         this.isScaleradio = this.$store.state.setting.isScale;
         this.fullscreenRadio = this.$store.state.setting.fullscreen || false;
+        this.currentTaskRadio = this.$store.state.setting.currentTask;
+        this.currentLocationRadio = this.$store.state.setting.currentLocation;
         
         // 鍒濆鍖栨椂妫�鏌ュ叏灞忕姸鎬�
         if (this.fullscreenRadio) {

--
Gitblit v1.9.3