diff --git a/jsowell-ui/src/views/pile/camera/index.vue b/jsowell-ui/src/views/pile/camera/index.vue index c2f642301..4fe24feff 100644 --- a/jsowell-ui/src/views/pile/camera/index.vue +++ b/jsowell-ui/src/views/pile/camera/index.vue @@ -2,68 +2,33 @@
- + - + - + - + - + - + - + - + 搜索 @@ -73,53 +38,27 @@ - 新增 + 新增 - 修改 + 修改 - 删除 + 删除 - 导出 + 导出 - + @@ -131,36 +70,14 @@ - - - - + @@ -178,7 +95,7 @@ - + @@ -190,7 +107,7 @@ - + @@ -301,7 +218,7 @@ export default { // 多选框选中数据 handleSelectionChange(selection) { this.ids = selection.map(item => item.id) - this.single = selection.length!==1 + this.single = selection.length !== 1 this.multiple = !selection.length }, /** 新增按钮操作 */ @@ -343,12 +260,12 @@ export default { /** 删除按钮操作 */ handleDelete(row) { const ids = row.id || this.ids; - this.$modal.confirm('是否确认删除车位相机信息编号为"' + ids + '"的数据项?').then(function() { + this.$modal.confirm('是否确认删除车位相机信息编号为"' + ids + '"的数据项?').then(function () { return delCamera(ids); }).then(() => { this.getList(); this.$modal.msgSuccess("删除成功"); - }).catch(() => {}); + }).catch(() => { }); }, /** 导出按钮操作 */ handleExport() {