| | |
| | | this.$router.push({ |
| | | path: "/reviewXG", |
| | | query: { |
| | | id: data.safetyInspectionItemId, |
| | | idX: data.safetyInspectionItemId, |
| | | name:this.id, |
| | | id:this.itemId |
| | | }, |
| | | }); |
| | | } else { |
| | | this.$router.push({ |
| | | path: "/reviewXG", |
| | | query: { |
| | | id: data.id, |
| | | idX: data.id, |
| | | name:this.id, |
| | | id:this.itemId |
| | | }, |
| | | }); |
| | | } |
| | |
| | | name: "", |
| | | remark: "", |
| | | }, |
| | | name:"", |
| | | typeid:'', |
| | | rules: { |
| | | name: [ |
| | | { required: true, message: "说明不能为空", trigger: "change" }, |
| | |
| | | }; |
| | | }, |
| | | created() { |
| | | this.id = this.$route.query.id; |
| | | this.id = this.$route.query.idX; |
| | | this.typeid=this.$route.query.id; |
| | | this.name = this.$route.query.name |
| | | this.safeT(this.id); |
| | | }, |
| | | methods: { |
| | |
| | | title: "成功", |
| | | }); |
| | | this.$router.push({ |
| | | path:"/new" |
| | | path:"/new", |
| | | query:{ |
| | | name:this.name, |
| | | id:this.typeid |
| | | } |
| | | }) |
| | | } else { |
| | | this.$message({ |
| | |
| | | }, |
| | | back(){ |
| | | this.$router.push({ |
| | | path:"/new" |
| | | path:"/new", |
| | | query:{ |
| | | name:this.name, |
| | | id:this.typeid |
| | | } |
| | | }) |
| | | }, |
| | | bacQx(){ |