From 185547d84110faeb341ca122a8e5c166a1f0681b Mon Sep 17 00:00:00 2001 From: shj <1790240199@qq.com> Date: 星期二, 12 四月 2022 09:51:23 +0800 Subject: [PATCH] Merge branch 'shf' of https://sinanoaq.cn:8888/r/ztqt into shf --- src/views/hiddenDangerRectification/index.vue | 26 ++++++++++++++++++++++---- 1 files changed, 22 insertions(+), 4 deletions(-) diff --git a/src/views/hiddenDangerRectification/index.vue b/src/views/hiddenDangerRectification/index.vue index 163ffae..85da3de 100644 --- a/src/views/hiddenDangerRectification/index.vue +++ b/src/views/hiddenDangerRectification/index.vue @@ -132,8 +132,8 @@ </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> - <el-button type="primary" class="btns" icon="el-icon-upload2">导出excel</el-button> + <el-button type="primary" class="btns" size="small" icon="el-icon-search">查询</el-button> + <el-button type="primary" class="btns" size="small" icon="el-icon-upload2">导出excel</el-button> </el-form-item> </el-form> <el-row class="title-center"> @@ -145,7 +145,7 @@ </el-radio-group> </el-col> --> <el-col :span="24" style="text-align:right;"> - <el-button class="btns" type="primary" size="small">申请延期</el-button> + <el-button class="btns" type="primary" size="small" @click="applicationExtension()">申请延期</el-button> </el-col> </el-row> <el-table :data="tableData" style="width: 100%"> @@ -209,7 +209,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 @@ -270,6 +274,20 @@ currentPage: 1, }; }, + methods:{ + // 发送隐患单跳转 + handleClick(){ + this.$router.push({ + path:"/sendHiddenDangerList" + }) + }, + + applicationExtension(){ + this.$router.push({ + path:"/applicationForExtension" + }) + }, + } }; </script> <style> -- Gitblit v1.9.2