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 @@
-
+
@@ -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();
+ })
+ })
+ },
},
};