| | |
| | | </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> |
| | |
| | | isScaleradio:true, |
| | | fullscreenRadio: false, // å
¨å±ç¶æ |
| | | fullscreenElement: null, // å
¨å±å
ç´ |
| | | currentTaskRadio: 'sc02', // é»è®¤ä»»å¡æ¾ç¤ºï¼sc01/sc02 |
| | | currentLocationRadio: 'sc01' // é»è®¤è´§ä½ç¶ææ¾ç¤ºï¼sc01/sc02 |
| | | }; |
| | | }, |
| | | computed: {}, |
| | |
| | | this.bindFullscreenEvents(); |
| | | } |
| | | } |
| | | }, |
| | | |
| | | // æ´æ°å½åä»»å¡ |
| | | updateCurrentTask(val) { |
| | | this.$store.commit('setting/updateCurrentTask', val); |
| | | }, |
| | | |
| | | // æ´æ°å½åè´§ä½ç¶æ |
| | | updateCurrentLocation(val) { |
| | | this.$store.commit('setting/updateCurrentLocation', val); |
| | | } |
| | | }, |
| | | created() { |
| | |
| | | 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) { |