|
@@ -167,7 +167,7 @@
|
|
|
:operationWidth="150"
|
|
:operationWidth="150"
|
|
|
:showOperation="true"
|
|
:showOperation="true"
|
|
|
permsDelete="sys:user:delete"
|
|
permsDelete="sys:user:delete"
|
|
|
- :showBatchDelete="false"
|
|
|
|
|
|
|
+ :showBatchDelete="true"
|
|
|
:showBatchSettled="true"
|
|
:showBatchSettled="true"
|
|
|
:showBatchPrint="true"
|
|
:showBatchPrint="true"
|
|
|
permsButton1="sys:user:edit"
|
|
permsButton1="sys:user:edit"
|
|
@@ -180,6 +180,7 @@
|
|
|
settledName="批量修改"
|
|
settledName="批量修改"
|
|
|
@handleSettled="handleTableSettled"
|
|
@handleSettled="handleTableSettled"
|
|
|
@handlePrint="handlePrint"
|
|
@handlePrint="handlePrint"
|
|
|
|
|
+ @handleDelete="handleDelete"
|
|
|
button1Name="修改"
|
|
button1Name="修改"
|
|
|
button1Background="#E6A23C"
|
|
button1Background="#E6A23C"
|
|
|
@handleButton1="sourceUpdate"
|
|
@handleButton1="sourceUpdate"
|
|
@@ -487,6 +488,35 @@ export default {
|
|
|
});
|
|
});
|
|
|
this.dialogUpdateVisible = true;
|
|
this.dialogUpdateVisible = true;
|
|
|
},
|
|
},
|
|
|
|
|
+ handleDelete(ids) {
|
|
|
|
|
+ this.$confirm("此操作将永久删除, 是否继续?", "提示", {
|
|
|
|
|
+ confirmButtonText: "确定",
|
|
|
|
|
+ cancelButtonText: "取消",
|
|
|
|
|
+ type: "warning",
|
|
|
|
|
+ })
|
|
|
|
|
+ .then(() => {
|
|
|
|
|
+ this.$api.task.SettlementDeletes(ids).then((res) => {
|
|
|
|
|
+ if (res.code == "200") {
|
|
|
|
|
+ this.$message({
|
|
|
|
|
+ type: "success",
|
|
|
|
|
+ message: "删除成功!",
|
|
|
|
|
+ });
|
|
|
|
|
+ this.findPage();
|
|
|
|
|
+ } else {
|
|
|
|
|
+ this.$message({
|
|
|
|
|
+ type: "error",
|
|
|
|
|
+ message: res.msg,
|
|
|
|
|
+ });
|
|
|
|
|
+ }
|
|
|
|
|
+ });
|
|
|
|
|
+ })
|
|
|
|
|
+ .catch(() => {
|
|
|
|
|
+ this.$message({
|
|
|
|
|
+ type: "info",
|
|
|
|
|
+ message: "已取消删除",
|
|
|
|
|
+ });
|
|
|
|
|
+ });
|
|
|
|
|
+ },
|
|
|
BulkUpdate() {
|
|
BulkUpdate() {
|
|
|
let params = {
|
|
let params = {
|
|
|
ids: this.batchSizeList,
|
|
ids: this.batchSizeList,
|