commit
38ebb7e79b
|
@ -107,7 +107,7 @@ export default {
|
||||||
var list = [
|
var list = [
|
||||||
{ name: "目标温度", list: [], router: "targetTemperature", isRouter: true, index: 1 },
|
{ name: "目标温度", list: [], router: "targetTemperature", isRouter: true, index: 1 },
|
||||||
{ name: "目标湿度", list: [], router: "targetHumidity", isRouter: true, index: 2 },
|
{ name: "目标湿度", list: [], router: "targetHumidity", isRouter: true, index: 2 },
|
||||||
{ name: "目标CO3", list: [], router: "targetCo2", isRouter: true, index: 3 }
|
{ name: "目标CO2", list: [], router: "targetCo2", isRouter: true, index: 3 }
|
||||||
]
|
]
|
||||||
let newList
|
let newList
|
||||||
if (el.child.length) {
|
if (el.child.length) {
|
||||||
|
@ -473,7 +473,7 @@ if (el.child.length) {
|
||||||
if (item.router == this.routerNow && item.index == this.$route.query.id) {
|
if (item.router == this.routerNow && item.index == this.$route.query.id) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
this.$router.push({ path: `/${item.router}?id=${item.index}` })
|
this.$router.push({ path: `/${item.router}`,query:{id:item.index,name:item.name} })
|
||||||
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
@ -481,7 +481,7 @@ if (el.child.length) {
|
||||||
if (item.router == this.routerNow) {
|
if (item.router == this.routerNow) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
this.$router.push({ name: item.router });
|
this.$router.push({ name: item.router,query:{name:item.name} });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="wetFan">
|
<div class="wetFan">
|
||||||
<div class="table-title">
|
<div class="table-title">
|
||||||
<img src="../../assets/img/LED.png" alt="">补光灯
|
<img src="../../assets/img/LED.png" alt="">{{pageName}}
|
||||||
</div>
|
</div>
|
||||||
<div class="title-tips">工作方式选择
|
<div class="title-tips">工作方式选择
|
||||||
<div class="input-btn">
|
<div class="input-btn">
|
||||||
|
@ -296,12 +296,16 @@ export default {
|
||||||
actList3: [],
|
actList3: [],
|
||||||
startList:[21408,21413,21418,21423],
|
startList:[21408,21413,21418,21423],
|
||||||
loading:null,
|
loading:null,
|
||||||
|
pageName:'补光灯'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
$route(newVal, oldVal) {
|
$route(newVal, oldVal) {
|
||||||
const that = this;
|
const that = this;
|
||||||
this.indexs = this.$route.query.id ? this.$route.query.id : 1;
|
this.indexs = this.$route.query.id ? this.$route.query.id : 1;
|
||||||
|
if(this.$route.query.name){
|
||||||
|
this.pageName=this.$route.query.name
|
||||||
|
}
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
that.getActive1();
|
that.getActive1();
|
||||||
}, 0);
|
}, 0);
|
||||||
|
@ -322,6 +326,9 @@ export default {
|
||||||
for (let index = 0; index < inputList.length; index++) {
|
for (let index = 0; index < inputList.length; index++) {
|
||||||
inputList[index].onfocus = this.selectValue;//input放入焦点,全选文本
|
inputList[index].onfocus = this.selectValue;//input放入焦点,全选文本
|
||||||
}
|
}
|
||||||
|
if(this.$route.query.name){
|
||||||
|
this.pageName=this.$route.query.name
|
||||||
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
//失去焦点 计算公式 x/10
|
//失去焦点 计算公式 x/10
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="circulationCan">
|
<div class="circulationCan">
|
||||||
<div class="table-title">
|
<div class="table-title">
|
||||||
<img src="../../assets/img/circulationCan.png" alt="">环流风扇{{ indexs }}
|
<img src="../../assets/img/circulationCan.png" alt="">{{ pageName }}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="title-tips">工作方式选择
|
<div class="title-tips">工作方式选择
|
||||||
|
@ -144,12 +144,16 @@ export default {
|
||||||
indexs: 1,
|
indexs: 1,
|
||||||
actList1: [],
|
actList1: [],
|
||||||
loading:null,
|
loading:null,
|
||||||
|
pageName:'环流风扇'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
$route(newVal, oldVal) {
|
$route(newVal, oldVal) {
|
||||||
const that = this;
|
const that = this;
|
||||||
this.indexs = this.$route.query.id ? this.$route.query.id : 1;
|
this.indexs = this.$route.query.id ? this.$route.query.id : 1;
|
||||||
|
if(this.$route.query.name){
|
||||||
|
this.pageName=this.$route.query.name
|
||||||
|
}
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
that.getActive1();
|
that.getActive1();
|
||||||
}, 0);
|
}, 0);
|
||||||
|
@ -170,6 +174,9 @@ export default {
|
||||||
for (let index = 0; index < inputList.length; index++) {
|
for (let index = 0; index < inputList.length; index++) {
|
||||||
inputList[index].onfocus = this.selectValue;//input放入焦点,全选文本
|
inputList[index].onfocus = this.selectValue;//input放入焦点,全选文本
|
||||||
}
|
}
|
||||||
|
if(this.$route.query.name){
|
||||||
|
this.pageName=this.$route.query.name
|
||||||
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
//失去焦点 计算公式 x/10
|
//失去焦点 计算公式 x/10
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="coercionMist">
|
<div class="coercionMist">
|
||||||
<div class="table-title">
|
<div class="table-title">
|
||||||
<img src="../../assets/img/coercionMist.png" alt="">高压微雾{{ indexs }}
|
<img src="../../assets/img/coercionMist.png" alt="">{{ pageName }}
|
||||||
</div>
|
</div>
|
||||||
<div class="title-tips">工作方式选择
|
<div class="title-tips">工作方式选择
|
||||||
<div class="input-btn">
|
<div class="input-btn">
|
||||||
|
@ -83,12 +83,16 @@ export default {
|
||||||
indexs: 1,
|
indexs: 1,
|
||||||
actList1: [],
|
actList1: [],
|
||||||
loading:null,
|
loading:null,
|
||||||
|
pageName:'高压微雾'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
$route(newVal, oldVal) {
|
$route(newVal, oldVal) {
|
||||||
const that = this;
|
const that = this;
|
||||||
this.indexs = this.$route.query.id ? this.$route.query.id : 1;
|
this.indexs = this.$route.query.id ? this.$route.query.id : 1;
|
||||||
|
if(this.$route.query.name){
|
||||||
|
this.pageName=this.$route.query.name
|
||||||
|
}
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
that.getActive1();
|
that.getActive1();
|
||||||
}, 0);
|
}, 0);
|
||||||
|
@ -109,6 +113,9 @@ export default {
|
||||||
for (let index = 0; index < inputList.length; index++) {
|
for (let index = 0; index < inputList.length; index++) {
|
||||||
inputList[index].onfocus = this.selectValue;//input放入焦点,全选文本
|
inputList[index].onfocus = this.selectValue;//input放入焦点,全选文本
|
||||||
}
|
}
|
||||||
|
if(this.$route.query.name){
|
||||||
|
this.pageName=this.$route.query.name
|
||||||
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
//失去焦点 计算公式 x/10
|
//失去焦点 计算公式 x/10
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="electromagneticControl">
|
<div class="electromagneticControl">
|
||||||
<div class="table-title">
|
<div class="table-title">
|
||||||
<img src="../../assets/img/electromagneticControl.png" alt="">{{ indexs }}#电磁阀
|
<img src="../../assets/img/electromagneticControl.png" alt="">{{ pageName }}
|
||||||
</div>
|
</div>
|
||||||
<div class="title-tips">工作方式选择
|
<div class="title-tips">工作方式选择
|
||||||
<div class="input-btn">
|
<div class="input-btn">
|
||||||
|
@ -178,6 +178,7 @@ export default {
|
||||||
inputData: [],
|
inputData: [],
|
||||||
typeList: [{ label: '间隔模式启动', value: 1, },
|
typeList: [{ label: '间隔模式启动', value: 1, },
|
||||||
{ label: '土壤湿度传感器启动', value: 2, },],
|
{ label: '土壤湿度传感器启动', value: 2, },],
|
||||||
|
pageName:'电磁阀',
|
||||||
|
|
||||||
loading:null,
|
loading:null,
|
||||||
}
|
}
|
||||||
|
@ -186,7 +187,9 @@ export default {
|
||||||
$route(newVal, oldVal) {
|
$route(newVal, oldVal) {
|
||||||
const that = this;
|
const that = this;
|
||||||
this.indexs = this.$route.query.id ? this.$route.query.id : 1;
|
this.indexs = this.$route.query.id ? this.$route.query.id : 1;
|
||||||
|
if(this.$route.query.name){
|
||||||
|
this.pageName=this.$route.query.name
|
||||||
|
}
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
that.dataInit();
|
that.dataInit();
|
||||||
}, 0);
|
}, 0);
|
||||||
|
@ -207,6 +210,9 @@ export default {
|
||||||
for (let index = 0; index < inputList.length; index++) {
|
for (let index = 0; index < inputList.length; index++) {
|
||||||
inputList[index].onfocus = this.selectValue;//input放入焦点,全选文本
|
inputList[index].onfocus = this.selectValue;//input放入焦点,全选文本
|
||||||
}
|
}
|
||||||
|
if(this.$route.query.name){
|
||||||
|
this.pageName=this.$route.query.name
|
||||||
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
//二进制转换后的补全
|
//二进制转换后的补全
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="internalInsulation">
|
<div class="internalInsulation">
|
||||||
<div class="table-title">
|
<div class="table-title">
|
||||||
<img src="../../assets/img/internalInsulation.png" alt="">立面保温{{ indexs }}
|
<img src="../../assets/img/internalInsulation.png" alt="">{{ pageName }}
|
||||||
</div>
|
</div>
|
||||||
<div class="title-tips">工作方式选择
|
<div class="title-tips">工作方式选择
|
||||||
<div class="input-btn">
|
<div class="input-btn">
|
||||||
|
@ -79,12 +79,16 @@ export default {
|
||||||
indexs: 1,
|
indexs: 1,
|
||||||
actList1: [],
|
actList1: [],
|
||||||
loading:null,
|
loading:null,
|
||||||
|
pageName:'立面保温'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
$route(newVal, oldVal) {
|
$route(newVal, oldVal) {
|
||||||
const that = this;
|
const that = this;
|
||||||
this.indexs = this.$route.query.id ? this.$route.query.id : 1;
|
this.indexs = this.$route.query.id ? this.$route.query.id : 1;
|
||||||
|
if(this.$route.query.name){
|
||||||
|
this.pageName=this.$route.query.name
|
||||||
|
}
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
that.getActive1();
|
that.getActive1();
|
||||||
}, 0);
|
}, 0);
|
||||||
|
@ -105,6 +109,9 @@ export default {
|
||||||
for (let index = 0; index < inputList.length; index++) {
|
for (let index = 0; index < inputList.length; index++) {
|
||||||
inputList[index].onfocus = this.selectValue;//input放入焦点,全选文本
|
inputList[index].onfocus = this.selectValue;//input放入焦点,全选文本
|
||||||
}
|
}
|
||||||
|
if(this.$route.query.name){
|
||||||
|
this.pageName=this.$route.query.name
|
||||||
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
//失去焦点 计算公式 x/10
|
//失去焦点 计算公式 x/10
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="insizeSunshade">
|
<div class="insizeSunshade">
|
||||||
<div class="table-title">
|
<div class="table-title">
|
||||||
<img src="../../assets/img/insizeSunshade.png" alt="">内遮阳{{ indexs }}
|
<img src="../../assets/img/insizeSunshade.png" alt="">{{ pageName }}
|
||||||
</div>
|
</div>
|
||||||
<div class="title-tips">工作方式选择
|
<div class="title-tips">工作方式选择
|
||||||
<div class="input-btn">
|
<div class="input-btn">
|
||||||
|
@ -163,12 +163,16 @@ export default {
|
||||||
indexs: 1,
|
indexs: 1,
|
||||||
actList1: [],
|
actList1: [],
|
||||||
loading:null,
|
loading:null,
|
||||||
|
pageName:'内遮阳'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
$route(newVal, oldVal) {
|
$route(newVal, oldVal) {
|
||||||
const that = this;
|
const that = this;
|
||||||
this.indexs = this.$route.query.id ? this.$route.query.id : 1;
|
this.indexs = this.$route.query.id ? this.$route.query.id : 1;
|
||||||
|
if(this.$route.query.name){
|
||||||
|
this.pageName=this.$route.query.name
|
||||||
|
}
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
that.getActive1();
|
that.getActive1();
|
||||||
}, 0);
|
}, 0);
|
||||||
|
@ -189,6 +193,9 @@ export default {
|
||||||
for (let index = 0; index < inputList.length; index++) {
|
for (let index = 0; index < inputList.length; index++) {
|
||||||
inputList[index].onfocus = this.selectValue;//input放入焦点,全选文本
|
inputList[index].onfocus = this.selectValue;//input放入焦点,全选文本
|
||||||
}
|
}
|
||||||
|
if(this.$route.query.name){
|
||||||
|
this.pageName=this.$route.query.name
|
||||||
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
//失去焦点 计算公式 x/10
|
//失去焦点 计算公式 x/10
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="internalInsulation">
|
<div class="internalInsulation">
|
||||||
<div class="table-title">
|
<div class="table-title">
|
||||||
<img src="../../assets/img/internalInsulation.png" alt="">内保温{{ indexs }}
|
<img src="../../assets/img/internalInsulation.png" alt="">{{ pageName }}
|
||||||
</div>
|
</div>
|
||||||
<div class="title-tips">工作方式选择
|
<div class="title-tips">工作方式选择
|
||||||
<div class="input-btn">
|
<div class="input-btn">
|
||||||
|
@ -110,12 +110,16 @@ export default {
|
||||||
indexs: 1,
|
indexs: 1,
|
||||||
actList1: [],
|
actList1: [],
|
||||||
loading:null,
|
loading:null,
|
||||||
|
pageName:'内保温'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
$route(newVal, oldVal) {
|
$route(newVal, oldVal) {
|
||||||
const that = this;
|
const that = this;
|
||||||
this.indexs = this.$route.query.id ? this.$route.query.id : 1;
|
this.indexs = this.$route.query.id ? this.$route.query.id : 1;
|
||||||
|
if(this.$route.query.name){
|
||||||
|
this.pageName=this.$route.query.name
|
||||||
|
}
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
that.getActive1();
|
that.getActive1();
|
||||||
}, 0);
|
}, 0);
|
||||||
|
@ -136,6 +140,9 @@ export default {
|
||||||
for (let index = 0; index < inputList.length; index++) {
|
for (let index = 0; index < inputList.length; index++) {
|
||||||
inputList[index].onfocus = this.selectValue;//input放入焦点,全选文本
|
inputList[index].onfocus = this.selectValue;//input放入焦点,全选文本
|
||||||
}
|
}
|
||||||
|
if(this.$route.query.name){
|
||||||
|
this.pageName=this.$route.query.name
|
||||||
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
//失去焦点 计算公式 x/10
|
//失去焦点 计算公式 x/10
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="outsizeSunshade">
|
<div class="outsizeSunshade">
|
||||||
<div class="table-title">
|
<div class="table-title">
|
||||||
<img src="../../assets/img/outsizeSunshade.png" alt="">外遮阳{{ indexs }}
|
<img src="../../assets/img/outsizeSunshade.png" alt="">{{pageName}}
|
||||||
</div>
|
</div>
|
||||||
<div class="title-tips">工作方式选择
|
<div class="title-tips">工作方式选择
|
||||||
<div class="input-btn">
|
<div class="input-btn">
|
||||||
|
@ -133,12 +133,16 @@ export default {
|
||||||
indexs: 1,
|
indexs: 1,
|
||||||
actList1: [],
|
actList1: [],
|
||||||
loading:null,
|
loading:null,
|
||||||
|
pageName:'外遮阳',
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
$route(newVal, oldVal) {
|
$route(newVal, oldVal) {
|
||||||
const that = this;
|
const that = this;
|
||||||
this.indexs = this.$route.query.id ? this.$route.query.id : 1;
|
this.indexs = this.$route.query.id ? this.$route.query.id : 1;
|
||||||
|
if(this.$route.query.name){
|
||||||
|
this.pageName=this.$route.query.name
|
||||||
|
}
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
that.getActive1();
|
that.getActive1();
|
||||||
}, 0);
|
}, 0);
|
||||||
|
@ -159,6 +163,9 @@ export default {
|
||||||
for (let index = 0; index < inputList.length; index++) {
|
for (let index = 0; index < inputList.length; index++) {
|
||||||
inputList[index].onfocus = this.selectValue;//input放入焦点,全选文本
|
inputList[index].onfocus = this.selectValue;//input放入焦点,全选文本
|
||||||
}
|
}
|
||||||
|
if(this.$route.query.name){
|
||||||
|
this.pageName=this.$route.query.name
|
||||||
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
//失去焦点 计算公式 x/10
|
//失去焦点 计算公式 x/10
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="sunroofControl">
|
<div class="sunroofControl">
|
||||||
<div class="table-title">
|
<div class="table-title">
|
||||||
<img src="../../assets/img/sunroofControl.png" alt="">通风窗{{indexs}}
|
<img src="../../assets/img/sunroofControl.png" alt="">{{pageName}}
|
||||||
</div>
|
</div>
|
||||||
<div class="title-tips">工作方式选择
|
<div class="title-tips">工作方式选择
|
||||||
<div class="input-btn">
|
<div class="input-btn">
|
||||||
|
@ -204,18 +204,23 @@ export default {
|
||||||
indexs: 1,
|
indexs: 1,
|
||||||
actList1: [],
|
actList1: [],
|
||||||
loading:null,
|
loading:null,
|
||||||
|
pageName:'通风窗'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
$route(newVal, oldVal) {
|
$route(newVal, oldVal) {
|
||||||
const that = this;
|
const that = this;
|
||||||
this.indexs = this.$route.query.id ? this.$route.query.id : 1;
|
this.indexs = this.$route.query.id ? this.$route.query.id : 1;
|
||||||
|
if(this.$route.query.name){
|
||||||
|
this.pageName=this.$route.query.name
|
||||||
|
}
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
that.getActive1();
|
that.getActive1();
|
||||||
}, 0);
|
}, 0);
|
||||||
},
|
},
|
||||||
'$store.state.equipmentIndex'(newVal, oldVal) {
|
'$store.state.equipmentIndex'(newVal, oldVal) {
|
||||||
this.dataInit();
|
this.dataInit();
|
||||||
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
@ -230,6 +235,9 @@ export default {
|
||||||
for (let index = 0; index < inputList.length; index++) {
|
for (let index = 0; index < inputList.length; index++) {
|
||||||
inputList[index].onfocus = this.selectValue;//input放入焦点,全选文本
|
inputList[index].onfocus = this.selectValue;//input放入焦点,全选文本
|
||||||
}
|
}
|
||||||
|
if(this.$route.query.name){
|
||||||
|
this.pageName=this.$route.query.name
|
||||||
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
//失去焦点 计算公式 x/10
|
//失去焦点 计算公式 x/10
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="targetCo2">
|
<div class="targetCo2">
|
||||||
<div class="table-title">
|
<div class="table-title">
|
||||||
<img src="../../assets/img/targetCo2.png" alt="">目标CO2
|
<img src="../../assets/img/targetCo2.png" alt="">{{ pageName }}
|
||||||
</div>
|
</div>
|
||||||
<div class="flex-view border-none shrink-none padding-none">
|
<div class="flex-view border-none shrink-none padding-none">
|
||||||
<div class="input-main-80">
|
<div class="input-main-80">
|
||||||
|
@ -104,6 +104,7 @@
|
||||||
return {
|
return {
|
||||||
inputData:[],
|
inputData:[],
|
||||||
loading:null,
|
loading:null,
|
||||||
|
pageName:'目标CO2'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -123,6 +124,9 @@
|
||||||
for (let index = 0; index < inputList.length; index++) {
|
for (let index = 0; index < inputList.length; index++) {
|
||||||
inputList[index].onfocus = this.selectValue;//input放入焦点,全选文本
|
inputList[index].onfocus = this.selectValue;//input放入焦点,全选文本
|
||||||
}
|
}
|
||||||
|
if(this.$route.query.name){
|
||||||
|
this.pageName=this.$route.query.name
|
||||||
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
//失去焦点 计算公式 x/10
|
//失去焦点 计算公式 x/10
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="targetHumidity">
|
<div class="targetHumidity">
|
||||||
<div class="table-title">
|
<div class="table-title">
|
||||||
<img src="../../assets/img/targetHumidity.png" alt="">目标湿度
|
<img src="../../assets/img/targetHumidity.png" alt="">{{pageName}}
|
||||||
</div>
|
</div>
|
||||||
<div class="title-tips-bold">
|
<div class="title-tips-bold">
|
||||||
1#目标湿度参数配置
|
1#目标湿度参数配置
|
||||||
|
@ -202,6 +202,7 @@
|
||||||
return {
|
return {
|
||||||
inputData:[],
|
inputData:[],
|
||||||
loading:null,
|
loading:null,
|
||||||
|
pageName:'目标湿度'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -221,6 +222,9 @@
|
||||||
for (let index = 0; index < inputList.length; index++) {
|
for (let index = 0; index < inputList.length; index++) {
|
||||||
inputList[index].onfocus = this.selectValue;//input放入焦点,全选文本
|
inputList[index].onfocus = this.selectValue;//input放入焦点,全选文本
|
||||||
}
|
}
|
||||||
|
if(this.$route.query.name){
|
||||||
|
this.pageName=this.$route.query.name
|
||||||
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
//失去焦点 计算公式 x/10
|
//失去焦点 计算公式 x/10
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="targetTemperature">
|
<div class="targetTemperature">
|
||||||
<div class="table-title">
|
<div class="table-title">
|
||||||
<img src="../../assets/img/targetTemperature.png" alt="">目标温度
|
<img src="../../assets/img/targetTemperature.png" alt="">{{pageName}}
|
||||||
</div>
|
</div>
|
||||||
<div class="title-tips-bold">
|
<div class="title-tips-bold">
|
||||||
1#目标温度参数配置
|
1#目标温度参数配置
|
||||||
|
@ -203,6 +203,7 @@ export default {
|
||||||
timer: null,
|
timer: null,
|
||||||
inputData: [],
|
inputData: [],
|
||||||
loading:null,
|
loading:null,
|
||||||
|
pageName:'目标温度'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
|
@ -223,6 +224,10 @@ export default {
|
||||||
for (let index = 0; index < inputList.length; index++) {
|
for (let index = 0; index < inputList.length; index++) {
|
||||||
inputList[index].onfocus = this.selectValue;//input放入焦点,全选文本
|
inputList[index].onfocus = this.selectValue;//input放入焦点,全选文本
|
||||||
}
|
}
|
||||||
|
if(this.$route.query.name){
|
||||||
|
this.pageName=this.$route.query.name
|
||||||
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
//失去焦点 计算公式 x/10
|
//失去焦点 计算公式 x/10
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="wetFan">
|
<div class="wetFan">
|
||||||
<div class="table-title">
|
<div class="table-title">
|
||||||
<img src="../../assets/img/wetFan.png" alt="">{{getName()}}
|
<img src="../../assets/img/wetFan.png" alt="">{{pageName}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<template v-if="indexs==1">
|
<template v-if="indexs==1">
|
||||||
|
@ -388,12 +388,16 @@ export default {
|
||||||
actList5: [],
|
actList5: [],
|
||||||
indexs: 1,
|
indexs: 1,
|
||||||
loading:null,
|
loading:null,
|
||||||
|
pageName:'湿帘风机',
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
$route(newVal, oldVal) {
|
$route(newVal, oldVal) {
|
||||||
const that = this;
|
const that = this;
|
||||||
this.indexs = this.$route.query.id ? this.$route.query.id : 1;
|
this.indexs = this.$route.query.id ? this.$route.query.id : 1;
|
||||||
|
if(this.$route.query.name){
|
||||||
|
this.pageName=this.$route.query.name
|
||||||
|
}
|
||||||
},
|
},
|
||||||
'$store.state.equipmentIndex'(newVal, oldVal) {
|
'$store.state.equipmentIndex'(newVal, oldVal) {
|
||||||
this.dataInit();
|
this.dataInit();
|
||||||
|
@ -411,6 +415,9 @@ export default {
|
||||||
for (let index = 0; index < inputList.length; index++) {
|
for (let index = 0; index < inputList.length; index++) {
|
||||||
inputList[index].onfocus = this.selectValue;//input放入焦点,全选文本
|
inputList[index].onfocus = this.selectValue;//input放入焦点,全选文本
|
||||||
}
|
}
|
||||||
|
if(this.$route.query.name){
|
||||||
|
this.pageName=this.$route.query.name
|
||||||
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getName(){
|
getName(){
|
||||||
|
|
Loading…
Reference in New Issue