src/views/basics/building/index.vue
@@ -55,6 +55,7 @@ type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" v-hasPermi="['oa:building:edit']" >修改 </el-button> <el-button @@ -70,6 +71,7 @@ class="del-btn" icon="el-icon-delete" @click="handleDelete(scope.row)" v-hasPermi="['oa:building:remove']" >删除 </el-button> </template> @@ -277,7 +279,7 @@ }, /** 删除按钮操作 */ handleDelete(row) { this.$modal.confirm('是否确认删除"' + row.detailedName + '"?').then(() => { this.$modal.confirm('是否确认删除?').then(() => { this.loading = true; return delBuilding(row.id); }).then(() => {