设备管理相关代码整理

20231126-yw
anthonywj 1 year ago
parent ebe748ee58
commit dd8ddcf80f

@ -98,7 +98,7 @@
<script>
import {getDeviceReceiveOrderList} from "@/api/inventory/deviceReceiveOrder";
import deviceMAOrderModify from "@/views/inventory/DeviceMAOrderModify.vue";
import deviceMAOrderModify from "@/views/dev/DeviceMAOrderModify.vue";
import {selectByorderIdFk} from "@/api/inventory/deviceReceiveOrder";
export default {
name: "AssetManage",

@ -237,11 +237,11 @@
import {getInvListByUser} from "@/api/system/invWarehouse";
import {getDeptListByUser} from "@/api/auth/authDept";
import {getDeptDeviceList, deleteDeptDevice, printOrder, verifyTemplateFile} from "@/api/inventory/deptDevice";
import deptDeviceModifyDialog from "@/views/inventory/deptDeviceModifyDialog.vue";
import DeviceModelDetail from "@/views/inventory/DeviceModelDetail.vue";
import inspectSetModifyDialog from "@/views/inventory/InspectSetModifyDialog.vue";
import checkResultPanel from "@/views/inventory/invDeviceEditDialog.vue";
import technical from "@/views/inventory/invTechniclDialog.vue";
import deptDeviceModifyDialog from "@/views/dev/deptDeviceModifyDialog.vue";
import DeviceModelDetail from "@/views/dev/DeviceModelDetail.vue";
import inspectSetModifyDialog from "@/views/dev/InspectSetModifyDialog.vue";
import checkResultPanel from "@/views/dev/invDeviceEditDialog.vue";
import technical from "@/views/dev/invTechniclDialog.vue";
export default {

@ -242,7 +242,7 @@
<script>
import {getDeptListByUser} from "@/api/auth/authDept";
import {findInvByUser} from "@/api/system/invSubWarehouse";
import deviceInspectTakeAuditModify from "@/views/inventory/DeviceInspectTakeAuditModify"
import deviceInspectTakeAuditModify from "@/views/dev/DeviceInspectTakeAuditModify"
import {
delectDeviceInspecTake,
getDeviceInspectTakeList,
@ -250,8 +250,8 @@ import {
} from "@/api/inventory/deviceInspectTake";
import {previewImage, previewFile} from "@/api/purchase/supCompany";
import ElImageViewer from "element-ui/packages/image/src/image-viewer";
import DeviceInspectTakeDetail from "@/views/inventory/DeviceInspectTakeDetail"
import deviceInspectTakeAdd from "@/views/inventory/DeviceInspectTakeAdd"
import DeviceInspectTakeDetail from "@/views/dev/DeviceInspectTakeDetail"
import deviceInspectTakeAdd from "@/views/dev/DeviceInspectTakeAdd"
export default {
name: "deviceInspectTake",

@ -169,7 +169,7 @@ import {getDeptListByUser} from "@/api/auth/authDept";
import {findInvByUser} from "@/api/system/invSubWarehouse";
import {getInvSpaceList} from "@/api/inventory/invSpace";
import {getDeviceInspectOrderList, submitAudit, deleteDeviceInspectOrder} from "@/api/inventory/deviceInspectOrder";
import DeviceInspectOrderModify from "@/views/inventory/DeviceInspectOrderModify.vue";
import DeviceInspectOrderModify from "@/views/dev/DeviceInspectOrderModify.vue";
export default {
name: "DeviceReceiveOrderNew",

@ -215,9 +215,9 @@
import {getDeptListByUser} from "@/api/auth/authDept";
import {findInvByUser} from "@/api/system/invSubWarehouse";
import {getDeviceInspectPlanList, deleteInspectPlan, updateStatus} from "@/api/inventory/deviceInspectPlan";
import deviceInspectPlanAuditModify from "@/views/inventory/DeviceInspectPlanAuditModify"
import deviceInspectPlanAuditModify from "@/views/dev/DeviceInspectPlanAuditModify"
import {selectDeviceInspectPlanDelect} from "@/api/inventory/deviceInspectPlanDelect";
import DeviceInspectPlanProjectSet from "@/views/inventory/DeviceInspectProjectSelect";
import DeviceInspectPlanProjectSet from "@/views/dev/DeviceInspectProjectSelect";

@ -150,7 +150,7 @@ import {getDeptListByUser} from "@/api/auth/authDept";
import {getInvListByUser, warehouseUserList} from "@/api/system/invWarehouse";
import {updateStatus} from "@/api/inventory/deviceInspectPlan";
import {getDeptDeviceList} from "@/api/inventory/deptDevice";
import deviceInspectPlanProjectSet from "@/views/inventory/DeviceInspectPlanProjectSet"
import deviceInspectPlanProjectSet from "@/views/dev/DeviceInspectPlanProjectSet"
import {
selectDeviceInspectPlanDelect,
uploadDeviceInspectPlanDelect,

@ -252,8 +252,8 @@ import {getDeptListByUser} from "@/api/auth/authDept";
import {findInvByUser} from "@/api/system/invSubWarehouse";
import {getDeviceInspectPlanList, deleteInspectPlan, updateStatus} from "@/api/inventory/deviceInspectPlan";
import {selectDeviceInspectPlanDelect} from "@/api/inventory/deviceInspectPlanDelect";
import DeviceInspectPlanProjectSet from "@/views/inventory/DeviceInspectProjectSelect";
import deviceInspectPlanModify from "@/views/inventory/DeviceInspectPlanModify.vue";
import DeviceInspectPlanProjectSet from "@/views/dev/DeviceInspectProjectSelect";
import deviceInspectPlanModify from "@/views/dev/DeviceInspectPlanModify.vue";
export default {

@ -254,8 +254,8 @@ import {getDeptListByUser} from "@/api/auth/authDept";
import {getInvListByUser} from "@/api/system/invWarehouse";
import {getDeviceInspectPlanList, saveDeviceInspectPlan} from "@/api/inventory/deviceInspectPlan";
import {getDeptDeviceList} from "@/api/inventory/deptDevice";
import deviceInspectPlanProjectSet from "@/views/inventory/DeviceInspectPlanProjectSet"
import deviceProjectSelect from "@/views/inventory/DeviceProjectSelect"
import deviceInspectPlanProjectSet from "@/views/dev/DeviceInspectPlanProjectSet"
import deviceProjectSelect from "@/views/dev/DeviceProjectSelect"
import {
selectDeviceInspectPlanDelect,
uploadDeviceInspectPlanDelect,

@ -232,10 +232,10 @@
<script>
import {getDeptListByUser} from "@/api/auth/authDept";
import {findInvByUser} from "@/api/system/invSubWarehouse";
import deviceInspectPlanModify from "@/views/inventory/DeviceInspectPlanModify.vue";
import deviceInspectPlanModify from "@/views/dev/DeviceInspectPlanModify.vue";
import {getDeviceInspectPlanList, submitAudit, deleteInspectPlan} from "@/api/inventory/deviceInspectPlan";
import {selectDeviceInspectPlanDelect} from "@/api/inventory/deviceInspectPlanDelect";
import DeviceInspectPlanProjectSet from "@/views/inventory/DeviceInspectProjectSelect";
import DeviceInspectPlanProjectSet from "@/views/dev/DeviceInspectProjectSelect";
export default {

@ -262,11 +262,11 @@
<script>
import {getDeptListByUser} from "@/api/auth/authDept";
import {findInvByUser} from "@/api/system/invSubWarehouse";
import deviceInspectTakeAuditModify from "@/views/inventory/DeviceInspectTakeAuditModify"
import deviceInspectTakeAuditModify from "@/views/dev/DeviceInspectTakeAuditModify"
import {getDeviceInspectTakeList,selectDeviceInspecTakeDetail} from "@/api/inventory/deviceInspectTake";
import {previewImage, previewFile} from "@/api/purchase/supCompany";
import ElImageViewer from "element-ui/packages/image/src/image-viewer";
import DeviceInspectTakeDetail from "@/views/inventory/DeviceInspectTakeDetail"
import DeviceInspectTakeDetail from "@/views/dev/DeviceInspectTakeDetail"
export default {
name: "deviceInspectTake",

@ -311,7 +311,7 @@ import {isBlank} from "@/utils/strUtil";
import {getDeptListByUser} from "@/api/auth/authDept";
import {getInvListByUser, warehouseUserList} from "@/api/system/invWarehouse";
import {saveDeviceInspectPlan, updateStatus} from "@/api/inventory/deviceInspectPlan";
import DeviceInspectTakeProjectSet from "@/views/inventory/DeviceInspectTakeProjectSet"
import DeviceInspectTakeProjectSet from "@/views/dev/DeviceInspectTakeProjectSet"
import {
delectDeviceInspecTakeDetail,
saveDeviceInspectTake,
@ -321,7 +321,7 @@ import {
import {previewImage, previewFile} from "@/api/purchase/supCompany";
import ElImageViewer from "element-ui/packages/image/src/image-viewer";
import {getDeptDeviceList} from "@/api/inventory/deptDevice";
import DeviceProjectSelectTake from "@/views/inventory/DeviceProjectSelectTake"
import DeviceProjectSelectTake from "@/views/dev/DeviceProjectSelectTake"
export default {

@ -219,7 +219,7 @@ import {isBlank} from "@/utils/strUtil";
import {getDeptListByUser} from "@/api/auth/authDept";
import {getInvListByUser, warehouseUserList} from "@/api/system/invWarehouse";
import {saveDeviceInspectPlan, updateStatus} from "@/api/inventory/deviceInspectPlan";
import DeviceInspectTakeProjectSet from "@/views/inventory/DeviceInspectTakeProjectSet"
import DeviceInspectTakeProjectSet from "@/views/dev/DeviceInspectTakeProjectSet"
import {
delectDeviceInspecTakeDetail,
saveDeviceInspectTake,
@ -228,7 +228,7 @@ import {
} from "@/api/inventory/deviceInspectTake";
import {previewImage, previewFile} from "@/api/purchase/supCompany";
import ElImageViewer from "element-ui/packages/image/src/image-viewer";
import DeviceProjectSelectTake from "@/views/inventory/DeviceProjectSelectTake"
import DeviceProjectSelectTake from "@/views/dev/DeviceProjectSelectTake"
export default {
props: {

@ -234,11 +234,11 @@
<script>
import {getDeptListByUser} from "@/api/auth/authDept";
import {findInvByUser} from "@/api/system/invSubWarehouse";
import deviceInspectTakeAuditModify from "@/views/inventory/DeviceInspectTakeAuditModify"
import deviceInspectTakeAuditModify from "@/views/dev/DeviceInspectTakeAuditModify"
import {getDeviceInspectTakeList,selectDeviceInspecTakeDetail} from "@/api/inventory/deviceInspectTake";
import {previewImage, previewFile} from "@/api/purchase/supCompany";
import ElImageViewer from "element-ui/packages/image/src/image-viewer";
import DeviceInspectTakeDetail from "@/views/inventory/DeviceInspectTakeDetail"
import DeviceInspectTakeDetail from "@/views/dev/DeviceInspectTakeDetail"
export default {

@ -91,8 +91,8 @@
<script>
import {findInvByUser} from "@/api/system/invSubWarehouse";
import {getprojectSetList, deleteDevprojectSet,} from "@/api/inventory/deviceProjectSet";
import deviceRepairOrderModify from "@/views/inventory/DeviceRepairOrderModify.vue";
import DeviceProjectSetDialog from "@/views/inventory/DeviceProjectSetDialog"
import deviceRepairOrderModify from "@/views/dev/DeviceRepairOrderModify.vue";
import DeviceProjectSetDialog from "@/views/dev/DeviceProjectSetDialog"
import {isBlank} from "@/utils/strUtil";
import {addDeviceInspectPlanDelect} from "@/api/inventory/deviceInspectPlanDelect";
import {addDeviceRepairOrderDetail} from "@/api/inventory/deviceRepairOrderDetail";

@ -91,8 +91,8 @@
<script>
import {findInvByUser} from "@/api/system/invSubWarehouse";
import {getprojectSetList, deleteDevprojectSet,} from "@/api/inventory/deviceProjectSet";
import deviceRepairOrderModify from "@/views/inventory/DeviceRepairOrderModify.vue";
import DeviceProjectSetDialog from "@/views/inventory/DeviceProjectSetDialog"
import deviceRepairOrderModify from "@/views/dev/DeviceRepairOrderModify.vue";
import DeviceProjectSetDialog from "@/views/dev/DeviceProjectSetDialog"
import {isBlank} from "@/utils/strUtil";
import {addDeviceInspectPlanDelect} from "@/api/inventory/deviceInspectPlanDelect";
import {addDeviceInspecTakeDetail} from "@/api/inventory/deviceInspectTake"

@ -131,8 +131,8 @@
<script>
import {findInvByUser} from "@/api/system/invSubWarehouse";
import {getprojectSetList, deleteDevprojectSet,} from "@/api/inventory/deviceProjectSet";
import deviceRepairOrderModify from "@/views/inventory/DeviceRepairOrderModify.vue";
import DeviceProjectSetDialog from "@/views/inventory/DeviceProjectSetDialog"
import deviceRepairOrderModify from "@/views/dev/DeviceRepairOrderModify.vue";
import DeviceProjectSetDialog from "@/views/dev/DeviceProjectSetDialog"
export default {

@ -165,7 +165,7 @@ import {
deleteDeviceReceiveOrder,
getDeviceReceiveOrderList
} from "@/api/inventory/deviceReceiveOrder";
import DeviceReceiveOrderAuditMoify from "@/views/inventory/DeviceReceiveOrderAuditMoify";
import DeviceReceiveOrderAuditMoify from "@/views/dev/DeviceReceiveOrderAuditMoify";
export default {
name: "DeviceReceiveOrderAudit",

@ -147,7 +147,7 @@ import {
getDeviceReceiveOrderDetailList,
getDeviceReceiveOrderList
} from "@/api/inventory/deviceReceiveOrder";
import DeviceReceiveOrderAuditMoify from "@/views/inventory/DeviceReceiveOrderAuditMoify"
import DeviceReceiveOrderAuditMoify from "@/views/dev/DeviceReceiveOrderAuditMoify"
export default {
name: "DeviceReceiveOrderCompleted",

@ -146,7 +146,7 @@
import {getDeptListByUser} from "@/api/auth/authDept";
import {findInvByUser} from "@/api/system/invSubWarehouse";
import {getInvSpaceList} from "@/api/inventory/invSpace";
import deviceReceiveOrderModify from "@/views/inventory/DeviceReceiveOrderModify.vue";
import deviceReceiveOrderModify from "@/views/dev/DeviceReceiveOrderModify.vue";
import {
submitAudit,
deleteDeviceReceiveOrder,

@ -209,12 +209,12 @@
import {getDeptListByUser} from "@/api/auth/authDept";
import {findInvByUser} from "@/api/system/invSubWarehouse";
import {getRepairList, updateStatus, deleteRepairOrder} from "@/api/inventory/deviceRepairOrder";
import DeviceRepairOrderAduitModify from "@/views/inventory/DeviceRepairOrderAuditModify";
import DeviceRepairOrderAduitModify from "@/views/dev/DeviceRepairOrderAuditModify";
import {previewImage} from "@/api/purchase/supCompany";
import ElImageViewer from "element-ui/packages/image/src/image-viewer";
import {selectDeviceInspectPlanDelect} from "@/api/inventory/deviceInspectPlanDelect";
import {filterByorderIdFk} from "@/api/inventory/deviceRepairOrderDetail";
import DeviceInspectPlanProjectSet from "@/views/inventory/DeviceInspectProjectSelect";
import DeviceInspectPlanProjectSet from "@/views/dev/DeviceInspectProjectSelect";
export default {

@ -232,9 +232,9 @@ import {getRepairList, updateStatus, deleteRepairOrder} from "@/api/inventory/de
import {warehouseUserList} from "@/api/system/invWarehouse";
import {previewImage} from "@/api/purchase/supCompany";
import ElImageViewer from "element-ui/packages/image/src/image-viewer";
import DeviceRepairOrderDetails from "@/views/inventory/DeviceRepairOrderDetails";
import DeviceRepairOrderDetails from "@/views/dev/DeviceRepairOrderDetails";
import {filterByorderIdFk} from "@/api/inventory/deviceRepairOrderDetail";
import DeviceInspectPlanProjectSet from "@/views/inventory/DeviceInspectProjectSelect";
import DeviceInspectPlanProjectSet from "@/views/dev/DeviceInspectProjectSelect";

@ -268,8 +268,8 @@ import {getInvListByUser, warehouseUserList} from "@/api/system/invWarehouse";
import {getDeptDeviceList} from "@/api/inventory/deptDevice";
import store from "@/store";
import {saveDeviceRepairOrder} from "@/api/inventory/deviceRepairOrder"
import deviceInspectPlanProjectSet from "@/views/inventory/DeviceInspectPlanProjectSet"
import deviceProjectSelect from "@/views/inventory/DeviceProjectSelect"
import deviceInspectPlanProjectSet from "@/views/dev/DeviceInspectPlanProjectSet"
import deviceProjectSelect from "@/views/dev/DeviceProjectSelect"
import {selectDeviceInspectPlanDelect} from "@/api/inventory/deviceInspectPlanDelect";
import {deleteRepairOrderDetail, filterByorderIdFk} from "@/api/inventory/deviceRepairOrderDetail";

@ -202,11 +202,11 @@
import {getDeptListByUser} from "@/api/auth/authDept";
import {findInvByUser} from "@/api/system/invSubWarehouse";
import {getRepairList, submitAudit, deleteRepairOrder} from "@/api/inventory/deviceRepairOrder";
import deviceRepairOrderModify from "@/views/inventory/DeviceRepairOrderModify.vue";
import deviceRepairOrderModify from "@/views/dev/DeviceRepairOrderModify.vue";
import ElImageViewer from "element-ui/packages/image/src/image-viewer";
import {previewImage} from "@/api/purchase/supCompany";
import {selectDeviceInspectPlanDelect} from "@/api/inventory/deviceInspectPlanDelect";
import DeviceInspectPlanProjectSet from "@/views/inventory/DeviceInspectProjectSelect";
import DeviceInspectPlanProjectSet from "@/views/dev/DeviceInspectProjectSelect";
import {filterByorderIdFk} from "@/api/inventory/deviceRepairOrderDetail";

@ -193,7 +193,7 @@ import {findInvByUser} from "@/api/system/invSubWarehouse";
import {getRepairList, updateStatus, deleteRepairOrder} from "@/api/inventory/deviceRepairOrder";
import {previewImage} from "@/api/purchase/supCompany";
import ElImageViewer from "element-ui/packages/image/src/image-viewer";
import DeviceRepairOrderStart from "@/views/inventory/DeviceRepairOrderStart";
import DeviceRepairOrderStart from "@/views/dev/DeviceRepairOrderStart";
import {warehouseUserList} from "@/api/system/invWarehouse";
export default {

@ -89,7 +89,7 @@
<script>
import {modifyCompany, addCompany, bindCorp, previewImage} from "@/api/purchase/supCompany";
import store from "@/store/index";
import store from "@/store";
import {regionDataPlus, CodeToText} from "element-china-area-data";
import {deleteDeviceCert, updateDeviceCert} from "@/api/inventory/deviceCert";
import {filterDeviceCert} from "@/api/inventory/deviceCert";

@ -109,7 +109,7 @@
import {getInvListByUser} from "@/api/system/invWarehouse";
import {getInvSpaceList} from "@/api/inventory/invSpace";
import {getInvMAOrderList, deleteInvMAOrder, submitAudit} from "@/api/inventory/invMAOrder";
import invMAOrderModify from "@/views/inventory/InvMAOrderModify.vue";
import invMAOrderModify from "@/views/dev/InvMAOrderModify.vue";
export default {
name: "InvMAOrderNew",

@ -87,7 +87,7 @@
<script>
import {modifyCompany, addCompany, bindCorp, previewImage} from "@/api/purchase/supCompany";
import store from "@/store/index";
import store from "@/store";
import {regionDataPlus, CodeToText} from "element-china-area-data";
import {deleteDeviceCert, updateDeviceCert} from "@/api/inventory/deviceCert";
import {filterDeviceCert} from "@/api/inventory/deviceCert";

@ -86,7 +86,7 @@
<script>
import {modifyCompany, addCompany, bindCorp, previewImage} from "@/api/purchase/supCompany";
import store from "@/store/index";
import store from "@/store";
import {regionDataPlus, CodeToText} from "element-china-area-data";
import {deleteDeviceCert, updateDeviceCert} from "@/api/inventory/deviceCert";
import {filterDeviceCert} from "@/api/inventory/deviceCert";
Loading…
Cancel
Save