diff --git a/src/api/cs-harmonic-boot/datatrend.ts b/src/api/cs-harmonic-boot/datatrend.ts index ace01aa..97f0304 100644 --- a/src/api/cs-harmonic-boot/datatrend.ts +++ b/src/api/cs-harmonic-boot/datatrend.ts @@ -8,3 +8,28 @@ export function getDeviceDataTrend(data: any) { data }) } + +// 查询游客配置 +export const getVisitorConfig = () => { + return createAxios({ + url: '/cs-device-boot/csTouristData/queryAll', + method: 'POST' + }) +} + +// 更新游客配置 +export const updateVisitorConfig = (data: any) => { + return createAxios({ + url: '/cs-device-boot/csTouristData/add', + method: 'POST', + data: data + }) +} +// * 根据用户获取营销数据 +export const queryByUseId = (data: any) => { + return createAxios({ + url: 'cs-device-boot/csMarketData/queryByUseId', + method: 'POST', + params: data + }) +} diff --git a/src/api/user.ts b/src/api/user.ts index a6480c9..a31ab93 100644 --- a/src/api/user.ts +++ b/src/api/user.ts @@ -29,3 +29,14 @@ export function refreshToken(): Promise { username: adminInfo.username }) } + +/** + * 获取营销用户列表 + * @returns {AxiosPromise} + */ +export const getMarketList = () => { + return createAxios({ + url: '/user-boot/user/getMarketList', + method: 'post', + }) +} diff --git a/src/components/tree/govern/deviceTree.vue b/src/components/tree/govern/deviceTree.vue index 12887d0..f72ec24 100644 --- a/src/components/tree/govern/deviceTree.vue +++ b/src/components/tree/govern/deviceTree.vue @@ -1,5 +1,11 @@ diff --git a/src/components/tree/govern/getMarketList.vue b/src/components/tree/govern/getMarketList.vue new file mode 100644 index 0000000..5464b09 --- /dev/null +++ b/src/components/tree/govern/getMarketList.vue @@ -0,0 +1,29 @@ + + + diff --git a/src/views/dashboard/index.vue b/src/views/dashboard/index.vue index 76189c7..574fad3 100644 --- a/src/views/dashboard/index.vue +++ b/src/views/dashboard/index.vue @@ -20,8 +20,8 @@ import TableHeader from '@/components/table/header/index.vue' import Area from '@/components/form/area/index.vue' import { useDictData } from '@/stores/dictData' -import Echart from '@/views/dashboard/components/echart.vue' -import Tableabove from '@/views/dashboard/components/Tableabove.vue' +import Echart from '@/views/Event-boot/Region/components/echart.vue' +import Tableabove from '@/views/Event-boot/Region/components/Tableabove.vue' import TableStore from '@/utils/tableStore' import { onMounted, reactive, ref, provide } from 'vue' import { mainHeight } from '@/utils/layout' diff --git a/src/views/dashboard/test.vue b/src/views/dashboard/test.vue deleted file mode 100644 index e19f59b..0000000 --- a/src/views/dashboard/test.vue +++ /dev/null @@ -1,12 +0,0 @@ - - - -@/api/text \ No newline at end of file diff --git a/src/views/govern/device/disposition/index.vue b/src/views/govern/device/disposition/index.vue new file mode 100644 index 0000000..e8b408b --- /dev/null +++ b/src/views/govern/device/disposition/index.vue @@ -0,0 +1,83 @@ + + + + + diff --git a/src/views/govern/device/tourist/index.vue b/src/views/govern/device/tourist/index.vue new file mode 100644 index 0000000..93afb3d --- /dev/null +++ b/src/views/govern/device/tourist/index.vue @@ -0,0 +1,97 @@ + + + + +