|
|
|
@ -83,7 +83,7 @@
|
|
|
|
|
placeholder="请选择实际结束时间">
|
|
|
|
|
</el-date-picker>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item v-if="false" label="设备编码" prop="equipmentCode">
|
|
|
|
|
<el-form-item label="设备编码" prop="equipmentCode">
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="queryParams.equipmentCode"
|
|
|
|
|
placeholder="请输入设备编码"
|
|
|
|
@ -91,6 +91,14 @@
|
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
|
/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="设备名称" prop="equipmentCode">
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="queryParams.equipmentName"
|
|
|
|
|
placeholder="请输入设备名称"
|
|
|
|
|
clearable
|
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
|
/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item v-if="false" label="工单费用" prop="orderCost">
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="queryParams.orderCost"
|
|
|
|
@ -283,6 +291,7 @@
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="设备编码" align="center" prop="equipmentCode" />
|
|
|
|
|
<el-table-column label="设备名称" align="center" prop="equipmentName" />
|
|
|
|
|
<el-table-column label="工单状态" align="center" prop="orderStatus" >
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<dict-tag :options="dict.type.device_order_status" :value="scope.row.orderStatus"/>
|
|
|
|
@ -460,7 +469,7 @@
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
import { listSpotInspectionOrder, getSpotInspectionOrder, delSpotInspectionOrder, addSpotInspectionOrder, updateSpotInspectionOrder } from "@/api/device/spotInspectionOrder";
|
|
|
|
|
import {getDeviceOrder, updateDeviceOrder} from "@/api/device/deviceOrder";
|
|
|
|
|
import {getDeviceOrder, listDeviceOrder, updateDeviceOrder} from "@/api/device/deviceOrder";
|
|
|
|
|
import {getWorkCenter} from "@/api/device/plan";
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
@ -545,11 +554,11 @@ export default {
|
|
|
|
|
/** 查询点检工单列表 */
|
|
|
|
|
getList() {
|
|
|
|
|
this.loading = true;
|
|
|
|
|
listSpotInspectionOrder(this.queryParams).then(response => {
|
|
|
|
|
this.spotInspectionOrderList = response.rows;
|
|
|
|
|
this.total = response.total;
|
|
|
|
|
this.loading = false;
|
|
|
|
|
});
|
|
|
|
|
listDeviceOrder(this.queryParams).then(response => {
|
|
|
|
|
this.spotInspectionOrderList = response.rows;
|
|
|
|
|
this.total = response.total;
|
|
|
|
|
this.loading = false;
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
// 取消按钮
|
|
|
|
|
cancel() {
|
|
|
|
|