| | |
| | | :paging='false' |
| | | v-slot="{ table }"> |
| | | <el-form :inline="true" :model="dataForm" @keyup.enter.native="table.query()"></el-form> |
| | | <el-table v-loading="table.dataLoading" :data="table.dataList" height="200" |
| | | <el-table v-loading="table.dataLoading" :data="table.dataList" height="300" |
| | | border @row-dblclick="selectModel" |
| | | @selection-change="table.selectionChangeHandle"> |
| | | <el-table-column prop="modelName" label="模型名称"/> |
| | |
| | | components: {}, |
| | | methods: { |
| | | init(param) { |
| | | this.dataForm.productId = param.row.productId |
| | | console.log(param) |
| | | this.dataForm.productId = param.row.id |
| | | this.dataForm.phaseId = param.phaseId |
| | | this.dataForm.id = param.row.id |
| | | this.dataForm.id = param.row.productId |
| | | }, |
| | | async selectModel(row) { |
| | | console.log(this.dataForm) |