-
标准 MQTT
+
标准 MQTT
-
+
@@ -24,22 +34,42 @@
-
+
-
+
.
-
+
.
-
+
.
-
+
@@ -47,31 +77,62 @@
-
-
+
+
-
-
+
+
-
-
+
+
2-60000
-
-
+
+
@@ -97,9 +158,22 @@
-
-
-
+
+
+
@@ -148,16 +222,24 @@
-
+
-
+
@@ -168,8 +250,14 @@
-
+
-
+
-
+
-
\ No newline at end of file
diff --git a/src/components/ChiClonewifi.vue b/src/components/ChiClonewifi.vue
index 7b196f5..8a6556c 100644
--- a/src/components/ChiClonewifi.vue
+++ b/src/components/ChiClonewifi.vue
@@ -5,7 +5,12 @@
@@ -14,7 +19,12 @@
标准 MQTT
-
+
@@ -24,22 +34,42 @@
-
+
-
+
.
-
+
.
-
+
.
-
+
@@ -47,31 +77,62 @@
-
-
+
+
-
-
+
+
-
-
+
+
2-60000
-
-
+
+
@@ -97,9 +158,22 @@
-
-
-
+
+
+
@@ -148,16 +222,24 @@
-
+
-
+
@@ -168,8 +250,14 @@
-
+
-
+
-
-
+
+
@@ -21,7 +33,12 @@
-
+
@@ -31,7 +48,12 @@
-
+
@@ -39,8 +61,15 @@
-
-
+
+
@@ -55,12 +84,13 @@
\ No newline at end of file
+
diff --git a/src/components/CloneWifi.vue b/src/components/CloneWifi.vue
index d7caa7c..c7172c3 100644
--- a/src/components/CloneWifi.vue
+++ b/src/components/CloneWifi.vue
@@ -1,710 +1,853 @@
-
-
-
-
-
-
-
-
-
-
MQTT Client
-
-
-
-
-
- 启动
-
-
-
-
-
-
-
-
-
-
-
-
-
- .
-
-
-
-
-
-
- .
-
-
-
-
-
- .
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+ MQTT Client
+
+
+
+
+
+
+ 启动
+
+
+
+
+
+
+
+
+
+
+
+
+
+ .
+
+
+
+
+
+ .
+
+
+
+
+
+ .
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 保存
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
+
diff --git a/src/components/DataAcquire.vue b/src/components/DataAcquire.vue
index 558586f..f18386b 100644
--- a/src/components/DataAcquire.vue
+++ b/src/components/DataAcquire.vue
@@ -1,38 +1,85 @@
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
+
请确认选择的网关类型与网关实体一致:否则该工程无法下载至实体网关
@@ -48,6 +95,7 @@ export default {
data() {
return {
loading: false,
+ user_id: "",
options1: [
{
value: "有线区网关1",
@@ -116,9 +164,15 @@ export default {
};
},
- mounted() { },
+ created() {
+ let that = this;
+ window.getParameter = that.getParameter;
+ },
methods: {
+ getParameter(data) {
+ this.user_id = data;
+ },
saveInfo(formName) {
this.$refs[formName].validate((valid) => {
if (valid) {
@@ -144,8 +198,8 @@ export default {
});
if (res.status == 200) {
this.$message({
- message: '保存成功',
- type: 'success'
+ message: "保存成功",
+ type: "success",
});
}
console.log(res);
diff --git a/src/components/DataAcquisition.vue b/src/components/DataAcquisition.vue
index f1d14a1..61fd8ce 100644
--- a/src/components/DataAcquisition.vue
+++ b/src/components/DataAcquisition.vue
@@ -1,38 +1,85 @@
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
+
请确认选择的网关类型与网关实体一致:否则该工程无法下载至实体网关
@@ -48,6 +95,7 @@ export default {
data() {
return {
loading: false,
+ user_id: "",
options1: [
{
value: "有线区网关1",
@@ -115,10 +163,16 @@ export default {
innerVisible: false,
};
},
-
- mounted() { },
+ created() {
+ let that = this;
+ window.getParameter = that.getParameter;
+ },
+ mounted() {},
methods: {
+ getParameter(data) {
+ this.user_id = data;
+ },
saveInfo(formName) {
this.$refs[formName].validate((valid) => {
if (valid) {
@@ -144,8 +198,8 @@ export default {
});
if (res.status == 200) {
this.$message({
- message: '保存成功',
- type: 'success'
+ message: "保存成功",
+ type: "success",
});
}
console.log(res);
diff --git a/src/components/GateWay.vue b/src/components/GateWay.vue
index 33e16d9..99bd0c4 100644
--- a/src/components/GateWay.vue
+++ b/src/components/GateWay.vue
@@ -208,6 +208,7 @@ export default {
data() {
return {
// disabled: true,
+ user_id: "",
// 判断是否保存过
loading: false,
formData: {
@@ -284,6 +285,9 @@ export default {
},
},
methods: {
+ getParameter(data) {
+ this.user_id = data;
+ },
// 封装合并输入框的数据
Merge(value, value1, value2, value3, value4) {
value = value1 + "." + value2 + "." + value3 + "." + value4;
@@ -422,6 +426,8 @@ export default {
},
},
created() {
+ let that = this;
+ window.getParameter = that.getParameter;
this.getUserAnswer();
},
mounted() {},
diff --git a/src/components/GatewayConfiguration.vue b/src/components/GatewayConfiguration.vue
index 8d3dd41..5b13f3e 100644
--- a/src/components/GatewayConfiguration.vue
+++ b/src/components/GatewayConfiguration.vue
@@ -156,6 +156,7 @@
diff --git a/src/components/GatewayMaintenance.vue b/src/components/GatewayMaintenance.vue
index 39e80c9..8958efb 100644
--- a/src/components/GatewayMaintenance.vue
+++ b/src/components/GatewayMaintenance.vue
@@ -193,12 +193,14 @@
diff --git a/src/components/IpConfiguration.vue b/src/components/IpConfiguration.vue
index 4d4f135..ea2c758 100644
--- a/src/components/IpConfiguration.vue
+++ b/src/components/IpConfiguration.vue
@@ -167,11 +167,11 @@