| | |
| | | <template> |
| | | <div > |
| | | <el-card class="box-card" v-for="(el,item) in testStandardParams" > |
| | | <div class="app"> |
| | | <el-card class="card" v-for="(el,item) in testStandardParams" > |
| | | <div> |
| | | <el-form :model="el" label-width="80px"> |
| | | <el-form-item label="序号:"> |
| | |
| | | }, |
| | | created() { |
| | | let aa = this.$route.query |
| | | console.log(this.$route.query,"id"); |
| | | this.chuaxun(aa) |
| | | this.details(aa) |
| | | }, |
| | | methods: { |
| | | chuaxun(aa){ |
| | | details(aa){ |
| | | selById({id:aa.id}).then((res) =>{ |
| | | this.testStandardParams = res.data.data |
| | | }) |
| | |
| | | </script> |
| | | |
| | | <style> |
| | | .box-card{ |
| | | .app{ |
| | | /* position: relative; */ |
| | | height: 100%; |
| | | overflow: auto; |
| | | } |
| | | .card{ |
| | | margin: 20px; |
| | | border-radius: 40px; |
| | | } |