| | |
| | | type="text" |
| | | size="small" |
| | | :disabled="typeId == 2 ? true : false" |
| | | >评价</el-button |
| | | >评审</el-button |
| | | > |
| | | <!-- <el-button type="text" size="small" style="color: red" |
| | | >删除</el-button |
| | |
| | | }) |
| | | .then(() => { |
| | | safetySelfInspectionFinish({ id: this.id }).then((res) => { |
| | | console.log(123, res); |
| | | if (res.data.code === "200") { |
| | | this.$notify({ |
| | | title: "成功", |
| | |
| | | duration: 2000, |
| | | }); |
| | | this.$router.push({ |
| | | path: "/checklistself", |
| | | path:"/safetyproduction/safetyproduction/checklistself" |
| | | }); |
| | | } else { |
| | | this.$message({ |
| | |
| | | }) |
| | | .catch((error) => {}); |
| | | } else { |
| | | alert("请将所有评分评价后再点结算"); |
| | | alert("所有的检查项评审后才可以结单!"); |
| | | } |
| | | }, |
| | | |
| | |
| | | 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++) { |