Browse Source

产品分类

lipenghui 5 tháng trước cách đây
mục cha
commit
df022eb06f

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

@@ -14,7 +14,7 @@ export interface IotProductClassifyVO {
 export const IotProductClassifyApi = {
 export const IotProductClassifyApi = {
   // 查询设备分类分页
   // 查询设备分类分页
   getIotProductClassifyPage: async (params: any) => {
   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 * as ProductClassifyApi from '@/api/pms/productclassify'
 import ProductClassifyForm from './ProductClassifyForm.vue'
 import ProductClassifyForm from './ProductClassifyForm.vue'
 
 
-defineOptions({ name: 'SystemDept' })
+defineOptions({ name: 'IotProductClassify' })
 
 
 const message = useMessage() // 消息弹窗
 const message = useMessage() // 消息弹窗
 const { t } = useI18n() // 国际化
 const { t } = useI18n() // 国际化