From dc3640ed779c020e1fe931a504e76b74fc02394c Mon Sep 17 00:00:00 2001 From: shj <1790240199@qq.com> Date: 星期一, 16 五月 2022 09:59:35 +0800 Subject: [PATCH] 举一反三 --- src/views/oneFromanother/index.vue | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/views/oneFromanother/index.vue b/src/views/oneFromanother/index.vue index 1b21012..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"> @@ -99,8 +102,8 @@ <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" v-if="false" 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