diff --git a/src/api/device/spotInspectionOrder.js b/src/api/device/spotInspectionOrder.js new file mode 100644 index 0000000..51a0388 --- /dev/null +++ b/src/api/device/spotInspectionOrder.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询点检工单列表 +export function listSpotInspectionOrder(query) { + return request({ + url: '/device/spotInspectionOrder/list', + method: 'get', + params: query + }); +} + +// 查询点检工单详细 +export function getSpotInspectionOrder(orderId) { + return request({ + url: '/device/spotInspectionOrder/' + orderId, + method: 'get' + }); +} + +// 新增点检工单 +export function addSpotInspectionOrder(data) { + return request({ + url: '/device/spotInspectionOrder', + method: 'post', + data: data + }); +} + +// 修改点检工单 +export function updateSpotInspectionOrder(data) { + return request({ + url: '/device/spotInspectionOrder', + method: 'put', + data: data + }); +} + +// 删除点检工单 +export function delSpotInspectionOrder(orderId) { + return request({ + url: '/device/spotInspectionOrder/' + orderId, + method: 'delete' + }); +} diff --git a/src/api/device/upkeepOrder.js b/src/api/device/upkeepOrder.js new file mode 100644 index 0000000..61a3298 --- /dev/null +++ b/src/api/device/upkeepOrder.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询保养工单列表 +export function listUpkeepOrder(query) { + return request({ + url: '/device/upkeepOrder/list', + method: 'get', + params: query + }); +} + +// 查询保养工单详细 +export function getUpkeepOrder(orderId) { + return request({ + url: '/device/upkeepOrder/' + orderId, + method: 'get' + }); +} + +// 新增保养工单 +export function addUpkeepOrder(data) { + return request({ + url: '/device/upkeepOrder', + method: 'post', + data: data + }); +} + +// 修改保养工单 +export function updateUpkeepOrder(data) { + return request({ + url: '/device/upkeepOrder', + method: 'put', + data: data + }); +} + +// 删除保养工单 +export function delUpkeepOrder(orderId) { + return request({ + url: '/device/upkeepOrder/' + orderId, + method: 'delete' + }); +} diff --git a/src/views/device/spotCheckPlan/index.vue b/src/views/device/spotCheckPlan/index.vue index ad8071d..297231c 100644 --- a/src/views/device/spotCheckPlan/index.vue +++ b/src/views/device/spotCheckPlan/index.vue @@ -236,7 +236,7 @@ size="mini" @click="handleAdd" v-hasPermi="['device:spotCheckPlan:add']" - >新增 + >添加计划 +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 搜索 + 重置 + + + + + + 新增 + + + 修改 + + + 删除 + + + 导出 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ this.form.planCode }} + {{ this.form.planName }} + {{ this.form.planLoop }}{{ this.form.planLoopType }} + + {{ this.form.orderCode }} + {{ this.form.planWorkshop }} + {{ this.form.workCenterName }} + + + + + + + + {{ this.form.equ.equipmentName }} + + + +
+ + + + + {{ detail.itemName }} + + + +
+
+ + + + + {{ standard.standardName }} + + + + + 达标 + 未达标 + + + +
+
+ + + + + {{ standard.standardName }} + + + + + {{ standard.detailUpLimit }} + + + + + {{ standard.detailDownLimit }} + + + + + {{ standard.detailUnit }} + + + + + + + + +
+
+ +
+
+ + + + + + + + + + + + + + + + + +
+
+ +
+
+ + + diff --git a/src/views/device/upkeepOrder/index.vue b/src/views/device/upkeepOrder/index.vue new file mode 100644 index 0000000..4dc2897 --- /dev/null +++ b/src/views/device/upkeepOrder/index.vue @@ -0,0 +1,608 @@ + + +