¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <div class="data-acquisition-config"> |
| | | <div> |
| | | <el-row class="title"> |
| | | <el-col :span="6" style="padding-left: 20px;text-align: left;">æ°éé
ç½®</el-col> |
| | | </el-row> |
| | | </div> |
| | | <div> |
| | | <el-table></el-table> |
| | | </div> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | export default { |
| | | name: "dataAcquisitionConfig", |
| | | // import å¼å
¥çç»ä»¶éè¦æ³¨å
¥å°å¯¹è±¡ä¸æè½ä½¿ç¨ |
| | | components: {}, |
| | | data() { |
| | | // è¿éåæ¾æ°æ® |
| | | return {} |
| | | }, |
| | | // æ¹æ³éå |
| | | methods: {}, |
| | | } |
| | | </script> |
| | | |
| | | <style scoped> |
| | | .data-acquisition-config { |
| | | width: 100%; |
| | | height: 100%; |
| | | overflow-y: auto; |
| | | //overflow-x: hidden; |
| | | .title { |
| | | height: 60px; |
| | | line-height: 60px; |
| | | } |
| | | } |
| | | </style> |
| | |
| | | </el-row> |
| | | </span> |
| | | </el-dialog> |
| | | <dataAcquisitionConfig v-if="showData"/> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | import ValueTable from '../tool/value-table.vue' |
| | | import dataAcquisitionConfig from '../do/b6-device-management/b6-data-acquisition-config.vue' |
| | | export default { |
| | | components: { |
| | | ValueTable |
| | | ValueTable, |
| | | dataAcquisitionConfig |
| | | }, |
| | | data() { |
| | | return { |
| | |
| | | dialogVisible: false, |
| | | dialogVisible2: false, |
| | | addPower: false, |
| | | showData: false, // æ°éé
ç½®é¡µé¢ |
| | | componentData: { |
| | | entity: { |
| | | deviceStatus: null, |
| | |
| | | }) |
| | | }, |
| | | handleConfig(row){ |
| | | this.configForm = {} |
| | | this.dialogVisible3 = true |
| | | this.$axios.post(this.$api.deviceScope.getNumberCollect+'?id='+row.id).then(res => { |
| | | this.configForm = res.data |
| | | }) |
| | | // this.configForm = {} |
| | | // this.dialogVisible3 = true |
| | | // this.$axios.post(this.$api.deviceScope.getNumberCollect+'?id='+row.id).then(res => { |
| | | // this.configForm = res.data |
| | | // }) |
| | | this.showData = true |
| | | console.log('?????', this.showData) |
| | | }, |
| | | submitForm3(){ |
| | | if(!this.configForm.ip){ |