heyang 2 years ago
parent
commit
7626a0db51

+ 2 - 1
src/views/login.vue

@@ -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) {

+ 1 - 1
src/views/safetyCheck/laboratorySelfTest/selfInspectionTask/index.vue

@@ -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();
           })

+ 1 - 1
src/views/safetyCheck/schoolInspection/inspectionPlan/index.vue

@@ -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();
           })