From 942b95daa0dd2a9e764da5cc6cdfd95383447b80 Mon Sep 17 00:00:00 2001
From: Kxc0822a <kxc000822>
Date: Tue, 12 Apr 2022 17:06:04 +0800
Subject: [PATCH] 重大
---
src/views/hiddenDangerRegistration/index.vue | 25 +++++++++++++++++++------
1 files changed, 19 insertions(+), 6 deletions(-)
diff --git a/src/views/hiddenDangerRegistration/index.vue b/src/views/hiddenDangerRegistration/index.vue
index 0c39a5f..1d690fd 100644
--- a/src/views/hiddenDangerRegistration/index.vue
+++ b/src/views/hiddenDangerRegistration/index.vue
@@ -168,10 +168,10 @@
</el-col>
</el-form-item>
<el-form-item style="text-align: center; padding: 0 50px">
- <el-button type="primary" class="btns" icon="el-icon-search"
+ <el-button type="primary" class="btns" size="small" icon="el-icon-search"
>查询</el-button
>
- <el-button type="primary" class="btns" icon="el-icon-upload2"
+ <el-button type="primary" class="btns" size="small" icon="el-icon-upload2"
>导出excel</el-button
>
</el-form-item>
@@ -216,7 +216,7 @@
<el-button size="small"
>删除</el-button
>
-
+
</el-col>
</el-row>
<el-table :data="tableData" style="width: 100%">
@@ -280,7 +280,11 @@
<el-table-column label="初始警情" align="center"> </el-table-column>
<el-table-column label="当前警情" align="center"> </el-table-column>
<el-table-column label="流程操作" align="center"> </el-table-column>
- <el-table-column label="基本操作" align="center"> </el-table-column>
+ <el-table-column label="基本操作" align="center">
+ <template slot-scope="scope">
+ <el-button @click="handleClick(scope.row)" type="text" size="small">点击发送</el-button>
+ </template>
+ </el-table-column>
</el-table>
<div style="text-align: right">
<el-pagination
@@ -324,7 +328,9 @@
label: "北京烤鸭",
},
],
- tableData: [],
+ tableData: [{
+ date:"2016-05-04",
+ }],
pageSize: 10,
recordTotal: 0,
currentPage: 1,
@@ -335,7 +341,14 @@
this.$router.push({
path:"/hiddenDangerAdd"
})
- }
+ },
+ // 发送隐患单跳转
+ handleClick(){
+ this.$router.push({
+ path:"/hiddenDangerList",
+
+ })
+ },
}
};
</script>
--
Gitblit v1.9.2