Commit cfcf85b5 authored by 高超凡's avatar 高超凡

提交

parent ad432c74
...@@ -102,8 +102,7 @@ ...@@ -102,8 +102,7 @@
</div> </div>
</div> </div>
<!-- table --> <!-- table -->
<!-- <table-list :tableColums='tableColums' :tableData='tableData' :showOpr='true' :opNum='3' :showStateColor='true' :currentMode='currentId && active ? currentId : null'> --> <table-list :tableColums='tableColums' :tableData='tableData' :showOpr='true' :opNum='3' :showStateColor='true' :currentMode='currentModel'>
<table-list :tableColums='tableColums' :tableData='tableData' :showOpr='true' :opNum='3' :showStateColor='true' :currentMode='currentId && active ? currentId : 0'>
<template v-slot:operation="scope"> <template v-slot:operation="scope">
<el-button <el-button
type="text" type="text"
...@@ -292,7 +291,6 @@ export default { ...@@ -292,7 +291,6 @@ export default {
tableColums: tableColumsOne, tableColums: tableColumsOne,
isSaving: 1, //节能 isSaving: 1, //节能
isOpen: 2, //定时开关 isOpen: 2, //定时开关
currentModel: this.$store.state.d2admin.paramsList.list.syBean.currentModel, //人工模式
formData: { formData: {
temperature: '', temperature: '',
taskId: '', taskId: '',
...@@ -337,6 +335,9 @@ export default { ...@@ -337,6 +335,9 @@ export default {
}, },
sbList() { sbList() {
return this.$store.state.d2admin.paramsList.list.sbList return this.$store.state.d2admin.paramsList.list.sbList
},
currentModel() {
return this.$store.state.d2admin.paramsList.list.syBean.currentModel
} }
}, },
watch: { watch: {
...@@ -579,8 +580,6 @@ export default { ...@@ -579,8 +580,6 @@ export default {
this.currentId = id this.currentId = id
} }
}) })
console.log('currentModel'+this.currentModel);
}, },
statusHandle() {}, statusHandle() {},
// 人工节能 // 人工节能
......
...@@ -54,7 +54,6 @@ export default { ...@@ -54,7 +54,6 @@ export default {
enTable, enTable,
tablePagination, tablePagination,
tableList, tableList,
}, },
data() { data() {
...@@ -65,7 +64,6 @@ export default { ...@@ -65,7 +64,6 @@ export default {
activeTab: 'b6af764f2a6e454490a6b1b3c9057e57', activeTab: 'b6af764f2a6e454490a6b1b3c9057e57',
tableData: [], tableData: [],
tableColums: tableColumsOne, tableColums: tableColumsOne,
currentModel: this.$store.state.d2admin.paramsList.list.syBean.currentModel, //人工模式
officeTabList: [ officeTabList: [
{ {
id: 'b6af764f2a6e454490a6b1b3c9057e57', id: 'b6af764f2a6e454490a6b1b3c9057e57',
...@@ -105,6 +103,9 @@ export default { ...@@ -105,6 +103,9 @@ export default {
}, },
dlxfsnjList() { dlxfsnjList() {
return this.$store.state.d2admin.paramsList.list.dlxfsnjList return this.$store.state.d2admin.paramsList.list.dlxfsnjList
},
currentModel() {
return this.$store.state.d2admin.paramsList.list.syBean.currentModel
} }
}, },
watch: { watch: {
...@@ -132,7 +133,6 @@ export default { ...@@ -132,7 +133,6 @@ export default {
}, },
mounted() { mounted() {
this.getDataList() this.getDataList()
console.log(this.currentModel);
}, },
methods: { methods: {
// 获取数据列表 // 获取数据列表
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment