openatc-components 0.1.107 → 0.1.108
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 +6 -2
- package/package/kissui.min.js +1 -1
- package/package.json +1 -1
- package/src/i18n/language/en.js +2 -1
- package/src/i18n/language/zh.js +2 -1
- package/src/icons/svg/prioritycontrol.svg +21 -0
- package/src/icons/svg/tentativeplan.svg +28 -33
- package/src/kisscomps/components/SchemeConfig/SchemeConfig.vue +6 -2
|
@@ -327,7 +327,7 @@ export default {
|
|
|
327
327
|
}, {
|
|
328
328
|
id: 24,
|
|
329
329
|
permission: 'configer:manual:preempt',
|
|
330
|
-
iconClass: '
|
|
330
|
+
iconClass: 'prioritycontrol'
|
|
331
331
|
}, {
|
|
332
332
|
id: 25,
|
|
333
333
|
permission: 'configer:manual:optimize',
|
|
@@ -540,12 +540,16 @@ export default {
|
|
|
540
540
|
patternCommit (manualInfo) {
|
|
541
541
|
let that = this
|
|
542
542
|
let control = {}
|
|
543
|
+
if (that.preselectModel === -1) {
|
|
544
|
+
this.$message.error(this.$t('openatccomponents.overview.noselectcontroltip'))
|
|
545
|
+
return
|
|
546
|
+
}
|
|
543
547
|
that.ParamsMode.forEach(function (value, key, map) {
|
|
544
548
|
if (that.controlData.mode === value) {
|
|
545
549
|
control.mode = key
|
|
546
550
|
}
|
|
547
551
|
})
|
|
548
|
-
control.control = that.preselectModel
|
|
552
|
+
control.control = that.preselectModel
|
|
549
553
|
// control.terminal = isNaN(parseInt(manualInfo.tempPatternid)) ? Number(manualInfo.tempPatternid.replace(/[^0-9]/ig, '')) : manualInfo.tempPatternid
|
|
550
554
|
control.terminal = Number(manualInfo.tempPatternid)
|
|
551
555
|
control.delay = Number(manualInfo.tempDelay)
|