From cb5c9968b763362d399e1c7fce1129ec7434aba8 Mon Sep 17 00:00:00 2001
From: kongdeqiang <123456>
Date: 星期三, 26 四月 2023 14:07:31 +0800
Subject: [PATCH] session保存token

---
 src/views/your/accident-manage/accidentManage.vue |   54 +++++++++++++++++++++++++++++++++---------------------
 1 files changed, 33 insertions(+), 21 deletions(-)

diff --git a/src/views/your/accident-manage/accidentManage.vue b/src/views/your/accident-manage/accidentManage.vue
index edede87..1aa345e 100644
--- a/src/views/your/accident-manage/accidentManage.vue
+++ b/src/views/your/accident-manage/accidentManage.vue
@@ -62,7 +62,7 @@
       <Form
               ref="accidentForm"
               :model="accidentForm"
-              :label-width="80"
+              :label-width="100"
               :rules="accidentFormValidate"
       >
         <FormItem label="杞﹁締" prop="carId">
@@ -91,6 +91,9 @@
         </FormItem>
         <FormItem label="瑙e喅鏂规" prop="solve">
           <Input v-model="accidentForm.solve"/>
+        </FormItem>
+        <FormItem label="淇濊垂璧斿伩" prop="peiChang">
+          <Input v-model="accidentForm.peiChang"/>
         </FormItem>
       </Form>
       <div slot="footer">
@@ -276,18 +279,25 @@
             title: "浜嬫晠鎻忚堪",
             key: "description",
             width: 150,
+            tooltip:true,
           },
           {
             title: "璐d换璁ゅ畾",
             key: "dutySure",
             width:150,
-            sortable: true,
+            tooltip:true,
           },
           {
             title: "瑙e喅鏂规",
             key: "solve",
             minWidth: 150,
-            sortable: true,
+            tooltip:true,
+          },
+          {
+            title: "淇濊垂璧斿伩",
+            key: "peiChang",
+            minWidth: 150,
+            tooltip:true,
           },
           {
             title: "鎿嶄綔",
@@ -298,15 +308,15 @@
             render: (h, params) => {
               return h("div", [
                 h(
-                        "a",
-                        {
-                          on: {
-                            click: () => {
-                              this.edit(params.row);
-                            },
-                          },
-                        },
-                        "缂栬緫"
+                  "a",
+                  {
+                    on: {
+                      click: () => {
+                        this.edit(params.row);
+                      },
+                    },
+                  },
+                  "缂栬緫"
                 ),
                 h("Divider", {
                   props: {
@@ -314,15 +324,15 @@
                   },
                 }),
                 h(
-                        "a",
-                        {
-                          on: {
-                            click: () => {
-                              this.remove(params.row);
-                            },
-                          },
-                        },
-                        "鍒犻櫎"
+                  "a",
+                  {
+                    on: {
+                      click: () => {
+                        this.remove(params.row);
+                      },
+                    },
+                  },
+                  "鍒犻櫎"
                 ),
               ]);
             },
@@ -462,6 +472,7 @@
                   this.$Message.success("鎿嶄綔鎴愬姛");
                   this.getDataList();
                   this.roleModalVisible = false;
+                  this.accidentForm={};
                 }
               });
             } else {
@@ -472,6 +483,7 @@
                   this.$Message.success("鎿嶄綔鎴愬姛");
                   this.getDataList();
                   this.roleModalVisible = false;
+                  this.accidentForm={};
                 }
               });
             }

--
Gitblit v1.9.1