|
|
@@ -800,17 +800,31 @@ this.content = this.$t('popUpContent');
|
|
800
|
800
|
control(data).then(data => {
|
|
801
|
801
|
console.log(data);
|
|
802
|
802
|
if (data.status == 'ok') {
|
|
|
803
|
+ let info = {
|
|
|
804
|
+ id: "e612195b-cf9e-418b-9e2d-0fbae9b03ffa",
|
|
|
805
|
+ issaveinitvalue: false,
|
|
|
806
|
+ value: '0'
|
|
|
807
|
+ }
|
|
803
|
808
|
|
|
804
|
|
- this.$refs.alertDialog.close()
|
|
805
|
|
- uni.showToast({
|
|
806
|
|
- title: this.$t('OperationSuccessful'),
|
|
807
|
|
- icon: 'none',
|
|
808
|
|
- duration: 2000, // 显示时长,单位为毫秒
|
|
809
|
|
- });
|
|
810
|
|
-
|
|
811
|
|
- // setTimeout(() => {
|
|
812
|
|
- // this.$refs.alertDialog1.open()
|
|
813
|
|
- // }, 1000);
|
|
|
809
|
+ control(info).then(list => {
|
|
|
810
|
+ if (list.status == 'ok') {
|
|
|
811
|
+ plus.navigator.hideSystemNavigation() //隐藏虚拟按键
|
|
|
812
|
+ this.$refs.alertDialog.close()
|
|
|
813
|
+ uni.showToast({
|
|
|
814
|
+ title: this.$t('OperationSuccessful'),
|
|
|
815
|
+ icon: 'none',
|
|
|
816
|
+ duration: 2000, // 显示时长,单位为毫秒
|
|
|
817
|
+ });
|
|
|
818
|
+
|
|
|
819
|
+ } else {
|
|
|
820
|
+ this.$refs.alertDialog.close()
|
|
|
821
|
+ uni.showToast({
|
|
|
822
|
+ title: this.$t('operationFailed'),
|
|
|
823
|
+ icon: 'none', // 使用 'none' 图标来表示失败
|
|
|
824
|
+ duration: 2000, // 显示时长,单位为毫秒
|
|
|
825
|
+ });
|
|
|
826
|
+ }
|
|
|
827
|
+ });
|
|
814
|
828
|
|
|
815
|
829
|
} else {
|
|
816
|
830
|
this.$refs.alertDialog.close()
|
|
|
@@ -1179,12 +1193,12 @@ this.content = this.$t('popUpContent');
|
|
1179
|
1193
|
.parameter_SOC {
|
|
1180
|
1194
|
display: flex;
|
|
1181
|
1195
|
align-items: center;
|
|
1182
|
|
- // justify-content: space-around;
|
|
1183
|
|
- justify-content: space-between;
|
|
|
1196
|
+ justify-content: space-around;
|
|
|
1197
|
+ // justify-content: space-between;
|
|
1184
|
1198
|
// width: 195.11px;
|
|
1185
|
1199
|
flex: 1;
|
|
1186
|
1200
|
|
|
1187
|
|
- padding: 0px 40px;
|
|
|
1201
|
+ // padding: 0px 40px;
|
|
1188
|
1202
|
box-sizing: border-box;
|
|
1189
|
1203
|
height: 130px;
|
|
1190
|
1204
|
/* opacity: 0.15; */
|
|
|
@@ -1201,10 +1215,10 @@ this.content = this.$t('popUpContent');
|
|
1201
|
1215
|
.parameter_state {
|
|
1202
|
1216
|
display: flex;
|
|
1203
|
1217
|
align-items: center;
|
|
1204
|
|
- // justify-content: space-around;
|
|
1205
|
|
- justify-content: space-between;
|
|
|
1218
|
+ justify-content: space-around;
|
|
|
1219
|
+ // justify-content: space-between;
|
|
1206
|
1220
|
flex: 1;
|
|
1207
|
|
- padding: 0px 40px;
|
|
|
1221
|
+ // padding: 0px 40px;
|
|
1208
|
1222
|
box-sizing: border-box;
|
|
1209
|
1223
|
// width: 195.11px;
|
|
1210
|
1224
|
height: 130px;
|
|
|
@@ -1221,12 +1235,12 @@ this.content = this.$t('popUpContent');
|
|
1221
|
1235
|
.parameter_Battery {
|
|
1222
|
1236
|
display: flex;
|
|
1223
|
1237
|
align-items: center;
|
|
1224
|
|
- // justify-content: space-around;
|
|
1225
|
|
- justify-content: space-between;
|
|
|
1238
|
+ justify-content: space-around;
|
|
|
1239
|
+ // justify-content: space-between;
|
|
1226
|
1240
|
// width: 195.11px;
|
|
1227
|
1241
|
// height: 130px;
|
|
1228
|
1242
|
flex: 1;
|
|
1229
|
|
- padding: 0px 40px;
|
|
|
1243
|
+ // padding: 0px 40px;
|
|
1230
|
1244
|
box-sizing: border-box;
|
|
1231
|
1245
|
/* opacity: 0.15; */
|
|
1232
|
1246
|
margin-right: 16px;
|
|
|
@@ -1241,11 +1255,12 @@ this.content = this.$t('popUpContent');
|
|
1241
|
1255
|
|
|
1242
|
1256
|
.parameter_SOCright {
|
|
1243
|
1257
|
display: flex;
|
|
|
1258
|
+ // justify-content: space-between;
|
|
1244
|
1259
|
flex-direction: column;
|
|
1245
|
1260
|
}
|
|
1246
|
1261
|
|
|
1247
|
1262
|
.parameter_SOCright1 {
|
|
1248
|
|
- font-size: 23.5px;
|
|
|
1263
|
+ font-size: 20.5px;
|
|
1249
|
1264
|
font-weight: 700;
|
|
1250
|
1265
|
letter-spacing: 0px;
|
|
1251
|
1266
|
line-height: 32.24px;
|