From 70437588c08da1ccff7953dafc6a226d4d9cf927 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=91=E6=98=8E=E6=A2=81?= <2429105222@qq.com> Date: Fri, 18 Aug 2023 16:39:11 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E5=A4=87=E4=BB=BB=E5=8A=A1=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/inventory/deptDevice.js | 25 + src/api/inventory/deviceInspectTake.js | 78 ++ src/api/inventory/deviceProjectSet.js | 40 + src/views/inventory/DeviceInspectTake.vue | 626 +++++++++++++++ src/views/inventory/DeviceInspectTakeAdd.vue | 743 ++++++++++++++++++ .../DeviceInspectTakeAuditModify.vue | 526 +++++++++++++ .../inventory/DeviceInspectTakeDetail.vue | 80 ++ .../inventory/DeviceInspectTakeProjectSet.vue | 216 +++++ .../inventory/DeviceInspectTakeSelect.vue | 577 ++++++++++++++ .../inventory/DeviceProjectSelectTake.vue | 298 +++++++ 10 files changed, 3209 insertions(+) create mode 100644 src/api/inventory/deptDevice.js create mode 100644 src/api/inventory/deviceInspectTake.js create mode 100644 src/api/inventory/deviceProjectSet.js create mode 100644 src/views/inventory/DeviceInspectTake.vue create mode 100644 src/views/inventory/DeviceInspectTakeAdd.vue create mode 100644 src/views/inventory/DeviceInspectTakeAuditModify.vue create mode 100644 src/views/inventory/DeviceInspectTakeDetail.vue create mode 100644 src/views/inventory/DeviceInspectTakeProjectSet.vue create mode 100644 src/views/inventory/DeviceInspectTakeSelect.vue create mode 100644 src/views/inventory/DeviceProjectSelectTake.vue diff --git a/src/api/inventory/deptDevice.js b/src/api/inventory/deptDevice.js new file mode 100644 index 0000000..8ff4019 --- /dev/null +++ b/src/api/inventory/deptDevice.js @@ -0,0 +1,25 @@ +import axios from "@/utils/request"; + +export function getDeptDeviceList(params) { + return axios({ + url: "/udiwms/inv/deptDevice/filter", + method: "get", + params: params + }); +} + +export function saveDeptDevice(data, formName) { + return axios({ + url: formName === "add" ? "/udiwms/inv/deptDevice/add" : "/udiwms/inv/deptDevice/update", + method: "post", + data: data + }); +} + +export function deleteDeptDevice(data) { + return axios({ + url: "/udiwms/inv/deptDevice/delete", + method: "post", + data: data + }); +} diff --git a/src/api/inventory/deviceInspectTake.js b/src/api/inventory/deviceInspectTake.js new file mode 100644 index 0000000..0d4795c --- /dev/null +++ b/src/api/inventory/deviceInspectTake.js @@ -0,0 +1,78 @@ +import axios from "@/utils/request"; + +export function getDeviceInspectTakeList(params) { + return axios({ + url: "/udiwms/inv/device/inspect/take/filter", + method: "get", + params: params + }); +} + +export function uploadDeviceInspecTake(params) { + return axios({ + url: "/udiwms/inv/device/inspect/take/uploadDeviceInspecTake", + method: "post", + data: params + }); +} + +export function uploadDeviceTake(params) { + return axios({ + url: "/udiwms/inv/device/inspect/take/uploadDeviceTake", + method: "post", + data: params + }); +} + +export function saveDeviceInspectTake(data, formName) { + return axios({ + url: formName === "add" ? "/udiwms/inv/device/inspect/take/addDeviceInspecTake" : "/udiwms/inv/device/inspect/take/uploadDeviceInspecTake", + method: "post", + data: data + }); +} + +export function selectDeviceInspecTakeDetail(params) { + return axios({ + url: "/udiwms/inv/device/inspect/take/detail/selectDeviceInspecTakeDetail", + method: "get", + params: params + }); +} + +export function uploadDeviceInspecTakeDetail(params) { + return axios({ + url: "/udiwms/inv/device/inspect/take/detail/uploadDeviceInspecTakeDetail", + method: "post", + data: params + }); +} + +export function addDeviceInspecTakeDetail(params) { + return axios({ + url: "/udiwms/inv/device/inspect/take/detail/addDeviceInspecTakeDetail", + method: "post", + data: params + }); +} + +export function delectDeviceInspecTake(data) { + return axios({ + url: "/udiwms/inv/device/inspect/take/delectDeviceInspecTake", + method: "post", + data: data + }); +} + +export function delectDeviceInspecTakeDetail(params) { + return axios({ + url: "/udiwms/inv/device/inspect/take/detail/delectDeviceInspecTakeDetail", + method: "get", + params: params + }); +} + + + + + diff --git a/src/api/inventory/deviceProjectSet.js b/src/api/inventory/deviceProjectSet.js new file mode 100644 index 0000000..15e0ed7 --- /dev/null +++ b/src/api/inventory/deviceProjectSet.js @@ -0,0 +1,40 @@ +import axios from "../../utils/request"; + + +export function getprojectSetList(params) { + return axios({ + url: "/udiwms/inv/device/project/set/filter", + method: "get", + params: params + }); +} + +export function insertDevprojectSet(params) { + return axios({ + url: "/udiwms/inv/device/project/set/insertDevprojectSet", + method: "post", + data: params + }); +} + +export function updateDevprojectSet(params) { + return axios({ + url: "/udiwms/inv/device/project/set/updateDevprojectSet", + method: "post", + data: params + }); +} + + +export function deleteDevprojectSet(params) { + return axios({ + url: "/udiwms/inv/device/project/set/deleteDevprojectSet", + method: "get", + params: params + }); +} + + + + + diff --git a/src/views/inventory/DeviceInspectTake.vue b/src/views/inventory/DeviceInspectTake.vue new file mode 100644 index 0000000..dd899ee --- /dev/null +++ b/src/views/inventory/DeviceInspectTake.vue @@ -0,0 +1,626 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 显示/隐藏搜索栏 + 重置 + 查询 + + + + + + + + + + + + + {{ repairTypeMap[scope.row.type] }} + + + + + {{ statusMap[scope.row.status] }} + + + + + + + + + + 开始任务 + + 结束任务 + + 详情 + + + + + + + + + + + + + + + + + + + + {{ statusdetailMap[scope.row.status] }} + + + + + {{ scope.row.inspectImage }} + + + + + 详情 + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/inventory/DeviceInspectTakeAdd.vue b/src/views/inventory/DeviceInspectTakeAdd.vue new file mode 100644 index 0000000..cbf325e --- /dev/null +++ b/src/views/inventory/DeviceInspectTakeAdd.vue @@ -0,0 +1,743 @@ + + + + + + 选择设备 + + 草稿保存 + 提交 + + + + + + + {{ item.name }} + + + + + + + + + + {{ item.name }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ item.employeeName }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 选入 + + + + + 新增 + + + + + + + + + + {{ statusMap[scope.row.status] }} + + + + + {{ scope.row.inspectImage }} + + + + + 编辑 + 详情 + 删除 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 查询 + + 确定 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/inventory/DeviceInspectTakeAuditModify.vue b/src/views/inventory/DeviceInspectTakeAuditModify.vue new file mode 100644 index 0000000..c4c04a4 --- /dev/null +++ b/src/views/inventory/DeviceInspectTakeAuditModify.vue @@ -0,0 +1,526 @@ + + + + + + 提交 + + + + + + + + {{ item.name }} + + + + + + + + + + {{ item.name }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ item.employeeName }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 选入 + + + + 新增 + + + + + + + + + + {{ statusMap[scope.row.status] }} + + + + + {{ scope.row.inspectImage }} + + + + + + 编辑 + + 详情 + 删除 + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/inventory/DeviceInspectTakeDetail.vue b/src/views/inventory/DeviceInspectTakeDetail.vue new file mode 100644 index 0000000..6c8447d --- /dev/null +++ b/src/views/inventory/DeviceInspectTakeDetail.vue @@ -0,0 +1,80 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/inventory/DeviceInspectTakeProjectSet.vue b/src/views/inventory/DeviceInspectTakeProjectSet.vue new file mode 100644 index 0000000..7bf0971 --- /dev/null +++ b/src/views/inventory/DeviceInspectTakeProjectSet.vue @@ -0,0 +1,216 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 现场照片 + + 只能上传 jpg,png,pdf,doc 文件,且不超过 10 MB + + + + + + + + 提交 + 取消 + + + + + + + + + diff --git a/src/views/inventory/DeviceInspectTakeSelect.vue b/src/views/inventory/DeviceInspectTakeSelect.vue new file mode 100644 index 0000000..4d3cc99 --- /dev/null +++ b/src/views/inventory/DeviceInspectTakeSelect.vue @@ -0,0 +1,577 @@ + + + + + + + + + + {{ item.name }} + + + + + + + + + + {{ item.name }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 显示/隐藏搜索栏 + 重置 + 查询 + + + + + + + + + + + + + + + {{ statusMap[scope.row.status] }} + + + + + + + + + + 详情 + + + + + + + + + + + + + + + + + + + + {{ statusdetailMap[scope.row.status] }} + + + + + {{ scope.row.inspectImage }} + + + + + 详情 + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/inventory/DeviceProjectSelectTake.vue b/src/views/inventory/DeviceProjectSelectTake.vue new file mode 100644 index 0000000..b14d27c --- /dev/null +++ b/src/views/inventory/DeviceProjectSelectTake.vue @@ -0,0 +1,298 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 显示/隐藏搜索栏 + 重置 + 查询 + 选入 + + + + + + + + + + + + + {{ projectSetType[scope.row.type] }} + + + + + + + + + + + + + + + + + + + +