| | |
| | | <div id="app" style="display: flex;justify-content: center;flex-wrap: wrap;"> |
| | | <div style="width: 100%;"> |
| | | <el-table border ref="singleTable" :data="tableData" highlight-current-row @row-click="handleRowClick" |
| | | max-height="420" style="width: 100%"> |
| | | max-height="350" style="width: 100%"> |
| | | <el-table-column property="jarNo" label="硫化罐"> |
| | | </el-table-column> |
| | | <!-- <el-table-column property="workNo" label="工作号">--> |
| | |
| | | @cancel="cancelEvent" |
| | | > |
| | | <template #reference> |
| | | <el-button>修改</el-button> |
| | | <el-button>修改最大储量</el-button> |
| | | </template> |
| | | </el-popconfirm> |
| | | </template> |
| | |
| | | <el-empty description="请选择设备"></el-empty> |
| | | </div> |
| | | <div v-else> |
| | | <el-table border :data="item" highlight-current-row max-height="350" style="width: 100%"> |
| | | <el-table-column property="jarId" label="硫化罐"> |
| | | <el-table border :data="itemMast" highlight-current-row max-height="400" style="width: 100%"> |
| | | <el-table-column property="id" label="序号"> |
| | | </el-table-column> |
| | | <el-table-column property="jarWrkNo" label="工作号"> |
| | | </el-table-column> |
| | |
| | | ], |
| | | demo: 'X', |
| | | rgvMode: 0, |
| | | item: [] |
| | | itemMast: [] |
| | | }, |
| | | created() { |
| | | this.init() |
| | |
| | | id: that.tableData[that.currentIndex].jarNo |
| | | }, |
| | | success: function (res) { |
| | | that.item = res.data |
| | | console.log(that.item) |
| | | that.itemMast = res.data |
| | | // console.log(that.itemMast) |
| | | } |
| | | }); |
| | | } |
| | |
| | | id: row.jarNo |
| | | }, |
| | | success: function (res) { |
| | | that.item = res.data |
| | | console.log(that.item) |
| | | that.itemMast = res.data |
| | | // console.log(that.itemMast) |
| | | } |
| | | }); |
| | | }, |