|
|
|
@ -178,6 +178,20 @@
|
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
|
/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="保养类型" prop="upkeep">
|
|
|
|
|
<el-select
|
|
|
|
|
v-model="queryParams.upkeep"
|
|
|
|
|
placeholder="请选择保养类型"
|
|
|
|
|
clearable
|
|
|
|
|
>
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="dict in dict.type.device_upkeep_type"
|
|
|
|
|
:key="dict.value"
|
|
|
|
|
:label="dict.label"
|
|
|
|
|
:value="dict.value"
|
|
|
|
|
/>
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item v-if="false" label="工单用时" prop="orderCostTime">
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="queryParams.orderCostTime"
|
|
|
|
@ -272,6 +286,7 @@
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="循环范围开始" prop="planLoopStart">
|
|
|
|
|
<el-date-picker
|
|
|
|
|
style="width: 250px"
|
|
|
|
|
v-model="queryParams.loopStartArray"
|
|
|
|
|
type="daterange"
|
|
|
|
|
align="right"
|
|
|
|
@ -286,6 +301,7 @@
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="循环范围结束" prop="planLoopEnd">
|
|
|
|
|
<el-date-picker
|
|
|
|
|
style="width: 250px"
|
|
|
|
|
v-model="queryParams.loopEndArray"
|
|
|
|
|
type="daterange"
|
|
|
|
|
align="right"
|
|
|
|
@ -300,6 +316,7 @@
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="保养开始时间" prop="orderStart">
|
|
|
|
|
<el-date-picker
|
|
|
|
|
style="width: 250px"
|
|
|
|
|
v-model="queryParams.orderStartArray"
|
|
|
|
|
type="daterange"
|
|
|
|
|
align="right"
|
|
|
|
@ -314,6 +331,7 @@
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="保养结束时间" prop="orderEnd">
|
|
|
|
|
<el-date-picker
|
|
|
|
|
style="width: 250px"
|
|
|
|
|
v-model="queryParams.orderEndArray"
|
|
|
|
|
type="daterange"
|
|
|
|
|
align="right"
|
|
|
|
@ -326,19 +344,20 @@
|
|
|
|
|
>
|
|
|
|
|
</el-date-picker>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="保养类型" prop="upkeep">
|
|
|
|
|
<el-select
|
|
|
|
|
v-model="queryParams.upkeep"
|
|
|
|
|
placeholder="请选择保养类型"
|
|
|
|
|
clearable
|
|
|
|
|
<el-form-item label="创建时间" prop="createTime">
|
|
|
|
|
<el-date-picker
|
|
|
|
|
style="width: 250px"
|
|
|
|
|
v-model="queryParams.createTimeArray"
|
|
|
|
|
type="daterange"
|
|
|
|
|
align="right"
|
|
|
|
|
unlink-panels
|
|
|
|
|
range-separator="至"
|
|
|
|
|
start-placeholder="开始日期"
|
|
|
|
|
end-placeholder="结束日期"
|
|
|
|
|
value-format="yyyy-MM-dd"
|
|
|
|
|
:picker-options="pickerOptions"
|
|
|
|
|
>
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="dict in dict.type.device_upkeep_type"
|
|
|
|
|
:key="dict.value"
|
|
|
|
|
:label="dict.label"
|
|
|
|
|
:value="dict.value"
|
|
|
|
|
/>
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-date-picker>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item>
|
|
|
|
|
<el-button
|
|
|
|
@ -1002,6 +1021,7 @@ export default {
|
|
|
|
|
createTime: null,
|
|
|
|
|
updateBy: null,
|
|
|
|
|
updateTime: null,
|
|
|
|
|
createTimeArray:[],
|
|
|
|
|
loopStartArray: [],
|
|
|
|
|
orderStartArray: [],
|
|
|
|
|
orderEndArray: [],
|
|
|
|
@ -1108,6 +1128,7 @@ export default {
|
|
|
|
|
createTime: null,
|
|
|
|
|
updateBy: null,
|
|
|
|
|
updateTime: null,
|
|
|
|
|
createTimeArray:[],
|
|
|
|
|
loopStartArray: [],
|
|
|
|
|
orderStartArray: [],
|
|
|
|
|
orderEndArray: [],
|
|
|
|
@ -1122,6 +1143,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
/** 重置按钮操作 */
|
|
|
|
|
resetQuery() {
|
|
|
|
|
this.queryParams.createTimeArray = [];
|
|
|
|
|
this.queryParams.loopEndArray = null;
|
|
|
|
|
this.queryParams.loopStartArray = null;
|
|
|
|
|
this.queryParams.orderEndArray = null;
|
|
|
|
|