|
@@ -33,12 +33,12 @@
|
|
|
|
|
|
|
|
<el-form-item :required="true" :label="this.$t('formPassword')" prop="password">
|
|
<el-form-item :required="true" :label="this.$t('formPassword')" prop="password">
|
|
|
<el-input v-model="form3.password" auto-complete="off" :type="passwordVisible ? 'text' : 'password'" >
|
|
<el-input v-model="form3.password" auto-complete="off" :type="passwordVisible ? 'text' : 'password'" >
|
|
|
- <template slot="suffix">
|
|
|
|
|
|
|
+ <template slot="suffix">
|
|
|
<span
|
|
<span
|
|
|
class="el-icon-view"
|
|
class="el-icon-view"
|
|
|
@click="togglePasswordVisibility()"
|
|
@click="togglePasswordVisibility()"
|
|
|
></span>
|
|
></span>
|
|
|
- </template>
|
|
|
|
|
|
|
+ </template>
|
|
|
</el-input>
|
|
</el-input>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
|
|
|
|
@@ -54,7 +54,7 @@
|
|
|
</div>
|
|
</div>
|
|
|
</el-card>
|
|
</el-card>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
- <el-col :span="8" class="card-box" v-if="this.productParams.ip4sz=='1'">
|
|
|
|
|
|
|
+ <el-col :span="8" class="card-box" style="display: none" v-if="this.productParams.ip4sz=='1'">
|
|
|
<el-card>
|
|
<el-card>
|
|
|
<div slot="header"><span style=" font-size: 20px; font-weight: bold;"><i class="el-icon-monitor"></i> {{$t('IPV4sz')}}</span>
|
|
<div slot="header"><span style=" font-size: 20px; font-weight: bold;"><i class="el-icon-monitor"></i> {{$t('IPV4sz')}}</span>
|
|
|
</div>
|
|
</div>
|
|
@@ -71,10 +71,10 @@
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
|
|
|
|
|
<!--<el-form-item :label="this.$t('IPbb')" prop="type">-->
|
|
<!--<el-form-item :label="this.$t('IPbb')" prop="type">-->
|
|
|
- <!--<el-select style="width: 100%" v-model="form.type" allow-create clearable :filterable="false">-->
|
|
|
|
|
- <!--<el-option v-for="item in types" :key="item.id" :label="$t(item.name)" :value="item.id">-->
|
|
|
|
|
- <!--</el-option>-->
|
|
|
|
|
- <!--</el-select>-->
|
|
|
|
|
|
|
+ <!--<el-select style="width: 100%" v-model="form.type" allow-create clearable :filterable="false">-->
|
|
|
|
|
+ <!--<el-option v-for="item in types" :key="item.id" :label="$t(item.name)" :value="item.id">-->
|
|
|
|
|
+ <!--</el-option>-->
|
|
|
|
|
+ <!--</el-select>-->
|
|
|
<!--</el-form-item>-->
|
|
<!--</el-form-item>-->
|
|
|
<el-form-item :label="'IP '+this.$t('dz')" prop="ipaddress">
|
|
<el-form-item :label="'IP '+this.$t('dz')" prop="ipaddress">
|
|
|
<el-input :disabled="showClass" v-model="form.ipaddress" />
|
|
<el-input :disabled="showClass" v-model="form.ipaddress" />
|
|
@@ -104,7 +104,7 @@
|
|
|
</div>
|
|
</div>
|
|
|
</el-card>
|
|
</el-card>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
- <el-col :span="8" class="card-box" v-if="this.productParams.ip6sz=='1'">
|
|
|
|
|
|
|
+ <el-col :span="8" class="card-box" style="display: none" v-if="this.productParams.ip6sz=='1'">
|
|
|
<el-card>
|
|
<el-card>
|
|
|
<div slot="header"><span style=" font-size: 20px; font-weight: bold;"><i class="el-icon-monitor"></i> {{$t('IPV6sz')}}</span>
|
|
<div slot="header"><span style=" font-size: 20px; font-weight: bold;"><i class="el-icon-monitor"></i> {{$t('IPV6sz')}}</span>
|
|
|
</div>
|
|
</div>
|
|
@@ -227,18 +227,20 @@
|
|
|
this.queryIp3();
|
|
this.queryIp3();
|
|
|
setTimeout(()=>{
|
|
setTimeout(()=>{
|
|
|
this.queryIp();
|
|
this.queryIp();
|
|
|
- },1000) ;
|
|
|
|
|
|
|
+ },1000) ;
|
|
|
setTimeout(()=>{
|
|
setTimeout(()=>{
|
|
|
this.queryIp2();
|
|
this.queryIp2();
|
|
|
- },1500)
|
|
|
|
|
|
|
+ },1500)
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
//wifi状态
|
|
//wifi状态
|
|
|
onSocketMessageToWifiStatus(recvMessage) {
|
|
onSocketMessageToWifiStatus(recvMessage) {
|
|
|
if (recvMessage.success && recvMessage.data!=null && recvMessage.data.data!='' && recvMessage.data.data!=null) {
|
|
if (recvMessage.success && recvMessage.data!=null && recvMessage.data.data!='' && recvMessage.data.data!=null) {
|
|
|
if(recvMessage.data!=null){
|
|
if(recvMessage.data!=null){
|
|
|
- this.form3.IPadress=recvMessage.data.IPadress;
|
|
|
|
|
- this.form3.ljzt=recvMessage.data.ljzt;
|
|
|
|
|
|
|
+ this.form3.IPadress=recvMessage.data.data.IPadress;
|
|
|
|
|
+ this.form3.ljzt=recvMessage.data.data.ljzt;
|
|
|
|
|
+ this.form3.password=recvMessage.data.data.password;
|
|
|
|
|
+ this.form3.ssid=recvMessage.data.data.ssid;
|
|
|
}
|
|
}
|
|
|
// this.queryTotalStatus();
|
|
// this.queryTotalStatus();
|
|
|
}
|
|
}
|
|
@@ -346,9 +348,9 @@
|
|
|
communicationManagement(params).then(response => {
|
|
communicationManagement(params).then(response => {
|
|
|
if(response.data!=null){
|
|
if(response.data!=null){
|
|
|
this.form3=response.data;
|
|
this.form3=response.data;
|
|
|
- }
|
|
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
- });
|
|
|
|
|
|
|
+ });
|
|
|
},
|
|
},
|
|
|
/** 提交按钮 */
|
|
/** 提交按钮 */
|
|
|
submitForm: function() {
|
|
submitForm: function() {
|
|
@@ -368,7 +370,7 @@
|
|
|
communicationManagement(params);
|
|
communicationManagement(params);
|
|
|
}).then(() => {
|
|
}).then(() => {
|
|
|
this.$modal.msgSuccess(this.$t('zxcg'));
|
|
this.$modal.msgSuccess(this.$t('zxcg'));
|
|
|
- }).catch(() => {});
|
|
|
|
|
|
|
+ }).catch(() => {});
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
}
|
|
@@ -393,7 +395,7 @@
|
|
|
communicationManagement(params);
|
|
communicationManagement(params);
|
|
|
}).then(() => {
|
|
}).then(() => {
|
|
|
this.$modal.msgSuccess(this.$t('zxcg'));
|
|
this.$modal.msgSuccess(this.$t('zxcg'));
|
|
|
- }).catch(() => {});
|
|
|
|
|
|
|
+ }).catch(() => {});
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
}
|
|
@@ -416,7 +418,7 @@
|
|
|
communicationManagement(params);
|
|
communicationManagement(params);
|
|
|
}).then(() => {
|
|
}).then(() => {
|
|
|
this.$modal.msgSuccess(this.$t('zxcg'));
|
|
this.$modal.msgSuccess(this.$t('zxcg'));
|
|
|
- }).catch(() => {});
|
|
|
|
|
|
|
+ }).catch(() => {});
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
}
|