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