From e520d6f233851374356bb49c4cf724d1d3565b05 Mon Sep 17 00:00:00 2001 From: songhuangfeng123 <shf18767906695@163.com> Date: 星期四, 19 五月 2022 09:01:49 +0800 Subject: [PATCH] fix --- src/views/oneFromanother/index.vue | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/views/oneFromanother/index.vue b/src/views/oneFromanother/index.vue index e8de4c6..e3ada87 100644 --- a/src/views/oneFromanother/index.vue +++ b/src/views/oneFromanother/index.vue @@ -76,8 +76,11 @@ <el-radio-button label="已自查">已自查</el-radio-button> </el-radio-group> </el-col> - <el-col :span="14" style="text-align:right;"> + <el-col :span="14" v-if="radio1=='待自查'" style="text-align:right;"> <el-button class="btns" type="primary" size="small" @click="sendBath()">管理专业</el-button> + </el-col> + <el-col :span="14" v-if="radio1=='已自查'" style="text-align:right;"> + <el-button class="btns" type="primary" size="small" @click="sendBath()">撤销</el-button> </el-col> </el-row> <el-table ref="dataTable" :data="tableData" style="width: 100%" @selection-change="handleSelectionChange"> @@ -98,8 +101,9 @@ <el-table-column prop="curWarningLevel" label="下发单位" align="center"></el-table-column> <el-table-column prop="date" label="流程操作" align="center"> <template slot-scope="scope"> - <el-button @click="handleClick(scope.row)" type="text" size="small">不存在</el-button> - <el-button @click="handleClick(scope.row,'存在')" type="text" size="small">存在</el-button> + <el-button @click="handleClick(scope.row)" type="text" size="small">不存在</el-button> + <el-button @click="handleClick(scope.row)" type="text" v-if="radio1=='已自查'" size="small">追查结果</el-button> + <el-button @click="handleClick(scope.row,'存在')" type="text" v-if="radio1=='待自查'" size="small">存在</el-button> </template> </el-table-column> </el-table> -- Gitblit v1.9.2