diff --git a/src/views/Home.vue b/src/views/Home.vue index d034922..dfc4b44 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -8,17 +8,18 @@
{{ systemName }} 判分点设置
判分点列表
-操作一致性规则:用户完成的功能操作与下方设置的操作点一致
@@ -708,15 +709,22 @@ export default { } }, handleDelete(row, index) { // 处理删除规则 + this.$confirm("此操作将永久删除该规则, 是否继续?", "提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning", center: true }).then(() => { - this.tableData.splice(index, 1); - index ? this.tableData.splice(index - 1, 1) : this.tableData.splice(0, 1); - this.isAddRule = false; + console.log(this.tableData) + console.log(index) + console.log(this.tableData[0]) + console.log(this.tableData.splice(index,2)) + this.tableData.splice(index,2); + console.log(this.tableData) + // console.log() + // index ? this.tableData.splice(index - 1, 1) : this.tableData.splice(0, 1); + // this.isAddRule = false; }).catch(() => { }); }, @@ -745,13 +753,13 @@ export default { line-height: 45px; font-size: 14px; font-weight: 600; - padding: 0 10px; + //padding: 0 10px; display: flex; justify-content: space-between; .back { line-height: 3; - padding-left: 10px; + //padding-left: 10px; span { font-size: 14px;