diff --git a/node_modules/.package-lock.json b/node_modules/.package-lock.json
new file mode 100644
index 0000000000000000000000000000000000000000..441a23df56385e87475cc230a09681dac2409767
--- /dev/null
+++ b/node_modules/.package-lock.json
@@ -0,0 +1,6 @@
+{
+ "name": "thinglinks",
+ "lockfileVersion": 2,
+ "requires": true,
+ "packages": {}
+}
diff --git a/package-lock.json b/package-lock.json
new file mode 100644
index 0000000000000000000000000000000000000000..441a23df56385e87475cc230a09681dac2409767
--- /dev/null
+++ b/package-lock.json
@@ -0,0 +1,6 @@
+{
+ "name": "thinglinks",
+ "lockfileVersion": 2,
+ "requires": true,
+ "packages": {}
+}
diff --git a/package.json b/package.json
new file mode 100644
index 0000000000000000000000000000000000000000..0967ef424bce6791893e9a57bb952f80fd536e93
--- /dev/null
+++ b/package.json
@@ -0,0 +1 @@
+{}
diff --git a/thinglinks-ui/src/views/link/device/index.vue b/thinglinks-ui/src/views/link/device/index.vue
index f8b8d3eaebf4596eb8dee2527b30e81ad81b296d..af72b83ea8c519c255c3015f0098da254bc41c05 100644
--- a/thinglinks-ui/src/views/link/device/index.vue
+++ b/thinglinks-ui/src/views/link/device/index.vue
@@ -23,8 +23,8 @@
MQTT连接地址:
-
- {{ dict.label }}
+
+ {{ dict.label }}
@@ -132,7 +132,15 @@
-
+
+
+
+
+
+
+
+
@@ -230,7 +238,7 @@
-
+
@@ -367,7 +375,6 @@ import {
updateDevice,
disconnectDevice,
} from "@/api/link/device";
-
import mapView from "./mapView";
export default {
components: {
@@ -386,6 +393,10 @@ export default {
],
data() {
return {
+ //密码显示隐藏
+ passWord: "******",
+ flag: true,
+ index_x: [],
// 高级搜索切换
advancedSearch: false,
// 高级搜索icon
@@ -482,6 +493,19 @@ export default {
this.getList();
},
methods: {
+ // 复制
+ copy(shareLink) {
+ var input = document.createElement("input");
+ input.value = shareLink;
+ document.body.appendChild(input);
+ input.select()
+ document.execCommand("Copy");
+ document.body.removeChild(input);
+ this.$message({
+ message: '复制成功',
+ type: 'success'
+ });
+ },
// 高级搜索切换显示隐藏
advancedSearch_toggle() {
this.advancedSearch = !this.advancedSearch;
@@ -507,6 +531,7 @@ export default {
getList() {
this.loading = true;
listDevice(this.queryParams).then((response) => {
+ console.log(response);
this.deviceList = response.data.device.rows;
this.onlineCount = response.data.onlineCount
this.offlineCount = response.data.offlineCount
@@ -686,11 +711,7 @@ export default {
align-items: center;
}
-/* .equipment_status .Mqtt {
- width: 50%;
- margin-left: 20px;
- display: flex;
- align-items: center;
- justify-content: space-around;
-} */
+.inputDeep{
+ border: 0 !important;
+}