diff --git a/dist.zip b/dist.zip index 7ce3e55..85f58c7 100644 Binary files a/dist.zip and b/dist.zip differ diff --git a/src/api/daikin/base.ts b/src/api/daikin/base.ts index 4c0eaa1..f0e76c1 100755 --- a/src/api/daikin/base.ts +++ b/src/api/daikin/base.ts @@ -1366,3 +1366,11 @@ export async function fetchReviewAuthCateList(params?: any) { export async function fetchmoduleStatExternalPage(params?: any) { return http.get(`/moduleStat/externalPage`, { params }) } +// 内部统计列表 +export async function fetchmoduleStatInternalPage(params?: any) { + return http.get(`/moduleStat/internalPage`, { params }) +} +// 获取岗位 +export async function fetchPostList(params?: any) { + return http.get(`/common/getPostList`, { params }) +} diff --git a/src/views/home/footprint/index.vue b/src/views/home/footprint/index.vue index 1ad7d39..9dc4fd5 100755 --- a/src/views/home/footprint/index.vue +++ b/src/views/home/footprint/index.vue @@ -3,7 +3,9 @@ import HomeHead from '@/views/home/components/HomeHead.vue' import { timeStat, externalTimeStat, - fetchmoduleStatExternalPage + fetchmoduleStatExternalPage, + fetchPostList, + fetchmoduleStatInternalPage } from '@/api/daikin/base' import { formatDate } from '@/utils/format' import { Chart1 } from './indexData' @@ -33,17 +35,27 @@ const pageInfo = reactive({ total: 10 }) const moduleCode = ref() +const imoduleCode = ref() const visitDay = ref() const waibuKd = ref() const inseideDetail = ref([]) const outDetail = ref([]) +const postId = ref([]) +const nickName = ref() +const postList = ref([]) +const getPostList = async () => { + const res: any = await fetchPostList() + postList.value = res.data || [] +} + const getInsideListPage = async () => { - const res: any = await fetchmoduleStatExternalPage({ - waibuKd: waibuKd.value, - visitDay: visitDay.value, - moduleCode: moduleCode.value, + const res: any = await fetchmoduleStatInternalPage({ + postId: postId.value, + nickName: nickName.value, + moduleCode: imoduleCode.value, pageNum: pageInfo.currentPage, - pageSize: pageInfo.pageSize + pageSize: pageInfo.pageSize, + ...states }) inseideDetail.value = res?.rows || [] pageInfo.total = res?.total || 0 @@ -60,8 +72,9 @@ const getListPage = async () => { pageInfo.total = res?.total || 0 } +getPostList() getListPage() -// getInsideListPage() +getInsideListPage() const clickButton = (id) => { primary.value = id @@ -226,7 +239,7 @@ const selValue = ref('') 日期:
-
+
模块: +
-
+
+ > 供方:
+
+ > + 昵称: + +
- +
- + - + - - - -
@@ -409,13 +447,6 @@ const selValue = ref('') }" :cell-style="{ 'text-align': 'center', 'overflow-y': 'auto' }" > - - - {{ externalObj[row.moduleCode] || '' }} + + +