diff --git a/api/index.js b/api/index.js index a5a2843..15043e9 100644 --- a/api/index.js +++ b/api/index.js @@ -81,6 +81,8 @@ export const setFinalCheck = (params) => post("/app/hidden/finalcheck", params) export const getCorpinfoDeptListTree = (params) => post("/app/corpDepartment/listTree", params) //获取企业的 部门信息 export const getSafetyenvironmentalExplain = (params) => post("/app/safetyenvironmental/getExplain", params) //获取安全环保检查申辩流程列表 export const getKeyProjectsListOutsourced = (params) => post("/app/keyProjects/listOutsourced", params) //获取重点工程管理被检查项目列表 +export const getKeyProjectsListListByCorp = (params) => post("/api/outsourced/listByCorp", params) //获取重点工程管理按照公司分组 + export const getKeyProjectsCheckList = (params) => post("/app/keyprojectcheck/list", params) //获取重点工程管理被检查项目检查列表 export const getKeyProjectsListAllUnits = (params) => post("/app/keyProjects/listAllUnits", params) //获取重点工程管理被检查项目检查被检查单位 export const getKeyProjectsListAllPersonnel = (params) => post("/app/keyProjects/listAllPersonnel", params) //获取重点工程管理被检查项目检查被检查人 diff --git a/pages.json b/pages.json index 5cac8a5..250c628 100644 --- a/pages.json +++ b/pages.json @@ -536,6 +536,12 @@ "navigationBarTitleText": "重点工程管理" } }, + { + "path": "pages/key-project-management/key-project-out/list", + "style": { + "navigationBarTitleText": "重点工程" + } + }, { "path": "pages/key-project-management/safety-environmental-inspection/list", "style": { diff --git a/pages/index/index.vue b/pages/index/index.vue index d0f9522..2889083 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -1,25 +1,25 @@ diff --git a/pages/key-project-management/hidden-management/list.vue b/pages/key-project-management/hidden-management/list.vue index 7ee9c2d..de59467 100644 --- a/pages/key-project-management/hidden-management/list.vue +++ b/pages/key-project-management/hidden-management/list.vue @@ -129,6 +129,7 @@ export default { {name: '已验收隐患', id: '2'} ], tabsType: '1', + CORPINFO_ID: '', pageSize: 10, currentPage: 1, totalPage: 0, @@ -165,6 +166,9 @@ export default { onShow() { this.resetList() }, + onLoad() { + this.CORPINFO_ID = this.$route.query.CORPINFO_ID + }, computed: { userInfo() { return this.$store.getters.getUserInfo @@ -176,6 +180,7 @@ export default { showCount: this.pageSize, currentPage: this.currentPage, CREATOR: this.userInfo.USER_ID, + CORPINFO_ID: this.CORPINFO_ID, ISCHECK: this.tabsType }); this.list = [...this.list,...resData.varList]; diff --git a/pages/key-project-management/index/index.vue b/pages/key-project-management/index/index.vue index 9bddab2..ab6e43f 100644 --- a/pages/key-project-management/index/index.vue +++ b/pages/key-project-management/index/index.vue @@ -1,68 +1,76 @@