From 351cffe66bdc2452891362ba453bd44834a5fee8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BE=89?= <814457906@qq.com> Date: Fri, 12 Apr 2024 16:08:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../system/ManuallyCreatingTasks/index.vue | 11 +++++++--- .../system/editorialSpecialization/index.vue | 21 +++++++++++++++++-- 2 files changed, 27 insertions(+), 5 deletions(-) diff --git a/src/views/system/ManuallyCreatingTasks/index.vue b/src/views/system/ManuallyCreatingTasks/index.vue index 0918f28..2100a3d 100644 --- a/src/views/system/ManuallyCreatingTasks/index.vue +++ b/src/views/system/ManuallyCreatingTasks/index.vue @@ -42,6 +42,7 @@ + @@ -68,7 +69,7 @@
- +
@@ -283,8 +284,8 @@ export default { phonePushSign: '0', }) }, - delitem(item, index) { - this.list.splice(index, 1) + delitem(item, index, list) { + list.splice(index, 1) }, upload() { this.updata.routeNodeList = this.list @@ -322,6 +323,10 @@ export default { .node { margin-bottom: 10px; + + .el-icon-delete { + padding-left: 10px; + } } .PushMethod { diff --git a/src/views/system/editorialSpecialization/index.vue b/src/views/system/editorialSpecialization/index.vue index 8f1d595..8864aa5 100644 --- a/src/views/system/editorialSpecialization/index.vue +++ b/src/views/system/editorialSpecialization/index.vue @@ -56,7 +56,7 @@
- +
@@ -94,7 +94,7 @@
- +
@@ -396,6 +396,23 @@ export default { this.updataform = res.data }) }, + //删除触发条件 + deltriggerCondition(item) { + this.$confirm('确定删除此触发条件吗?', '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', + }).then(() => { + triggerConditiondel([item.triggerConditionId]).then(res => { + this.$notify({ + type: 'success', + title: '提示', + message: '删除成功', + duration: 3000 + }); + this.info(); + }) + }) + }, }, };