| | |
| | | let params = { |
| | | |
| | | } |
| | | return await this.$HTTP.get(`/api/smart-collect/tpl/page`, {}, { params }).then(res => { |
| | | return await this.$HTTP.get(`/api/smis/collecttpl/page`, {}, { params }).then(res => { |
| | | res.data.records = res?.data?.records.map(v => { |
| | | return { |
| | | ...v, |
| | |
| | | return this |
| | | }, |
| | | getDetailList(params) { |
| | | this.$HTTP.get(`/api/smart-collect/tpl/typelist`, {}, { params }).then(res => { |
| | | this.$HTTP.get(`/api/smis/collecttpl/typelist`, {}, { params }).then(res => { |
| | | |
| | | this.typeList = res.data || []; |
| | | // return res |
| | |
| | | {title:'工序号',width: '80px'}, |
| | | {title:'版次',width: '60px'}, |
| | | {title:'机床',width: '100px'}, |
| | | {title:'开机时间',width: '145px'}, |
| | | {title:'开始时间',width: '145px'}, |
| | | {title:'结束时间',width: '145px'}, |
| | | {title:'占机时间',width: '100px'}, |
| | | {title:'装夹调试时间',width: '100px'}, |
| | |
| | | <el-card body-style="height: 100%;padding: 0;" style="margin-bottom: 12px;"> |
| | | <el-table :data="tableData" border> |
| | | <el-table-column prop="progName" label="程序名称"></el-table-column> |
| | | <el-table-column prop="startTime" label="开机时间"></el-table-column> |
| | | <el-table-column prop="startTime" label="开始时间"></el-table-column> |
| | | <el-table-column prop="endTime" label="结束时间"></el-table-column> |
| | | <el-table-column prop="duration" label="持续时长"></el-table-column> |
| | | <el-table-column prop="deviceStatus" label="状态"></el-table-column> |
| | |
| | | <el-table-column prop="processNo" label="工序号" width="80"></el-table-column> |
| | | <el-table-column prop="version" label="版次" width="60"></el-table-column> |
| | | <el-table-column prop="workstationName" label="机床" width="100"></el-table-column> |
| | | <el-table-column prop="startTime" label="开机时间" width="145"></el-table-column> |
| | | <el-table-column prop="startTime" label="开始时间" width="145"></el-table-column> |
| | | <el-table-column prop="endTime" label="结束时间" width="145"></el-table-column> |
| | | <el-table-column prop="occupancySecs" label="占机时间" width="100"> |
| | | <template #default="scope"> |