批量删除

master
luoJunYong.123 3 years ago
parent 85f9c3ad36
commit ad6a607949
  1. 3
      src/views/Home.vue
  2. 9
      src/views/Transaction.vue

@ -211,6 +211,9 @@ export default {
console.log(err); console.log(err);
}); });
} }
if(this.nameList.length === this.tableData.length && this.pageNum>1) {
this.handleCurrentChange(this.pageNum - 1)
}
}).catch(() => { }).catch(() => {
this.$message.info("已取消删除"); this.$message.info("已取消删除");
}); });

@ -54,7 +54,7 @@
<el-button v-if="!isView" type="primary" size="mini" @click="addRule">新增</el-button> <el-button v-if="!isView" type="primary" size="mini" @click="addRule">新增</el-button>
</div> </div>
</div> </div>
<el-dialog :visible.sync="configVisible" width="30%" title="批量新增判分点" center> <el-dialog :visible.sync="configVisible" width="30%" title="批量新增判分点" center :append-to-body='true'>
<div class="flex-between mgb20"> <div class="flex-between mgb20">
<div style="width: 100%;height: 400px;overflow: auto;margin: auto;background: #F5F5F5"> <div style="width: 100%;height: 400px;overflow: auto;margin: auto;background: #F5F5F5">
<el-tree <el-tree
@ -72,6 +72,7 @@
<el-button type="primary" @click="handleConfirm"> </el-button> <el-button type="primary" @click="handleConfirm"> </el-button>
</span> </span>
</el-dialog> </el-dialog>
<el-card shadow="hover"> <el-card shadow="hover">
<el-table <el-table
:data="tableData" :data="tableData"
@ -1164,4 +1165,10 @@ export default {
} }
} }
} }
/deep/.el-dialog__wrapper {
:hover {
cursor: pointer;
}
}
</style> </style>

Loading…
Cancel
Save