From 05d278b09747ed10a45f33d295b39a998881f84d Mon Sep 17 00:00:00 2001 From: mk <2403457699@qq.com> Date: Thu, 6 Feb 2025 15:08:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B9=B2=E6=8E=89=E6=9F=A5=E7=9C=8B=E5=88=86?= =?UTF-8?q?=E5=8F=91=E4=BA=BA=E5=91=98=EF=BC=8C=E5=8F=91=E5=B8=83=E4=BB=BB?= =?UTF-8?q?=E5=8A=A1=E5=88=A0=E9=99=A4=E6=8E=A5=E5=8F=A3=E8=81=94=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../base/smartExcel/cpts/excel-info.vue | 18 ++++++--------- src/views/modules/base/smartExcel/index.vue | 23 ++++++++++++++++++- 2 files changed, 29 insertions(+), 12 deletions(-) diff --git a/src/views/modules/base/smartExcel/cpts/excel-info.vue b/src/views/modules/base/smartExcel/cpts/excel-info.vue index 0eb9ac232..55c45b2b4 100644 --- a/src/views/modules/base/smartExcel/cpts/excel-info.vue +++ b/src/views/modules/base/smartExcel/cpts/excel-info.vue @@ -37,7 +37,7 @@ -
{{formData.type}}
+
{{formData.type || '数据填报'}}
@@ -49,9 +49,7 @@
{{formData.totalNum}}人
- 查看接收人员名单 - 调整接受人员 + 调整接收人员
@@ -107,7 +105,7 @@ import { mapGetters } from 'vuex' export default { data() { return { - title:"调整接受人员", + title:"", taskId:"", showType:"", showPersonel:false, @@ -137,16 +135,14 @@ export default { }, handelPersonel() { this.showPersonel = false; - }, - oncClickPersonel(){ - this.showType="adjust" - this.showPersonel=true }, oncClickInfo(value){ this.taskId=this.formData.id this.showType=value - if (value=="info") { - this.title="查看接收人员名单" + if (value=="adjust") { + this.title="调整接收人员名单" + }else if(value === 'edit'){ + this.title = '修改' } this.showPersonel=true diff --git a/src/views/modules/base/smartExcel/index.vue b/src/views/modules/base/smartExcel/index.vue index 397225a9f..f4bc1bd74 100644 --- a/src/views/modules/base/smartExcel/index.vue +++ b/src/views/modules/base/smartExcel/index.vue @@ -34,7 +34,7 @@ - @@ -304,6 +304,27 @@ export default { this.pageNo = 1; this.getTableData(); }, + async handleDel(item){ + let parms = { + id: item.id, + }; + this.$confirm("删除之后无法恢复,确认删除?", "提示", { + confirmButtonText: "确定", + cancelButtonText: "取消", + type: "warning", + }) + .then(() => { + requestPost('/actual/base/communityOneTablePublish/delete', parms).then(res => { + if (res.code == 0) { + this.getTableData() + } + }) + }) + .catch((err) => { + if (err == "cancel") { + } + }); + }, async resetSearch() { this.$refs.ref_searchform.resetFields(); this.pageNo = 1;