光伏功能逻辑代码及BUG修改
This commit is contained in:
@ -4,7 +4,7 @@
|
||||
<!-- <image src="/static/aidex/login/login-bg.png" class="logo"></image> -->
|
||||
<view class="logo">
|
||||
<view class="EnglishFont">
|
||||
STORASMART
|
||||
ZETA CLOUD
|
||||
</view>
|
||||
</view>
|
||||
<image src="/static/aidex/login/bg-logo2.png" class="center-logo"></image>
|
||||
@ -17,11 +17,11 @@
|
||||
|
||||
<u-select v-model="langShow" :list="Langlist" @confirm="changeLanguage"></u-select>
|
||||
|
||||
<u-radio-group v-model="StationValue" @change="radioGroupChange" active-color="#009C77">
|
||||
<!-- <u-radio-group v-model="StationValue" @change="radioGroupChange" active-color="#009C77">
|
||||
<u-radio @change="radioChange" v-for="(item, index) in $t('homePage.home.stationType')" :key="index" :name="item.name">
|
||||
{{ item.name }}
|
||||
</u-radio>
|
||||
</u-radio-group>
|
||||
</u-radio-group> -->
|
||||
|
||||
<view class="user-card">
|
||||
<view class="list">
|
||||
@ -139,7 +139,7 @@ export default {
|
||||
showMsg: false,
|
||||
Stationlist: this.$t('homePage.home.stationType'),
|
||||
// u-radio-group的v-model绑定的值如果设置为某个radio的name,就会被默认选中
|
||||
StationValue: '',
|
||||
StationValue: 'en_US',
|
||||
}
|
||||
},
|
||||
onLoad () {
|
||||
@ -194,8 +194,9 @@ export default {
|
||||
});
|
||||
} else if (val === '中国站' || val === 'China Station') {
|
||||
this.$u.http.setConfig({
|
||||
// baseUrl: 'http://1.95.170.86:8002/api'
|
||||
baseUrl: 'https://zzkj-cloud.com/api'
|
||||
// baseUrl: 'http://1.95.170.86:8002/api'
|
||||
baseUrl: 'https://zetatech.zzkj-cloud.com/api'
|
||||
// baseUrl: 'https://zzkj-cloud.com/api'
|
||||
});
|
||||
}
|
||||
const res = await this.$u.api.GetLanguageConfig('zh')
|
||||
@ -432,6 +433,7 @@ export default {
|
||||
this.$u.api.alarm.GetNewStationlist().then((res) => {
|
||||
this.$u.vuex("vuex_provinceStation", res.data.list)
|
||||
this.$u.vuex("vuex_currentStation", res.data.list[0].list[0].list[0])
|
||||
this.$u.vuex("vuex_inverterFlag", res.data.list[0].list[0].list[0].inverterFlag)
|
||||
})
|
||||
},
|
||||
wxLogin (res) {
|
||||
|
||||
Reference in New Issue
Block a user