|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
<template>
|
|
|
|
|
<div class="app-container">
|
|
|
|
|
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
|
|
|
|
|
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="100px">
|
|
|
|
|
<el-form-item v-if="false" label="计划id" prop="planId">
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="queryParams.planId"
|
|
|
|
@ -117,7 +117,7 @@
|
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
|
/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="点检人" prop="planPerson">
|
|
|
|
|
<el-form-item label="保养人" prop="planPerson">
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="queryParams.planPerson"
|
|
|
|
|
placeholder="请输入点检人"
|
|
|
|
@ -213,7 +213,7 @@
|
|
|
|
|
placeholder="请选择更新时间">
|
|
|
|
|
</el-date-picker>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label-width="100px" label="循环范围开始" prop="planLoopStart">
|
|
|
|
|
<el-form-item label="循环范围开始" prop="planLoopStart">
|
|
|
|
|
<el-date-picker
|
|
|
|
|
v-model="queryParams.loopStartArray"
|
|
|
|
|
type="daterange"
|
|
|
|
@ -226,7 +226,7 @@
|
|
|
|
|
:picker-options="pickerOptions">
|
|
|
|
|
</el-date-picker>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label-width="100px" label="循环范围结束" prop="planLoopEnd">
|
|
|
|
|
<el-form-item label="循环范围结束" prop="planLoopEnd">
|
|
|
|
|
<el-date-picker
|
|
|
|
|
v-model="queryParams.loopEndArray"
|
|
|
|
|
type="daterange"
|
|
|
|
@ -239,7 +239,7 @@
|
|
|
|
|
:picker-options="pickerOptions">
|
|
|
|
|
</el-date-picker>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label-width="100px" label="执行开始时间" prop="orderStart">
|
|
|
|
|
<el-form-item label="保养开始时间" prop="orderStart">
|
|
|
|
|
<el-date-picker
|
|
|
|
|
v-model="queryParams.orderStartArray"
|
|
|
|
|
type="daterange"
|
|
|
|
@ -252,7 +252,7 @@
|
|
|
|
|
:picker-options="pickerOptions">
|
|
|
|
|
</el-date-picker>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label-width="100px" label="执行结束时间" prop="orderEnd">
|
|
|
|
|
<el-form-item label="保养结束时间" prop="orderEnd">
|
|
|
|
|
<el-date-picker
|
|
|
|
|
v-model="queryParams.orderEndArray"
|
|
|
|
|
type="daterange"
|
|
|
|
@ -371,18 +371,18 @@
|
|
|
|
|
<span>{{ parseTime(scope.row.planLoopEnd, '{y}-{m}-{d}') }}</span>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column width="120" label="执行开始时间" align="center" prop="orderStart">
|
|
|
|
|
<el-table-column width="120" label="保养开始时间" align="center" prop="orderStart">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<span>{{ parseTime(scope.row.orderStart, '{y}-{m}-{d}') }}</span>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column width="120" label="执行结束时间" align="center" prop="orderEnd">
|
|
|
|
|
<el-table-column width="120" label="保养结束时间" align="center" prop="orderEnd">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<span>{{ parseTime(scope.row.orderEnd, '{y}-{m}-{d}') }}</span>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column width="100" label="设备编码" align="center" prop="equipmentCode" />
|
|
|
|
|
<el-table-column width="120" label="设备名称" align="center" prop="equipmentName" />
|
|
|
|
|
<el-table-column width="200" label="设备名称" align="center" prop="equipmentName" />
|
|
|
|
|
<el-table-column width="80" label="保养类型" align="center" prop="upkeep" >
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<dict-tag :options="dict.type.device_upkeep_type" :value="scope.row.upkeep"/>
|
|
|
|
@ -464,8 +464,8 @@
|
|
|
|
|
<el-descriptions-item label="车间编码">{{ workVO.order.planWorkshop }}</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="循环开始时间">{{ workVO.order.planLoopStart }}</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="循环结束时间">{{ workVO.order.planLoopEnd }}</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="执行开始时间">{{ workVO.order.orderStart }}</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="执行结束时间">{{ workVO.order.orderEnd }}</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="保养开始时间">{{ workVO.order.orderStart }}</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="保养结束时间">{{ workVO.order.orderEnd }}</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="保养类型">{{ workVO.order.upkeep }}</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="是否停机保养">{{ workVO.order.shutDown }}</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="保养人">{{ workVO.order.planPerson }}</el-descriptions-item>
|
|
|
|
@ -835,6 +835,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
/** 重置按钮操作 */
|
|
|
|
|
resetQuery() {
|
|
|
|
|
this.queryParams.equipmentName = null;
|
|
|
|
|
this.resetForm("queryForm");
|
|
|
|
|
this.handleQuery();
|
|
|
|
|
},
|
|
|
|
|