diff --git a/App.vue b/App.vue
index 99d9f00..ce98a4e 100644
--- a/App.vue
+++ b/App.vue
@@ -1,56 +1,29 @@
diff --git a/common/api/device.js b/common/api/device.js
index 92cbb2f..8a50415 100644
--- a/common/api/device.js
+++ b/common/api/device.js
@@ -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 },
+ })
}
diff --git a/common/api/dictionary.js b/common/api/dictionary.js
index a94e6be..f0801e0 100644
--- a/common/api/dictionary.js
+++ b/common/api/dictionary.js
@@ -10,3 +10,10 @@ export function queryDictData(dictTypeName) {
},
});
}
+
+export function queryDictDataCache(dictTypeName) {
+ return request({
+ url: '/system-boot/dictType/dictDataCache',
+ method: 'get',
+ });
+}
\ No newline at end of file
diff --git a/common/api/mine.js b/common/api/mine.js
index e87fa7a..d1c58d2 100644
--- a/common/api/mine.js
+++ b/common/api/mine.js
@@ -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,
+ },
+ })
+}
diff --git a/common/js/cacheKey.js b/common/js/cacheKey.js
index 880bcd7..2cca079 100644
--- a/common/js/cacheKey.js
+++ b/common/js/cacheKey.js
@@ -4,4 +4,5 @@ export default {
engineering: 'engineering', // 工程信息
access_token: 'access_token', // token
refresh_token: 'refresh_token', // 刷新token
+ dictData: 'dictData', // 字典数据
}
diff --git a/pages/engineering/list.vue b/pages/engineering/list.vue
index 5eeed11..26b89f7 100644
--- a/pages/engineering/list.vue
+++ b/pages/engineering/list.vue
@@ -90,8 +90,6 @@ export default {
diff --git a/pages/index/comp/indexYunWei.vue b/pages/index/comp/indexYunWei.vue
index c69f473..b46f757 100644
--- a/pages/index/comp/indexYunWei.vue
+++ b/pages/index/comp/indexYunWei.vue
@@ -2,21 +2,28 @@
diff --git a/pages/index/comp/indexZhuYongHu.vue b/pages/index/comp/indexZhuYongHu.vue
index a571188..ffee880 100644
--- a/pages/index/comp/indexZhuYongHu.vue
+++ b/pages/index/comp/indexZhuYongHu.vue
@@ -2,15 +2,15 @@
@@ -30,7 +30,12 @@ export default {
loading: false,
}
},
-
+ props: {
+ devCount: {
+ type: Object,
+ default: {},
+ },
+ },
methods: {
submitFeedBack() {
uni.navigateTo({ url: '/pages/home/feedback' })
diff --git a/pages/index/comp/indexZhuanZhi.vue b/pages/index/comp/indexZhuanZhi.vue
index f1a1625..c08fd14 100644
--- a/pages/index/comp/indexZhuanZhi.vue
+++ b/pages/index/comp/indexZhuanZhi.vue
@@ -6,15 +6,15 @@