From bf2043b30bf487dc866e0971bbd3ed078a7b216e Mon Sep 17 00:00:00 2001 From: jiminglei <836545853@qq.com> Date: Tue, 6 Jun 2023 11:45:54 +0800 Subject: [PATCH] 11 --- psdc-ui/src/api/emonitor/api.js | 6 +++- psdc-ui/src/views/system/device/index.vue | 40 +++++++++++++++++------ 2 files changed, 35 insertions(+), 11 deletions(-) diff --git a/psdc-ui/src/api/emonitor/api.js b/psdc-ui/src/api/emonitor/api.js index 7b18cd3..7915806 100644 --- a/psdc-ui/src/api/emonitor/api.js +++ b/psdc-ui/src/api/emonitor/api.js @@ -80,4 +80,8 @@ export function postXg1(data) { } export function postDel1(data) { return request.post('system/device/index/del',data) -} \ No newline at end of file +} +export function DevData(data) { + return request.post('system/device/index/daoruDevData',data) +} + diff --git a/psdc-ui/src/views/system/device/index.vue b/psdc-ui/src/views/system/device/index.vue index e05dc1a..59feab1 100644 --- a/psdc-ui/src/views/system/device/index.vue +++ b/psdc-ui/src/views/system/device/index.vue @@ -69,7 +69,7 @@ :limit="1" accept=".xlsx, .xls" :headers="data.upload.headers" - :action="data.upload.url + '?updateSupport=' + data.upload.updateSupport" + :action="data.upload.url" :disabled="data.upload.isUploading" :on-progress="handleFileUploadProgress" :on-success="handleFileSuccess" @@ -91,7 +91,7 @@ @@ -200,7 +200,7 @@