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;