diff --git a/src/api/synthesize-query/project-count.js b/src/api/synthesize-query/project-count.js new file mode 100644 index 0000000..17ed811 --- /dev/null +++ b/src/api/synthesize-query/project-count.js @@ -0,0 +1,10 @@ +import request from '@/utils/request' + +// 综合查询 获取工程统计列表 +export const getProjectCountListAPI = (data) => { + return request({ + url: '/bmw/workerLight/xxx', + method: 'GET', + params: data, + }) +} diff --git a/src/router/index.js b/src/router/index.js index 72d2300..cd6e041 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -74,6 +74,21 @@ export const constantRoutes = [ permissions: ['home:page:query'], meta: { title: '首页', icon: 'dashboard', affix: true }, }, + + // 工程统计详情页面 + { + path: 'project-count-detail', + name: 'ProjectCountDetail', + hidden: true, + component: () => + import( + '@/views/synthesize-query/project-count/detail/index' + ), + meta: { + title: '工程统计详情', + activeMenu: '/synthesize-query/project-count', + }, + }, ], }, { diff --git a/src/views/synthesize-query/project-count/config.js b/src/views/synthesize-query/project-count/config.js new file mode 100644 index 0000000..49a316c --- /dev/null +++ b/src/views/synthesize-query/project-count/config.js @@ -0,0 +1,30 @@ +export const formLabel = [ + { + isShow: false, // 是否展示label + f_type: 'ipt', + f_label: '工程名称', + f_model: 'proName', + }, + { + isShow: false, // 是否展示label + f_type: 'sel', + f_label: '工程状态', + f_model: 'proStatus', + }, +] + +export const columnsList = [ + { t_props: 'mainProName', t_label: '分公司' }, + { t_label: '工程名称', t_props: 'volLevel' }, + + { + t_label: '分包数量', + t_props: 'volLevel', + }, + { t_slot: 'proStatus', t_label: '班组数量' }, + { t_slot: 'proStatus', t_label: '在场' }, + { t_slot: 'proStatus', t_label: '工程类型' }, + { t_slot: 'proStatus', t_label: '电压等级' }, + { t_slot: 'proStatus', t_label: '状态' }, + { t_slot: 'proStatus', t_label: '工程地址' }, +] diff --git a/src/views/synthesize-query/project-count/detail/components/attMachine-card.vue b/src/views/synthesize-query/project-count/detail/components/attMachine-card.vue new file mode 100644 index 0000000..6dc723b --- /dev/null +++ b/src/views/synthesize-query/project-count/detail/components/attMachine-card.vue @@ -0,0 +1,337 @@ + + + + + + + + + 考勤机明细 + + + + + + + + + + + + + {{ scope.row.entryExitStatus }} + + + + + + + + + + + + + + + + + diff --git a/src/views/synthesize-query/project-count/detail/components/card-count.vue b/src/views/synthesize-query/project-count/detail/components/card-count.vue new file mode 100644 index 0000000..f7e473e --- /dev/null +++ b/src/views/synthesize-query/project-count/detail/components/card-count.vue @@ -0,0 +1,547 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ formatNumber(card.value) }} + + + + + + + {{ card.label }} + + + + + + + + + + + + + + + diff --git a/src/views/synthesize-query/project-count/detail/components/header-info.vue b/src/views/synthesize-query/project-count/detail/components/header-info.vue new file mode 100644 index 0000000..800094e --- /dev/null +++ b/src/views/synthesize-query/project-count/detail/components/header-info.vue @@ -0,0 +1,261 @@ + + + + + + + + + + + + + + + + + {{ projectInfo.projectName }} + + + {{ projectInfo.companyName }} + + + + + + + + + {{ item.label }} + + + {{ projectInfo[item.valueKey] }} + + + + + + + + + + + diff --git a/src/views/synthesize-query/project-count/detail/components/personInfo-card.vue b/src/views/synthesize-query/project-count/detail/components/personInfo-card.vue new file mode 100644 index 0000000..91a7fff --- /dev/null +++ b/src/views/synthesize-query/project-count/detail/components/personInfo-card.vue @@ -0,0 +1,624 @@ + + + + + + + + + 出入场信息 + + + 查看更多> + + + + + 累计入场人数 + {{ + personData.entry.totalEntryCount + }} + + + 累计出场人数 + {{ + personData.entry.totalExitCount + }} + + + 离场人员工资结算确认单 + + + + 已上传: + {{ + personData.entry.salaryConfirmationUploaded + }} + + + + 未上传: + {{ + personData.entry + .salaryConfirmationNotUploaded + }} + + + + + 首次人员入场时间 + {{ + personData.entry.firstEntryTime + }} + + + 当前在场人数 + {{ + personData.entry.currentOnsiteCount + }} + + + 在场人数状态 + + + + 黄灯: + {{ personData.entry.yellowLightCount }} + + + + 绿灯: + {{ personData.entry.greenLightCount }} + + + + + 黄灯7天人数 + {{ + personData.entry.yellowLight7DaysCount + }} + + + 末次人员出场时间 + {{ + personData.entry.lastExitTime + }} + + + + + + + + + + 考勤信息 + + + 查看更多> + + + + + 累计考勤天数(人次) + {{ + personData.attendance.totalAttendanceDays + }} + + + 累计补卡申请次数(次) + + {{ + personData.attendance + .totalCardReplacementApplications + }} + 查看 + + + + 累计补卡人数(人) + {{ + personData.attendance.totalCardReplacementPersons + }} + + + 累计补卡天数(人次) + {{ + personData.attendance.totalCardReplacementDays + }} + + + + + + + + + + 工资信息 + + + 查看更多> + + + + + 累计发放工资(元) + {{ + formatCurrency(personData.salary.totalSalaryIssued) + }} + + + 工资册数量(次) + {{ + personData.salary.payrollBookCount + }} + + + 累计发放人数 + {{ + personData.salary.totalIssuedPersons + }} + + + 累计发放人次 + {{ + personData.salary.totalIssuedPersonTimes + }} + + + + + + + + + diff --git a/src/views/synthesize-query/project-count/detail/components/subTeam-card.vue b/src/views/synthesize-query/project-count/detail/components/subTeam-card.vue new file mode 100644 index 0000000..8142653 --- /dev/null +++ b/src/views/synthesize-query/project-count/detail/components/subTeam-card.vue @@ -0,0 +1,479 @@ + + + + + + + + + 分包信息 + + + + + + + + + + + + + {{ scope.row.entryExitStatus }} + + + + + + + + + + {{ scope.row.authorizationLetter }} + + + {{ scope.row.authorizationLetter }} + + + + + + + + {{ scope.row.wageCommitment }} + + + {{ scope.row.wageCommitment }} + + + + + + + + + + + + + 班组信息 + + + + + + + + + + + + + {{ scope.row.entryExitStatus }} + + + + + + + + + + + {{ scope.row.commitmentLetter }} + + + {{ scope.row.commitmentLetter }} + + + + + + + + + + + + diff --git a/src/views/synthesize-query/project-count/detail/index.vue b/src/views/synthesize-query/project-count/detail/index.vue new file mode 100644 index 0000000..d6c3846 --- /dev/null +++ b/src/views/synthesize-query/project-count/detail/index.vue @@ -0,0 +1,122 @@ + + + + + + + + + + + + diff --git a/src/views/synthesize-query/project-count/index.vue b/src/views/synthesize-query/project-count/index.vue index 6f6ad98..8095318 100644 --- a/src/views/synthesize-query/project-count/index.vue +++ b/src/views/synthesize-query/project-count/index.vue @@ -1,239 +1,73 @@ - - - - + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 即将上线 - 敬请期待... - - + 详情 + + + - +
敬请期待...