openatc-components 0.1.21 → 0.1.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package/kisscomps/components/SchemeConfig/SchemeConfig.vue +2 -2
- package/package/kisscomps/components/SchemeConfig/priorityControl/index.vue +6 -3
- package/package/kisscomps/components/overView/index.vue +2 -2
- package/package/kissui.min.js +1 -1
- package/package.json +1 -1
- package/src/kisscomps/components/SchemeConfig/SchemeConfig.vue +2 -2
- package/src/kisscomps/components/SchemeConfig/priorityControl/index.vue +6 -3
- package/src/kisscomps/components/overView/index.vue +2 -2
- package/src/utils/ControlFormat.js +2 -2
- package/src/utils/auth.js +1 -1
|
@@ -475,7 +475,7 @@ export default {
|
|
|
475
475
|
Object.keys(data).forEach(function (key) {
|
|
476
476
|
if (that.$i18n.locale === 'en') {
|
|
477
477
|
if (key === 'mode') {
|
|
478
|
-
if (data[key]
|
|
478
|
+
if (that.ParamsModeEn.get(data[key]) !== undefined) {
|
|
479
479
|
data[key] = that.ParamsModeEn.get(data[key])
|
|
480
480
|
} else {
|
|
481
481
|
data[key] = that.ParamsModeEn.get(0)
|
|
@@ -491,7 +491,7 @@ export default {
|
|
|
491
491
|
}
|
|
492
492
|
} else if (that.$i18n.locale === 'zh') {
|
|
493
493
|
if (key === 'mode') {
|
|
494
|
-
if (data[key]
|
|
494
|
+
if (that.ParamsMode.get(data[key]) !== undefined) {
|
|
495
495
|
data[key] = that.ParamsMode.get(data[key])
|
|
496
496
|
} else {
|
|
497
497
|
data[key] = that.ParamsMode.get(0)
|
|
@@ -182,9 +182,12 @@ export default {
|
|
|
182
182
|
control: 24,
|
|
183
183
|
delay: this.manualInfo.delay,
|
|
184
184
|
duration: this.manualInfo.duration,
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
185
|
+
data: {
|
|
186
|
+
type: this.manualInfo.type,
|
|
187
|
+
phase: this.manualInfo.phase,
|
|
188
|
+
level: this.manualInfo.level
|
|
189
|
+
}
|
|
190
|
+
|
|
188
191
|
}
|
|
189
192
|
console.log(submitdata, 'submitdata')
|
|
190
193
|
this.$emit('closePhaseControl', submitdata)
|
|
@@ -549,7 +549,7 @@ export default {
|
|
|
549
549
|
Object.keys(data).forEach(function (key) {
|
|
550
550
|
if (that.$i18n.locale === 'en') {
|
|
551
551
|
if (key === 'mode') {
|
|
552
|
-
if (data[key]
|
|
552
|
+
if (that.ParamsModeEn.get(data[key]) !== undefined) {
|
|
553
553
|
data[key] = that.ParamsModeEn.get(data[key])
|
|
554
554
|
} else {
|
|
555
555
|
data[key] = that.ParamsModeEn.get(0)
|
|
@@ -565,7 +565,7 @@ export default {
|
|
|
565
565
|
}
|
|
566
566
|
} else if (that.$i18n.locale === 'zh') {
|
|
567
567
|
if (key === 'mode') {
|
|
568
|
-
if (data[key]
|
|
568
|
+
if (that.ParamsMode.get(data[key]) !== undefined) {
|
|
569
569
|
data[key] = that.ParamsMode.get(data[key])
|
|
570
570
|
} else {
|
|
571
571
|
data[key] = that.ParamsMode.get(0)
|