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 @@ + + + + + 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 @@ + + + + + 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 @@ + + + + + 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 @@ + + + + + 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 @@ + + + + + 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 @@ - +