From 8560c8517964e0ea2b5fb02811f4a43e1974d973 Mon Sep 17 00:00:00 2001
From: zhangzeli <123456>
Date: 星期四, 06 一月 2022 09:58:59 +0800
Subject: [PATCH] 优化
---
src/views/your/accident-manage/accidentManage.vue | 52 ++++++++++++++++++++++++++++++++--------------------
1 files changed, 32 insertions(+), 20 deletions(-)
diff --git a/src/views/your/accident-manage/accidentManage.vue b/src/views/your/accident-manage/accidentManage.vue
index 6e9122c..1aa345e 100644
--- a/src/views/your/accident-manage/accidentManage.vue
+++ b/src/views/your/accident-manage/accidentManage.vue
@@ -92,6 +92,9 @@
<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">
<Button type="text" @click="carRole">鍙栨秷</Button>
@@ -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