diff --git a/src/api/statisticsApi.js b/src/api/statisticsApi.js
new file mode 100644
index 000000000..2fa1d3442
--- /dev/null
+++ b/src/api/statisticsApi.js
@@ -0,0 +1,61 @@
+import axios from '@/common/axiosV2'
+
+// 获取所有统计数据
+export function statisticsAll (data) {
+ return axios({
+ url: 'api/wgdCensusZ/wgd-assoc-cost/getAllAssocCosts',
+ method: 'get',
+ params: data
+ })
+}
+// 多条件查询
+export function queryStatistics (data) {
+ return axios({
+ url: 'api/wgdCensusZ/wgd-assoc-cost/queryAllAssocCosts',
+ method: 'post',
+ params: data
+ })
+}
+// 获取单个详情
+/*
+export function queryStatistics (data) {
+ return axios({
+ url: 'api/wgdCensusZ/wgd-assoc-cost/getAssocCostById',
+ method: 'post',
+ params: data
+ })
+}
+*/
+// 数据编辑
+export function statisticsEdit (data) {
+ return axios({
+ url: 'api/wgdCensusZ/wgd-assoc-cost/modAssocCost',
+ method: 'post',
+ params: data
+ })
+}
+// 页面数据新增
+export function statisticsAdd (data) {
+ return axios({
+ url: 'api/wgdCensusZ/wgd-assoc-cost/addAssocCost',
+ method: 'post',
+ 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: 'get',
+ params: data
+ })
+}
+
diff --git a/src/pages/details/otherBussStandardDetails/index.vue b/src/pages/details/otherBussStandardDetails/index.vue
index 99d0348b9..066759cb2 100644
--- a/src/pages/details/otherBussStandardDetails/index.vue
+++ b/src/pages/details/otherBussStandardDetails/index.vue
@@ -46,7 +46,7 @@
-
+
{{ file.oldFileName | ellipsis }}
更多
- -
+ -
{{ sarStandardsInfoEO.standName || '-' }}
diff --git a/src/pages/details/otherStandardDetails/index.vue b/src/pages/details/otherStandardDetails/index.vue
index 6ed60b145..8557d1325 100644
--- a/src/pages/details/otherStandardDetails/index.vue
+++ b/src/pages/details/otherStandardDetails/index.vue
@@ -88,7 +88,7 @@
更多
- -
+ -
{{
diff --git a/src/pages/processCenter/pages/creatProcess/zdrzbzORzchgxxmsc/step1.vue b/src/pages/processCenter/pages/creatProcess/zdrzbzORzchgxxmsc/step1.vue
index c61938329..bc4b30ce1 100644
--- a/src/pages/processCenter/pages/creatProcess/zdrzbzORzchgxxmsc/step1.vue
+++ b/src/pages/processCenter/pages/creatProcess/zdrzbzORzchgxxmsc/step1.vue
@@ -23,12 +23,13 @@
{
+ //拿出deleteSelectedList里的每一个元素
+ this.deleteSelectedList.map(item => {
+ let index;
+ index = this.infoTableDatas.findIndex(items => {
+ //返回infoTableDatas里id和deleteSelectedList的id相同的元素对应的位置
+ return items.id === item;
+ });
+ //如果符合条件,就删除(==-1是没有符合条件的意思)
+ if (index > -1) {
+ this.infoTableDatas.splice(index, 1);
+ }
+ });
+ this.selectList = [];
+ // for (let i = 0; i < this.infoTableDatas.length; i++) {
+ // for (let j = 0; j < this.deleteSelectedList.length; j++) {
+ // if (this.infoTableDatas[i].id === this.deleteSelectedList[j].id){
+ // console.log('表里的数据',i,this.infoTableDatas[i])
+ // console.log('要删的数据',j,this.deleteSelectedList[j])
+ // this.infoTableDatas.splice(i,1)
+ // }
+ // }
+ // }
+ this.$message({
+ type: 'success',
+ message: '删除成功!'
+ });
+ }).catch(() => {
+ this.$message({
+ type: 'info',
+ message: '已取消删除'
+ });
+ });
+ },
handleProcessStandardNext(status) {
switch (status) {
// 新增
@@ -490,9 +540,7 @@ export default {
// 带入
case 2:
if (this.standardCheckedList && this.standardCheckedList.length >= 1) {
- console.log('504',this.standardCheckedList)
this.infoTableDatas = this.standardCheckedList
- console.log('505',this.infoTableDatas)
this.standardDrawer = false
} else {
this.$message.warning('请选择要带入的数据')
diff --git a/src/pages/regulatoryRepository/dataStatis/page/listOfSociety.vue b/src/pages/regulatoryRepository/dataStatis/page/listOfSociety.vue
index a4e164e94..5027f2c43 100644
--- a/src/pages/regulatoryRepository/dataStatis/page/listOfSociety.vue
+++ b/src/pages/regulatoryRepository/dataStatis/page/listOfSociety.vue
@@ -1,56 +1,44 @@
-
-
-
-
-
-
+
+
+
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
- 查询
-
-
- 清空
+
+ 查询
+ 清空
+
+ 新增
+ 导入
+ 导出
+
+ 批量删除
+
+ 模板下载
+
-
-
- 新增
-
-
- 导入
-
-
- 导出
-
-
- 批量删除
-
-
-
- 模板下载
-
-
-
-
-
-
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
+
- 点击或拖拽上传文件
+ title="导入文件"
+ :visible.sync="dialogVisible1"
+ width="30%"
+ >
+ 点击或拖拽上传文件
-
+
+ title="导出文件"
+ :visible.sync="dialogVisible2"
+ width="30%"
+ >
-
+
-
+
-
+
@@ -412,91 +252,33 @@
确 定
-
-
+
-
-
-
-
-
-
-
-