diff --git a/.env.development b/.env.development index 5abec8a2..260c812d 100644 --- a/.env.development +++ b/.env.development @@ -12,7 +12,7 @@ port= 9988 # 服务端地址 // 陈志荣 本地 - //target = http://192.168.18.140:8899 +// target = http://192.168.18.140:8899 // 黄明 本地 // target = http://192.168.18.134:8899 //target = http://192.168.18.139:8899 diff --git a/src/api/iot/deviceOta.js b/src/api/iot/deviceOta.js index 50bc1e76..688cbcec 100644 --- a/src/api/iot/deviceOta.js +++ b/src/api/iot/deviceOta.js @@ -62,7 +62,7 @@ export function upgradeOta(data) { } -// 新增固件版本 +// 批量升级固件版本 export function upgradeBatch(data) { return request({ url: '/iot/ota/upgradeBatch', @@ -70,4 +70,11 @@ export function upgradeBatch(data) { data: data }) } - \ No newline at end of file + +// 查询固件版本列表 +export function listUpgradeByDeviceKey(deviceKey) { + return request({ + url: '/iot/device/upgradeListByKey/' + deviceKey, + method: 'get', + }) +} diff --git a/src/assets/styles/ruoyi.scss b/src/assets/styles/ruoyi.scss index e4cc8c26..9cfc5152 100644 --- a/src/assets/styles/ruoyi.scss +++ b/src/assets/styles/ruoyi.scss @@ -87,9 +87,9 @@ .pagination-container { position: relative; height: 25px; - margin-bottom: 10px; - margin-top: 15px; - padding: 10px 20px !important; + margin-bottom: 20px; + margin-top: 5px; + padding: 15px 20px !important; } /* tree border */ diff --git a/src/components/DialogTemplate/index.vue b/src/components/DialogTemplate/index.vue index a176fd3a..8c061579 100644 --- a/src/components/DialogTemplate/index.vue +++ b/src/components/DialogTemplate/index.vue @@ -1,5 +1,5 @@