用户修改

This commit is contained in:
仲么了
2023-07-06 14:24:03 +08:00
parent 77fd768acf
commit 69063cb241
20 changed files with 331 additions and 154 deletions

View File

@@ -1,5 +1,5 @@
import request from '../js/request';
import config from '../js/config';
import request from '../js/request'
import config from '../js/config'
// 获取设备
export function getDeviceList(params) {
@@ -7,5 +7,19 @@ export function getDeviceList(params) {
url: '/cs-device-boot/EquipmentDelivery/queryEquipmentByProject',
method: 'post',
data: params,
});
})
}
/**
* 设备统计
* @param {*} id 工程id
* @returns
*/
export function getDevCount(id) {
return request({
url: '/cs-device-boot/deviceUser/devCount',
method: 'post',
data: { id },
})
}

View File

@@ -10,3 +10,10 @@ export function queryDictData(dictTypeName) {
},
});
}
export function queryDictDataCache(dictTypeName) {
return request({
url: '/system-boot/dictType/dictDataCache',
method: 'get',
});
}

View File

@@ -19,3 +19,17 @@ export function queryAppInfo(id) {
})
}
/**
* 查询app个人中心信息详情
* @param id
*/
export const queryAppInfoByType = (type) => {
return request({
url: '/cs-system-boot/appinfo/queryAppInfoByType',
method: 'post',
data: {
type,
},
})
}