@@ -272,7 +272,8 @@ export default {
localStorage.setItem('identityType',res.data.screen_type);
}
this.fullScreen();
- this.$router.push({ path: this.redirect || "/home" }).catch(()=>{});
+ //this.$router.push({ path: this.redirect || "/home" }).catch(()=>{});
+ this.$router.push({ path: this.redirect || "/safetyCheck/worktable" }).catch(()=>{});
}).catch(() => {
this.loading = false;
if (this.captchaOnOff) {
@@ -260,7 +260,7 @@
cancelButtonText: "取消",
type: "warning"
}).then(function() {
- checkPlanDelete({id:obj.id}).then(response => {
+ checkPlanDelete({id:obj.id,checkType:obj.checkType}).then(response => {
self.msgSuccess(response.msg)
self.getList();
})