|
|
|
|
@ -3,7 +3,7 @@ |
|
|
|
|
<div> |
|
|
|
|
<el-form label-width="80px" :model="formLabelAlign"> |
|
|
|
|
<el-row> |
|
|
|
|
<el-col :span="6"> |
|
|
|
|
<!-- <el-col :span="6"> |
|
|
|
|
<el-form-item label="维度:"> |
|
|
|
|
<el-select v-model="formLabelAlign.type" placeholder="请选择" @change="typeChange"> |
|
|
|
|
<el-option label="车间订单" value="1"> </el-option> |
|
|
|
|
@ -11,13 +11,13 @@ |
|
|
|
|
<el-option label="设备" value="3"> </el-option> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
<el-col :span="6" v-if="formLabelAlign.type == '1'"> |
|
|
|
|
</el-col> --> |
|
|
|
|
<el-col :span="6" > |
|
|
|
|
<el-form-item label="车间订单号:" label-width="120px"> |
|
|
|
|
<el-input v-model="formLabelAlign.woCode" placeholder="请输入"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
<el-col :span="6" v-if="formLabelAlign.type == '2'"> |
|
|
|
|
<el-col :span="6"> |
|
|
|
|
<el-form-item label="班组:"> |
|
|
|
|
<!-- <el-input v-model="formLabelAlign.teamame" placeholder="请输入"></el-input> --> |
|
|
|
|
<el-select v-model="formLabelAlign.teamName" filterable placeholder="请选择"> |
|
|
|
|
@ -32,7 +32,7 @@ |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
<el-col :span="6" v-if="formLabelAlign.type == '3'"> |
|
|
|
|
<el-col :span="6" > |
|
|
|
|
<el-form-item label="设备:"> |
|
|
|
|
<!-- <el-input v-model="formLabelAlign.equipName" placeholder="请输入"></el-input> --> |
|
|
|
|
<el-select v-model="formLabelAlign.equipName" filterable placeholder="请选择"> |
|
|
|
|
@ -124,8 +124,8 @@ |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<!-- 右侧时间轴 (时间在上,刻度线在下) --> |
|
|
|
|
<div class="timeline-container" @wheel.prevent="handleWheel"> |
|
|
|
|
<!-- 右侧时间轴 (时间在上,刻度线在下) @wheel.prevent="handleWheel"--> |
|
|
|
|
<div class="timeline-container" > |
|
|
|
|
<!-- 图表X轴区域(时间在上,刻度线在下) --> |
|
|
|
|
<div class="chart-axis"> |
|
|
|
|
<!-- 时间标签 --> |
|
|
|
|
@ -328,7 +328,7 @@ export default { |
|
|
|
|
return { |
|
|
|
|
searchType: '', |
|
|
|
|
formLabelAlign: { |
|
|
|
|
type: '1', //维度类型 |
|
|
|
|
// type: '1', //维度类型 |
|
|
|
|
startTime: null, //时间 |
|
|
|
|
teamName: '', //班组 |
|
|
|
|
equipName: '', //设备 |
|
|
|
|
@ -336,7 +336,7 @@ export default { |
|
|
|
|
}, |
|
|
|
|
rowHeight: 36, |
|
|
|
|
zoomLevel: 2, // 缩放级别 (1-4) |
|
|
|
|
minZoom: 1, |
|
|
|
|
minZoom: 4, |
|
|
|
|
maxZoom: 4, |
|
|
|
|
|
|
|
|
|
// 设备列表 |
|
|
|
|
|