From 6f6d02951fbbd1b01887aaed3fd5a22b05ab9bf4 Mon Sep 17 00:00:00 2001 From: shj <1790240199@qq.com> Date: 星期二, 12 四月 2022 09:27:06 +0800 Subject: [PATCH] Merge branch 'shf' of https://sinanoaq.cn:8888/r/ztqt into shf --- src/views/hiddenDangerRegistration/index.vue | 28 +++++++++++++++++++++++----- 1 files changed, 23 insertions(+), 5 deletions(-) diff --git a/src/views/hiddenDangerRegistration/index.vue b/src/views/hiddenDangerRegistration/index.vue index 24234c9..b61a992 100644 --- a/src/views/hiddenDangerRegistration/index.vue +++ b/src/views/hiddenDangerRegistration/index.vue @@ -210,13 +210,13 @@ size="small" >批量发送</el-button > - <el-button class="btns" type="primary" icon="el-icon-plus" size="small" + <el-button class="btns" @click="jump" type="primary" icon="el-icon-plus" size="small" >添加</el-button > <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 @@ -302,7 +306,6 @@ data() { return { form: {}, - radio1: "上海", options: [ { value: "选项1", @@ -325,12 +328,27 @@ label: "北京烤鸭", }, ], - tableData: [], + tableData: [{ + date:"2016-05-04", + }], pageSize: 10, recordTotal: 0, currentPage: 1, }; }, + methods:{ + jump(){ + this.$router.push({ + path:"/hiddenDangerAdd" + }) + }, + // 发送隐患单跳转 + handleClick(){ + this.$router.push({ + path:"/hiddenDangerList" + }) + }, + } }; </script> <style> -- Gitblit v1.9.2