diff --git a/src/api/device/deviceOrder.js b/src/api/device/deviceOrder.js
new file mode 100644
index 00000000..e6fc322c
--- /dev/null
+++ b/src/api/device/deviceOrder.js
@@ -0,0 +1,44 @@
+import request from '@/utils/request'
+
+// 查询计划工单列表
+export function listDeviceOrder(query) {
+ return request({
+ url: '/device/deviceOrder/list',
+ method: 'get',
+ params: query
+ });
+}
+
+// 查询计划工单详细
+export function getDeviceOrder(orderId) {
+ return request({
+ url: '/device/deviceOrder/' + orderId,
+ method: 'get'
+ });
+}
+
+// 新增计划工单
+export function addDeviceOrder(data) {
+ return request({
+ url: '/device/deviceOrder',
+ method: 'post',
+ data: data
+ });
+}
+
+// 修改计划工单
+export function updateDeviceOrder(data) {
+ return request({
+ url: '/device/deviceOrder',
+ method: 'put',
+ data: data
+ });
+}
+
+// 删除计划工单
+export function delDeviceOrder(orderId) {
+ return request({
+ url: '/device/deviceOrder/' + orderId,
+ method: 'delete'
+ });
+}
diff --git a/src/api/device/upkeepPlan.js b/src/api/device/upkeepPlan.js
new file mode 100644
index 00000000..63a88bd1
--- /dev/null
+++ b/src/api/device/upkeepPlan.js
@@ -0,0 +1,44 @@
+import request from '@/utils/request'
+
+// 查询保养计划列表
+export function listUpkeepPlan(query) {
+ return request({
+ url: '/device/upkeepPlan/list',
+ method: 'get',
+ params: query
+ });
+}
+
+// 查询保养计划详细
+export function getUpkeepPlan(planId) {
+ return request({
+ url: '/device/upkeepPlan/' + planId,
+ method: 'get'
+ });
+}
+
+// 新增保养计划
+export function addUpkeepPlan(data) {
+ return request({
+ url: '/device/upkeepPlan',
+ method: 'post',
+ data: data
+ });
+}
+
+// 修改保养计划
+export function updateUpkeepPlan(data) {
+ return request({
+ url: '/device/upkeepPlan',
+ method: 'put',
+ data: data
+ });
+}
+
+// 删除保养计划
+export function delUpkeepPlan(planId) {
+ return request({
+ url: '/device/upkeepPlan/' + planId,
+ method: 'delete'
+ });
+}
diff --git a/src/views/device/deviceOrder/index.vue b/src/views/device/deviceOrder/index.vue
new file mode 100644
index 00000000..84d0aabe
--- /dev/null
+++ b/src/views/device/deviceOrder/index.vue
@@ -0,0 +1,608 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+ 新增
+
+
+ 修改
+
+
+ 删除
+
+
+ 导出
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ parseTime(scope.row.planLoopStart, '{y}-{m}-{d}') }}
+
+
+
+
+ {{ parseTime(scope.row.planLoopEnd, '{y}-{m}-{d}') }}
+
+
+
+
+ {{ parseTime(scope.row.orderStart, '{y}-{m}-{d}') }}
+
+
+
+
+ {{ parseTime(scope.row.orderEnd, '{y}-{m}-{d}') }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ parseTime(scope.row.createTime, '{y}-{m}-{d}') }}
+
+
+
+
+
+ {{ parseTime(scope.row.updateTime, '{y}-{m}-{d}') }}
+
+
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/device/upkeepPlan/index.vue b/src/views/device/upkeepPlan/index.vue
new file mode 100644
index 00000000..b2211a5e
--- /dev/null
+++ b/src/views/device/upkeepPlan/index.vue
@@ -0,0 +1,670 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+ 新增
+
+
+ 修改
+
+
+ 删除
+
+
+ 导出
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ parseTime(scope.row.planLoopStart, '{y}-{m}-{d}') }}
+
+
+
+
+ {{ parseTime(scope.row.planLoopEnd, '{y}-{m}-{d}') }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ parseTime(scope.row.createTime, '{y}-{m}-{d}') }}
+
+
+
+
+
+ {{ parseTime(scope.row.updateTime, '{y}-{m}-{d}') }}
+
+
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{dict.label}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+