diff --git a/config/index.js b/config/index.js index 2a40e5e..0f1c991 100644 --- a/config/index.js +++ b/config/index.js @@ -87,7 +87,7 @@ }, // Various Dev Server settings - host: "192.168.16.109", // can be overwritten by process.env.HOST + host: "0.0.0.0", // can be overwritten by process.env.HOST port: 8080, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined autoOpenBrowser: true, errorOverlay: true, diff --git a/config/index.js b/config/index.js index 2a40e5e..0f1c991 100644 --- a/config/index.js +++ b/config/index.js @@ -87,7 +87,7 @@ }, // Various Dev Server settings - host: "192.168.16.109", // can be overwritten by process.env.HOST + host: "0.0.0.0", // can be overwritten by process.env.HOST port: 8080, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined autoOpenBrowser: true, errorOverlay: true, diff --git a/src/components/ConfigManager/RtuConfig.vue b/src/components/ConfigManager/RtuConfig.vue index 97f70bb..79d6aab 100644 --- a/src/components/ConfigManager/RtuConfig.vue +++ b/src/components/ConfigManager/RtuConfig.vue @@ -57,6 +57,8 @@ size="mini" > +
+ +
@@ -430,6 +433,23 @@ }; }, mounted() {}, + watch:{ + 'formAll': { + handler(newValue, oldValue) { + console.log(newValue,newValue[0].form1.rtuhour,'obj.a changed'); + if(newValue[0].form1.rtuhour){ + // rtuStationType + this.formAllBody['1'].data.forEach((item,index,arr)=>{ + if(item.fieldIdentifier === 'rtuStationType'){ + console.log(555) + // arr[index].selectOption='河道' + } + }) + } + }, + deep: true + } + }, methods: { switchChange(val){ console.log(val,this.formAll[0].form1,'change') @@ -865,7 +885,7 @@ this.$set(this.formAllBody, i, newObj); } } - // console.log(this.formAllBody,'999') + console.log(this.formAllBody,'999') }); }, async getSiteList() { @@ -1010,7 +1030,29 @@ } } + .rowClass:nth-child(2n){ + background-color: rgba(144,147,153,0.3); + } + } + // .row-box{ + // height: 80vh; + // display: flex; + // justify-content: flex-start; + + // flex-direction: column; + // flex-wrap: wrap; + // .rowClass{ + // display: flex; + // justify-content: flex-start; + + // flex-direction: column; + // flex-wrap: wrap; + // } + + // } + + } // /deep/.el-menu-item{ // background-color: #fff !important;