Explorar o código

修改隔离点批量删除功能

wangyani hai 1 ano
pai
achega
e12eadacaf
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/views/mes/spm/segregationpoint/index.vue

+ 2 - 2
src/views/mes/spm/segregationpoint/index.vue

@@ -496,7 +496,7 @@ export default {
     },
     // 多选框选中数据
     handleSelectionChange(selection) {
-      this.ids = selection.map((item) => item.teamId);
+      this.ids = selection.map((item) => item.pointId);
       this.single = selection.length !== 1;
       this.multiple = !selection.length;
     },
@@ -557,7 +557,7 @@ export default {
     handleDelete(row) {
       const teamIds = row.pointId || this.ids;
       this.$modal
-        .confirm('是否确认删除隔离点编号为"' + teamIds + '"的数据项?')
+        .confirm('是否确认删除隔离点ID为"' + teamIds + '"的数据项?')
         .then(function () {
           return deleteIsIsolationPointByPointIds(teamIds);
         })