| | |
| | | </div> |
| | | </div> |
| | | |
| | | <el-dialog :title="titleN" :visible.sync="dialogVisible" width="30%"> |
| | | <el-dialog :title="titleN" :visible.sync="dialogVisible" :close-on-click-modal="false" width="30%"> |
| | | <el-form ref="form" :model="formInline" label-width="80px"> |
| | | <el-form-item label="名称"> |
| | | <el-input v-model="formInline.name"></el-input> |
| | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <el-dialog title="添加" :visible.sync="dialogVisible" width="30%"> |
| | | <el-dialog title="添加" :visible.sync="dialogVisible" :close-on-click-modal="false" width="30%"> |
| | | <el-form ref="form" :model="form" label-width="100px"> |
| | | <el-form-item label="自查清单名称"> |
| | | <el-input v-model="form.inspectionName"></el-input> |
| | |
| | | this.TreeB(currentObj.value); |
| | | }, |
| | | handleClick(data) { |
| | | console.log('tag', data.id) |
| | | if (data.safetyInspectionItemId!=undefined) { |
| | | this.$router.push({ |
| | | console.log("tag", data.id); |
| | | if (data.safetyInspectionItemId != undefined) { |
| | | this.$router.push({ |
| | | path: "/reviewXG", |
| | | query: { |
| | | id: data.safetyInspectionItemId, |
| | | }, |
| | | }); |
| | | } else{ |
| | | this.$router.push({ |
| | | } else { |
| | | this.$router.push({ |
| | | path: "/reviewXG", |
| | | query: { |
| | | id:data.id |
| | | id: data.id, |
| | | }, |
| | | }); |
| | | } |
| | |
| | | message: "新增成功", |
| | | title: "成功", |
| | | }); |
| | | this.$router.push({ |
| | | path:"/checklistself" |
| | | }); |
| | | } |
| | | }); |
| | | } else if (this.id == "编辑") { |
| | |
| | | title: "成功", |
| | | }); |
| | | }); |
| | | this.$router.push({ |
| | | path:"/checklistself" |
| | | }); |
| | | } |
| | | }, |
| | | btnsQX() { |
| | |
| | | </div> |
| | | </div> |
| | | |
| | | <el-dialog title="扣分详情" :visible.sync="dialogVisible" width="30%"> |
| | | <el-dialog title="扣分详情" :visible.sync="dialogVisible" :close-on-click-modal="false" width="30%"> |
| | | <el-form ref="form" :model="form" label-width="54px"> |
| | | <el-form-item label="说明"> |
| | | <el-input disabled="true" v-model="form.name"></el-input> |
| | |
| | | </div> |
| | | </div> |
| | | |
| | | <el-dialog title="扣分详情" :visible.sync="dialogVisible" width="30%"> |
| | | <el-dialog title="扣分详情" :visible.sync="dialogVisible" :close-on-click-modal="false" width="30%"> |
| | | <el-form ref="form" :model="formInline" label-width="54px"> |
| | | <el-form-item label="说明"> |
| | | <el-input v-model="formInline.name"></el-input> |