From b1bdac435d4aa9fe34bde1a859490842166b47f7 Mon Sep 17 00:00:00 2001
From: Your Name <123456>
Date: 星期五, 26 八月 2022 17:30:48 +0800
Subject: [PATCH] statistics

---
 src/views/safetyproduction/new.vue |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/src/views/safetyproduction/new.vue b/src/views/safetyproduction/new.vue
index f0e9581..4b15a18 100644
--- a/src/views/safetyproduction/new.vue
+++ b/src/views/safetyproduction/new.vue
@@ -116,6 +116,7 @@
         <el-form-item label="检查人名称" prop="inspector">
           <el-select
             v-model="form.inspector"
+            filterable
             style="width: 100%"
             placeholder="请选择"
           >
@@ -234,7 +235,6 @@
                 safetyInspectionItemId: "",
               }
               arr[i].child[j].deductionList= arr[i].child[j].selfDeductionList
-              console.log(arr[i].child[j])
               capB.safetySelfInspectionId=arr[i].child[j].safetySelfInspectionId
               capB.safetyInspectionItemId=arr[i].child[j].safetyInspectionItemId
               cser.push(capB)
@@ -393,7 +393,6 @@
        this.$refs["form"].validate((valid) => {
         if (valid) {
       if (this.id == "添加") {
-        console.log("添加",this.form)
         safetySelfInspectionAdd(this.form).then((res) => {
           if (res.data.code == 200) {
             this.dialogVisible = false;
@@ -404,12 +403,11 @@
               title: "成功",
             });
             this.$router.push({
-              path:"/checklistself"
+              path:"/safetyproduction/safetyproduction/checklistself"
             });
           }
         });
       } else if (this.id == "编辑") {
-        console.log('编辑',this.form)
         safetySelfInspectionMod(this.form).then((res) => {
           this.dialogVisible = false;
           this.$notify({
@@ -420,7 +418,7 @@
           });
         });
          this.$router.push({
-              path:"/checklistself"
+              path:"/safetyproduction/safetyproduction/checklistself"
             });
       }
          }

--
Gitblit v1.9.2