shj
2022-05-13 81fbccc69012cbedcc60e01a26b99185430dba2a
src/views/oneFromanother/index.vue
@@ -99,7 +99,7 @@
            <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>
                </template>
            </el-table-column>
        </el-table>
@@ -116,6 +116,7 @@
            >
            </el-pagination>
        </div>
    </div>
</template>
<script>
@@ -133,6 +134,13 @@
                this.$router.push({
                    path:'/manage'
                })
            },
            handleClick(data,val){
                if(val=='存在'){
                    this.$router.push({
                        path:'/exist'
                    })
                }
            }
        }
    }