src/views/record/record.vue
@@ -45,7 +45,7 @@ :size="size" :type="type" @click.stop="rowDel(row)" >备案审批 >审批 </el-button> </template> <template class="tdtype" slot-scope="{ row }" slot="type"> @@ -401,9 +401,9 @@ ); }, rowDel(row) { this.$confirm("确定对选择的备案进行审批?", { confirmButtonText: "确定", cancelButtonText: "取消", this.$confirm("是否通过?", { confirmButtonText: " 是 ", cancelButtonText: "否", type: "warning", }) .then(() => { @@ -416,6 +416,10 @@ type: "success", message: "操作成功!", }); }) .catch(() => { row.type = "1"; return update(row); }); }, handleDelete() {