From da6cfbce4502d53735832d4a076c9927576fc34b Mon Sep 17 00:00:00 2001
From: Your Name <123456>
Date: 星期一, 30 五月 2022 14:12:34 +0800
Subject: [PATCH] '改'
---
src/views/oneFromanother/index.vue | 25 ++++++++++++++++++++++---
1 files changed, 22 insertions(+), 3 deletions(-)
diff --git a/src/views/oneFromanother/index.vue b/src/views/oneFromanother/index.vue
index 982cedd..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>
@@ -116,6 +120,7 @@
>
</el-pagination>
</div>
+
</div>
</template>
<script>
@@ -127,6 +132,20 @@
},
radio1:'待自查',
}
+ },
+ methods:{
+ sendBath(){
+ this.$router.push({
+ path:'/manage'
+ })
+ },
+ handleClick(data,val){
+ if(val=='存在'){
+ this.$router.push({
+ path:'/exist'
+ })
+ }
+ }
}
}
</script>
--
Gitblit v1.9.2