|
@@ -26,6 +26,10 @@ export default {
|
|
|
try {
|
|
|
let nameList = ['Flow control', 'pressure control', 'Config', 'Sleep time', 'Pilot valve', 'Minimum', 'MOP']
|
|
|
this.$refs.basics.itemList = this.__proto__.getControlItem(nameList, newVal.function, newVal.paramcmdvalues, newVal.params)
|
|
|
+ this.$refs.basics.preview = ['Batt4', 'Batt12', 'BatFlow'].map(v => {
|
|
|
+ return newVal.params[v]
|
|
|
+ })
|
|
|
+ console.log(this.$refs.basics.preview)
|
|
|
} catch (error) {
|
|
|
console.error(error)
|
|
|
}
|