diff --git a/thinglinks-ui/src/views/link/device/index.vue b/thinglinks-ui/src/views/link/device/index.vue index 4d6a5237cd5d213ec27a9451a5750d8821d052fc..12636e56e87e5543d5b76da8e365985479917303 100644 --- a/thinglinks-ui/src/views/link/device/index.vue +++ b/thinglinks-ui/src/views/link/device/index.vue @@ -81,8 +81,11 @@ @keyup.enter.native="handleQuery" /> - + + + + @@ -132,12 +135,15 @@ - + @@ -153,8 +159,7 @@ - - + + @@ -340,13 +346,8 @@ - + @@ -400,10 +401,10 @@ export default { ], data() { return { + productOptions: [], //密码显示隐藏 - passWord: "******", - flag: true, - index_x: [], + show: true, + currentIndex: null, // 高级搜索切换 advancedSearch: false, // 高级搜索icon @@ -498,8 +499,22 @@ export default { }, created() { this.getList(); + getDevice().then(response => { + this.productOptions = response.products; + this.title = "添加设备档案"; + }); }, methods: { + //显示隐藏 + setShow(index) { + if (this.show) { + this.currentIndex = index + this.show = false + } else { + this.currentIndex = null + this.show = true + } +s }, // 复制 copy(shareLink) { var input = document.createElement("input"); @@ -722,7 +737,7 @@ export default { align-items: center; } -.inputDeep{ +.inputDeep { border: 0 !important; }