From 541477a752fe33f0d0fb7a2b554bfb1d9479daf1 Mon Sep 17 00:00:00 2001 From: shenyanpei Date: Wed, 17 Nov 2021 16:02:58 +0800 Subject: [PATCH 1/8] =?UTF-8?q?=E5=B7=A5=E4=BD=9C=E7=BB=84=E7=BB=9F?= =?UTF-8?q?=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/statisticsApi.js | 130 ++++++++- .../dataStatis/pages/attendCost.vue | 194 +++++++++++-- .../dataStatis/pages/reviseCost.vue | 255 ++++++++++++++---- .../dataStatis/pages/societyCost.vue | 14 +- 4 files changed, 496 insertions(+), 97 deletions(-) diff --git a/src/api/statisticsApi.js b/src/api/statisticsApi.js index 2fa1d3442..d82d71915 100644 --- a/src/api/statisticsApi.js +++ b/src/api/statisticsApi.js @@ -1,5 +1,7 @@ import axios from '@/common/axiosV2' + +/** 协会费用信息统计接口 */ // 获取所有统计数据 export function statisticsAll (data) { return axios({ @@ -12,7 +14,7 @@ export function statisticsAll (data) { export function queryStatistics (data) { return axios({ url: 'api/wgdCensusZ/wgd-assoc-cost/queryAllAssocCosts', - method: 'post', + method: 'get', params: data }) } @@ -21,7 +23,7 @@ export function queryStatistics (data) { export function queryStatistics (data) { return axios({ url: 'api/wgdCensusZ/wgd-assoc-cost/getAssocCostById', - method: 'post', + method: 'get', params: data }) } @@ -30,7 +32,7 @@ export function queryStatistics (data) { export function statisticsEdit (data) { return axios({ url: 'api/wgdCensusZ/wgd-assoc-cost/modAssocCost', - method: 'post', + method: 'put', params: data }) } @@ -42,18 +44,124 @@ export function statisticsAdd (data) { params: data }) } -// 单个数据删除 -export function delOnlyOne (data) { - return axios({ - url: 'api/wgdCensusZ/wgd-assoc-cost/delAssocCost', - method: 'get', - params: data - }) -} // 多数据删除 export function delMore (data) { return axios({ url: 'api/wgdCensusZ/wgd-assoc-cost/delAssocCosts', + method: 'delete', + params: data + }) +} +/** 参会费用信息统计 */ +// 查询 +export function meetAll (data) { + return axios({ + url: 'api/wgdCensusZ/wgd-meet-cost/queryAllMeetCosts', + method: 'get', + params: data + }) +} +// 编辑 +export function meetEdit (data) { + return axios({ + url: 'api/wgdCensusZ/wgd-meet-cost/modMeetCost', + method: 'put', + params: data + }) +} +// 新增 +export function meetAdd (data) { + return axios({ + url: 'api/wgdCensusZ/wgd-meet-cost/addMeetCost', + method: 'post', + params: data + }) +} +// 删除 +export function meetDel (data) { + return axios({ + url: 'api/wgdCensusZ/wgd-meet-cost/delMeetCosts', + method: 'delete', + params: data + }) +} +/** 参与外部标准制修订费用统计 */ +// 数据查询 +export function reviseAll (data) { + return axios({ + url: 'api/wgdCensusZ/wgd-ex-revise-cost/queryAllExReviseCosts', + method: 'get', + params: data + }) +} +// 编辑 +export function reviseEdit (data) { + return axios({ + url: 'api/wgdCensusZ/wgd-ex-revise-cost/modExReviseCost', + method: 'put', + params: data + }) +} +// 新增 +export function reviseAdd (data) { + return axios({ + url: 'api/wgdCensusZ/wgd-ex-revise-cost/addExReviseCost', + method: 'post', + params: data + }) +} +export function reviseDel (data) { + return axios({ + url: 'api/wgdCensusZ/wgd-ex-revise-cost/delExReviseCosts', + method: 'delete', + params: data + }) +} +/** 采购费用信息统计接口 */ +// 查询 +export function CgfysAll (data) { + return axios({ + url: 'api/wgdCensusLeo/wgd-cgfy/queryAllCgfys', + method: 'get', + params: data + }) +} +/*// 查询详情 +export function CgfyDetail(data) { + return axios({ + url: 'api/wgdCensusLeo/wgd-cgfy/getCgfyById', + method: 'get', + params: data + }) +}*/ +// 编辑接口 +export function CgfysEdit (data) { + return axios({ + url: 'api/wgdCensusLeo/wgd-cgfy/modCgfy', + method: 'get', + params: data + }) +} +// 新增接口 +export function CgfysAdd (data) { + return axios({ + url: 'api/wgdCensusLeo/wgd-cgfy/addCgfy', + method: 'get', + params: data + }) +} +// 单条删除 +export function CgfysDelOne (data) { + return axios({ + url: 'api/wgdCensusLeo/wgd-cgfy/delCgfy', + method: 'get', + params: data + }) +} +// 批量删除 +export function CgfysDelMore (data) { + return axios({ + url: 'api/wgdCensusLeo/wgd-cgfy/delCgfys', method: 'get', params: data }) diff --git a/src/pages/regulatoryRepository/dataStatis/pages/attendCost.vue b/src/pages/regulatoryRepository/dataStatis/pages/attendCost.vue index df1fa0010..c7a6cdbcf 100644 --- a/src/pages/regulatoryRepository/dataStatis/pages/attendCost.vue +++ b/src/pages/regulatoryRepository/dataStatis/pages/attendCost.vue @@ -4,22 +4,28 @@ - + - + - - - + + + + + - 查询 + 查询 清空
- 新增 + 新增 导入 导出 批量删除 @@ -59,18 +65,18 @@
- + - - + + - + - + - + @@ -134,8 +144,8 @@
@@ -155,15 +165,16 @@ diff --git a/src/pages/regulatoryRepository/dataStatis/page/listOfSociety.vue b/src/pages/regulatoryRepository/dataStatis/page/listOfSociety.vue index 28d40f8a0..0f39e58eb 100644 --- a/src/pages/regulatoryRepository/dataStatis/page/listOfSociety.vue +++ b/src/pages/regulatoryRepository/dataStatis/page/listOfSociety.vue @@ -102,155 +102,291 @@ @pageSizeChange="pageSizeChange"/>
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - + + @@ -279,49 +415,13 @@ export default { drawer: false, size: '600px', // 新增的集合 - formShowData: { - totalName: '', - branchName: '', - workName: '', - vipRole: '', - players: '', - standard: '', - standardLeader: '', - leader: '', - startTime: '', - thisTime: '', - costStandard: '', - cost: '', - lastTime: '', - costYears: '', - cost2017: '', - cost2018: '', - cost2019: '', - cost2020: '', - cost2021: '', - person: '', - partment: '', - nature: '', - state: '', - linkMan: '', - num: '', - email: '', - }, - dialogVisible1: false, - dialogVisible2: false, - // 文件导入 - formInlineOut: { - name: '', - num: '', - remarks: '' - }, - dialogVisible3: false, - + addForm: {}, // 新增,编辑框 drawerTitle: '', drawerTable: false, - + DrawerType: '', formRules: {}, + } }, @@ -337,6 +437,7 @@ export default { submit() { }, + addDrawerClose () {}, //删除方法 deleteDetail(index, rows) { }, diff --git a/src/pages/regulatoryRepository/enterpriseStandardPlan/index.vue b/src/pages/regulatoryRepository/enterpriseStandardPlan/index.vue index fd9e116ff..6260aec5a 100644 --- a/src/pages/regulatoryRepository/enterpriseStandardPlan/index.vue +++ b/src/pages/regulatoryRepository/enterpriseStandardPlan/index.vue @@ -378,7 +378,7 @@ this.$message.success(tips + '成功') this.getData() } else { - this.$message.warning(tips + '添加失败') + this.$message.warning(tips + '失败') } }) } else { @@ -449,8 +449,14 @@ this.form.reviseStatus = '' this.getData() }, - pageChange (page) {}, - pageSizeChange (pageSize) {}, + pageChange (page) { + this.form.page = page + this.getData() + }, + pageSizeChange (pageSize) { + this.form.pageSize = pageSize + this.getData() + }, handleCommand (command) { switch (command[1]) { case '编辑': @@ -530,8 +536,10 @@ height: calc(~'100% - 20px') !important; } } - /deep/.el-form-item__content { - width: calc(~'100% - 180px'); + .add-form-item { + /deep/.el-form-item__content { + width: calc(~'100% - 180px'); + } } display: flex; flex-direction: column; From 3216b93621e714b309c7922b1054fdd6c7245102 Mon Sep 17 00:00:00 2001 From: zhutianqi Date: Wed, 17 Nov 2021 16:27:17 +0800 Subject: [PATCH 3/8] commit --- .../regulatoryRepository/dataStatis/page/listOfMember.vue | 4 ++-- .../regulatoryRepository/enterpriseStandardPlan/index.vue | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/pages/regulatoryRepository/dataStatis/page/listOfMember.vue b/src/pages/regulatoryRepository/dataStatis/page/listOfMember.vue index 4653fb06c..c3b483243 100644 --- a/src/pages/regulatoryRepository/dataStatis/page/listOfMember.vue +++ b/src/pages/regulatoryRepository/dataStatis/page/listOfMember.vue @@ -414,16 +414,16 @@ DrawerType: '', } }, - created() { - }, mounted() { this.getTableData() }, methods: { getTableData () { + this.loading = true this.$http.get('wgdCensusZ/wgd-commi-info/queryAllCommiInfos',this.form, { _this: this }, res => { + this.loading = false if (res.ok) { this.tableData = res.data.list this.tableTotal = res.data.count diff --git a/src/pages/regulatoryRepository/enterpriseStandardPlan/index.vue b/src/pages/regulatoryRepository/enterpriseStandardPlan/index.vue index 6260aec5a..f9eefc43b 100644 --- a/src/pages/regulatoryRepository/enterpriseStandardPlan/index.vue +++ b/src/pages/regulatoryRepository/enterpriseStandardPlan/index.vue @@ -171,6 +171,7 @@ + 加载中...