From 4181e62f96a2716f70699ba194fe2affe9d2133d Mon Sep 17 00:00:00 2001 From: linwenling <3256558519@qq.com> Date: 星期六, 08 四月 2023 22:20:47 +0800 Subject: [PATCH] 新增家庭设备页面 --- ruoyi-ui/src/views/bignote/index.vue | 4 +++- ruoyi-ui/src/views/bignote/familyeventInfo.vue | 8 +++++--- ruoyi-ui/src/api/device/index.js | 3 ++- ruoyi-ui/src/router/index.js | 2 ++ 4 files changed, 12 insertions(+), 5 deletions(-) diff --git a/ruoyi-ui/src/api/device/index.js b/ruoyi-ui/src/api/device/index.js index 546dca1..19d3aa9 100644 --- a/ruoyi-ui/src/api/device/index.js +++ b/ruoyi-ui/src/api/device/index.js @@ -1,6 +1,6 @@ import request from '@/utils/request' -//Equipment +//Equipment // 鏌ヨ鎵�鏈夊搴澶� export function listEquipment(query) { @@ -11,6 +11,7 @@ }) } + // // 鏍规嵁id鏌ヨ鎵�鏈夊搴澶囪缁嗕俊鎭� export function getEquipmentInfo(id) { return request({ diff --git a/ruoyi-ui/src/router/index.js b/ruoyi-ui/src/router/index.js index 8b055f2..b3ba839 100644 --- a/ruoyi-ui/src/router/index.js +++ b/ruoyi-ui/src/router/index.js @@ -159,6 +159,8 @@ } ] }, + + //缂栬緫涓汉淇℃伅 { path: '/self/user', diff --git a/ruoyi-ui/src/views/bignote/familyeventInfo.vue b/ruoyi-ui/src/views/bignote/familyeventInfo.vue index 08fc0d5..5b3fae8 100644 --- a/ruoyi-ui/src/views/bignote/familyeventInfo.vue +++ b/ruoyi-ui/src/views/bignote/familyeventInfo.vue @@ -212,12 +212,12 @@ } let _this = this - + if (id) { - + this.loading = true; getFamilyeventInfo(id).then((response) => { - + this.formData = response.data; let paths = response.data.url.split(","); for(let i = 0; i < paths.length; i++) @@ -363,6 +363,8 @@ display: block; } + + .pt{ right: 10px; top:-3px; diff --git a/ruoyi-ui/src/views/bignote/index.vue b/ruoyi-ui/src/views/bignote/index.vue index 7e5fbc1..5099535 100644 --- a/ruoyi-ui/src/views/bignote/index.vue +++ b/ruoyi-ui/src/views/bignote/index.vue @@ -70,6 +70,8 @@ </el-form-item> </el-form> + + <div style="width: 72px; height: 24px; font-size: 18px; @@ -410,7 +412,7 @@ console.log(this.queryParams) // listProperty(this.addDateRange(this.queryParams, this.dateRange)).then(response => { listFamilyevent(this.queryParams).then(response => { - + // console.log(response.data.data) this.familyList = response.data.data; -- Gitblit v1.9.1