lipenghui il y a 5 mois
Parent
commit
df022eb06f

+ 1 - 1
src/api/pms/productclassify/index.ts

@@ -14,7 +14,7 @@ export interface IotProductClassifyVO {
 export const IotProductClassifyApi = {
   // 查询设备分类分页
   getIotProductClassifyPage: async (params: any) => {
-    return await request.get({ url: `/rq/iot-product-classify/page`, params })
+    return await request.get({ url: `/rq/iot-product-classify/list`, params })
   },
 
   // 查询设备分类详情

+ 1 - 1
src/views/pms/productclassify/index.vue

@@ -107,7 +107,7 @@ import { handleTree } from '@/utils/tree'
 import * as ProductClassifyApi from '@/api/pms/productclassify'
 import ProductClassifyForm from './ProductClassifyForm.vue'
 
-defineOptions({ name: 'SystemDept' })
+defineOptions({ name: 'IotProductClassify' })
 
 const message = useMessage() // 消息弹窗
 const { t } = useI18n() // 国际化