瀏覽代碼

bug:修复设备停用封存时编辑状态变化

lupeng 10 月之前
父節點
當前提交
86c8e4367e
共有 2 個文件被更改,包括 3 次插入6 次删除
  1. 1 4
      src/api/device/index.ts
  2. 2 2
      src/views/device/allocate/index.vue

+ 1 - 4
src/api/device/index.ts

@@ -123,7 +123,6 @@ export function meteringUpdate(params: any) {
   });
 }
 
-
 export function meteringUpdateFile(params: any) {
   return request({
     url: "/api/v1/device/metering/update",
@@ -134,10 +133,8 @@ export function meteringUpdateFile(params: any) {
 
 export function disableAudit(params: any) {
   return request({
-    url: "/api/v1/device/disable/update",
+    url: "/api/v1/device/disable/updateDisable",
     method: "post",
     data: params,
   });
 }
-
-

+ 2 - 2
src/views/device/allocate/index.vue

@@ -45,7 +45,7 @@
           :size="size"
           >记录</el-button
         >
-        <el-button
+        <!--        <el-button
           @click="handleExport(row)"
           icon="el-icon-download"
           text
@@ -53,7 +53,7 @@
           type="primary"
           :size="size"
           >导出履历</el-button
-        >
+        >-->
       </template>
     </avue-crud>
     <el-dialog