作者 牛承志

编码

... ... @@ -1090,6 +1090,9 @@ export default {
// let id = item.id;
deviceCode(id).then((r) => {
this.guanlianshebeiList.push(r);
this.guanlianshebeiList.forEach((item, index) => {
item.title1 = Number(index + 1);
});
});
});
this.dianjianList = r.data.modCheckFromSearchReqs; // 点检表单
... ... @@ -1401,6 +1404,9 @@ export default {
}
console.log(list);
this.guanlianshebeiList = list;
this.guanlianshebeiList.forEach((item, index) => {
item.title1 = Number(index + 1);
});
this.$message("保存成功");
this.abrasiveCodingAddmaskchose = false;
},
... ... @@ -1413,6 +1419,9 @@ export default {
if (item.id === itemsub.id) {
newlist.splice(indexnav, 1);
}
newlist.forEach((item, index) => {
item.title1 = Number(index + 1);
});
});
});
} else {
... ...