| | |
| | | }) |
| | | .then(() => { |
| | | safetySelfInspectionFinish({ id: this.id }).then((res) => { |
| | | console.log(123, res); |
| | | if (res.data.code === "200") { |
| | | this.$notify({ |
| | | title: "成功", |
| | |
| | | arr[i].child.points = arr[i].child.point; |
| | | } |
| | | this.lists = arr; |
| | | console.log("tag", arr); |
| | | }); |
| | | }, |
| | | checkSameDataA(resData) { |
| | |
| | | dataInfo[elementBName].child.push(item); |
| | | }); |
| | | let list = Object.values(dataInfo); // list 转换成功的数据 |
| | | // console.log("数据",list) |
| | | for (var i = 0; i < list.length; i++) { |
| | | var pot = list[i].points; |
| | | for (var j = 0; j < list[i].child.length; j++) { |