From dfd2e9de21f4c80f4d4735e180a0f1a034fca67e Mon Sep 17 00:00:00 2001
From: rain <1679827795@qq.com>
Date: Tue, 06 May 2025 14:22:59 +0800
Subject: [PATCH] 页面风格与其他保持一致,处理中状态上传图片添加必填项限制,去掉“并派发”,下方按钮变更为“受理”、“不受理”、“取消”

---
 src/api/device-setting/index.js |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/api/device-setting/index.js b/src/api/device-setting/index.js
index 07f2d84..b7a1f3e 100644
--- a/src/api/device-setting/index.js
+++ b/src/api/device-setting/index.js
@@ -27,11 +27,12 @@
  * @param {*} body 
  * @returns 
  */
-export const setThermalCurrentPaletteStyle = (deviceSn, workspaceId, body) => {
+export const setThermalCurrentPaletteStyle = (deviceSn, workspaceId, param) => {
   return request({
     // /manage/api/v1/devices/selectDevicePage
+    // url: `/localApi/manage/api/v1/devices/${workspaceId}/devices/${deviceSn}/setThermalCurrentPaletteStyle`,
     url: `/drone-device-core/manage/api/v1/devices/${workspaceId}/devices/${deviceSn}/setThermalCurrentPaletteStyle`,
     method: 'put',
-    body,
+    data: param,
   })
 }

--
Gitblit v1.9.3