| | |
| | | <!-- 组件区 --> |
| | | <div class="dialog"> |
| | | <el-dialog v-if="visible" :visible.async="visible" title="问题登记" width="60%" :before-close="handleClose"> |
| | | <checkIn></checkIn> |
| | | <MyView :viewData=showData /> |
| | | </el-dialog> |
| | | </div> |
| | | </div> |
| | | </template> |
| | | <script> |
| | | import MyTable from '@/components/Table' |
| | | import MyView from './components/dataView' |
| | | export default { |
| | | components: { |
| | | MyTable, |
| | | MyTable,MyView |
| | | }, |
| | | data() { |
| | | return { |
| | |
| | | }, |
| | | ] |
| | | }, |
| | | visible:false |
| | | visible:false, |
| | | showData:{}, |
| | | } |
| | | }, |
| | | methods:{ |
| | |
| | | // 获取操作结果 |
| | | changeDialog({index,mykey}){ |
| | | console.log(index,mykey); |
| | | this.showData = this.list[index]; |
| | | this.visible = true; |
| | | } |
| | | } |
| | | } |