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] }} + + + + + + + + + + + + + + + + + + + +