From 649377c926979e7607960e0cf4c6d97d26080403 Mon Sep 17 00:00:00 2001
From: zhangzeli <123456>
Date: 星期一, 29 十一月 2021 08:37:54 +0800
Subject: [PATCH] 报表

---
 src/views/your/car-manage/carManage.vue |   61 ++++++++++++++++++------------
 1 files changed, 36 insertions(+), 25 deletions(-)

diff --git a/src/views/your/car-manage/carManage.vue b/src/views/your/car-manage/carManage.vue
index 0af821c..ff427d3 100644
--- a/src/views/your/car-manage/carManage.vue
+++ b/src/views/your/car-manage/carManage.vue
@@ -8,7 +8,6 @@
     <Card>
       <Row class="operation">
         <Button @click="addCar" type="primary" icon="md-add">娣诲姞杞﹁締</Button>
-        <Button @click="delAll" icon="md-trash">鎵归噺鍒犻櫎</Button>
         <Button @click="init" icon="md-refresh">鍒锋柊</Button>
         <Button type="dashed" @click="openTip = !openTip">{{
           openTip ? "鍏抽棴鎻愮ず" : "寮�鍚彁绀�"
@@ -83,12 +82,12 @@
         </FormItem>
         <FormItem label="椹鹃┒浜�" prop="userId">
           <Select v-model="carForm.userId" filterable>
-            <Option v-for="item in userList" :value="item.id">{{ item.nickname }}</Option>
+            <Option v-for="item in userList" :value="item.id" :key="item.id">{{ item.nickname }}</Option>
           </Select>
         </FormItem>
         <FormItem label="璺熻溅浜�" prop="followUserId">
           <Select v-model="carForm.followUserId" filterable>
-            <Option v-for="item in userList" :value="item.id">{{ item.nickname }}</Option>
+            <Option v-for="item in userList" :value="item.id" :key="item.id">{{ item.nickname }}</Option>
           </Select>
         </FormItem>
       </Form>
@@ -312,28 +311,6 @@
           sortable: true,
         },
         {
-          title: "鍝佺墝",
-          key: "brand",
-          width: 100,
-        },
-        {
-          title: "鍨嬪彿",
-          key: "model",
-          width: 100,
-        },
-        {
-          title: "鎺掗噺",
-          key: "displacement",
-          width: 100,
-          sortable: true,
-        },
-        {
-          title: "璐疆骞翠唤",
-          key: "buyYear",
-          minWidth: 120,
-          sortable: true,
-        },
-        {
           title: "鐘舵��",
           key: "status",
           width: 100,
@@ -368,9 +345,42 @@
           sortable: true,
         },
         {
+          title: "椹鹃┒浜�",
+          key: "nickName",
+          width: 100,
+        },
+        {
+          title: "璺熻溅浜�",
+          key: "followNickName",
+          width: 100,
+        },
+        {
+          title: "鍝佺墝",
+          key: "brand",
+          width: 100,
+        },
+        {
+          title: "鍨嬪彿",
+          key: "model",
+          width: 100,
+        },
+        {
+          title: "鎺掗噺",
+          key: "displacement",
+          width: 100,
+          sortable: true,
+        },
+        {
+          title: "璐疆骞翠唤",
+          key: "buyYear",
+          minWidth: 120,
+          sortable: true,
+        },
+        {
           title: "鎿嶄綔",
           key: "action",
           align: "center",
+          fixed: "right",
           width: 280,
           render: (h, params) => {
             return h("div", [
@@ -814,6 +824,7 @@
       this.addEquipmentVisible = true;
     },
     edit(v) {
+      this.getAllUser();
       this.buyYear = v.buyYear;
       this.modalType = 1;
       this.modalTitle = "缂栬緫";

--
Gitblit v1.9.1